[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DB0I8WAH970B.25D3S59AYF85P@nvidia.com>
Date: Tue, 01 Jul 2025 15:29:29 +0900
From: "Alexandre Courbot" <acourbot@...dia.com>
To: "Danilo Krummrich" <dakr@...nel.org>
Cc: "Miguel Ojeda" <ojeda@...nel.org>, "Alex Gaynor"
<alex.gaynor@...il.com>, "Boqun Feng" <boqun.feng@...il.com>, "Gary Guo"
<gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, "Andreas Hindborg" <a.hindborg@...nel.org>,
"Alice Ryhl" <aliceryhl@...gle.com>, "Trevor Gross" <tmgross@...ch.edu>,
"David Airlie" <airlied@...il.com>, "Simona Vetter" <simona@...ll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@...ux.intel.com>, "Maxime Ripard"
<mripard@...nel.org>, "Thomas Zimmermann" <tzimmermann@...e.de>, "Benno
Lossin" <lossin@...nel.org>, "John Hubbard" <jhubbard@...dia.com>, "Ben
Skeggs" <bskeggs@...dia.com>, "Joel Fernandes" <joelagnelf@...dia.com>,
"Timur Tabi" <ttabi@...dia.com>, "Alistair Popple" <apopple@...dia.com>,
<linux-kernel@...r.kernel.org>, <rust-for-linux@...r.kernel.org>,
<nouveau@...ts.freedesktop.org>, <dri-devel@...ts.freedesktop.org>, "Lyude
Paul" <lyude@...hat.com>, "Shirish Baskaran" <sbaskaran@...dia.com>
Subject: Re: [PATCH v6 00/24] nova-core: run FWSEC-FRTS to perform first
stage of GSP initialization
On Tue Jul 1, 2025 at 12:43 AM JST, Danilo Krummrich wrote:
> On 6/24/25 4:56 AM, Alexandre Courbot wrote:
>> On Tue Jun 24, 2025 at 6:01 AM JST, Danilo Krummrich wrote:
>>> There's one thing that would be nice to fix subsequently, which is properly
>>> resetting the GPU. Currently, it needs a power cycle to be able to probe
>>> successfully after unbinding the driver.
>>
>> Yes, what I usually do is the following after unloading Nova:
>>
>> echo 1 | sudo tee /sys/bus/pci/devices/0000:01:00.0/reset
>>
>> and this allows it to probe again. Maybe we want to add some equivalent
>> programmatically in the driver probe function?
>
> Probably -- how are things implemented on the GPU side of things? Is the GPU
> firmware surviving a FLR?
After a FLR all firmware is cleared and the WPR2 region is wiped,
meaning GPU initialization has to be done again from the very beginning.
Powered by blists - more mailing lists