diff options
author | Ricardo Koller <[email protected]> | 2022-01-26 19:08:55 -0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-02-08 15:18:58 +0000 |
commit | 11024a7a0ac26dd31ddfa0f6590e158bdf9ab858 (patch) | |
tree | 3e8f12c7955c237f069ff5edf42dcadd4426e6f4 /net/lapb/lapb_timer.c | |
parent | cc94d47ce16d4147d546e47c8248e8bd12ba5fe5 (diff) |
kvm: selftests: aarch64: pass vgic_irq guest args as a pointer
The guest in vgic_irq gets its arguments in a struct. This struct used
to fit nicely in a single register so vcpu_args_set() was able to pass
it by value by setting x0 with it. Unfortunately, this args struct grew
after some commits and some guest args became random (specically
kvm_supports_irqfd).
Fix this by passing the guest args as a pointer (after allocating some
guest memory for it).
Signed-off-by: Ricardo Koller <[email protected]>
Reported-by: Reiji Watanabe <[email protected]>
Cc: Andrew Jones <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions