Re: [PATCH v7 08/15] s390x: protvirt: SCLP interpretation

2020-03-09 Thread Janosch Frank
On 3/9/20 4:27 PM, David Hildenbrand wrote: > On 09.03.20 12:21, Janosch Frank wrote: >> SCLP for a protected guest is done over the SIDAD, so we need to use >> the s390_cpu_pv_mem_* functions to access the SIDAD instead of guest >> memory when reading/writing SCBs. >> >> To not confuse the sclp em

Re: [PATCH v7 08/15] s390x: protvirt: SCLP interpretation

2020-03-09 Thread David Hildenbrand
On 09.03.20 12:21, Janosch Frank wrote: > SCLP for a protected guest is done over the SIDAD, so we need to use > the s390_cpu_pv_mem_* functions to access the SIDAD instead of guest > memory when reading/writing SCBs. > > To not confuse the sclp emulation, we set 0x4000 as the SCCB address, > sinc

[PATCH v7 08/15] s390x: protvirt: SCLP interpretation

2020-03-09 Thread Janosch Frank
SCLP for a protected guest is done over the SIDAD, so we need to use the s390_cpu_pv_mem_* functions to access the SIDAD instead of guest memory when reading/writing SCBs. To not confuse the sclp emulation, we set 0x4000 as the SCCB address, since the function that injects the sclp external interr