Re: [RFC v9 PATCH 16/21] memory-hotplug: free memmap of sparse-vmemmap

2012-10-01 Thread Ni zhan Chen
On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu All pages of virtual mapping in removed memory cannot be freed, since some pages used as PGD/PUD includes not only removed memory but also other memory. So the patch checks whether page can be freed or not. How to chec

Re: [RFC v9 PATCH 01/21] memory-hotplug: rename remove_memory() to offline_memory()/offline_pages()

2012-10-01 Thread Yasuaki Ishimatsu
Hi Kosaki-san, 2012/09/29 7:15, KOSAKI Motohiro wrote: On Thu, Sep 27, 2012 at 11:50 PM, Yasuaki Ishimatsu wrote: Hi Chen, 2012/09/28 11:22, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu remove_memory() only try to offline pages. It is

[PATCH] powerpc: fix VMX fix for memcpy case

2012-10-01 Thread Nishanth Aravamudan
[urgh, sorry Anton, Ben & Paul, inadvertently hit send before adding linuxppc-dev to the cc!] Hi Anton, In 2fae7cdb60240e2e2d9b378afbf6d9fcce8a3890 ("powerpc: Fix VMX in interrupt check in POWER7 copy loops"), I think you inadvertently introduced a regression for memcpy on POWER7 machines. copyue

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-01 Thread Benjamin Herrenschmidt
On Mon, 2012-10-01 at 16:03 +0200, Alexander Graf wrote: > Phew. Here we go :). It looks to be more of a PPC specific problem than it > appeared as at first: Ok, so I suspect the problem is the pushing down of the locks which breaks with iommu backends that have a separate flush callback. In that

Re: [RFC v9 PATCH 06/21] memory-hotplug: export the function acpi_bus_remove()

2012-10-01 Thread Ni zhan Chen
On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Wen Congyang The function acpi_bus_remove() can remove a acpi device from acpi device. IIUC, s/acpi device/acpi bus When a acpi device is removed, we need to call this function to remove the acpi device from acpi bus. So export th

Re: [RFC v9 PATCH 00/21] memory-hotplug: hot-remove physical memory

2012-10-01 Thread Yasuaki Ishimatsu
Hi Chen, 2012/10/02 8:45, Ni zhan Chen wrote: On 10/01/2012 12:44 PM, Yasuaki Ishimatsu wrote: Hi Chen, 2012/09/29 17:19, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Wen Congyang This patch series aims to support physical memory hot-remove. The patches ca

Re: [RFC v9 PATCH 00/21] memory-hotplug: hot-remove physical memory

2012-10-01 Thread Ni zhan Chen
On 10/01/2012 12:44 PM, Yasuaki Ishimatsu wrote: Hi Chen, 2012/09/29 17:19, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Wen Congyang This patch series aims to support physical memory hot-remove. The patches can free/remove the following things: - acpi_m

Re: [PATCH 3/3] edac/85xx: Enable the EDAC PCI err driver by device_initcall

2012-10-01 Thread Scott Wood
On 09/29/2012 09:42:06 AM, Chunhe Lan wrote: On 09/28/2012 01:35 PM, Scott Wood wrote: On 09/27/2012 05:33:26 PM, Kumar Gala wrote: On Sep 27, 2012, at 4:51 PM, Scott Wood wrote: > On 09/27/2012 04:45:08 PM, Gala Kumar-B11780 wrote: >> On Sep 27, 2012, at 11:09 AM, Scott Wood wrote: >>> On 09

Re: [PATCH] PPC: Enable the Watchdog vector for 405

2012-10-01 Thread Jason Gunthorpe
On Mon, Oct 01, 2012 at 01:32:47PM -0400, Josh Boyer wrote: > On Mon, Oct 1, 2012 at 12:25 PM, Jason Gunthorpe > >> Please leave this wrapped in CONFIG_BOOKE_WDT. I don't agree with > >> unconditionally enabling this for every 405 chip out there. > > > > What are you concerned with? If some core

Re: [PATCH] PPC: Enable the Watchdog vector for 405

2012-10-01 Thread Josh Boyer
On Mon, Oct 1, 2012 at 12:25 PM, Jason Gunthorpe wrote: > On Mon, Oct 01, 2012 at 08:16:29AM -0400, Josh Boyer wrote: >> On Sun, Sep 30, 2012 at 7:27 PM, Jason Gunthorpe >> wrote: >> > Move the body of the PIT exception out of line to make room. >> >> What boards did you test this on? What drive

Re: [PATCH] PPC: Enable the Watchdog vector for 405

2012-10-01 Thread Jason Gunthorpe
On Mon, Oct 01, 2012 at 08:16:29AM -0400, Josh Boyer wrote: > On Sun, Sep 30, 2012 at 7:27 PM, Jason Gunthorpe > wrote: > > Move the body of the PIT exception out of line to make room. > > What boards did you test this on? What driver are you using for the > watchdog? Tested on a 405F6 core (Xi

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-01 Thread J. Bruce Fields
On Mon, Oct 01, 2012 at 04:03:06PM +0200, Alexander Graf wrote: > > On 28.09.2012, at 17:10, J. Bruce Fields wrote: > > > On Fri, Sep 28, 2012 at 04:19:55AM +0200, Alexander Graf wrote: > >> > >> On 28.09.2012, at 04:04, Linus Torvalds wrote: > >> > >>> On Thu, Sep 27, 2012 at 6:55 PM, Alexande

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-01 Thread Alexander Graf
On 28.09.2012, at 17:10, J. Bruce Fields wrote: > On Fri, Sep 28, 2012 at 04:19:55AM +0200, Alexander Graf wrote: >> >> On 28.09.2012, at 04:04, Linus Torvalds wrote: >> >>> On Thu, Sep 27, 2012 at 6:55 PM, Alexander Graf wrote: Below are OOPS excerpts from different rc's I tried. A

Re: [PATCH] PPC: Enable the Watchdog vector for 405

2012-10-01 Thread Josh Boyer
On Sun, Sep 30, 2012 at 7:27 PM, Jason Gunthorpe wrote: > Move the body of the PIT exception out of line to make room. What boards did you test this on? What driver are you using for the watchdog? > Signed-off-by: Jason Gunthorpe > --- > arch/powerpc/kernel/head_40x.S | 26 +

Re: [RFC v9 PATCH 03/21] memory-hotplug: store the node id in acpi_memory_device

2012-10-01 Thread Yasuaki Ishimatsu
Hi Chen, 2012/09/28 12:21, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Wen Congyang The memory device has only one node id. Store the node id when enable the memory device, and we can reuse it when removing the memory device. one question: if use numa emula