1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2022 - Google LLC 4 * Author: Andrew Walbran <[email protected]> 5 */ 6#ifndef __KVM_HYP_FFA_H 7#define __KVM_HYP_FFA_H 8 9#include <asm/kvm_host.h> 10 11#define FFA_MIN_FUNC_NUM 0x60 12#define FFA_MAX_FUNC_NUM 0xFF 13 14int hyp_ffa_init(void *pages); 15bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id); 16 17#endif /* __KVM_HYP_FFA_H */ 18 19