powerpc test branch for 3.19

2014-11-05 Thread Michael Ellerman
Hi folks, Here's the current contents of my test branch. This will become the powerpc next branch for 3.19 in the next day or two. If there's a patch in here you object to please let me know asap. The tree is at: git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git test Also if you

Re: linux-next: build failure after merge of the iommu tree

2014-11-05 Thread Joerg Roedel
On Wed, Nov 05, 2014 at 01:47:31PM +1100, Stephen Rothwell wrote: Hi Joerg, After merging the iommu tree, today's linux-next build (powerpc pc64_defconfig) failed like this: In file included from arch/powerpc/platforms/powernv/pci.c:33:0: arch/powerpc/include/asm/iommu.h:140:12: error:

Re: [PATCH v2] hwmon: (ibmpowernv) Use platform 'id_table' to probe the device

2014-11-05 Thread Guenter Roeck
On Wed, Nov 05, 2014 at 04:45:14PM +0530, Neelesh Gupta wrote: The current driver probe() function assumes the sensor device to be alwary present and gets executed every time if the driver is loaded, but the appropriate hardware could not be present. So, move the platform device creation as

Re: powerpc: Convert power off logic to pm_power_off topic branch

2014-11-05 Thread Guenter Roeck
On Tue, Nov 04, 2014 at 03:47:31PM +1100, Michael Ellerman wrote: Hi Guenter, I've put the pm_power_off patch in a topic branch: https://git.kernel.org/cgit/linux/kernel/git/mpe/linux.git/log/?h=topic/pm-power-off I'll pull this into my next when I open it. Let me know if there's

[PATCH v3 1/4] dt/bindings: Introduce the FSL QorIQ DPAA BMan

2014-11-05 Thread Emil Medve
The Buffer Manager is part of the Data-Path Acceleration Architecture (DPAA). BMan supports hardware allocation and deallocation of buffers belonging to pools originally created by software with configurable depletion thresholds. This binding covers the CCSR space programming model Signed-off-by:

[PATCH v3 3/4] dt/bindings: Introduce the FSL QorIQ DPAA QMan

2014-11-05 Thread Emil Medve
The Queue Manager is part of the Data-Path Acceleration Architecture (DPAA). QMan supports queuing and QoS scheduling of frames to CPUs, network interfaces and DPAA logic modules, maintains packet ordering within flows. Besides providing flow-level queuing, is also responsible for congestion

[PATCH v3 0/4] dt/bindings: Introduce the FSL QorIQ DPAA B/QMan

2014-11-05 Thread Emil Medve
Outstanding topics: - Scott's reserved-memory updates proposal - Some LIODN loose ends - Private memory sizing v3: Address feedback from Kumar Gala - Move bindings from Documentation/devicetree/bindings/powerpc/fsl to

[PATCH v3 2/4] dt/bindings: Introduce the FSL QorIQ DPAA BMan portal(s)

2014-11-05 Thread Emil Medve
Portals are memory mapped interfaces to BMan that allow low-latency, lock-less interaction by software running on processor cores, accelerators and network interfaces with the BMan Signed-off-by: Emil Medve emilian.me...@freescale.com Change-Id: I6d245ffc14ba3d0e91d403ac7c3b91b75a9e6a95 ---

[PATCH v3 4/4] dt/bindings: Introduce the FSL QorIQ DPAA QMan portal(s)

2014-11-05 Thread Emil Medve
Portals are memory mapped interfaces to QMan that allow low-latency, lock-less interaction by software running on processor cores, accelerators and network interfaces with the QMan Signed-off-by: Emil Medve emilian.me...@freescale.com Change-Id: I29764fa8093b5ce65460abc879446795c50d7185 ---

[PATCH V5 2/3] mm: Update generic gup implementation to handle hugepage directory

2014-11-05 Thread Aneesh Kumar K.V
Update generic gup implementation with powerpc specific details. On powerpc at pmd level we can have hugepte, normal pmd pointer or a pointer to the hugepage directory. Tested-by: Steve Capper steve.cap...@linaro.org Acked-by: Steve Capper steve.cap...@linaro.org Signed-off-by: Aneesh Kumar K.V

