RE: [PATCH] Documentation: dts: fsl-usb: Document USB node compatible string for IP version

2014-08-21 Thread Ramneek Mehresh
-Original Message- From: Badola Nikhil-B46172 Sent: Friday, August 22, 2014 10:18 AM To: Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org; Mehresh Ramneek-B31383 Subject: RE: [PATCH] Documentation: dts: fsl-usb: Document USB node compatible string for IP

Re: [PATCH] powerpc: edac: Fix build error

2014-08-21 Thread Borislav Petkov
On Thu, Aug 21, 2014 at 10:19:51PM -0400, Pranith Kumar wrote: > Fix the following build error: > > drivers/edac/ppc4xx_edac.c: In function 'mfsdram': > drivers/edac/ppc4xx_edac.c:249: error: implicit declaration of function > '__mfdcri' > drivers/edac/ppc4xx_edac.c: In function 'mtsdram': > drive

[PATCH] powerpc/book3s: Deliver machine check with MSR(RI=0) to guest as MCE

2014-08-21 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar For machine check occurring while in guest, KVM layer tries recovery and deliver MCE to guest if recovery is failed. For recovered errors we just go back to normal functioning of guest. But there are cases where we may hit MCE in guest with MSR(RI=0), which means MCE inter

RE: [PATCH] Documentation: dts: fsl-usb: Document USB node compatible string for IP version

2014-08-21 Thread nikhil.bad...@freescale.com
Adding Ramneek > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, August 22, 2014 3:53 AM > To: Badola Nikhil-B46172 > Cc: linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org > Subject: Re: [PATCH] Documentation: dts: fsl-usb: Document USB node > compatible string for IP

Re: [RFC PATCH 4/6] powerpc/85xx: Change vendor prefix for Intersil Corporation to isil

2014-08-21 Thread Rob Herring
On Wed, Aug 20, 2014 at 3:43 AM, Philipp Zabel wrote: > Currently there is a wild mixture of isl, isil, and intersil > compatibles in the kernel. At this point, changing the vendor > symbol to the most often used variant, which is equal to the > NASDAQ symbol, isil, should not hurt, since the isl1

Re: [PATCH] cpufreq: powernv: Register the driver with reboot notifier

2014-08-21 Thread Preeti U Murthy
Hi Viresh, On 08/21/2014 11:56 AM, Viresh Kumar wrote: > On 21 August 2014 10:36, Shilpasri G Bhat wrote: >> The intention here is stop the cpufreq governor and then to set the cpus to >> nominal frequency so as to ensure that the frequency won't be changed later. >> >> The .suspend callback of t

[PATCH] powerpc: edac: Fix build error

2014-08-21 Thread Pranith Kumar
Fix the following build error: drivers/edac/ppc4xx_edac.c: In function 'mfsdram': drivers/edac/ppc4xx_edac.c:249: error: implicit declaration of function '__mfdcri' drivers/edac/ppc4xx_edac.c: In function 'mtsdram': drivers/edac/ppc4xx_edac.c:266: error: implicit declaration of function '__mtdcri'

Re: [RFC PATCH powerpc] Fix warning reported by verify_cpu_node_mapping()

2014-08-21 Thread Li Zhong
On 四, 2014-08-21 at 08:45 -0700, Nishanth Aravamudan wrote: > On 21.08.2014 [16:14:02 +0800], Li Zhong wrote: > > With commit 2fabf084b, during boottime, cpu_numa_callback() is called > > earlier(before their online) for each cpu, and verify_cpu_node_mapping() > > uses cpu_to_node() to check whethe

[PATCH] ibmveth: Fix endian issues with rx_no_buffer statistic

2014-08-21 Thread Anton Blanchard
Hidden away in the last 8 bytes of the buffer_list page is a solitary statistic. It needs to be byte swapped or else ethtool -S will produce numbers that terrify the user. Since we do this in multiple places, create a helper function with a comment explaining what is going on. Signed-off-by: Anto

Re: [RFC PATCH 0/4] Improve slab consumption with memoryless nodes

