Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1435212rwb; Fri, 19 Aug 2022 03:47:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR79Os8h7C2NcI8/rM5HaUKC6z6QafB8E4O6cV1jJJzvx7hzzc027ERpZYxw7z2vzUGwkUNd X-Received: by 2002:a17:90b:1e08:b0:1f5:3874:492e with SMTP id pg8-20020a17090b1e0800b001f53874492emr13420428pjb.82.1660906074541; Fri, 19 Aug 2022 03:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660906074; cv=none; d=google.com; s=arc-20160816; b=oe1OFVY7abo6Fe88kcp5hgLDue1k+Yv3sPXIkwHV3Co0csafPMIlWoSN/gYtxMAgLQ oCSE/EBbS91QgzHclco/iAsG4wOYJ/tQF/1LK2rWN9pDMqgnoXZ+DjdEi3ixiGjgiF9b mZXtU4Mzs8xdYEmzRgkdvsikJ7P2fBMKbTg9Q9Mzrn+F9bRp8yqNhiZLJkva+q0zPq7P vZ6fI6QQI4dlIuZ13vB56Db+1qZVGHgkNRl35YEL/Xi1/TS4pWPtG3aW2mY8DgNsP6Dt HLsbLekbJV/bmesu3T7S5BQszkFaWug4MokWfmfjsyxz1gxUoZ61hdtfJyx9d9r7KIBP sHhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kxZOQr4xwGaPghzVyzjUZGWvdqj64uDJJobDYHkh/d4=; b=m7XZaPAnu8+PgEZGU4Uk7w2r7Sew0ufgktO6vSctEXmVjQQpcEMkHaY3f0u0mSxj0P IHPBJyWMKLSSucDGZdW/tGMqZpe/HSxBsyQBravoilyb3LEnZDSt6lsfN0uSTGUET2BL 9C4ZGdZPgt8omlMHC9c2rT1RboS5JZo5h5GdUuQgA/7AT7mxPp0/V+X/IgOc8Q9bwZkJ FBo6QsoiSZZ+aXaDZYuI1MdS0WmPrfW4EYuYu/11UmZJBbHdhH22kEvh/FfNC81ASpQD UsRInT9ESjMms4o6xAtcqCvgCJx1j1w10OLMxUgNngfd3chRUhOgu3QMXIjwnZ26Zne0 Iyzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zjJfROVU; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k9-20020a056a00134900b0052e525cc159si4210854pfu.160.2022.08.19.03.47.42; Fri, 19 Aug 2022 03:47:54 -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=@linuxfoundation.org header.s=korg header.b=zjJfROVU; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348159AbiHSKd1 (ORCPT + 99 others); Fri, 19 Aug 2022 06:33:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348042AbiHSKdW (ORCPT ); Fri, 19 Aug 2022 06:33:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5AB463BB; Fri, 19 Aug 2022 03:33:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3A664616EC; Fri, 19 Aug 2022 10:33:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1841CC433D7; Fri, 19 Aug 2022 10:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660905195; bh=P0ohKSkFshdhJ/jP9vFwkBZFmB+9KCEud3AFiAiMbmQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zjJfROVURJQxCvUOeg4Nkgxqx9luhmsRP5yzv95BZBWKg4eJHf5UGpZQb5Ret5hrk lhdlelPhJ0Ez06/6q+3qZRWsC9vfsWVf123a+7H1SnfCDqDWABG+2Z1naBXTnNuzPH av3xOcUd2jLMnbAe1GsPmTTaBWHErkYy0dNegwt0= Date: Fri, 19 Aug 2022 12:33:12 +0200 From: Greg Kroah-Hartman To: Heikki Krogerus Cc: "Rafael J. Wysocki" , Utkarsh Patel , rajmohan.mani@intel.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 0/6] ACPI: New helper function acpi_dev_get_memory_resources() and a new ACPI ID Message-ID: References: <20220816101629.69054-1-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 Fri, Aug 19, 2022 at 01:02:30PM +0300, Heikki Krogerus wrote: > Hi, > > On Thu, Aug 18, 2022 at 09:12:46PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Aug 16, 2022 at 01:16:23PM +0300, Heikki Krogerus wrote: > > > Hi, > > > > > > The helper function returns all memory resources described for a > > > device regardless of the ACPI descriptor type (as long as it's > > > memory), but the first patch introduces new ACPI ID for the IOM > > > controller on Intel Meteor Lake and also separately modifies the > > > driver so that it can get the memory resource from Address Space > > > Resource Descriptor. > > > > > > An alternative would have been to introduce that helper function first > > > so we would not need to modify the driver when the new ID is added, > > > but then the helper would also need to be applied to the stable kernel > > > releases, and that does not feel necessary or appropriate in this > > > case, at least not IMO. > > > > > > So that's why I'm proposing here that we first add the ID, and only > > > after that introduce the helper, and only for mainline. That way the > > > patch introducing the ID is the only that goes to the stable releases. > > > > > > If that's okay, and these don't have any other problems, I assume it's > > > OK if Rafael takes all of these, including the ID? > > > > I took the id now, for 6.0-final as it seems to be totally independant > > of the other commits (otherwise you would not have tagged it for the > > stable tree.) > > > > The remainder should probably be resent and send through the acpi tree. > > Okay. The last patch depends on that ID patch, so Rafael, you need to > handle that conflict with immutable branch I guess. Or should we just > skip that patch for now? You can wait for -rc3 or so which should have that commit in it. thanks, greg k-h