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

2021-11-08 Thread Collin Walling
On 11/8/21 12:40, Christian Borntraeger wrote: > > > Am 08.11.21 um 18:02 schrieb Janosch Frank: >> On 11/5/21 23:46, Collin Walling wrote: >>> 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_in

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

2021-11-08 Thread Christian Borntraeger
Am 08.11.21 um 18:02 schrieb Janosch Frank: On 11/5/21 23:46, Collin Walling wrote: 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 ze

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

2021-11-08 Thread Collin Walling
On 11/8/21 12:02, Janosch Frank wrote: > On 11/5/21 23:46, Collin Walling wrote: >> 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

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

2021-11-08 Thread Janosch Frank
On 11/5/21 23:46, Collin Walling wrote: 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 wi

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

2021-11-08 Thread Collin Walling
On 11/8/21 03:07, Christian Borntraeger wrote: > > > Am 05.11.21 um 23:46 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

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

2021-11-08 Thread Christian Borntraeger
Am 05.11.21 um 23:46 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, the

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

2021-11-05 Thread Collin Walling
On 11/5/21 18:46, Collin Walling wrote: > 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 C

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

2021-11-05 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 config