From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795166712; b=AFNAKPiOZvFvY3+9BbSOz0X4v6suZC6rCRiqLpXhzeQrQNvDQkGhYkm92O4fooW02veY x8AiC7nsRM4gmP26Jp8YgyAOtQLEqoSRgzeLkRmx+mE/3Yc7K6QbmJAzR2sjsJ+NQebjU efE+ptVdTauAq3VZg+x7+nH+Rz5yEENSxO8+RvqMgE7XwR83BWBP5ZRvihoaLzhASI/Fn zVjj3yCPIaAr6xDltvs2RS8y2ooWFJ3GLDEPGw7URreHT2gsZ0VOKWdm4gpkwJ24JaCfK jThOQK9T+PkKIQcN9XrHXzPYvy8SD9tBynikMMd0ou/C1cAXxGIi+2eHrDI9U39NBhg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795166712; h=Received:DKIM-Signature:Received:X-Forwarded-Encrypted: X-Gm-Message-State:X-Received:MIME-Version:References:In-Reply-To: From:Date:X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID: Subject:To:Cc:Content-Type:Content-Transfer-Encoding; bh=8SzIHclfGO7rIjAKlxWY7h5C1tqRdUP4RNaZqN79MuM=; b=REDWS+2iYuW/rkB9wg/1ylYCPRfXJCCSvmUoRYC6Us3OGPLvbRypGC9+c7iddgnDt39W NUjYjDCW1JO4FqBulpm/rZkqXP2fPTXsdIQmrRQiLHzQcXGaQFnv+8KSSd66O1/QCWvQN oNYGpakr4/ipOYJtaUlDIXN+546ldHG/KdXO+6e7+KG1cRsIifkvDwpNWtb9HA9HVprMy CqC8vtU9UWyPNICELr/1lNXhLtF8R6oGmwDycbs1QZCiYVGVIP6TgwHxJrG/qAopezS+O lC9IqL50YTY/Ci9UfX7ZJ5CTC7G8wJ2hsbtJUALMr2typQPExBYHz2XN6cMyIH7k9fQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=B5ZDMOWE; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77B8B606A326 for ; Fri, 20 Nov 2026 09:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=B5ZDMOWE Received: by smtp.kernel.org (Postfix) with ESMTPSA id 236571F000D8 for ; Fri, 20 Nov 2026 09:25:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795166712; bh=8SzIHclfGO7rIjAKlxWY7h5C1tqRdUP4RNaZqN79MuM=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=B5ZDMOWEHdnhh2/umOUmDyebT2Q50s1hgR4xDpum/5dqqoMqtjXVEdU8aCG9sLmQA 7A6AoINlMkFawC02saPlGU/UG/hx+Ve8Q49Ae/eZlx2izAu6qkxYbT8PBExCep30Qc cIKFHKeYrow0KilYBJXAu05Oo1CIxqWoGzdcAB4xOFdSnA5ipUK+6pmAZZGQKczT57 5U5FYX0g1tEu7APgsdhwFuInYTVpzswscUD4Z8Qs45W2nDr1nbveiYtNzYB4TrppYV 8pctZ+ScqMMKXovSWloMW7pcezlqSREFM6P5p3mvobzMNRf9HWvMu2KMDKw0zP2X5m a5xa8vTyeJJhw== Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-5c1a947b4adso526837e87.2 for ; Fri, 20 Nov 2026 01:25:12 -0800 (PST) X-Forwarded-Encrypted: i=1; AL+hErEu8b3Z19d9hytRx6K10GqZtHljDR7urO5aAXqqur9Pe310Lg3qTf2nNrDB9OvjZf4oT8ax+6FUbwwBduw=@vger.kernel.org X-Gm-Message-State: APuU4Z+J7oDaZhblMI80xqsoMFLJqcdRVc5VAEzLBco1rm2LkNft7yk+ SAhtmIdRRzUxS71dfmVxeV7XPpI2BSBqj+ymGgVEFMwETexZjnSF4M6tyATjcQZy8sIWOBYP4Yz N/qicSgFQbUAPFdgD/GOqRbaE4rb+Q3w= X-Received: by 2002:a05:6512:3e26:b0:5bf:dfb9:33db with SMTP id 2adb3069b0e04-5c1bc894b28mr761513e87.38.1795166710840; Fri, 20 Nov 2026 01:25:10 -0800 (PST) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 References: <20261015142552.4128028-1-ryan.roberts@arm.com> In-Reply-To: <20261015142552.4128028-1-ryan.roberts@arm.com> From: Linus Walleij Date: Fri, 20 Nov 2026 10:24:58 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: Aa3M54qJyeIPO-XfHd9glHLeVqDiREjcacNXijYh3kod1cJY-VZmSyNAF3F7zP0 Message-ID: Subject: Re: [RFC PATCH v2 00/15] Arm Core Local Accelerator Driver To: Ryan Roberts Cc: Greg Kroah-Hartman , Arnd Bergmann , Catalin Marinas , Will Deacon , Mark Rutland , Marc Zyngier , Oliver Upton , Alex Williamson , Jason Gunthorpe , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jean-Philippe Brucker , Oded Gabbay , Jonathan Corbet , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ryan, please keep me on CC for future series for an SoC perspective on this. On Thu, Oct 15, 2026 at 4:26=E2=80=AFPM Ryan Roberts = wrote: > * The location of the driver: although most accelerators will likely be c= ompute > ones, CLA is a generic MMIO interface that could handle any kind of > accelerator. It's currently implemented as a misc driver. accel is anot= her > potential option, but given the current SVA approach, we would not use = any of > the services (memory-management or otherwise) that accel provides. Given the extremely ARM64-specific nature of the accelerator it has a lot to do with arch/arm64 but then again it is a platform device + driver associated with the cores and we don't want platform device drivers under arch/*, so it kind of falls between the chairs. My spontaneous placement would be to put this in drivers/soc/arm/* what do you think about this option? The argument would be that this is arm-specific, we do not expect the code to be reused by other archs, and it is used on some specific ARM SoCs, so it goes under drivers/soc/arm. If a very similar feature arrives on other archs which use very similar code we may have to rethink this but for now I believe this is the best option. Yours, Linus Walleij