From nobody Tue Feb 10 20:14:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528999511251837.0339219482371; Thu, 14 Jun 2018 11:05:11 -0700 (PDT) Received: from localhost ([::1]:41965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTWcQ-0000Xs-KT for importer@patchew.org; Thu, 14 Jun 2018 14:05:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTWYv-00070Q-AN for qemu-devel@nongnu.org; Thu, 14 Jun 2018 14:01:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTWYu-0000Pq-BM for qemu-devel@nongnu.org; Thu, 14 Jun 2018 14:01:33 -0400 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:33429) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTWYu-0000Pj-6r for qemu-devel@nongnu.org; Thu, 14 Jun 2018 14:01:32 -0400 Received: by mail-qk0-x244.google.com with SMTP id c131-v6so4156978qkb.0 for ; Thu, 14 Jun 2018 11:01:32 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id j16-v6sm3477401qtn.29.2018.06.14.11.01.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 11:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PQz3EMFjSWUexOnwv3PmrDmE8+79Iz9futMP6qW4jg4=; b=WCwDs97MNMC4Xw00y2J7gKF2oCVaY9IASHWRrFDZ2ILZUa2oJJXOC6tEA7nh9HZy02 qURCieJNgwBMWeJ0mBJpuWA0mbJIrmTDQ+tAzjMN5pavXNkLytgEmd4+M+skMo/vN9F+ /y0ZlCQGFD5iwM9vw0O2xt1TjooTX4KO8OEiEH4CjV8H8KcahEG1erv7J1qeB2uNeyXl KlGYU+DX5w+UClLENUXseu19qgp/RmlVmICX8jF97WuZZNgACwWu32qUhm1XQzAXwQMj U5jBIH3XmEaL/PGgz2aBuq+vj6o0ZTWheXNV5NfDv+NJCIPChB8G7i9bQPjpC8mM+s61 TfJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=PQz3EMFjSWUexOnwv3PmrDmE8+79Iz9futMP6qW4jg4=; b=L6zsAxwfTVbKwnpPPcI39zETw8fJfOYgksmhbE4IuW/p2Mu7W5/dl5ZFA5Kuxcwhc0 v2N4yS4WDcO6rw/I/K0CS2pT5U9n8AhV3oOK18beqAng9bKCmrLZ+D3IlYIV7cgzQmlU B+3VWMoc4Wn81Q938fGqfCkEYeHRmjUZ5NrgrQE6emUjlL09Vtif2nafBDwao5nQMevI DoI6tqGHo+OliI4zw/hfi5QvUmq9Y9P3s2WF0/lnzdLprId8StOFA1jcy98+JLmUkpPF 3tpCGiv2KqIelYdLWI4tb2FWze+j+4DIwEmh8YoHb9GkLn57LpYZbixYsEqUBVzDnRwi hqng== X-Gm-Message-State: APt69E2aZHMD6rCjs8Dq2drU2wJMMU+lCF9/6Rh7AbAS4sF5hDHjTxZt MrgxI3vFqJOiG/OyzO/TsNE= X-Google-Smtp-Source: ADUXVKJESGH0vOwT2FKDUl3viwIbfCWWNSjzlomIFOtzFwh0dBn9HKyzgfMkj4UD6pmdg2By9ZZgOw== X-Received: by 2002:a37:a9d6:: with SMTP id s205-v6mr3164945qke.364.1528999291606; Thu, 14 Jun 2018 11:01:31 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: "Emilio G . Cota" , Richard Henderson , Paolo Bonzini , Mark Cave-Ayland , =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 14 Jun 2018 15:01:19 -0300 Message-Id: <20180614180119.1704-3-f4bug@amsat.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614180119.1704-1-f4bug@amsat.org> References: <20180614180119.1704-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::244 Subject: [Qemu-devel] [RFC PATCH 2/2] hw/alpha/dp264: Disable the Super I/O parallel port 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 The 3BCh I/O address was used by "Parallel Ports which were incorporated on to Video Cards" and "has now reappeared as an option for Parallel Ports integrated onto motherboards, upon which their configuration can be changed using BIOS." The real PALcode is expected to configure the Super I/O and disable the parallel port, to allow the 3c0-3cf range to be assigned to the Cirrus VGA. This fixes an issue introduced in a4cb773928e where the SIO bind the parallel port in the address range used by the VGA device, resulting in overlap: (qemu) info mtree address-space: memory 0000000000000000-ffffffffffffffff (prio 0, i/o): system 00000801fc000000-00000801fdffffff (prio 0, i/o): pci0-io ... 00000801fc0003b4-00000801fc0003b5 (prio 0, i/o): vga 00000801fc0003ba-00000801fc0003ba (prio 0, i/o): vga 00000801fc0003bc-00000801fc0003c3 (prio 0, i/o): parallel ^^^ ^^^^^^^^ 00000801fc0003c0-00000801fc0003cf (prio 0, i/o): vga ^^^ 00000801fc0003d4-00000801fc0003d5 (prio 0, i/o): vga 00000801fc0003da-00000801fc0003da (prio 0, i/o): vga ... Reported-by: Emilio G. Cota Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/alpha/dp264.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c index 80b987f7fb..87504add8e 100644 --- a/hw/alpha/dp264.c +++ b/hw/alpha/dp264.c @@ -58,6 +58,7 @@ static void clipper_init(MachineState *machine) AlphaCPU *cpus[4]; PCIBus *pci_bus; ISABus *isa_bus; + DeviceState *superio; qemu_irq rtc_irq; long size, i; char *palcode_filename; @@ -95,7 +96,10 @@ static void clipper_init(MachineState *machine) isa_create_simple(isa_bus, "i82374"); =20 /* Super I/O */ - isa_create_simple(isa_bus, TYPE_SMC37C669_SUPERIO); + superio =3D DEVICE(isa_create(isa_bus, TYPE_SMC37C669_SUPERIO)); + /* Real PALcode configures the Super I/O and disable the parallel port= */ + qdev_prop_set_bit(superio, "parallel", false); + qdev_init_nofail(superio); =20 /* IDE disk setup. */ { --=20 2.17.1