From nobody Mon Feb 9 12:47:54 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1585902737; cv=none; d=zohomail.com; s=zohoarc; b=FIBrkp2dvllHaw9AD5EWlFelNEpVU0DMUvHeZz4HmrVVGDIqMUGt6CFrTzNWegtU4hvTZ/beLiznGwzmzKmUL+jT6Sb1WUaelqPZFkIOmPajT8un7h/ZRh56lZ+JtJJQf6ltKRc8+o8J4as5C6MD9iLZuXVhWiWyy9y5ru+BCEg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585902737; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Subject:To; bh=HGdnkM17HL9uaCtrakhAYhMPEz8tSMrXplJ+zuuUge4=; b=DTo3T10XOt+GmB1f9HP11rCRmBTFzxC56vd05o3NHzR13p0olxTYR3Gg1nkRThcoYnTbNxoWCHJ9ldln52MRzvBGBP1xKHtUODkBTLeKxsKGFQW770lVfBo9sNPlcSyRcwsq1nTaGUthsviIDSOnWnEWFvnYFuMXCvqAvuW5M3w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1585902737443434.1758786951966; Fri, 3 Apr 2020 01:32:17 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id C0F38B01D14; Fri, 3 Apr 2020 08:32:13 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id AE69DB00165 for ; Fri, 3 Apr 2020 08:31:46 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-248-F9d9qaJ1NDSr82-KGtEvYA-1; Fri, 03 Apr 2020 04:31:43 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C227B100551A for ; Fri, 3 Apr 2020 08:31:42 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.corp.redhat.com (Postfix) with ESMTP id 80C436EF97; Fri, 3 Apr 2020 08:31:39 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) id AEDFE17517; Fri, 3 Apr 2020 10:31:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585902705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5wcnUNBZABa0/rohONyzEk4ZrPmX9TlkuAzzfKGIgAg=; b=BnGB1zhY811Qu5Hx4mjwauSKediFu0I+9S0vXuCaBeAUdFsiY7TPvgnHc1rC+MwEgLRuuJ C/is0QQTnO6ksq/IqfCJj+D91wE6GBmlStb3soNlrnIrhtlm6Xp+VmdiK8PTTxPE2WBoQ0 W/qDP69PsIw5eCCbjeP2gM7b5pAuKXk= X-MC-Unique: F9d9qaJ1NDSr82-KGtEvYA-1 From: Gerd Hoffmann To: seabios@seabios.org Date: Fri, 3 Apr 2020 10:31:20 +0200 Message-Id: <20200403083121.10766-9-kraxel@redhat.com> In-Reply-To: <20200403083121.10766-1-kraxel@redhat.com> References: <20200403083121.10766-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: 4FC6DO43R7XMSQ32RA6AUIALRWNRTAGT X-Message-ID-Hash: 4FC6DO43R7XMSQ32RA6AUIALRWNRTAGT X-MailFrom: kraxel@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Gerd Hoffmann X-Mailman-Version: 3.3.1 Precedence: list Subject: [SeaBIOS] [PATCH 8/9] acpi: skip kbd init if not present List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ++++ X-Spam-Level: **** Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Don't initialize the ps/2 keyboard in case the device is not listed in the ACPi DSDT table. Signed-off-by: Gerd Hoffmann --- src/hw/ps2port.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hw/ps2port.c b/src/hw/ps2port.c index 2c334c06b7eb..c82521b42e16 100644 --- a/src/hw/ps2port.c +++ b/src/hw/ps2port.c @@ -542,6 +542,10 @@ ps2port_setup(void) ASSERT32FLAT(); if (! CONFIG_PS2PORT) return; + if (acpi_dsdt_present_eisaid(0x0303) =3D=3D 0) { + dprintf(1, "ACPI: no PS/2 keyboard present\n"); + return; + } dprintf(3, "init ps2port\n"); =20 enable_hwirq(1, FUNC16(entry_09)); --=20 2.18.2 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org