Re: [PATCH v2] rust: iommu: add device lifetime to IoPageTable

From: Danilo Krummrich

Date: Fri Jul 03 2026 - 15:38:17 EST


On Fri Jul 3, 2026 at 8:52 PM CEST, Deborah Brouwer wrote:
> +impl<'bound, F: IoPageTableFmt> IoPageTable<'bound, F> {

We settled on the convention to only call a lifetime 'bound when it actually
described the entire bound scope. This might be shorter lived, so maybe just 'a.

> + // TODO: Provide the option to return `IoPageTable` as a device resource
> + // when DevresLt is available.

I'd drop this comment, we only really need it once there's a justified use-case,
or do you have something in mind already?