RE: [PATCH 1/6] powerpc/fsl-booke: Add initial silicon device tree files for B4860QDS

2013-03-18 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Saturday, March 16, 2013 2:00 AM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Li Yang-R58472; Tang Yuantian-B29983; Sethi Varun-B16395; Lian Minghuan-B31939; Mehresh Ramnee

RE: [PATCH 4/6] powerpc/fsl-booke: Add initial B4420QDS board device tree

2013-03-18 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Saturday, March 16, 2013 2:02 AM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 4/6] powerpc/fsl-booke: Add initial B4420QDS board device tree On Mar 15, 2013, at 2:55 AM, Sha

KVM breaking the ppc64_defconfig UP build

2013-03-18 Thread Michael Ellerman
Hi guys, The ppc64_defconfig build with CONFIG_SMP=n (ie. UP) is broken by KVM: arch/powerpc/kvm/book3s_hv.c:1855:2: error: implicit declaration of function 'inhibit_secondary_onlining' arch/powerpc/kvm/book3s_hv.c:1862:2: error: implicit declaration of function 'uninhibit_secondary_onlinin

RE: [PATCH 1/6] powerpc/fsl-booke: Add initial silicon device tree files for B4860QDS

2013-03-18 Thread Leekha Shaveta-B20052
-Original Message- From: Timur Tabi [mailto:ti...@tabi.org] Sent: Friday, March 15, 2013 6:38 PM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Lian Minghuan-B31939; Tang Yuantian-B29983; Fleming Andy-AFLEMING; Mehresh Ramneek-B31383; Sethi Varun-B163

Re: [patch 1/2] mm: remove free_area_cache use in powerpc architecture

2013-03-18 Thread Michel Lespinasse
On Thu, Feb 21, 2013 at 3:05 PM, wrote: > From: Michel Lespinasse > Subject: mm: remove free_area_cache use in powerpc architecture > > As all other architectures have been converted to use vm_unmapped_area(), > we are about to retire the free_area_cache. Ping ? I haven't seen any replies from

Re: [patch 1/2] mm: remove free_area_cache use in powerpc architecture

2013-03-18 Thread Benjamin Herrenschmidt
On Mon, 2013-03-18 at 01:08 -0700, Michel Lespinasse wrote: > On Thu, Feb 21, 2013 at 3:05 PM, wrote: > > From: Michel Lespinasse > > Subject: mm: remove free_area_cache use in powerpc architecture > > > > As all other architectures have been converted to use vm_unmapped_area(), > > we are about

[PATCH] powerpc: add CONFIG(s) require for using flash controller

2013-03-18 Thread Prabhakar Kushwaha
Add CONFIG(s) required for NAND and NOR flash controller usage. It defines MTD, Jffs2 and UBIFS file system required for controllers. It also enables IFC controller Signed-off-by: Prabhakar Kushwaha --- Based upon http://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git branch next a

Re: [GIT PULL 0/8] perf/urgent fixes

