[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3daf6b9-c7e9-89f3-b6ab-d8cf89de0b86@linux.ibm.com>
Date: Wed, 12 Jul 2023 13:58:49 +0200
From: Janosch Frank <frankja@...ux.ibm.com>
To: Claudio Imbrenda <imbrenda@...ux.ibm.com>, kvm@...r.kernel.org
Cc: linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
mhartmay@...ux.ibm.com, nsg@...ux.ibm.com, borntraeger@...ibm.com,
nrb@...ux.ibm.com
Subject: Re: [PATCH v2 2/2] KVM: s390: pv: fix index value of replaced ASCE
On 7/5/23 13:19, Claudio Imbrenda wrote:
> The index field of the struct page corresponding to a guest ASCE should
> be 0. When replacing the ASCE in s390_replace_asce(), the index of the
> new ASCE should also be set to 0.
>
> Having the wrong index might lead to the wrong addresses being passed
> around when notifying pte invalidations, and eventually to validity
> intercepts (VM crash) if the prefix gets unmapped and the notifier gets
> called with the wrong address.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@...ux.ibm.com>
No fixes tag?
Reviewed-by: Janosch Frank <frankja@...ux.ibm.com>
Powered by blists - more mailing lists