Thread (132 messages) 132 messages, 8 authors, 2017-05-04
STALE3357d REVIEWED: 1 (0M)

[PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

From: Prakash B <hidden>
Date: 2017-04-26 11:32:32
Also in: kvm, kvmarm

On Fri, Apr 14, 2017 at 3:45 PM, Eric Auger [off-list ref] wrote:
Add a generic lookup_table() helper whose role consists in
scanning a contiguous table located in guest RAM and applying
a callback on each entry. Entries can be handled as linked lists
since the callback may return an offset to the next entry and
also tell that an entry is the last one.

Helper functions also are added to compute the device/event ID
offset to the next DTE/ITE.

compute_next_devid_offset, compute_next_eventid_offset and
lookup_table will become static in subsequent patches

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Prakash, Brahmajyosyula <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help