powerpc/mm/radix: Update LPCR HR bit as per ISA

Michael Ellerman mpe at ellerman.id.au
Wed Jun 8 14:33:29 AEST 2016


On Thu, 2016-02-06 at 09:40:57 UTC, "Aneesh Kumar K.V" wrote:
> We need to se HR bit LPCR for radix partitions.
 
Please update the change log with something similar to what Ben sent.

> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
> ---
>  arch/powerpc/include/asm/reg.h  | 1 +
>  arch/powerpc/mm/pgtable-radix.c | 4 ++--
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h
> index c1e82e968506..652147ef5ae3 100644
> --- a/arch/powerpc/include/asm/reg.h
> +++ b/arch/powerpc/include/asm/reg.h
> @@ -348,6 +348,7 @@
>  #define   LPCR_RMI     0x00000002      /* real mode is cache inhibit */
>  #define   LPCR_HDICE   0x00000001      /* Hyp Decr enable (HV,PR,EE) */
>  #define   LPCR_UPRT    0x00400000      /* Use Process Table (ISA 3) */
> +#define	  LPCR_HR      0x00100000

What is this bit? Where is it documented?

Also white space is wrong.

cheers


More information about the Linuxppc-dev mailing list