From nobody Thu Apr 2 02:45:41 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1774905666; cv=none; d=zohomail.com; s=zohoarc; b=iB6W3w8fThCo1oMFmV/WSySG/jPMvbgJh6ZDxMbVQ/mD9wC8gsasdKsZZlFS0wwFODXcOkeWH7EJEdmSnL+m7Gu8LvIzcio457GTuR7L+HX6+BjdmvnFxmPRd6V6jOlzXsJpYwl/eETiwfvfHTX7SThrxrcnmAsC/iTLuMrr6tM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1774905666; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=uC77Jm54q7lg/Q/QKCeJbytRSuxTmLJPcPGmLOOpkrY=; b=P0gBT/y1+g3y32dMeG+buT5k+yrrfByy+R5pg2XoXsWN65hB1am1keNb4MRIKDbjKpsCy6j2qQJaXbbJFnVhi4EKVfccqB5AHHXWXbGzbb69i5mnqHTPCRGECkIDIOkaqsiRD9k+OCLQ4LClXwjeR232UPLtymj/TwNijt3hQCg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1774905666165577.2245132564386; Mon, 30 Mar 2026 14:21:06 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w7K0r-0000mh-Hz; Mon, 30 Mar 2026 17:19:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w7K0q-0000mC-DK for qemu-devel@nongnu.org; Mon, 30 Mar 2026 17:19:08 -0400 Received: from tor.source.kernel.org ([172.105.4.254]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w7K0n-0003i5-IH for qemu-devel@nongnu.org; Mon, 30 Mar 2026 17:19:08 -0400 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id C2C1A6013C; Mon, 30 Mar 2026 21:19:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BEC4C4CEF7; Mon, 30 Mar 2026 21:19:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774905544; bh=vnvUz445Ezf/ayCp3s3+xZTULkEUm1mH6fmU65wFVRs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RNntecLiKJLF6r3C/Gr+ObyNGpJLj0rdxC4+ZIMxIIiqJuzLwbxxso9GEHSGDOwlA eazmYjVjYsA269nQPbe9dPoK6Q+Lfc2KyZABFe7d/PKVs0xdb9eeckaaocQ/PYyCPw v7JIVgZMQo+WBQCAEUYpZG0WwaLrg5LY9366Ktmt4BgQKBuAr6ZC/qZoofg8wEu7kD 9C565EfZz9OBSklWo5IPpRxNWJnf6KKDNj/dGtsJmjodfJ4+hroLax7ux2PKSsEmAq obXOWlkt+02g6WtteuoH+B4aJk4Bqfw/1EomhEyfW04LgoZeV7vNogiQl6V/5g4vac OOUa1QiyS77+g== From: Helge Deller To: qemu-devel@nongnu.org Cc: deller@gmx.de, Richard Henderson Subject: [PATCH 02/11] hw/hppa: Disable Artist graphics card on 64-bit machines Date: Mon, 30 Mar 2026 23:18:49 +0200 Message-ID: <20260330211859.19317-3-deller@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260330211859.19317-1-deller@kernel.org> References: <20260330211859.19317-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=172.105.4.254; envelope-from=deller@kernel.org; helo=tor.source.kernel.org X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.54, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=1, RCVD_IN_VALIDITY_RPBL_BLOCKED=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1774905666675158500 Content-Type: text/plain; charset="utf-8" From: Helge Deller The original Artist graphics used the GSC bus, was often installed in old 32-bit machines (e.g. 715) and can not be used on 64-bit machines. This is why this patch makes the artist driver dependend on the Lasi chip, which was never used in a 64-bit machine. Note that there exists a variant of Artist for the PCI-bus (Visualize-EG PC= I). It has quite some differences in the registers, and would require that we w= rite a PCI ROM for it, so that Linux and HP-UX would be able to use it. Instead, for now, users can simply use a standard VGA or ATI PCI graphics c= ard on Linux. This can be enabled on the command line with "-device ati-vga" or "-device VGA". If the "-nographic" option is omitted, a PCI OCHI controller with USB keyboard and USB mouse will be added automatically. This fixes graphics support on 64-bit hppa machines and allows us to boot u= p a 64-bit Linux installation with VGA graphics. Signed-off-by: Helge Deller Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/hppa/machine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index 3663bac53b..58e76bee2e 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -384,7 +384,8 @@ static void machine_HP_common_init_tail(MachineState *m= achine, PCIBus *pci_bus, SysBusDevice *s; =20 /* Graphics setup. */ - if (machine->enable_graphics && vga_interface_type !=3D VGA_NONE) { + if (lasi_dev && machine->enable_graphics && + vga_interface_type !=3D VGA_NONE) { dev =3D qdev_new("artist"); s =3D SYS_BUS_DEVICE(dev); bool disabled =3D object_property_get_bool(OBJECT(dev), "disable",= NULL); --=20 2.53.0