From: "Danilo Krummrich" <dakr@kernel.org>
To: "Guangbo Cui" <jckeep.cuiguangbo@gmail.com>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Boqun Feng" <boqun.feng@gmail.com>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
rust-for-linux@vger.kernel.org, linux-pci@vger.kernel.org
Subject: Re: [RFC PATCH v1 0/2] rust: pci: Introduce PCIe error handler support and sample usage
Date: Tue, 11 Nov 2025 19:26:42 +1100 [thread overview]
Message-ID: <DE5Q13AXWVZC.1NRFHPA8CSO0T@kernel.org> (raw)
In-Reply-To: <20251108165511.98546-1-jckeep.cuiguangbo@gmail.com>
On Sun Nov 9, 2025 at 3:55 AM AEDT, Guangbo Cui wrote:
> Hi all,
>
> This RFC patchset introduces basic PCIe Advanced Error Reporting (AER)
> support for Rust PCI drivers and provides a simple example to demonstrate
> it's usage.
>
> The first patch adds the necessary infrastructure in the Rust PCI layer to
> support device-specific PCI error handlers, mirroring the existing C
> `struct pci_error_handlers` callbacks.
>
> The second patch updates the Rust PCI sample driver to implement a set of
> dummy error handlers. These callbacks simply print messages and return
> predefined results, serving as a guide for future Rust PCI driver authors
> who want to handle PCIe AER events safely.
>
> This series is an RFC for discussion and not intended for merging yet.
Thanks for the series, I will have a detailed look in a few weeks.
I think this will be useful in the nova-core driver for instance. However, I
wonder if you have another use-case you wrote this code for?
Thanks,
Danilo
next prev parent reply other threads:[~2025-11-11 8:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-08 16:55 [RFC PATCH v1 0/2] rust: pci: Introduce PCIe error handler support and sample usage Guangbo Cui
2025-11-08 16:55 ` [RFC PATCH v1 1/2] rust: pci: add PCIe bus error handler support Guangbo Cui
2025-11-08 16:55 ` [RFC PATCH v1 2/2] sample: rust: pci: implement dummy error handlers to demonstrate usage Guangbo Cui
2025-11-11 8:26 ` Danilo Krummrich [this message]
2025-11-15 8:01 ` [RFC PATCH v1 0/2] rust: pci: Introduce PCIe error handler support and sample usage Guangbo Cui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DE5Q13AXWVZC.1NRFHPA8CSO0T@kernel.org \
--to=dakr@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=bhelgaas@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=gary@garyguo.net \
--cc=gregkh@linuxfoundation.org \
--cc=jckeep.cuiguangbo@gmail.com \
--cc=kwilczynski@kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).