1a49dddbdSClaudio Carvalho/* SPDX-License-Identifier: GPL-2.0 */ 2a49dddbdSClaudio Carvalho/* 3a49dddbdSClaudio Carvalho * Generic code to perform an ultravisor call. 4a49dddbdSClaudio Carvalho * 5a49dddbdSClaudio Carvalho * Copyright 2019, IBM Corporation. 6a49dddbdSClaudio Carvalho * 7a49dddbdSClaudio Carvalho */ 8*39326182SMasahiro Yamada#include <linux/export.h> 9a49dddbdSClaudio Carvalho#include <asm/ppc_asm.h> 10a49dddbdSClaudio Carvalho 11a49dddbdSClaudio Carvalho_GLOBAL(ucall_norets) 12a49dddbdSClaudio CarvalhoEXPORT_SYMBOL_GPL(ucall_norets) 13a49dddbdSClaudio Carvalho sc 2 /* Invoke the ultravisor */ 14a49dddbdSClaudio Carvalho blr /* Return r3 = status */ 15