[PATCH v3] powerpc: Add an inline function to update POWER8 HID0

Sam Bobroff sam.bobroff at au1.ibm.com
Fri Aug 14 14:54:34 AEST 2015


On Wed, Aug 05, 2015 at 12:38:31PM +0530, Gautham R. Shenoy wrote:
> Section 3.7 of Version 1.2 of the Power8 Processor User's Manual
> prescribes that updates to HID0 be preceded by a SYNC instruction and
> followed by an ISYNC instruction (Page 91).
> 
> Create an inline function name update_power8_hid0() which follows this
> recipe and invoke it from the static split core path.
> 
> Signed-off-by: Gautham R. Shenoy <ego at linux.vnet.ibm.com>

Hi Gautham,

I've tested this on a Power 8 machine and verified that it is able to change
split modes and that when doing so the new code is used.

Reviewed-by: Sam Bobroff <sam.bobroff at au1.ibm.com>
Tested-by: Sam Bobroff <sam.bobroff at au1.ibm.com>



More information about the Linuxppc-dev mailing list