[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ed0e4a38be11a954338cafcafca66f6dbf015ce6.camel@nvidia.com>
Date: Fri, 29 Aug 2025 18:48:45 +0000
From: Timur Tabi <ttabi@...dia.com>
To: "dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
Alistair Popple <apopple@...dia.com>, Alexandre Courbot
<acourbot@...dia.com>, "dakr@...nel.org" <dakr@...nel.org>
CC: "lossin@...nel.org" <lossin@...nel.org>, "ojeda@...nel.org"
<ojeda@...nel.org>, "boqun.feng@...il.com" <boqun.feng@...il.com>,
"a.hindborg@...nel.org" <a.hindborg@...nel.org>, "tzimmermann@...e.de"
<tzimmermann@...e.de>, "tmgross@...ch.edu" <tmgross@...ch.edu>,
"alex.gaynor@...il.com" <alex.gaynor@...il.com>, "simona@...ll.ch"
<simona@...ll.ch>, "mripard@...nel.org" <mripard@...nel.org>,
"maarten.lankhorst@...ux.intel.com" <maarten.lankhorst@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, John Hubbard
<jhubbard@...dia.com>, "nouveau@...ts.freedesktop.org"
<nouveau@...ts.freedesktop.org>, "bjorn3_gh@...tonmail.com"
<bjorn3_gh@...tonmail.com>, "airlied@...il.com" <airlied@...il.com>,
"aliceryhl@...gle.com" <aliceryhl@...gle.com>, Joel Fernandes
<joelagnelf@...dia.com>, "gary@...yguo.net" <gary@...yguo.net>
Subject: Re: [PATCH 08/10] gpu: nova-core: falcon: Add support to check if
RISC-V is active
On Wed, 2025-08-27 at 18:20 +1000, Alistair Popple wrote:
> + pub(crate) fn is_riscv_active(&self, bar: &Bar0) -> Result<bool> {
> + let cpuctl = regs::NV_PRISCV_RISCV_CPUCTL::read(bar, &E::ID);
> + Ok(cpuctl.active_stat())
> + }
I think this should return just bool instead of Result<bool>
Powered by blists - more mailing lists