[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DGALQWNIDAFQ.VQK91435WO52@linux.ibm.com>
Date: Mon, 09 Feb 2026 18:20:36 +0100
From: "Christoph Schlameuss" <schlameuss@...ux.ibm.com>
To: "Claudio Imbrenda" <imbrenda@...ux.ibm.com>, <kvm@...r.kernel.org>
Cc: <linux-kernel@...r.kernel.org>, <linux-s390@...r.kernel.org>,
<borntraeger@...ibm.com>, <frankja@...ux.ibm.com>, <nsg@...ux.ibm.com>,
<nrb@...ux.ibm.com>, <seiden@...ux.ibm.com>, <gra@...ux.ibm.com>,
<schlameuss@...ux.ibm.com>, <hca@...ux.ibm.com>, <svens@...ux.ibm.com>,
<agordeev@...ux.ibm.com>, <gor@...ux.ibm.com>, <david@...nel.org>,
<gerald.schaefer@...ux.ibm.com>
Subject: Re: [PATCH v1 1/3] KVM: s390: Use guest address to mark guest page
dirty
On Fri Feb 6, 2026 at 3:35 PM CET, Claudio Imbrenda wrote:
> Stop using the userspace address to mark the guest page dirty.
> mark_page_dirty() expects a guest frame number, but was being passed a
> host virtual frame number. When slot == NULL, mark_page_dirty_in_slot()
> does nothing and does not complain.
>
> This means that in some circumstances the dirtiness of the guest page
> might have been lost.
>
> Fix by adding two fields in struct kvm_s390_adapter_int to keep the
> guest addressses, and use those for mark_page_dirty().
>
> Fixes: f65470661f36 ("KVM: s390/interrupt: do not pin adapter interrupt pages")
> Signed-off-by: Claudio Imbrenda <imbrenda@...ux.ibm.com>
Reviewed-by: Christoph Schlameuss <schlameuss@...ux.ibm.com>
> ---
> arch/s390/kvm/interrupt.c | 6 ++++--
> include/linux/kvm_host.h | 2 ++
> 2 files changed, 6 insertions(+), 2 deletions(-)
Powered by blists - more mailing lists