Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Wen Congyang
At 11/21/2012 01:03 PM, Jaegeuk Hanse Wrote: > On 11/21/2012 12:42 PM, Wen Congyang wrote: >> At 11/21/2012 12:22 PM, Jaegeuk Hanse Wrote: >>> On 11/21/2012 11:05 AM, Wen Congyang wrote: At 11/20/2012 07:16 PM, Jaegeuk Hanse Wrote: > On 11/01/2012 05:44 PM, Wen Congyang wrote: >> From:

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Wen Congyang
At 11/21/2012 01:03 PM, Jaegeuk Hanse Wrote: > On 11/21/2012 12:42 PM, Wen Congyang wrote: >> At 11/21/2012 12:22 PM, Jaegeuk Hanse Wrote: >>> On 11/21/2012 11:05 AM, Wen Congyang wrote: At 11/20/2012 07:16 PM, Jaegeuk Hanse Wrote: > On 11/01/2012 05:44 PM, Wen Congyang wrote: >> From:

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Jaegeuk Hanse
On 11/21/2012 12:42 PM, Wen Congyang wrote: At 11/21/2012 12:22 PM, Jaegeuk Hanse Wrote: On 11/21/2012 11:05 AM, Wen Congyang wrote: At 11/20/2012 07:16 PM, Jaegeuk Hanse Wrote: On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEM

[git pull] Please pull powerpc.git merge branch

2012-11-20 Thread Benjamin Herrenschmidt
Hi Linus ! Here are small 52xx fixes that Anatolij asked me to pull a while back and that I completely missed. The stuff is local to that platform code, and was in next for a while, so it should still go into 3.7. Thanks, Ben. The following changes since commit 8c23f406c6d86808726ace580657186bc3

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Wen Congyang
At 11/21/2012 12:22 PM, Jaegeuk Hanse Wrote: > On 11/21/2012 11:05 AM, Wen Congyang wrote: >> At 11/20/2012 07:16 PM, Jaegeuk Hanse Wrote: >>> On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Jaegeuk Hanse
On 11/21/2012 11:05 AM, Wen Congyang wrote: At 11/20/2012 07:16 PM, Jaegeuk Hanse Wrote: On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_sectio

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Wen Congyang
At 11/20/2012 07:16 PM, Jaegeuk Hanse Wrote: > On 11/01/2012 05:44 PM, Wen Congyang wrote: >> From: Yasuaki Ishimatsu >> >> Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But >> even if >> we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. >> >> So the patch add unregi

Re: Please pull 'merge' branch of 5xxx tree

2012-11-20 Thread Benjamin Herrenschmidt
On Tue, 2012-11-20 at 09:27 +0100, Anatolij Gustschin wrote: > Hi Ben, > > On Thu, 25 Oct 2012 22:41:13 +0200 > Anatolij Gustschin wrote: > > > Hi Ben, > > > > please pull three mpc5200 fixes for 3.7: > > Ping. Sorry, missed that, dunno whether it's too late, I'll try. Cheers, Ben. ___

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-20 Thread Rafael J. Wysocki
On Wednesday, November 14, 2012 05:56:30 PM Julius Werner wrote: > Many cpuidle drivers measure their time spent in an idle state by > reading the wallclock time before and after idling and calculating the > difference. This leads to erroneous results when the wallclock time gets > updated by anoth

