diff options
| author | Marc Zyngier <[email protected]> | 2023-09-27 09:09:03 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2023-09-30 18:15:43 +0000 |
| commit | f3f60a56539108dacfd87b6514398b3970daec54 (patch) | |
| tree | e0563e86393b20db3d0a3bd0bf9829868a2bd11c /scripts/rustdoc_test_gen.rs | |
| parent | KVM: arm64: vgic-its: Treat the collection target address as a vcpu_id (diff) | |
| download | kernel-f3f60a56539108dacfd87b6514398b3970daec54.tar.gz kernel-f3f60a56539108dacfd87b6514398b3970daec54.zip | |
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 <[email protected]>
Tested-by: Shameer Kolothum <[email protected]>
Reviewed-by: Zenghui Yu <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
