aboutsummaryrefslogtreecommitdiff
path: root/io_uring/net.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-09-27 10:09:03 +0100
committerOliver Upton <oliver.upton@linux.dev>2023-09-30 18:15:43 +0000
commitf3f60a56539108dacfd87b6514398b3970daec54 (patch)
treee0563e86393b20db3d0a3bd0bf9829868a2bd11c /io_uring/net.h
parentd455d366c451e68781122c693e2e357c673ee807 (diff)
KVM: arm64: vgic-v3: Refactor GICv3 SGI generation
As we're about to change the way SGIs are sent, start by splitting out some of the basic functionnality: instead of intermingling the broadcast and non-broadcast cases with the actual SGI generation, perform the following cleanups: - move the SGI queuing into its own helper - split the broadcast code from the affinity-driven code - replace the mask/shift combinations with FIELD_GET() - fix the confusion between vcpu_id and vcpu when handling the broadcast case The result is much more readable, and paves the way for further optimisations. Tested-by: Joey Gouly <joey.gouly@arm.com> Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230927090911.3355209-4-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'io_uring/net.h')
0 files changed, 0 insertions, 0 deletions