Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp596675rwe; Fri, 26 Aug 2022 10:28:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6lwFxdrkvbk3ZXwwcJkVCKqLVkn+3l850v8nJqc2LR6OEeH/ZIGri5/1rCXWWb14fPx5X5 X-Received: by 2002:aa7:d78b:0:b0:447:d501:14c8 with SMTP id s11-20020aa7d78b000000b00447d50114c8mr4093114edq.82.1661534938723; Fri, 26 Aug 2022 10:28:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534938; cv=none; d=google.com; s=arc-20160816; b=oHRo9hZRySIEFmauIKysfX76TYBx7BzKFxV/4m7DzsRbYthUCsXc+Du+orXk9eaYKN VwWl0nJpWaavnW71y05lnMybWLBjNT1lUTdTMqgKJ9oTgRYPTnEQTM36NUor1baJ2Ket FyUDEsZi4TeLOpQYwM+aR+mH513Wd5Ww4rq7DXyAaKRmo+0LFgyG3gWqtOiKZ8c4XWhN 4i/KA+W4PcMBVKhN9GB2NpCXyKGacOYIA8EJh4KcDZY1Z7B3TOVSddS+nmTD+Fg+VVv9 nQV66Ufcma1DuDSt2b9e0LiqARMU/Nu8KcUQmsLw3HcOGjnJ2y9/ePJbxJkBiUaKr5WX OVjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FFb9srasHHdPuiVRVAdWUfLEJMgam8DSR/J2ky/ZaCY=; b=Z0S1lu+dcQtaSvgtqeSkuzWTd7nLNyj8Oy02++dC+iHLoCQNMqCxWMjNsATX+GcDfo 3xC4cS70zHCT/x5rbJ5sZGXG/Ic1lSYX3PTINC/iGD/Y8LpWiyJg2QgwJqJVpCH0tV+/ 7CMBHxtor+uPVuALhTrgogqR2sKWPvBR/IHkYNGNxkBKIw1vrdy770cY/kyHhIbL/atM kvpP9S47PoHSbD2tza+2XCfEmVUOho2QUTZDdCBjF7gHz4LR0qhKPay/YAdiVupIiP6a Ns1JlJaqYgy+75v1ZxS+4F/qLYtdTitm9YQJ65MUHxjLWn1nlHzXaiZsX2Rc9xQieUj/ mK0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MRBRzzYN; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a50ab48000000b0043d19ac7ff2si1736944edc.87.2022.08.26.10.28.32; Fri, 26 Aug 2022 10:28:58 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=MRBRzzYN; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344717AbiHZRMs (ORCPT + 99 others); Fri, 26 Aug 2022 13:12:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230468AbiHZRMp (ORCPT ); Fri, 26 Aug 2022 13:12:45 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF25DCE4AC; Fri, 26 Aug 2022 10:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661533964; x=1693069964; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BhJRRUFziUNzOcXvUZjv5pQU3PXRrJozjSPAvlt9I7g=; b=MRBRzzYN9f8oqKJFOAVeUSfgCWehmzpGa1tCinf1jACr/IRpSK3YsJ5c t7PTzei1+UYBC7iBHVBEDwFWTlpVmiad9BqzZCL2KewD6cO6RNB6Oz1FT VrCUt8NoF+aZU7Z5xy9aTRBedOTQbwfrYnZ8Q04dbibYVzkuM3nO9ntim Jc4AtMw5LkJhsvXi82D6YXbG5fyPLkK4l92xbo0QVwIl6xZSnNChWT7Tw LcRW1STjk2gYfnyPqQSsQMyIJk04IjAYJguTlCaKVgFad8a1SVNLKmioh OVP3doqBrzvCir5DcK3P4J67CO1NfsHqfhmx4OJFaDSXlDJAoutY4QnN5 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10451"; a="294559754" X-IronPort-AV: E=Sophos;i="5.93,265,1654585200"; d="scan'208";a="294559754" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2022 10:12:44 -0700 X-IronPort-AV: E=Sophos;i="5.93,265,1654585200"; d="scan'208";a="587369245" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2022 10:12:42 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oRcsq-003z9s-0C; Fri, 26 Aug 2022 20:12:40 +0300 Date: Fri, 26 Aug 2022 20:12:39 +0300 From: Andy Shevchenko To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , ACPI Devel Maling List , Linux Kernel Mailing List , Len Brown Subject: Re: [PATCH v1 5/5] ACPI: bus: Use the matching table, if ACPI driver has it Message-ID: References: <20220825164103.27694-1-andriy.shevchenko@linux.intel.com> <20220825164103.27694-5-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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. -- With Best Regards, Andy Shevchenko