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@xxxxxxxxxx > > v2: https://lore.kernel.org/r/20200818132818.16065-1-will@xxxxxxxxxx > > v3: https://lore.kernel.org/r/20200825093953.26493-1-will@xxxxxxxxxx > > > > 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 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm