Bug 163
Summary: | Impossible to setup MTRR registers | ||
---|---|---|---|
Product: | Other | Reporter: | Paulo Andre' (fscked) |
Component: | Other | Assignee: | Martin J. Bligh (mbligh) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | --- | Bisected commit-id: |
Description
Paulo Andre'
2002-12-11 13:22:21 UTC
Andi Kleen fixed up a bunch of bugs in the MTRR driver as part of the current x86-64 patch. I've extracted the relevant bits. Can you give it a try ? It's at http://www.codemonkey.org.uk/cruft/mtrr.diff Yes, the patch fixes it. It's now possible to set up the MTRR registers: root@ubik:/home/paulo# cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1 root@ubik:/home/paulo# echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr root@ubik:/home/paulo# cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1 reg01: base=0xd8000000 (3456MB), size= 32MB: write-combining, count=1 Close when merged to mainline. The patch is merged in 2.5.59. |