Re: [PATCH v2 2/2] powerpc/book3s: Fix TB corruption in guest exit path on HMI interrupt.

2016-05-14 Thread Mahesh J Salgaonkar
On 2016-05-15 09:44:26 Sun, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > When a guest is assigned to a core it converts the host Timebase (TB) > into guest TB by adding guest timebase offset before entering into > guest. During guest exit it restores the guest TB to host TB. This mean

Re: [PATCH 2/3] powerpc/book3s: Fix TB corruption in guest exit path on HMI interrupt.

2016-05-14 Thread Mahesh Jagannath Salgaonkar
On 03/18/2016 10:21 AM, Paul Mackerras wrote: > On Thu, Jan 14, 2016 at 08:45:04AM +0530, Mahesh J Salgaonkar wrote: >> From: Mahesh Salgaonkar >> >> When a guest is assigned to a core it converts the host Timebase (TB) >> into guest TB by adding guest timebase offset before entering into >> guest

[PATCH v2 2/2] powerpc/book3s: Fix TB corruption in guest exit path on HMI interrupt.

2016-05-14 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar When a guest is assigned to a core it converts the host Timebase (TB) into guest TB by adding guest timebase offset before entering into guest. During guest exit it restores the guest TB to host TB. This means under certain conditions (Guest migration) host TB and guest TB

[PATCH v2 1/2] Powernv: Remove the usage of PACAR1 from opal wrappers

2016-05-14 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar OPAL_CALL wrapper code sticks the r1 (stack pointer) into PACAR1 purely for debugging purpose only. The power7_wakeup* functions relies on stack pointer saved in PACAR1. Any opal call made using opal wrapper (directly or in-directly) before we fall through power7_wakeup*,

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

2016-05-14 Thread Arnd Bergmann
On Saturday 14 May 2016 15:11:34 Christian Lamparter wrote: > > +#ifdef CONFIG_MIPS > +/* > + * There are some MIPS machines that can run in either big-endian > + * or little-endian mode and that use the dwc2 register without > + * a byteswap in both ways. > + * Unlike other architectures, MIPS ap

Re: [PATCH v4] usb: dwc2: fix regression on big-endian PowerPC/ARM systems

2016-05-14 Thread Christian Lamparter via Linuxppc-dev
On Friday, May 13, 2016 03:52:27 PM Arnd Bergmann wrote: > A patch that went into Linux-4.4 to fix big-endian mode on a Lantiq > MIPS system unfortunately broke big-endian operation on PowerPC > APM82181 as reported by Christian Lamparter, and likely other > systems. > > It actually introduced mul