[PATCH V5 1/3] powerpc/mm: Add missing pmd accessors

2014-11-05 Thread Aneesh Kumar K.V
This patch add documentation and missing accessors. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- arch/powerpc/include/asm/pgtable-ppc64-4k.h | 16 - arch/powerpc/include/asm/pgtable-ppc64-64k.h | 3 ++ arch/powerpc/include/asm/pgtable-ppc64.h | 51

[PATCH V5 3/3] powerpc/mm: Switch to generic RCU get_user_pages_fast

2014-11-05 Thread Aneesh Kumar K.V
This patch switch the ppc arch to use the generic RCU based gup implementation. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/hugetlb.h | 8 +- arch/powerpc/include/asm/page.h | 3

Re: [PATCH 1/2] irqdomain: add support for creating a continous mapping

2014-11-05 Thread Johannes Thumshirn
On Mon, Nov 03, 2014 at 04:18:51PM -0600, Scott Wood wrote: On Mon, 2014-11-03 at 17:18 +0100, Johannes Thumshirn wrote: A MSI device may have multiple interrupts. That means that the interrupts numbers should be continuos so that pdev-irq refers to the first interrupt, pdev-irq + 1 to the

Re: powerpc: mitigate impact of decrementer reset

2014-11-05 Thread Paul Clarke
Sorry it took me so long to get back to this... On 10/07/2014 09:52 PM, Michael Ellerman wrote: On Tue, 2014-07-10 at 19:13:24 UTC, Paul Clarke wrote: The POWER ISA defines an always-running decrementer which can be used to schedule interrupts after a certain time interval has elapsed. The

[PATCH] macintosh: therm_pm72: delete deprecated driver

2014-11-05 Thread Wolfram Sang
The new driver is around for more than 2 years now, so the old one can go. Getting rid of it helps the removal of the legacy .attach_adapter callback of the I2C subsystem. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/macintosh/Kconfig | 10 - drivers/macintosh/Makefile |

Re: [PATCH] macintosh: therm_pm72: delete deprecated driver

2014-11-05 Thread Benjamin Herrenschmidt
On Thu, 2014-11-06 at 02:45 +0100, Wolfram Sang wrote: The new driver is around for more than 2 years now, so the old one can go. Getting rid of it helps the removal of the legacy .attach_adapter callback of the I2C subsystem. Signed-off-by: Wolfram Sang w...@the-dreams.de Acked-by:

[PATCH 1/2] powerpc/powernv: Add OPAL IPMI interface

2014-11-05 Thread Jeremy Kerr
Recent OPAL firmare adds a couple of functions to send and receive IPMI messages: https://github.com/open-power/skiboot/commit/b2a374da This change updates the token list and wrappers to suit, and adds the platform devices for any IPMI interfaces. Signed-off-by: Jeremy Kerr j...@ozlabs.org

[PATCH 0/2] Add IPMI support for powernv powerpc machines

2014-11-05 Thread Jeremy Kerr
This series adds IPMI driver and arch glue for OPAL-firmware-based powernv machines. The first change exposes the firmware's IPMI API, and the second adds an actual driver. IPMI folks: the IPMI driver could do with a little review, as it's not a conventional BT/KCS/SMI SI, in that the low-level

[PATCH 2/2] drivers/char/ipmi: Add powernv IPMI driver

2014-11-05 Thread Jeremy Kerr
This change adds an initial IPMI driver for powerpc OPAL firmware. The interface is exposed entirely through firmware: we have two functions to send and receive IPMI messages, and an interrupt notification from the firmware to signify that a message is available. Signed-off-by: Jeremy Kerr

[PATCH net-next] PPC: bpf_jit_comp: add SKF_AD_HATYPE instruction

2014-11-05 Thread Denis Kirjanov
Add BPF extension SKF_AD_HATYPE to ppc JIT to check the hw type of the interface JIT off: [ 69.106783] test_bpf: #20 LD_HATYPE 48 48 PASS JIT on: [ 64.721757] test_bpf: #20 LD_HATYPE 7 6 PASS CC: Alexei Starovoitovalexei.starovoi...@gmail.com CC: Daniel Borkmanndbork...@redhat.com CC: