Re: [PATCH v9 09/15] s390x: protvirt: Set guest IPL PSW

2020-03-13 Thread Claudio Imbrenda
On Fri, 13 Mar 2020 15:21:07 +0100 Janosch Frank wrote: > On 3/13/20 1:57 PM, Claudio Imbrenda wrote: > > On Wed, 11 Mar 2020 09:21:45 -0400 > > Janosch Frank wrote: > > > >> Handling of CPU reset and setting of the IPL psw from guest > >> storage at offset 0 is done by a Ultravisor call. Let

Re: [PATCH v9 09/15] s390x: protvirt: Set guest IPL PSW

2020-03-13 Thread Claudio Imbrenda
On Fri, 13 Mar 2020 15:21:07 +0100 Janosch Frank wrote: > On 3/13/20 1:57 PM, Claudio Imbrenda wrote: > > On Wed, 11 Mar 2020 09:21:45 -0400 > > Janosch Frank wrote: > > > >> Handling of CPU reset and setting of the IPL psw from guest > >> storage at offset 0 is done by a Ultravisor call. Let

Re: [PATCH v9 09/15] s390x: protvirt: Set guest IPL PSW

2020-03-13 Thread Janosch Frank
On 3/13/20 1:57 PM, Claudio Imbrenda wrote: > On Wed, 11 Mar 2020 09:21:45 -0400 > Janosch Frank wrote: > >> Handling of CPU reset and setting of the IPL psw from guest storage at >> offset 0 is done by a Ultravisor call. Let's only fetch it if >> necessary. >> >> Signed-off-by: Janosch Frank >>

Re: [PATCH v9 09/15] s390x: protvirt: Set guest IPL PSW

2020-03-13 Thread Christian Borntraeger
On 13.03.20 15:21, Janosch Frank wrote: [..] >>> +} else { >>> +s390_cpu_set_state(S390_CPU_STATE_LOAD, cpu); >>> +} >>> s390_cpu_set_state(S390_CPU_STATE_OPERATING, cpu); >>> } >>> #endif >> >> I don't understand why you set the state to S390_CPU_STATE_LOAD and >> then im

Re: [PATCH v9 09/15] s390x: protvirt: Set guest IPL PSW

2020-03-13 Thread Claudio Imbrenda
On Wed, 11 Mar 2020 09:21:45 -0400 Janosch Frank wrote: > Handling of CPU reset and setting of the IPL psw from guest storage at > offset 0 is done by a Ultravisor call. Let's only fetch it if > necessary. > > Signed-off-by: Janosch Frank > Reviewed-by: Thomas Huth > Reviewed-by: David Hildenb

Re: [PATCH v9 09/15] s390x: protvirt: Set guest IPL PSW

2020-03-12 Thread Christian Borntraeger
On 11.03.20 14:21, Janosch Frank wrote: > Handling of CPU reset and setting of the IPL psw from guest storage at > offset 0 is done by a Ultravisor call. Let's only fetch it if > necessary. > > Signed-off-by: Janosch Frank > Reviewed-by: Thomas Huth > Reviewed-by: David Hildenbrand Reviewed

[PATCH v9 09/15] s390x: protvirt: Set guest IPL PSW

2020-03-11 Thread Janosch Frank
Handling of CPU reset and setting of the IPL psw from guest storage at offset 0 is done by a Ultravisor call. Let's only fetch it if necessary. Signed-off-by: Janosch Frank Reviewed-by: Thomas Huth Reviewed-by: David Hildenbrand --- target/s390x/cpu.c | 22 +- 1 file change