2014-08-21 Thread Nishanth Aravamudan
On 13.08.2014 [17:13:01 -0700], Nishanth Aravamudan wrote: > Anton noticed (http://www.spinics.net/lists/linux-mm/msg67489.html) that > on ppc LPARs with memoryless nodes, a large amount of memory was > consumed by slabs and was marked unreclaimable. He tracked it down to > slab deactivations in th

Re: [PATCH] powerpc: dts: t208x: Change T208x USB controller version

2014-08-21 Thread Scott Wood
On Thu, 2014-08-21 at 16:01 +0530, Nikhil Badola wrote: > Change USB controller version to 2.5 in compatible string for T2080/T2081 > > Signed-off-by: Nikhil Badola > --- > Checkpatch warnings handled by commit > 61a8c2c6fe71082de3ea8629589dcdd0cc5c3f02 That checkpatch warning is known to

Re: [PATCH] Documentation: dts: fsl-usb: Document USB node compatible string for IP version

2014-08-21 Thread Scott Wood
On Thu, 2014-08-21 at 14:48 +0530, Nikhil Badola wrote: > Document compatible string containing IP version in USB device tree node > > Signed-off-by: Nikhil Badola > --- > Documentation/devicetree/bindings/usb/fsl-usb.txt | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) Ple

Re: [PATCH] powerpc: fsl_pci: Fix PCI/PCI-X regression

