Re: [PATCH 0/6] eBPF JIT for PPC64

2016-06-10 Thread David Miller
From: "Naveen N. Rao" Date: Tue, 7 Jun 2016 19:02:17 +0530 > Please note that patch [2] is a pre-requisite for this patchset, and is > not yet upstream. ... > [1] http://thread.gmane.org/gmane.linux.kernel/2188694 > [2]

Re: [PATCH 4/4] Revert "powerpc/fsl: Move fsl_guts.h out of arch/powerpc"

2016-06-10 Thread Scott Wood
On Thu, 2016-06-02 at 11:01 +0200, Arnd Bergmann wrote: > On Wednesday, June 1, 2016 8:24:20 PM CEST Scott Wood wrote: > > On Mon, 2016-05-30 at 15:18 +0200, Arnd Bergmann wrote: > > > All users of this driver are PowerPC specific and the header file > > > has no business in the global

Re: [PATCH 3/4] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-06-10 Thread Scott Wood
On Thu, 2016-06-02 at 10:52 +0200, Arnd Bergmann wrote: > On Wednesday, June 1, 2016 8:11:14 PM CEST Scott Wood wrote: > > > +#define T4240_HOST_VER ((VENDOR_V_23 << SDHCI_VENDOR_VER_SHIFT) | > > > SDHCI_SPEC_200) > > > +static const struct soc_device_attribute esdhc_t4240_quirk = { > > > + /*

Re: [PATCH 2/4] soc: fsl: add GUTS driver for QorIQ platforms

2016-06-10 Thread Scott Wood
On Thu, 2016-06-02 at 10:43 +0200, Arnd Bergmann wrote: > On Wednesday, June 1, 2016 8:47:22 PM CEST Scott Wood wrote: > > On Mon, 2016-05-30 at 15:15 +0200, Arnd Bergmann wrote: > > > diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c > > > new file mode 100644 > > > index

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.7-3 tag

2016-06-10 Thread Michael Ellerman
On Fri, 2016-06-10 at 12:26 -0700, Linus Torvalds wrote: > On Fri, Jun 10, 2016 at 8:48 AM, Linus Torvalds > wrote: > > On Fri, Jun 10, 2016 at 4:51 AM, Michael Ellerman > > wrote: > > > > > > powerpc fixes for 4.7 #2 > > > > This is

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.7-3 tag

2016-06-10 Thread Linus Torvalds
On Fri, Jun 10, 2016 at 8:48 AM, Linus Torvalds wrote: > On Fri, Jun 10, 2016 at 4:51 AM, Michael Ellerman wrote: >> >> powerpc fixes for 4.7 #2 > > This is actually #3 - and some of the things you describe came in > already through #2. > > Do

Re: [PATCH 2/2] perf annotate: add powerpc support

2016-06-10 Thread Naveen N. Rao
On 2016/06/10 08:08PM, Naveen N. Rao wrote: > On 2016/06/10 10:36AM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Jun 10, 2016 at 06:32:51PM +0530, Naveen N. Rao escreveu: > > > Convert ins__find() to a __weak function for generic functionality, > > > while adding a powerpc-specific variant. We

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.7-3 tag

2016-06-10 Thread Linus Torvalds
On Fri, Jun 10, 2016 at 4:51 AM, Michael Ellerman wrote: > > powerpc fixes for 4.7 #2 This is actually #3 - and some of the things you describe came in already through #2. Do you mind double-checking your descriptions? Which of these are actually new? I'd like to get my

Re: [PATCH 2/2] perf annotate: add powerpc support

2016-06-10 Thread Naveen N. Rao
On 2016/06/10 10:36AM, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 10, 2016 at 06:32:51PM +0530, Naveen N. Rao escreveu: > > Convert ins__find() to a __weak function for generic functionality, > > while adding a powerpc-specific variant. We look at the function name > > for branch instructions

Re: [PATCH 1/2] perf annotate: generalize handling of ret instructions

2016-06-10 Thread Naveen N. Rao
On 2016/06/10 10:30AM, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 10, 2016 at 06:32:50PM +0530, Naveen N. Rao escreveu: > > Introduce helper to detect ret instructions and use the same in the tui. Hi Arnaldo, Thanks for the review. > > Humm, I think this is simpler and equivalent, since so

Re: [PATCH 2/2] perf annotate: add powerpc support

2016-06-10 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 10, 2016 at 06:32:51PM +0530, Naveen N. Rao escreveu: > Convert ins__find() to a __weak function for generic functionality, > while adding a powerpc-specific variant. We look at the function name > for branch instructions and classify the instructions to one among a > branch, a

Re: [PATCH 1/2] perf annotate: generalize handling of ret instructions

2016-06-10 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 10, 2016 at 06:32:50PM +0530, Naveen N. Rao escreveu: > Introduce helper to detect ret instructions and use the same in the tui. Humm, I think this is simpler and equivalent, since so far we didn't had any need for special handling of "retq"/"ret" instructions: diff --git

[PATCH 1/2] perf annotate: generalize handling of ret instructions

2016-06-10 Thread Naveen N. Rao
Introduce helper to detect ret instructions and use the same in the tui. Cc: Arnaldo Carvalho de Melo Cc: Anton Blanchard Cc: Michael Ellerman Cc: Ananth N Mavinakayanahalli Signed-off-by: Naveen N. Rao

[PATCH 2/2] perf annotate: add powerpc support

2016-06-10 Thread Naveen N. Rao
Convert ins__find() to a __weak function for generic functionality, while adding a powerpc-specific variant. We look at the function name for branch instructions and classify the instructions to one among a branch, a function call (branch with LR update) or a function return (branch to LR). Cc:

[PATCH] powerpc: convert 'iommu_alloc failed' messages to dynamic debug

2016-06-10 Thread Mauricio Faria de Oliveira
This prevents flooding the logs with 'iommu_alloc failed' messages while I/O is performed (normally) to very fast devices (e.g. NVMe). That error is not necessarily a problem; device drivers can retry later / reschedule the requests for which the allocation failed, and handle things gracefully

[GIT PULL] Please pull powerpc/linux.git powerpc-4.7-3 tag

2016-06-10 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.7: The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git

Re: [PATCH 11/14] s390/ptrace: run seccomp after ptrace

2016-06-10 Thread Martin Schwidefsky
On Thu, 9 Jun 2016 14:02:01 -0700 Kees Cook wrote: > Close the hole where ptrace can change a syscall out from under seccomp. > > Signed-off-by: Kees Cook > Cc: Heiko Carstens > Cc: Martin Schwidefsky

[PATCH v4 21/44] powerpc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/powerpc/include/asm/dma-mapping.h| 7 +++ arch/powerpc/include/asm/iommu.h | 10 +-

[PATCH v4 00/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Hi, This is fourth approach for replacing struct dma_attrs with unsigned long. The main patch (1/44) doing the change is split into many subpatches for easier review (2-42). They should be squashed together when applying. *Important:* Patchset is tested on my ARM platforms and *only* build

Re: [PATCH kernel 9/9] KVM: PPC: VFIO device: support SPAPR TCE

2016-06-10 Thread David Gibson
On Thu, Jun 09, 2016 at 04:47:59PM +1000, Alexey Kardashevskiy wrote: > On 23/03/16 14:03, David Gibson wrote: > > On Tue, Mar 22, 2016 at 11:34:55AM +1100, Alexey Kardashevskiy wrote: > >> Uff, lost cc: list. Added back. Some comments below. > >> > >> > >> On 03/21/2016 04:19 PM, David Gibson

[PATCH 2/2] crypto: vmx: Increase priority of aes-cbc cipher

2016-06-10 Thread Anton Blanchard
From: Anton Blanchard All of the VMX AES ciphers (AES, AES-CBC and AES-CTR) are set at priority 1000. Unfortunately this means we never use AES-CBC and AES-CTR, because the base AES-CBC cipher that is implemented on top of AES inherits its priority. To fix this, AES-CBC and

[PATCH 1/2] crypto: vmx: Fix ABI detection

2016-06-10 Thread Anton Blanchard
From: Anton Blanchard When calling ppc-xlate.pl, we pass it either linux-ppc64 or linux-ppc64le. The script however was expecting linux64le, a result of its OpenSSL origins. This means we aren't obeying the ppc64le ABIv2 rules. Fix this by checking for linux-ppc64le. Fixes:

Re: powerpc/pseries: start rtasd before PCI probing

2016-06-10 Thread Greg Kurz
On Fri, 10 Jun 2016 15:18:32 +1000 (AEST) Michael Ellerman wrote: > On Mon, 2016-23-05 at 08:28:28 UTC, Greg Kurz wrote: > > A strange behaviour is observed when comparing PCI hotplug in QEMU, between > > x86 and pseries. If you consider the following steps: > > - start a VM

Re: [PATCH v10 09/18] powerpc/powernv: Extend PCI bridge resources

2016-06-10 Thread Gavin Shan
On Fri, Jun 10, 2016 at 03:45:30PM +1000, Benjamin Herrenschmidt wrote: >On Fri, 2016-06-10 at 15:28 +1000, Alexey Kardashevskiy wrote: >> > Actually, it's likely caused by hardware defect >> > - we can't set 2GB (0x8000 - 0x) to RC's memory window. >> > Otherwise, it *seems* the

[PATCH v4 3/7] powerpc: use the new LED disk activity trigger

2016-06-10 Thread Stephan Linz
- dts: rename 'ide-disk' to 'disk-activity' - defconfig: rename 'ADB_PMU_LED_IDE' to 'ADB_PMU_LED_DISK' Cc: Joseph Jezak Cc: Jörg Sommer Signed-off-by: Stephan Linz --- arch/powerpc/boot/dts/mpc8315erdb.dts | 2 +-

Re: [PATCH 1/5] selftests/powerpc: Check for VSX preservation across userspace preemption

2016-06-10 Thread Cyril Bur
On Thu, 09 Jun 2016 11:35:55 +1000 Daniel Axtens wrote: > Yay for tests! > > I have a few minor nits, and one more major one (rc == 2 below). > > > +/* > > + * Copyright 2015, Cyril Bur, IBM Corp. > > + * > > + * This program is free software; you can redistribute it and/or >