[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171117171909.GA15582@wunner.de>
Date: Fri, 17 Nov 2017 18:19:09 +0100
From: Lukas Wunner <lukas@...ner.de>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Nicolai Hähnle <nhaehnle@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
dri-devel <dri-devel@...ts.freedesktop.org>
Subject: Re: [git pull] drm for v4.15
On Fri, Nov 17, 2017 at 08:57:53AM -0800, Linus Torvalds wrote:
> On Fri, Nov 17, 2017 at 4:51 AM, Nicolai Hähnle <nhaehnle@...il.com> wrote:
> To see the effects of this, I picked something at random from one of
> those huge AMD header files.
>
> I swear. It was entirely at random, and the first thing I picked. Do this:
>
> git grep PCIE_UNCORR_ERR_MASK
Oh that looks familiar, it's the Uncorrectable Error Mask Register
(PCIe Base Spec r2.1 page 558). We already have those definitions
in the tree in include/uapi/linux/pci_regs.h:
git grep PCI_ERR_UNC_
> and tell me that there isn't any room for making these things smarter.
... or deduplicate them. :-)
Lukas
Powered by blists - more mailing lists