diff options
author | Ricardo Koller <ricarkol@google.com> | 2022-01-27 06:08:55 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-08 18:18:58 +0300 |
commit | 11024a7a0ac26dd31ddfa0f6590e158bdf9ab858 (patch) | |
tree | 3e8f12c7955c237f069ff5edf42dcadd4426e6f4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cc94d47ce16d4147d546e47c8248e8bd12ba5fe5 (diff) | |
download | linux-11024a7a0ac26dd31ddfa0f6590e158bdf9ab858.tar.xz |
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 <ricarkol@google.com>
Reported-by: Reiji Watanabe <reijiw@google.com>
Cc: Andrew Jones <drjones@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220127030858.3269036-3-ricarkol@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions