pci problem - 2 BARs given same address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

pci problem - 2 BARs given same address

Jump to solution
972 Views
davidshoham
Contributor II

Hi,

After attaching a pci device and booting the imx6 I receive the following output for the config space of the device:

root@freescale /sys/devices/pci0000:00/0000:00:00.0/0000:01:00.0$ od -X config

0000000         ec301204        00100140        00000000        00000008

0000020         fffc0000        fffc0000        00000000        00000000

0000040         00000000        00000000        00000000        30101204

0000060         00000000        00000050        00000000        0000019b

0000100         00000000        00000000        00000000        00000000

0000120         00037001        00000000        00000000        00000000

0000140         00000000        00000000        00000000        00000000

0000160         00809005        00000000        00000000        00000000

0000200         00000000        00000000        00000000        00000000

0000220         00010010        00008000        00002010        00007411

0000240         00110000        00000000        00000000        00000000

0000260         00000000        00000000        00000000        00000000

BAR0 and BAR1 (marked in red) are given the same address. Is this a kernel bug? If so where should I look in the kernel source to fix it?

Thanks,

David

Labels (1)
0 Kudos
1 Solution
696 Views
Yuri
NXP Employee
NXP Employee

Looks like this may relate to the next from the i.MX6 Errata :

ERR003757 PCIe: 9000448152—Internal Address Translation Unit (iATU):

Inbound Vendor Defined Message (VDM) ‘ID Match Mode’ is not

functional

ERR003759 PCIe: 9000439510—Internal Address Translation Unit (iATU) can

sometimes overwrite Outbound (Tx) Vendor Messages and MSIs

View solution in original post

0 Kudos
3 Replies
696 Views
YixingKong
Senior Contributor IV

David

If your question has been answered, please click Correct Answer or Helpful Answer.

Regards,

Yixing

0 Kudos
697 Views
Yuri
NXP Employee
NXP Employee

Looks like this may relate to the next from the i.MX6 Errata :

ERR003757 PCIe: 9000448152—Internal Address Translation Unit (iATU):

Inbound Vendor Defined Message (VDM) ‘ID Match Mode’ is not

functional

ERR003759 PCIe: 9000439510—Internal Address Translation Unit (iATU) can

sometimes overwrite Outbound (Tx) Vendor Messages and MSIs

0 Kudos
696 Views
richard_zhu
NXP Employee
NXP Employee

I didn’t ever encounter such kind of phenomena.

Can you past the log of the “lspci –v ” info at your platform?



0 Kudos