Skip to content

sparc64: Fix NVRAM access mode

Artyom Tarasenko qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2m48t59: use mmio for the m48t08 model of the m48t59_isa cardhw/timer/m48t59.c+35 -32 replies
2/2sparc64: Use the correct type of the Mostek NVRAM chiphw/sparc64/sun4u.c+4 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] sparc64: Fix NVRAM access mode

The sun4u machines use a slightly different modification of the ISA Mostek chip. It has MMIO, 1968 as a base year and no IRQ line. Since it matches our m48t08, make keep PIO behavior for the 59 model and use MMIO for the 8 model.

This series fixes recognising Mostek RTC in the Linux/sparc64 guest.

Artyom Tarasenko (2):
m48t59: use mmio for the m48t08 model of the m48t59_isa card
sparc64: Use the correct type of the Mostek NVRAM chip

 hw/sparc64/sun4u.c |    5 ++++-
 hw/timer/m48t59.c  |   38 +++++++++++++++++++++++++++++++++++---
 2 files changed, 39 insertions(+), 4 deletions(-)