From nobody Mon Feb 9 17:35:08 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 235AE1922DC for ; Mon, 25 Nov 2024 09:52:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732528379; cv=none; b=QHdoR93fAGQHjzDfesCxUL4nUYON4YRcJfA9MQlX1mh6ZtT1slmiypA9WQT25JY5cgErfcDVzrY6+TSjJuhER2HZdOHnV0hD4I4G8bnp1aVnXv6Pnc70o7d+2BkIizHx4aoe1rxQwjFKDHpk/K41FQKekzjf2qqwxgojgCkxC28= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732528379; c=relaxed/simple; bh=ubZ04BAzavQP2t/iuBNv8I/bCNuPwsYNnJT0ixXEHFw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jWekjZhexZGBzz7q4LiA2ykelgX+j20RZbX93d117V+nTXLqlq55JEtnNZKvidZSjJayc0Xh0KbnJZWzxAhwRIh7gaNX6hPiuzXnALbInL1YJq6Bv9JqJ7e8HcevejMvE8mceCIUEEW8mZRM/OVeMRgr4kq33maxAd7KREEF7a8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 A93C01692; Mon, 25 Nov 2024 01:53:27 -0800 (PST) Received: from e129823.cambridge.arm.com (e129823.arm.com [10.1.197.6]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 95C7F3F5A1; Mon, 25 Nov 2024 01:52:56 -0800 (PST) From: Yeoreum Yun To: sudeep.holla@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nd@arm.com, Levi Yun Subject: [PATCH 2/3] arm_ffa.h: add properties bit related direct msg version 2 Date: Mon, 25 Nov 2024 09:52:50 +0000 Message-Id: <20241125095251.366866-3-yeoreum.yun@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125095251.366866-1-yeoreum.yun@arm.com> References: <20241125095251.366866-1-yeoreum.yun@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Levi Yun According to FF-A specificaiton [0], There are flags to be used to check whether partition supports send/receive direct msg version 2. Add related flags. Link: https://developer.arm.com/documentation/den0077/latest [0] Signed-off-by: Yeoreum Yun --- include/linux/arm_ffa.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/arm_ffa.h b/include/linux/arm_ffa.h index 3fb9c7a3453b..b697675c76ba 100644 --- a/include/linux/arm_ffa.h +++ b/include/linux/arm_ffa.h @@ -238,6 +238,10 @@ struct ffa_partition_info { #define FFA_PARTITION_NOTIFICATION_RECV BIT(3) /* partition runs in the AArch64 execution state. */ #define FFA_PARTITION_AARCH64_EXEC BIT(8) +/* partition supports receipt of direct requests version 2 */ +#define FFA_PARTITION_DIRECT_RECV_V2 BIT(9) +/* partition can send direct requests. */ +#define FFA_PARTITION_DIRECT_SEND_V2 BIT(10) u32 properties; u32 uuid[4]; }; --=20 LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}