From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XaeecslQ" 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-Google-Smtp-Source: AGHT+IGj7DfijjLkX7XIgW8jwsFcTcR6VQeIWTM/xejB3nQqk2hqOQ7BF+tJBU+V1IZep8I91ky65w== 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 >