Skip to content
Commit e523b38e authored by David Woodhouse's avatar David Woodhouse
Browse files

intel-iommu: Avoid panic() for DRHD at address zero.



If the BIOS does something obviously stupid, like claiming that the
registers for the IOMMU are at physical address zero, then print a nasty
message and abort, rather than trying to set up the IOMMU and then later
panicking.

It's becoming more and more obvious that trusting this stuff to the BIOS
was a mistake.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 31d3568d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment