]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Setup in HFSCR for POWER8
authorMichael Neuling <mikey@neuling.org>
Tue, 5 Mar 2013 17:35:24 +0000 (17:35 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 03:03:59 +0000 (13:03 +1000)
commit2a3563b023e5f99e1ec48b66b4caeac94584e7c7
tree40492bf2ec5725cb7b640b72476744691ec86457
parent04b418c97f4e6cabe186484e9d9cd2f42e67d912
powerpc: Setup in HFSCR for POWER8

Setup the HFSCR (Hypervisor Facility Status and Control Register) for POWER8
when running HV=1.  The HFSCR is the same as the FSCR except it's for
hypervisors.  It controls the available of various facilities in OS and
userspace levels.  It also indicates the cause of a hypervisor facility
unavailable interrupt (although we are not using this here).

This patch sets the facilities Linux knows about incase the firmware doesn't.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/powerpc/kernel/cpu_setup_power.S