Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-04-26 Thread Andrew Jones
On Sat, Apr 25, 2020 at 11:24:14AM +0200, Paolo Bonzini wrote: > On 24/04/20 14:16, Dr. David Alan Gilbert wrote: > >>> I was trying to work out whether we need to migrate this state, > >>> and I'm not sure. Andrew, do you know? I think this comes down > >>> to "at what points in QEMU's kvm run loo

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-04-25 Thread Paolo Bonzini
On 24/04/20 14:16, Dr. David Alan Gilbert wrote: >>> I was trying to work out whether we need to migrate this state, >>> and I'm not sure. Andrew, do you know? I think this comes down >>> to "at what points in QEMU's kvm run loop can migration kick in", >>> and specifically if we get a KVM_EXIT_ARM

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-04-24 Thread Peter Maydell
On Fri, 24 Apr 2020 at 13:17, Dr. David Alan Gilbert wrote: > > * Andrew Jones (drjo...@redhat.com) wrote: > > On Fri, Apr 17, 2020 at 11:39:25AM +0100, Peter Maydell wrote: > > > I was trying to work out whether we need to migrate this state, > > > and I'm not sure. Andrew, do you know? I think t

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-04-24 Thread Dr. David Alan Gilbert
* Andrew Jones (drjo...@redhat.com) wrote: > On Fri, Apr 17, 2020 at 11:39:25AM +0100, Peter Maydell wrote: > > On Mon, 23 Mar 2020 at 11:32, Beata Michalska > > wrote: > > > > > > On ARMv7 & ARMv8 some load/store instructions might trigger a data abort > > > exception with no valid ISS info to be

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-04-18 Thread Beata Michalska
On Fri, 17 Apr 2020 at 14:10, Andrew Jones wrote: > > On Fri, Apr 17, 2020 at 11:39:25AM +0100, Peter Maydell wrote: > > On Mon, 23 Mar 2020 at 11:32, Beata Michalska > > wrote: > > > > > > On ARMv7 & ARMv8 some load/store instructions might trigger a data abort > > > exception with no valid ISS

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-04-17 Thread Andrew Jones
On Fri, Apr 17, 2020 at 11:39:25AM +0100, Peter Maydell wrote: > On Mon, 23 Mar 2020 at 11:32, Beata Michalska > wrote: > > > > On ARMv7 & ARMv8 some load/store instructions might trigger a data abort > > exception with no valid ISS info to be decoded. The lack of decode info > > makes it at least

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-04-17 Thread Peter Maydell
On Mon, 23 Mar 2020 at 11:32, Beata Michalska wrote: > > On ARMv7 & ARMv8 some load/store instructions might trigger a data abort > exception with no valid ISS info to be decoded. The lack of decode info > makes it at least tricky to emulate those instruction which is one of the > (many) reasons w

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-03-25 Thread Beata Michalska
Hi, On Mon, 23 Mar 2020 at 12:44, Andrew Jones wrote: > > On Mon, Mar 23, 2020 at 11:32:26AM +, Beata Michalska wrote: > > On ARMv7 & ARMv8 some load/store instructions might trigger a data abort > > exception with no valid ISS info to be decoded. The lack of decode info > > makes it at least

Re: [PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-03-23 Thread Andrew Jones
On Mon, Mar 23, 2020 at 11:32:26AM +, Beata Michalska wrote: > On ARMv7 & ARMv8 some load/store instructions might trigger a data abort > exception with no valid ISS info to be decoded. The lack of decode info > makes it at least tricky to emulate those instruction which is one of the > (many)

[PATCH v4 1/2] target/arm: kvm: Handle DABT with no valid ISS

2020-03-23 Thread Beata Michalska
On ARMv7 & ARMv8 some load/store instructions might trigger a data abort exception with no valid ISS info to be decoded. The lack of decode info makes it at least tricky to emulate those instruction which is one of the (many) reasons why KVM will not even try to do so. Add support for handling tho