Re: [PATCH v2] powerpc: add real mode support for dma operations on powernv

2013-07-08 Thread Benjamin Herrenschmidt
On Mon, 2013-07-08 at 14:44 +1000, Alexey Kardashevskiy wrote: diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h index 25d76c4..7ea82c1 100644 --- a/arch/powerpc/platforms/powernv/pci.h +++ b/arch/powerpc/platforms/powernv/pci.h @@ -52,6 +52,7 @@

Re: [PATCH v2] powerpc: add real mode support for dma operations on powernv

2013-07-08 Thread Alexey Kardashevskiy
On 07/08/2013 05:20 PM, Benjamin Herrenschmidt wrote: On Mon, 2013-07-08 at 14:44 +1000, Alexey Kardashevskiy wrote: diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h index 25d76c4..7ea82c1 100644 --- a/arch/powerpc/platforms/powernv/pci.h +++

Re: [PATCH v2] powerpc: add real mode support for dma operations on powernv

2013-07-08 Thread Benjamin Herrenschmidt
On Mon, 2013-07-08 at 17:31 +1000, Alexey Kardashevskiy wrote: btw is phys_addr_t correct here? Yes. Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] Powerpc/t4240: change the compatible flags for t4240qds board

2013-07-08 Thread Haijun Zhang
In order to make a difference between different T4240 board. Specify T4240QDS board the unique compatible flags for t4240qds eSDHC host. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 3/4 V2] mmc: esdhc: Add quirks to support T4240QDS board

2013-07-08 Thread Haijun Zhang
On T4240QDS board controllers has an unusable ADMA engine, so use SDMA instead. Also 3.0v is support on T4240QDS board even if the capacity detailed only 1.8v support. Without this quirk SD card will declare voltage not support and Signed-off-by: Haijun Zhang haijun.zh...@freescale.com ---

Re: [PATCH] powerpc, perf: Add generic cache reference and cache miss events for POWER8 PMU

2013-07-08 Thread Michael Ellerman
On Mon, Jul 01, 2013 at 11:43:03AM +0530, Anshuman Khandual wrote: powerpc, perf: Add generic cache reference and cache miss events for POWER8 PMU This enables generic cache reference and cache miss events on POWER8 systems by utilizing raw PMU event codes for L1 cache reference and L1

question about the e200 support

2013-07-08 Thread Kevin Hao
Hi, It seems that Kumar added the e200 core support for linux in 2005. But we never add a e200 board since then. I doubt if anyone will do that in the future. Is this just reserved for out of tree users? If not, how about drop the e200 core support from kernel? It will definitely make the e500

Re: question about the e200 support

2013-07-08 Thread Benjamin Herrenschmidt
On Mon, 2013-07-08 at 19:59 +0800, Kevin Hao wrote: It seems that Kumar added the e200 core support for linux in 2005. But we never add a e200 board since then. I doubt if anyone will do that in the future. Is this just reserved for out of tree users? If not, how about drop the e200 core

Re: [PATCH 2/2] KVM: PPC: Book3E: Get vcpu's last instruction for emulation

2013-07-08 Thread Alexander Graf
On 28.06.2013, at 11:20, Mihai Caraman wrote: lwepx faults needs to be handled by KVM and this implies additional code in DO_KVM macro to identify the source of the exception originated from host context. This requires to check the Exception Syndrome Register (ESR[EPID]) and External PID

Re: [PATCH -V3 1/4] mm/cma: Move dma contiguous changes into a seperate config

2013-07-08 Thread Alexander Graf
On 02.07.2013, at 07:45, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We want to use CMA for allocating hash page table and real mode area for PPC64. Hence move DMA contiguous related changes into a seperate config so that ppc64 can enable CMA without

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-08 Thread Scott Wood
On 07/03/2013 08:08:18 PM, Kevin Hao wrote: On Wed, Jul 03, 2013 at 03:38:27PM -0500, Scott Wood wrote: On 07/02/2013 10:00:44 PM, Kevin Hao wrote: On Tue, Jul 02, 2013 at 05:39:18PM -0500, Scott Wood wrote: How much overhead (space and time) is this really? The following is the

Re: 答复: [PATCH 2/2] powerpc/85xx: add the P1020RDB-PD DTS support

2013-07-08 Thread Scott Wood
On 07/03/2013 09:04:40 PM, Zhang Haijun-B42677 wrote: Regards Thanks Haijun. 发件人: Wood Scott-B07421 发送时间: 2013年7月3日 19:09 收件人: Zhang Haijun-B42677 Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; Zhang Haijun-B42677; Huang

Re: [PATCH V2 2/2] powerpc/85xx: add the P1020RDB-PD DTS support

2013-07-08 Thread Scott Wood
On 07/04/2013 07:05:00 PM, Haijun Zhang wrote: diff --git a/arch/powerpc/boot/dts/p1020rdb-pc.dtsi b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi index c952cd3..9d24501 100644 --- a/arch/powerpc/boot/dts/p1020rdb-pc.dtsi +++ b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi @@ -131,9 +131,7 @@ };

Re: [PATCH] Powerpc/t4240: change the compatible flags for t4240qds board

