mbox series

[v2,0/1] css: SCHIB measurement block origin must be aligned

Message ID 1613741973-3711-1-git-send-email-pmorel@linux.ibm.com (mailing list archive)
Headers show
Series css: SCHIB measurement block origin must be aligned | expand

Message

Pierre Morel Feb. 19, 2021, 1:39 p.m. UTC
Hi,

By testing Measurement with KVM unit tests I fall on this:
we forgot to test the alignment of the MBO for measurement format 1.

The last 6 bits of the MBO must be null, i.e. an aligned on 64 bytes
of the MBO, otherwise an operand exception is recognized when issuing
a msch instruction.

Regards,
Pierre


Pierre Morel (1):
  css: SCHIB measurement block origin must be aligned

 target/s390x/ioinst.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Cornelia Huck Feb. 22, 2021, 11:11 a.m. UTC | #1
On Fri, 19 Feb 2021 14:39:32 +0100
Pierre Morel <pmorel@linux.ibm.com> wrote:

> Hi,
> 
> By testing Measurement with KVM unit tests I fall on this:
> we forgot to test the alignment of the MBO for measurement format 1.
> 
> The last 6 bits of the MBO must be null, i.e. an aligned on 64 bytes
> of the MBO, otherwise an operand exception is recognized when issuing
> a msch instruction.
> 
> Regards,
> Pierre
> 
> 
> Pierre Morel (1):
>   css: SCHIB measurement block origin must be aligned
> 
>  target/s390x/ioinst.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Thanks, applied.