Re: [Xen-devel] [PATCH v2] pci: apply workaround for Intel errata HSE43 and BDF2

2018-12-04 Thread Roger Pau Monné
On Tue, Dec 04, 2018 at 04:30:51AM -0700, Jan Beulich wrote: > >>> On 04.12.18 at 11:42, wrote: > > @@ -298,6 +299,45 @@ static void check_pdev(const struct pci_dev *pdev) > > #undef PCI_STATUS_CHECK > > } > > > > +static void apply_quirks(struct pci_dev *pdev) > > +{ > > +uint16_t vendor

Re: [Xen-devel] [PATCH v2] pci: apply workaround for Intel errata HSE43 and BDF2

2018-12-04 Thread Jan Beulich
>>> On 04.12.18 at 11:42, wrote: > @@ -298,6 +299,45 @@ static void check_pdev(const struct pci_dev *pdev) > #undef PCI_STATUS_CHECK > } > > +static void apply_quirks(struct pci_dev *pdev) > +{ > +uint16_t vendor = pci_conf_read16(pdev->seg, pdev->bus, > +