Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 75E081A9239 for ; Sun, 25 Oct 2020 08:21:37 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 1A09884D2E; Sun, 25 Oct 2020 08:21:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 94C9384D2C for ; Sun, 25 Oct 2020 08:21:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ZnjhpYnegpmi for ; Sun, 25 Oct 2020 08:21:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 08BCF84D21 for ; Sun, 25 Oct 2020 08:21:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 027C0FB28; Sun, 25 Oct 2020 08:21:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1603614095184490" MIME-Version: 1.0 Date: Sun, 25 Oct 2020 08:21:35 +0000 From: "Andreas Gustafsson" Subject: CVS commit: pkgsrc/emulators/qemu To: pkgsrc-changes@NetBSD.org Reply-To: gson@netbsd.org X-Mailer: log_accum Message-Id: <20201025082136.027C0FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1603614095184490 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gson Date: Sun Oct 25 08:21:35 UTC 2020 Modified Files: pkgsrc/emulators/qemu: Makefile distinfo Added Files: pkgsrc/emulators/qemu/patches: patch-hw_display_tcx.c Log Message: qemu: fix regression causing failure to boot NetBSD/sparc Fix the bug of https://bugs.launchpad.net/qemu/+bug/1892540/ by applying the patch submitted by Philippe Mathieu-Daude. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.254 -r1.255 pkgsrc/emulators/qemu/Makefile cvs rdiff -u -r1.165 -r1.166 pkgsrc/emulators/qemu/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1603614095184490 Content-Disposition: inline Content-Length: 3423 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/emulators/qemu/Makefile diff -u pkgsrc/emulators/qemu/Makefile:1.254 pkgsrc/emulators/qemu/Makefile:1.255 --- pkgsrc/emulators/qemu/Makefile:1.254 Sat Oct 10 16:29:21 2020 +++ pkgsrc/emulators/qemu/Makefile Sun Oct 25 08:21:35 2020 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.254 2020/10/10 16:29:21 martin Exp $ +# $NetBSD: Makefile,v 1.255 2020/10/25 08:21:35 gson Exp $ DISTNAME= qemu-5.1.0 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ EXTRACT_SUFX= .tar.xz Index: pkgsrc/emulators/qemu/distinfo diff -u pkgsrc/emulators/qemu/distinfo:1.165 pkgsrc/emulators/qemu/distinfo:1.166 --- pkgsrc/emulators/qemu/distinfo:1.165 Sat Oct 10 16:29:21 2020 +++ pkgsrc/emulators/qemu/distinfo Sun Oct 25 08:21:35 2020 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.165 2020/10/10 16:29:21 martin Exp $ +$NetBSD: distinfo,v 1.166 2020/10/25 08:21:35 gson Exp $ SHA1 (palcode-clipper) = e25ae10a10e0801e47b62b9ee2d10c8ccb4ee940 RMD160 (palcode-clipper) = a637f1cc38dabfdff36e3f02b6dd02d7c63cb8db @@ -21,6 +21,7 @@ SHA1 (patch-hw_alpha_dp264.c) = 85630478 SHA1 (patch-hw_alpha_typhoon.c) = 1bed5cd6f355c4163585c5331356ebf38c5c3a16 SHA1 (patch-hw_core_uboot__image.h) = 17eef02349343c5fcfb7a4069cb6f8fd11efcb59 SHA1 (patch-hw_display_omap__dss.c) = 6b13242f28e32346bc70548c216c578d98fd3420 +SHA1 (patch-hw_display_tcx.c) = 58f6c90bda734ec83b702b1b13d24c3e3219c7bd SHA1 (patch-hw_net_etraxfs__eth.c) = e5dd1661d60dbcd27b332403e0843500ba9544bc SHA1 (patch-hw_net_xilinx__axienet.c) = ebcd2676d64ce6f31e4a8c976d4fdf530ad5e8b7 SHA1 (patch-hw_pci-host_sabre.c) = 75c076757ed96fc9f89cb0159f00c6cedcb39a27 Added files: Index: pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c diff -u /dev/null pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c:1.1 --- /dev/null Sun Oct 25 08:21:35 2020 +++ pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c Sun Oct 25 08:21:35 2020 @@ -0,0 +1,54 @@ +$NetBSD: patch-hw_display_tcx.c,v 1.1 2020/10/25 08:21:35 gson Exp $ + +Fix for https://bugs.launchpad.net/qemu/+bug/1892540/ +by Philippe Mathieu-Daude. + +--- hw/display/tcx.c.orig 2020-08-11 19:17:15.000000000 +0000 ++++ hw/display/tcx.c +@@ -548,20 +548,28 @@ static const MemoryRegionOps tcx_stip_op + .read = tcx_stip_readl, + .write = tcx_stip_writel, + .endianness = DEVICE_NATIVE_ENDIAN, +- .valid = { ++ .impl = { + .min_access_size = 4, + .max_access_size = 4, + }, ++ .valid = { ++ .min_access_size = 4, ++ .max_access_size = 8, ++ }, + }; + + static const MemoryRegionOps tcx_rstip_ops = { + .read = tcx_stip_readl, + .write = tcx_rstip_writel, + .endianness = DEVICE_NATIVE_ENDIAN, +- .valid = { ++ .impl = { + .min_access_size = 4, + .max_access_size = 4, + }, ++ .valid = { ++ .min_access_size = 4, ++ .max_access_size = 8, ++ }, + }; + + static uint64_t tcx_blit_readl(void *opaque, hwaddr addr, +@@ -650,10 +658,14 @@ static const MemoryRegionOps tcx_rblit_o + .read = tcx_blit_readl, + .write = tcx_rblit_writel, + .endianness = DEVICE_NATIVE_ENDIAN, +- .valid = { ++ .impl = { + .min_access_size = 4, + .max_access_size = 4, + }, ++ .valid = { ++ .min_access_size = 4, ++ .max_access_size = 8, ++ }, + }; + + static void tcx_invalidate_cursor_position(TCXState *s) --_----------=_1603614095184490--