AUTO: Michael Barry is out of the office (returning 06/01/2014)

2013-12-20 Thread Michael Barry
I am out of the office until 06/01/2014. Note: This is an automated response to your message "Linuxppc-dev Digest, Vol 112, Issue 84" sent on 20/12/2013 18:58:14. This is the only notification you will receive while this person is away. ___ Linuxp

Re: [PATCH v2 6/9] intel_idle: do C1E promotion disable quirk for hotplugged CPUs

2013-12-20 Thread Daniel Lezcano
On 12/20/2013 07:47 PM, Bartlomiej Zolnierkiewicz wrote: If the system is booted with some CPUs offline C1E promotion disable quirk won't be applied because on_each_cpu() in intel_idle_cpuidle_driver_init() operates only on online CPUs. Fix it by adding the C1E promotion disable handling to intel

Re: [PATCH v2 7/9] intel_idle: remove superfluous dev->state_count initialization

2013-12-20 Thread Daniel Lezcano
On 12/20/2013 07:47 PM, Bartlomiej Zolnierkiewicz wrote: intel_idle driver sets dev->state_count to drv->state_count so the default dev->state_count initialization in cpuidle_enable_device() (called from cpuidle_register_device()) can be used instead. Signed-off-by: Bartlomiej Zolnierkiewicz Si

Re: [PATCH v2 8/9] intel_idle: use the common cpuidle_[un]register() routines

2013-12-20 Thread Daniel Lezcano
On 12/20/2013 07:47 PM, Bartlomiej Zolnierkiewicz wrote: It is now possible to use the common cpuidle_[un]register() routines (instead of open-coding them) so do it. Just an addition: The cpuidle_register common routine calls cpuidle_register_driver which initialize the driver's cpumask to cp

Re: [PATCH v2 9/9] cpuidle: remove state_count field from struct cpuidle_device

2013-12-20 Thread Daniel Lezcano
On 12/20/2013 07:47 PM, Bartlomiej Zolnierkiewicz wrote: dev->state_count is now always equal to drv->state_count so it can be removed. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle.c | 3 --- drivers/cpuidle/

Re: [PATCH v2] powerpc/512x: dts: disable MPC5125 usb module

2013-12-20 Thread Anatolij Gustschin
On Fri, 20 Dec 2013 10:16:22 +0100 Matteo Facchinetti wrote: > At the moment the USB controller's pin muxing is not setup > correctly and causes a kernel panic upon system startup, so > disable the USB1 device tree node in the MPC5125 tower board > dts file. > > The USB controller is connected t

Re: [PATCH v2 1/9] ARM: EXYNOS: cpuidle: fix AFTR mode check

2013-12-20 Thread Daniel Lezcano
On 12/20/2013 07:47 PM, Bartlomiej Zolnierkiewicz wrote: The EXYNOS cpuidle driver code assumes that cpuidle core will handle dev->state_count smaller than drv->state_count but currently this is untrue (dev->state_count is used only for handling cpuidle state sysfs entries and drv->state_count is

Re: [PATCH v2 1/9] ARM: EXYNOS: cpuidle: fix AFTR mode check

2013-12-20 Thread Kukjin Kim
On 12/21/13 03:47, Bartlomiej Zolnierkiewicz wrote: The EXYNOS cpuidle driver code assumes that cpuidle core will handle dev->state_count smaller than drv->state_count but currently this is untrue (dev->state_count is used only for handling cpuidle state sysfs entries and drv->state_count is used

[PATCH v2] powernv: eeh: add buffer for P7IOC hub error data

2013-12-20 Thread Brian W Hart
V2: Replace driver-global 'hub_diag' with a per-PHB hub diag structure. Prevent ioda_eeh_hub_diag() from clobbering itself when called by supplying a per-PHB buffer for P7IOC hub diagnostic data. Take care to inform OPAL of the correct size for the buffer. Signed-off-by: Brian W Hart --- arch/

[PATCH v2 9/9] cpuidle: remove state_count field from struct cpuidle_device

2013-12-20 Thread Bartlomiej Zolnierkiewicz
dev->state_count is now always equal to drv->state_count so it can be removed. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park --- drivers/cpuidle/cpuidle.c | 3 --- drivers/cpuidle/sysfs.c | 5 +++-- include/linux/cpuidle.h | 1 - 3 files changed, 3 insertions(+), 6 d

[PATCH v2 8/9] intel_idle: use the common cpuidle_[un]register() routines

2013-12-20 Thread Bartlomiej Zolnierkiewicz
It is now possible to use the common cpuidle_[un]register() routines (instead of open-coding them) so do it. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park Cc: Len Brown --- drivers/idle/intel_idle.c | 114 -- 1 file changed, 2

[PATCH v2 7/9] intel_idle: remove superfluous dev->state_count initialization

2013-12-20 Thread Bartlomiej Zolnierkiewicz
intel_idle driver sets dev->state_count to drv->state_count so the default dev->state_count initialization in cpuidle_enable_device() (called from cpuidle_register_device()) can be used instead. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park Cc: Len Brown --- drivers/idl

[PATCH v2 5/9] ACPI / cpuidle: remove dev->state_count setting

2013-12-20 Thread Bartlomiej Zolnierkiewicz
dev->state_count is now always equal to drv->state_count and drv->state_count no longer can change during driver's lifetime so the default dev->state_count initialization in cpuidle_enable_device() (called from cpuidle_register_device()) can be used instead. Signed-off-by: Bartlomiej Zolnierkiewic

[PATCH v2 6/9] intel_idle: do C1E promotion disable quirk for hotplugged CPUs

2013-12-20 Thread Bartlomiej Zolnierkiewicz
If the system is booted with some CPUs offline C1E promotion disable quirk won't be applied because on_each_cpu() in intel_idle_cpuidle_driver_init() operates only on online CPUs. Fix it by adding the C1E promotion disable handling to intel_idle_cpu_init() (which is also called during CPU_ONLINE op

[PATCH v2 4/9] ACPI / cpuidle: fix max idle state handling with hotplug CPU support

2013-12-20 Thread Bartlomiej Zolnierkiewicz
acpi_processor_hotplug() calls acpi_processor_setup_cpuidle_cx() without calling acpi_processor_setup_cpuidle_states() first so it is possible that dev->state_count becomes different from drv->state_count (in case of SMP system with unsupported C2/C3 states + enabled CPU hotplug and num_online_cpus

[PATCH v2 3/9] POWERPC: pseries: cpuidle: use the common cpuidle_[un]register() routines

2013-12-20 Thread Bartlomiej Zolnierkiewicz
It is now possible to use the common cpuidle_[un]register() routines (instead of open-coding them) so do it. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park Acked-by: Daniel Lezcano Cc: Deepthi Dharwar --- arch/powerpc/platforms/pseries/processor_idle.c | 57 ++--

[PATCH v2 2/9] POWERPC: pseries: cpuidle: remove superfluous dev->state_count initialization

2013-12-20 Thread Bartlomiej Zolnierkiewicz
pseries cpuidle driver sets dev->state_count to drv->state_count so the default dev->state_count initialization in cpuidle_enable_device() (called from cpuidle_register_device()) can be used instead. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park Acked-by: Daniel Lezcano

[PATCH v2 0/9] cpuidle: rework device state count handling

2013-12-20 Thread Bartlomiej Zolnierkiewicz
d patch series with next-20131220 - added ACKs from Daniel Lezcano Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics Bartlomiej Zolnierkiewicz (9): ARM: EXYNOS: cpuidle: fix AFTR mode check POWERPC: pseries: cpuidle: remove superfluous dev->state_cou

[PATCH v2 1/9] ARM: EXYNOS: cpuidle: fix AFTR mode check

2013-12-20 Thread Bartlomiej Zolnierkiewicz
The EXYNOS cpuidle driver code assumes that cpuidle core will handle dev->state_count smaller than drv->state_count but currently this is untrue (dev->state_count is used only for handling cpuidle state sysfs entries and drv->state_count is used for all other cases) and will not be fixed in the fut

Re: [PATCH] powernv: eeh: add buffer for P7IOC hub error data

2013-12-20 Thread Brian W Hart
On Fri, Dec 20, 2013 at 09:45:04AM +0800, Gavin Shan wrote: > On Thu, Dec 19, 2013 at 05:18:53PM -0600, Brian W Hart wrote: > >Prevent ioda_eeh_hub_diag() from clobbering itself when called by supplying > >a buffer for P7IOC hub diagnostic data. Take care to inform OPAL of the > >correct size for

Re: [PATCH] powernv: eeh: fix possible buffer overrun in ioda_eeh_phb_diag()

2013-12-20 Thread Brian W Hart
On Fri, Dec 20, 2013 at 09:59:37AM +0800, Gavin Shan wrote: > On Fri, Dec 20, 2013 at 09:35:39AM +0800, Gavin Shan wrote: > >On Thu, Dec 19, 2013 at 05:14:07PM -0600, Brian W Hart wrote: > >>PHB diagnostic buffer may be smaller than PAGE_SIZE, especially when > >>PAGE_SIZE > 4KB. > >> > > > >I thin

Re: [RFC] linux/pci: move pci_platform_pm_ops to linux/pci.h

2013-12-20 Thread Bjorn Helgaas
On Fri, Dec 20, 2013 at 3:03 AM, Dongsheng Wang wrote: > From: Wang Dongsheng > > make Freescale platform use pci_platform_pm_ops struct. This changelog doesn't say anything about what the patch does. I infer that you want to use pci_platform_pm_ops from some Freescale code. This patch should

[PATCH v3 REPOST 4/4] i2c: i2c-ibm-iic: Implements a polling mode

2013-12-20 Thread jean-jacques hiblot
From: jean-jacques hiblot When no valid interrupt is defined for the controller, use polling to handle the transfers. The polling mode can also be forced with the "iic_force_poll" module parameter. Signed-off-by: jean-jacques hiblot --- drivers/i2c/busses/i2c-ibm_iic.c | 91 +++

[PATCH v3 REPOST 3/4] i2c: i2c-ibm-iic: Implements transfer abortion

2013-12-20 Thread jean-jacques hiblot
From: jean-jacques hiblot Clean-up properly when a transfer fails for whatever reason. Cancel the transfer when the process is signaled. Signed-off-by: jean-jacques hiblot --- drivers/i2c/busses/i2c-ibm_iic.c | 146 ++- drivers/i2c/busses/i2c-ibm_iic.h | 2

[PATCH v3 REPOST 2/4] i2c: i2c-ibm-iic: perform the transfer in the interrupt handler

2013-12-20 Thread jean-jacques hiblot
From: jean-jacques hiblot The current implementation uses the interrupt only to wakeup the process doing the data transfer. While this is working, it introduces indesirable latencies. This patch implements the data transfer in the interrupt handler. It keeps the latency between individual bytes l

[PATCH v3 REPOST 0/4] i2c : i2c-ibm-iic : use interrupts to perform the data transfer

2013-12-20 Thread jean-jacques hiblot
Hello Wolfram, I'm reposting this patch set with the linux-ppc list in cc as the ibm I2c controller is primarily (only?) available on ppc platforms. This patch set aims to improve the performance of the driver for the IBM iic controller by implementing the data transfer in the interrupt handler.

[PATCH v3 REPOST 1/4] i2c: i2c-ibm-iic: cleanup.

2013-12-20 Thread jean-jacques hiblot
From: jean-jacques hiblot * removed unneeded 'volatile' qualifiers and casts * use the dev_dbg, dev_err etc. instead of printk * removed unneeded members for the driver's private data * fixed the style of the multi-line comments Signed-off-by: jean-jacques hiblot Reviewed-by: Gregory CLEMENT -

Re: [PATCH V4 10/10] powerpc, perf: Cleanup SW branch filter list look up

2013-12-20 Thread Anshuman Khandual
On 12/09/2013 11:51 AM, Michael Ellerman wrote: > On Wed, 2013-04-12 at 10:32:42 UTC, Anshuman Khandual wrote: >> This patch adds enumeration for all available SW branch filters >> in powerpc book3s code and also streamlines the look for the >> SW branch filter entries while trying to figure out wh

Re: [PATCH V4 08/10] powerpc, perf: Enable SW filtering in branch stack sampling framework

2013-12-20 Thread Anshuman Khandual
On 12/09/2013 11:51 AM, Michael Ellerman wrote: > On Wed, 2013-04-12 at 10:32:40 UTC, Anshuman Khandual wrote: >> This patch enables SW based post processing of BHRB captured branches >> to be able to meet more user defined branch filtration criteria in perf >> branch stack sampling framework. Thes

Re: [PATCH V4 07/10] powerpc, lib: Add new branch instruction analysis support functions

2013-12-20 Thread Anshuman Khandual
On 12/10/2013 11:39 AM, Anshuman Khandual wrote: > On 12/09/2013 11:51 AM, Michael Ellerman wrote: >> On Wed, 2013-04-12 at 10:32:39 UTC, Anshuman Khandual wrote: >>> Generic powerpc branch instruction analysis support added in the code >>> patching library which will help the subsequent patch on S

[RFC] linux/pci: move pci_platform_pm_ops to linux/pci.h

2013-12-20 Thread Dongsheng Wang
From: Wang Dongsheng make Freescale platform use pci_platform_pm_ops struct. Signed-off-by: Wang Dongsheng --- If device's not set power state, we will use this interface to put the device's into the correct state. diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 9c91ecc..48f8b1a 1006

[PATCH v2] powerpc/512x: dts: disable MPC5125 usb module

2013-12-20 Thread Matteo Facchinetti
At the moment the USB controller's pin muxing is not setup correctly and causes a kernel panic upon system startup, so disable the USB1 device tree node in the MPC5125 tower board dts file. The USB controller is connected to an USB3320 ULPI transceiver and the device tree should receive an update