[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <3ad271f7-12e3-4e92-82eb-cd8cd5dbd703@app.fastmail.com>
Date: Fri, 09 May 2025 07:45:58 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Andrew Ballance" <andrewjballance@...il.com>,
"Danilo Krummrich" <dakr@...nel.org>, "Dave Airlie" <airlied@...il.com>,
"Simona Vetter" <simona@...ll.ch>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"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" <benno.lossin@...ton.me>,
"Andreas Hindborg" <a.hindborg@...nel.org>,
"Alice Ryhl" <aliceryhl@...gle.com>, "Trevor Gross" <tmgross@...ch.edu>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rafael@...nel.org>, bhelgaas@...gle.com,
Krzysztof Wilczyński <kwilczynski@...nel.org>,
"Raag Jadav" <raag.jadav@...el.com>,
"Andy Shevchenko" <andriy.shevchenko@...ux.intel.com>, me@...enk.dev,
"FUJITA Tomonori" <fujita.tomonori@...il.com>, daniel.almeida@...labora.com
Cc: "nouveau@...ts.freedesktop.org" <nouveau@...ts.freedesktop.org>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [PATCH 07/11] rust: io: add from_raw_cookie functions
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
Powered by blists - more mailing lists