mbox series

[0/2] A couple of EL2 refcounts fixes

Message ID 20211004090328.540941-1-qperret@google.com (mailing list archive)
Headers show
Series A couple of EL2 refcounts fixes | expand

Message

Quentin Perret Oct. 4, 2021, 9:03 a.m. UTC
Hi all,

This addresses a couple of issues Will has found with the refcounting of
page-tables at EL2. Patch 01 fixes a nasty bug, and probably wants to go
in -stable. Patch 02 fixes a small inconsistency which made it harder to
find refcount-related bugs at EL2.

Feedback welcome !

Thanks,
Quentin

Quentin Perret (2):
  KVM: arm64: Fix host stage-2 PGD refcount
  KVM: arm64: Report corrupted refcount at EL2

 arch/arm64/kvm/hyp/include/nvhe/gfp.h |  1 +
 arch/arm64/kvm/hyp/nvhe/mem_protect.c |  6 +++++-
 arch/arm64/kvm/hyp/nvhe/page_alloc.c  | 15 +++++++++++++++
 3 files changed, 21 insertions(+), 1 deletion(-)

Comments

Will Deacon Oct. 4, 2021, 9:39 a.m. UTC | #1
On Mon, Oct 04, 2021 at 10:03:12AM +0100, Quentin Perret wrote:
> This addresses a couple of issues Will has found with the refcounting of
> page-tables at EL2. Patch 01 fixes a nasty bug, and probably wants to go
> in -stable. Patch 02 fixes a small inconsistency which made it harder to
> find refcount-related bugs at EL2.
> 
> Feedback welcome !

For both patches:

Acked-by: Will Deacon <will@kernel.org>

Thanks!

Will