Re: [PATCH v11 09/16] s390x: protvirt: SCLP interpretation

2020-03-19 Thread Christian Borntraeger
On 19.03.20 14:19, 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, >

[PATCH v11 09/16] s390x: protvirt: SCLP interpretation

2020-03-19 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