Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nova: support to enable kernel iommu handling for amd/intel separetly #5206

Open
alex-ab opened this issue May 2, 2024 · 2 comments
Open
Assignees

Comments

@alex-ab
Copy link
Member

alex-ab commented May 2, 2024

The Genode pc_platform_drv component is now able to drive the iommu for Intel. Add an option to enable Intel/AMD iommu handling separately.

@alex-ab alex-ab added the feature label May 2, 2024
@alex-ab alex-ab self-assigned this May 2, 2024
alex-ab added a commit to alex-ab/genode that referenced this issue May 2, 2024
- no need to explicitly switch off vga anymore
- use pcid for VMs which improves TLB usage if multiple vCPUs on same
  pCPU is used, which happens to happen on Sculpt.

Issue genodelabs#5206
alex-ab added a commit to alex-ab/genode that referenced this issue May 2, 2024
separately. Genode's pc_platform_drv is in 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
alex-ab added a commit to alex-ab/genode that referenced this issue May 2, 2024
- no need to explicitly switch off vga anymore
- use vPID for VMs which improves TLB usage if multiple vCPUs on same
  pCPU is used, which happens to happen on Sculpt.

Issue genodelabs#5206
alex-ab added a commit to alex-ab/genode that referenced this issue May 2, 2024
separately. Genode's pc_platform_drv is in 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
alex-ab added a commit to alex-ab/genode that referenced this issue May 2, 2024
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
@alex-ab alex-ab changed the title nova: support to enble kernel iommu handling for amd/intel separetly nova: support to enable kernel iommu handling for amd/intel separetly May 2, 2024
alex-ab added a commit to alex-ab/genode that referenced this issue May 2, 2024
- no need to explicitly switch off vga anymore
- use vPID for VMs which improves TLB usage if multiple vCPUs on same
  pCPU is used, which happens to happen on Sculpt.

Issue genodelabs#5206
alex-ab added a commit to alex-ab/genode that referenced this issue May 2, 2024
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
alex-ab added a commit to alex-ab/genode that referenced this issue May 3, 2024
separately.  The "iommu" option is now split up into "iommu_intel" and
"iommu_amd" and can thereby easily disabled if required for one of the CPU
vendors.

Fixes genodelabs#5206
alex-ab added a commit to alex-ab/genode that referenced this issue May 7, 2024
- no need to explicitly switch off vga anymore
- use vPID for VMs which improves TLB usage if multiple vCPUs on same
  pCPU is used, which happens to happen on Sculpt.
- support for mwait by nova kernel, which is off by default

Issue genodelabs#5206
alex-ab added a commit to alex-ab/genode that referenced this issue May 7, 2024
separately.  The "iommu" option is now split up into "iommu_intel" and
"iommu_amd" and can thereby easily disabled if required for one of the CPU
vendors.

Fixes genodelabs#5206
alex-ab added a commit to alex-ab/genode that referenced this issue May 7, 2024
separately.  The "iommu" option is now split up into "iommu_intel" and
"iommu_amd" and thereby can be disabled easily if required for one of the CPU
vendors.

Fixes genodelabs#5206
@alex-ab alex-ab added the fixed label May 7, 2024
@alex-ab
Copy link
Member Author

alex-ab commented May 17, 2024

@chelmuth: please consider for staging

@chelmuth
Copy link
Member

Thanks for the nudge, merged to staging just now.

chelmuth pushed a commit that referenced this issue May 17, 2024
- no need to explicitly switch off vga anymore
- use vPID for VMs which improves TLB usage if multiple vCPUs on same
  pCPU is used, which happens to happen on Sculpt.
- support for mwait by nova kernel, which is off by default

Issue #5206
chelmuth pushed a commit that referenced this issue May 17, 2024
separately.  The "iommu" option is now split up into "iommu_intel" and
"iommu_amd" and thereby can be disabled easily if required for one of the CPU
vendors.

Fixes #5206
alex-ab added a commit to alex-ab/genode that referenced this issue May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants