Hi Julien, > -----Original Message----- > Subject: [PATCH 22/22] xen/arm64: Allow the admin to enable/disable the > directmap > > From: Julien Grall <jgr...@amazon.com> > > Implement the same command line option as x86 to enable/disable the > directmap. By default this is kept enabled. > > Also modify setup_directmap_mappings() to populate the L0 entries > related to the directmap area. > > Signed-off-by: Julien Grall <jgr...@amazon.com> > > ---- > This patch is in an RFC state we need to decide what to do for arm32. > > Also, this is moving code that was introduced in this series. So > this will need to be fix in the next version (assuming Arm64 will > be ready). > > This was sent early as PoC to enable secret-free hypervisor > on Arm64. > --- > @@ -606,16 +613,27 @@ void __init setup_directmap_mappings(unsigned > long base_mfn, > directmap_virt_end = XENHEAP_VIRT_START + nr_mfns * PAGE_SIZE; > } > #else /* CONFIG_ARM_64 */ > -/* Map the region in the directmap area. */ > +/* > + * This either populate a valid fdirect map, or allocates empty L1 tables
I guess this is a typo: s/fdirect/direct/ ? Reviewed-by: Henry Wang <henry.w...@arm.com> Kind regards, Henry