[PATCH] powerpc/eeh: sysfs entries lost

2014-06-25 Thread Mike Qiu
The sysfs entries are lost because of commit 2213fb1 ("powerpc/eeh: Skip eeh sysfs when eeh is disabled"). That commit added condition to create sysfs entries with EEH_ENABLED, which isn't populated when trying to create sysfs entries on PowerNV platform during system boot time. The patch fixes the

Re: powerpc: crash with 3.16.0-rc2

2014-06-25 Thread Cedric Le Goater
Hi Suka, On 06/26/2014 08:10 AM, Sukadev Bhattiprolu wrote: > I got the following crash in Open Firmware, on two separate systems > with recent mainline kernel (3.16.0-rc2). One was a P8 LPAR with no > changes to kernel and another a Power7 LPAR with some kernel changes > (24x7 perf counter patche

Re: [PATCH] Bugfix: powerpc/eeh: Create eeh sysfs entry in post_init()

2014-06-25 Thread Mike Qiu
On 06/26/2014 08:12 AM, Gavin Shan wrote: On Wed, Jun 25, 2014 at 03:27:55PM +0800, Mike Qiu wrote: On 06/25/2014 01:33 PM, Gavin Shan wrote: On Tue, Jun 24, 2014 at 11:32:07PM -0400, Mike Qiu wrote: [ cc Richard ] Eeh sysfs entry created must be after EEH_ENABLED been set in eeh_subsystem_f

[RFC PATCH v2 6/6] mmc: core: add manual resume capability

2014-06-25 Thread Vincent Yang
This patch adds manual resume for some embedded platforms with rootfs stored in SD card. It references CONFIG_MMC_BLOCK_DEFERRED_RESUME in kernel 3.10. It lets host controller driver to manually handle resume by itself. [symptom] This issue is found on mb86s7x platforms with rootfs stored in SD ca

[RFC PATCH v2 5/6] mmc: core: hold SD Clock before CMD11 during Signal Voltage Switch Procedure

2014-06-25 Thread Vincent Yang
This patch is to fix an issue found on mb86s7x platforms. [symptom] There are some UHS-1 SD memory cards sometimes cannot be detected correctly, e.g., Transcend 600x SDXC 64GB UHS-1 memory card. During Signal Voltage Switch Procedure, failure to switch is indicated by the card holding DAT[3:0] low

[RFC PATCH v2 4/6] mmc: sdhci: host: add new f_sdh30

2014-06-25 Thread Vincent Yang
This patch adds new host controller driver for Fujitsu SDHCI controller f_sdh30. Signed-off-by: Vincent Yang --- .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 35 +++ drivers/mmc/host/Kconfig | 7 + drivers/mmc/host/Makefile | 1 + d

[RFC PATCH v2 2/6] mmc: sdhci: add quirk for tuning work around

2014-06-25 Thread Vincent Yang
This patch defines a quirk for tuning work around for some sdhci host controller. It sets both SDHCI_CTRL_EXEC_TUNING and SDHCI_CTRL_TUNED_CLK for tuning. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang --- drivers/mmc/host/sdhci.c |

[RFC PATCH v2 3/6] mmc: sdhci: add quirk for single block transactions

2014-06-25 Thread Vincent Yang
This patch defines a quirk to disable the block count for single block transactions. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang --- drivers/mmc/host/sdhci.c | 8 +--- include/linux/mmc/sdhci.h | 2 ++ 2 files changed, 7 inser

[RFC PATCH v2 1/6] mmc: sdhci: add quirk for voltage switch callback

2014-06-25 Thread Vincent Yang
This patch defines a quirk to do a callback when switching voltages so do controller-specific actions. It is a preparation and will be used by Fujitsu SDHCI controller f_sdh30 driver. Signed-off-by: Vincent Yang --- drivers/mmc/host/sdhci.c | 5 + drivers/mmc/host/sdhci.h | 1 + include/li

[RFC PATCH v2 0/6] mmc: sdhci: adding support for a new Fujitsu sdhci IP

2014-06-25 Thread Vincent Yang
Hi, We are adding support for a new Fujitsu sdhci IP. These patches are against v3.16-rc1 mainline since nothing in mmc-next at this moment. These patches are tested on 3.16-rc1 integration tree. We welcome any comment and advice about how to make any improvements or better align them with upstr

Re: [PATCH v1 2/3] powerpc/powernv: Support PCI error injection

2014-06-25 Thread Stewart Smith
Gavin Shan writes: > +static struct kobj_attribute errinjct_attr = > + __ATTR(errinjct, 0600, NULL, errinjct_store); May also be good to have a read method that either lists current injected errors? I guess it depends on if they're one time errors or persistent errors too. __

Re: [PATCH v1 2/3] powerpc/powernv: Support PCI error injection

2014-06-25 Thread Stewart Smith
Gavin Shan writes: > On Mon, Jun 23, 2014 at 04:36:44PM +1000, Michael Neuling wrote: >>On Mon, 2014-06-23 at 12:14 +1000, Gavin Shan wrote: >>> The patch implements one OPAL firmware sysfs file to support PCI error >>> injection: "/sys/firmware/opal/errinjct", which will be used like the >>> way

[PATCH v2] spi: deal with a compile warning

2014-06-25 Thread Zhao Qiang
ret is unused when CONFIG_FSL_SOC defined, so return ret instead of -ENOMEM when the kzalloc fails to avoid it. Signed-off-by: Zhao Qiang --- Changes for v2: -return ret instead of -ENOMEM when the kzalloc fails drivers/spi/spi-fsl-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Guenter Roeck
On 06/25/2014 05:59 PM, Stephen Rothwell wrote: Hi Guenter, [I know I'm a bit late to this, but ...] On Tue, 24 Jun 2014 18:05:29 -0700 Guenter Roeck wrote: diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index 9d85318..e35d880 100644 --- a/arch/arm/kernel/topology.c +++

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Stephen Rothwell
Hi Guenter, [I know I'm a bit late to this, but ...] On Tue, 24 Jun 2014 18:05:29 -0700 Guenter Roeck wrote: > > diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c > index 9d85318..e35d880 100644 > --- a/arch/arm/kernel/topology.c > +++ b/arch/arm/kernel/topology.c > @@ -275,7

Re: [PATCH] Bugfix: powerpc/eeh: Create eeh sysfs entry in post_init()

2014-06-25 Thread Gavin Shan
On Wed, Jun 25, 2014 at 03:27:55PM +0800, Mike Qiu wrote: >On 06/25/2014 01:33 PM, Gavin Shan wrote: >>On Tue, Jun 24, 2014 at 11:32:07PM -0400, Mike Qiu wrote: >> >>[ cc Richard ] >> >>>Eeh sysfs entry created must be after EEH_ENABLED been set >>>in eeh_subsystem_flags. >>> >>>In PowerNV platform

Re: [PATCH 0/3] Prepare for in-kernel VFIO DMA operations acceleration

2014-06-25 Thread Alexey Kardashevskiy
On 06/26/2014 07:12 AM, Alexander Graf wrote: > > On 06.06.14 02:20, Alexey Kardashevskiy wrote: >> On 06/05/2014 09:57 PM, Alexander Graf wrote: >>> On 05.06.14 09:25, Alexey Kardashevskiy wrote: This reserves 2 capability numbers. This implements an extended version of KVM_CREATE_

Re: [2/3,v4] powerpc/fsl-booke: Add initial T208x QDS board support

2014-06-25 Thread Scott Wood
On Wed, 2014-06-25 at 18:23 -0500, Scott Wood wrote: > On Wed, Jun 11, 2014 at 06:10:05PM +0800, Shengzhou Liu wrote: > > + flash@2 { > > + #address-cells = <1>; > > + #size-cells = <1>; > > + compatible

Re: [3/3,v4] powerpc/t2080rdb: Add T2080RDB board support

2014-06-25 Thread Scott Wood
On Wed, Jun 11, 2014 at 06:10:06PM +0800, Shengzhou Liu wrote: > + i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0>; > + > +

Re: [2/3,v4] powerpc/fsl-booke: Add initial T208x QDS board support

2014-06-25 Thread Scott Wood
On Wed, Jun 11, 2014 at 06:10:05PM +0800, Shengzhou Liu wrote: > + flash@2 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "eon,en25s64"; > + reg =

Re: [PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-06-25 Thread Russell King - ARM Linux
On Wed, Jun 25, 2014 at 06:30:37PM +0100, Sudeep Holla wrote: > + coherency_line_size: the minimum amount of data that gets > transferred So, what value to do envision this taking for a CPU where the cache line size is 32 bytes, but each cache line has two dirty bits which allow it to

Re: [PATCH 0/3] Prepare for in-kernel VFIO DMA operations acceleration

2014-06-25 Thread Alexander Graf
On 06.06.14 02:20, Alexey Kardashevskiy wrote: On 06/05/2014 09:57 PM, Alexander Graf wrote: On 05.06.14 09:25, Alexey Kardashevskiy wrote: This reserves 2 capability numbers. This implements an extended version of KVM_CREATE_SPAPR_TCE_64 ioctl. Please advise how to proceed with these patche

Re: OF_DYNAMIC node lifecycle

2014-06-25 Thread Grant Likely
On Tue, 24 Jun 2014 15:10:55 -0500, Nathan Fontenot wrote: > On 06/23/2014 09:48 AM, Grant Likely wrote: > > On Thu, 19 Jun 2014 10:26:15 -0500, Nathan Fontenot > > wrote: > >> On 06/18/2014 03:07 PM, Grant Likely wrote: > >>> Hi Nathan and Tyrel, > >>> > >>> I'm looking into lifecycle issues o

Re: OF_DYNAMIC node lifecycle

2014-06-25 Thread Grant Likely
On Tue, 24 Jun 2014 15:07:05 -0500, Nathan Fontenot wrote: > On 06/23/2014 09:58 AM, Grant Likely wrote: > > On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou > > wrote: > >> Hi Grant, > >> > >> CCing Thomas Gleixner & Steven Rostedt, since they might have a few > >> ideas... > >> > >> On J

Re: [PATCH v3 -next 0/9] CMA: generalize CMA reserved area management code

2014-06-25 Thread Andrew Morton
On Wed, 25 Jun 2014 14:33:56 +0200 Marek Szyprowski wrote: > > That's probably easier. Marek, I'll merge these into -mm (and hence > > -next and git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git) > > and shall hold them pending you review/ack/test/etc, OK? > > Ok. I've tested them an

[PATCH v2 2/2] powerpc: bpf: Fix the broken LD_VLAN_TAG_PRESENT test

2014-06-25 Thread Denis Kirjanov
We have to return the boolean here if the tag presents or not, not just ANDing the TCI with the mask which results to: [ 709.412097] test_bpf: #18 LD_VLAN_TAG_PRESENT [ 709.412245] ret 4096 != 1 [ 709.412332] ret 4096 != 1 [ 709.412333] FAIL (2 times) Signed-off-by: Denis Kirjanov --- arch/

[PATCH v2 1/2] powerpc: bpf: Use correct mask while accessing the VLAN tag

2014-06-25 Thread Denis Kirjanov
To get a full tag (and not just a VID) we should access the TCI except the VLAN_TAG_PRESENT field (which means that 802.1q header is present). Also ensure that the VLAN_TAG_PRESENT stay on its place Signed-off-by: Denis Kirjanov --- arch/powerpc/net/bpf_jit_comp.c | 4 +++- 1 file changed, 3 ins

[PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-06-25 Thread Sudeep Holla
From: Sudeep Holla This patch adds initial support for providing processor cache information to userspace through sysfs interface. This is based on already existing implementations(x86, ia64, s390 and powerpc) and hence the interface is intended to be fully compatible. The main purpose of this g

[PATCH 0/9] drivers: cacheinfo support

2014-06-25 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 6/9] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-06-25 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: Anshuman Khandual Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Guenter Roeck
On 06/25/2014 08:52 AM, Uwe Kleine-König wrote: Hello, On Wed, Jun 25, 2014 at 03:40:28PM +, David Laight wrote: From: Guenter Roeck Actually turns out one can use __attribute_const__, and it is static inline int __attribute_const__ cpu_corepower_flags(void) which turns out to be

RE: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread David Laight
From: Uwe Kleine-König > Hello, > > On Wed, Jun 25, 2014 at 03:40:28PM +, David Laight wrote: > > From: Guenter Roeck > > > Actually turns out one can use __attribute_const__, and it is > > > > > > static inline int __attribute_const__ cpu_corepower_flags(void) > > > > > > which turns out t

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Uwe Kleine-König
Hello, On Wed, Jun 25, 2014 at 03:40:28PM +, David Laight wrote: > From: Guenter Roeck > > Actually turns out one can use __attribute_const__, and it is > > > > static inline int __attribute_const__ cpu_corepower_flags(void) > > > > which turns out to be widely used. > > > > I'll change

Re: [PATCH v5 1/1] powerpc/perf: Adjust callchain based on DWARF debug info

2014-06-25 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: | | you could use __maybe_unused for the 'skip_idx' Yes, here is the updated patch. --- powerpc/perf: Adjust callchain based on DWARF debug info When saving the callchain on Power, the kernel conservatively saves excess entries in the callchain. A few of thes

RE: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread David Laight
From: Guenter Roeck > On 06/25/2014 07:49 AM, Uwe Kleine-Knig wrote: > > Hello Guenter, > > > > On Wed, Jun 25, 2014 at 07:27:47AM -0700, Guenter Roeck wrote: > >>> Maybe the author's intention was: > >>> > >>> static inline int cpu_corepower_flags(void) __attribute__((const)); > >>> > >>> ? > >>

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Guenter Roeck
On 06/25/2014 07:49 AM, Uwe Kleine-König wrote: Hello Guenter, On Wed, Jun 25, 2014 at 07:27:47AM -0700, Guenter Roeck wrote: Maybe the author's intention was: static inline int cpu_corepower_flags(void) __attribute__((const)); ? This specifies that the function has no side effects an

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Uwe Kleine-König
Hello Guenter, On Wed, Jun 25, 2014 at 07:27:47AM -0700, Guenter Roeck wrote: > >Maybe the author's intention was: > > > > static inline int cpu_corepower_flags(void) __attribute__((const)); > > > >? > >This specifies that the function has no side effects and the return value > >only depends o

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Guenter Roeck
On 06/25/2014 12:14 AM, Uwe Kleine-König wrote: On Tue, Jun 24, 2014 at 06:05:29PM -0700, Guenter Roeck wrote: Commit 143e1e28cb (sched: Rework sched_domain topology definition) introduced a number of functions with a return value of 'const int'. gcc doesn't know what to do with that and, if the

Re: [PATCH v3 -next 0/9] CMA: generalize CMA reserved area management code

2014-06-25 Thread Marek Szyprowski
Hello, On 2014-06-18 22:51, Andrew Morton wrote: On Tue, 17 Jun 2014 10:25:07 +0900 Joonsoo Kim wrote: v2: - Although this patchset looks very different with v1, the end result, that is, mm/cma.c is same with v1's one. So I carry Ack to patch 6-7. This patchset is based on linux-next 20

Re: [PATCH V2] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-25 Thread Alexander Graf
On 15.06.14 20:47, Aneesh Kumar K.V wrote: With guests supporting Multiple page size per segment (MPSS), hpte_page_size returns the actual page size used. Add a new function to return base page size and use that to compare against the the page size calculated from SLB. Without this patch a hpte

[PATCH v3 3/3] dmaengine: mpc512x: register for device tree channel lookup

2014-06-25 Thread Alexander Popov
Register the controller for device tree based lookup of DMA channels (non-fatal for backwards compatibility with older device trees) and provide the '#dma-cells' property in the shared mpc5121.dtsi file Signed-off-by: Alexander Popov --- arch/powerpc/boot/dts/mpc5121.dtsi | 1 + drivers/dma/mpc

[PATCH v3 2/3] dmaengine: of: add common xlate function for matching by channel id

2014-06-25 Thread Alexander Popov
This patch adds a new common OF dma xlate callback function which will match a channel by it's id. The binding expects one integer argument which it will use to lookup the channel by the id. Unlike of_dma_simple_xlate this function is able to handle a system with multiple DMA controllers. When re

[PATCH v3 1/3] dmaengine: mpc512x: add device tree binding document

2014-06-25 Thread Alexander Popov
Introduce a device tree binding document for the MPC512x DMA controller Signed-off-by: Alexander Popov --- .../devicetree/bindings/dma/mpc512x-dma.txt| 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/mpc512x-dma.txt d

[PATCH v3 0/3] dmaengine: mpc512x: add device tree binding document and DMA channel lookup

2014-06-25 Thread Alexander Popov
This patch series introduces a device tree binding document for the MPC512x DMA controller and adds device tree based DMA channel lookup for it. This version contains the improved device tree binding document: #dma-cells is made a required property, as it must be according dma/dma.txt document. A

Re: [RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

2014-06-25 Thread Alexey Kardashevskiy
On 06/25/2014 07:20 PM, David Laight wrote: > From: Wei Yang >> On Wed, Jun 25, 2014 at 02:12:34PM +1000, Alexey Kardashevskiy wrote: >>> On 06/25/2014 11:12 AM, Wei Yang wrote: On Tue, Jun 24, 2014 at 08:06:32PM +1000, Alexey Kardashevskiy wrote: > On 06/10/2014 11:56 AM, Wei Yang wrote:

RE: [PATCH v2] fsl-rio: add support for mapping inbound windows

2014-06-25 Thread gang....@freescale.com
> Subject: [PATCH v2] fsl-rio: add support for mapping inbound windows > > From: Martijn de Gouw > > Add support for mapping and unmapping of inbound rapidio windows. > > Signed-off-by: Martijn de Gouw > --- > arch/powerpc/sysdev/fsl_rio.c | 92 > +

Re: [RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

2014-06-25 Thread Wei Yang
On Wed, Jun 25, 2014 at 09:20:11AM +, David Laight wrote: >From: Wei Yang >> On Wed, Jun 25, 2014 at 02:12:34PM +1000, Alexey Kardashevskiy wrote: >> >On 06/25/2014 11:12 AM, Wei Yang wrote: >> >> On Tue, Jun 24, 2014 at 08:06:32PM +1000, Alexey Kardashevskiy wrote: >> >>> On 06/10/2014 11:56 A

RE: [RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

2014-06-25 Thread David Laight
From: Wei Yang > On Wed, Jun 25, 2014 at 02:12:34PM +1000, Alexey Kardashevskiy wrote: > >On 06/25/2014 11:12 AM, Wei Yang wrote: > >> On Tue, Jun 24, 2014 at 08:06:32PM +1000, Alexey Kardashevskiy wrote: > >>> On 06/10/2014 11:56 AM, Wei Yang wrote: > Current iommu_table of a PE is a static f

Re: [RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

2014-06-25 Thread Wei Yang
On Wed, Jun 25, 2014 at 05:56:37PM +1000, Benjamin Herrenschmidt wrote: >On Wed, 2014-06-25 at 17:50 +1000, Alexey Kardashevskiy wrote: > >> > Yes, iommu_talbe's life time equals to PE lifetime, so when releasing a PE >> > we >> > need to release the iommu table. Currently, there is one function t

Re: [RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

2014-06-25 Thread Wei Yang
On Wed, Jun 25, 2014 at 05:50:08PM +1000, Alexey Kardashevskiy wrote: >On 06/25/2014 03:27 PM, Wei Yang wrote: >> On Wed, Jun 25, 2014 at 02:12:34PM +1000, Alexey Kardashevskiy wrote: >>> On 06/25/2014 11:12 AM, Wei Yang wrote: On Tue, Jun 24, 2014 at 08:06:32PM +1000, Alexey Kardashevskiy wro

RE: [PATCH] spi: include "int ret" with macro

2014-06-25 Thread David Laight
From: Zhao Qiang > ret is unused when CONFIG_FSL_SOC defined, > so include it with "#ifndef CONFIG_FSL_SOC". > > Signed-off-by: Zhao Qiang > --- > drivers/spi/spi-fsl-lib.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/spi/spi-fsl-lib.c b/drivers/spi/spi-fsl

Re: [RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

2014-06-25 Thread Benjamin Herrenschmidt
On Wed, 2014-06-25 at 17:50 +1000, Alexey Kardashevskiy wrote: > > Yes, iommu_talbe's life time equals to PE lifetime, so when releasing a PE > > we > > need to release the iommu table. Currently, there is one function to release > > the iommu table, iommu_free_table() which takes a pointer of th

Re: [PATCH] powerpc: Fix build warning

2014-06-25 Thread Geert Uytterhoeven
On Tue, Jun 24, 2014 at 8:01 AM, Guenter Roeck wrote: > Sigh. Much easier to break something than to fix it. That would mean to get > approval > from at least three maintainers, and all that to get rid of a warning. I > don't > really have time for that. Let's just forget about it and live with th

Re: [RFC PATCH V3 06/17] ppc/pnv: allocate pe->iommu_table dynamically

2014-06-25 Thread Alexey Kardashevskiy
On 06/25/2014 03:27 PM, Wei Yang wrote: > On Wed, Jun 25, 2014 at 02:12:34PM +1000, Alexey Kardashevskiy wrote: >> On 06/25/2014 11:12 AM, Wei Yang wrote: >>> On Tue, Jun 24, 2014 at 08:06:32PM +1000, Alexey Kardashevskiy wrote: On 06/10/2014 11:56 AM, Wei Yang wrote: > Current iommu_table

Re: [PATCH v5 1/1] powerpc/perf: Adjust callchain based on DWARF debug info

2014-06-25 Thread Jiri Olsa
On Tue, Jun 24, 2014 at 05:00:52PM -0700, Sukadev Bhattiprolu wrote: > [PATCH v5 1/1] powerpc/perf: Adjust callchain based on DWARF debug info superflous ^^^ > > When saving the callchain on Power, the kernel conservatively saves excess > entries in the callchain. A few of these entries are need

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Uwe Kleine-König
On Tue, Jun 24, 2014 at 06:05:29PM -0700, Guenter Roeck wrote: > Commit 143e1e28cb (sched: Rework sched_domain topology definition) > introduced a number of functions with a return value of 'const int'. > gcc doesn't know what to do with that and, if the kernel is compiled > with W=1, complains wit

Re: [PATCH] Bugfix: powerpc/eeh: Create eeh sysfs entry in post_init()

2014-06-25 Thread Mike Qiu
On 06/25/2014 01:33 PM, Gavin Shan wrote: On Tue, Jun 24, 2014 at 11:32:07PM -0400, Mike Qiu wrote: [ cc Richard ] Eeh sysfs entry created must be after EEH_ENABLED been set in eeh_subsystem_flags. In PowerNV platform, it try to create sysfs entry before EEH_ENABLED been set, when boot up. So