Re: [v2] powerpc/xmon: Fix SPR read/write commands and add command to dump SPRs

2016-05-07 Thread Michael Ellerman
On Wed, 2016-13-04 at 11:31:24 UTC, Michael Ellerman wrote: > From: Paul Mackerras > > xmon has commands for reading and writing SPRs, but they don't work > currently for several reasons. They attempt to synthesize a small > function containing an mfspr or mtspr instruction and call it. However,

Re: [3/3] perf tools: Fix perf regs mask generation

2016-05-07 Thread Michael Ellerman
On Thu, 2016-28-04 at 09:31:10 UTC, Chandan Kumar wrote: > From: "Naveen N. Rao" > > On some architectures (powerpc in particular), the number of registers > exceeds what can be represented in an integer bitmask. Ensure we > generate the proper bitmask on such platforms. > > Fixes: 71ad0f5e4 ("p

Re: [2/3] powerpc/perf: Add support for unwinding perf-stackdump

2016-05-07 Thread Michael Ellerman
On Thu, 2016-28-04 at 09:31:09 UTC, Chandan Kumar wrote: > Adds support for unwinding user stack dump by linking with libunwind. > > Signed-off-by: Chandan Kumar Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7b87053070496576725b2be81b cheers

Re: [1/3] powerpc: Add HAVE_PERF_USER_STACK_DUMP support

2016-05-07 Thread Michael Ellerman
On Thu, 2016-28-04 at 09:31:08 UTC, Chandan Kumar wrote: > With perf regs support enabled for powerpc, the support for obtaining > perf user stack dump is already enabled. > This patch declares the support for same and also updates documentation > to mark the support for perf-regs and perf-stackdum

usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-07 Thread Christian Lamparter via Linuxppc-dev
Hello, I've been looking in getting the MyBook Live Duo's USB OTG port to function. The SoC is a APM82181. Which has a PowerPC 464 core and related to the supported canyonlands architecture in arch/powerpc/. Currently in -next the dwc2 module doesn't load: dwc2 4bff8.usbotg: dwc2_core_reset

followup: kernel manipulation of {bus,brg}-frequency for MPC8360?

2016-05-07 Thread Robert P. J. Day
followup to earlier post and WARNING -- my ppc dev box is suddenly off the net so i'm doing all this from memory. le *sigh*. again in context of porting linux (4.1 kernel, using v2015.10 uboot) to MPC8360 target, a couple of questions. first, while in this case u-boot might be modifying so

MPC8360, quicc engine, bus-frequency and brg-frequency

2016-05-07 Thread Robert P. J. Day
currently working on a project porting linux (4.1 kernel right now) to MPC8360-based target board and, recently, was handed the following patch to apply to that board's DTS file: @@ -168,8 +168,8 @@ compatible = "fsl,qe", "simple-bus"; ranges = <0 0xf010 0x00

Re: perf tools: add support for generating bpf prologue on powerpc

2016-05-07 Thread Naveen N. Rao
On 2016/05/07 02:15PM, Michael Ellerman wrote: > On Thu, 2016-05-05 at 15:23:19 UTC, "Naveen N. Rao" wrote: > > Generalize existing macros to serve the purpose. > > > > Cc: Wang Nan > > Cc: Arnaldo Carvalho de Melo > > Cc: Masami Hiramatsu > > Cc: Ian Munsie > > Cc: Michael Ellerman > > Signe