On 2020-11-25 13:26, David Brazdil wrote:
I came up with the following patch on top of this series that seems to
compile without issue.
That seems to have an implicit dependency of sysreg.h on memory.h,
doesn't it?
I had it the other way round initially. I also tried including memory.h
in
> > > > +/*
> > > > + * Memory types available.
> > > > + *
> > > > + * IMPORTANT: MT_NORMAL must be index 0 since vm_get_page_prot() may
> > > > 'or' in
> > > > + * the MT_NORMAL_TAGGED memory type for PROT_MTE mappings.
> > > > Note
> > > > + * that protection_map[] only
On 2020-11-25 10:31, David Brazdil wrote:
On Mon, Nov 23, 2020 at 01:52:54PM +, Marc Zyngier wrote:
On Mon, 16 Nov 2020 20:42:58 +,
David Brazdil wrote:
>
> KVM currently initializes MAIR_EL2 to the value of MAIR_EL1. In
> preparation for initializing MAIR_EL2 before MAIR_EL1, move the
On Mon, Nov 23, 2020 at 01:52:54PM +, Marc Zyngier wrote:
> On Mon, 16 Nov 2020 20:42:58 +,
> David Brazdil wrote:
> >
> > KVM currently initializes MAIR_EL2 to the value of MAIR_EL1. In
> > preparation for initializing MAIR_EL2 before MAIR_EL1, move the constant
> > into a shared header
On Mon, 16 Nov 2020 20:42:58 +,
David Brazdil wrote:
>
> KVM currently initializes MAIR_EL2 to the value of MAIR_EL1. In
> preparation for initializing MAIR_EL2 before MAIR_EL1, move the constant
> into a shared header file. Since it is used for EL1 and EL2, rename to
> MAIR_ELx_SET.
>
>
KVM currently initializes MAIR_EL2 to the value of MAIR_EL1. In
preparation for initializing MAIR_EL2 before MAIR_EL1, move the constant
into a shared header file. Since it is used for EL1 and EL2, rename to
MAIR_ELx_SET.
Signed-off-by: David Brazdil
---
arch/arm64/include/asm/memory.h | 29
6 matches
Mail list logo