Re: [PATCH] pci-error-recover: doc cleanup

2016-12-08 Thread Cao jin
On 12/08/2016 10:05 PM, Jonathan Corbet wrote: > On Thu, 8 Dec 2016 16:16:14 +0800 > Cao jin wrote: > >> The platform resets the link, and then calls the link_reset() callback >> on all affected device drivers. This is a PCI-Express specific state >> -and is done

[PATCH] pci-error-recover: doc cleanup

2016-12-08 Thread Cao jin
Include typo fix; white space shooting; mistake correction. Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- Documentation/PCI/pci-error-recovery.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/PCI/pci-error-recovery.txt b/Documen

[PATCH] pci-error-recover: doc cleanup

2016-12-08 Thread Cao jin
Include typo fix; white space shooting; mistake correction. Signed-off-by: Cao jin --- Documentation/PCI/pci-error-recovery.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/PCI/pci-error-recovery.txt b/Documentation/PCI/pci-error-recovery.txt

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
On 12/06/2016 11:25 PM, Alex Williamson wrote: > On Tue, 6 Dec 2016 14:11:03 +0800 > Cao jin <caoj.f...@cn.fujitsu.com> wrote: > >> On 12/06/2016 12:17 AM, Alex Williamson wrote: >>> On Mon, 5 Dec 2016 13:52:03 +0800 >>> Cao jin <caoj.f...@cn.fujitsu.c

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
On 12/06/2016 11:25 PM, Alex Williamson wrote: > On Tue, 6 Dec 2016 14:11:03 +0800 > Cao jin wrote: > >> On 12/06/2016 12:17 AM, Alex Williamson wrote: >>> On Mon, 5 Dec 2016 13:52:03 +0800 >>> Cao jin wrote: >>> >>>> On 12/04/2016

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
On 12/06/2016 11:35 PM, Alex Williamson wrote: > On Tue, 6 Dec 2016 18:46:04 +0800 > Cao jin <caoj.f...@cn.fujitsu.com> wrote: > >> On 12/06/2016 12:59 PM, Alex Williamson wrote: >>> On Tue, 6 Dec 2016 05:55:28 +0200 >>> "Michael S. Tsirkin" &l

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
On 12/06/2016 11:35 PM, Alex Williamson wrote: > On Tue, 6 Dec 2016 18:46:04 +0800 > Cao jin wrote: > >> On 12/06/2016 12:59 PM, Alex Williamson wrote: >>> On Tue, 6 Dec 2016 05:55:28 +0200 >>> "Michael S. Tsirkin" wrote: >>> >>&g

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
rehashing some of these issues if you're not going to >>> read the previous discussions or consult with your colleagues to >>> understand how we got to this point. If you want to challenge some of >>> the design points, that's great, it could use some new eyes, but

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
these issues if you're not going to >>> read the previous discussions or consult with your colleagues to >>> understand how we got to this point. If you want to challenge some of >>> the design points, that's great, it could use some new eyes, but please >>> understand

Re: [PATCH] vfio/pci: Support error recovery

2016-12-05 Thread Cao jin
On 12/06/2016 11:46 AM, Michael S. Tsirkin wrote: > On Thu, Dec 01, 2016 at 09:40:23PM +0800, Cao jin wrote: >> >> >> On 12/01/2016 12:51 PM, Michael S. Tsirkin wrote: >>> On Wed, Nov 30, 2016 at 09:04:13PM -0700, Alex Williamson wrote: >>>> On Su

Re: [PATCH] vfio/pci: Support error recovery

2016-12-05 Thread Cao jin
On 12/06/2016 11:46 AM, Michael S. Tsirkin wrote: > On Thu, Dec 01, 2016 at 09:40:23PM +0800, Cao jin wrote: >> >> >> On 12/01/2016 12:51 PM, Michael S. Tsirkin wrote: >>> On Wed, Nov 30, 2016 at 09:04:13PM -0700, Alex Williamson wrote: >>>> On Sun, 27 N

