diff options
author | Ackerley Tng <ackerleytng@google.com> | 2024-02-22 16:42:50 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-02-28 20:58:12 +0000 |
commit | 57e19f05775847d9d8565dad2cee6bbec03cdb06 (patch) | |
tree | 19477911d2e8e60d0ae7844fff951ad3fea0b06f /scripts/gdb/linux/tasks.py | |
parent | 35f50c91c43e4447803c632adba4ebceaa0b692b (diff) |
KVM: selftests: Add a macro to iterate over a sparsebit range
Add sparsebit_for_each_set_range() to allow iterator over a range of set
bits in a range. This will be used by x86 SEV guests to process protected
physical pages (each such page needs to be encrypted _after_ being "added"
to the VM).
Tested-by: Carlos Bilbao <carlos.bilbao@amd.com>
Signed-off-by: Ackerley Tng <ackerleytng@google.com>
[sean: split to separate patch]
Link: https://lore.kernel.org/r/20240223004258.3104051-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions