From: Cao jin <caoj.fnst@cn.fujitsu.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: qemu-devel@nongnu.org, izumi.taku@jp.fujitsu.com, mst@redhat.com,
Dou Liyang <douly.fnst@cn.fujitsu.com>
Subject: Re: [Qemu-devel] [PATCH v3 2/3] vfio pci: new function to init AER capability
Date: Tue, 28 Mar 2017 21:47:49 +0800 [thread overview]
Message-ID: <58DA6985.80805@cn.fujitsu.com> (raw)
In-Reply-To: <20170324161228.73f7ac0f@t450s.home>
On 03/25/2017 06:12 AM, Alex Williamson wrote:
> On Thu, 23 Mar 2017 17:09:22 +0800
> Cao jin <caoj.fnst@cn.fujitsu.com> wrote:
>
> This is not a sufficiently trivial patch to leave the commit log empty.
>
>> Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
>> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
>> ---
>> + pcie_cap_deverr_init(pdev);
>
> This assumes we've set exp_cap, perhaps the code should validate this
> to avoid corner case configurations where the PCIe cap has been dropped
> yet AER is still present. I'm not sure if it's possible, but I'd
> rather test than segfault.
>
>> + return pcie_aer_init(pdev, cap_ver, pos, size, errp);
>
>
> I think here too, users may have existing configurations that could
> break by suddenly imposing a new topology requirement.
>
Not quite follow, test what for pcie_aer_init()?
--
Sincerely,
Cao jin
next prev parent reply other threads:[~2017-03-28 13:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-23 9:09 [Qemu-devel] [PATCH v3 0/3] vfio-pci: support recovery of AER non fatal error Cao jin
2017-03-23 9:09 ` [Qemu-devel] [PATCH v3 1/3] pcie aer: verify if AER functionality is available Cao jin
2017-03-24 22:12 ` Alex Williamson
2017-03-28 13:47 ` Cao jin
2017-03-28 16:12 ` Alex Williamson
2017-03-28 16:16 ` Michael S. Tsirkin
2017-03-23 9:09 ` [Qemu-devel] [PATCH v3 2/3] vfio pci: new function to init AER capability Cao jin
2017-03-24 22:12 ` Alex Williamson
2017-03-28 13:47 ` Cao jin [this message]
2017-03-23 9:09 ` [Qemu-devel] [PATCH v3 3/3] vfio-pci: process non fatal error of AER Cao jin
2017-03-24 22:12 ` Alex Williamson
2017-03-28 13:49 ` Cao jin
2017-03-28 16:12 ` Alex Williamson
2017-03-28 23:59 ` Michael S. Tsirkin
2017-03-29 2:55 ` Alex Williamson
2017-04-25 20:32 ` Michael S. Tsirkin
2017-04-26 0:06 ` Alex Williamson
2017-03-24 22:12 ` [Qemu-devel] [PATCH v3 0/3] vfio-pci: support recovery of AER non fatal error Alex Williamson
2017-03-28 13:47 ` Cao jin
2017-03-28 16:12 ` Alex Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58DA6985.80805@cn.fujitsu.com \
--to=caoj.fnst@cn.fujitsu.com \
--cc=alex.williamson@redhat.com \
--cc=douly.fnst@cn.fujitsu.com \
--cc=izumi.taku@jp.fujitsu.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.