From: Daniel Palmer <daniel@thingy.jp>
To: mst@redhat.com, jasowang@redhat.com, xuanzhuo@linux.alibaba.com,
eperezma@redhat.com
Cc: virtualization@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-m68k@lists.linux-m68k.org, arnd@kernel.org,
Daniel Palmer <daniel@thingy.jp>
Subject: [PATCH 0/2] Allow virtio-mmio to work on m68k nommu 68000
Date: Sat, 14 Mar 2026 12:06:09 +0900 [thread overview]
Message-ID: <20260314030612.1949420-1-daniel@thingy.jp> (raw)
- First patch just cleans up sizeof usage so that checkpatch complains
less about the second patch.
- Second patch replaces uses of readl()/writel() with raw io access +
explict endian conversion to avoid getting the wrong values where
readl()/writel() are abnormal like m68k nommu for non-coldfire.
Tested on QEMU + patches to make a 68000 virt machine possible.
Daniel Palmer (2):
virtio-mmio: Replace sizeof x with sizeof(x)
virtio-mmio: Use raw io accessors to avoid arch issues
drivers/virtio/virtio_mmio.c | 140 ++++++++++++++++++-----------------
1 file changed, 74 insertions(+), 66 deletions(-)
--
2.51.0
next reply other threads:[~2026-03-14 3:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-14 3:06 Daniel Palmer [this message]
2026-03-14 3:06 ` [PATCH 1/2] virtio-mmio: Replace sizeof x with sizeof(x) Daniel Palmer
2026-03-14 3:06 ` [PATCH 2/2] virtio-mmio: Use raw io accessors to avoid arch issues Daniel Palmer
2026-03-14 7:42 ` Arnd Bergmann
2026-03-14 8:32 ` Daniel Palmer
2026-03-14 15:06 ` Arnd Bergmann
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=20260314030612.1949420-1-daniel@thingy.jp \
--to=daniel@thingy.jp \
--cc=arnd@kernel.org \
--cc=eperezma@redhat.com \
--cc=jasowang@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=mst@redhat.com \
--cc=virtualization@lists.linux.dev \
--cc=xuanzhuo@linux.alibaba.com \
/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