Skip to content

Allow virtio-mmio to work on m68k nommu 68000

Daniel Palmer linux-m68k lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio-mmio: Replace sizeof x with sizeof(x)drivers/virtio/virtio_mmio.c+12 -120 replies
2/2virtio-mmio: Use raw io accessors to avoid arch issuesdrivers/virtio/virtio_mmio.c+64 -563 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Allow virtio-mmio to work on m68k nommu 68000

- 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(-)
Signature · 1 line
2.51.0