[PATCH 0/2] Allow virtio-mmio to work on m68k nommu 68000
From: Daniel Palmer
Date: Fri Mar 13 2026 - 23:06:38 EST
- 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