Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3088198rwe; Mon, 29 Aug 2022 05:45:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5yvtlBTLOQrkh8OXiNPWODRzTcyWzwuDSNbm5Q1x4bE9/eOjylhsnls/H766GORyTbQjm4 X-Received: by 2002:a63:88c8:0:b0:42b:59d4:ea81 with SMTP id l191-20020a6388c8000000b0042b59d4ea81mr13185114pgd.344.1661777123667; Mon, 29 Aug 2022 05:45:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661777123; cv=pass; d=google.com; s=arc-20160816; b=MndDZgjeitvwp3ABNZ1YdMb2z+lF5Ja8eU9mAqn4hUkyNpNgz6EQuP/TPwSWhwivpu VUqSIf2U/furI9LVL/mjtYP/OwG4ePuIG1dW1F4YAPYfwIWQOHEiTPTHVfl4v6/LfkQm s38YUIEPrgtwPXjIP8L0/k7QLW46fy6l2ERFMMCXM2LeHN7tHQ8gCdpUpNpm9EeUZroC SIeWyjf8qDxtFEB0TL1xI6/UjUObKcRGl0SQnqPcuGyJ1ebidcyQ6cMpVnWVeve8mLkG E0UJMHSWBI/jRV8pB2ejphWX55MCjler5nFMs6MifIYIKwXBQzhBPBRe1/vCzL0aR9gT qcEQ== 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=U6c5WZQwUgy7OL/UXCPkfsvB+yvZP1YDxIWGTma8zzc=; b=JNr1pu09HeVbwXQnQrjUTI9ng/UYiva2ivnPyoO3t8wplblo21Nq/g0kYVerXN3evM r/PJgauwvOJRuhLyoqxV0gHPavpn0jhyI5u0kwI5e35VpB473biELqr3aSoLIHt+N9+m YEONlw0T/2YRVK+XCUkbot9SPJvuRr7mV0qhzZf9XBo0LFta6l+je3OXA0LkSnl/5BP/ coO6jXDDuVAR0D/HC6N23o+3qtOW6TNZf3H1sCLsmHEaAdpBI4EXKP5uX2/NrWdZmzrc +Z0FtijpRZJeOjjoSROkS3VBJTUT+UpdDAbmKJXEtqvvhOz3gFiNW6NKMoBFjuQMOjHm hwqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Pys0o8Ex; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a63df4d000000b0042890f36264si9101161pgj.34.2022.08.29.05.45.12; Mon, 29 Aug 2022 05:45:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Pys0o8Ex; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229585AbiH2MfT (ORCPT + 99 others); Mon, 29 Aug 2022 08:35:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230057AbiH2Me5 (ORCPT ); Mon, 29 Aug 2022 08:34:57 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2060f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::60f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9B17A1D19; Mon, 29 Aug 2022 05:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mg44UQfdo+fks5KDR7XN8rhajhaMHnGshHKfbnMv2wYS69NB9vuQZAKMwvCn28uRvzvUIVhGKF6I40Dd1sYrGBeHvb5eW8WpPY+t0J1H1Y5BTXh+tHC6Qxmo+eo+l4xwPgX5hlfRlPq5TlSYM/ggqkygSS8fYvi9/Ldxn03w1vymH8xd5/5Tlf7q61iSLXqpx3Bt77utnSp/7xm4m0lMsTg9ffhyAKPfKtjCQ5NM0+2OgjnnVbnfsxv7r0SxZ5oLMW9Tgz/a7sazDMBX7w3F3MWPje4rKJi9LqfLmZ/djaX6jvafFi+Q2kyzBDR8+1pFZsf4SeHqrnU5bdzz+WSV3g== 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=U6c5WZQwUgy7OL/UXCPkfsvB+yvZP1YDxIWGTma8zzc=; b=jgAncVQ5DFEeNO6tJTXNl4yzbdCeaE7PPSBQu5Am3IKNodTJCOAwNcg8g/lh6AdtVdUh/J7o2dRjywxPyt4FLT+E2M0ZpLCj8G+MBHhmZJWA1nBCLQyAlILz5tb5Hc22Xlc5RgI8fs4FewVHC8JvhhN0yH6Gzg7g5L0nzLNIx8es3DLx1RI1ZVgj4/nDUzJJPfrs01WBZRiP/f/5HBZqQmbNMwAhzgnOfVab1J+XQLn0eBfw7r9dVP7i22E+6Lu2iAe3yRnVYMqYQ6tgW26TkI0pzLJ6HNd7IZiP1sFL+F8HmNjquoWl2hzU7FHC8xomJiAV/ilArWY2Vr5BolUzVQ== 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=U6c5WZQwUgy7OL/UXCPkfsvB+yvZP1YDxIWGTma8zzc=; b=Pys0o8Ex5LNreGPyvlZeJEu4NFScteLMV6iHM/YhkH+f407VDFv99DyQHc6QKtPaBuC0ivlBpDpsJ4o5FPpmvgbIKcW/UpjnV4MEZ4cs19O00FMpd4I+v9vniHZODTVETaRy9JrPor06yocucWnrX5foucoflwv8IEpPaXqoktI= 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 MN2PR12MB4357.namprd12.prod.outlook.com (2603:10b6:208:262::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Mon, 29 Aug 2022 12:17:50 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::e00a:1f8c:dcd1:afc3]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::e00a:1f8c:dcd1:afc3%6]) with mapi id 15.20.5566.021; Mon, 29 Aug 2022 12:17:50 +0000 Message-ID: <12b98ed4-6bc3-455c-3b90-a159d811147d@amd.com> Date: Mon, 29 Aug 2022 07:17:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] platform/x86: wmi: Lower verbosity of some duplicate GUID messages Content-Language: en-US To: Hans de Goede , Mark Gross Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220826170053.2124-1-mario.limonciello@amd.com> From: Mario Limonciello In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN4PR0501CA0051.namprd05.prod.outlook.com (2603:10b6:803:41::28) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1a13980f-01d1-4a86-ab8e-08da89b87dad X-MS-TrafficTypeDiagnostic: MN2PR12MB4357:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ueU5VEEDF1iBf7ffTYfaIbqmA+eSUO7MPbwkP1D2Taxey+/Zy4wPLSvZoX3TzcZKw8nkHRnc3YygAOVNBsGL25Rzg1x/pmgHugQ6GhQ7zyLdN2t5CRS1KFGJW77YTXNa0uh5lPITgrJziFE4Wk5dYhng8EH9L+/gDpjOoNsF+95U1iJx7Cia1z1Bxp2VDyzdVqF8s8/+KZvuIgMreHH7dYpwBTGH34nj2BZrMrcH4BVUkmAbKJ5J+LXjSrKOjeawozVtSjLezAmlfOOtqn5zM3iQ4H5jb7iWsanNcr6kYXiDthngzzII4ZA19b+r5vldgA3QgVE6rFSQn/s/PsrpP9k7xJV4OM8/l7orBN6x0IWCFfKF2BmkkmhuQMN+kCqiAqDzfzPxfum4H6EbFL0QZHreyBhcrP2U+I8DRWrgjmUnkYiZechUjRNYZZnjAYHu9m3kHAI/P7kxJPdI9P0oR3fY6LnxkAk7EHWRJy+fZ+PbAkIL6TtccbpwDSBZH96my8xJ2e51aoQ6dng0lNC4LpZ1bBXi/8ThlpQCaPnOp9HykG+wWcSvFq2Srlp/XjjPACMGr7/rcrxwzoW7clKCM5NGx7ioN+o26qWuoz7reayVtbXWKR0Rr01lcR+3aqhDIbcldjH9nb8KKpIGpiaVZvcvDrJgPCuO55GWRpdBEvInEGu/kaHL2z69XdkIqjWbL1h5jzPGmX8tf3iecTb8yqhn2x+SSQos0LZR3pb3WXu1BbfYhHC6C7O8ggglDBJDthTEtzuWd/FuEXawgLsfR9igoM+6HN8wWz438Nd5ot524bC/E7nGqnVsAC31CL7UViUmI6a6Q+IC8J/afAUdxA== 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:(13230016)(4636009)(366004)(346002)(396003)(136003)(39860400002)(376002)(110136005)(66476007)(66946007)(66556008)(5660300002)(15650500001)(8936002)(8676002)(4326008)(2616005)(31686004)(44832011)(45080400002)(316002)(36756003)(2906002)(6486002)(478600001)(41300700001)(6506007)(966005)(6512007)(86362001)(53546011)(31696002)(83380400001)(186003)(38100700002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eklHTS9kN21RcGkxaGs4ckhOZnMwY29CaHlXTk9sNXhJTXdJakJpN0I4V3hH?= =?utf-8?B?eElzN3I3L3lZZ1NSOUdOc3FOWkx5RkZVV1hkRVFtVmpEZGVQVUpBTm9wdnVI?= =?utf-8?B?WUd3U2tHYStNNEczMStpamxNd1d0VW5WUnl1Q2YrNlcwRXVSNkx5OW9kUTZK?= =?utf-8?B?UVptQ1kyRkR3bTRNQUZsUnBxYk5KSmNuV2pBYUU0MVkxL1J2UTNlVlBobWZZ?= =?utf-8?B?bFI0empyd3l2Unc4SlNnU3dTN1NKTTBFVVFtMkd4NUdJZ0tJMTZDSlFPc3Fz?= =?utf-8?B?RlBkSlgwZ3hqdXFlTHZydFJVRmt1MlEvMzFGNEV2Z2taRGplS25CUXBhU05R?= =?utf-8?B?SDA5YXV2TmdxTGRVeUVCcHAvVitZWjRxWG1XNTI4M1hIeVR6b05TdkVJMVNY?= =?utf-8?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jSe?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a13980f-01d1-4a86-ab8e-08da89b87dad X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2022 12:17:50.3273 (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: 4J3ThagOP3hatA90e07mScGv+EdlB3U4rL499eNdS0TjOaiUAqFK/K1EFZzWfWLzELis7fMrEH3TiFwnFluT7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4357 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/29/22 06:45, Hans de Goede wrote: > Hi Mario, > > On 8/26/22 19:00, Mario Limonciello wrote: >> The WMI subsystem in the kernel currently tracks WMI devices by >> a GUID string not by ACPI device. The GUID used by the `wmi-bmof` >> module however is available from many devices on nearly every machine. >> >> This originally was though to be a bug, but as it happens on most >> machines it is a design mistake. As there isn't an active need to >> get the binary from each of the `wmi-bmof` device, special case it >> and lower the message to debugging. This will help to identify if >> there are other duplicate GUIDs in the wild. >> >> If there are and the information contained in them is desirable it >> may be worth considering a design change to the WMI subsystem to >> access those. >> >> Link: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flkml.org%2Flkml%2F2017%2F12%2F8%2F913&data=05%7C01%7Cmario.limonciello%40amd.com%7Ce38feb41da464767725808da89b3efcc%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637973703162395560%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sGh1bVTcO7vXOF6%2BwibhS7nbSiH3aEEdVNGfanKkGF8%3D&reserved=0 >> Signed-off-by: Mario Limonciello > > I am a bit surprised by this patch. I though that there was > consensus that the right thing to do here is actually create > wmi-bus devices for the duplicate WMI-ids adding a numbered > postfix to the extra devices (lets not add the postfix > to the first device for each WMI GUID as some userspace > code / scripts may depend on the sysfs paths not changing). > > IMHO registering wmi-bus devices for all the WMI devices > in the ACPI table would be the right thing to do ? I don't disagree it's the correct eventual direction, but I looked at it and it seems to be a much larger overhaul because that means drivers would also need to be able to specify which ACPI device they're intending on interacting with from wmi.c rather than just a GUID string. So before going down that path I think it's best to understand if it really is just wmi-bmof causing these cases or more cases (low priority IMO) or if there really is a strong need for the overhaul. > > Regards, > > Hans > > > > >> --- >> drivers/platform/x86/wmi-bmof.c | 2 -- >> drivers/platform/x86/wmi.c | 10 ++++++++-- >> include/linux/wmi.h | 2 ++ >> 3 files changed, 10 insertions(+), 4 deletions(-) >> >> diff --git a/drivers/platform/x86/wmi-bmof.c b/drivers/platform/x86/wmi-bmof.c >> index 80137afb9753..af46e9e03376 100644 >> --- a/drivers/platform/x86/wmi-bmof.c >> +++ b/drivers/platform/x86/wmi-bmof.c >> @@ -18,8 +18,6 @@ >> #include >> #include >> >> -#define WMI_BMOF_GUID "05901221-D566-11D1-B2F0-00A0C9062910" >> - >> struct bmof_priv { >> union acpi_object *bmofdata; >> struct bin_attribute bmof_bin_attr; >> diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c >> index aed293b5af81..d7a1f4bf443b 100644 >> --- a/drivers/platform/x86/wmi.c >> +++ b/drivers/platform/x86/wmi.c >> @@ -1157,6 +1157,9 @@ static void wmi_free_devices(struct acpi_device *device) >> static bool guid_already_parsed(struct acpi_device *device, const guid_t *guid) >> { >> struct wmi_block *wblock; >> + guid_t guid_wmi_bmof; >> + >> + guid_parse(WMI_BMOF_GUID, &guid_wmi_bmof); >> >> list_for_each_entry(wblock, &wmi_block_list, list) { >> if (guid_equal(&wblock->gblock.guid, guid)) { >> @@ -1166,8 +1169,11 @@ static bool guid_already_parsed(struct acpi_device *device, const guid_t *guid) >> * we need to suppress GUIDs that are unique on a >> * given node but duplicated across nodes. >> */ >> - dev_warn(&device->dev, "duplicate WMI GUID %pUL (first instance was on %s)\n", >> - guid, dev_name(&wblock->acpi_device->dev)); >> + if (guid_equal(guid, &guid_wmi_bmof)) >> + dev_dbg(&device->dev, "duplicate WMI-BMOF GUID found\n"); >> + else >> + dev_warn(&device->dev, "duplicate WMI GUID %pUL (first instance was on %s)\n", >> + guid, dev_name(&wblock->acpi_device->dev)); >> return true; >> } >> } >> diff --git a/include/linux/wmi.h b/include/linux/wmi.h >> index b88d7b58e61e..59acdceb4411 100644 >> --- a/include/linux/wmi.h >> +++ b/include/linux/wmi.h >> @@ -13,6 +13,8 @@ >> #include >> #include >> >> +#define WMI_BMOF_GUID "05901221-D566-11D1-B2F0-00A0C9062910" >> + >> struct wmi_device { >> struct device dev; >> >