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 1BB8CCEACE9 for ; Tue, 1 Oct 2024 16:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To: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=s11bFBgMBVIa6r2QYg0pEn8AS/G0E8C5GTuxI/JostY=; b=QbNG9GPLPxQ3dDfqa5PBqY/Qzw PdCIJsAZE90K45xz5F4fUfbkMpy9rVbnBEkaogK2An1eV5rr6wUCdW5gNx9/8a7iNviI3J3Ri8knK iV34b9F/Oxu/wpxhKuVuS8G1DIzvG9bAnwDv5MN6S+SgPc44Yuajhn5JYJHhAa6/cNQ15Dr6DoKuv nGu7LhwyUPAwwZ8a8O/HCJmDAtMuU7mk4xzeu8bWEtYbyeMJ+WB8MGPGG62YIACeCZcObh7R997U2 bX6sdTkoWL9I7VNLeeAC7HHMCXeFYHcmllJlvlr7CfD5Sxa1QaT8o2HKcyr0hY9ivzGib5+0TEKg9 uHy16qnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svfbU-00000003VM9-2lr3; Tue, 01 Oct 2024 16:20:00 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svfOO-00000003Qey-39TT for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 16:06:30 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 841EE240007; Tue, 1 Oct 2024 16:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1727798784; 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=s11bFBgMBVIa6r2QYg0pEn8AS/G0E8C5GTuxI/JostY=; b=LCTKsXvny5ow713Z5B9P3m5gIl1LomlDIIFV4K4NhG9ZBLcsrZszohOY8EoNbHzDZENz7t AiRVmpztdPYhIurAa72idPmj68cfoPNQUSVmMsITFbBMe75bUtPgbyeIVWZ9Yns014jdfH KitzdWIyWXPGVzSdIaInKLapGSt6HIRaYZRqRpmehSGsYezMV6WjVeHyAiEFdx5YV7qSwR B2c0TLSHUKM2eRPTlrAOr3ZqhV7JKhIC1BQa7roOZq8tU1ze9EzTVw3TvDukjKcQZCsD4H usFRtN1AkfU1B1P1FgtxtN6l1cU3iVZD3AlFyXhqXqGdrYDoJDSWkk5CyoEqKA== Date: Tue, 1 Oct 2024 18:06:21 +0200 From: Herve Codina To: Krzysztof Kozlowski Cc: Geert Uytterhoeven , Andy Shevchenko , Simon Horman , Lee Jones , Arnd Bergmann , Derek Kiernan , Dragan Cvetic , Greg Kroah-Hartman , Bjorn Helgaas , Philipp Zabel , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Saravana Kannan , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Horatiu Vultur , Andrew Lunn , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allan Nielsen , Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH v6 1/7] dt-bindings: reset: microchip,rst: Allow to replace cpu-syscon by an additional reg item Message-ID: <20241001180621.76e497d0@bootlin.com> In-Reply-To: References: <20240930121601.172216-1-herve.codina@bootlin.com> <20240930121601.172216-2-herve.codina@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_090629_645137_DAD3286B X-CRM114-Status: GOOD ( 20.19 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Krystoff, On Tue, 1 Oct 2024 08:43:23 +0200 Krzysztof Kozlowski wrote: > On Mon, Sep 30, 2024 at 02:15:41PM +0200, Herve Codina wrote: > > In the LAN966x PCI device use case, syscon cannot be used as syscon > > devices do not support removal [1]. A syscon device is a core "system" > > device and not a device available in some addon boards and so, it is not > > supposed to be removed. > > That's not accurate. syscon is our own, Linux term which means also > anything exposing set of registers. > > If you need to unload syscons, implement it. syscon is the same resource > as all others so should be handled same way. > > > > > In order to remove the syscon device usage, allow the reset controller > > to have a direct access to the address range it needs to use. > > So you map same address twice? That's not good, because you have no > locking over concurrent register accesses. > I will remove this patch and keep using the syscon node in the next iteration. Best regards, Hervé