Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp581807rdh; Tue, 19 Dec 2023 07:35:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrwWoV/1CfnbyB+3Hm02K5Oua9Ai7oVttBI4DMxvFT09p5NO3pIPMcP1vmCbtJSMdVJql2 X-Received: by 2002:a17:906:8a:b0:a23:40c7:ee61 with SMTP id 10-20020a170906008a00b00a2340c7ee61mr1999203ejc.149.1703000157611; Tue, 19 Dec 2023 07:35:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703000157; cv=none; d=google.com; s=arc-20160816; b=LPS4HQQ20FPYOnUGLcGNFpkPPgBe+wePCosD6NmvjVlZyw6iFNhoHMg1/2ex7ZyTsF qN1II8iuqNeYb9ylYYGbYZ8er99dw6qZTbOYEeystOj1m+MaywfywfRq8L1lTQB3Adnx BYdBdlD+o2B45NRB/pK06xw/+Vvxh/inzxsMb9TJaj+jC1cTo6ytHRcpxUiAx4hVFh75 b3yJpdcMN121IyVU/NQqeR+IDC+vgNAA0nwZQtP/oLQZK5x5e+NOttBXqxiIkV8259g3 iTMkhP0IA2xwtZ+Ln4x+qgSRrrag7UML8l5EMtxhzGb3ei860/0KznK2TgHv+hGsvYH6 +dcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=p99ESQKY7iFMWcolC5b1pxUDyj4bwHXCNWig+NO0MP4=; fh=Cth1mD5CLrzldyCnPfLwtybS8TUvRMNilL7eafXt0co=; b=yBPj+4BaCEwkT8jkM1wT1Y8Tl6Jnuuz8ywKm4bELQAKPr4rK5r0w+MgbRrx1qKfFbn A7CILdw1byqztQjUcZ/wd8tcrwpLLJkHfgd4kN8dCuGNOUpFi0Xrx3z+GXjpGw7MM+RZ iWqaAcFDrRIMl9a3MNJHNLUVC5CvyhHDuQ4KNM50CoQ24HsecUWvKv4+lGDAlcwkaiRz veGudeHOIjF3iPQDONyprCB+m/kF4bAawdgDJMX2/mH7xnGmjB/SniugiPUYPJxf4kir VoxLwEjuNfOY5i9KBihPmo2hYRmcOti/BVTNgw0DWfafL3/6XDB6k5HgIdIJIjAhxtRm 0mTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dRf06mVM; spf=pass (google.com: domain of linux-kernel+bounces-5492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5492-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lt23-20020a170906fa9700b00a2356cacb4bsi1939834ejb.394.2023.12.19.07.35.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 07:35:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dRf06mVM; spf=pass (google.com: domain of linux-kernel+bounces-5492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5492-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2C61A1F23159 for ; Tue, 19 Dec 2023 15:35:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EE0D1CA98; Tue, 19 Dec 2023 15:35:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dRf06mVM" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 3FE381CA83 for ; Tue, 19 Dec 2023 15:35:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703000137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p99ESQKY7iFMWcolC5b1pxUDyj4bwHXCNWig+NO0MP4=; b=dRf06mVMqliWV2NwQ76Mqfy8GvTA1wiAoLTz2btk7RkarQ9a6gk5r3M+0OW8pFQL+jkVS4 /8c5dfrzMF9SbWOsC/45kZ7uKO704kBO6xLYPSPzVRKrimNq8knZrdrd028JKYSn8VObzQ +vVaNwa6h43ZO3vMTGNgEe82CFQDbWw= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-594-XOa21xG9NUGIrkw_P_XI0g-1; Tue, 19 Dec 2023 10:35:35 -0500 X-MC-Unique: XOa21xG9NUGIrkw_P_XI0g-1 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-553b57272a1so63504a12.2 for ; Tue, 19 Dec 2023 07:35:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703000134; x=1703604934; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p99ESQKY7iFMWcolC5b1pxUDyj4bwHXCNWig+NO0MP4=; b=LmBXe3+/ILgbu5FgcuCQyhYWXJMY2ICdk0BnPB5+PTrp18Fg0aXE0N002ryxbG1bLN Kj7QdCgnoDc0lNU0HRsAPlX4horhQeEpvLaFyffFmj0Cu6Ah+8zr4glFyea8J/EG4i7N mq03IdPfR4G10kz5wY3dCOWmneZ7lPegtAd3IMxAZ0MaPRg2HDaXP0S3mKaEQAOI8JTR RpC+HV1IS/fZ2ujKeB070HS+vb0sNFPwRJ/pqkdE0up8Z+A/+bOmDpcgh6CEbsm2c3WQ ikY5h0ul+XkMGClZy30d6qUK6ocsswD0O2EOD1mmQnpMs0oV5PZqvmQ4I+DX7IqLoQL9 8iDw== X-Gm-Message-State: AOJu0Yyyx+b7CFxcN8oVGNasjQqoaTYWKEB0swA8UMeQY/WJtb1kHnem E452XsTvYXB07wcvca5ghR0Ve6dc9u/PHLqfYsZkwzNcbaSkKMkryXOrVrXtvu/zeg7QMggS/1c bGod3KOwt5nIYQ9OpqqXUoQaC X-Received: by 2002:a05:6402:1e87:b0:54d:9782:c3db with SMTP id f7-20020a0564021e8700b0054d9782c3dbmr9215040edf.84.1703000134414; Tue, 19 Dec 2023 07:35:34 -0800 (PST) X-Received: by 2002:a05:6402:1e87:b0:54d:9782:c3db with SMTP id f7-20020a0564021e8700b0054d9782c3dbmr9215037edf.84.1703000134095; Tue, 19 Dec 2023 07:35:34 -0800 (PST) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id m11-20020a50cc0b000000b0054cb316499dsm11626513edi.10.2023.12.19.07.35.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Dec 2023 07:35:33 -0800 (PST) Message-ID: Date: Tue, 19 Dec 2023 16:35:32 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/6] platform/x86: wmi: ACPI improvements To: Armin Wolf , ilpo.jarvinen@linux.intel.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231218192420.305411-1-W_Armin@gmx.de> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: <20231218192420.305411-1-W_Armin@gmx.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 12/18/23 20:24, Armin Wolf wrote: > This patch series improves the ACPI handling inside the ACPI WMI driver. > The first patch removes an unused variable, while the second patch > changes the order in which the ACPI handlers are removed on shutdown. > The third patch simplifies the error handling during probe by using > devres to manage devie resources, while the next two patches decouple > the ACPI notify handler from the wmi_block_list. The last patch > simplifies yet another ACPI-related function. > > All patches have been tested on a Dell Inspiron 3505 and appear to work. > > Changes since v1: > - fix ACPI handler devres order Thank you for your patch-series, I've applied the series to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > > Armin Wolf (6): > platform/x86: wmi: Remove unused variable in address space handler > platform/x86: wmi: Remove ACPI handlers after WMI devices > platform/x86: wmi: Use devres for resource handling > platform/x86: wmi: Create WMI bus device first > platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list > platform/x86: wmi: Simplify get_subobj_info() > > drivers/platform/x86/wmi.c | 143 ++++++++++++++++++------------------- > 1 file changed, 71 insertions(+), 72 deletions(-) > > -- > 2.39.2 >