Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fsl/pci: fix RC cannot detect PME message coming

PCI controller disable PME message report feature, that shouldn't
have happened. Fix it and enable PME message report feature.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>

authored by

Wang Dongsheng and committed by
Scott Wood
dd41d514 1c075f95

+1 -2
+1 -2
arch/powerpc/sysdev/fsl_pci.c
··· 1150 1150 pci = hose->private_data; 1151 1151 1152 1152 /* Enable PTOD, ENL23D & EXL23D */ 1153 - out_be32(&pci->pex_pme_mes_disr, 0); 1154 - setbits32(&pci->pex_pme_mes_disr, 1153 + clrbits32(&pci->pex_pme_mes_disr, 1155 1154 PME_DISR_EN_PTOD | PME_DISR_EN_ENL23D | PME_DISR_EN_EXL23D); 1156 1155 1157 1156 out_be32(&pci->pex_pme_mes_ier, 0);