Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2520779rdb; Fri, 8 Dec 2023 10:22:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNtKVscU3u0DBr2vpGu6DVJcgOWWS3+eLB5kmyld0bZjQFUz0ZrjWeVZ4p9tjInEuLDjQ5 X-Received: by 2002:a17:90a:68cf:b0:277:68c3:64b9 with SMTP id q15-20020a17090a68cf00b0027768c364b9mr1886740pjj.5.1702059767810; Fri, 08 Dec 2023 10:22:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702059767; cv=pass; d=google.com; s=arc-20160816; b=rjKqqqhTDHF+0Ksr/h88X1WxrGTK3s7SRkBmUSOqMQsPGZsH9CZe78FRcrUArlhNFj 2B0piuKpCWl69fEtUzrxBqS9WoATLAVkDhSOi3uHuwgwSssXknhRg/9z67PdQXwiMQoW wDQu5Dt8xmNQiMNI6n6J/ek3iAwDyRsdIWXgJM9XTChTzsNeQot2yd1LxMbQRXfdrfii gfXaNNK+MpjpEq9lZNd79kJ+xGWcEeM56xDKyhqIXVdeGLPgfUxD4NDwe61brgMEp4Fr RQbZAgzGRVD0gnryvvBmr2pzqPpgovRhUktlXnVhXzy/ZagrEVVKGZCz2aePog8emike IYww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=g9Whj5COiQFoeSINVnrPGl6eZGN0zGbvAadKVapN3AA=; fh=vbio0J7OAvyAPCCP91u71xF1Vq/tSZTvriAb8nh7bQM=; b=GHUgdBhkdR/os/Qd4xwA5v6/MmyneHk1sPq+02nsqSqcekAg80phPeo/8HBhyg+JjM INXC4FzJ+D73D94P/HZVO8bBAYX7qeA33Sh0pxAHAm6wXmazWdwKvOGZ6C8YNDIrzdvZ S19ZuF0//in3GQa0T+u1L5Dnk+J7wCJZcE8NdU0MhlkN1rwyQDuTJlFNrIdMlsDFjIY5 yfgsPvBVTXqu3cBiXUz5aQb0xuxaiukvXzBKNw7z7pI0tlOm5sQcUsBXO8/ELMK0wvto xZaRwWsxuSYygUATN3xmhAJKfzvdqhozjUp3tDbwbIwmgAt1Tp3R3QSNxCxKXU2dy6Yz z+uQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=nJ9vp763; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id m2-20020a656a02000000b005b942de1e92si1906399pgu.443.2023.12.08.10.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 10:22:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=nJ9vp763; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1902A8521378; Fri, 8 Dec 2023 10:22:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574566AbjLHSWa (ORCPT + 99 others); Fri, 8 Dec 2023 13:22:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbjLHSW3 (ORCPT ); Fri, 8 Dec 2023 13:22:29 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2056.outbound.protection.outlook.com [40.107.92.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EC0090; Fri, 8 Dec 2023 10:22:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TGeOCVqat7p0Q6VmBYJN80BEmYjfE+rUCSWkXQBpOxczzMPQtPq2HCotCBt+ean0b9SVy2l2V//deFZs04B7C4wtbwFxlDpCkrbgVjBm2zdhESxuGYy91D5OAM6Qf+JoPH047dSu2Uxm97V6DwGMvDLaNSqSMvRGoY9h71cYwp2PotXTjM6VCu8r0679PoNhKIdAfBhJsQQYqAIGqh2tA+zdQcOR5AfVvUgpIsJaVYzXgFUuHruOrE3ZUENhPm1cKhNb6pZXlr1NFHj28IoM2iFAy0ou1la4kezeFaBbXxPl8rOTvRxkUQHBMUnL0J6f3dFRGC8K3a+NHWG5dtE3ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=g9Whj5COiQFoeSINVnrPGl6eZGN0zGbvAadKVapN3AA=; b=bYNlcLQrDo/Tkpwft9nkXYCvGG1WH2xsIsj7JF5isZu0C26w/aYD70EkTbCRghJ4JKqfEpAaHMj9hCEkzeoDXd+alPP+HWVEK1TeRuixjYAEgeJIro9D7kkdawKppVOeQ7tTfFw475sS0FTH9gXz3Aiq2JMMsquL3++ywdNXGfD4MmWiIC8LY34E+dC6xBYcSObf/hiaTufC6GmdqEAjdxYyoEp4lqUdWjjueZ9dPpo+j7Oo12Pu4p9kTfGGlCHOzcOwh+csAHzdlJytNPmctY/3CNLGQyZvoG/Cx5KJEXj/wULibjwJ5dASVwnt6dSCvvioZJ0hyVQIAO1Eh0UU9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g9Whj5COiQFoeSINVnrPGl6eZGN0zGbvAadKVapN3AA=; b=nJ9vp763cKUwq58Zb7DGKeBBt8+LNMMXFYX71M3qluvt+ZbrIMYnkpap8T8cA4eLzkyov6nHbaKYetHtACjSiHO3BwVVhZbam2i/iZetBxBYzSHeRctr3APk9UM9+diHzoOcYzlpSEEDTneQ7wx3+tJFF8ZkvFlHQ/45Ds3HU/k= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by BY5PR12MB4066.namprd12.prod.outlook.com (2603:10b6:a03:207::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.28; Fri, 8 Dec 2023 18:22:27 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::83d7:9c4f:4d9b:1f2a]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::83d7:9c4f:4d9b:1f2a%5]) with mapi id 15.20.7068.028; Fri, 8 Dec 2023 18:22:27 +0000 Message-ID: <0f1b9e43-61be-40a0-881d-69b0164b1926@amd.com> Date: Fri, 8 Dec 2023 12:22:25 -0600 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] Input: i8042: Add a quirk for Framework 16" laptop Content-Language: en-US To: Rahul Rameshbabu , Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231206212140.7458-1-mario.limonciello@amd.com> <20231206212140.7458-2-mario.limonciello@amd.com> <87y1e4o9ce.fsf@nvidia.com> From: Mario Limonciello In-Reply-To: <87y1e4o9ce.fsf@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN4PR0501CA0036.namprd05.prod.outlook.com (2603:10b6:803:40::49) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|BY5PR12MB4066:EE_ X-MS-Office365-Filtering-Correlation-Id: de55c0f5-330c-4e3b-e6e6-08dbf81aa224 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fz0yRZbRmXuiWw1rPtiv1q8lGG6BPMJYY+Lg/h1kQtLWlPtodvtzyh+vtJq4wOONvtbLMW/ZjCvHabOn/Wie0VBS6l+m/I3w2pRIF6fobuZXof7IotiIRurlc+GaDuYqA/+4ddrRHRkkV+lUGBOg5zWlO5A9ZE1K8HXu/jwRhAAO0zW78wMeW4DspRE/PMhbqAScBzPjpag88EWR2Liw47tfomMlH/A3mE/UVt1F6Ea+gaIrMGVGdhuBrkdNdQPVTObJ42MFpZeLj0plujUGhE/dh08ibItwcLha3QXlida+a0VOKsuNfG8t04b9VfXbFGVQh5Oc5DsjBUInLqKEADHNV09c/j05hQKNOMLSdi/4DYeyBzYXoFcAlhKPDkYH5JWTAkXkAdcGLT5C+nsNooVm+qhdUpf6prQ2YIDWUOUj9QGoJz9jAVqUJNtG+KXWZiZIEPz9GLW+bhcZLLZRMSpofNuvkZm8/zbwq/YOjwUnDXxzVujuuUumy8WjcXZqscBcY/yFg00ipFpSkTiZtBcIDDOxN+ZKQ+sPS8/iKKXwr/cN5OxoE3oux9McOr702Q/IbQrW28RjBnmgeTk8/3NyjyG4kannaFjct0G0d4fgeTXHnH/gtugJnRheDAJUQvW/FHWzJyrs7Ul2sJUgZQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(39860400002)(366004)(376002)(396003)(136003)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(53546011)(6512007)(6486002)(26005)(966005)(2616005)(478600001)(6506007)(83380400001)(2906002)(44832011)(5660300002)(41300700001)(110136005)(66476007)(66556008)(66946007)(4326008)(8676002)(8936002)(316002)(36756003)(38100700002)(31696002)(86362001)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aEE5Z2FQYzJ2R3lBcXJ1NW5MTEt4NXlXNTgzeHZIUUd1VGp1aXVsU3FaTW83?= =?utf-8?B?YmxmbWdKMkVQbkV6ekJDRExuYmFCdUQveXh2ZWZjUHh3TGJqU2Q4ODhJc2Jj?= =?utf-8?B?TFM2YmRVUlRhaWJXcktabGRvakdCVElmOFUvK0pXYXdzN1U1Um9NMUpxWHkz?= =?utf-8?B?ekNyR1BVano5dzBUSndqY3ZUd3BNM3d4ZnFRbkl5cGZRZGJnMTZMTWw3Wlp0?= =?utf-8?B?SUJRbTdxMzBFSloyWTZrM2d2VnZjK2QvWFJrSm9sU3ZGZ0R1VjlDcEo5bUNy?= =?utf-8?B?Z0RnWHFISGlkcnd6M1Y4cHFjM1B4S1d3dFBIS2hLZVRRS0FVZmxOQUdjRTA5?= =?utf-8?B?bThOaWxBcmwxR2k3N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c-4e3b-e6e6-08dbf81aa224 X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2023 18:22:27.7463 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: efJMXoLV8eAM7ENV2UkwrvH7+KhZ07j255N+q4HCs1vZT/8YDckEfz216z3uvbMPnj7ZGoZFb/SGje5iLoS0LQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4066 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 08 Dec 2023 10:22:45 -0800 (PST) On 12/8/2023 12:08, Rahul Rameshbabu wrote: > On Fri, 08 Dec, 2023 17:57:05 +0000 Dmitry Torokhov wrote: >> 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. > > This is along the lines of a point I brought up in the v1 of this patch. > > https://lore.kernel.org/linux-input/87v89bgl7a.fsf@nvidia.com/ > > This means that Framework as a manufacturer will need to provide the > appropriate fix for what's advertised over ACPI by the device. I think > that makes sense instead of creating quirk combinations to avoid > resolving the issue at the ACPI level. I guess the only de-merit is that > means folks need to depend on vendors with no way to suppress this if a > vendor does not correct set up FADT. Got it, thanks guys. I'll raise this with them. > >> >> 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, > > Rahul Rameshbabu