Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2046228rbb; Tue, 27 Feb 2024 09:01:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUTLQWBKoY0PPnf7xRfXXpGIKh3ekth4PGM99vc7WQz4eLsHQfYbQL2BJNfLYDH/UEJNHaVT7TKhOcm8khgOr7gkZQyK83bmrw6pLTsXQ== X-Google-Smtp-Source: AGHT+IFd7HRE86FcRPgKjogh7dybS2Sc3dCpVvWxuBgz0soMuFtz+VPIb2GtmY6mffebeRMhhNoT X-Received: by 2002:a05:6a20:8ca6:b0:1a0:ce31:128b with SMTP id k38-20020a056a208ca600b001a0ce31128bmr2459204pzh.34.1709053304754; Tue, 27 Feb 2024 09:01:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709053304; cv=pass; d=google.com; s=arc-20160816; b=v+PTMEZrS3mset7p44pBw3EQDs1xGOC1OMOS0XA2Tu6owbyxzBMJjA7V1vx7ajD25m WwpmN2ZH8G/rbSLX1w9K4vjwU+5IwUSseDNZERQ0BBQ9s+V48pX7jiIkcF7U5EMGc9G4 Gs7junrHqo5JVB4w8ftV6S8qfzWyOy2Tn4gGTSGTdw5aAzs8wAa8e18rNcVY3ZSvJlDR hRh3sl8l2l7PT58qVVBY6x4kOpym8D8wfp0P4to5ajUydtw/LiwVREeajEnBBRk+dOam mTTUROIZL34Jz+7yd/t0GjMX6qY5dwsZMULskMPGyqGl3QH3mudWVZXm2cfwNV6zhoHw 3obQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:date:from :dkim-signature; bh=fz1y35nAuXFDYhWWqLJte99/IQ7sNGS+uZ5+yJEBwaE=; fh=gWiR/Ji2L+1fiETwyJEFo+i99jAOKRK/zJ1jqPUBlbQ=; b=hrvpD5h5a+eNYU15UzsbcIFcUMbQz6SEjoqf1OLEh3i62LxLtIAa25Ejbx95fAnGaI PYCsbvbGGKclcMS1jwK27QQPCxlyL/o5Gzn1+JlgbXgaAIhwSyERDOetlnfW8kGDoTO6 +DIX1L3TVxKedCp+iz7Tm23LtTQFjFQftWlAknjmE2qnKuFPhnFyDxk6V8ObVpI+DD/Y RhBGCCzQYYgph+duE9nJn3D3kUuIu8I7YTYYxsj2y7czi5I0zjNEWEeS3wJ9LfkIn5LQ QtaAmMWd4UJjG/eiJffAfALFNzFJt9I1jdShAMiZOF1HCgeLtIh0y521G5iMJwBfHNuA 5qAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bp6R5fnG; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-83288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83288-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x191-20020a6386c8000000b005dc82d9ff85si5662500pgd.599.2024.02.27.09.01.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 09:01:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bp6R5fnG; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-83288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83288-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9A1A6286DDB for ; Tue, 27 Feb 2024 13:05:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3976A13B2A5; Tue, 27 Feb 2024 13:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="bp6R5fnG" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D86A913A88C; Tue, 27 Feb 2024 13:05:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709039126; cv=none; b=IkCdo8evV8gHh7e6h0JUQSJJYar7d7qWF4P2FeNAJe+T8BnqmlBcCF9UlFWU108+7Jt4ePcwzRhVE40PBn0JllZHVY8d6/HDJSzCG1DUMdQ74ySLXkUAADCC2W1TSM1P11zS29aL0d5zA88mIEsqeMPtJqGtbEtI0PZA5NCexOM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709039126; c=relaxed/simple; bh=NGxHsT//Fk7PPnSaeyki4VGAuhu1uUTpcQGSybWfVVA=; h=From:Date:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=jv4fNTvqqj4m5x8gPRC2Z9msx/0hMM3IgqLxdLCDriWFwuFVvQfd9QmdKHuELiPqSu3X4QzDHbjbaLI1LqXwNOpZt7KMrE55C8PhYa7E+6iEGgQMfV/b7u3iBYUTPE9lBGFspZZUXQ3lkP/Zn/+XyQ/OHptdBbJH6cD9zlsZEDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=bp6R5fnG; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709039125; x=1740575125; h=from:date:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=NGxHsT//Fk7PPnSaeyki4VGAuhu1uUTpcQGSybWfVVA=; b=bp6R5fnGPSEMs2k5/Fx8wZqcvPJF4/eGdpoMn1AYUBVOo90WJUZ0CLAF WFS3o7dLqFrAwKIJYvok1mrKQ4ZD3Ka8ouJyGaCIvJFiXcujBQWXJuYyC Emz4Y0TjdFp0UXoULETQWaKerQ/XAALCGcDxH8U41pYZU6FPUBKKt3/uZ oAAv5I3Ba7vCniT/1AXK5Jh0TZ5ILqgdrOwfXqlMeCGcZA/DSiwkZC8Op TWjBZ5pXT849eyh+zamXytdyvLEtOTTYgVQsNV+C3EP3Vp8p9MSRAJJsh uR3NU2/XhDD5oes4KD2vPyBnIv51qXu8/v8h9bz1QPbeW0tlqqnwwI+rx A==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="3247094" X-IronPort-AV: E=Sophos;i="6.06,187,1705392000"; d="scan'208";a="3247094" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 05:05:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,187,1705392000"; d="scan'208";a="7001991" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.246.34.61]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 05:05:20 -0800 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Date: Tue, 27 Feb 2024 15:05:15 +0200 (EET) To: Armin Wolf cc: jithu.joseph@intel.com, linux@weissschuh.net, pali@kernel.org, Hans de Goede , Dell.Client.Kernel@dell.com, jdelvare@suse.com, linux@roeck-us.net, platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org, LKML Subject: Re: [PATCH 3/3] platform/x86: wmi: Remove obsolete duplicate GUID allowlist In-Reply-To: <20240226193557.2888-3-W_Armin@gmx.de> Message-ID: References: <20240226193557.2888-1-W_Armin@gmx.de> <20240226193557.2888-3-W_Armin@gmx.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Mon, 26 Feb 2024, Armin Wolf wrote: > The whitelist-based approach for preventing older WMI drivers from > being instantiated multiple times has many drawbacks: > > - uses cannot see all available WMI devices (if not whitelisted) > - whitelisting a WMI driver requires changes in the WMI driver core > - maintenance burden for driver and subsystem developers > > Since the WMI driver core already takes care that older WMI drivers > are not being instantiated multiple times, remove the now redundant > whitelist. > > Tested on a ASUS Prime B650-Plus. > > Signed-off-by: Armin Wolf > --- > drivers/platform/x86/wmi.c | 39 -------------------------------------- > 1 file changed, 39 deletions(-) > > diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c > index 349deced87e8..1920e115da89 100644 > --- a/drivers/platform/x86/wmi.c > +++ b/drivers/platform/x86/wmi.c > @@ -90,16 +90,6 @@ static const struct acpi_device_id wmi_device_ids[] = { > }; > MODULE_DEVICE_TABLE(acpi, wmi_device_ids); > > -/* allow duplicate GUIDs as these device drivers use struct wmi_driver */ > -static const char * const allow_duplicates[] = { > - "05901221-D566-11D1-B2F0-00A0C9062910", /* wmi-bmof */ > - "8A42EA14-4F2A-FD45-6422-0087F7A7E608", /* dell-wmi-ddv */ > - "44FADEB1-B204-40F2-8581-394BBDC1B651", /* intel-wmi-sbl-fw-update */ > - "86CCFD48-205E-4A77-9C48-2021CBEDE341", /* intel-wmi-thunderbolt */ > - "F1DDEE52-063C-4784-A11E-8A06684B9B01", /* dell-smm-hwmon */ > - NULL > -}; Great work, thank you. I've applied the series to review-ilpo. -- i.