Re: [PATCH v2 1/5] x86/mm: Recompute physical address for every page of per-CPU CEA mapping

From: Andrey Ryabinin
Date: Mon Nov 14 2022 - 09:09:07 EST




On 11/10/22 23:35, Sean Christopherson wrote:
> Recompute the physical address for each per-CPU page in the CPU entry
> area, a recent commit inadvertantly modified cea_map_percpu_pages() such
> that every PTE is mapped to the physical address of the first page.
>
> Fixes: 9fd429c28073 ("x86/kasan: Map shadow for percpu pages on demand")
> Cc: Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Reviewed-by: Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx>