Messages in this thread | | | Date | Thu, 17 Dec 2015 14:41:16 +0100 | Subject | Re: [PATCH 2/4] PCI: rcar: Support runtime PM link state L1 handling in pcie-rcar | From | Geert Uytterhoeven <> |
| |
On Thu, Dec 17, 2015 at 2:30 PM, Wolfram Sang <wsa@the-dreams.de> wrote: >> + /* Wait until we are in L1 */ >> + while (!(val & L1FAEG)) >> + val = rcar_pci_read_reg(pcie, PMSR); > > No timeout?
And no cpu_relax() in each iteration.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |