Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp134710rdh; Mon, 18 Dec 2023 06:32:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFT7WAToEKvMXEUuv15y0gemWvfSFdkCZCsAKDHtInMCr6UlllcK355+WQ9EQU3FOqdiLs8 X-Received: by 2002:a17:902:7ec8:b0:1d0:8cbf:39db with SMTP id p8-20020a1709027ec800b001d08cbf39dbmr14175487plb.88.1702909921360; Mon, 18 Dec 2023 06:32:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702909921; cv=none; d=google.com; s=arc-20160816; b=B3/zK9g88D7DvGfNohvdDuxsyAuR5KKa2w+eEB9kt2WC2AEARG987obO5oBpkGGcHH iYFPlF2CW4J8dO+xbwMewjW4fm2qn5ymAB3I5APZH+F6EC1cTb3BXXmdTFBYS8S7amsR +TA2B4gOwi8+frsSiJccjETjUxsgbBnwcJeVMiblfl7Yp2bEkCdhckkjWj3QkNjibK+t yZnsE8PTz67Ah936SISfzcMnn35/eAKGXBZSliGf1ter9ae0e1Jbr5R+lqHCOvwvDLx4 WGqMIKpCQ7ONDrZ6jJUirR5OPHaylGTULfsrj7Ekms0+YWeoNb6t4S1jehPLzmhBUyfn zatw== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+ztkbzForDIbdF8kx2pZOTb+CaqeIpnR/mS2NaJZXZw=; fh=Cth1mD5CLrzldyCnPfLwtybS8TUvRMNilL7eafXt0co=; b=VXzip06HAX95mi+lHlCCGGFYGGZOoiVOA8CulqcmFpMln1VYnHaQ3+E2rurpoSToR4 pYfsmCcN+0b9R9tIS13r34oiygdcwOzL6xZNbbviXXuIWkHNxZf4Ww8X3z2/9SsP/Npq zdFzFbwatHjnZse+3Ci7jQyjDeUNlmpolaRAIHZSGm4DtG2niGM3Jfw4EWZi5q4Rk4sj uLEi9Brvf1ETaq5OLJwtMsRVvWSRW63/aLaWYCTFofgNWjw7JARPZhS9npbAN8ZLzzIY holdqtrM/GGF/dQNCzwOzX7QETc6P+Kd9YACcmVyfN+yo6h9wR0BgS5BR1qkZRtomWGT OMtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XaeecslQ; spf=pass (google.com: domain of linux-kernel+bounces-3835-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3835-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h5-20020a170902f7c500b001d3a6cb519dsi3349674plw.543.2023.12.18.06.32.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 06:32:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3835-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XaeecslQ; spf=pass (google.com: domain of linux-kernel+bounces-3835-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3835-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 04071280EA7 for ; Mon, 18 Dec 2023 14:32:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36BF01D144; Mon, 18 Dec 2023 14:31:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XaeecslQ" 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 E906D622 for ; Mon, 18 Dec 2023 14:31:52 +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=1702909912; 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=+ztkbzForDIbdF8kx2pZOTb+CaqeIpnR/mS2NaJZXZw=; b=XaeecslQqh79uLT8JqRF7D3HEaqPYXVdumhRXZtC1CjztwSBr1k8CgRI1cHsfEUS4kFwO9 zo2Uc/Epk5cyTwwXZXD8tAzxwpzQaXfQP6rt7XFy6oSoT5JYL+XKFwd3e1+9PYtRdut9Z0 bo3pNNGd3EV+QGoDmgrLrZqc0O3iPfI= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-42-Pn1ARkdJMjCrGEHQs_AMRA-1; Mon, 18 Dec 2023 09:31:49 -0500 X-MC-Unique: Pn1ARkdJMjCrGEHQs_AMRA-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a233515b34dso99263866b.0 for ; Mon, 18 Dec 2023 06:31:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702909908; x=1703514708; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+ztkbzForDIbdF8kx2pZOTb+CaqeIpnR/mS2NaJZXZw=; b=Kk45sV0HzKsya9LYyuQpUid0/rTcSdSHKVy0wZgLm1p+C5MXgqDX0fj6Mnh6Phy79M GlHMGpZ+Z9zGnoWVkzmkWP9ULotDhxki1v4Tz3XaCCdS/l+52Rwx/ZpjKX59euCykt3z iK4AYFasad2M+lVJXhtepjTJB/6hukU+8q0Kk9E3L55U9vzn/hzyM4vN3/qZLowdSt9V CVzpZuDiN1okeVW3FSvSg6s4dourRqYPguCz8CHXkIf8jHtI3608W7nVkFBTisMAR3qM Gajl3OyraclEX3nhHYWV0b42DRIcSNHes+FB8ZjNiffuiv6yerlPp/Z8HYY7WBcCZPyj jNJQ== X-Gm-Message-State: AOJu0Yx5NKh0Xtkk5zQ2lgUQ48h7gT/c0s3wHEGY9qaLzHE7Ig6W7N0q YuFYcKRh5yTYc/jzSUMG0rFlvjpa1bOAHaSoTeNlkgC68h5zo1/mkUIZIULs5e1sitx+cmGcytg +9ziBNFGKXVuTVB+xWWyPwYnN X-Received: by 2002:a17:906:799:b0:a23:5ce0:d953 with SMTP id l25-20020a170906079900b00a235ce0d953mr336773ejc.184.1702909907924; Mon, 18 Dec 2023 06:31:47 -0800 (PST) X-Received: by 2002:a17:906:799:b0:a23:5ce0:d953 with SMTP id l25-20020a170906079900b00a235ce0d953mr336770ejc.184.1702909907558; Mon, 18 Dec 2023 06:31:47 -0800 (PST) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id tb21-20020a1709078b9500b009ad89697c86sm14377558ejc.144.2023.12.18.06.31.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 06:31:46 -0800 (PST) Message-ID: Date: Mon, 18 Dec 2023 15:31:45 +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 0/6] platform/x86: wmi: ACPI improvements Content-Language: en-US To: Armin Wolf , ilpo.jarvinen@linux.intel.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231216015601.395118-1-W_Armin@gmx.de> From: Hans de Goede In-Reply-To: <20231216015601.395118-1-W_Armin@gmx.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Armin, On 12/16/23 02:55, 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. > > 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(-) Thank you for the series, with the exception of the one small remark to patch 3/7 the entire series looks good to me. With that remark addressed you may add my: Reviewed-by: Hans de Goede to the series. Regards, Hans > > -- > 2.39.2 >