aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2022-06-22 08:38:36 +0200
committerJuergen Gross <[email protected]>2022-08-01 07:42:49 +0200
commita603002eea8213eec5211be5a85db8340aea06d0 (patch)
tree5154e240ad4f487a866e74a055671d66b8b12b6d /scripts/gdb/linux/clk.py
parent8441dac05e7f346abc4f63a15d4af0adeabfaa9b (diff)
virtio: replace restricted mem access flag with callback
Instead of having a global flag to require restricted memory access for all virtio devices, introduce a callback which can select that requirement on a per-device basis. For convenience add a common function returning always true, which can be used for use cases like SEV. Per default use a callback always returning false. As the callback needs to be set in early init code already, add a virtio anchor which is builtin in case virtio is enabled. Signed-off-by: Juergen Gross <[email protected]> Tested-by: Oleksandr Tyshchenko <[email protected]> # Arm64 guest using Xen Reviewed-by: Stefano Stabellini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions