Skip to content

Commit 0dd60c4

Browse files
Sebastian Eneoupton
authored andcommitted
KVM: arm64: Update the identification range for the FF-A smcs
The FF-A spec 1.2 reserves the following ranges for identifying FF-A calls: 0x84000060-0x840000FF: FF-A 32-bit calls 0xC4000060-0xC40000FF: FF-A 64-bit calls. Use the range identification according to the spec and allow calls that are currently out of the range(eg. FFA_MSG_SEND_DIRECT_REQ2) to be identified correctly. Acked-by: Will Deacon <[email protected]> Signed-off-by: Sebastian Ene <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Tested-by: Sudeep Holla <[email protected]> Acked-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
1 parent 8943763 commit 0dd60c4

File tree

1 file changed

+1
-1
lines changed
  • arch/arm64/kvm/hyp/include/nvhe

1 file changed

+1
-1
lines changed

arch/arm64/kvm/hyp/include/nvhe/ffa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <asm/kvm_host.h>
1010

1111
#define FFA_MIN_FUNC_NUM 0x60
12-
#define FFA_MAX_FUNC_NUM 0x7F
12+
#define FFA_MAX_FUNC_NUM 0xFF
1313

1414
int hyp_ffa_init(void *pages);
1515
bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id);

0 commit comments

Comments
 (0)