Re: [RFC PATCH v3 1/3] powerpc: Fix warning reported by verify_cpu_node_mapping()

2014-10-15 Thread Li Zhong
On 二, 2014-10-14 at 15:35 +1100, Michael Ellerman wrote: > On Tue, 2014-10-14 at 10:39 +0800, Li Zhong wrote: > > On 二, 2014-10-07 at 08:33 -0700, Nishanth Aravamudan wrote: > > > On 07.10.2014 [17:28:38 +1100], Michael Ellerman wrote: > > > > On Fri, 2014-10-03 at 16:26 -0700, Nishanth Aravamudan

Re: [PATCH V7 00/17] Enable SRIOV on POWER8

2014-10-15 Thread Wei Yang
On Thu, Oct 02, 2014 at 09:59:43AM -0600, Bjorn Helgaas wrote: >On Wed, Aug 20, 2014 at 11:35:46AM +0800, Wei Yang wrote: >> On Tue, Aug 19, 2014 at 10:12:27PM -0500, Bjorn Helgaas wrote: >> >On Tue, Aug 19, 2014 at 9:34 PM, Wei Yang >> >wrote: >> >> On Tue, Aug 19, 2014 at 03:19:42PM -0600, Bjor

[PATCH v3] powerpc/vphn: NUMA node code expects big-endian

2014-10-15 Thread Greg Kurz
The associativity domain numbers are obtained from the hypervisor through registers and written into memory by the guest: the packed array passed to vphn_unpack_associativity() is then native-endian, unlike what was assumed in the following commit: commit b08a2a12e44eaec5024b2b969f4fcb98169d1ca3 A

Re: [PATCH V7 00/17] Enable SRIOV on POWER8

2014-10-15 Thread Bjorn Helgaas
On Wed, Oct 15, 2014 at 3:00 AM, Wei Yang wrote: > On Thu, Oct 02, 2014 at 09:59:43AM -0600, Bjorn Helgaas wrote: ... >>I haven't seen any more on this series, and I'm assuming you'll post a >>rebased series (maybe you're waiting for v3.18-rc1?). I'm just checking to >>make sure you're not waitin

[PATCH 2/2] arch/powerpc: Switch to generic RCU get_user_pages_fast

2014-10-15 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 --- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/hugetlb.h | 8 +- arch/powerpc/include/asm/page.h | 4 +- arch/powerpc/include/asm/pgt

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

2014-10-15 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. Signed-off-by: Aneesh Kumar K.V --- include/linux/hugetlb.h | 1 + include/linux/mm.h | 26 +++ mm/gup.c

lockdep warning with 2d65a9f48fcdf7866aab6457bc707ca233e0c791

2014-10-15 Thread Aneesh Kumar K.V
= [ INFO: possible recursive locking detected ] 3.17.0+ #31 Not tainted - qemu-system-ppc/9112 is trying to acquire lock: (&(&vcpu->arch.tbacct_lock)->rlock){..}, at: [] .vcore_stolen_time+0x44/0xb0 [kvm_

[GIT PULL 00/15] perf/core improvements and fixes

2014-10-15 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, I guess the changes are minor of affect just some non-core feature, so it is you call if you prefer to pull it into perf/urgent instead. Best Regards, - Arnaldo The following changes since commit ec4212d88a77eb6caec10777ddd629b702a5ebbd: Merge tag

[PATCH 02/15] perf Documentation: sysfs events/ interfaces

2014-10-15 Thread Arnaldo Carvalho de Melo
From: Cody P Schafer Add documentation for the , .scale, and .unit files in sysfs. .scale and .unit were undocumented. was previously documented only for specific powerpc pmu events. Signed-off-by: Cody P Schafer Signed-off-by: Sukadev Bhattiprolu Cc: Andi Kleen Cc: Anshuman

[PATCH 03/15] perf Documentation: Remove Ruplicated docs for powerpc cpu specific events

2014-10-15 Thread Arnaldo Carvalho de Melo
From: Cody P Schafer Listing specific events doesn't actually help us at all here because: - these events actually vary between different ppc processors, they aren't garunteed to be present. - the documentation of the (generic) file contents is now superceded by the docs for arbitrary eve

Re: [PATCH v3 4/7] sound/radeon: Add quirk for broken 64-bit MSI

2014-10-15 Thread Bjorn Helgaas
On Wed, Oct 08, 2014 at 04:28:16PM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2014-10-07 at 19:47 -0400, Alex Deucher wrote: > > > This moves the setting of the quirk flag to the audio driver. > > > > > > While recent ASICs have that problem fixed, they don't seem to > > > be listed in the PCI

Re: [PATCH v3 4/7] sound/radeon: Add quirk for broken 64-bit MSI

2014-10-15 Thread Benjamin Herrenschmidt
On Wed, 2014-10-15 at 16:19 -0600, Bjorn Helgaas wrote: > PCI/MSI: Add device flag indicating that 64-bit MSIs don't work > > I'd be happy to merge it, but given what I know now, I would wait and merge > it during the v3.19 merge window. It sounds like it's more urgent than > that and should be

Re: [PATCH v1 10/10] uprobes: Remove "weak" from function declarations

2014-10-15 Thread Bjorn Helgaas
[+cc Victor, Oleg, David, Srikar, Ananth, Russell, linux-arm-kernel, Ben, Paul, Michael, linuxppc-dev. arm and powerpc define some of these functions and are at risk for this issue.] On Wed, Oct 15, 2014 at 11:06 AM, Bjorn Helgaas wrote: > For the following interfaces: > > set_swbp() > set_o

[PATCH] powerpc/pci: Fix IO space breakage after of_pci_range_to_resource() change

2014-10-15 Thread Michael Ellerman
Commit 0b0b0893d49b "of/pci: Fix the conversion of IO ranges into IO resources" changed the behaviour of of_pci_range_to_resource(). Previously it simply populated the resource based on the arguments. Now it calls pci_register_io_range() and pci_address_to_pio(). These both have two implementation

Re: [GIT PULL 00/15] perf/core improvements and fixes

2014-10-15 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, I guess the changes are minor of affect just > some > non-core feature, so it is you call if you prefer to pull it into perf/urgent > instead. > > Best Regards, > > - Arnaldo > > The following changes since com

[git pull] Please pull mpe.git for-linus branch (for powerpc)

2014-10-15 Thread Michael Ellerman
Hi Linus, There was a bit of a misunderstanding between us and the ARM guys in the device tree PCI code, which is breaking virtio on powerpc. This is the minimal fix until we can sort it out properly. cheers The following changes since commit 0429fbc0bdc297d64188483ba029a23773ae07b0: Merge b

[PATCH v2] powerpc: Only do dynamic DMA zone limits on platforms that need it

2014-10-15 Thread Michael Ellerman
Scott's patch 1c98025c6c95 "Dynamic DMA zone limits" changed dma_direct_alloc_coherent() to start using dev->coherent_dma_mask. That seems fair enough, but it exposes the fact that some of the drivers we care about on IBM platforms aren't setting the coherent mask. The proper fix is to have drive