Thread (28 messages) 28 messages, 7 authors, 2017-10-14

Re: [PATCH v2 1/9] KVM: PPC: Book3S HV: Fix H_REGISTER_VPA VPA size validation

From: Paul Mackerras <hidden>
Date: 2017-08-31 03:44:09

On Sun, Aug 13, 2017 at 11:33:38AM +1000, Nicholas Piggin wrote:
KVM currently validates the size of the VPA registered by the client
against sizeof(struct lppaca), however we align (and therefore size)
that struct to 1kB to avoid crossing a 4kB boundary in the client.

PAPR calls for sizes >= 640 bytes to be accepted. Hard code this with
a comment.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Thanks, patch applied to my kvm-ppc-next branch.

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help