Skip to content

Commit 42612d0

Browse files
committed
devices: generalize interrupt controllers
So far we didn't have a general way for creating an managing IRQ chips. On KVM systems, the in-kernel chip was implicitly created by vstate, while on HVF the userspace gicv3 was created explicitly. In this change we generalize IRQ management behind IrqChip, and we make the creation of the IRQ chip explicit for every platform. This is a pretty large commit, but all these changes must be done in an atomic way. Signed-off-by: Sergio Lopez <[email protected]>
1 parent 097b88a commit 42612d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+779
-1249
lines changed

Cargo.lock

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/arch/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,5 @@ utils = { path = "../utils" }
2121
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] }
2222
kvm-ioctls = ">=0.17"
2323

24-
[target.'cfg(target_arch = "aarch64")'.dependencies]
25-
vm-fdt = ">= 0.2.0"
26-
2724
[dev-dependencies]
2825
utils = { path = "../utils" }

src/arch/src/aarch64/linux/gic.rs

Lines changed: 0 additions & 160 deletions
This file was deleted.

src/arch/src/aarch64/linux/gicv2.rs

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)