> Subject: Re: [PATCH 08/10] arm64: sysregs: correct SCTLR_EL1_RES > > On 07.08.20 05:06, [email protected] wrote: > > From: Peng Fan <[email protected]> > > > > bit23 is SPAN, not reserved bit. > > > > This is not correct, see D7.2.81 in the ARMv8 manual. > > Where did you get this from? What is it trying to fix?
DDI0487D_a_armv8_arm, " D12.2.100 SCTLR_EL1, System Control Register (EL1)" This is just to align with Linux Kernel, since the head.S in the bootloader needs this. Regards, Peng. > > Jan > > > Signed-off-by: Peng Fan <[email protected]> > > --- > > hypervisor/arch/arm64/include/asm/sysregs.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/hypervisor/arch/arm64/include/asm/sysregs.h > > b/hypervisor/arch/arm64/include/asm/sysregs.h > > index 0105b109..a7370373 100644 > > --- a/hypervisor/arch/arm64/include/asm/sysregs.h > > +++ b/hypervisor/arch/arm64/include/asm/sysregs.h > > @@ -64,7 +64,7 @@ > > #define SCTLR_EE_BIT (1 << 25) > > #define SCTLR_UCI_BIT (1 << 26) > > > > -#define SCTLR_EL1_RES1 ((1 << 11) | (1 << 20) | (3 << 22) | (3 << 28)) > > +#define SCTLR_EL1_RES1 ((1 << 11) | (1 << 20) | (1 << 22) | (3 << 28)) > > #define SCTLR_EL2_RES1 ((3 << 4) | (1 << 11) | (1 << 16) | (1 << 18) > \ > > | (3 << 22) | (3 << 28)) > > > > > > -- > Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate > Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/AM5PR0402MB275665257ADDAFEAE4B42B8688450%40AM5PR0402MB2756.eurprd04.prod.outlook.com.
