Why does pcie-epf-dma-test create three bars

Hello,
I have a custom carrier board for AGX Xavier Industrial. My kernel version is 35.4.1. I included pcie-epf-dma-test to my image. I noticed that allways three bars are created. I could also modify BAR_0 from 256M to 32M but I couldnt find the codes creating the others.
Memory at 20200000 (64-bit, prefetchable) [disabled] [size=128K]|
Memory at 26000000 (64-bit, non-prefetchable) [disabled] [size=1M]|
Other endpoint test packages are not included into my OS. You can see my lspci -v output below. Is there any way to remove them? Why others are created.
04:00.0 RAM memory: NVIDIA Corporation Device 229a
Flags: fast devsel, IRQ 255
Memory at 24000000 (32-bit, prefetchable) [disabled] [size=32M]
Memory at 20200000 (64-bit, prefetchable) [disabled] [size=128K]
Memory at 26000000 (64-bit, non-prefetchable) [disabled] [size=1M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/16 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable- Count=8 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Secondary PCI Express <?> Capabilities: [168] Physical Layer 16.0 GT/s <?>
Capabilities: [190] Lane Margining at the Receiver <?> Capabilities: [1b8] Latency Tolerance Reporting Capabilities: [1c0] L1 PM Substates Capabilities: [1d0] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Capabilities: [2d0] Vendor Specific Information: ID=0001 Rev=1 Len=038 <?> Capabilities: [308] Data Link Feature <?>
Capabilities: [314] Precision Time Measurement
Capabilities: [320] Vendor Specific Information: ID=0003 Rev=1 Len=054 <?>

Best Regards

Hi,

One is for MSI-X and other is to program EP’ DMA engine… it exposed DMA registers from iATU_DMA.

Cannot be removed.

Hi WayneWWW,
Thank you for your response. Can I remove the bar for MSI-X?
Best Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.