Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-17 Thread Bjorn Helgaas
On Mon, Aug 24, 2020 at 01:20:25PM +0800, Jiang Biao wrote: > From: Jiang Biao > > pci_read_config() could block several ms in kernel space, mainly > caused by the while loop to call pci_user_read_config_dword(). > Singel pci_user_read_config_dword() loop could consume 130us+, > |

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-16 Thread Jiang Biao
Hi, On Thu, 17 Sep 2020 at 00:56, Bjorn Helgaas wrote: > > On Sun, Sep 13, 2020 at 12:27:09PM +0800, Jiang Biao wrote: > > On Thu, 10 Sep 2020 at 09:59, Bjorn Helgaas wrote: > > > On Thu, Sep 10, 2020 at 09:54:02AM +0800, Jiang Biao wrote: > > > > On Thu, 10 Sep 2020 at 09:25, Bjorn Helgaas

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-16 Thread Bjorn Helgaas
On Sun, Sep 13, 2020 at 12:27:09PM +0800, Jiang Biao wrote: > On Thu, 10 Sep 2020 at 09:59, Bjorn Helgaas wrote: > > On Thu, Sep 10, 2020 at 09:54:02AM +0800, Jiang Biao wrote: > > > On Thu, 10 Sep 2020 at 09:25, Bjorn Helgaas wrote: > > > > On Mon, Aug 24, 2020 at 01:20:25PM +0800, Jiang Biao

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-12 Thread Jiang Biao
Hi, Bjorn On Thu, 10 Sep 2020 at 09:59, Bjorn Helgaas wrote: > > On Thu, Sep 10, 2020 at 09:54:02AM +0800, Jiang Biao wrote: > > Hi, > > > > On Thu, 10 Sep 2020 at 09:25, Bjorn Helgaas wrote: > > > > > > On Mon, Aug 24, 2020 at 01:20:25PM +0800, Jiang Biao wrote: > > > > From: Jiang Biao > > >

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-09 Thread Bjorn Helgaas
On Thu, Sep 10, 2020 at 09:54:02AM +0800, Jiang Biao wrote: > Hi, > > On Thu, 10 Sep 2020 at 09:25, Bjorn Helgaas wrote: > > > > On Mon, Aug 24, 2020 at 01:20:25PM +0800, Jiang Biao wrote: > > > From: Jiang Biao > > > > > > pci_read_config() could block several ms in kernel space, mainly > > >

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-09 Thread Jiang Biao
Hi, On Thu, 10 Sep 2020 at 09:59, Bjorn Helgaas wrote: > > On Thu, Sep 10, 2020 at 09:54:02AM +0800, Jiang Biao wrote: > > Hi, > > > > On Thu, 10 Sep 2020 at 09:25, Bjorn Helgaas wrote: > > > > > > On Mon, Aug 24, 2020 at 01:20:25PM +0800, Jiang Biao wrote: > > > > From: Jiang Biao > > > > > >

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-09 Thread Jiang Biao
Hi, On Thu, 10 Sep 2020 at 09:25, Bjorn Helgaas wrote: > > On Mon, Aug 24, 2020 at 01:20:25PM +0800, Jiang Biao wrote: > > From: Jiang Biao > > > > pci_read_config() could block several ms in kernel space, mainly > > caused by the while loop to call pci_user_read_config_dword(). > > Singel

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-09-09 Thread Bjorn Helgaas
On Mon, Aug 24, 2020 at 01:20:25PM +0800, Jiang Biao wrote: > From: Jiang Biao > > pci_read_config() could block several ms in kernel space, mainly > caused by the while loop to call pci_user_read_config_dword(). > Singel pci_user_read_config_dword() loop could consume 130us+, > |

Re: [PATCH] driver/pci: reduce the single block time in pci_read_config

2020-08-27 Thread Jiang Biao
kindly ping :) On Mon, 24 Aug 2020 at 13:20, Jiang Biao wrote: > > From: Jiang Biao > > pci_read_config() could block several ms in kernel space, mainly > caused by the while loop to call pci_user_read_config_dword(). > Singel pci_user_read_config_dword() loop could consume 130us+, >

[PATCH] driver/pci: reduce the single block time in pci_read_config

2020-08-23 Thread Jiang Biao
From: Jiang Biao pci_read_config() could block several ms in kernel space, mainly caused by the while loop to call pci_user_read_config_dword(). Singel pci_user_read_config_dword() loop could consume 130us+, |pci_user_read_config_dword() { |