Re: [PATCH v4 0/2] KVM: s390: Fix AR parameter in ioctl

2024-02-21 Thread Heiko Carstens
On Wed, Feb 21, 2024 at 08:49:58AM +0100, Janosch Frank wrote: > On 2/20/24 22:12, Eric Farman wrote: > > Hi Janosch, > > > > Here is a new (final?) version for the AR/MEM_OP issue I'm attempting to > > address. Hopefully they can be picked up to whatever tree makes sense. > > > > I've got good

Re: [PATCH v3 1/2] KVM: s390: fix access register usage in ioctls

2024-02-19 Thread Heiko Carstens
ch/s390/kvm/gaccess.c | 3 ++- > arch/s390/kvm/kvm-s390.c | 3 +++ > 3 files changed, 6 insertions(+), 1 deletion(-) Reviewed-by: Heiko Carstens

Re: [PATCH v2 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-16 Thread Heiko Carstens
On Thu, Feb 15, 2024 at 09:53:43PM +0100, Eric Farman wrote: > The routine ar_translation() can be reached by both the instruction > intercept path (where the access registers had been loaded with the > guest register contents), and the MEM_OP ioctls (which hadn't). > This latter case means that an

Re: [PATCH v1 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-12 Thread Heiko Carstens
On Mon, Feb 12, 2024 at 11:21:30AM +0100, Heiko Carstens wrote: > Or maybe a TIF flag with different semantics: "guest save area does not > reflect current state - which is within registers". Something like the below; untested of course. But I guess there must be some arch spe

Re: [PATCH v1 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-12 Thread Heiko Carstens
On Fri, Feb 09, 2024 at 09:45:38PM +0100, Eric Farman wrote: > The routine ar_translation() is called by get_vcpu_asce(), which is > called by both the instruction intercept path (where the access > registers had been loaded with the guest's values), and the MEM_OP > ioctl (which hadn't). This mean