How to use shared PCI memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have a i386 host machine. on the PCI bus i have a device which needs to access a shared memory on another PCI device. This shared memory is shared between device and the host processor. Iam using linux kernel 2.6.14. I use the shared memory this way :

ioremap the shared memory and then i give the physical address of this shared memory to the PCI device which wants to access it. i get this physical address from lspci output. i get this error " Uhhuh. NMI received Dazed and confused u probably have bad RAM chips..."

Here do i need to make virt_to_bus of the address i got from the ioremap ?
But its generally taken that on the i386 machine both the bus address and physical address are the same.

But still if i do virt_to_bus on the ioremaped address i see that the bus address and the physical address are not the same.

Any help ???

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux