IRQ of pcie device claimed by PCIe PME

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

IRQ of pcie device claimed by PCIe PME

2,146 Views
wolnet
Contributor III

Hi,

I am using kernel 3.10.53 on a sabresd board the interrupt of the pci express port was claimed by pcie pme driver but as you can see inthe output of lspci it should be handled by driver "Sigamtek PCIe"

It looks like it is a kernel option I have to set to fix this issue, because when I use an image build in november the irq 155 wasn't claimed by pcie pme.

The thing is I didn't have the configuration for this binary.

Does anyone of you have an idea what option I have to activate to get this fixed ?

cat /proc/interrupts

           CPU0       CPU1       CPU2       CPU3     

29:     444116     810725    3230723    2507477       GIC  twd

34:          1          0          0          0       GIC  sdma

35:          0          0          0          0       GIC  VPU_JPG_IRQ

37:          0          0          0          0       GIC  2400000.ipu

38:          0          0          0          0       GIC  2400000.ipu

39:          0          0          0          0       GIC  2800000.ipu

40:          5          0          0          0       GIC  2800000.ipu

44:          0          0          0          0       GIC  VPU_CODEC_IRQ

50:          0          0          0          0       GIC  vdoa

55:       4849          0          0          0       GIC  mmc1

56:          0          0          0          0       GIC  mmc2

57:        470          0          0          0       GIC  mmc3

58:        489          0          0          0       GIC  2020000.serial

68:         22          0          0          0       GIC  21a0000.i2c

69:        220          0          0          0       GIC  21a4000.i2c

70:          0          0          0          0       GIC  21a8000.i2c

72:          0          0          0          0       GIC  2184200.usb

75:       7001          0          0          0       GIC  2184000.usb

79:          0          0          0          0       GIC  ssi@0202c000

87:         10          0          0          0       GIC  i.MX Timer Tick

113:          0          0          0          0       GIC  20c0000.wdog

139:          0          0          0          0       GIC  mmdc_1

144:          0          0          0          0       GIC  mmdc_1

145:          0          0          0          0       GIC  mmdc_1

146:          0          0          0          0       GIC  mmdc_1

147:          0          0          0          0       GIC  20e0000.hdmi_video

150:      39833          0          0          0       GIC  2188000.ethernet

151:          0          0          0          0       GIC  2188000.ethernet

155:          0          0          0          0       GIC  PCIe PME

169:          0          0          0          0  gpio-mxc  microphone detect

192:          0          0          0          0  gpio-mxc  2198000.usdhc cd

194:          0          0          0          0  gpio-mxc  2194000.usdhc cd

360:          0          0          0          0  gpio-mxc  headphone detect

IPI0:          0          0          0          0  CPU wakeup interrupts

IPI1:          0          0          0          0  Timer broadcast interrupts

IPI2:       2876       7104       4865       6529  Rescheduling interrupts

IPI3:         10         13         13         20  Function call interrupts

IPI4:          3          1          3          2  Single function call interrupts

IPI5:          0          0          0          0  CPU stop interrupts

Err:          0

root@sigmatek-arm:~# lspci -v

00:00.0 PCI bridge: Device 16c3:abcd (rev 01) (prog-if 00 [Normal decode])

    Flags: bus master, fast devsel, latency 0

    Memory at 01000000 (32-bit, non-prefetchable) [size=1M]

    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0

    Memory behind bridge: 01100000-012fffff

    [virtual] Expansion ROM at 01300000 [disabled] [size=64K]

    Capabilities: [40] Power Management version 3

    Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+

    Capabilities: [70] Express Root Port (Slot-), MSI 00

    Capabilities: [100] Advanced Error Reporting

    Capabilities: [140] Virtual Channel

    Kernel driver in use: pcieport

01:00.0 ACCESS Bus: Device 5112:0c00

    Subsystem: Device 5112:0c00

    Flags: bus master, fast devsel, latency 0, IRQ 155

    Memory at 01100000 (32-bit, non-prefetchable) [size=1M]

    Memory at 01200000 (32-bit, non-prefetchable) [size=1M]

    Capabilities: [40] Power Management version 3

    Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+

    Capabilities: [58] Express Endpoint, MSI 00

    Capabilities: [100] Device Serial Number 00-00-00-01-01-00-0a-35

    Kernel driver in use: Sigmatek PCIE

Kind regards

Wolfgang

Labels (5)
0 Kudos
1 Reply

1,319 Views
igorpadykov
NXP Employee
NXP Employee

Hi Wolfgang

due to i.MX6Q PCIe erratum ERR005723 PCIe: PCIe does not support L2 power down

seems usage of PME  PCI device's power management capabilities may be limited.

For activating it one can try pcie_pme=command line switch as described in

LKML: "Rafael J. Wysocki": [PATCH] PCI / PM: Do not use native PCIe PME by default

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos