[PATCH v4 00/21] KVM: arm64: Rewrite page-table code and fault handling

Will Deacon will at kernel.org
Thu Sep 10 06:58:36 EDT 2020


On Thu, Sep 10, 2020 at 02:06:04PM +1000, Gavin Shan wrote:
> On 9/8/20 1:23 AM, Will Deacon wrote:
> > Here's version four of the KVM page-table rework I previously posted here:
> > 
> >    v1: https://lore.kernel.org/r/20200730153406.25136-1-will@kernel.org
> >    v2: https://lore.kernel.org/r/20200818132818.16065-1-will@kernel.org
> >    v3: https://lore.kernel.org/r/20200825093953.26493-1-will@kernel.org
> > 
> > Changes since v3 include:
> > 
> >    * Removed some more unused code from the old implementation
> >    * Renumbered KVM_PGTABLE_PROT_* to match file permissions in hex dumps
> >    * Simplified kvm_granule_shift() and removed kvm_start_level()
> >    * Only clear valid bit when invalidating a PTE, leaving phys addr intact
> >    * Fail gracefully when attempting to allocate without a memory cache
> >    * Rewrote stage2_apply_range() as a function instead of a macro
> >    * Fixed fault address rounding with hugetlbfs
> >    * Fixed permission fault handling when dirty logging is enabled
> >    * Added comments
> >    * Added reviewer tags
> > 
> > Many thanks to Alex and Gavin for their comments.
> > 
> > Will
> > 
> 
> [...]
> 
> Eventually, I'm lucky finding a machine from our pool where 16KB page
> size is supported. I tried this series (v4) on this machine, everything
> looks good as we expected:

Thanks, Gavin! I'll probably spin another version this week, just collecting
the last few comments I've had.

Will



More information about the linux-arm-kernel mailing list