Re: [PATCH v2 5/5] KVM: s390: Properly reset zero bit in PGSTE

From: Christian Borntraeger

Date: Tue May 19 2026 - 08:06:34 EST


Am 19.05.26 um 13:38 schrieb Claudio Imbrenda:
On Mon, 18 May 2026 13:44:45 +0200
Christian Borntraeger <borntraeger@xxxxxxxxxx> wrote:

Am 12.05.26 um 19:52 schrieb Claudio Imbrenda:
When calling _gmap_ptep_xchg(), always clear the pgste.zero bit. This
prevents the page from being accidentally discarded when getting
unmapped.

Ideally have some example in the patch description, that makes review easier.>

will do

Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>

Was this broken before the rework as well? Do we need a stable backport into 6.19
and older?

no, this breakage is a product of the gmap rewrite

Then please add a Fixes tag.