summaryrefslogtreecommitdiffstats
path: root/kernel/sched/cpufreq.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2017-02-08 05:20:04 +0100
committerChristoffer Dall <cdall@linaro.org>2017-05-08 14:38:10 +0200
commit920a7a8fa92ae0ec73c4f6d6f15c01f86017f20d (patch)
treedefb52db0f4aa5110d26cb0d9c54972b1698e924 /kernel/sched/cpufreq.c
parent528297f560add8b7cac2f401d6aeb5bb3d1ef345 (diff)
downloadblackbird-obmc-linux-920a7a8fa92ae0ec73c4f6d6f15c01f86017f20d.tar.gz
blackbird-obmc-linux-920a7a8fa92ae0ec73c4f6d6f15c01f86017f20d.zip
KVM: arm64: vgic-its: Add infrastructure for table lookup
Add a generic scan_its_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 id offset to the next entry and also indicate whether the 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 scan_table will become static in subsequent patches Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Christoffer Dall <cdall@linaro.org> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'kernel/sched/cpufreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud