Re: [PATCH 1/3] MAINTAINERS: KVM: arm/arm64: Remove myself as maintainer

2019-05-24 Thread Paolo Bonzini
On 24/05/19 16:47, Marc Zyngier wrote: > From: Christoffer Dall > > I no longer have time to actively review patches and manage the tree and > it's time to make that official. Thanks Christopher for your work, I hope to meet you anyway at KVM Forum! Paolo > Huge thanks to the incredible Linux

Re: [PATCH] mm, compaction: Make sure we isolate a valid PFN

2019-05-24 Thread Mel Gorman
On Fri, May 24, 2019 at 04:31:48PM +0100, Suzuki K Poulose wrote: > When we have holes in a normal memory zone, we could endup having > cached_migrate_pfns which may not necessarily be valid, under heavy memory > pressure with swapping enabled ( via __reset_isolation_suitable(), triggered > by

[PATCH] mm, compaction: Make sure we isolate a valid PFN

2019-05-24 Thread Suzuki K Poulose
When we have holes in a normal memory zone, we could endup having cached_migrate_pfns which may not necessarily be valid, under heavy memory pressure with swapping enabled ( via __reset_isolation_suitable(), triggered by kswapd). Later if we fail to find a page via fast_isolate_freepages(), we

[GIT PULL] KVM/arm updates for 5.2-rc2

2019-05-24 Thread Marc Zyngier
Paolo, Radim, This is the first batch of KVM/arm fixes for 5.2. The biggest item on the menu is Christoffer removing himself from the MAINTAINERS file. He'll be missed. The rest is a set of fixes moving some code around to prevent KASAN and co from crashing the kernel on non-VHE systems. Please

[PATCH 1/3] MAINTAINERS: KVM: arm/arm64: Remove myself as maintainer

2019-05-24 Thread Marc Zyngier
From: Christoffer Dall I no longer have time to actively review patches and manage the tree and it's time to make that official. Huge thanks to the incredible Linux community and all the contributors who have put up with me over the past years. I also take this opportunity to remove the

[PATCH 3/3] KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation

2019-05-24 Thread Marc Zyngier
From: James Morse KVM has helpers to handle the condition codes of trapped aarch32 instructions. These are marked __hyp_text and used from HYP, but they aren't built by the 'hyp' Makefile, which has all the runes to avoid ASAN and KCOV instrumentation. Move this code to a new hyp/aarch32.c to

[PATCH 2/3] KVM: arm64: Move pmu hyp code under hyp's Makefile to avoid instrumentation

2019-05-24 Thread Marc Zyngier
From: James Morse KVM's pmu.c contains the __hyp_text needed to switch the pmu registers between host and guest. Because this isn't covered by the 'hyp' Makefile, it can be built with kasan and friends when these are enabled in Kconfig. When starting a guest, this results in: | Kernel panic -

Re: [PATCH v2 05/15] arm64: KVM: add access handler for SPE system registers

2019-05-24 Thread Sudeep Holla
On Fri, May 24, 2019 at 12:36:24PM +0100, Julien Thierry wrote: > Hi Sudeep, > > On 23/05/2019 11:34, Sudeep Holla wrote: > > SPE Profiling Buffer owning EL is configurable and when MDCR_EL2.E2PB > > is configured to provide buffer ownership to EL1, the control registers > > are trapped. > > > >

Re: [PATCH] MAINTAINERS: KVM: arm/arm64: Remove myself as maintainer

2019-05-24 Thread Marc Zyngier
Hi Christoffer, On 21/05/2019 14:25, Christoffer Dall wrote: > I no longer have time to actively review patches and manage the tree and > it's time to make that official. > > Huge thanks to the incredible Linux community and all the contributors > who have put up with me over the past years. >

Re: mm/compaction: BUG: NULL pointer dereference

2019-05-24 Thread Anshuman Khandual
On 05/24/2019 06:00 PM, Mel Gorman wrote: > On Fri, May 24, 2019 at 04:26:16PM +0530, Anshuman Khandual wrote: >> >> >> On 05/24/2019 02:50 PM, Suzuki K Poulose wrote: >>> Hi, >>> >>> We are hitting NULL pointer dereferences while running stress tests with >>> KVM. >>> See splat [0]. The test

Re: mm/compaction: BUG: NULL pointer dereference

2019-05-24 Thread Mel Gorman
On Fri, May 24, 2019 at 04:26:16PM +0530, Anshuman Khandual wrote: > > > On 05/24/2019 02:50 PM, Suzuki K Poulose wrote: > > Hi, > > > > We are hitting NULL pointer dereferences while running stress tests with > > KVM. > > See splat [0]. The test is to spawn 100 VMs all doing standard debian >

Re: [PATCH v2 12/15] KVM: arm64: add a new vcpu device control group for SPEv1

2019-05-24 Thread Marc Zyngier
On 24/05/2019 12:21, Sudeep Holla wrote: > On Fri, May 24, 2019 at 11:37:51AM +0100, Marc Zyngier wrote: >> Hi Sudeep, >> >> On 23/05/2019 11:34, Sudeep Holla wrote: >>> To configure the virtual SPEv1 overflow interrupt number, we use the >>> vcpu kvm_device ioctl, encapsulating the

Re: [PATCH v2 12/15] KVM: arm64: add a new vcpu device control group for SPEv1

2019-05-24 Thread Sudeep Holla
On Fri, May 24, 2019 at 11:37:51AM +0100, Marc Zyngier wrote: > Hi Sudeep, > > On 23/05/2019 11:34, Sudeep Holla wrote: > > To configure the virtual SPEv1 overflow interrupt number, we use the > > vcpu kvm_device ioctl, encapsulating the KVM_ARM_VCPU_SPE_V1_IRQ > > attribute within the

Re: mm/compaction: BUG: NULL pointer dereference

2019-05-24 Thread Anshuman Khandual
On 05/24/2019 02:50 PM, Suzuki K Poulose wrote: > Hi, > > We are hitting NULL pointer dereferences while running stress tests with KVM. > See splat [0]. The test is to spawn 100 VMs all doing standard debian > installation (Thanks to Marc's automated scripts, available here [1] ). > The

Re: mm/compaction: BUG: NULL pointer dereference

2019-05-24 Thread Suzuki K Poulose
Hi Mel, Thanks for your quick response. On 24/05/2019 11:39, Mel Gorman wrote: On Fri, May 24, 2019 at 10:20:19AM +0100, Suzuki K Poulose wrote: Hi, We are hitting NULL pointer dereferences while running stress tests with KVM. See splat [0]. The test is to spawn 100 VMs all doing standard

Re: mm/compaction: BUG: NULL pointer dereference

2019-05-24 Thread Mel Gorman
On Fri, May 24, 2019 at 10:20:19AM +0100, Suzuki K Poulose wrote: > Hi, > > We are hitting NULL pointer dereferences while running stress tests with KVM. > See splat [0]. The test is to spawn 100 VMs all doing standard debian > installation (Thanks to Marc's automated scripts, available here [1]

Re: [PATCH v2 12/15] KVM: arm64: add a new vcpu device control group for SPEv1

2019-05-24 Thread Marc Zyngier
Hi Sudeep, On 23/05/2019 11:34, Sudeep Holla wrote: > To configure the virtual SPEv1 overflow interrupt number, we use the > vcpu kvm_device ioctl, encapsulating the KVM_ARM_VCPU_SPE_V1_IRQ > attribute within the KVM_ARM_VCPU_SPE_V1_CTRL group. > > After configuring the SPEv1, call the vcpu

mm/compaction: BUG: NULL pointer dereference

2019-05-24 Thread Suzuki K Poulose
Hi, We are hitting NULL pointer dereferences while running stress tests with KVM. See splat [0]. The test is to spawn 100 VMs all doing standard debian installation (Thanks to Marc's automated scripts, available here [1] ). The problem has been reproduced with a better rate of success from