Re: [PATCH 4/4 v5] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-11-20 Thread Timur Tabi
Varun Sethi wrote: > diff --git a/drivers/iommu/fsl_pamu.h b/drivers/iommu/fsl_pamu.h > new file mode 100644 > index 000..6d32fb5 > --- /dev/null > +++ b/drivers/iommu/fsl_pamu.h > @@ -0,0 +1,398 @@ > +/* > + * This program is free software; you can redistribute it and/or modify > + * it unde

Re: [PATCH 159/493] usb: remove use of __devinit

2012-11-20 Thread Alan Stern
On Mon, 19 Nov 2012, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devinit is no longer > needed. > > Signed-off-by: Bill Pemberton For all the __devinit* annotations and all the EHCI, OHCI, and UHCI drivers: Acked-by: Alan Stern

Re: perf: POWER-event translation questions

2012-11-20 Thread Robert Richter
On 09.11.12 11:26:26, Stephane Eranian wrote: > On Thu, Nov 8, 2012 at 2:10 AM, Sukadev Bhattiprolu > wrote: > > 2. Can we allow hyphens in the {name} token (please see my change to > >util/parse-events.l below). With this change, I can run: > > > The current code does not support this but A

Re: [PATCH] vfio powerpc: enabled and supported on powernv platform

2012-11-20 Thread Alex Williamson
On Tue, 2012-11-20 at 11:48 +1100, Alexey Kardashevskiy wrote: > VFIO implements platform independent stuff such as > a PCI driver, BAR access (via read/write on a file descriptor > or direct mapping when possible) and IRQ signaling. > The platform dependent part includes IOMMU initialization > and

Re: [PATCH 158/493] video: remove use of __devinit

2012-11-20 Thread David Brown
On Mon, Nov 19, 2012 at 01:21:47PM -0500, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devinit is no longer > needed. > > Signed-off-by: Bill Pemberton > --- > drivers/video/msm/mddi.c | 6 +- Acked-by: David Brown -- The Qualcomm Innovatio

Re: [PATCH 429/493] tty: remove use of __devexit

2012-11-20 Thread David Brown
On Mon, Nov 19, 2012 at 01:26:18PM -0500, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devexit is no > longer needed. > > Signed-off-by: Bill Pemberton > --- > drivers/tty/serial/msm_serial.c | 2 +- > drivers/tty/serial/msm_serial_hs.c | 2 +- Ac

Re: [PATCH 119/493] usb: remove use of __devexit_p

2012-11-20 Thread Peter Korsgaard
> "Nicolas" == Nicolas Ferre writes: Nicolas> On 11/19/2012 07:21 PM, Bill Pemberton : >> CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer >> needed. >> >> Signed-off-by: Bill Pemberton >> Cc: Peter Korsgaard >> Cc: Alexander Shishkin >> Cc: Felipe Balbi

[PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-11-20 Thread Varun Sethi
Added the following domain attributes required by FSL PAMU driver: 1. Subwindows field added to the iommu domain geometry attribute. 2. Added new iommu stash attribute, which allows setting of the LIODN specific stash id parameter through IOMMU API. 3. Added an attribute for enabling/disabling D

[PATCH 2/4] iommu/fsl: Add PAMU bypass enable register to ccsr_guts structure.

2012-11-20 Thread Varun Sethi
PAMU bypass enable register added to the ccsr_guts structure. Signed-off-by: Timur Tabi Signed-off-by: Varun Sethi --- arch/powerpc/include/asm/fsl_guts.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/fsl_guts.h b/arch/powerpc/include/asm/

[PATCH 1/4 v2] iommu/fsl: Store iommu domain information pointer in archdata.

2012-11-20 Thread Varun Sethi
Add a new field in the device (powerpc) archdata structure for storing iommu domain information pointer. This pointer is stored when the device is attached to a particular domain. Signed-off-by: Varun Sethi --- arch/powerpc/include/asm/device.h |4 1 files changed, 4 insertions(+), 0

[PATCH 0/4] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-11-20 Thread Varun Sethi
This patchset provides the Freescale PAMU (Peripheral Access Management Unit) driver and the corresponding IOMMU API implementation. PAMU is the IOMMU present on Freescale QorIQ platforms. PAMU can authorize memory access, remap the memory address, and remap the I/O transaction type. This set

Re: [PATCH 207/493] i2c: remove use of __devinit

2012-11-20 Thread Russell King - ARM Linux
On Tue, Nov 20, 2012 at 09:20:46AM +0100, Jean Delvare wrote: > Hi Bill, > > On Mon, 19 Nov 2012 13:22:36 -0500, Bill Pemberton wrote: > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer > > needed. > > Can you please point me/us to the discussion explaining the rationale > be

Re: [PATCH 065/493] i2c: remove use of __devexit_p

2012-11-20 Thread Jean Delvare
On Mon, 19 Nov 2012 13:20:14 -0500, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer > needed. As mentioned on the lm-sensors list for hwmon patches already, I think it would be much clearer to not split __devexit, __devexit_p, __devinit etc. removal in

Re: [PATCH 207/493] i2c: remove use of __devinit

2012-11-20 Thread Jean Delvare
On Tue, 20 Nov 2012 13:23:42 +, Russell King - ARM Linux wrote: > On Tue, Nov 20, 2012 at 09:20:46AM +0100, Jean Delvare wrote: > > Hi Bill, > > > > On Mon, 19 Nov 2012 13:22:36 -0500, Bill Pemberton wrote: > > > CONFIG_HOTPLUG is going away as an option so __devinit is no longer > > > needed.

Re: [PATCH] PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc()

2012-11-20 Thread Ben Hutchings
On Tue, 2012-11-20 at 18:20 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2010-07-23 at 14:56 +0100, Ben Hutchings wrote: > > commit 2ca1af9aa3285c6a5f103ed31ad09f7399fc65d7 "PCI: MSI: Remove > > unsafe and unnecessary hardware access" changed read_msi_msg_desc() to > > return the last MSI message

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Jaegeuk Hanse
On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. So the patch add unregister_memory_section() into __remove_section(). Hi Yasuaki, I

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Jaegeuk Hanse
On 11/20/2012 05:37 PM, Wen Congyang wrote: At 11/20/2012 02:58 PM, Jaegeuk Hanse Wrote: On 11/20/2012 02:55 PM, Wen Congyang wrote: At 11/20/2012 02:22 PM, Jaegeuk Hanse Wrote: On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEM

Re: [PATCH 1/4] perf/powerpc: Use uapi/unistd.h to fix build error

2012-11-20 Thread Suzuki K. Poulose
On 11/08/2012 12:48 AM, Sukadev Bhattiprolu wrote: From b8beef080260c1625c8f801105504a82005295e5 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Wed, 31 Oct 2012 11:21:28 -0700 Subject: [PATCH 1/4] perf/powerpc: Use uapi/unistd.h to fix build error Use the 'unistd.h' from arch/powerp

Re: [PATCH 429/493] tty: remove use of __devexit

2012-11-20 Thread Tobias Klauser
On 2012-11-19 at 19:26:18 +0100, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devexit is no > longer needed. > > Signed-off-by: Bill Pemberton > Cc: Jiri Slaby > Cc: Alan Cox > Cc: Tobias Klauser > Cc: Lucas Tavares > Cc: David Brown > Cc: Daniel Walker > Cc

Re: [PATCH 161/493] tty: remove use of __devinit

2012-11-20 Thread Tobias Klauser
On 2012-11-19 at 19:21:50 +0100, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devinit is no longer > needed. > > Signed-off-by: Bill Pemberton > Cc: Jiri Slaby > Cc: Alan Cox > Cc: Tobias Klauser > Cc: Lucas Tavares > Cc: "David S. Miller" > Cc: Peter Korsgaar

Re: [PATCH 161/493] tty: remove use of __devinit

2012-11-20 Thread Nicolas Ferre
On 11/19/2012 07:21 PM, Bill Pemberton : > CONFIG_HOTPLUG is going away as an option so __devinit is no longer > needed. > > Signed-off-by: Bill Pemberton > Cc: Jiri Slaby > Cc: Alan Cox > Cc: Tobias Klauser > Cc: Lucas Tavares > Cc: "David S. Miller" > Cc: Peter Korsgaard > Cc: Tony

Re: [PATCH 119/493] usb: remove use of __devexit_p

2012-11-20 Thread Nicolas Ferre
On 11/19/2012 07:21 PM, Bill Pemberton : > CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer > needed. > > Signed-off-by: Bill Pemberton > Cc: Peter Korsgaard > Cc: Alexander Shishkin > Cc: Felipe Balbi > Cc: Li Yang > Cc: Alan Stern > Cc: Wan ZongShun > Cc: Ben Do

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Wen Congyang
At 11/20/2012 02:58 PM, Jaegeuk Hanse Wrote: > On 11/20/2012 02:55 PM, Wen Congyang wrote: >> At 11/20/2012 02:22 PM, Jaegeuk Hanse Wrote: >>> On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But

Re: [PATCH v3 11/12] memory-hotplug: remove sysfs file of node

2012-11-20 Thread Wen Congyang
At 11/19/2012 06:08 PM, Yasuaki Ishimatsu Wrote: > Hi Wen, > > This patch cannot be applied, if I apply latest acpi framework's patch-set: > > https://lkml.org/lkml/2012/11/15/21 > > Because acpi_memory_disable_device() is gone by the patch-set. The patchset is not for pm tree, so I don't apply

Re: [PATCH 207/493] i2c: remove use of __devinit

2012-11-20 Thread Jean Delvare
Hi Bill, On Mon, 19 Nov 2012 13:22:36 -0500, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devinit is no longer > needed. Can you please point me/us to the discussion explaining the rationale behind this move, and the explanation of what will be done exactly? While I can

Re: [PATCH 065/493] i2c: remove use of __devexit_p

2012-11-20 Thread Shubhrajyoti Datta
On Mon, Nov 19, 2012 at 11:50 PM, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer > needed. > Reviewed-by: Shubhrajyoti D ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Jaegeuk Hanse
On 11/20/2012 02:55 PM, Wen Congyang wrote: At 11/20/2012 02:22 PM, Jaegeuk Hanse Wrote: On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_sectio

Re: [PATCH v3 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-20 Thread Jaegeuk Hanse
On 11/01/2012 05:44 PM, Wen Congyang wrote: From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. So the patch add unregister_memory_section() into __remove_section(). Hi Yasuaki, In

[PATCH 2/2] powerpc/pseries: pci: Use NULL instead of 0 for pointers

2012-11-20 Thread Tushar Behera
The third argument for of_get_property() is a pointer, hence pass NULL instead of 0. Signed-off-by: Tushar Behera --- This code is in a '#if 0' section, but I went ahead with the patch as this is the only location in kernel where of_get_property is passed 0 as the third argument. If this function

[PATCH 1/2] powerpc/85xx: p1022ds: Use NULL instead of 0 for pointers

2012-11-20 Thread Tushar Behera
The third argument for of_get_property() is a pointer, hence pass NULL instead of 0. Signed-off-by: Tushar Behera --- arch/powerpc/platforms/85xx/p1022_ds.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platforms/

Re: Please pull 'merge' branch of 5xxx tree

2012-11-20 Thread Anatolij Gustschin
Hi Ben, On Thu, 25 Oct 2012 22:41:13 +0200 Anatolij Gustschin wrote: > Hi Ben, > > please pull three mpc5200 fixes for 3.7: Ping. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev