[PATCH 07/11] rust: io: add from_raw_cookie functions
Arnd Bergmann
arnd at arndb.de
Fri May 9 05:45:58 UTC 2025
On Fri, May 9, 2025, at 05:15, Andrew Ballance wrote:
> +}
> +#[cfg(not(CONFIG_GENERIC_IOMAP))]
> +mod io_backend {
> + // for everyone who does not use generic iomap
> + // except for alpha and parisc, neither of which has a rust compiler,
> + // ioread/iowrite is defined in `include/asm-generic/io.h`.
I think you should special-case x86 here then. The GENERIC_IOMAP
variant is likely to need another hack for powernv to actually work.
Hopefully we won't have to support m68k/q40 here.
Arnd
More information about the Nouveau
mailing list