lkml.org 
[lkml]   [2004]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectDRAM and PCI devices at same physical address
From
Date
I have a dual Xeon system with the Lindenhurst (E7710) chip set and 1 GB
of memory. In order to reserve a very large block of memory for a
(user-space) device driver I am writing, I pass "mem=XX" to the kernel
at boot time. Unfortunately, /proc/pci shows two devices now appearing
in the reserved upper memory range.

For instance, if I set "mem=768M", the following two entries appear in
/proc/pci:

Bus 0, device 1, function 0:
System peripheral: PCI device 8086:3594 (Intel Corp.) (rev 4).
Non-prefetchable 32 bit memory at 0x30000000 [0x30000fff].

Bus 0, device 31, function 1:
IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev
2).
IRQ 18.
I/O at 0x14a0 [0x14af].
Non-prefetchable 32 bit memory at 0x30001000 [0x300013ff].


The devices always appear right after the limit I specify on the kernel
boot line. If I specify "mem=512M", then the first device appears at
0x20000000. If I specify nothing, then it appears at 0x40000000. All
other PCI devices show up at addresses of 0xDD000000 and above.

Is there any way to prevent these devices from showing up in the
physical address range of my reserved memory?

Should they be appearing there at all? Does Linux make any guarantees
when there is more physical memory than specified by "mem=" ?

Please CC me on any responses.

Thank you,
Matt Sexton
sexton@mc.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.058 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site