From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC46817F5 for ; Wed, 15 Feb 2023 05:07:06 +0000 (UTC) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 38F632401B1 for ; Wed, 15 Feb 2023 06:01:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676437290; bh=FWiteDJexgPQ7XRRBus0P85wr8k1keyo2CAWC376RBg=; h=Date:From:To:Cc:Subject:From; b=LgoCIgmA4DG3U60cJpRJjIfKH2twgmEqeqoq6NeO4a5klvUy8lbvR28CSQQGmpLeB u/cuCqwPjajm87/BGARvdGKD7jbG7tuMZd5kvjp8XR7FGogGQjTtBILnhU4uOFLtaC NqEN/t1repkDdAO46q6Frc8WszoJ4xFjstGj4D+W8YNzJsuOjZKChNHGl4So8xi1rm dysZ4bqopyhPAep0kE1DpQm1+Oj9BVrxkLtcLGKvF3lFPY7+rgwOO1CH2LWK4dFQgu T+4yjxHc7VypDuYwKSU/8pgo2ZmZr/rj9Xy4vbsFKRf+HNwzFWqVJ7a7ITbQOdHk4s FsddejQMTLvWg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PGmBZ5hGhz9rxF; Wed, 15 Feb 2023 06:01:26 +0100 (CET) Date: Wed, 15 Feb 2023 05:01:25 +0000 From: Wilken Gottwalt To: Bastian Germann Cc: Andre Przywara , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: Re: [PATCH 0/3] Enable hwlock on Allwinner A64 Message-ID: <20230215060125.0e06312e@posteo.net> In-Reply-To: References: <20230213231931.6546-1-bage@debian.org> <20230214001805.6ead683d@slackpad.lan> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 14 Feb 2023 22:55:45 +0100 Bastian Germann wrote: > Am 14.02.23 um 01:18 schrieb Andre Przywara: > > So are there Linux/Crust patches out there that use this device? > > I do not know of any. I was just investigating the chip and checked the parts that I could easily > use in Linux. Easily using it is, well, a bit questionable. The only reason to use this is for syncing access to hardware between the ARM and the embedded OpenRISC core. Like Andre wrote, it only makes sense if you want to etablish some form of shared access between Linux and the Crust firmware. Using this in Linux only instead of the common spinlocks won't be fun, that hwspinlock unit is slower. greetings, Will