[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 0/2] m48t59: add year offset and MMIO ISA mapping
From: |
Artyom Tarasenko |
Subject: |
Re: [Qemu-ppc] [PATCH 0/2] m48t59: add year offset and MMIO ISA mapping |
Date: |
Mon, 19 Jan 2015 13:09:21 +0100 |
On Mon, Jan 19, 2015 at 12:35 PM, Mark Cave-Ayland
<address@hidden> wrote:
> This patch lays the groundwork for switching sun4u over from ioport NVRAM
> access to MMIO NVRAM access.
>
> Patch 1 introduces a new year_offset property which is the offset between the
> year value stored in hardware and the actual year. In particular, Sun hardware
> has a 68 year offset used to extend the date range of the IC. While the
> kernel sources I have viewed contain this offset within a #ifdef CONFIG_SPARC
> block, I've updated all the callers so that no change in behaviour will be
> seen across all platforms. PPC users may wish to alter the callers to change
> this behaviour as required.
>
> Patch 2 mimics the mem_base parameter from m48t59_init() to m48t59_init_isa()
> so that MMIO can be used for sun4u where the NVRAM is attached to the ebus
> which is essentially the same as an ISA bus.
>
> Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Artyom Tarasenko <address@hidden>
> Mark Cave-Ayland (2):
> m48t59: introduce new year_offset qdev property
> m48t59: add mem_base value to m48t59_init_isa()
>
> hw/ppc/ppc405_boards.c | 2 +-
> hw/ppc/prep.c | 2 +-
> hw/sparc/sun4m.c | 2 +-
> hw/sparc64/sun4u.c | 2 +-
> hw/timer/m48t59.c | 42 ++++++++++++++++++++++--------------------
> include/hw/timer/m48t59.h | 7 ++++---
> 6 files changed, 30 insertions(+), 27 deletions(-)
>
> --
> 1.7.10.4
>
--
Regards,
Artyom Tarasenko
SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu
- Re: [Qemu-ppc] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa(), (continued)
- Re: [Qemu-ppc] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa(), Mark Cave-Ayland, 2015/01/19
- Re: [Qemu-ppc] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa(), Hervé Poussineau, 2015/01/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa(), Peter Maydell, 2015/01/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa(), Mark Cave-Ayland, 2015/01/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa(), Peter Maydell, 2015/01/19
[Qemu-ppc] [PATCH 1/2] m48t59: introduce new year_offset qdev property, Mark Cave-Ayland, 2015/01/19
Re: [Qemu-ppc] [PATCH 0/2] m48t59: add year offset and MMIO ISA mapping,
Artyom Tarasenko <=
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/2] m48t59: add year offset and MMIO ISA mapping, Hervé Poussineau, 2015/01/19