[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DBV826C4QLJX.1DV3DNBWNHHTJ@linux.ibm.com>
Date: Wed, 06 Aug 2025 11:03:10 +0200
From: "Christoph Schlameuss" <schlameuss@...ux.ibm.com>
To: "Claudio Imbrenda" <imbrenda@...ux.ibm.com>,
<linux-kernel@...r.kernel.org>
Cc: <linux-s390@...r.kernel.org>, <kvm@...r.kernel.org>, <david@...hat.com>,
<frankja@...ux.ibm.com>, <seiden@...ux.ibm.com>, <nsg@...ux.ibm.com>,
<nrb@...ux.ibm.com>, <hca@...ux.ibm.com>, <mhartmay@...ux.ibm.com>,
<borntraeger@...ibm.com>
Subject: Re: [PATCH v2 2/2] KVM: s390: Fix FOLL_*/FAULT_FLAG_* confusion
On Tue Aug 5, 2025 at 4:17 PM CEST, Claudio Imbrenda wrote:
> Pass the right type of flag to vcpu_dat_fault_handler(); it expects a
> FOLL_* flag (in particular FOLL_WRITE), but FAULT_FLAG_WRITE is passed
> instead.
>
> This still works because they happen to have the same integer value,
> but it's a mistake, thus the fix.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@...ux.ibm.com>
> Fixes: 05066cafa925 ("s390/mm/fault: Handle guest-related program interrupts in KVM")
> Acked-by: Christian Borntraeger <borntraeger@...ux.ibm.com>
> Reviewed-by: David Hildenbrand <david@...hat.com>
Reviewed-by: Christoph Schlameuss <schlameuss@...ux.ibm.com>
[...]
Powered by blists - more mailing lists