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 69BA1C5AC82 for ; Mon, 10 Aug 2026 10:04:05 +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=Z/XzF1SfE1CUOaxGl1J9UZ5+JURx1jOOXTob6QXNhsA=; b=FUvommvkxrSqrEjXVdiV/oAVXU qEuki8WqiSJ7PjThe1ODhxYR+KWhlrwc3Sy0A7EQEjiKNgI9JcPi0VRdvmR9+m31rOUlgLkJVAC8m k3gg4iS5Yi3l1zeaJWICXiOxkiCJLxuqdiwQ3yaP1MLrwudHR+Si5nMnlPYSE/OvaR0Us3tKiz55+ WPe/WNHZdaV7thMdzZtc12ERWCgYMdawDuBPBj9rvpIugTRvxP9TCCy9Z6r2xMFTytChdaZOapPMj mYvyjvYp3Zmb4AZZBt6669+135HZ7tHZETJfOeLiY6tErnPhDW3YboPyaV9WS2WmGS3bpA6yWjqzx KfBb/ptQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wtMrK-0000000BSJU-2tiv; Mon, 10 Aug 2026 10:03:54 +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 1wtMrI-0000000BSHO-0dyL for linux-arm-kernel@lists.infradead.org; Mon, 10 Aug 2026 10:03:53 +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 F10DD14BF; Mon, 10 Aug 2026 03:03:44 -0700 (PDT) Received: from [10.57.41.8] (unknown [10.57.41.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0E0783F86F; Mon, 10 Aug 2026 03:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786356228; bh=F7OBCGqMFj3VcayDs0xRPYFqsQ8rcBMsUp03ZpbWg3Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=q5r8cxKIlmQ7cZDZx5OxwonbcDEf0uVjhXJi6jScQGRLhtW5xZFkxX9naUOwUUo+Z wvm64LLa5T0Tv6qvuwPn1Vq2Adg46HAHRKrntEdBObRAHaQXt00JX8x48GZkIaNPjp Q7B25PJnURdVFPL0n0BhG8SzS0CkF7kjGnMO67kc= Message-ID: Date: Mon, 10 Aug 2026 11:03:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 3/7] firmware: arm_rmm: Move RSI support out of arch/arm64 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: Catalin Marinas , Greg KH , Jeremy Linton , Jonathan Cameron , Lorenzo Pieralisi , Mark Rutland , Sudeep Holla , Will Deacon , Steven Price , Andre Przywara References: <20260805063255.1638614-1-aneesh.kumar@kernel.org> <20260805063255.1638614-4-aneesh.kumar@kernel.org> From: Suzuki K Poulose In-Reply-To: <20260805063255.1638614-4-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-20260810_030352_239682_F8F92B92 X-CRM114-Status: GOOD ( 10.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 On 05/08/2026 07:32, Aneesh Kumar K.V (Arm) wrote: > The RSI SMCCC function IDs describe a firmware ABI and are not arm64 > architecture specific definitions. Follow-up changes need to use them from > non-arch code, including drivers/firmware/smccc and the Arm CCA guest > driver. > > Move the complete Realm Service Interface (RSI) implementation from > arch/arm64 to drivers/firmware/arm_rmm. The RSI SMCCC definitions and > command helpers are also moved to include/linux so they can be shared by > architecture code and firmware or driver code. This also keeps the > firmware interface outside architecture code, as requested [1]. > > [1] https://lore.kernel.org/all/agsNO9cc7H-b0H8L@willie-the-truck > > Signed-off-by: Aneesh Kumar K.V (Arm) Acked-by: Suzuki K Poulose