On Thu, Apr 20, 2023 at 06:11:17PM -0400, Frank Li wrote: > Layerscape has PME interrupt, which can be use as linkup notifer. > Set CFG_READY bit when linkup detected. s/use/used/ s/notifer/notifier/ > +/* PEX PFa PCIE pme and message interrupt registers*/ s/pme/PME/ to match other usage and spec. > + dev_info(pci->dev, "Detect the link up state !\n"); > + } else if (val & PEX_PF0_PME_MES_DR_LDD) { > + dev_info(pci->dev, "Detect the link down state !\n"); > + } else if (val & PEX_PF0_PME_MES_DR_HRD) { > + dev_info(pci->dev, "Detect the hot reset state !\n"); No spaces before "!". Omit the "!" completely unless these are unexpected situations. They seem ordinary to me. Would probably be better as just "Link up", "Link down", "Hot reset". Or "Link up state detected" if you want. > + dev_err(&pdev->dev, "Can't get 'pme' irq.\n"); > + dev_err(&pdev->dev, "Can't register PCIe IRQ.\n"); Capitalize "IRQ" in both the above message and this one. No "." needed at the end. Bjorn