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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>>
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
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
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
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
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
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
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
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
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
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
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,
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,
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
it is good...)
--
Yours Sincerely,
Cao jin
it is good...)
--
Yours Sincerely,
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
301 - 367 of 367 matches
Mail list logo