Re: [PATCH] powerpc/powernv: Remove powernv RTAS support

2015-04-06 Thread Stewart Smith
Michael Ellerman writes: >> The only current place I could think this could be remotely possible >> would be in simulator... and we should instead make the OPAL calls work >> properly in the simulator for all the RTAS functionality (that we care >> about). > > If you mean mambo, I tested that, at

[PATCH] powerpc/e500mc: Remove dead L2 flushing code in idle_e500.S

2015-04-06 Thread Scott Wood
This code can never be executed as it is only built when CONFIG_PPC_E500MC is unset, but the only CPUs that have CPU_FTR_L2CSR require CONFIG_PPC_E500MC and do not have the MSR/HID0-based nap mechanism that this file uses. Signed-off-by: Scott Wood --- arch/powerpc/kernel/idle_e500.S | 9 ---

Re: [PATCH 0/2] Add a MTD driver for OpenPower PNOR flash

2015-04-06 Thread Jeremy Kerr
Hi all, > If the mtd maintainers are happy with it this would be the easier approach in > this instance. OK, sounds good to me. MTD folks: any objections to this process? If not, is this patch good to go in, or any changes we should make? Cheers, Jeremy __

Re: [PATCH v9 19/30] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-04-06 Thread Yijing Wang
On 2015/4/7 7:35, Daniel Axtens wrote: > I've been looking at this patch series for a while now, and I now > believe it's ready on the PowerPC side. > > I was originally concerned that it would break odd corner cases, > particularly where similar code appears (namely kernel/pci_hotplug.c and > ker

[PATCH v3 4/4] powerpc/tm: Correct minor documentation typos

2015-04-06 Thread Sam Bobroff
Signed-off-by: Sam Bobroff --- v2: Discovered some typos while updating the documentation. Documentation/powerpc/transactional_memory.txt |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/powerpc/transactional_memory.txt b/Documentation/powerpc/transactio

[PATCH v3 3/4] selftests/powerpc: Add transactional syscall test

2015-04-06 Thread Sam Bobroff
Check that a syscall made during an active transaction will fail with the correct failure code and that one made during a suspended transaction will succeed. Signed-off-by: Sam Bobroff --- v2: Further testing has shown that the success or failure of the transactions was affected by minor changes

[PATCH v3 1/4] powerpc/tm: Abort syscalls in active transactions

2015-04-06 Thread Sam Bobroff
This patch changes the syscall handler to doom (tabort) active transactions when a syscall is made and return immediately without performing the syscall. Currently, the system call instruction automatically suspends an active transaction which causes side effects to persist when an active transact

[PATCH v3 0/4] powerpc/tm: Abort syscalls in active transactions

2015-04-06 Thread Sam Bobroff
See the first patch for a description of the reasoning behind this change. This set includes the change, a kernel selftest for it and some slight refactoring of the selftest code. v3: Patch 1/4: powerpc/tm: Abort syscalls in active transactions Use "TABORT()" macro to allow building on version

[PATCH v3 2/4] selftests/powerpc: Move get_auxv_entry() to harness.c

2015-04-06 Thread Sam Bobroff
Move get_auxv_entry() from pmu/lib.c up to harness.c in order to make it available to other tests. Signed-off-by: Sam Bobroff --- tools/testing/selftests/powerpc/harness.c | 47 + tools/testing/selftests/powerpc/pmu/lib.c | 47 - tools/

Re: [PATCH v2 04/19] powerpc: Create pci_controller_ops.dma_dev_setup and shim

2015-04-06 Thread Daniel Axtens
> Please see https://patchwork.ozlabs.org/patch/431333/ for related work. > I'm familiar with that patch series - I've been helping Yijing get it up to speed on PowerPC. > I think it would be better not to introduce another architecture-specific > pci host bridge operations structure, but instea

Re: [PATCH v9 19/30] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-04-06 Thread Daniel Axtens
I've been looking at this patch series for a while now, and I now believe it's ready on the PowerPC side. I was originally concerned that it would break odd corner cases, particularly where similar code appears (namely kernel/pci_hotplug.c and kernel/pci_of_scan.c). However, upon further examinati

Re: perf report broken for branch stack samples

2015-04-06 Thread Andi Kleen
On Wed, Apr 01, 2015 at 02:32:54PM +0530, Anshuman Khandual wrote: > Hello, > > perf report is not showing up the branch stack sample results in the > from_symbol ---> to_symbol format even if the perf.data file has got > the samples (through 'perf record -b ' session). Perf report Sorry for the

Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations

2015-04-06 Thread Sören Brinkmann
On Sun, 2015-04-05 at 11:24AM -0700, Joe Perches wrote: > These structs can be const, so make them const. > > Miscellanea: > > o Add static to struct uart_ops declaration in bfin_sport_uart > > Signed-off-by: Joe Perches > --- [...] For: > drivers/tty/serial/xilinx_uartps.c | 2 +- T

Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations

2015-04-06 Thread Stefan Agner
On 2015-04-05 20:24, Joe Perches wrote: > Still compiled only x86 and not cross-compiled or tested. Cross-compiled with multi_v7_defconfig > > drivers/tty/serial/21285.c | 2 +- > drivers/tty/serial/altera_jtaguart.c| 2 +- > drivers/tty/serial/altera_uart.c

Re: [PATCH] tty: serial: Add const to struct uart_ops declarations

2015-04-06 Thread Stefan Agner
Hi Joe, See comment below... On 2015-04-04 19:47, Joe Perches wrote: > These structs can be const, so make them const. > > Signed-off-by: Joe Perches > --- > > Done with: > sed -r -i -e 's/\bstruct\s+uart_ops\s+(\w+)\s*=\s*/const struct > uart_ops \1 = /g' drivers/tty/serial/*.c > > Compiled

Topology updates and NUMA-level sched domains

2015-04-06 Thread Nishanth Aravamudan
Hi Peter, As you are very aware, I think, power has some odd NUMA topologies (and changes to the those topologies) at run-time. In particular, we can see a topology at boot: Node 0: all Cpus Node 7: no cpus Then we get a notification from the hypervisor that a core (or two) have moved from node

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-06 Thread Rob Herring
On Sat, Apr 4, 2015 at 10:25 PM, Bjorn Helgaas wrote: > On Sat, Apr 4, 2015 at 2:48 PM, Rob Herring wrote: >> On Sat, Apr 4, 2015 at 7:46 AM, Bjorn Helgaas wrote: > >>> I think there's still an unresolved question about the OF parsing code. >> >> Got a pointer to what that is? I'll take a guess.

Debug Enable in ppc44x_idle

2015-04-06 Thread Vineeth Vijayan
I am working on a ppc440gx platform and came across ppc44x_idle() function. the actual requirement is to enable WAIT_STATE Enable bit (MSR_WE) and External Interrupt enable bit (MSR_EE) on MSR. But for ppc440, i see that MSR_DE bit (Debug Interrupt Enable) is also enabled. Any idea why MSR_DE enab