[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5f01316b-e685-49fe-b2b1-270c3ff84e5a@nvidia.com>
Date: Fri, 3 Oct 2025 15:20:24 -0400
From: Joel Fernandes <joelagnelf@...dia.com>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
nouveau@...ts.freedesktop.org, rust-for-linux@...r.kernel.org,
linux-pci@...r.kernel.org, dakr@...nel.org, acourbot@...dia.com,
Alistair Popple <apopple@...dia.com>, 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>, Benno Lossin <lossin@...nel.org>,
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>, John Hubbard <jhubbard@...dia.com>,
Timur Tabi <ttabi@...dia.com>, joel@...lfernandes.org,
Daniel Almeida <daniel.almeida@...labora.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Krzysztof Wilczyński <kwilczynski@...nel.org>
Subject: Re: [PATCH v2] rust: pci: Allocate and manage PCI interrupt vectors
On 10/3/2025 1:33 PM, Bjorn Helgaas wrote:
> On Thu, Oct 02, 2025 at 02:39:12PM -0400, Joel Fernandes wrote:
>> Add support to PCI rust module to allocate, free and manage IRQ vectors.
>> Integrate with devres for managing the allocated resources.
>
>> +/// IRQ type flags for PCI interrupt allocation.
>> +#[derive(Debug, Clone, Copy)]
>> +pub enum IrqType {
>> + /// Legacy INTx interrupts
>> + Legacy,
>
> FWIW, when I can, I try to use "INTx" instead of "legacy" because
> "INTx" has a specific meaning and is used in the PCIe specs, while
> "legacy" by itself has no intrinsic meaning.
>
Sure, I will avoid using the word legacy for naming. thanks,
- Joel
Powered by blists - more mailing lists