Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1618732

Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS

From Joerg Roedel <jroedel@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS
Date 2017-04-07 14:40 +0200
Message-ID <ttBlf-746-5@gated-at.bofh.it> (permalink)
References <tpYgq-7p2-7@gated-at.bofh.it> <tszOy-7qW-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Bjorn,

On Tue, Apr 04, 2017 at 11:43:11AM -0500, Bjorn Helgaas wrote:
> > +static const struct pci_device_id broken_ats_tbl[] = {
> > +	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x98e4) }, /* AMD Stoney GPU part */

Just found out that the affected GPU uses PCI_VENDOR_ID_ATI, fixed that
too.

> > +	{ 0 }
> > +};
> > +
> >  void pci_ats_init(struct pci_dev *dev)
> > 
> >  	int pos;
> >  
> > +	if (pci_match_id(broken_ats_tbl, dev))
> > +		return;
> 
> This is fine functionally, but from a stylistic point of view, I guess
> I would prefer to have it implemented in drivers/pci/quirks.c just to
> have some consistency in how we work around device defects.

Done, I send a new patch shortly.



	Joerg

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS Joerg Roedel <joro@8bytes.org> - 2017-03-28 14:20 +0200
  RE: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS "Deucher, Alexander" <Alexander.Deucher@amd.com> - 2017-03-28 22:20 +0200
    Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS Joerg Roedel <jroedel@suse.de> - 2017-03-28 22:30 +0200
      RE: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS "Deucher, Alexander" <Alexander.Deucher@amd.com> - 2017-03-28 22:40 +0200
        Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS 'Joerg Roedel' <jroedel@suse.de> - 2017-03-28 23:00 +0200
          RE: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS "Deucher, Alexander" <Alexander.Deucher@amd.com> - 2017-03-28 23:20 +0200
            Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS 'Joerg Roedel' <jroedel@suse.de> - 2017-03-29 00:30 +0200
              RE: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS "Nath, Arindam" <Arindam.Nath@amd.com> - 2017-03-29 09:20 +0200
                Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS 'Joerg Roedel' <jroedel@suse.de> - 2017-03-29 11:50 +0200
                RE: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS "Nath, Arindam" <Arindam.Nath@amd.com> - 2017-03-29 11:50 +0200
              RE: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS "Deucher, Alexander" <Alexander.Deucher@amd.com> - 2017-03-29 18:30 +0200
  Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS Bjorn Helgaas <helgaas@kernel.org> - 2017-04-04 18:50 +0200
    Re: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS Joerg Roedel <jroedel@suse.de> - 2017-04-07 14:40 +0200

csiph-web