Re: [PATCH] vfio/pci: Support error recovery

2016-12-05 Thread Cao jin
On 12/06/2016 12:17 AM, Alex Williamson wrote: > On Mon, 5 Dec 2016 13:52:03 +0800 > Cao jin <caoj.f...@cn.fujitsu.com> wrote: > >> On 12/04/2016 11:30 PM, Alex Williamson wrote: >>> On Sun, 4 Dec 2016 20:16:42 +0800 >>> Cao jin <caoj.f...@cn.fujitsu.c

Re: [PATCH] vfio/pci: Support error recovery

2016-12-05 Thread Cao jin
On 12/06/2016 12:17 AM, Alex Williamson wrote: > On Mon, 5 Dec 2016 13:52:03 +0800 > Cao jin wrote: > >> On 12/04/2016 11:30 PM, Alex Williamson wrote: >>> On Sun, 4 Dec 2016 20:16:42 +0800 >>> Cao jin wrote: >>> >>>> On 12/01/2016

Re: [PATCH] vfio/pci: Support error recovery

2016-12-04 Thread Cao jin
On 12/04/2016 11:30 PM, Alex Williamson wrote: > On Sun, 4 Dec 2016 20:16:42 +0800 > Cao jin <caoj.f...@cn.fujitsu.com> wrote: > >> On 12/01/2016 10:55 PM, Alex Williamson wrote: >>> On Thu, 1 Dec 2016 21:40:00 +0800 >> >>>>> If an AER

Re: [PATCH] vfio/pci: Support error recovery

2016-12-04 Thread Cao jin
On 12/04/2016 11:30 PM, Alex Williamson wrote: > On Sun, 4 Dec 2016 20:16:42 +0800 > Cao jin wrote: > >> On 12/01/2016 10:55 PM, Alex Williamson wrote: >>> On Thu, 1 Dec 2016 21:40:00 +0800 >> >>>>> If an AER fault occurs and the user doesn't do

Re: [PATCH] vfio/pci: Support error recovery

2016-12-04 Thread Cao jin
ld, set bridge's secondary bus reset would send hot-reset TLP to all functions below, trigger every device's reset separately. Emulated device should behave the same, means just using each device's DeviceClass->reset method. -- Sincerely, Cao jin

Re: [PATCH] vfio/pci: Support error recovery

2016-12-04 Thread Cao jin
ld, set bridge's secondary bus reset would send hot-reset TLP to all functions below, trigger every device's reset separately. Emulated device should behave the same, means just using each device's DeviceClass->reset method. -- Sincerely, Cao jin

Re: [PATCH] vfio/pci: Support error recovery

2016-12-01 Thread Cao jin
On 12/01/2016 12:04 PM, Alex Williamson wrote: > On Sun, 27 Nov 2016 19:34:17 +0800 > Cao jin <caoj.f...@cn.fujitsu.com> wrote: > >> It is user space driver's or device-specific driver's(in guest) responsbility >> to do a serious recovery when error happe

Re: [PATCH] vfio/pci: Support error recovery

2016-12-01 Thread Cao jin
On 12/01/2016 12:04 PM, Alex Williamson wrote: > On Sun, 27 Nov 2016 19:34:17 +0800 > Cao jin wrote: > >> It is user space driver's or device-specific driver's(in guest) responsbility >> to do a serious recovery when error happened. Link-reset is one part of >>

Re: [PATCH] vfio/pci: Support error recovery

2016-12-01 Thread Cao jin
On 12/01/2016 12:51 PM, Michael S. Tsirkin wrote: > On Wed, Nov 30, 2016 at 09:04:13PM -0700, Alex Williamson wrote: >> On Sun, 27 Nov 2016 19:34:17 +0800 >> Cao jin <caoj.f...@cn.fujitsu.com> wrote: >> >>> @@ -1187,10 +1200,30 @@ static pci_ers_result_t

Re: [PATCH] vfio/pci: Support error recovery

2016-12-01 Thread Cao jin
On 12/01/2016 12:51 PM, Michael S. Tsirkin wrote: > On Wed, Nov 30, 2016 at 09:04:13PM -0700, Alex Williamson wrote: >> On Sun, 27 Nov 2016 19:34:17 +0800 >> Cao jin wrote: >> >>> @@ -1187,10 +1200,30 @@ static pci_ers_result_t >>> vfio_pc

Re: [PATCH] vfio/pci: Support error recovery

2016-12-01 Thread Cao jin
On 11/30/2016 09:46 AM, Michael S. Tsirkin wrote: > On Mon, Nov 28, 2016 at 05:32:15PM +0800, Cao jin wrote: >> >> >>> >>>> + if (severity == AER_FATAL && strcmp(dev->driver->name, "vfio-pci")) { >>> >>> You reall

Re: [PATCH] vfio/pci: Support error recovery

2016-12-01 Thread Cao jin
On 11/30/2016 09:46 AM, Michael S. Tsirkin wrote: > On Mon, Nov 28, 2016 at 05:32:15PM +0800, Cao jin wrote: >> >> >>> >>>> + if (severity == AER_FATAL && strcmp(dev->driver->name, "vfio-pci")) { >>> >>> You reall

[PATCH] lib/idr: trivial: Fix typo in file header

2016-11-29 Thread Cao jin
Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- lib/idr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/idr.c b/lib/idr.c index 6098336df267..69fa487dbfda 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -14,7 +14,7 @@ * by the id to obtain the pointer. The

[PATCH] lib/idr: trivial: Fix typo in file header

2016-11-29 Thread Cao jin
Signed-off-by: Cao jin --- lib/idr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/idr.c b/lib/idr.c index 6098336df267..69fa487dbfda 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -14,7 +14,7 @@ * by the id to obtain the pointer. The bitmap makes allocating * a new id

Re: [PATCH] vfio/pci: Support error recovery

2016-11-28 Thread Cao jin
On 11/28/2016 11:00 AM, Michael S. Tsirkin wrote: On Sun, Nov 27, 2016 at 07:34:17PM +0800, Cao jin wrote: It is user space driver's or device-specific driver's(in guest) responsbility to do a serious recovery when error happened. Link-reset is one part of recovery, when pci device

Re: [PATCH] vfio/pci: Support error recovery

2016-11-28 Thread Cao jin
On 11/28/2016 11:00 AM, Michael S. Tsirkin wrote: On Sun, Nov 27, 2016 at 07:34:17PM +0800, Cao jin wrote: It is user space driver's or device-specific driver's(in guest) responsbility to do a serious recovery when error happened. Link-reset is one part of recovery, when pci device

[PATCH] vfio/pci: Support error recovery

2016-11-27 Thread Cao jin
uble for a successful recovery, so, disable the vfio-pci's link-reset in aer driver in host, this is a keypoint for guest to do error recovery successfully. CC: alex.william...@redhat.com CC: m...@redhat.com Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- This is actually a RFC version(has debug

[PATCH] vfio/pci: Support error recovery

2016-11-27 Thread Cao jin
uble for a successful recovery, so, disable the vfio-pci's link-reset in aer driver in host, this is a keypoint for guest to do error recovery successfully. CC: alex.william...@redhat.com CC: m...@redhat.com Signed-off-by: Cao jin --- This is actually a RFC version(has debug lines left), and has minor cha

Re: [PATCH] Drop unnecessary pcibio_err_to_errno()

2016-11-19 Thread Cao jin
I made this patch so quickly that I forget the details you mentioned. Thanks a lot for your help. Sincerely, Cao jin On 11/19/2016 01:02 AM, Alex Williamson wrote: Please prefix patches with their functional area, for instance I'll prepend "vfio/pci" to this. Had you not cc'd me,

Re: [PATCH] Drop unnecessary pcibio_err_to_errno()

2016-11-19 Thread Cao jin
I made this patch so quickly that I forget the details you mentioned. Thanks a lot for your help. Sincerely, Cao jin On 11/19/2016 01:02 AM, Alex Williamson wrote: Please prefix patches with their functional area, for instance I'll prepend "vfio/pci" to this. Had you not cc'd me,

[PATCH] Drop unnecessary pcibio_err_to_errno()

2016-11-18 Thread Cao jin
pci_user_read/write_config_() already does the translation. Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- drivers/vfio/pci/vfio_pci_config.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vf

[PATCH] Drop unnecessary pcibio_err_to_errno()

2016-11-18 Thread Cao jin
pci_user_read/write_config_() already does the translation. Signed-off-by: Cao jin --- drivers/vfio/pci/vfio_pci_config.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c index 65d4a30

Re: [Intel-wired-lan] [PATCH] igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr

2016-11-09 Thread Cao jin
Thanks Corrina for your info. I tested my patch, it works for me on kernel 4.9-rc4. "surprise removal" maybe another issue to solve. This one is enough to solve my issue and other one's, could it be accept first? Cao jin On 11/09/2016 03:33 AM, Alexander Duyck wrote: On Tue, N

Re: [Intel-wired-lan] [PATCH] igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr

2016-11-09 Thread Cao jin
Thanks Corrina for your info. I tested my patch, it works for me on kernel 4.9-rc4. "surprise removal" maybe another issue to solve. This one is enough to solve my issue and other one's, could it be accept first? Cao jin On 11/09/2016 03:33 AM, Alexander Duyck wrote: On Tue, N

[PATCH] igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr

2016-11-07 Thread Cao jin
03818 [ 145.361275] IP: [] igb_configure_tx_ring+0x14d/0x280 [igb] [ 145.400048] PGD 0 [ 145.438007] Oops: 0002 [#1] SMP A similiar issue & solution could be found at: http://patchwork.ozlabs.org/patch/689592/ Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- drivers/net

[PATCH] igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr

2016-11-07 Thread Cao jin
03818 [ 145.361275] IP: [] igb_configure_tx_ring+0x14d/0x280 [igb] [ 145.400048] PGD 0 [ 145.438007] Oops: 0002 [#1] SMP A similiar issue & solution could be found at: http://patchwork.ozlabs.org/patch/689592/ Signed-off-by: Cao jin --- drivers/net/ethernet/intel/igb/igb_main.

Re: [Intel-wired-lan] [PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
On 11/08/2016 12:12 PM, Alexander Duyck wrote: On Monday, November 7, 2016, Cao jin <caoj.f...@cn.fujitsu.com <mailto:caoj.f...@cn.fujitsu.com>> wrote: We removed head because it isn't really accessed very often, it is only really used for when the ring is configured. Tail

Re: [Intel-wired-lan] [PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
On 11/08/2016 12:12 PM, Alexander Duyck wrote: On Monday, November 7, 2016, Cao jin mailto:caoj.f...@cn.fujitsu.com>> wrote: We removed head because it isn't really accessed very often, it is only really used for when the ring is configured. Tail is accessed every time

Re: [Intel-wired-lan] [PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
On 11/08/2016 02:49 AM, Alexander Duyck wrote: On Mon, Nov 7, 2016 at 4:44 AM, Cao jin <caoj.f...@cn.fujitsu.com> wrote: Under certain condition, I find guest will oops on writel() in igb_configure_tx_ring(), because hw->hw_address is NULL. While other register access won't oo

Re: [Intel-wired-lan] [PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
On 11/08/2016 02:49 AM, Alexander Duyck wrote: On Mon, Nov 7, 2016 at 4:44 AM, Cao jin wrote: Under certain condition, I find guest will oops on writel() in igb_configure_tx_ring(), because hw->hw_address is NULL. While other register access won't oops kernel because they use wr32/rd32 wh

[PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
45.361275] IP: [] igb_configure_tx_ring+0x14d/0x280 [igb] [ 145.438007] Oops: 0002 [#1] SMP On the other hand, commit 238ac817 does some optimization which dropped the field "head". So I think it is time to drop "tail" as well. Signed-off-by: Cao jin <caoj.f...@cn.fujits

[PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
45.361275] IP: [] igb_configure_tx_ring+0x14d/0x280 [igb] [ 145.438007] Oops: 0002 [#1] SMP On the other hand, commit 238ac817 does some optimization which dropped the field "head". So I think it is time to drop "tail" as well. Signed-off-by: Cao jin --- drivers/net/ether

[PATCH] igb/e1000: correct register comments

2016-11-02 Thread Cao jin
Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- drivers/net/ethernet/intel/igb/e1000_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/e1000_regs.h b/drivers/net/ethernet/intel/igb/e1000_regs.h index d84afdd..58adbf2

[PATCH] igb/e1000: correct register comments

2016-11-02 Thread Cao jin
Signed-off-by: Cao jin --- drivers/net/ethernet/intel/igb/e1000_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/e1000_regs.h b/drivers/net/ethernet/intel/igb/e1000_regs.h index d84afdd..58adbf2 100644 --- a/drivers/net/ethernet/intel/igb

[PATCH] aer: function comments cleanup

2016-09-29 Thread Cao jin
Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- drivers/pci/pcie/aer/aerdrv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c index 48d21e0..20eea86 100644 --- a/drivers/pci/pcie/aer/aerdrv.c +++ b/drivers/pci/pc

[PATCH] aer: function comments cleanup

2016-09-29 Thread Cao jin
Signed-off-by: Cao jin --- drivers/pci/pcie/aer/aerdrv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c index 48d21e0..20eea86 100644 --- a/drivers/pci/pcie/aer/aerdrv.c +++ b/drivers/pci/pcie/aer/aerdrv.c @@ -294,7 +294,6

Re: about definition of iowait

2016-06-27 Thread Cao jin
Hi Peter Sorry to bother you on this topic again. On 06/07/2016 08:01 PM, Peter Zijlstra wrote: On Tue, Jun 07, 2016 at 07:24:46PM +0800, Cao jin wrote: Hi, I noticed some problems about iowait entry of /proc/stat: it seems not accurate, and sometimes will decrease in SMP. For UP, we

Re: about definition of iowait

2016-06-27 Thread Cao jin
Hi Peter Sorry to bother you on this topic again. On 06/07/2016 08:01 PM, Peter Zijlstra wrote: On Tue, Jun 07, 2016 at 07:24:46PM +0800, Cao jin wrote: Hi, I noticed some problems about iowait entry of /proc/stat: it seems not accurate, and sometimes will decrease in SMP. For UP, we

Re: about definition of iowait

2016-06-08 Thread Cao jin
On 06/07/2016 08:01 PM, Peter Zijlstra wrote: On Tue, Jun 07, 2016 at 07:24:46PM +0800, Cao jin wrote: Hi, I noticed some problems about iowait entry of /proc/stat: it seems not accurate, and sometimes will decrease in SMP. For UP, we have a simple definition about iowait, which

Re: about definition of iowait

2016-06-08 Thread Cao jin
On 06/07/2016 08:01 PM, Peter Zijlstra wrote: On Tue, Jun 07, 2016 at 07:24:46PM +0800, Cao jin wrote: Hi, I noticed some problems about iowait entry of /proc/stat: it seems not accurate, and sometimes will decrease in SMP. For UP, we have a simple definition about iowait, which

about definition of iowait

2016-06-07 Thread Cao jin
it is good...) -- Yours Sincerely, Cao jin

about definition of iowait

2016-06-07 Thread Cao jin
it is good...) -- Yours Sincerely, Cao jin

[PATCH v2] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
It has: a tense correction(led->leads); a typo(unevitably->inevitably); Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- Documentation/timers/hrtimers.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/timers/hrtimers.txt b/Document

[PATCH v2] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
It has: a tense correction(led->leads); a typo(unevitably->inevitably); Signed-off-by: Cao jin --- Documentation/timers/hrtimers.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/timers/hrtimers.txt b/Documentation/timers/hrtimers.txt index c

Re: [PATCH] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
On 04/21/2016 09:23 PM, Jonathan Corbet wrote: On Thu, 21 Apr 2016 18:25:41 +0800 Cao jin <caoj.f...@cn.fujitsu.com> wrote: This change is incorrect - "unacceptable" is exactly what the writer wanted to say here. *it cannot be 'designed out' without inevitably degradin

Re: [PATCH] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
On 04/21/2016 09:23 PM, Jonathan Corbet wrote: On Thu, 21 Apr 2016 18:25:41 +0800 Cao jin wrote: This change is incorrect - "unacceptable" is exactly what the writer wanted to say here. *it cannot be 'designed out' without inevitably degrading other portions of the tim

Re: [PATCH] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
Hi jon Thanks for your quick respond for my 1st patch here. On 04/21/2016 05:56 PM, Jonathan Corbet wrote: On Thu, 21 Apr 2016 17:09:54 +0800 Cao jin <caoj.f...@cn.fujitsu.com> wrote: - wheel concept, it cannot be 'designed out' without unevitably - degrading other po

Re: [PATCH] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
Hi jon Thanks for your quick respond for my 1st patch here. On 04/21/2016 05:56 PM, Jonathan Corbet wrote: On Thu, 21 Apr 2016 17:09:54 +0800 Cao jin wrote: - wheel concept, it cannot be 'designed out' without unevitably - degrading other portions of the timers.c code

[PATCH] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
It has: a tense correction(led->leads); a typo(unevitably->inevitably); a logic error correction(unacceptable->acceptable) Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> --- Documentation/timers/hrtimers.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH] hrtimers: doc cleanup

2016-04-21 Thread Cao jin
It has: a tense correction(led->leads); a typo(unevitably->inevitably); a logic error correction(unacceptable->acceptable) Signed-off-by: Cao jin --- Documentation/timers/hrtimers.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/timers/hrtime

[PATCH] vfio: add pci resume error handler

2016-04-05 Thread Cao jin
From: Chen Fan when the device encounters a falal error, the host aer driver may do secondary bus reset to recovery the devices under the bus, and for guest driver also do the same way to recovery the device under the virtual bus. in order to avoid guest and host do

[PATCH] vfio: add pci resume error handler

2016-04-05 Thread Cao jin
From: Chen Fan when the device encounters a falal error, the host aer driver may do secondary bus reset to recovery the devices under the bus, and for guest driver also do the same way to recovery the device under the virtual bus. in order to avoid guest and host do the bus reset simultaneously,

Re: [PATCH v2] pci: fix unavailable irq number 255 reported by BIOS

2016-01-26 Thread Cao jin
request_irq() will return -EINVAL in case of the ceiling. #ifdef CONFIG_SPARSE_IRQ # define IRQ_BITMAP_BITS(NR_IRQS + 8196) #else # define IRQ_BITMAP_BITSNR_IRQS #endif . -- Yours Sincerely, Cao jin

Re: [PATCH v2] pci: fix unavailable irq number 255 reported by BIOS

2016-01-26 Thread Cao jin
request_irq() will return -EINVAL in case of the ceiling. #ifdef CONFIG_SPARSE_IRQ # define IRQ_BITMAP_BITS(NR_IRQS + 8196) #else # define IRQ_BITMAP_BITSNR_IRQS #endif . -- Yours Sincerely, Cao jin

Re: [PATCH] pci: fix unavailable irq number 255 reported by BIOS

2016-01-21 Thread Cao jin
d the line "unsubscribe linux-pci" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html . -- Yours Sincerely, Cao jin

Re: [PATCH] pci: fix unavailable irq number 255 reported by BIOS

2016-01-21 Thread Cao jin
To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html . -- Yours Sincerely, Cao jin

<    1   2   3   4