From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW3TY-00044e-7B for qemu-devel@nongnu.org; Sat, 27 Apr 2013 07:39:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UW3TX-0003Fb-9H for qemu-devel@nongnu.org; Sat, 27 Apr 2013 07:39:32 -0400 Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:52916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW3TX-0003FP-34 for qemu-devel@nongnu.org; Sat, 27 Apr 2013 07:39:31 -0400 Received: by mail-ie0-f181.google.com with SMTP id tp5so5895221ieb.12 for ; Sat, 27 Apr 2013 04:39:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Blue Swirl Date: Sat, 27 Apr 2013 11:39:10 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 0/2] sparc64: Fix NVRAM access mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: qemu-devel@nongnu.org On Sat, Apr 27, 2013 at 7:12 AM, Artyom Tarasenko wrote: > 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. The chip is definitely m48t59 (SGS-Thompson, M48T59Y-70MH1), even if the IRQ is not connected and software uses 1968 as the base year. Please make the base year a qdev property and keep the model unchanged. > > 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(-) >