-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map the entire gas space twice for two different section
Previously, the whole gas sapce be mapped only once in user tool, it work with driver which set the whole gas memory to UC- in PAT. But it does not work with driver which set WC for first 4K MRPC region, while keep the left same as before, that's UC-. Map twice fix this issue. To fix this, we reserve a virtual address space for the entire GAS region then use two MAP_FIXED calls to allocate the two different regions. Signed-off-by: Logan Gunthorpe <[email protected]>
- Loading branch information
1 parent
7bc5f9c
commit a3d3701
Showing
1 changed file
with
80 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters