Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2ff729f5
Commit
2ff729f5
authored
Aug 26, 2009
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intel-iommu: Cope with yet another BIOS screwup causing crashes
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
94a91b50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
drivers/pci/intel-iommu.c
drivers/pci/intel-iommu.c
+11
-0
No files found.
drivers/pci/intel-iommu.c
View file @
2ff729f5
...
@@ -1974,6 +1974,17 @@ static int iommu_prepare_identity_map(struct pci_dev *pdev,
...
@@ -1974,6 +1974,17 @@ static int iommu_prepare_identity_map(struct pci_dev *pdev,
printk
(
KERN_INFO
printk
(
KERN_INFO
"IOMMU: Setting identity map for device %s [0x%Lx - 0x%Lx]
\n
"
,
"IOMMU: Setting identity map for device %s [0x%Lx - 0x%Lx]
\n
"
,
pci_name
(
pdev
),
start
,
end
);
pci_name
(
pdev
),
start
,
end
);
if
(
end
>>
agaw_to_width
(
domain
->
agaw
))
{
WARN
(
1
,
"Your BIOS is broken; RMRR exceeds permitted address width (%d bits)
\n
"
"BIOS vendor: %s; Ver: %s; Product Version: %s
\n
"
,
agaw_to_width
(
domain
->
agaw
),
dmi_get_system_info
(
DMI_BIOS_VENDOR
),
dmi_get_system_info
(
DMI_BIOS_VERSION
),
dmi_get_system_info
(
DMI_PRODUCT_VERSION
));
ret
=
-
EIO
;
goto
error
;
}
ret
=
iommu_domain_identity_map
(
domain
,
start
,
end
);
ret
=
iommu_domain_identity_map
(
domain
,
start
,
end
);
if
(
ret
)
if
(
ret
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment