Skip to content

Commit

Permalink
nova: support iommu enabling per intel/amd
Browse files Browse the repository at this point in the history
separately. Genode's pc_platform_drv is now capable of driving the Intel
IOMMU completely. The "iommu" option is now split up into "iommu_intel" and
"iommu_amd", and is off for Intel with this commit.

Fixes genodelabs#5206
  • Loading branch information
alex-ab committed May 2, 2024
1 parent 010195c commit 7771292
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
14 changes: 0 additions & 14 deletions repos/base-nova/patches/allow_iommu_access.patch

This file was deleted.

2 changes: 1 addition & 1 deletion repos/base-nova/ports/nova.hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18c9f39895331b972b524a8572163f40f168b763
030c7f7648d3d41447c98ca726938b80460ee431
2 changes: 1 addition & 1 deletion repos/base-nova/ports/nova.port
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DOWNLOADS := nova.git

# r10 branch
URL(nova) := https://github.com/alex-ab/NOVA.git
REV(nova) := 9f727ff80f4ff7eb70b67cdbbed383a6af550038
REV(nova) := f35787e37eaf9774e246cc44345f0a65bf4df712
DIR(nova) := src/kernel/nova

PATCHES := $(sort $(wildcard $(REP_DIR)/patches/*.patch))
Expand Down
4 changes: 2 additions & 2 deletions tool/run/boot_dir/nova
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ proc run_boot_dir {binaries} {
if {[apply_microcode]} {
puts $fh " module2 /boot/micro.code micro.code"
}
puts $fh " module2 /boot/hypervisor hypervisor iommu [kernel_output]"
puts $fh " module2 /boot/hypervisor hypervisor iommu_amd [kernel_output]"
puts $fh " module2 /boot/image.elf.gz image.elf"
puts $fh "}"
close $fh
Expand All @@ -154,7 +154,7 @@ proc run_boot_dir {binaries} {
if {[apply_microcode]} {
puts $fh " load /boot/micro.code micro.code"
}
puts $fh " load /boot/hypervisor iommu [kernel_output]"
puts $fh " load /boot/hypervisor iommu_amd [kernel_output]"
puts $fh " load /boot/image.elf"
close $fh

Expand Down

0 comments on commit 7771292

Please sign in to comment.