Re: [PATCH v2 1/1] KVM: s390: vsie: clarifications on setting the APCB

From: Pierre Morel
Date: Wed Oct 26 2022 - 04:18:19 EST




On 10/25/22 18:20, Claudio Imbrenda wrote:
On Tue, 25 Oct 2022 15:17:36 +0200
Pierre Morel <pmorel@xxxxxxxxxxxxx> wrote:

On 10/25/22 11:30, David Hildenbrand wrote:
On 25.10.22 11:13, Pierre Morel wrote:
The APCB is part of the CRYCB.
The calculation of the APCB origin can be done by adding
the APCB offset to the CRYCB origin.

Current code makes confusing transformations, converting
the CRYCB origin to a pointer to calculate the APCB origin.


While at it, can we rename "crycb_o" to "crycb_gpa" and "apcb_o" to
"apcb_gpa".

These are not pointers but guest physical addresses.

I can do that.
the _o came from the name in the documentation "origin"
but gpa is more obvious.


with that fixed:

Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>

Thanks,
Pierre

--
Pierre Morel
IBM Lab Boeblingen