Re: [PATCH] powerpc: Export __spin_yield

2015-02-24 Thread Benjamin Herrenschmidt
On Tue, 2015-02-24 at 10:37 -0600, Suresh E. Warrier wrote: On 02/23/2015 09:38 PM, Benjamin Herrenschmidt wrote: On Mon, 2015-02-23 at 18:10 -0600, Suresh E. Warrier wrote: Export __spin_yield so that the arch_spin_unlock() function can be invoked from a module. Make it

Re: [PATCH 5/5] crypto: talitos: Add software backlog queue handling

2015-02-24 Thread Horia Geantă
On 2/20/2015 6:21 PM, Martin Hicks wrote: I was running into situations where the hardware FIFO was filling up, and the code was returning EAGAIN to dm-crypt and just dropping the submitted crypto request. This adds support in talitos for a software backlog queue. When requests can't be

Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board

2015-02-24 Thread Julian Margetson
Thanks after skipping several times : git bisect skip There are only 'skip'ped commits left to test. The first bad commit could be any of: b486e0e6d599b9ca8667fb9a7d49b7383ee963c7 eab3bbeffd152125ae0f90863b8e9bc8eef49423 960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025

[PATCH v1 3/3] SHA1 for PPC/SPE - kernel config

2015-02-24 Thread Markus Stockhausen
[PATCH v1 3/3] SHA1 for PPC/SPE - kernel config Integrate the module into the kernel config tree. Signed-off-by: Markus Stockhausen stockhau...@collogia.de diff --git a/arch/powerpc/crypto/Makefile b/arch/powerpc/crypto/Makefile index 1698fb9..d400bf9 100644 --- a/arch/powerpc/crypto/Makefile

Re: [PATCH 2/3] powerpc/dma: Support 32-bit coherent mask with 64-bit dma_mask

2015-02-24 Thread Benjamin Herrenschmidt
On Tue, 2015-02-24 at 14:34 -0600, Scott Wood wrote: On Fri, 2015-02-20 at 19:35 +1100, Benjamin Herrenschmidt wrote: @@ -149,14 +141,13 @@ static void dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, static int dma_direct_dma_supported(struct device *dev, u64 mask)

Re: [PATCH 2/3] powerpc/dma: Support 32-bit coherent mask with 64-bit dma_mask