2013-07-08 Thread Scott Wood
On 07/08/2013 02:16:03 AM, Haijun Zhang wrote: In order to make a difference between different T4240 board. Specify T4240QDS board the unique compatible flags for t4240qds eSDHC host. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 2 +-

Re: [PATCH 3/4 V2] mmc: esdhc: Add quirks to support T4240QDS board

2013-07-08 Thread Scott Wood
On 07/08/2013 02:16:04 AM, Haijun Zhang wrote: On T4240QDS board controllers has an unusable ADMA engine, so use SDMA instead. Also 3.0v is support on T4240QDS board even if the capacity detailed only 1.8v support. Without this quirk SD card will declare voltage not support and

Re: [PATCH 1/2] KVM: PPC: Fix kvm_exit_names array

2013-07-08 Thread Alexander Graf
On 03.07.2013, at 15:30, Mihai Caraman wrote: Some exit ids where left out from kvm_exit_names array. Signed-off-by: Mihai Caraman mihai.cara...@freescale.com --- arch/powerpc/kvm/timing.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

Re: [PATCH 2/2] KVM: PPC: Book3E: Emulate MCSRR0/1 SPR and rfmci instruction

2013-07-08 Thread Alexander Graf
On 03.07.2013, at 15:30, Mihai Caraman wrote: Some guests are making use of return from machine check instruction to do crazy things even though the 64-bit kernel doesn't handle yet this interrupt. Emulate MCSRR0/1 SPR and rfmci instruction accordingly. Signed-off-by: Mihai Caraman

Re: [PATCH 3/8] vfio: add external user support

2013-07-08 Thread Alex Williamson
On Sun, 2013-07-07 at 01:07 +1000, Alexey Kardashevskiy wrote: VFIO is designed to be used via ioctls on file descriptors returned by VFIO. However in some situations support for an external user is required. The first user is KVM on PPC64 (SPAPR TCE protocol) which is going to use the

Re: [PATCH 1/4] powerpc/85xx: Add support for 85xx cpu type detection

2013-07-08 Thread Scott Wood
On 07/07/2013 09:12:22 PM, Haijun Zhang wrote: Add this file to help detect cpu type in runtime. These macros and inline routines will be more favorable for driver to apply errata and workaround to specified cpu type. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com Signed-off-by: Zhao

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-08 Thread Kevin Hao
On Mon, Jul 08, 2013 at 11:48:25AM -0500, Scott Wood wrote: On 07/03/2013 08:08:18 PM, Kevin Hao wrote: On Wed, Jul 03, 2013 at 03:38:27PM -0500, Scott Wood wrote: On 07/02/2013 10:00:44 PM, Kevin Hao wrote: On Tue, Jul 02, 2013 at 05:39:18PM -0500, Scott Wood wrote: How much overhead

Re: [PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-07-08 Thread Michael Ellerman
On Thu, Jul 04, 2013 at 02:57:00PM +0200, Peter Zijlstra wrote: On Thu, Jul 04, 2013 at 10:52:18PM +1000, Michael Ellerman wrote: I don't think it even needs libpfm4, just some csv files in tools/perf would do the trick. Right; I think Stephane and Jiri are in favour of creating a 'new'

Re: [PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-07-08 Thread Michael Ellerman
On Mon, Jul 08, 2013 at 10:24:34PM -0400, Vince Weaver wrote: On Tue, 9 Jul 2013, Michael Ellerman wrote: On Thu, Jul 04, 2013 at 02:57:00PM +0200, Peter Zijlstra wrote: Right; I think Stephane and Jiri are in favour of creating a 'new' project that includes just the event

Re: [PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-07-08 Thread Vince Weaver
On Tue, 9 Jul 2013, Michael Ellerman wrote: On Thu, Jul 04, 2013 at 02:57:00PM +0200, Peter Zijlstra wrote: Right; I think Stephane and Jiri are in favour of creating a 'new' project that includes just the event definitions in a plain text format and a little library with parser

Re: [PATCH 0/2] powerpc: allow kvm to use kerel debug framework

2013-07-08 Thread Michael Neuling
Alexander Graf ag...@suse.de wrote: On 04.07.2013, at 08:15, Bharat Bhushan wrote: From: Bharat Bhushan bharat.bhus...@freescale.com This patchset moves the debug registers in a structure, which allows kvm to use same structure for debug emulation. Note: Earilier a patchset

答复: 答复: [PATCH 2/2] powerpc/85xx: add the P1020RDB-PD DTS support

2013-07-08 Thread Zhang Haijun-B42677
Regards Thanks Haijun. 发件人: Wood Scott-B07421 发送时间: 2013年7月8日 17:08 收件人: Zhang Haijun-B42677 抄送: Wood Scott-B07421; ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; Huang Changming-R66093; Xie Xiaobo-R63061 主题: Re: 答复: [PATCH 2/2]

Re: [PATCH 3/8] vfio: add external user support

2013-07-08 Thread Alexey Kardashevskiy
On 07/09/2013 07:52 AM, Alex Williamson wrote: On Sun, 2013-07-07 at 01:07 +1000, Alexey Kardashevskiy wrote: VFIO is designed to be used via ioctls on file descriptors returned by VFIO. However in some situations support for an external user is required. The first user is KVM on PPC64