2017-06-28 22:11 GMT+08:00 Paolo Bonzini :
>
>
> On 28/06/2017 16:09, Wanpeng Li wrote:
>>> Yes, this was my question essentially. I would still migrate
>>> nested_apf_token (as part of nested virt state), and then clear it in
>>> KVM when doing the async-pf broadcast.
>> Do you mean I should save
On 06/28/2017 05:19 AM, Fathi Boudra wrote:
> reuseport_bpf_numa fails to build with undefined reference:
>
> aarch64-linaro-linux-gcc
> --sysroot=/build/tmp-rpb-glibc/sysroots/hikey -Wall
> -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ -Wl,-O1
> -Wl,--hash-style=gnu -Wl,--as-needed -l
Hi Linus,
The following changes since commit 3c2993b8c6143d8a5793746a54eba8f86f95240f:
Linux 4.12-rc4 (2017-06-04 16:47:43 -0700)
are available in the git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.12-3
for you to fetch changes up to 2e31b4cb895ae7
On 06/28/2017 03:18 AM, Fathi Boudra wrote:
> timers test fails to build due to undefined reference:
>
> aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey
> -O2 -pipe -g -feliminate-unused-debug-types -O3 -Wl,-no-as-needed -Wall
> -DKTEST -Wl,-O1 -Wl,--hash-style=gnu -Wl,-
On 28/06/2017 16:17, Wanpeng Li wrote:
>> If for now we can leave out the GET/SET_VCPU_EVENTS changes, that would
>> be best. nested_apf and nested_apf_token should be migrated together
>> with the rest of the nested virt state.
> Radim explains why we at least needs nested_apf here:
>
>> neste
Hi Tom,
On Mon, 26 Jun 2017 17:49:01 -0500
Tom Zanussi wrote:
> This patchset adds support for 'inter-event' quantities to the trace
> event subsystem. The most important example of inter-event quantities
> are latencies, or the time differences between two events.
>
Thank you for your great
Hello everybody,
While looking into Coverity ID 1198635 I ran into the following piece
of code at drivers/gpu/drm/radeon/vce_v2_0.c:107:
107void vce_v2_0_enable_mgcg(struct radeon_device *rdev, bool enable)
108{
109bool sw_cg = false;
110
111if (enable && (rdev->cg_flags & RA
On 06/28/2017 02:30 AM, Fathi Boudra wrote:
> On 23 June 2017 at 22:44, Shuah Khan wrote:
>> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
>>> This patch series fixes build errors observed when building net, memfd,
>>> gpio and intel_pstate tests
>>>
>>> Marcin Nowakowski (3):
>>> selftests/
2017-06-28 22:20 GMT+08:00 Paolo Bonzini :
>
>
> On 28/06/2017 16:17, Wanpeng Li wrote:
>>> If for now we can leave out the GET/SET_VCPU_EVENTS changes, that would
>>> be best. nested_apf and nested_apf_token should be migrated together
>>> with the rest of the nested virt state.
>> Radim explains
The LTC2990 driver so far only supported "current" monitoring. This expands
the driver to support all 8 modes of operation as defined in the mode bits
in the datasheet, thus the device can now be used to monitor up to 4
voltages, 2 currents, or 2 temperature sensors, and some combinations
thereof.
Hi Shawn,
> On 28 Jun 2017, at 14:41, Shawn Lin wrote:
>
> Hi
>
> On 2017/6/28 18:26, Heiko Stübner wrote:
>> Hi Klaus,
>>
>> [added Kever from Rockchip concerning the cluster1-opps below]
>>
>>
>> Am Montag, 26. Juni 2017, 21:18:54 CEST schrieb Klaus Goger:
>>> The RK3399-Q7 SoM is a Qseven
From: Kan Liang
There is no document for earlier patch.
commit ac12f6764c50 ("perf tools: Implement branch_type event
parameter")
Document the branch_type event parameter.
Signed-off-by: Kan Liang
---
tools/perf/Documentation/perf-record.txt | 3 +++
1 file changed, 3 insertions(+)
diff --gi
On 8 June 2017 at 17:47, Waldemar Rymarkiewicz
wrote:
> Most likely copy-paste mistake, so replace __CPU_COOLING_H__ header guard
> with more suitable __CLOCK_COOLING_H__.
>
> Signed-off-by: Waldemar Rymarkiewicz
> ---
> include/linux/clock_cooling.h | 6 +++---
> 1 file changed, 3 insertions(+)
I came up with the exact same patch. For posterity, here's the test
case, generated by syzkaller and trimmed down by Reinette:
https://www.sr71.net/~dave/intel/log2.c
And the config that helps detect this:
https://www.sr71.net/~dave/intel/config-log2
Acked-by: Dave Hansen
2017-06-28 20:10 GMT+08:00 Paolo Bonzini :
>
>
> On 28/06/2017 03:29, Wanpeng Li wrote:
>> u64 tscdeadline = apic->lapic_timer.tscdeadline;
>> + int ret = 0;
>>
>> if ((atomic_read(&apic->lapic_timer.pending) &&
>> !apic_lvtt_period(apic)) ||
>> - kvm_x86_o
Quoting Amir Goldstein (amir7...@gmail.com):
> On Wed, Jun 28, 2017 at 8:41 AM, Serge E. Hallyn wrote:
> > Hi Amir,
> >
> > I was liking the prefix at first, but I'm actually not sure it's worth
> > it. THe main advantage would be so that checking for namespace or other
> > tags could be done alw
On Wed 28-06-17 13:24:08, Liang, Kan wrote:
>
> > > From: Kan Liang
> > >
> > > Some users reported spurious NMI watchdog timeouts.
> > >
> > > We now have more and more systems where the Turbo range is wide
> > enough
> > > that the NMI watchdog expires faster than the soft watchdog timer that
>
On 6/28/17 6:31 AM, Guenter Roeck wrote:
On 06/27/2017 02:17 PM, Christopher Bostic wrote:
Reference the system device tree when configuring the watchdog
engines. Set external signal mode on timeout if specified.
Set system reset on timeout if specified.
Signed-off-by: Christopher Bostic
--
On 06/28/2017 08:17 AM, Steven Rostedt wrote:
> On Tue, 27 Jun 2017 19:28:32 +0900
> Masami Hiramatsu wrote:
>
>> Use md5sum so that it takes less time of checking
>> trace logs update. Since busybox tail/cat takes too
>> long time to read the trace log, this uses md5sum
>> to check whether trace
On 28/06/2017 16:27, Wanpeng Li wrote:
> 2017-06-28 20:10 GMT+08:00 Paolo Bonzini :
>>
>>
>> On 28/06/2017 03:29, Wanpeng Li wrote:
>>> u64 tscdeadline = apic->lapic_timer.tscdeadline;
>>> + int ret = 0;
>>>
>>> if ((atomic_read(&apic->lapic_timer.pending) &&
>>> !ap
> > > > From: Kan Liang
> > > >
> > > > Some users reported spurious NMI watchdog timeouts.
> > > >
> > > > We now have more and more systems where the Turbo range is wide
> > > enough
> > > > that the NMI watchdog expires faster than the soft watchdog timer
> > > > that updates the interrupt tic
From: Kan Liang
An earlier kernel patch allowed enabling PT and LBR at the same
time on Goldmont.
commit ccbebba4c6bf ("perf/x86/intel/pt: Bypass PT vs. LBR
exclusivity if the core supports it")
However, users still cannot use Intel PT and LBRs simultaneously.
$ sudo perf record -e cycles,in
On 27/06/17 21:17, Christoph Hellwig wrote:
> This flag was never implemented or used.
And at worst, we can always bring it back.
Reviewed-by: Robin Murphy
> Signed-off-by: Christoph Hellwig
> ---
> Documentation/DMA-API.txt | 4
> drivers/base/dma-coherent.c | 2 --
> drivers/char
On Wed, Jun 28, 2017 at 3:30 PM, Tobias Klauser wrote:
> The only user of thread_saved_pc() in non-arch-specific code was removed
> in commit 8243d5597793 ("sched/core: Remove pointless printout in
> sched_show_task()"). Remove the implementations as well.
>
> Some architectures use thread_saved_p
On 06/28/2017 03:06 PM, Colin King wrote:
> From: Colin Ian King
>
> The array stm32h7_adc_ckmodes_spec does not need to be in global scope, so
> make it static.
>
> Cleans up sparse warning:
> "symbol 'stm32h7_adc_ckmodes_spec' was not declared. Should it be static?"
>
> Signed-off-by: Colin I
On 28 June 2017 at 17:19, Shuah Khan wrote:
> On 06/28/2017 05:19 AM, Fathi Boudra wrote:
>> reuseport_bpf_numa fails to build with undefined reference:
>>
>> aarch64-linaro-linux-gcc
>> --sysroot=/build/tmp-rpb-glibc/sysroots/hikey -Wall
>> -Wl,--no-as-needed -O2 -g -I../../../../usr/include/
On Mon, May 22, 2017 at 12:48:04PM -0700, Guenter Roeck wrote:
> From: Robb Glasser
>
> The size of uvc_control_mapping is user controlled leading to a
> potential heap overflow in the uvc driver. This adds a check to verify
> the user provided size fits within the bounds of the defined buffer
>
On 28 June 2017 at 17:20, Shuah Khan wrote:
> On 06/28/2017 03:18 AM, Fathi Boudra wrote:
>> timers test fails to build due to undefined reference:
>>
>> aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey
>> -O2 -pipe -g -feliminate-unused-debug-types -O3 -Wl,-no-as-needed -W
On 06/28/2017 08:37 AM, Fathi Boudra wrote:
> On 28 June 2017 at 17:20, Shuah Khan wrote:
>> On 06/28/2017 03:18 AM, Fathi Boudra wrote:
>>> timers test fails to build due to undefined reference:
>>>
>>> aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey
>>> -O2 -pipe -g -fel
Hi Hugh and experts,
We are trying to enable KSM in a multi-container projects to save some memory.
And as the celld project suggests:
"To maximize the benefit of KSM, CellD uses a custom system call which adds all
memory pages from all processes to the set of pages KSM attempts to merge. "
[1]
On 27/06/17 21:17, Christoph Hellwig wrote:
> DMA_MEMORY_IO was never used in the tree, so remove it. That means there is
> no need for the DMA_MEMORY_MAP flag either now, so remove it as well and
> change dma_declare_coherent_memory to return a normal errno value.
>
> Signed-off-by: Christoph He
On Tue, 20 Jun 2017, Tejun Heo wrote:
> And we have to weight that against the possibility of breakage from
> the backport, however low it may be, right? I'm not strongly
> convinced either way on this one and AFAICS the slub sysfs files there
> are mostly for debugging, so we'd be risking breaka
On Wed, Jun 28, 2017 at 12:51:45AM +0200, Rafael J. Wysocki wrote:
> On Monday, June 12, 2017 05:17:40 PM Krzysztof Kozlowski wrote:
> > Hi,
> >
> > Changes since v1:
> > =
> > 1. Patch 2/8: Follow Ulf's advice and use genpd_lookup_dev() which also
> >solves risk of calling thi
Am 28.06.2017 15:13, schrieb Colin King:
> From: Colin Ian King
>
> The helper function ser_to_dev does not need to be in global scope, so
> make it static.
>
> Cleans up sparse warning:
> "warning: symbol 'ser_to_dev' was not declared. Should it be static?"
>
> Signed-off-by: Colin Ian King
On 17-11-16 17:56, Guenter Roeck wrote:
On 11/17/2016 04:10 AM, Tom Levens wrote:
Updated version of the ltc2990 driver which supports all measurement
modes available in the chip. The mode can be set through a devicetree
attribute.
property
Signed-off-by: Tom Levens
---
Changes since v1:
On Wed, Jun 28, 2017 at 09:29:50AM -0500, Christopher Bostic wrote:
>
>
> On 6/28/17 6:31 AM, Guenter Roeck wrote:
> >On 06/27/2017 02:17 PM, Christopher Bostic wrote:
> >>Reference the system device tree when configuring the watchdog
> >>engines. Set external signal mode on timeout if specified
* Dan Carpenter [170628 05:20]:
> This line was indented further that it should have been.
>
> Signed-off-by: Dan Carpenter
Thanks for fixing it:
Acked-by: Tony Lindgren
> diff --git a/drivers/phy/motorola/phy-cpcap-usb.c
> b/drivers/phy/motorola/phy-cpcap-usb.c
> index 9b63efa5ae4d..accaaa
From: Xiaofei Tan
Currently we allocate 3 sets of DMA memories from separate
pools for each slot. This is inefficient in terms of memory usage
(buffers are less than 1 page in size, so we lose due to alignment),
and also time spend in doing 3 allocations + de-allocations per slot,
instead of 1.
On 6/27/17 5:07 PM, Guenter Roeck wrote:
On Tue, Jun 27, 2017 at 04:42:24PM -0500, Christopher Bostic wrote:
On 6/27/17 4:32 PM, Guenter Roeck wrote:
On Tue, Jun 27, 2017 at 04:17:33PM -0500, Christopher Bostic wrote:
Describe device tree optional properties:
* aspeed,arm-reet - ARM CPU
On Wed, Jun 28, 2017 at 4:47 AM, David Laight wrote:
>>
>> temp = bdc_readl(bdc->regs, BDC_BDCSC);
>> if ((temp & BDC_P64) &&
>> !dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) {
>> - dev_dbg(bdc->dev, "Using 64-bit address\n");
>> + dev
Mark pointer to struct generic_pm_domain const (either passed in
argument or used localy in a function), whenever it is not modifed by
the function itself.
Signed-off-by: Krzysztof Kozlowski
Acked-by: Ulf Hansson
---
drivers/base/power/domain.c | 17 ++---
1 file changed, 10 inserti
of_genpd_del_provider() iterates over list of domain provides and
removes matching element thus it has to use safe version of list
iteration.
Fixes: aa42240ab254 ("PM / Domains: Add generic OF-based PM domain look-up")
Cc:
Signed-off-by: Krzysztof Kozlowski
Acked-by: Ulf Hansson
---
drivers/ba
Add lockdep checks for holding mutex protecting the list of domains.
This might expose misuse even though only file-scope functions use it
for now.
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/domain.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/base/power/doma
Commit fc5cbf0c94b6 ("PM / Domains: Support for multiple states") split
out some code out of default_power_down_ok() function so the
documentation has to be moved to appropriate place.
Signed-off-by: Krzysztof Kozlowski
Acked-by: Ulf Hansson
---
drivers/base/power/domain_governor.c | 12 ++-
On Wed, Jun 28, 2017 at 04:17:50PM +0200, Mike Looijmans wrote:
> The LTC2990 driver so far only supported "current" monitoring. This expands
> the driver to support all 8 modes of operation as defined in the mode bits
> in the datasheet, thus the device can now be used to monitor up to 4
> voltage
good morning
summer has arrived
it is a chance to buy a Ray Ban sunglasses for your family, only 19.99euro, 13%
discount, 2 days to fly to your door
web: rbaobt .com
人生无须惊天动地,快乐就好;友谊无须甜言蜜语,想着就好;;朋友无须遍及天下,有你就好
On Tue, Jun 27, 2017 at 11:21:17AM -0700, Florian Fainelli wrote:
> On 06/27/2017 10:38 AM, Mark Rutland wrote:
> > On Mon, Jun 26, 2017 at 03:32:42PM -0700, Florian Fainelli wrote:
> >> Now that ARM64 also has a fncpy() implementation, allow selection
> >> SRAM_EXEC for ARM64 as well.
> >>
> >> Si
Add lockdep checks for holding domain lock in few places where this is
required. This might expose misuse even though only file-scope
functions use it for now.
Regular lockdep asserts can be entirely discarded by preprocessor, however
domain code uses mixed type of lock: spinlock or mutex. This
pm_genpd_remove_subdomain() iterates over domain's master_links list and
removes matching element thus it has to use safe version of list
iteration.
Fixes: f721889ff65a ("PM / Domains: Support for generic I/O PM domains (v8)")
Cc:
Signed-off-by: Krzysztof Kozlowski
Acked-by: Ulf Hansson
---
dr
genpd_syscore_switch() had two problems:
1. It silently assumed that device, it is being called for, belongs to
generic power domain and used container_of() on its power domain
pointer. Such assumption might not be true always.
2. It iterated over list of generic power domains without holdi
of_genpd_remove_last() iterates over list of domains and removes
matching element thus it has to use safe version of list iteration.
Fixes: 17926551c98a ("PM / Domains: Add support for removing nested PM domains
by provider")
Cc:
Signed-off-by: Krzysztof Kozlowski
Acked-by: Ulf Hansson
---
dr
On Wed, 28 Jun 2017 08:30:24 -0600
Shuah Khan wrote:
> On 06/28/2017 08:17 AM, Steven Rostedt wrote:
> > On Tue, 27 Jun 2017 19:28:32 +0900
> > Masami Hiramatsu wrote:
> >
> >> Use md5sum so that it takes less time of checking
> >> trace logs update. Since busybox tail/cat takes too
> >> long
On 6/28/17 9:54 AM, Guenter Roeck wrote:
On Wed, Jun 28, 2017 at 09:29:50AM -0500, Christopher Bostic wrote:
On 6/28/17 6:31 AM, Guenter Roeck wrote:
On 06/27/2017 02:17 PM, Christopher Bostic wrote:
Reference the system device tree when configuring the watchdog
engines. Set external signa
Hi,
Changes since v2:
=
1. Add Ulf's acks.
2. Re-order patches so the un-acked commits are at the end.
Changes since v1:
=
1. Patch 2/8: Follow Ulf's advice and use genpd_lookup_dev() which also
solves risk of calling this for non-genpd (thus I added Ulf's
Re
On Fri, Jun 16, 2017 at 05:07:44PM -0700, Florian Fainelli wrote:
> Now that ARM64 also has a fncpy() implementation, allow selection
> SRAM_EXEC for ARM64 as well.
>
> Signed-off-by: Florian Fainelli
> ---
> drivers/misc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff
Don't attempt to read the first two elements of name[] unless they
were actually copied from the userspace.
This bug has been detected by KMSAN.
Signed-off-by: Alexander Potapenko
---
kernel/sysctl_binary.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sysctl_binary
On 28 June 2017 at 17:41, Shuah Khan wrote:
> On 06/28/2017 08:37 AM, Fathi Boudra wrote:
>> On 28 June 2017 at 17:20, Shuah Khan wrote:
>>> On 06/28/2017 03:18 AM, Fathi Boudra wrote:
timers test fails to build due to undefined reference:
aarch64-linaro-linux-gcc --sysroot=/build
On Wed, Jun 28, 2017 at 04:24:03PM +0200, Mike Looijmans wrote:
> On 17-11-16 17:56, Guenter Roeck wrote:
> >On 11/17/2016 04:10 AM, Tom Levens wrote:
> >>Updated version of the ltc2990 driver which supports all measurement
> >>modes available in the chip. The mode can be set through a devicetree
On Thu, Jun 22, 2017 at 04:40:39PM +0800, Wei Wang wrote:
> On 06/21/2017 08:28 PM, Michael S. Tsirkin wrote:
> > On Wed, Jun 21, 2017 at 11:28:00AM +0800, Wei Wang wrote:
> > > On 06/21/2017 12:18 AM, Michael S. Tsirkin wrote:
> > > > On Fri, Jun 09, 2017 at 06:41:41PM +0800, Wei Wang wrote:
> > >
walter harms, on mer. 28 juin 2017 16:49:03 +0200, wrote:
> Am 28.06.2017 15:13, schrieb Colin King:
> > diff --git a/drivers/staging/speakup/spk_ttyio.c
> > b/drivers/staging/speakup/spk_ttyio.c
> > index 442f191a017e..ed8e96b06ead 100644
> > --- a/drivers/staging/speakup/spk_ttyio.c
> > +++ b/dr
On Wed, 2017-06-28 at 15:17 +0200, Lubomir Rintel wrote:
> The mac80211_hwsim doesn't offer a way to disable the debugging
> output.
> Unfortunately, it's pretty chatty, dumping a lot of stuff into the
> message buffer.
Why is this a problem? It's pretty much a testing tool only, and much
of the
On Wed, 2017-06-28 at 06:37 -0700, Joe Perches wrote:
> On Wed, 2017-06-28 at 15:17 +0200, Lubomir Rintel wrote:
> > The mac80211_hwsim doesn't offer a way to disable the debugging
> > output.
> > Unfortunately, it's pretty chatty, dumping a lot of stuff into the
> > message
> > buffer.
> >
> > T
On 28/06/17 14:53, Jerome Brunet wrote:
> Current implementation of scpi_clk_add just print a warning when clock
> fails to register but then keep going as if nothing happened. The
> provider is then registered with bogus data.
>
> This may latter lead to an Oops in __clk_create_clk when
> hlist
Yes, it's been a long time coming, but I really wasn't looking forward
to picking this up again. Anyway...
This (monster of a) series implements full support for GICv4, bringing
direct injection of MSIs to KVM on arm and arm64, assuming you have
the right hardware (which is quite unlikely).
To ge
Add helper functions that probe for VLPI and DirectLPI properties.
Reviewed-by: Eric Auger
Reviewed-by: Thomas Gleixner
Signed-off-by: Marc Zyngier
---
drivers/irqchip/irq-gic-v3.c | 22 ++
include/linux/irqchip/arm-gic-v3.h | 3 +++
2 files changed, 25 insertions(+)
Allow the pending state of an LPI to be set or cleared via
irq_set_irqchip_state.
Reviewed-by: Thomas Gleixner
Reviewed-by: Eric Auger
Signed-off-by: Marc Zyngier
---
drivers/irqchip/irq-gic-v3-its.c | 78
1 file changed, 78 insertions(+)
diff --git a/
When assigning an interrupt to a vcpu, it is not unlikely that
the level of the hierarchy implementing irq_set_vcpu_affinity
is not the top level (think a generic MSI domain on top of a
virtualization aware interrupt controller).
In such a case, let's iterate over the hierarchy until we find
an ir
Move the LPI property table allocation into its own function, as
this is going to be required for those associated with VMs in
the future.
Reviewed-by: Eric Auger
Reviewed-by: Thomas Gleixner
Signed-off-by: Marc Zyngier
---
drivers/irqchip/irq-gic-v3-its.c | 28 ++--
1
When we don't have the DirectLPI feature, we must work around the
architecture shortcomings to be able to perform the required
invalidation.
For this, we create a fake device whose sole purpose is to
provide a way to issue a map/inv/unmap sequence (and the corresponding
sync operations). That's 6
The way we call kvm_vgic_destroy is a bit bizarre. We call it
*after* having freed the vcpus, which sort of defeats the point
of cleaning up things before that point.
Let's move kvm_vgic_destroy towards the beginning of kvm_arch_destroy_vm,
which seems more sensible.
Signed-off-by: Marc Zyngier
Add the required interfaces to schedule a VPE and perform a
VINVALL command.
Reviewed-by: Thomas Gleixner
Reviewed-by: Eric Auger
Signed-off-by: Marc Zyngier
---
drivers/irqchip/irq-gic-v4.c | 25 +
include/linux/irqchip/arm-gic-v4.h | 2 ++
2 files changed, 27 i
In order to control the GICv4 view of virtual CPUs, we rely
on an irqdomain allocated for that purpose. Let's add a couple
of helpers to that effect.
At the same time, the vgic data structures gain new fields to
track all this... erm... wonderful stuff.
Signed-off-by: Marc Zyngier
---
arch/arm/
As KVM needs to know about the availability of GICv4 to enable
direct injection of interrupts, let's advertise the feature in
the gic_kvm_info structure.
Signed-off-by: Marc Zyngier
---
drivers/irqchip/irq-gic-v3.c | 2 ++
include/linux/irqchip/arm-gic-common.h | 2 ++
2 files changed,
When a vPE is not running, the delivery of a VLPI results in a
doorbell interrupt to be delivered. Let's handle this interrupt
and update the pending_last flag that indicates that VLPIs are
pending.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-v4.c | 30 ++
Upon updating a property, we propagate it all the way to the physical
ITS, and ask for an INV command to be executed there.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-its.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/virt/kvm/arm/vgic/vgic-its.c b/virt/kvm/arm/vgic/vgic-it
The redistributor needs to be told which vPE is about to be run,
and tells us whether there is any pending VLPI on exit.
Let's add the scheduling calls to the vgic flush/sync functions,
allowing the VLPIs to be delivered to the guest.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-v4.c
The current implementation of MOVALL doesn't allow us to call
into the core ITS code as we hold a number of spinlocks.
Let's try a method used in other parts of the code, were we copy
the intids of the candicate interrupts, and then do whatever
we need to do with them outside of the critical secti
On Wed, Jun 28, 2017 at 09:55:41AM -0500, Christopher Bostic wrote:
>
>
> On 6/27/17 5:07 PM, Guenter Roeck wrote:
> >On Tue, Jun 27, 2017 at 04:42:24PM -0500, Christopher Bostic wrote:
> >>
> >>On 6/27/17 4:32 PM, Guenter Roeck wrote:
> >>>On Tue, Jun 27, 2017 at 04:17:33PM -0500, Christopher Bo
When freeing an LPI (on a DISCARD command, for example), we need
to unmap the VLPI down to the physical ITS level.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-its.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/virt/kvm/arm/vgic/vgic-its.c b/virt/kvm/arm/vgi
Handling CLEAR is pretty easy. Just ask the ITS driver to clear
the corresponding pending bit (which will turn into a CLEAR
command on the physical side).
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-its.c | 4
1 file changed, 4 insertions(+)
diff --git a/virt/kvm/arm/vgic/vgic-i
On Wed, Jun 28, 2017 at 9:38 AM, Arvind Yadav wrote:
> In case of error at init time, rollback iomapping and unprepare clk.
>
> Signed-off-by: Arvind Yadav
Acked-by: Linus Walleij
Yours,
Linus Walleij
Let's use the irq bypass mechanism introduced for platform device
interrupts to intercept the virtual PCIe endpoint configuration
and establish our LPI->VLPI mapping.
Signed-off-by: Marc Zyngier
---
include/kvm/arm_vgic.h | 8
virt/kvm/arm/arm.c | 27 +
virt/kvm/a
All it takes is for the has_v4 flag to be set in gic_kvm_info, and
we'll enable it...
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-v3.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/virt/kvm/arm/vgic/vgic-v3.c b/virt/kvm/arm/vgic/vgic-v3.c
index 96ea597db0e7..fb7bc3b93482 1
In order for VLPIs to be delivered to the guest, we must make
sure that the cpuif is always enabled, irrespective of the
presence of virtual interrupt in the LRs.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/hyp/vgic-v3-sr.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --
On Wed, Jun 28, 2017 at 5:25 PM, John Garry wrote:
> From: Xiaofei Tan
>
> Currently we allocate 3 sets of DMA memories from separate
> pools for each slot. This is inefficient in terms of memory usage
> (buffers are less than 1 page in size, so we lose due to alignment),
> and also time spend in
On Wed, Jun 28, 2017 at 09:59:22AM -0500, Christopher Bostic wrote:
>
>
> On 6/28/17 9:54 AM, Guenter Roeck wrote:
> >On Wed, Jun 28, 2017 at 09:29:50AM -0500, Christopher Bostic wrote:
> >>
> >>On 6/28/17 6:31 AM, Guenter Roeck wrote:
> >>>On 06/27/2017 02:17 PM, Christopher Bostic wrote:
>
When a vPE exits, the pending_last flag is set when there are
pending VLPIs stored in the pending table. Similarily, we set
this flag when a doorbell interrupt fires, as it indicates the
same condition.
Let's update kvm_vgic_vcpu_pending_irq() to account for that
flag as well, making a vcpu runnab
Since when updating the properties one LPI at a time, there is no
need to perform an INV each time we read one. Instead, we rely
on the final VINVALL that gets sent to the ITS to do the work.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-its.c | 15 +--
1 file changed, 9 ins
If the guest issues an INT command targetting a VLPI, let's
call into the irq_set_irqchip_state() helper to make it pending
on the physical side.
This works just as well if userspace decides to inject an interrupt
using the normal userspace API...
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vg
When the VLPI gets mapped, it must inherit the configuration of
LPI configured at the vITS level. FOr that purpose, let's make
update_lpi_config globally available and call it just after
having performed the VLPI map operation.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-its.c | 6 ++-
Should the HW support GICv4 and an ITS being associated with this
VM, let's init the its_vm and its_vpe structures.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgic-init.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/virt/kvm/arm/vgic/vgic-init.c b/virt/k
When masking/unmasking a doorbell interrupt, it is necessary
to issue an invalidation to the corresponding redistributor.
We use the DirectLPI feature by writting directly to the corresponding
redistributor.
Reviewed-by: Thomas Gleixner
Signed-off-by: Marc Zyngier
---
arch/arm/include/asm/arch_
Do a braindump of the way things are supposed to work.
Reviewed-by: Thomas Gleixner
Reviewed-by: Eric Auger
Signed-off-by: Marc Zyngier
---
drivers/irqchip/irq-gic-v4.c | 71
1 file changed, 71 insertions(+)
diff --git a/drivers/irqchip/irq-gic-v4.
The whole MSI injection process is fairly monolithic. An MSI write
gets turned into an injected LPI in one swift go. But this is actually
a more fine-grained process:
- First, a virtual ITS gets selected using the doorbell address
- Then the DevID/EventID pair gets translated into an LPI
- Finally
When the guest issues a MOVI, we need to tell the physical ITS
that we're now targetting a new vcpu. This is done by extracting
the current mapping, updating the target, and reapplying the
mapping. The core ITS code should do the right thing.
Signed-off-by: Marc Zyngier
---
virt/kvm/arm/vgic/vgi
Get the show on the road...
Reviewed-by: Thomas Gleixner
Signed-off-by: Marc Zyngier
---
drivers/irqchip/Makefile | 2 +-
drivers/irqchip/irq-gic-v3-its.c | 3 ++-
drivers/irqchip/irq-gic-v4.c | 13 +
include/linux/irqchip/arm-gic-v4.h | 2 ++
4 files changed, 1
On 06/28/2017 09:00 AM, Fathi Boudra wrote:
> On 28 June 2017 at 17:41, Shuah Khan wrote:
>> On 06/28/2017 08:37 AM, Fathi Boudra wrote:
>>> On 28 June 2017 at 17:20, Shuah Khan wrote:
On 06/28/2017 03:18 AM, Fathi Boudra wrote:
> timers test fails to build due to undefined reference:
>>
On 06/28/2017 08:01 AM, Jens Axboe wrote:
> On 06/28/2017 06:43 AM, Jens Axboe wrote:
>> On 06/28/2017 02:04 AM, Stephen Rothwell wrote:
>>> Hi Jens,
>>>
>>> After merging the block tree, today's linux-next build (powerpc
>>> allnoconfig) failed like this:
>>>
>>> fs/fcntl.o: In function `do_fcntl'
In preparation for the new 'objtool undwarf generate' command, which
will rely on 'objtool check', move the checking code from
builtin-check.c to check.c where it can be used by other commands.
Signed-off-by: Josh Poimboeuf
Reviewed-by: Jiri Slaby
---
tools/objtool/Build
This is a major rewrite of objtool. Instead of only tracking frame
pointer changes, it now tracks all stack-related operations, including
all register saves/restores.
In addition to making stack validation more robust, this also paves the
way for undwarf generation.
Signed-off-by: Josh Poimboeuf
301 - 400 of 1070 matches
Mail list logo