Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1320426rwe; Sat, 27 Aug 2022 05:45:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR7qiTSm2kHF2PF0LaCvCFg/W7xUWjxvKa0hZqMPBcXR3FJcXu9/ZdW8WQBLkIlvd3vK0m/v X-Received: by 2002:a17:90b:3c91:b0:1fb:87b:4b64 with SMTP id pv17-20020a17090b3c9100b001fb087b4b64mr9368305pjb.93.1661604326024; Sat, 27 Aug 2022 05:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661604326; cv=none; d=google.com; s=arc-20160816; b=NnmzZFir1aRLGze/UEU9qhDUQ7JFgRUFfk7Qv46DXLHemJziNGaViiZdHUoKfEyaHv qoI6DFIvEZQxbfQ6llaUJjKBbOAoVV0wBfpLTVjuhvJmT07J/UaYnzy5y+JSiKC4ocYG FmGpBWXwGQTHFzwj04KTBduGTUiXAdJLzJfoUtASW+SswSMKOjVbfR8cnwU/my2AWJBA cGh0oW+cp6psK9x2SuqTHvrVFvJFLhRAOPKbyKG0P5diCjMYOkfhR9prSiSV8nFuQMI+ hHi80JRsGD64fpZsDa+LJJptXvjnB6awtboqnTsvD4Es/rH/h8t4eEILDkAhioOFgcMt auvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=GvJNLP40OETwZADaZTLkmY5BZ1XY428/Y6jRF2MfT/k=; b=rJZtpbWcK9/HZCt7gabXipH0KApcNGtVgl75l+lapaCvsDiHMXjmx+OSLi1RBxbizy yJAdorYyxD2MfIM2AKogk9P9V4CWK7S2Sreht+wO3zQv+TtLfmZWbTnzaDKb2fPzVLAQ v+DEdGcDAJJuSwFs6q+VMqCrsS3S+8D86cqFtKpD57yanHzS4dMkv+ansRmO6YjYDCO6 n8QLZqmSz+D+ndTYSFXYgq21DJ8bcLIPo20nXyYJSmI6sFqABVXT/7pryRf1x2kPn19b JLLNN6UfqQH7FMsDgqmiAD4FQonLyiPbrypRUVwCyW2IsQNvKrOL32cIpF6boObGUr9I V06w== ARC-Authentication-Results: i=1; mx.google.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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a17090a450a00b001f50245eefbsi4177679pjg.63.2022.08.27.05.45.13; Sat, 27 Aug 2022 05:45:26 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232724AbiH0Lp4 (ORCPT + 99 others); Sat, 27 Aug 2022 07:45:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234713AbiH0Lph (ORCPT ); Sat, 27 Aug 2022 07:45:37 -0400 Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13EEF61711; Sat, 27 Aug 2022 04:45:36 -0700 (PDT) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-33dc345ad78so93881197b3.3; Sat, 27 Aug 2022 04:45:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=GvJNLP40OETwZADaZTLkmY5BZ1XY428/Y6jRF2MfT/k=; b=0koRWWQDBIvEzDAEdB5RogGcJ1LplpwttddKxaSIeoleYBsQRseoWnayqMTrAxAeZl VHYb7RmVD7pRKOfl3QvYJZAzhTsmLsIlUdBeF386fe7s7ekm/ydsMiSoHZHd7K+8aImF nMcXYdYj0qTwiX55bqF64IBt4Mbd0UiSK3WdpuyHh92vscfAGzL/ovgOZjquvqWXZFYs SxMXHG27Wi7uh3bcFnx5T6LbLd6tFIcsuFlJ2ZUJxdFA94EUPrTKQOJbkbCmWshFOm3Q 7sOz9aiwz7SHa4La6BOWeR9L8Aj4B0xmdhDSKxuaj0gmej/PMxh3bLM8siqsOeW/34BE TW8A== X-Gm-Message-State: ACgBeo0vc5Af9BjRuVEGaDdrl+iYWqNibmXni8YahfIeVgsZeajXgGHp MNK3D6PWzm0jS4BlM6oFEL8129F/dvZ8LSHY9TzCVkbN X-Received: by 2002:a25:b749:0:b0:68f:171f:96bd with SMTP id e9-20020a25b749000000b0068f171f96bdmr3163102ybm.137.1661600735335; Sat, 27 Aug 2022 04:45:35 -0700 (PDT) MIME-Version: 1.0 References: <20220825164103.27694-1-andriy.shevchenko@linux.intel.com> <20220825164103.27694-5-andriy.shevchenko@linux.intel.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Sat, 27 Aug 2022 13:45:22 +0200 Message-ID: Subject: Re: [PATCH v1 5/5] ACPI: bus: Use the matching table, if ACPI driver has it To: Andy Shevchenko Cc: "Rafael J. Wysocki" , "Rafael J. Wysocki" , ACPI Devel Maling List , Linux Kernel Mailing List , Len Brown Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Aug 26, 2022 at 7:12 PM Andy Shevchenko wrote: > > On Thu, Aug 25, 2022 at 08:17:11PM +0300, Andy Shevchenko wrote: > > On Thu, Aug 25, 2022 at 8:05 PM Rafael J. Wysocki wrote: > > > On Thu, Aug 25, 2022 at 6:41 PM Andy Shevchenko > > > wrote: > > > > > > > > In case we have an ACPI driver, check its ID table for matching, > > > > This allows to use some generic device property APIs in such > > > > drivers. > > > > > > No new provisions for ACPI drivers, please. > > > > OK! I will think about how to refactor a driver in question, so it > > won't need this kind of trick. Meanwhile patches 1-3 can be applied > > independently, if you have no objections. > > I see that you applied an equivalent patch to what I had here as patch 3. > Taking into account rejection of patches 4 and 5 I will send a v2 with > patch 1 and (modified due to drop of the 5) 2 for your convenience. Appreciated, thanks!