Re: perf events ring buffer memory barrier on powerpc

2013-10-27 Thread Victor Kaplansky
Peter Zijlstra pet...@infradead.org wrote on 10/25/2013 07:37:49 PM: I would argue for: READ -data_tail READ -data_head smp_rmb() (A) smp_rmb() (C) WRITE $data READ $data smp_wmb() (B) smp_mb() (D) STORE -data_headWRITE

Re: [PATCH] [RFC] Emulate lwsync to run standard user land on e500 cores

2013-10-27 Thread Wolfgang Denk
Dear Kumar, In message 6bfc8eb0-1a75-41c3-985a-e3ed14846...@kernel.crashing.org you wrote: Fair enough I'm not too worried as long as we warn and account them. Than, I'd ask this be under a Kconfig option that is disabled by default. Users should have to explicitly enable this so they

Re: [PATCH] [RFC] Emulate lwsync to run standard user land on e500 cores

2013-10-27 Thread Wolfgang Denk
Dear Scott, In message 1382697373.3926.36.ca...@aoeu.buserror.net you wrote: Has anyone measured how much this slows things down with a typical userspace? In the applications I found to trigger this issue the number of traps is so small that I can't even reliably measure any difference. Best

[PATCH TRIVIAL] powerpc: Fix a typo in comments of va to pa conversion

2013-10-27 Thread Vaishnavi Bhat
This patch fixes typo in comments virtual to physical address conversion. Signed-off-by: Vaishnavi Bhat vaishn...@linux.vnet.ibm.com --- arch/powerpc/include/asm/page.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/page.h

Has anyone a ATMEL TPM Chip on PPC64 (CONFIG_TCG_ATMEL)?

2013-10-27 Thread Peter Hüwe
Hi, I was wondering if anyone here on this list still has a machine with an old ATMEL TPM (trusted platform module) lying around? From the kconfig entry it becomes evident that it was only supported on ppc64 machines. config TCG_ATMEL tristate Atmel TPM Interface depends on

Re: [PATCH 1/3] powerpc: sync ppc64, ppc64e and pseries configs

2013-10-27 Thread Michael Ellerman
On Tue, Oct 22, 2013 at 11:44:50AM +1100, Anton Blanchard wrote: Run savedefconfig over the ppc64, ppc64e and pseries config -CONFIG_EXPERIMENTAL=y This went way. -CONFIG_EFI_PARTITION=y This became default y. -CONFIG_HOTPLUG_CPU=y This isn't going away, it's selected by pseries, so

Re: [PATCH 2/2] powerpc: Move local setup.h declarations to arch includes

2013-10-27 Thread Michael Ellerman
On Fri, Oct 25, 2013 at 02:25:07PM -0500, Robert C Jennings wrote: Move the few declarations from arch/powerpc/kernel/setup.h into arch/powerpc/include/asm/setup.h. This resolves a sparse warning for arch/powerpc/mm/numa.c which defines do_init_bootmem() but can't include the setup.h header

RE: [PATCH v5] powerpc/mpc85xx: Update the clock nodes in device tree

2013-10-27 Thread Tang Yuantian-B29983
+1. Clock Block Binding + +Required properties: +- compatible: Should include one or more of the following: + - fsl,chip-clockgen: for chip specific clock block + - fsl,qoriq-clockgen-[1,2].x: for chassis 1.x and 2.x clock +- reg: Offset and length of the clock register set +-

[PATCH] powerpc: FA_DUMP depends on KEXEC

2013-10-27 Thread Michael Ellerman
If you try and build the FA_DUMP code with CONFIG_KEXEC=n, you see errors such as the following: arch/powerpc/kernel/fadump.c 408:2: error: 'crashing_cpu' undeclared (first use in this function) 410:2: error: implicit declaration of function 'crash_save_vmcoreinfo' 513:22: error: storage

RE: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-27 Thread Xiubo Li-B47053
Hi Dan, Vinod, +static int fsl_sai_probe(struct platform_device *pdev) { [...] + + sai-dma_params_rx.addr = res-start + SAI_RDR; + sai-dma_params_rx.maxburst = 6; + index = of_property_match_string(np, dma-names, rx); + ret = of_parse_phandle_with_args(np, dmas, #dma-cells,