From patchwork Fri Dec 20 21:15:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Schnelle X-Patchwork-Id: 11306341 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A499A13B6 for ; Fri, 20 Dec 2019 21:18:39 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 11E6A206DA for ; Fri, 20 Dec 2019 21:18:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=duncanthrax.net header.i=@duncanthrax.net header.b="uWhYTp6Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11E6A206DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=stackframe.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:33588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiPfQ-0006pF-TX for patchwork-qemu-devel@patchwork.kernel.org; Fri, 20 Dec 2019 16:18:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40128) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiPcN-00044w-2i for qemu-devel@nongnu.org; Fri, 20 Dec 2019 16:15:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiPcL-0004Ux-JH for qemu-devel@nongnu.org; Fri, 20 Dec 2019 16:15:26 -0500 Received: from shroom.duncanthrax.net ([2a01:4f8:121:41fa::169]:47727 helo=smtp.duncanthrax.net) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iiPcK-0004EG-U0 for qemu-devel@nongnu.org; Fri, 20 Dec 2019 16:15:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=duncanthrax.net; s=dkim; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dUvHqQJBnzmjyUR/XBcnEtvHHIay+naG7m3mt9wU1kE=; b=uWhYTp6ZVrC/qAYi7RovjcHDFz xzv8bUin39/OU8zapCttFrxuMzRPUZ3ypmqPSnVEf82IBMNr/s6XP6NX0qBPeUXJt5gguXJuQpjIZ 7jI1GkjBaZtao2ece+8rOGJFN9/vszGyQ1pdER6kVVyVwhbpBjE9d+auRSu3lxY4j4Qg=; Received: from hsi-kbw-046-005-233-221.hsi8.kabel-badenwuerttemberg.de ([46.5.233.221] helo=x280.stackframe.org) by smtp.duncanthrax.net with esmtpa (Exim 4.90_1) (envelope-from ) id 1iiPcG-0000lb-EQ; Fri, 20 Dec 2019 22:15:20 +0100 From: Sven Schnelle To: Richard Henderson Subject: [PATCH v5 0/6] HPPA: i82596, PS/2 and graphics emulation Date: Fri, 20 Dec 2019 22:15:06 +0100 Message-Id: <20191220211512.3289-1-svens@stackframe.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f8:121:41fa::169 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Helge Deller , Sven Schnelle , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Hi, these series adds quite a lot to the HPPA emulation in QEMU: i82596 emulation from Helge, PS/2 and Artist graphics emulation. See https://parisc.wiki.kernel.org/index.php/Qemu for a few screenshots of QEMU running a X11/CDE session in HP-UX. Changes in v5: - fix a buffer overrun in vram_bit_write() - improve STI line wraparound Changes in v4: - introduce Artist-internal address space - rewrite screen update functions to use the generic framebuffer routines - use dirty bitmap code to not always redraw the whole screen Changes in v3: - use BIT() macro in gsc_to_pci_forwarding() - fix version id in vm state - fix an error in the PS/2 KBD_CMD_SET_MAKE_BREAK implementation Changes in v2: - dropped 'hppa: remove ISA region' as that patch requires some more work - added shortlog to seabios update - use const and MAKE_64BIT_MASK in dino.c Regards, Sven Helge Deller (2): hw/hppa/dino.c: Improve emulation of Dino PCI chip hppa: Add support for LASI chip with i82596 NIC Sven Schnelle (4): ps2: accept 'Set Key Make and Break' commands hppa: add emulation of LASI PS2 controllers hppa: Add emulation of Artist graphics seabios-hppa: update to latest version MAINTAINERS | 4 +- hw/display/Kconfig | 4 + hw/display/Makefile.objs | 1 + hw/display/artist.c | 1450 +++++++++++++++++++++++++++++++++++ hw/display/trace-events | 9 + hw/hppa/Kconfig | 3 + hw/hppa/Makefile.objs | 2 +- hw/hppa/dino.c | 97 ++- hw/hppa/hppa_hardware.h | 1 + hw/hppa/hppa_sys.h | 2 + hw/hppa/lasi.c | 368 +++++++++ hw/hppa/machine.c | 17 +- hw/hppa/trace-events | 10 + hw/input/Kconfig | 3 + hw/input/Makefile.objs | 1 + hw/input/lasips2.c | 289 +++++++ hw/input/ps2.c | 15 + hw/input/trace-events | 5 + hw/net/Kconfig | 7 + hw/net/Makefile.objs | 2 + hw/net/i82596.c | 734 ++++++++++++++++++ hw/net/i82596.h | 55 ++ hw/net/lasi_i82596.c | 188 +++++ hw/net/trace-events | 14 + include/hw/input/lasips2.h | 16 + include/hw/input/ps2.h | 1 + include/hw/net/lasi_82596.h | 29 + pc-bios/hppa-firmware.img | Bin 783724 -> 766136 bytes roms/seabios-hppa | 2 +- 29 files changed, 3311 insertions(+), 18 deletions(-) create mode 100644 hw/display/artist.c create mode 100644 hw/hppa/lasi.c create mode 100644 hw/input/lasips2.c create mode 100644 hw/net/i82596.c create mode 100644 hw/net/i82596.h create mode 100644 hw/net/lasi_i82596.c create mode 100644 include/hw/input/lasips2.h create mode 100644 include/hw/net/lasi_82596.h