Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-22 Thread Ard Biesheuvel
On Wed, 22 Sept 2021 at 14:45, Peter Maydell wrote: > > On Wed, 22 Sept 2021 at 12:41, Ard Biesheuvel wrote: > > > > On Thu, 16 Sept 2021 at 18:17, Peter Maydell > > wrote: > > > > > > On Thu, 16 Sept 2021 at 17:05, Ard Biesheuvel wrote: > > > > I'd argue that compliance with the architecture

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-22 Thread Peter Maydell
On Wed, 22 Sept 2021 at 12:41, Ard Biesheuvel wrote: > > On Thu, 16 Sept 2021 at 18:17, Peter Maydell wrote: > > > > On Thu, 16 Sept 2021 at 17:05, Ard Biesheuvel wrote: > > > I'd argue that compliance with the architecture means that the > > > software should not clear RES1 bits > > > >

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-22 Thread Ard Biesheuvel
On Thu, 16 Sept 2021 at 18:17, Peter Maydell wrote: > > On Thu, 16 Sept 2021 at 17:05, Ard Biesheuvel wrote: > > I'd argue that compliance with the architecture means that the > > software should not clear RES1 bits > > Architecturally, RES1 means that "software > * Must not rely on the bit

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-16 Thread Alexander Graf
On 16.09.21 17:55, Peter Maydell wrote: > On Thu, 16 Sept 2021 at 16:30, Alexander Graf wrote: >> >> On 16.09.21 14:24, Peter Maydell wrote: >>> On Wed, 15 Sept 2021 at 19:10, Alexander Graf wrote: Now that we have working system register sync, we push more target CPU properties into

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-16 Thread Peter Maydell
On Thu, 16 Sept 2021 at 17:05, Ard Biesheuvel wrote: > I'd argue that compliance with the architecture means that the > software should not clear RES1 bits Architecturally, RES1 means that "software * Must not rely on the bit reading as 1. * Must use an SBOP policy to write to the bit."

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-16 Thread Peter Maydell
On Thu, 16 Sept 2021 at 16:30, Alexander Graf wrote: > > > On 16.09.21 14:24, Peter Maydell wrote: > > On Wed, 15 Sept 2021 at 19:10, Alexander Graf wrote: > >> Now that we have working system register sync, we push more target CPU > >> properties into the virtual machine. That might be useful

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-16 Thread Ard Biesheuvel
On Thu, 16 Sept 2021 at 17:56, Peter Maydell wrote: > > On Thu, 16 Sept 2021 at 16:30, Alexander Graf wrote: > > > > > > On 16.09.21 14:24, Peter Maydell wrote: > > > On Wed, 15 Sept 2021 at 19:10, Alexander Graf wrote: > > >> Now that we have working system register sync, we push more target

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-16 Thread Alexander Graf
On 16.09.21 14:24, Peter Maydell wrote: > On Wed, 15 Sept 2021 at 19:10, Alexander Graf wrote: >> Now that we have working system register sync, we push more target CPU >> properties into the virtual machine. That might be useful in some >> situations, but is not the typical case that users

Re: [PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-16 Thread Peter Maydell
On Wed, 15 Sept 2021 at 19:10, Alexander Graf wrote: > > Now that we have working system register sync, we push more target CPU > properties into the virtual machine. That might be useful in some > situations, but is not the typical case that users want. > > So let's add a -cpu host option that

[PATCH v11 06/10] hvf: arm: Implement -cpu host

2021-09-15 Thread Alexander Graf
Now that we have working system register sync, we push more target CPU properties into the virtual machine. That might be useful in some situations, but is not the typical case that users want. So let's add a -cpu host option that allows them to explicitly pass all CPU capabilities of their host