From patchwork Thu Jun 28 22:38:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 936547 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=eik.bme.hu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41GwVQ4Nwgz9s01 for ; Fri, 29 Jun 2018 09:10:22 +1000 (AEST) Received: from localhost ([::1]:39071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYg3Q-0005Pt-4w for incoming@patchwork.ozlabs.org; Thu, 28 Jun 2018 19:10:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYg2l-0005Oi-Fr for qemu-devel@nongnu.org; Thu, 28 Jun 2018 19:09:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYg2g-0005Pp-A4 for qemu-devel@nongnu.org; Thu, 28 Jun 2018 19:09:39 -0400 Received: from zero.eik.bme.hu ([2001:738:2001:2001::2001]:12458) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fYg2g-0005Mv-2l; Thu, 28 Jun 2018 19:09:34 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 7C9097456B9; Fri, 29 Jun 2018 01:09:32 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 63C147456B1; Fri, 29 Jun 2018 01:09:32 +0200 (CEST) Message-Id: From: BALATON Zoltan Date: Fri, 29 Jun 2018 00:38:33 +0200 To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:738:2001:2001::2001 Subject: [Qemu-devel] [PATCH v6 0/5] Misc sam460ex improvements X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sebastian Bauer , Alexander Graf , David Gibson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" These are the remaining patches for sam460ex needed to implement RTC and get AmigaOS to boot. The sm501 patches (now a separate series) and Sebastian's ehci patch are also needed to get AmigaOS working. I'd appreciate if this could be merged before the imminent 3.0 freeze so we could have at least preliminary support for all major Amiga like OSes in QEMU 3.0. BALATON Zoltan (5): ppc4xx_i2c: Rewrite to model hardware more closely hw/timer: Add basic M41T80 emulation sam460ex: Add RTC device ppc440_uc: Basic emulation of PPC440 DMA controller target/ppc: Relax reserved bitmask of indexed store instructions MAINTAINERS | 1 + default-configs/ppc-softmmu.mak | 1 + hw/i2c/ppc4xx_i2c.c | 299 +++++++++++++++++++++------------------- hw/ppc/ppc440.h | 1 + hw/ppc/ppc440_uc.c | 221 +++++++++++++++++++++++++++++ hw/ppc/sam460ex.c | 4 + hw/timer/Makefile.objs | 1 + hw/timer/m41t80.c | 117 ++++++++++++++++ include/hw/i2c/ppc4xx_i2c.h | 3 +- target/ppc/translate.c | 2 +- 10 files changed, 506 insertions(+), 144 deletions(-) create mode 100644 hw/timer/m41t80.c