Skip to content

Commit

Permalink
viomem: disable DMAR for the driver
Browse files Browse the repository at this point in the history
https://issues.redhat.com/browse/RHEL-66228

Initially disable the DMA remapping. Will be enabled
according to the needs in future.

Signed-off-by: Yuri Benditovich <[email protected]>
  • Loading branch information
ybendito authored and YanVugenfirer committed Nov 19, 2024
1 parent 19ff81c commit 7d70e12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions viomem/sys/viomem.inx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %INX_PLATFORM_DRIVERS_DIR%\viomem.sys
AddReg = Dmar.AddReg

[Dmar.AddReg]
HKR,Parameters,DmaRemappingCompatible,0x00010001,0

; -------------- VIOMEM driver eventlog install sections
[VIOMEM_Logging_Inst]
Expand Down

0 comments on commit 7d70e12

Please sign in to comment.