config, x86: Ensure that PCI devs get bridged to the memory bus
Review Request #2315 - Created July 16, 2014 and submitted
| Information | |
|---|---|
| Jiuyue Ma | |
| gem5 | |
| 2301 | |
| Reviewers | |
| Default | |
config, x86: Ensure that PCI devs get bridged to the memory bus This patch force IO device to be mapped to 0xC0000000-0xFFFF0000 by reserve anything between the end of memory and 3GB if memory is less than 3GB. It also statically bridge these address range to the IO bus, which guaranty access to pci address space will pass though bridge to iobus.
Thanks for fixing this! The changeset looks good, but I'd appreciate if you could shorten the summary line (the first line) of the commit message to comply with the commit requirements (http://www.gem5.org/Commit_Access). The maximum line length for the summary line is 65 characters. Something like this should suffice as a summary line: "config, x86: Ensure that PCI devs get bridged to the memory bus" Other than the above, I'm happy to have this committed.
Posted (July 17, 2014, 2:18 a.m.)
-
configs/common/FSConfig.py (Diff revision 1) -
What if it is 2 or above? Seems things will break?
Review request changed
Updated (July 17, 2014, 2:40 a.m.)
Change Summary:
change summary line to meet gem5 commit requirements
Summary: |
|
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||||||||||||||
Diff: |
Revision 2 (+18 -9) |
LGTM. The concern raised by Andreas doesn't really apply here as x86 already makes the assumption that there are 1 or 2 memory ranges (see for example the assert on near the top of makeLinuxX86System, line 500, in FSConfig.py). In the long term, we probably want to get rid of that assumption.
Ship It!
