Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2503863rdb; Fri, 8 Dec 2023 09:57:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPe5C8aRmg2H0vBSkrfLTkrYO0cyc+RXDa6ad/4TXjwUlVd5TSSHn/PLqAPcdyUh5B4lf6 X-Received: by 2002:a05:6a20:1445:b0:190:cbe:9edd with SMTP id a5-20020a056a20144500b001900cbe9eddmr393114pzi.54.1702058253977; Fri, 08 Dec 2023 09:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702058253; cv=none; d=google.com; s=arc-20160816; b=ME0n5n/cd3rXJnrgxsQgkfub04lytuglxv5tpyF7EvScXN218LCrIWg7mxkRszYTIU LRNbjWKoo+qWQ/WCickTrrIsrVHuMmi+CvQX82exWZVBD+1Z4yzOR2Ion81dypGLlldC ZLGk8BJiQy+gKiuS+OCS2AhUtoifHVikA5SwIRF9Jfk/QDRxZQbYwimze6i8Jyxd6aM4 ppMnFCffcebe6FUwpEHOptD7x2eNh9/1JRkyUcSiUM020hu2/UTiEF65eJS3GVNS6t4t V6ttE1wMTdeJrZQc1VexwICtvaR6y6JkJ2/kVKnVt7N3UUhfLF1ctcPOTrdG9I8QPwQ7 9p6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1WnAv4rqpkRBBu2iSDQkGPMJXuvelVfqmuGMjwRzKqU=; fh=laz2GuBI3hWeGFVksHSj/QBWuNV5tYY+I7T+J7Xg00Y=; b=LJz1hl6uoAlZHjI1yz9DAxGICfUjqSiK//qWN/eBmA/qQNLHMJmQjNTnyh7393fH9j dCuA3MZzOKnP7euT1VEt0WOELNC19uOomypaft560jjrtJwLfIb2b3T5ci8ZKFm2mey2 T2BwKYhLFDWroj6Q+iL9Qzc8SfVgfn+1Lou+d7NHXp2vzudSMn2lzz5og1XU7ouvpjyN CufA6jyn5uxQD/LK/9JIS4edmprG0ANi5QM+hIC66UKm+m+TaRlZb+036hDCoubysbcn AngFhChOr4x/rqTiZ14E3Iv+EcS42W8p2+PSD6f+Bfcda/pM8u1F4g7+b6xE7qJgxaiN UeUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TEszEjn5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bx2-20020a056a02050200b005c1739564f7si1881799pgb.351.2023.12.08.09.57.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 09:57:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TEszEjn5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8BAEA81C3D6E; Fri, 8 Dec 2023 09:57:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574524AbjLHR5G (ORCPT + 99 others); Fri, 8 Dec 2023 12:57:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233796AbjLHR5D (ORCPT ); Fri, 8 Dec 2023 12:57:03 -0500 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8412C10D8; Fri, 8 Dec 2023 09:57:09 -0800 (PST) Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3b8b782e142so1659574b6e.1; Fri, 08 Dec 2023 09:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702058229; x=1702663029; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1WnAv4rqpkRBBu2iSDQkGPMJXuvelVfqmuGMjwRzKqU=; b=TEszEjn5gOY9Xv0zNJCcQBJqicTrKDF64CMC5XkEeJlUhslKGU/3HhrH3w00NK7dwc 801RR/xNTHWub3KzmqWF2eRhvCSn+7zSj5AQ1W+cUKuRxUoK4ntTpDXj7PJpOeSaDTPp p5kzsMdP46RWnzY/VCOU0OJhDsA5aEBHl2htPMXEMF/2NMKw5G/ltJAAqkd1Z31fzKAJ +SFoeJTIHnZFfto1gzls0GgUWGvnWEt6njhtluQDrL3Y+n3F9ODN7p28au46hPg1iUEF BiBt1xocWMURP1I35l4F2TP0CtGf7bj9j5LVC+df/DKrk3wRj/70g09vGH5JIXR0uX9v GVZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702058229; x=1702663029; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1WnAv4rqpkRBBu2iSDQkGPMJXuvelVfqmuGMjwRzKqU=; b=OoVxvjPOWW6zYsPjzQiTyS3F7IPm7ihl+M5rlsk/EHAQ7pdj1CMw80zhnw1rh+ZwBH 376fozIFWIlkkZgHIyWX5cCY+YwCsyXGwmm8IT0JoB7R0CW+j2rCcc1JXPcQJoSw5TS0 wyJAVPsUYHU2iDyUCbL/6gJvuUHJtwuuScv+TOJ93h4emHDiqY3PMKAWZ2iBt8KBd/pt qzk0j84eRR8x1l8bciN1kpV/0nepu3fSYlyB90YcUKk12ur/PPsYpWHdn1u6pIx0gXfE LkDMy4zd9Wk5E9D7FpPMONJfikr4+vP9o3OP9bsF0MNj9IywBnEUvAz3HDVRE4YN2g6z RH6w== X-Gm-Message-State: AOJu0YwsHfo4rh6rVO/e1Obqn02dEvKAsfkjxW919t5od6Hjjh+o6M7G 8Ya96roGufNyC8feGvrm3+I= X-Received: by 2002:a05:6808:198d:b0:3b5:75ad:5b73 with SMTP id bj13-20020a056808198d00b003b575ad5b73mr547697oib.13.1702058228721; Fri, 08 Dec 2023 09:57:08 -0800 (PST) Received: from google.com ([187.174.134.190]) by smtp.gmail.com with ESMTPSA id j5-20020a544805000000b003af644e6e81sm398580oij.45.2023.12.08.09.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 09:57:08 -0800 (PST) Date: Fri, 8 Dec 2023 17:57:05 +0000 From: Dmitry Torokhov To: Mario Limonciello Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, rrameshbabu@nvidia.com Subject: Re: [PATCH v2 2/2] Input: i8042: Add a quirk for Framework 16" laptop Message-ID: References: <20231206212140.7458-1-mario.limonciello@amd.com> <20231206212140.7458-2-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231206212140.7458-2-mario.limonciello@amd.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 09:57:31 -0800 (PST) On Wed, Dec 06, 2023 at 03:21:40PM -0600, Mario Limonciello wrote: > The Framework 16" laptop doesn't have a PS/2 keyboard. At bootup the > following messages are emitted: > > i8042: PNP: No PS/2 controller found. > i8042: PNP: Probing ports directly. > i8042: Can't read CTR while initializing i8042 > i8042: probe of i8042 failed with error -5 > > There are no PNP devices as those listed in `pnp_kbd_devids` but > i8042_pnp_init() ignores this and still runs and will continue to > try to probe. > > As there is no PS/2 keyboard or mouse in this laptop, set a quirk > to avoid this behavior. I believe the proper fix for this is for the firmware not report i8042 as present by properly setting up FADT. Please take a look at arch/x86/kernel/acpi/boot.c::acpi_parse_fadt() and how it sets flag X86_LEGACY_I8042_FIRMWARE_ABSENT. It will still say "PNP: No PS/2 controller found" which is an "informational" message, but should not try to probe ports directly and report errors. Thanks. -- Dmitry