Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-09-04 Thread Bharata B Rao
On Fri, Sep 01, 2017 at 09:11:18AM -0500, Nathan Fontenot wrote: > On 09/01/2017 01:53 AM, Bharata B Rao wrote: > > On Thu, Aug 10, 2017 at 02:53:48PM +0530, Bharata B Rao wrote: > >> For a PowerKVM guest, it is possible to specify a DIMM device in > >> addition to the system RAM at boot time.

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-09-01 Thread Nathan Fontenot
On 09/01/2017 01:53 AM, Bharata B Rao wrote: > On Thu, Aug 10, 2017 at 02:53:48PM +0530, Bharata B Rao wrote: >> For a PowerKVM guest, it is possible to specify a DIMM device in >> addition to the system RAM at boot time. When such a cold plugged DIMM >> device is removed from a radix guest, we

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-09-01 Thread Bharata B Rao
On Thu, Aug 10, 2017 at 02:53:48PM +0530, Bharata B Rao wrote: > For a PowerKVM guest, it is possible to specify a DIMM device in > addition to the system RAM at boot time. When such a cold plugged DIMM > device is removed from a radix guest, we hit the following warning in the > guest kernel

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-08-17 Thread Bharata B Rao
On Fri, Aug 11, 2017 at 02:12:04PM +0530, Aneesh Kumar K.V wrote: > Bharata B Rao writes: > > > For a PowerKVM guest, it is possible to specify a DIMM device in > > addition to the system RAM at boot time. When such a cold plugged DIMM > > device is removed from a

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-08-11 Thread Reza Arbab
On Fri, Aug 11, 2017 at 02:07:51PM +0530, Aneesh Kumar K.V wrote: Reza Arbab writes: On Thu, Aug 10, 2017 at 02:53:48PM +0530, Bharata B Rao wrote: diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index f830562..24ecf53 100644 ---

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-08-11 Thread Aneesh Kumar K.V
Bharata B Rao writes: > For a PowerKVM guest, it is possible to specify a DIMM device in > addition to the system RAM at boot time. When such a cold plugged DIMM > device is removed from a radix guest, we hit the following warning in the > guest kernel resulting in

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-08-11 Thread Aneesh Kumar K.V
Reza Arbab writes: > On Thu, Aug 10, 2017 at 02:53:48PM +0530, Bharata B Rao wrote: >>diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c >>index f830562..24ecf53 100644 >>--- a/arch/powerpc/kernel/prom.c >>+++ b/arch/powerpc/kernel/prom.c >>@@ -524,6

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-08-10 Thread Reza Arbab
On Thu, Aug 10, 2017 at 11:50:19AM -0500, Reza Arbab wrote: On Thu, Aug 10, 2017 at 02:53:48PM +0530, Bharata B Rao wrote: diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index f830562..24ecf53 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@

Re: [FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-08-10 Thread Reza Arbab
On Thu, Aug 10, 2017 at 02:53:48PM +0530, Bharata B Rao wrote: diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index f830562..24ecf53 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@ -524,6 +524,7 @@ static int __init

[FIX PATCH v0] powerpc: Fix memory unplug failure on radix guest

2017-08-10 Thread Bharata B Rao
For a PowerKVM guest, it is possible to specify a DIMM device in addition to the system RAM at boot time. When such a cold plugged DIMM device is removed from a radix guest, we hit the following warning in the guest kernel resulting in the eventual failure of memory unplug: remove_pud_table: