[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <674c5c35-9ce7-a144-719d-206ff2c16e8f@linux.intel.com>
Date: Mon, 21 Aug 2023 12:57:39 +0300 (EEST)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: "Deucher, Alexander" <Alexander.Deucher@....com>
cc: "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Rob Herring <robh@...nel.org>,
Krzysztof Wilczyński <kw@...ux.com>,
Emmanuel Grumbach <emmanuel.grumbach@...el.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Heiner Kallweit <hkallweit1@...il.com>,
Lukas Wunner <lukas@...ner.de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
"Koenig, Christian" <Christian.Koenig@....com>,
"Pan, Xinhui" <Xinhui.Pan@....com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
"amd-gfx@...ts.freedesktop.org" <amd-gfx@...ts.freedesktop.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Dean Luick <dean.luick@...nelisnetworks.com>,
Jonas Dreßler <verdre@...d.nl>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: RE: [PATCH v5 06/11] drm/radeon: Use RMW accessors for changing
LNKCTL
On Fri, 18 Aug 2023, Deucher, Alexander wrote:
> [Public]
>
> > -----Original Message-----
> > From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
> > Sent: Monday, July 17, 2023 8:05 AM
> > To: linux-pci@...r.kernel.org; Bjorn Helgaas <bhelgaas@...gle.com>; Lorenzo
> > Pieralisi <lorenzo.pieralisi@....com>; Rob Herring <robh@...nel.org>;
> > Krzysztof Wilczyński <kw@...ux.com>; Emmanuel Grumbach
> > <emmanuel.grumbach@...el.com>; Rafael J . Wysocki <rafael@...nel.org>;
> > Heiner Kallweit <hkallweit1@...il.com>; Lukas Wunner <lukas@...ner.de>;
> > Andy Shevchenko <andriy.shevchenko@...ux.intel.com>; Deucher, Alexander
> > <Alexander.Deucher@....com>; Koenig, Christian
> > <Christian.Koenig@....com>; Pan, Xinhui <Xinhui.Pan@....com>; David
> > Airlie <airlied@...il.com>; Daniel Vetter <daniel@...ll.ch>; amd-
> > gfx@...ts.freedesktop.org; dri-devel@...ts.freedesktop.org; linux-
> > kernel@...r.kernel.org
> > Cc: Dean Luick <dean.luick@...nelisnetworks.com>; Jonas Dreßler
> > <verdre@...d.nl>; Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>;
> > stable@...r.kernel.org
> > Subject: [PATCH v5 06/11] drm/radeon: Use RMW accessors for changing
> > LNKCTL
> >
> > Don't assume that only the driver would be accessing LNKCTL. ASPM policy
> > changes can trigger write to LNKCTL outside of driver's control.
> > And in the case of upstream bridge, the driver does not even own the device
> > it's changing the registers for.
> >
> > Use RMW capability accessors which do proper locking to avoid losing
> > concurrent updates to the register value.
> >
> > Fixes: 8a7cd27679d0 ("drm/radeon/cik: add support for pcie gen1/2/3
> > switching")
> > Fixes: b9d305dfb66c ("drm/radeon: implement pcie gen2/3 support for SI")
> > Suggested-by: Lukas Wunner <lukas@...ner.de>
> > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
> > Cc: stable@...r.kernel.org
>
> For this and the amdgpu patch:
> Acked-by: Alex Deucher <alexander.deucher@....com>
> I'm not sure if this is stable material however. Is there some issue today?
These were added without Cc stable into pci.git/pcie-rmw.
--
i.
Powered by blists - more mailing lists