2015-02-24 Thread Scott Wood
On Fri, 2015-02-20 at 19:35 +1100, Benjamin Herrenschmidt wrote: @@ -149,14 +141,13 @@ static void dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, static int dma_direct_dma_supported(struct device *dev, u64 mask) { -#ifdef CONFIG_PPC64 - /* Could be improved so

[PATCH v1 0/3] SHA1 for PPC/SPE

2015-02-24 Thread Markus Stockhausen
[PATCH v1 0/3] SHA1 for PPC/SPE The following patches add support for SIMD accelerated SHA1 calculation on PPC processors with SPE instruction set. The implementation takes care of the following constraints: - independant of processor endianess - save SPE registers for interrupt context

[PATCH v1 1/3] SHA1 for PPC/SPE - assembler

2015-02-24 Thread Markus Stockhausen
[PATCH v1 1/3] SHA1 for PPC/SPE - assembler This is the assembler code for SHA1 implementation with the SIMD SPE instruction set. With the enhanced instruction set we can operate on 2 32 bit words in parallel. That helps reducing the time to calculate W16-W79. For increasing performance even

[PATCH v1 2/3] SHA1 for PPC/SPE - glue

2015-02-24 Thread Markus Stockhausen
[PATCH v1 2/3] SHA1 for PPC/SPE - glue Glue code for crypto infrastructure. Call the assembler code where required. Disable preemption during calculation and enable SPE instructions in the kernel prior to the call. Avoid to disable preemption for too long. Take a little care about small input

Re: [PATCH V11 08/17] powrepc/pci: Refactor pci_dn

2015-02-24 Thread Bjorn Helgaas
On Mon, Feb 23, 2015 at 11:13:49AM +1100, Gavin Shan wrote: On Fri, Feb 20, 2015 at 05:19:17PM -0600, Bjorn Helgaas wrote: On Thu, Jan 15, 2015 at 10:27:58AM +0800, Wei Yang wrote: From: Gavin Shan gws...@linux.vnet.ibm.com pci_dn is the extension of PCI device node and it's created from

[PATCH v12 05/21] PCI: Refresh First VF Offset and VF Stride when updating NumVFs

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com The First VF Offset and VF Stride fields depend on the NumVFs setting, so refresh the cached fields in struct pci_sriov when updating NumVFs. See the SR-IOV spec r1.1, sec 3.3.9 and 3.3.10. [bhelgaas: changelog, remove kernel-doc comment marker]

Re: [PATCH v12 15/21] powerpc/powernv: Reserve additional space for IOV BAR according to the number of total_pe

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:34:42AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com On PHB3, PF IOV BAR will be covered by M64 window to have better PE isolation. The total_pe number is usually different from total_VFs, which can lead to a conflict between MMIO space

Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board

2015-02-24 Thread Julian Margetson
I had a hanging Uboot problem with a Sam440ep board.Never figured the problem out but It workedd for another two years after the problems began. Died for good last September with the hanging becoming a daily issue. Dont think that it was overheating. I thought that it could have been a problem

[PATCH v12 10/21] PCI: Consider additional PF's IOV BAR alignment in sizing and assigning

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com When sizing and assigning resources, we divide the resources into two lists: the requested list and the additional list. We don't consider the alignment of additional VF(n) BAR space. This is reasonable because the alignment required for the VF(n) BAR

[PATCH v12 09/21] PCI: Add pcibios_iov_resource_alignment() interface

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com Per the SR-IOV spec r1.1, sec 3.3.14, the required alignment of a PF's IOV BAR is the size of an individual VF BAR, and the size consumed is the individual VF BAR size times NumVFs. The PowerNV platform has additional alignment requirements to help

[PATCH v12 16/21] powerpc/powernv: Implement pcibios_iov_resource_alignment() on powernv

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com Implement pcibios_iov_resource_alignment() on powernv platform. On PowerNV platform, there are 3 cases for the IOV BAR: 1. initial state, the IOV BAR size is multiple times of VF BAR size 2. after expanded, the IOV BAR size is expanded to meet the M64

[PATCH 1/4] powerpc/boot: drop planetcore_set_serial_speed

2015-02-24 Thread Arseny Solokha
Drop planetcore_set_serial_speed() which had no users since its inception in commit fec6047047fd ([POWERPC] bootwrapper: Add PlanetCore firmware support) in 2007. Signed-off-by: Arseny Solokha asolo...@kb.kras.ru --- arch/powerpc/boot/planetcore.c | 33 -

Re: [PATCH 0/7] Serialise oopses, BUGs, WARNs, dump_stack, soft lockups and hard lockups

2015-02-24 Thread Arjan van de Ven
Some architectures already have their own recursive locking for oopses and we have another version for serialising dump_stack. Create a common version and use it everywhere (oopses, BUGs, WARNs, dump_stack, soft lockups and hard lockups). Dunno. I've had cases where the simultaneity of the

[PATCH v12 00/21] Enable SRIOV on Power8

2015-02-24 Thread Bjorn Helgaas
Wei Yang's most recent POWER8 SR-IOV patchset was v11, posted on Jan 15, 2015. I'm having a hard time keeping everything straight between the tweaks I've made on my branch and incremental updates. I think it's easier to repost the whole series so one can easily collect everything that goes

[PATCH v12 12/21] powerpc/pci: Refactor pci_dn

2015-02-24 Thread Bjorn Helgaas
From: Gavin Shan gws...@linux.vnet.ibm.com pci_dn is the extension of PCI device node and is created from device node. Unfortunately, VFs are enabled dynamically by PF's driver and they don't have corresponding device nodes, and pci_dn. Refactor pci_dn to support VFs: * pci_dn is organized

[PATCH v12 11/21] powerpc/pci: Don't unset PCI resources for VFs

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com If we're going to reassign resources with flag PCI_REASSIGN_ALL_RSRC, all resources will be cleaned out during device header fixup time and then get reassigned by PCI core. However, the VF resources won't be reassigned and thus, we shouldn't clean them

[PATCH v12 20/21] powerpc/pci: Remove unused struct pci_dn.pcidev field

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com In struct pci_dn, the pcidev field is assigned but not used, so remove it. Signed-off-by: Wei Yang weiy...@linux.vnet.ibm.com Signed-off-by: Bjorn Helgaas bhelg...@google.com Acked-by: Gavin Shan gws...@linux.vnet.ibm.com ---

[PATCH v12 21/21] powerpc/pci: Add PCI resource alignment documentation

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com In order to enable SRIOV on PowerNV platform, the PF's IOV BAR needs to be adjusted: 1. size expanded 2. aligned to M64BT size This patch documents this change on the reason and how. [bhelgaas: reformat, clarify, expand] Signed-off-by: Wei Yang

[PATCH v12 19/21] powerpc/powernv: Group VF PE when IOV BAR is big on PHB3

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com When IOV BAR is big, each is covered by 4 M64 windows. This leads to several VF PE sits in one PE in terms of M64. Group VF PEs according to the M64 allocation. [bhelgaas: use dev_printk() when possible] Signed-off-by: Wei Yang

RE: [PATCH 1/7] Add die_spin_lock_{irqsave,irqrestore}

2015-02-24 Thread David Laight
From: Ingo Molnar ... So why not trylock and time out here after a few seconds, instead of indefinitely supressing some potentially vital output due to some other CPU crashing/locking with the lock held? I've used that for status requests that usually lock a table to get a consistent view. If

[PATCH v12 06/21] PCI: Calculate maximum number of buses required for VFs

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com An SR-IOV device can change its First VF Offset and VF Stride based on the values of ARI Capable Hierarchy and NumVFs. The number of buses required for all VFs is determined by NumVFs, First VF Offset, and VF Stride (see SR-IOV spec r1.1, sec 2.1.2).

[PATCH v12 07/21] PCI: Export pci_iov_virtfn_bus() and pci_iov_virtfn_devfn()

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com On PowerNV, some resource reservation is needed for SR-IOV VFs that don't exist at the bootup stage. To do the match between resources and VFs, the code need to get the VF's BDF in advance. Rename virtfn_bus() and virtfn_devfn() to pci_iov_virtfn_bus()

[PATCH v12 08/21] PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable()

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com VFs are dynamically created when a driver enables them. On some platforms, like PowerNV, special resources are necessary to enable VFs. Add platform hooks for enabling and disabling VFs. Signed-off-by: Wei Yang weiy...@linux.vnet.ibm.com Signed-off-by:

[PATCH 4/4] powerpc/mpic: remove unused functions

2015-02-24 Thread Arseny Solokha
Drop unused fsl_mpic_primary_get_version(), mpic_set_clk_ratio(), mpic_set_serial_int(). + fsl_mpic_primary_get_version() is just a safe wrapper around fsl_mpic_get_version() for SMP configurations. While the latter is called explicitly for handling PIC initialization and setting up error

Re: Build regressions/improvements in v4.0-rc1

2015-02-24 Thread Geert Uytterhoeven
Hi Michael, On Tue, Feb 24, 2015 at 5:52 AM, Michael Ellerman m...@ellerman.id.au wrote: + error: book3s_64_vio_hv.c: undefined reference to `power7_wakeup_loss': = .text+0x408) pseries_defconfig This one is actually from pseries_defconfig+POWERNV=n, so I think I Thanks! broke your

Re: [PATCH V11 08/17] powrepc/pci: Refactor pci_dn

2015-02-24 Thread Benjamin Herrenschmidt
On Tue, 2015-02-24 at 02:13 -0600, Bjorn Helgaas wrote: Ah, yes, now I see the problem. I don't really like having to export pci_iov_virtfn_bus() and pci_iov_virtfn_devfn(), but it's probably not worth the hassle of changing it, and I think adding more pcibios interfaces would be even

[PATCH v12 02/21] PCI: Print PF SR-IOV resource that contains all VF(n) BAR space

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com When we size VF BAR0, VF BAR1, etc., from the SR-IOV Capability of a PF, we learn the alignment requirement and amount of space consumed by a single VF. But when VFs are enabled, *each* of the NumVFs consumes that amount of space, so the total size of

[PATCH v12 01/21] PCI: Print more info in sriov_enable() error message

2015-02-24 Thread Bjorn Helgaas
If we don't have space for all the bus numbers required to enable VFs, print the largest bus number required and the range available. No functional change; improved error message only. Signed-off-by: Bjorn Helgaas bhelg...@google.com --- drivers/pci/iov.c |7 +-- 1 file changed, 5

[PATCH v12 15/21] powerpc/powernv: Reserve additional space for IOV BAR according to the number of total_pe

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com On PHB3, PF IOV BAR will be covered by M64 window to have better PE isolation. The total_pe number is usually different from total_VFs, which can lead to a conflict between MMIO space and the PE number. For example, if total_VFs is 128 and total_pe is

[PATCH v12 13/21] powerpc/powernv: Use pci_dn, not device_node, in PCI config accessor

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com The PCI config accessors previously relied on device_node. Unfortunately, VFs don't have a corresponding device_node, so change the accessors to use pci_dn instead. [bhelgaas: changelog] Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com Signed-off-by:

[PATCH v12 14/21] powerpc/powernv: Allocate struct pnv_ioda_pe iommu_table dynamically

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com Current iommu_table of a PE is a static field. This will have a problem when iommu_free_table() is called. Allocate iommu_table dynamically. Signed-off-by: Wei Yang weiy...@linux.vnet.ibm.com Signed-off-by: Bjorn Helgaas bhelg...@google.com ---

Re: [PATCH v12 14/21] powerpc/powernv: Allocate struct pnv_ioda_pe iommu_table dynamically

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:34:35AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com Current iommu_table of a PE is a static field. This will have a problem when iommu_free_table() is called. Allocate iommu_table dynamically. I'd like a little more explanation about

[PATCH 2/4] kvm/ppc/mpic: drop unused IRQ_testbit

2015-02-24 Thread Arseny Solokha
Drop unused static procedure which doesn't have callers within its translation unit. It had been already removed independently in QEMU[1] from the OpenPIC implementation borrowed from the kernel. [1] https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg01812.html Signed-off-by: Arseny

[PATCH 3/4] powrepc/qe: drop unused ucc_slow_poll_transmitter_now

2015-02-24 Thread Arseny Solokha
Drop ucc_slow_poll_transmitter_now() which has no users since its inception in 2007 in commit 986585385131 ([POWERPC] Add QUICC Engine (QE) infrastructure). Signed-off-by: Arseny Solokha asolo...@kb.kras.ru --- arch/powerpc/include/asm/ucc_slow.h | 13 -

[PATCH V2 0/4] powerpc: trivial unused functions cleanup

2015-02-24 Thread Arseny Solokha
This series removes unused functions from powerpc tree that I've been able to discover. Two machines at hands, e300 and e500 based, boot and run without regressions on my workload with this series applied. The removed code seems also been rarely touched, so it seems the series is safe at least in

Re: [PATCH v12 08/21] PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable()

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:33:52AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com VFs are dynamically created when a driver enables them. On some platforms, like PowerNV, special resources are necessary to enable VFs. Add platform hooks for enabling and disabling

Re: [PATCH v12 10/21] PCI: Consider additional PF's IOV BAR alignment in sizing and assigning

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:34:06AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com When sizing and assigning resources, we divide the resources into two lists: the requested list and the additional list. We don't consider the alignment of additional VF(n) BAR space.

Re: [PATCH v12 11/21] powerpc/pci: Don't unset PCI resources for VFs

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:34:13AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com If we're going to reassign resources with flag PCI_REASSIGN_ALL_RSRC, all resources will be cleaned out during device header fixup time and then get reassigned by PCI core. However, the

Re: [PATCH v12 17/21] powerpc/powernv: Shift VF resource with an offset

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:34:57AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com On PowerNV platform, resource position in M64 implies the PE# the resource belongs to. In some cases, adjustment of a resource is necessary to locate it to a correct position in M64.

Re: [PATCH v12 18/21] powerpc/powernv: Reserve additional space for IOV BAR, with m64_per_iov supported

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:35:04AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com M64 aperture size is limited on PHB3. When the IOV BAR is too big, this will exceed the limitation and failed to be assigned. Introduce a different mechanism based on the IOV BAR size:

[PATCH v12 03/21] PCI: Keep individual VF BAR size in struct pci_sriov

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com Currently we don't store the individual VF BAR size. We calculate it when needed by dividing the PF's IOV resource size (which contains space for *all* the VFs) by total_VFs or by reading the BAR in the SR-IOV capability again. Keep the individual VF

[PATCH v12 04/21] PCI: Index IOV resources in the conventional style

2015-02-24 Thread Bjorn Helgaas
Most of PCI uses res = dev-resource[i], not res = dev-resource + i. Use that style in iov.c also. No functional change. Signed-off-by: Bjorn Helgaas bhelg...@google.com --- drivers/pci/iov.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/iov.c

[PATCH v12 17/21] powerpc/powernv: Shift VF resource with an offset

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com On PowerNV platform, resource position in M64 implies the PE# the resource belongs to. In some cases, adjustment of a resource is necessary to locate it to a correct position in M64. Add pnv_pci_vf_resource_shift() to shift the 'real' PF IOV BAR address

[PATCH v12 18/21] powerpc/powernv: Reserve additional space for IOV BAR, with m64_per_iov supported

2015-02-24 Thread Bjorn Helgaas
From: Wei Yang weiy...@linux.vnet.ibm.com M64 aperture size is limited on PHB3. When the IOV BAR is too big, this will exceed the limitation and failed to be assigned. Introduce a different mechanism based on the IOV BAR size: - if IOV BAR size is smaller than 64MB, expand to total_pe - if

Re: [PATCH v12 17/21] powerpc/powernv: Shift VF resource with an offset

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 02:34:57AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com On PowerNV platform, resource position in M64 implies the PE# the resource belongs to. In some cases, adjustment of a resource is necessary to locate it to a correct position in M64.

Re: [PATCH V4] powerpc, powernv: Add OPAL platform event driver

2015-02-24 Thread Vipin K Parashar
Hi Stewart, I looked into ACPI and found details about it. But before we go into discussing more details of it, would like to share a brief about OPAL platform events (EPOW/DPO) work and original design proposed. As if now OPAL platform events work supports two events: EPOW (Early

Re: [PATCH 0/7] Serialise oopses, BUGs, WARNs, dump_stack, soft lockups and hard lockups

2015-02-24 Thread Russell King - ARM Linux
On Tue, Feb 24, 2015 at 01:39:46AM -0800, Arjan van de Ven wrote: one of the question is if you want to serialize, or if you just want to label. If you take a cookie (could just be a monotonic increasing number) at the start of the oops and then prefix/postfix the stack printing with that

Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board

2015-02-24 Thread Julian Margetson
Problems with the Gib bisect Kernel wont compile after 10th bisect . drivers/built-in.o: In function `drm_mode_atomic_ioctl': (.text+0x865dc): undefined reference to `__get_user_bad' make: *** [vmlinux] Error 1 root@julian-VirtualBox:/usr/src/linux# git bisect log git bisect start # bad:

Re: [RFC 02/11] i2c: add quirk checks to core

2015-02-24 Thread Wolfram Sang
On Mon, Jan 12, 2015 at 12:08:14PM +, Russell King - ARM Linux wrote: On Fri, Jan 09, 2015 at 06:21:32PM +0100, Wolfram Sang wrote: +static int i2c_quirk_error(struct i2c_adapter *adap, struct i2c_msg *msg, char *err_msg) +{ + dev_err(adap-dev, quirk: %s (addr 0x%04x, size %u)\n,

Re: [RFC 02/11] i2c: add quirk checks to core

2015-02-24 Thread Wolfram Sang
+ if (msgs[i].flags I2C_M_RD) { + if (i2c_quirk_exceeded(len, max_read)) + return i2c_quirk_error(adap, msgs[i], msg too long); + } else { + if (i2c_quirk_exceeded(len, max_write))

Re: [RFC 01/11] i2c: add quirk structure to describe adapter flaws

2015-02-24 Thread Wolfram Sang
On Mon, Jan 19, 2015 at 04:05:15PM +0100, Wolfram Sang wrote: + struct i2c_adapter_quirks *quirks; }; #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) I suggest to add const. const struct i2c_adapter_quirks *quirks; also, in i2c-core.c, should

Re: [PATCH] powerpc: Export __spin_yield

2015-02-24 Thread Suresh E. Warrier
On 02/23/2015 09:38 PM, Benjamin Herrenschmidt wrote: On Mon, 2015-02-23 at 18:10 -0600, Suresh E. Warrier wrote: Export __spin_yield so that the arch_spin_unlock() function can be invoked from a module. Make it EXPORT_SYMBOL_GPL. Also explain why a module might need it Sure, I will

Re: [PATCH v12 17/21] powerpc/powernv: Shift VF resource with an offset

2015-02-24 Thread Bjorn Helgaas
On Tue, Feb 24, 2015 at 3:00 AM, Bjorn Helgaas bhelg...@google.com wrote: On Tue, Feb 24, 2015 at 02:34:57AM -0600, Bjorn Helgaas wrote: From: Wei Yang weiy...@linux.vnet.ibm.com On PowerNV platform, resource position in M64 implies the PE# the resource belongs to. In some cases, adjustment

Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board

2015-02-24 Thread Julian Margetson
On 2/24/2015 7:10 AM, Julian Margetson wrote: Problems with the Gib bisect Kernel wont compile after 10th bisect . drivers/built-in.o: In function `drm_mode_atomic_ioctl': (.text+0x865dc): undefined reference to `__get_user_bad' make: *** [vmlinux] Error 1

Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board

2015-02-24 Thread Gerhard Pircher
Am 2015-02-24 um 12:08 schrieb Julian Margetson: Problems with the Gib bisect Kernel wont compile after 10th bisect . You can try git bisect skip to select another commit for testing. Hopefully that one compiles fine then. Gerhard drivers/built-in.o: In function `drm_mode_atomic_ioctl':

Re: [PATCH 7/8] powerpc/corenet: Enable CLK_PPC_CORENET

2015-02-24 Thread Scott Wood
On Tue, 2015-01-20 at 04:09 -0600, Emil Medve wrote: Change-Id: I1a80ad7b9f6854791bd270b746f93a91439155a6 Signed-off-by: Emil Medve emilian.me...@freescale.com No Change-Id, and don't bundle patches meant for my tree in the same patchset as patches meant for other trees. There's no dependency

Re: [PATCH] powerpc/fsl: add power_off support for fsl platform

2015-02-24 Thread Scott Wood
On Wed, 2015-02-04 at 14:47 +0800, Dongsheng Wang wrote: +void ppc_md_fixup(void) +{ This name is way too generic (though it's moot since you shouldn't use ppc_md for this). + struct device_node *np; + + np = of_find_compatible_node(NULL, NULL, fsl,fpga-qixis); + if (!np) +

Re: [PATCH 6/8] clk: ppc-corenet: Replace kzalloc() with kmalloc()

2015-02-24 Thread Scott Wood
On Tue, 2015-01-20 at 04:09 -0600, Emil Medve wrote: Where the memset() is not necessary Signed-off-by: Emil Medve emilian.me...@freescale.com --- drivers/clk/clk-ppc-corenet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-ppc-corenet.c

Re: [PATCH v4 1/2] powerpc/corenet: Enable muxing MDIO buses via GPIO

2015-02-24 Thread Scott Wood
On Sun, 2015-02-01 at 15:48 -0600, Emil Medve wrote: From: Andy Fleming aflem...@gmail.com Change-Id: I4489db79957ad533f4ba3f04fe7d5bcb3288e981 Again, remove these. -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: [PATCH v6 1/2] powerpc/mpc85xx: Add FSL QorIQ DPAA BMan support to device tree(s)

2015-02-24 Thread Scott Wood
On Mon, 2015-02-02 at 00:53 -0600, Emil Medve wrote: From: Kumar Gala ga...@kernel.crashing.org Change-Id: If643fa5ba0a903aef8f5056a2c90ebecc995b760 Remove these. -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: Build regressions/improvements in v4.0-rc1

2015-02-24 Thread Michael Ellerman
On Tue, 2015-02-24 at 10:38 +0100, Geert Uytterhoeven wrote: Hi Michael, On Tue, Feb 24, 2015 at 5:52 AM, Michael Ellerman m...@ellerman.id.au wrote: + error: book3s_64_vio_hv.c: undefined reference to `power7_wakeup_loss': = .text+0x408) pseries_defconfig This one is

Re: [PATCH 2/3] powerpc/dma: Support 32-bit coherent mask with 64-bit dma_mask

2015-02-24 Thread Scott Wood
On Wed, 2015-02-25 at 07:40 +1100, Benjamin Herrenschmidt wrote: On Tue, 2015-02-24 at 14:34 -0600, Scott Wood wrote: On Fri, 2015-02-20 at 19:35 +1100, Benjamin Herrenschmidt wrote: static u64 dma_direct_get_required_mask(struct device *dev) diff --git a/arch/powerpc/mm/mem.c

Re: [PATCH 1/3] cxl: Use image state defaults for reloading FPGA

2015-02-24 Thread Greg KH
On Mon, Feb 23, 2015 at 03:21:19PM +1100, Michael Ellerman wrote: From: Ryan Grimm gr...@linux.vnet.ibm.com Commit 4beb5421babee1204757b877622830c6aa31be6d upstream. Select defaults such that a PERST causes flash image reload. Select which image based on what the card is set up to load.

[PATCH] cxl: Fix issues when unmapping contexts

2015-02-24 Thread Ian Munsie
From: Ian Munsie imun...@au1.ibm.com commit 0712dc7e73e59d79bcead5d5520acf4e9e917e87 upstream. for the 3.18 stable series An issue was introduced with cxl: Unmap MMIO regions when detaching a context (b123429e6a9e8d03aacf888d23262835f0081448) where closing a context normally could also unmap the

Re: [PATCH 1/3] cxl: Use image state defaults for reloading FPGA

2015-02-24 Thread Ian Munsie
Excerpts from Greg KH's message of 2015-02-25 11:32:29 +1100: What stable kernel(s) are you wanting this series to go into? Hi Greg, These three patches are for 3.18 and 3.19. Cheers, -Ian ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org