Re: [PATCH 1/3] gpu: nova-core: Add function to query WPR2 range

Nanonej Dev <[email protected]> Mon, 27 Jul 2026 15:07:20 +0000
Newsgroups dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel
Message-ID <IljsM9ZnqA5Z6gdvmYSbSJAjRNiW5wACb-IG-yIvmYV0JUFWFzWeK5vV1jv_gPjEqtHqeg7JES3GwsNhnLv87mzf7N98YKqUmPbcIjz2gZY=@nanonej.com>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------37fd3545826f383248dcc478093c8c09fb6b1d7be79bac7e88bb897bce576508
Content-Type: multipart/mixed;boundary=---------------------612aad6bea675f4cfa53d1c6e7628293

-----------------------612aad6bea675f4cfa53d1c6e7628293
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;charset=utf-8

> To preserve the current semantics, let's read WPR_ADDR_HI first, check
> `is_wpr2_set` (and early-return `None` if not set), and then read
> `WPR_ADDR_LO` to build the range.

Ok, I'm udpating the function flow then.

> > +        // Check that the WPR2 region does not already exist -
> > +        // if it does, we cannot run FWSEC-FRTS until the GPU is rese=
t.
> =


> This comment is reformatted for now good reason iiuc.

My 80 columns OCD probably triggered, sorry for that, reverting this chang=
e.
-----------------------612aad6bea675f4cfa53d1c6e7628293--

--------37fd3545826f383248dcc478093c8c09fb6b1d7be79bac7e88bb897bce576508
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wrsEARYKAG0FgmpndA8JEFKmzSsu6sDwRRQAAAAAABwAIHNhbHRAbm90YXRp
b25zLm9wZW5wZ3Bqcy5vcmdvFx2z7wqc+SThorTb21CD3mEN3epB6SM0POI+
xH7NgxYhBI+99gDJjAW7MoHJ0VKmzSsu6sDwAAAijAEAnBty0jtnXMHXRu6A
1TsIGaztACF1FEup8otcJBQ27Z0A/2dlYwMaNKZOCPQSs0pYS8HXAkTCvwiw
Vw7H9+CV+CUJ
=vb76
-----END PGP SIGNATURE-----


--------37fd3545826f383248dcc478093c8c09fb6b1d7be79bac7e88bb897bce576508--