From nobody Mon Apr 29 13:59:46 2024 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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529342499095790.390247390596; Mon, 18 Jun 2018 10:21:39 -0700 (PDT) Received: from localhost ([::1]:36161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUxqQ-0006SH-AT for importer@patchew.org; Mon, 18 Jun 2018 13:21:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUxLz-0000Db-3m for qemu-devel@nongnu.org; Mon, 18 Jun 2018 12:50:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUxLv-0000yd-PW for qemu-devel@nongnu.org; Mon, 18 Jun 2018 12:50:07 -0400 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:36324) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUxLv-0000yK-JC for qemu-devel@nongnu.org; Mon, 18 Jun 2018 12:50:03 -0400 Received: by mail-pg0-x241.google.com with SMTP id m5-v6so7800975pgd.3 for ; Mon, 18 Jun 2018 09:50:03 -0700 (PDT) Received: from cloudburst.twiddle.net (mta-98-147-121-51.hawaii.rr.com. [98.147.121.51]) by smtp.gmail.com with ESMTPSA id r74-v6sm26595185pfi.174.2018.06.18.09.50.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 09:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=a6pKMordrXQmrUiZSRTui45h7SCROwVcP22jkfV6Pzs=; b=YBUu/953M73svNVDZEpkMidyr5Nr/26b2heWl4+31aBfEcNDCrNrjvbSTXbQK5HsgT RRX3HKK3d3LSI+1gUfIxU8n5W0iZ5xkchhBKVuDdCJeU8ijUCB4WWji6CFklsyZaB4jq qIR2PeFw3cSkQHjjfLUSfwzG9XUlQutnhmHt0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=a6pKMordrXQmrUiZSRTui45h7SCROwVcP22jkfV6Pzs=; b=d1zkLDUxbKeiu3o4mkCR6b8MUawQkJpz4hIQO9Dba49KAtnMG31lnevWGErX45KZDR lhUIzuWpNx1/hCExHA0V08z6U3ZES6VIYHqqujHDPlzrZDEOno6Q7ZPcRiMlk5Q4+lBH q7YNsjK7w7gg4zGRxsJTGvObNBHXuXiH0HHyfKYOp2NGaBE5E1+giDsdZE+epk+yPHFn PiDutdw7zmwlq4B6YYxzIorx6q8Y5u5uxKD2Ljoo12oZ6Jeq9jeFEx+q2sVzOwxFX1XC PE72A6VfMXGUAsGJy/qUYqXGvtjdLih2sXd5Bv5GqQDvCKRqLfkvglfER+kFR2XYf4hY O9jA== X-Gm-Message-State: APt69E0JNrsMn2Emuq3YH0vySiowxN6U9qHdqTm+2Y/Ttzh15d1GeLM0 jc9dLf4OzSB6bc7gPtUi56o2FRrYxVI= X-Google-Smtp-Source: ADUXVKI1kegEfLfKCDi3ZXJE6x0IjHTlFZem6sMucoTC9QotGIqjy2lR99nAwCgzoEOj1OoI0pjKOw== X-Received: by 2002:a62:a8e:: with SMTP id 14-v6mr14295096pfk.57.1529340602294; Mon, 18 Jun 2018 09:50:02 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 18 Jun 2018 06:49:55 -1000 Message-Id: <20180618164955.6923-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618164955.6923-1-richard.henderson@linaro.org> References: <20180618164955.6923-1-richard.henderson@linaro.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:400e:c05::241 Subject: [Qemu-devel] [PULL 1/1] hw/isa/smc37c669: Change the parallel I/O base to 378H 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: peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 From: Philippe Mathieu-Daud=C3=A9 On the Alpha DP264 machine, the Cirrus VGA is I/O mapped in the 3C0H-3CFH range, thus I/O base used by the parallel device clashes, and since a4cb773928e the VGA is not working: (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 ... As there is no particular reason to use this base address (introduced in 7bea0dd434e), change to 378H which is the default on PC machines. Reported-by: Emilio G. Cota Suggested-by: Paolo Bonzini Tested-by: Emilio G. Cota Reviewed-by: Richard Henderson Reviewed-by: Mark Cave-Ayland Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20180614233935.26585-1-f4bug@amsat.org> Signed-off-by: Richard Henderson --- hw/isa/smc37c669-superio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/isa/smc37c669-superio.c b/hw/isa/smc37c669-superio.c index aa233c6967..64466a9373 100644 --- a/hw/isa/smc37c669-superio.c +++ b/hw/isa/smc37c669-superio.c @@ -37,7 +37,7 @@ static bool is_parallel_enabled(ISASuperIODevice *sio, ui= nt8_t index) =20 static uint16_t get_parallel_iobase(ISASuperIODevice *sio, uint8_t index) { - return 0x3bc; + return 0x378; } =20 static unsigned int get_parallel_irq(ISASuperIODevice *sio, uint8_t index) --=20 2.17.1