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 E1711C98302 for ; Wed, 23 Sep 2026 15:07:07 +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:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7YOPa6u6srNFIgO/5mQK+em1e9SQZzypXW/A+dzEcX4=; b=q6JcmjBIMtLAA7ZrmmeDc54yWb w+/HHd/a48KEhNwbEwRFKmMEpbzrkqkknRaED300RhGamqsdVQp15a+q7LIcWGRDkwbNnR5FKE5wW S751nrU7d00IOvJ+XEhDBeUEcWdCXzOC91KkAiTr5puc8nAb0ow+JUo7R9K6tLVx9JmK2Tar8rzu3 yKQjYAV6UsmEyG3oqb2E0VtLHtzqAuPW1Y7tzxLHI2DJVW2+BBAGOl1KN2sWJP5c8xFSudURm2Skv 8bNxLU8gcU3BQB11pInRskiqNeLg7M5hEDY2sYZxVlS3MF34T5xGkjghm/D0wfkHBHlsrxPFnr2mi jFw0LdZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x9OYm-00000008d5k-2Tm7; Wed, 23 Sep 2026 15:07:00 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x9OYk-00000008d5N-21gW for linux-arm-kernel@lists.infradead.org; Wed, 23 Sep 2026 15:06:59 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F01401570; Wed, 23 Sep 2026 08:06:53 -0700 (PDT) Received: from [192.168.4.158] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E874F3F86F; Wed, 23 Sep 2026 08:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1790176017; bh=zusK0QTR+s2AdzuFMy1tZJpLHzZiZCt2XlTeuJedi+M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ahF3ALT9UepxEmecNFZ1qVeRrBCb1D1qc5G3t+7KfoQ0JRIJzKe+2cIu9nKbGWLrI kcCacVQLGsrCJT3d0A198vv9Fi1ox9t1JeXBsEFdxfaSPHEaB4hCoU0UJ/Z5sCo4Fm HAcjSsIMNZkK22Yxb4+yz3Q1Hlems5gexj9DjhhY= Message-ID: Date: Wed, 23 Sep 2026 16:06:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v13 6/8] firmware: smccc: arm-cca-guest: Bind the TSM provider to an SMCCC device Content-Language: en-GB To: "Aneesh Kumar K.V (Arm)" , linux-coco@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Jason Gunthorpe , Catalin Marinas , Greg KH , Jeremy Linton , Jonathan Cameron , Lorenzo Pieralisi , Mark Rutland , Sudeep Holla , Sudeep Holla , Will Deacon , Steven Price , Andre Przywara , Herbert Xu , Nathan Chancellor , Nicolas Schier , Olivia Mackall , Russell King , Jonathan Cameron References: <20260923140405.1111554-1-aneesh.kumar@kernel.org> <20260923140405.1111554-7-aneesh.kumar@kernel.org> From: Suzuki K Poulose In-Reply-To: <20260923140405.1111554-7-aneesh.kumar@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260923_080658_630124_0C2971BA X-CRM114-Status: GOOD ( 11.77 ) 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 On 23/09/2026 15:04, Aneesh Kumar K.V (Arm) wrote: > The Arm CCA guest TSM provider currently binds through the arm-cca-dev > platform device. Like arm-smccc-trng, this device is not an independent > platform resource; it is a software representation of the RSI firmware > service discovered through SMCCC. > > Move RSI discovery into the SMCCC firmware driver. When the SMCCC > conduit is SMC and if RSI ABI version call is supported, create an > arm-rsi SMCCC device. Convert the Arm CCA guest TSM provider to an SMCCC > driver so it binds to that discovered RSI service and keeps module > autoloading through the SMCCC device id table. > > Keep the old arm-cca-dev platform-device registration for now. Userspace > has used that device as a Realm-guest indicator, so removing it is left to > a follow-up patch that adds a replacement sysfs ABI. > > Reviewed-by: Jason Gunthorpe > Reviewed-by: Jonathan Cameron > Reviewed-by: Catalin Marinas > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Rutland > Cc: Lorenzo Pieralisi > Cc: Sudeep Holla > Signed-off-by: Aneesh Kumar K.V (Arm) Reviewed-by: Suzuki K Poulose