From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 244F8CE79A8 for ; Tue, 19 Sep 2023 20:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S4b92ycja8tTZe66L8vK9g2tEceRZPy/hcKTfT70Xms=; b=kGhxeWTCnPg9Gi tsXm7pB4iqesjmsHpSEl3i1WL4/3EFHIWiazUVuFF6u0fTdBfanOzbaC0ljW6JVgepIMMWDoZxmJg NhH7NmBiiXXz11DVBfRIWv8uvigEJIhPk31EsruVigIvgw8pZk4ge8eWuf9eHDF61Lnc4K2ICEnT/ KfBLtZxF1HEjh5tFdhmHDU+1JGFG1sGV78+/C0gvhxHP4CpztOP6FCW1K59p6yGz0Rag+pk5UZaa3 slmNcSLmnZmm0Obp02V9xYwjx7pjS9QQoYdEjDRyrwbKEUV+hpoRBqF4Q46I1rVAmvaHS5YW31VZP tsTNTl5qChFKcci5fjvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qiguz-001CaP-2H; Tue, 19 Sep 2023 20:01:57 +0000 Received: from mgamail.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qiguw-001CZd-38 for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2023 20:01:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695153714; x=1726689714; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9KHDj6W6p0fCXTyXlvgj8DphROxLi+lGoUhRV/4aqdU=; b=UDqJqsHuYBK2kS11MjmB0O+yMLjPYxjbH+kWGnBs++UYBDEpMpaB+Zb3 TVWBGMmIiiNo+2QMTh04ThALkxkfe+pGPAtToKGNvHefw7ygn6cGpZ2ki t1Ynv3qQLIbMKcOQo4pIkY2CS/0s6+RSUwDzEgfjLKWnvbZzxU3C06gF/ T/5Dd5FsruAwE6q4/m3wXEFjQnN6gYfpZQhcB5nc6Q2PW6tAjDI1k3u0w o+GyhaO44OXqnI3z31XtVtVGye9kUAoErNkHGNlV4cP1vKfgX5B+73RBD NfWDC/tkYH/AsnDV21oJCBjq3b8N5i0OSf8edxtVF6zcZkTpnnHy3do11 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="410971092" X-IronPort-AV: E=Sophos;i="6.02,160,1688454000"; d="scan'208";a="410971092" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 13:01:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="1077115590" X-IronPort-AV: E=Sophos;i="6.02,160,1688454000"; d="scan'208";a="1077115590" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 13:01:40 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC0) (envelope-from ) id 1qiguf-0000000EyIl-02Bs; Tue, 19 Sep 2023 23:01:37 +0300 Date: Tue, 19 Sep 2023 23:01:36 +0300 From: Andy Shevchenko To: "Rafael J. Wysocki" , Rob Herring , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J. Wysocki" , Len Brown , Russell King , Rob Herring , Frank Rowand , Peng Fan Subject: Re: [PATCH v1 1/1] amba: bus: balance firmware node reference counting Message-ID: References: <20230824162654.2890992-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230824162654.2890992-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230919_130155_046611_E5BBA2D5 X-CRM114-Status: GOOD ( 17.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 24, 2023 at 07:26:54PM +0300, Andy Shevchenko wrote: > Currently the ACPI code doesn't bump the reference count of > the firmware node, while OF counter part does. Not that it's > a problem right now, since ACPI doesn't really use the reference > counting for firmware nodes, it still makes sense to make code > robust against any changes done there. For this, > - switch ACPI case to use device_set_node() to be unified with OF > - move reference counting to amba_device_add() > - switch to use firmware nodes instead of OF ones > > In the result we will have reference counting done in the same module > for all callers independently on the nature of firmware node behind. Any comment on this? I would like to have this applied so I can do something similar to the platform driver code. -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel