Re: [PATCH v2] s390x: kvm: adjust diag318 resets to retain data

2021-11-09 Thread Collin Walling
On 11/9/21 12:01, Janosch Frank wrote: > On 11/9/21 16:58, Collin Walling wrote: >> On 11/9/21 05:48, Janosch Frank wrote: >>> On 11/9/21 08:32, Christian Borntraeger wrote: Am 08.11.21 um 22:13 schrieb Collin Walling: > The CPNC portion of the diag 318 data is erroneously reset

Re: [PATCH v2] s390x: kvm: adjust diag318 resets to retain data

2021-11-09 Thread Janosch Frank
On 11/9/21 16:58, Collin Walling wrote: On 11/9/21 05:48, Janosch Frank wrote: On 11/9/21 08:32, Christian Borntraeger wrote: Am 08.11.21 um 22:13 schrieb Collin Walling: The CPNC portion of the diag 318 data is erroneously reset during an initial CPU reset caused by SIGP. Let's go ahead

Re: [PATCH v2] s390x: kvm: adjust diag318 resets to retain data

2021-11-09 Thread Collin Walling
On 11/9/21 05:48, Janosch Frank wrote: > On 11/9/21 08:32, Christian Borntraeger wrote: >> >> >> Am 08.11.21 um 22:13 schrieb Collin Walling: >>> The CPNC portion of the diag 318 data is erroneously reset during an >>> initial CPU reset caused by SIGP. Let's go ahead and relocate the >>>

Re: [PATCH v2] s390x: kvm: adjust diag318 resets to retain data

2021-11-09 Thread Janosch Frank
On 11/9/21 08:32, Christian Borntraeger wrote: Am 08.11.21 um 22:13 schrieb Collin Walling: The CPNC portion of the diag 318 data is erroneously reset during an initial CPU reset caused by SIGP. Let's go ahead and relocate the diag318_info field within the CPUS390XState struct such that it is

Re: [PATCH v2] s390x: kvm: adjust diag318 resets to retain data

2021-11-08 Thread Christian Borntraeger
Am 08.11.21 um 22:13 schrieb Collin Walling: The CPNC portion of the diag 318 data is erroneously reset during an initial CPU reset caused by SIGP. Let's go ahead and relocate the diag318_info field within the CPUS390XState struct such that it is only zeroed during a clear reset. This way,

[PATCH v2] s390x: kvm: adjust diag318 resets to retain data

2021-11-08 Thread Collin Walling
The CPNC portion of the diag 318 data is erroneously reset during an initial CPU reset caused by SIGP. Let's go ahead and relocate the diag318_info field within the CPUS390XState struct such that it is only zeroed during a clear reset. This way, the CPNC will be retained for each VCPU in the