2014-08-21 Thread Scott Wood
On Thu, 2014-08-21 at 16:54 -0500, Aaron Sierra wrote: > - Original Message - > > From: "Scott Wood" > > Sent: Thursday, August 21, 2014 4:19:56 PM > > > > On Wed, 2014-08-20 at 18:51 -0500, Aaron Sierra wrote: > > > @@ -520,9 +520,22 @@ int fsl_add_bridge(struct platform_device *pdev, in

Re: [PATCH] powerpc: fsl_pci: Fix PCI/PCI-X regression

2014-08-21 Thread Aaron Sierra
- Original Message - > From: "Scott Wood" > Sent: Thursday, August 21, 2014 4:19:56 PM > > On Wed, 2014-08-20 at 18:51 -0500, Aaron Sierra wrote: > > @@ -520,9 +520,22 @@ int fsl_add_bridge(struct platform_device *pdev, int > > is_primary) > > goto no_bridge; > > > >

Re: [PATCH] powerpc: fsl_pci: Fix PCI/PCI-X regression

2014-08-21 Thread Scott Wood
On Wed, 2014-08-20 at 18:51 -0500, Aaron Sierra wrote: > @@ -520,9 +520,22 @@ int fsl_add_bridge(struct platform_device *pdev, int > is_primary) > goto no_bridge; > > } else { > - /* For PCI read PROG to identify controller mode */ > - early_re

Re: [PATCH] powerpc/pseries: Drop unnecessary continue

2014-08-21 Thread Robert Jennings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/20/2014 11:41 PM, Michael Ellerman wrote: > On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote: >> Continue is not needed at the bottom of a loop. > > True. > > I wonder though, is the code trying to continue to the outer loop? > I st

Re: [RFC PATCH powerpc] Fix warning reported by verify_cpu_node_mapping()

2014-08-21 Thread Nishanth Aravamudan
On 21.08.2014 [16:14:02 +0800], Li Zhong wrote: > With commit 2fabf084b, during boottime, cpu_numa_callback() is called > earlier(before their online) for each cpu, and verify_cpu_node_mapping() > uses cpu_to_node() to check whether siblings are in the same node. > > It skips the checking for sib

[PATCH] powerpc: Fix build failure when CONFIG_USB=y

2014-08-21 Thread Pranith Kumar
We are enabling USB unconditionally which results in following build failure drivers/built-in.o: In function `tb_drom_read': (.text+0x1b62b70): undefined reference to `usb_speed_string' make: *** [vmlinux] Error Enable USB only if USB_SUPPORT is set to avoid such failures Signed-off-by: Pranit

[PATCH] powerpc: Fix build failure

2014-08-21 Thread Pranith Kumar
Fix the following build failure drivers/built-in.o: In function `nhi_init': nhi.c:(.init.text+0x63390): undefined reference to `ehci_init_driver' by adding a dependency on USB_EHCI_HCD which supplies the ehci_init_driver(). Also we need to depend on USB_OHCI_HCD similarly Signed-off-by: Pranith

[PATCH v3 00/11] drivers: cacheinfo support

2014-08-21 Thread Sudeep Holla
From: Sudeep Holla This series adds a generic cacheinfo support similar to topology. The implementation is based on x86 cacheinfo support. Currently x86, powerpc, ia64 and s390 have their own implementations. While adding similar support to ARM and ARM64, here is the attempt to make it generic qu

[PATCH v3 08/11] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-08-21 Thread Sudeep Holla
From: Sudeep Holla This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep Holla Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/cacheinfo.c | 8

[PATCH] powerpc: dts: t208x: Change T208x USB controller version

2014-08-21 Thread Nikhil Badola
Change USB controller version to 2.5 in compatible string for T2080/T2081 Signed-off-by: Nikhil Badola --- Checkpatch warnings handled by commit 61a8c2c6fe71082de3ea8629589dcdd0cc5c3f02 Documentation: dts: fsl-usb: Document USB node compatible string for IP version arch/power

Re: [PATCH 2/3] MSI: Use __read_msi_msg() instead of read_msi_msg()

2014-08-21 Thread Yijing Wang
On 2014/8/21 17:38, Wei Yang wrote: > On Fri, Aug 15, 2014 at 11:14:29AM +0800, Yijing Wang wrote: >> Read_msi_msg() only be called in rtas_setup_msi_irqs(), > > read_msi_msg() > > This code looks good to me, while I can't apply on top of 3.17-rc1. > If you rebase it, it would be more convenient

Re: [PATCH 2/3] MSI: Use __read_msi_msg() instead of read_msi_msg()

2014-08-21 Thread Wei Yang
On Fri, Aug 15, 2014 at 11:14:29AM +0800, Yijing Wang wrote: >Read_msi_msg() only be called in rtas_setup_msi_irqs(), read_msi_msg() This code looks good to me, while I can't apply on top of 3.17-rc1. If you rebase it, it would be more convenient for maintainer to merge. >use __read_msi_msg() i

[PATCH 4/4][v2] powerpc/fsl_msi: spread msi ints across different MSIRs

2014-08-21 Thread Laurentiu Tudor
Allocate msis such that each time a new interrupt is requested, the SRS (MSIR register select) to be used is allocated in a round-robin fashion. The end result is that the msi interrupts will be spread across distinct MSIRs with the main benefit that now users can set affinity to each msi int throu

[PATCH] Documentation: dts: fsl-usb: Document USB node compatible string for IP version

2014-08-21 Thread Nikhil Badola
Document compatible string containing IP version in USB device tree node Signed-off-by: Nikhil Badola --- Documentation/devicetree/bindings/usb/fsl-usb.txt | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/fsl-usb.txt b/Docum

Re: [PATCH v4] powerpc/kvm: support to handle sw breakpoint

2014-08-21 Thread Alexander Graf
On 20.08.14 07:52, Madhavan Srinivasan wrote: > This patch adds kernel side support for software breakpoint. > Design is that, by using an illegal instruction, we trap to hypervisor > via Emulation Assistance interrupt, where we check for the illegal instruction > and accordingly we return to Hos

[RFC PATCH powerpc] Fix warning reported by verify_cpu_node_mapping()

2014-08-21 Thread Li Zhong
With commit 2fabf084b, during boottime, cpu_numa_callback() is called earlier(before their online) for each cpu, and verify_cpu_node_mapping() uses cpu_to_node() to check whether siblings are in the same node. It skips the checking for siblings that are not online yet. So the only check done here

Re: [PATCH 1/1] powerpc/jump_label: use HAVE_JUMP_LABEL?

2014-08-21 Thread Michael Ellerman
On Thu, 2014-08-21 at 10:41 +0800, Zhouyi Zhou wrote: > CONFIG_JUMP_LABEL doesn't ensure HAVE_JUMP_LABEL, if it > is not the case use maintainers's own mutex to guard > the modification of global values. OK, so CONFIG_JUMP_LABEL says the user wants to use jump labels. But we also need the toolcha

Re: [PATCH v4 02/16] KVM: PPC: Use RCU for arch.spapr_tce_tables

2014-08-21 Thread Paul Mackerras
On Wed, Jul 30, 2014 at 07:31:21PM +1000, Alexey Kardashevskiy wrote: > At the moment spapr_tce_tables is not protected against races. This makes > use of RCU-variants of list helpers. As some bits are executed in real > mode, this makes use of just introduced list_for_each_entry_rcu_notrace(). >