2013-03-18 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit cb16b91a449afd01b85ec4e59f30449d11c4acd7: > > s390: Fix a header dependencies related build error (2013-03-11 10:43:35

Re: [RFC][PATCH 2/2] powerpc/fsl-pci Make PCIe hotplug work with Freescale

2013-03-18 Thread Rojhalat Ibrahim
On Thursday 14 March 2013 15:35:40 Kumar Gala wrote: > On Mar 14, 2013, at 4:43 AM, Rojhalat Ibrahim wrote: > > On Wednesday 13 March 2013 14:07:16 Kumar Gala wrote: > >> diff --git a/arch/powerpc/sysdev/fsl_pci.c > >> b/arch/powerpc/sysdev/fsl_pci.c > >> index 41bbcc4..b18c377 100644 > >> --- a/ar

RE: [PATCH 1/3] powerpc/mpic: add irq_set_wake support

2013-03-18 Thread Wang Dongsheng-B40534
Hi Benjamin & Kumar, I am not sure who can apply these patches... Could you apply these patches? Thanks. [1/3] powerpc/mpic: add irq_set_wake support http://patchwork.ozlabs.org/patch/226034/ [2/3] powerpc/mpic: add global timer support http://patchwork.ozlabs.org/patch/226035/ [3/3] powerpc/

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Aneesh Kumar K.V
a...@linux-foundation.org writes: > From: Michel Lespinasse > Subject: mm: use vm_unmapped_area() on powerpc architecture > > Update the powerpc slice_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force search. > > Signed-off-by: Michel Lespinasse

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Aneesh Kumar K.V
a...@linux-foundation.org writes: > From: Michel Lespinasse > Subject: mm: use vm_unmapped_area() on powerpc architecture > > Update the powerpc slice_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force search. > > Signed-off-by: Michel Lespinasse

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Michel Lespinasse
On Mon, Mar 18, 2013 at 4:12 AM, Aneesh Kumar K.V wrote: > how about ? > > static bool slice_scan_available(unsigned long addr, > struct slice_mask available, > int end, > unsigned long *boundary_ad

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Aneesh Kumar K.V
Michel Lespinasse writes: > On Mon, Mar 18, 2013 at 4:12 AM, Aneesh Kumar K.V > wrote: >> how about ? >> >> static bool slice_scan_available(unsigned long addr, >> struct slice_mask available, >> int end, >>

Re: [PATCH 1/3] powerpc/mpic: add irq_set_wake support

2013-03-18 Thread Benjamin Herrenschmidt
On Mon, 2013-03-18 at 09:28 +, Wang Dongsheng-B40534 wrote: > Hi Benjamin & Kumar, > > I am not sure who can apply these patches... > > Could you apply these patches? I can but I need somebody to review them, I don't have the bandwidth nor am I familiar with the FSL changes to the MPIC. Che

Re: [PATCH 1/3] powerpc/mpic: add irq_set_wake support

2013-03-18 Thread Gala Kumar-B11780
On Mar 18, 2013, at 9:41 AM, Benjamin Herrenschmidt wrote: > On Mon, 2013-03-18 at 09:28 +, Wang Dongsheng-B40534 wrote: >> Hi Benjamin & Kumar, >> >> I am not sure who can apply these patches... >> >> Could you apply these patches? > > I can but I need somebody to review them, I don't hav

Re: [PATCH 5/6] powerpc/fsl-booke: Add B4_QDS board support

2013-03-18 Thread Kumar Gala
On Mar 18, 2013, at 1:28 AM, Leekha Shaveta-B20052 wrote: > > > -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, March 15, 2013 9:28 PM > To: Leekha Shaveta-B20052 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 5/6] powerpc/fsl-booke:

Re: [PATCH 1/1] For MPC831x the bus probing function needs the fixup to assign addresses to the PCI devices as it was for MPC85xx and MPC86xx. The fixup of the bridge vendor and device ID should be do

2013-03-18 Thread Kumar Gala
On Mar 18, 2013, at 8:50 AM, Sergey Gerasimov wrote: > Signed-off-by: Sergey Gerasimov > --- > arch/powerpc/sysdev/fsl_pci.c | 71 +-- > 1 file changed, 34 insertions(+), 37 deletions(-) > Can you repost with subject and commit log fixed? It appears your

Re: [PATCH 5/5 v9] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-03-18 Thread Kumar Gala
On Mar 17, 2013, at 10:48 AM, Sethi Varun-B16395 wrote: >>> >>> + guts_node = of_find_compatible_node(NULL, NULL, >>> + "fsl,qoriq-device-config-1.0"); >> >> This doesn't work for T4 or B4 device trees. >> > [Sethi Varun-B16395]hmm I need to use the dcfg space for this.

Re: [PATCH 2/6] powerpc/fsl-booke: Add initial B4860QDS board device tree

2013-03-18 Thread Kumar Gala
On Mar 18, 2013, at 1:31 AM, Leekha Shaveta-B20052 wrote: > > > -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Saturday, March 16, 2013 1:57 AM > To: Leekha Shaveta-B20052 > Cc: linuxppc-dev@lists.ozlabs.org; Lian Minghuan-B31939; Fleming > Andy-AFLEM

Re: [PATCH 1/6] powerpc/fsl-booke: Add initial silicon device tree files for B4860QDS

2013-03-18 Thread Kumar Gala
On Mar 18, 2013, at 2:41 AM, Leekha Shaveta-B20052 wrote: > > > -Original Message- > From: Timur Tabi [mailto:ti...@tabi.org] > Sent: Friday, March 15, 2013 6:38 PM > To: Leekha Shaveta-B20052 > Cc: linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Lian Minghuan-B31939; > Tang Yuant

[PATCH 1/1] For MPC831x the bus probing function needs the fixup to assign addresses to the PCI devices as it was for MPC85xx and MPC86xx. The fixup of the bridge vendor and device ID should be done e

2013-03-18 Thread Sergey Gerasimov
Signed-off-by: Sergey Gerasimov --- arch/powerpc/sysdev/fsl_pci.c | 71 +-- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 682084d..2e41a68 100644 --- a/arch/powerpc/sysdev

[PATCH] powerpc/fsl-booke: Update T4240 device config node in device

2013-03-18 Thread Kumar Gala
As the T4240 is based on corenet chassis v2.0 spec we update the global utilities (GUTS) device config compatiable to reflect this. Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/d

[PATCH 2/2] powerpc/fsl-booke: Update DCSR EPU device tree entries

2013-03-18 Thread Kumar Gala
From: Stephen George Identifies the epu as compatible with Chassis v1 Debug IP. Signed-off-by: Stephen George Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/fsl/p2041si-post.dtsi |2 +- arch/powerpc/boot/dts/fsl/p3041si-post.dtsi |2 +- arch/powerpc/boot/dts/fsl/p4080si-post.dtsi

[PATCH 1/2] powerpc/fsl-booke: Added device tree DCSR entries for

2013-03-18 Thread Kumar Gala
From: Stephen George Signed-off-by: Stephen George Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 131 +++ arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi | 25 ++--- arch/powerpc/boot/dts/t4240qds.dts |4 + 3 files changed, 148

Re: [PATCH 5/5 v9] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-03-18 Thread Kumar Gala
On Mar 18, 2013, at 9:59 AM, Kumar Gala wrote: > > On Mar 17, 2013, at 10:48 AM, Sethi Varun-B16395 wrote: > + guts_node = of_find_compatible_node(NULL, NULL, + "fsl,qoriq-device-config-1.0"); >>> >>> This doesn't work for T4 or B4 device trees. >>> >> [Sethi

Re: [PATCH 1/1] Add a new platform tree for ib8315. Also add the DTS and the defconfig for that board.

2013-03-18 Thread Kumar Gala
On Mar 18, 2013, at 8:47 AM, Sergey Gerasimov wrote: > Signed-off-by: Sergey Gerasimov > --- > arch/powerpc/boot/dts/ib8315.dts | 490 +++ > arch/powerpc/configs/83xx/ib8315_defconfig | 2121 > arch/powerpc/platforms/83xx/Kconfig|7 + > arch/p

Re: [PATCH 2/3] VFIO: VFIO_DEVICE_SET_ADDR_MAPPING command

2013-03-18 Thread Alex Williamson
On Sat, 2013-03-16 at 06:37 +0100, Benjamin Herrenschmidt wrote: > On Sat, 2013-03-16 at 09:34 +0800, Gavin Shan wrote: > > >Could you explain further how this will be used? How the device is > > >exposed to a guest is entirely a userspace construct, so why does vfio > > >need to know or care abou

Re: [PATCH 3/3] VFIO: Direct access config reg without capability

2013-03-18 Thread Alex Williamson
On Sat, 2013-03-16 at 06:30 +0100, Benjamin Herrenschmidt wrote: > On Fri, 2013-03-15 at 13:41 -0600, Alex Williamson wrote: > > > > This basically gives userspace free access to any regions that aren't > > covered by known capabilities. > > And ? > > I mean seriously :-) We already had that di

Re: [PATCH] powerpc: add Book E support to 64-bit hibernation

2013-03-18 Thread Scott Wood
On 03/15/2013 10:22:06 AM, Johannes Berg wrote: On Thu, 2013-03-14 at 11:52 -0500, Scott Wood wrote: > > > +#ifdef CONFIG_PPC_BOOK3S_64 > > > /* can't use RESTORE_SPECIAL(MSR) */ > > > ld r0, SL_MSR(r11) > > > mtmsrd r0, 0 > > > > Unfortunately, I forgot the reaso

[PATCH] sgy-cts1000: Remove __dev* attributes

2013-03-18 Thread Ben Collins
Somehow the driver snuck in with these still in it. Signed-off-by: Ben Collins --- arch/powerpc/platforms/85xx/sgy_cts1000.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/85xx/sgy_cts1000.c b/arch/powerpc/platforms/85xx/sgy_cts1000.c index 611e

Re: [PATCH][UPSTEAM] powerpc/mpic: add irq_set_wake support

2013-03-18 Thread Scott Wood
On 01/30/2013 09:10:23 PM, Wang Dongsheng wrote: Add irq_set_wake support. Just add IRQF_NO_SUSPEND to desc->action->flag. So the wake up interrupt will not be disable in suspend_device_irqs. Signed-off-by: Wang Dongsheng --- arch/powerpc/sysdev/mpic.c | 15 +++ 1 files changed

Re: [PATCH 2/3] powerpc/mpic: add global timer support

2013-03-18 Thread Scott Wood
On 03/08/2013 01:38:46 AM, Wang Dongsheng wrote: The MPIC global timer is a hardware timer inside the Freescale PIC comply to Open-PIC standard. When the timer is timeout of the specified interval, the hardware timer generates an interrupt. The driver currently is only tested on fsl chip, b

Re: [PATCH 3/3] powerpc/fsl: add MPIC timer wakeup support

2013-03-18 Thread Scott Wood
On 03/08/2013 01:38:47 AM, Wang Dongsheng wrote: The driver provides a way to wake up the system by the MPIC timer. For example, echo 5 > /sys/devices/system/mpic/timer_wakeup echo standby > /sys/power/state After 5 seconds the MPIC timer will generate an interrupt to wake up the system. Signe

[PATCH for 3.9] powerpc/ps3: Update ps3_defconfig

2013-03-18 Thread Geoff Levand
Refresh and set CONFIG_RD_LZMA=y. Signed-off-by: Geoff Levand --- Hi Ben, This sets CONFIG_RD_LZMA=y, which is needed to boot with newer initrd images. Please apply for 3.9. Also available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git for-powerp

Re: [PATCH 2/3] VFIO: VFIO_DEVICE_SET_ADDR_MAPPING command

2013-03-18 Thread Gavin Shan
On Mon, Mar 18, 2013 at 03:01:14PM -0600, Alex Williamson wrote: >On Sat, 2013-03-16 at 06:37 +0100, Benjamin Herrenschmidt wrote: >> On Sat, 2013-03-16 at 09:34 +0800, Gavin Shan wrote: >> > >Could you explain further how this will be used? How the device is >> > >exposed to a guest is entirely a

Re: [PATCH 2/3] VFIO: VFIO_DEVICE_SET_ADDR_MAPPING command

2013-03-18 Thread Alex Williamson
On Tue, 2013-03-19 at 11:24 +0800, Gavin Shan wrote: > On Mon, Mar 18, 2013 at 03:01:14PM -0600, Alex Williamson wrote: > >On Sat, 2013-03-16 at 06:37 +0100, Benjamin Herrenschmidt wrote: > >> On Sat, 2013-03-16 at 09:34 +0800, Gavin Shan wrote: > >> > >Could you explain further how this will be us

Re: [PATCH 2/3] VFIO: VFIO_DEVICE_SET_ADDR_MAPPING command

2013-03-18 Thread Benjamin Herrenschmidt
On Mon, 2013-03-18 at 22:18 -0600, Alex Williamson wrote: > > Yes, EEH firmware call needn't going through VFIO. However, EEH has > > very close relationship with PCI and so VFIO-PCI does. Eventually, EEH > > has close relationship with VFIO-PCI :-) > > Is there some plan to do more with EEH throu

RE: [PATCH 5/6] powerpc/fsl-booke: Add B4_QDS board support

2013-03-18 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Monday, March 18, 2013 8:26 PM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 5/6] powerpc/fsl-booke: Add B4_QDS board support On Mar 18, 2013, at 1:28 AM, Leekha Shaveta-B2005

RE: [PATCH 2/6] powerpc/fsl-booke: Add initial B4860QDS board device tree

2013-03-18 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Monday, March 18, 2013 8:33 PM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org; Lian Minghuan-B31939; Fleming Andy-AFLEMING; Aggrwal Poonam-B10812; Mehresh Ramneek-B31383 Subject: Re: [PATCH 2/6] po

RE: [PATCH 1/6] powerpc/fsl-booke: Add initial silicon device tree files for B4860QDS

2013-03-18 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Monday, March 18, 2013 8:34 PM To: Leekha Shaveta-B20052 Cc: Timur Tabi; linuxppc-dev@lists.ozlabs.org; Zhao Chenhui-B35336; Lian Minghuan-B31939; Tang Yuantian-B29983; Fleming Andy-AFLEMING; Mehresh Ramneek-B

RE: [PATCH 2/6] powerpc/fsl-booke: Add initial B4860QDS board device tree

2013-03-18 Thread Leekha Shaveta-B20052
-Original Message- From: Leekha Shaveta-B20052 Sent: Tuesday, March 19, 2013 11:41 AM To: 'Kumar Gala' Cc: linuxppc-dev@lists.ozlabs.org; Lian Minghuan-B31939; Fleming Andy-AFLEMING; Aggrwal Poonam-B10812; Mehresh Ramneek-B31383 Subject: RE: [PATCH 2/6] powerpc/fsl-booke: Add initial B4

RE: [PATCH 3/3] powerpc/fsl: add MPIC timer wakeup support

2013-03-18 Thread Wang Dongsheng-B40534
Hi Scoot, Thanks for reviewing. > -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, March 19, 2013 8:31 AM > To: Wang Dongsheng-B40534 > Cc: Gala Kumar-B11780; linuxppc-dev@lists.ozlabs.org; Wang Dongsheng- > B40534; Zhao Chenhui-B35336; Li Yang-R58472 > Subject: Re: [PATCH 3/

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread David Gibson
On Thu, Feb 21, 2013 at 03:05:58PM -0800, a...@linux-foundation.org wrote: > From: Michel Lespinasse > Subject: mm: use vm_unmapped_area() on powerpc architecture > > Update the powerpc slice_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force sear

Re: Kernel panic on PowerMac G5 while scanning for SMU sensors

2013-03-18 Thread Benjamin Herrenschmidt
On Sun, 2013-03-17 at 13:42 +0100, Phileas Fogg wrote: > A further analysis showed that it crashes in _smu_i2c_complete_command_ > which is called from _smu_i2c_low_completion_. > > This line caused the panic: > > list_del(&cmd->link); Ok, we must have a bug :-) I'm on holiday for a while, I ca