Re: [PATCH] crypto/nx: disable NX on little endian builds

2014-06-13 Thread Marek Vasut
On Saturday, June 07, 2014 at 03:33:34 AM, Anton Blanchard wrote: > The NX driver has endian issues so disable it for now. > > Signed-off-by: Anton Blanchard What kind of issues ? Are they hard to fix ? Best regards, Marek Vasut ___ Linuxppc-dev maili

Re: [PATCH 4/4 v3] KVM: PPC: Bookehv: Get vcpu's last instruction for emulation

2014-06-13 Thread Scott Wood
On Thu, 2014-06-12 at 18:04 +0200, Alexander Graf wrote: > On 06/02/2014 05:50 PM, Mihai Caraman wrote: > > On book3e, KVM uses load external pid (lwepx) dedicated instruction to read > > guest last instruction on the exit path. lwepx exceptions (DTLB_MISS, DSI > > and LRAT), generated by loading a

Re: kmemleak: Unable to handle kernel paging request

2014-06-13 Thread Benjamin Herrenschmidt
On Fri, 2014-06-13 at 09:56 +0100, Catalin Marinas wrote: > OK, so that's the DART table allocated via alloc_dart_table(). Is > dart_tablebase removed from the kernel linear mapping after allocation? Yes. > If that's the case, we need to tell kmemleak to ignore this block (see > patch below, unt

Re: [PATCH] KVM: PPC: e500mc: Relax tlb invalidation condition on vcpu schedule

2014-06-13 Thread Scott Wood
On Fri, 2014-06-13 at 16:55 +0200, Alexander Graf wrote: > On 13.06.14 16:43, mihai.cara...@freescale.com wrote: > >> -Original Message- > >> From: Alexander Graf [mailto:ag...@suse.de] > >> Sent: Thursday, June 12, 2014 8:05 PM > >> To: Caraman Mihai Claudiu-B02008 > >> Cc: kvm-...@vger.ke

Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 13.06.14 16:28, Aneesh Kumar K.V wrote: >> Alexander Graf writes: >> >>> On 13.06.14 09:23, Aneesh Kumar K.V wrote: With guest supporting Multiple page size per segment (MPSS), hpte_page_size returns actual page size used. Add a new function to return b

[PATCH] powerpc: Fix build warning

2014-06-13 Thread Guenter Roeck
If compiled with W=1, the following warning is seen in powerpc builds. arch/powerpc/kernel/smp.c:750:18: warning: type qualifiers ignored on function return type static const int powerpc_smt_flags(void) ^ This is caused by a function returning 'const int', which doesn't m

Re: [PATCH] KVM: PPC: e500mc: Relax tlb invalidation condition on vcpu schedule

2014-06-13 Thread Alexander Graf
On 13.06.14 16:43, mihai.cara...@freescale.com wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, June 12, 2014 8:05 PM To: Caraman Mihai Claudiu-B02008 Cc: kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc- d...@lists.ozlabs.org; Wood Scott-B0742

Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Alexander Graf
On 13.06.14 16:28, Aneesh Kumar K.V wrote: Alexander Graf writes: On 13.06.14 09:23, Aneesh Kumar K.V wrote: With guest supporting Multiple page size per segment (MPSS), hpte_page_size returns actual page size used. Add a new function to return base page size and use that to compare against

RE: [PATCH] KVM: PPC: e500mc: Relax tlb invalidation condition on vcpu schedule

2014-06-13 Thread mihai.cara...@freescale.com
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, June 12, 2014 8:05 PM > To: Caraman Mihai Claudiu-B02008 > Cc: kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; Wood Scott-B07421 > Subject: Re: [PATCH] KVM: PPC: e500mc: Re

Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 13.06.14 09:23, Aneesh Kumar K.V wrote: >> With guest supporting Multiple page size per segment (MPSS), >> hpte_page_size returns actual page size used. Add a new function to >> return base page size and use that to compare against the the page size >> calculated from

Re: power and percpu: Could we move the paca into the percpu area?

2014-06-13 Thread Segher Boessenkool
> > > So cr5, which is number 73, is never used by gcc. > > > > Not available for RA is not the same thing at all as not used by GCC. > > For example, GPR1 and XER[CA] are also fixed regs. > > Indeed, I should have been more clear, it is never explicitly reserved > by any ABI like GPR1 for the s

Re: [PATCH] IBM Akebono: Remove obsolete config select

2014-06-13 Thread Paul Bolle
On Fri, 2014-05-02 at 18:06 +1000, Alistair Popple wrote: > The original implementation of MMC support for Akebono introduced a > new configuration symbol (MMC_SDHCI_OF_476GTR). This symbol has been > dropped in favour of using the generic platform driver however the > select for this symbol was mi

Re: power and percpu: Could we move the paca into the percpu area?

2014-06-13 Thread Gabriel Paubert
On Thu, Jun 12, 2014 at 07:26:39AM -0500, Segher Boessenkool wrote: > > Actually, from gcc/config/rs6000.h: > > > > /* 1 for registers that have pervasive standard uses > >and are not available for the register allocator. > > [snip] > > > So cr5, which is number 73, is never used by gcc. >

[PATCH] fsl-rio: add support for mapping inbound windows

2014-06-13 Thread Martijn de Gouw
From: Martijn de Gouw Add support for mapping and unmapping of inbound rapidio windows. Signed-off-by: Martijn de Gouw --- arch/powerpc/sysdev/fsl_rio.c | 84 + arch/powerpc/sysdev/fsl_rio.h | 12 ++ 2 files changed, 96 insertions(+) diff --git

[PATCH] selftests/powerpc: Use the test harness for the TM DSCR test

2014-06-13 Thread Michael Ellerman
This gives us standardised success/failure output and also handles killing the test if it runs forever (2 minutes). Signed-off-by: Michael Ellerman --- tools/testing/selftests/powerpc/tm/Makefile | 2 +- tools/testing/selftests/powerpc/tm/tm-resched-dscr.c | 14 +++--- 2 files

Re: Device Tree Binding for DSA on P1023RDB

2014-06-13 Thread Pannirselvam Kanagaratnam
On Fri, Jun 13, 2014, at 05:21 AM, Scott Wood wrote: > On Thu, 2014-06-12 at 23:36 +0800, Pannirselvam Kanagaratnam wrote: > > The QORIQ P1023RDB has an option to populate the Marvell 88E6165 > > Ethernet switch. We populated this device and was able to initialize > > it as a basic switch in U-Bo

Re: kmemleak: Unable to handle kernel paging request

2014-06-13 Thread Denis Kirjanov
On 6/13/14, Catalin Marinas wrote: > On Fri, Jun 13, 2014 at 08:12:08AM +0100, Denis Kirjanov wrote: >> On 6/12/14, Catalin Marinas wrote: >> > On Thu, Jun 12, 2014 at 01:00:57PM +0100, Denis Kirjanov wrote: >> >> On 6/12/14, Denis Kirjanov wrote: >> >> > On 6/12/14, Catalin Marinas wrote: >> >

[RFC][PATCH 1/2] dma: imx-sdma: Add device to device support

2014-06-13 Thread Nicolin Chen
This patch adds DEV_TO_DEV support for i.MX SDMA driver to support data tranfer between two peripheral FIFOs. The per_2_per script requires two peripheral addresses and two DMA requests. So this patch also adds them into private structure. Signed-off-by: Nicolin Chen --- drivers/dma/imx-sdma.c

[RFC][PATCH 0/2] Add ASRC Peripheral to Peripheral driver

2014-06-13 Thread Nicolin Chen
This series of patches have a direct dependency between them. So we might need to push them into one branch. And sorry for this :( Patch-1 adds device to device support in SDMA driver along with a secondary request in struct imx_dma_data which's requred in the Patch-2 ASRC driver. Nicolin Chen (2

Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Alexander Graf
On 13.06.14 09:23, Aneesh Kumar K.V wrote: With guest supporting Multiple page size per segment (MPSS), hpte_page_size returns actual page size used. Add a new function to return base page size and use that to compare against the the page size calculated from SLB Why? What does this fix? Is th

Re: [alsa-devel] [RFC][PATCH v1] ASoC: fsl_ssi: Add DAI master mode support for SSI on i.MX series

2014-06-13 Thread Nicolin Chen
On Fri, Jun 13, 2014 at 11:00:01AM +0200, Takashi Iwai wrote: > At Thu, 12 Jun 2014 22:24:55 -0500, > Timur Tabi wrote: > > > > On Thu, Dec 12, 2013 at 4:44 AM, Nicolin Chen > > wrote: > > > > > > +static int fsl_ssi_set_dai_sysclk(struct snd_soc_dai *cpu_dai, > > > +

Re: kmemleak: Unable to handle kernel paging request

2014-06-13 Thread Catalin Marinas
On Fri, Jun 13, 2014 at 08:12:08AM +0100, Denis Kirjanov wrote: > On 6/12/14, Catalin Marinas wrote: > > On Thu, Jun 12, 2014 at 01:00:57PM +0100, Denis Kirjanov wrote: > >> On 6/12/14, Denis Kirjanov wrote: > >> > On 6/12/14, Catalin Marinas wrote: > >> >> On 11 Jun 2014, at 21:04, Denis Kirjan

Re: [alsa-devel] [RFC][PATCH v1] ASoC: fsl_ssi: Add DAI master mode support for SSI on i.MX series

2014-06-13 Thread Takashi Iwai
At Thu, 12 Jun 2014 22:24:55 -0500, Timur Tabi wrote: > > On Thu, Dec 12, 2013 at 4:44 AM, Nicolin Chen > wrote: > > > > +static int fsl_ssi_set_dai_sysclk(struct snd_soc_dai *cpu_dai, > > + int clk_id, unsigned int freq, int dir) > > +{ > > + struct fsl_ssi_

[PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Aneesh Kumar K.V
With guest supporting Multiple page size per segment (MPSS), hpte_page_size returns actual page size used. Add a new function to return base page size and use that to compare against the the page size calculated from SLB Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/kvm_book3s_64.