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