Re: [PATCH] PCI: Remove the use of printk_ratelimit() in pci.c

2019-08-27 Thread Bjorn Helgaas
On Mon, Aug 26, 2019 at 12:46:16AM +0200, Krzysztof Wilczynski wrote: > Do not use printk_ratelimit() in drivers/pci/pci.c as it shares the > rate limiting state with all other callers to the printk_ratelimit(). > > Add pci_info_ratelimited macro similar to pci_notice_ratelimited > added in the co

[PATCH] PCI: Remove the use of printk_ratelimit() in pci.c

2019-08-25 Thread Krzysztof Wilczynski
Do not use printk_ratelimit() in drivers/pci/pci.c as it shares the rate limiting state with all other callers to the printk_ratelimit(). Add pci_info_ratelimited macro similar to pci_notice_ratelimited added in the commit a88a7b3eb076 ("vfio: Use dev_printk() when possible") and use it instead of