1048be5feSWill Deacon /* SPDX-License-Identifier: GPL-2.0-only */ 2048be5feSWill Deacon /* 3048be5feSWill Deacon * Copyright (C) 2022 - Google LLC 4048be5feSWill Deacon * Author: Andrew Walbran <qwandor@google.com> 5048be5feSWill Deacon */ 6048be5feSWill Deacon #ifndef __KVM_HYP_FFA_H 7048be5feSWill Deacon #define __KVM_HYP_FFA_H 8048be5feSWill Deacon 9048be5feSWill Deacon #include <asm/kvm_host.h> 10048be5feSWill Deacon 11048be5feSWill Deacon #define FFA_MIN_FUNC_NUM 0x60 12*0dd60c46SSebastian Ene #define FFA_MAX_FUNC_NUM 0xFF 13048be5feSWill Deacon 14bc3888a0SWill Deacon int hyp_ffa_init(void *pages); 15373beef0SJean-Philippe Brucker bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id); 16048be5feSWill Deacon 17048be5feSWill Deacon #endif /* __KVM_HYP_FFA_H */ 18