[PATCH AUTOSEL 4.14 23/25] arm/arm64: smccc-1.1: Handle function result as parameters

2018-09-19 Thread Sasha Levin
From: Marc Zyngier [ Upstream commit 755a8bf5579d22eb5636685c516d8dede799e27b ] If someone has the silly idea to write something along those lines: extern u64 foo(void); void bar(struct arm_smccc_res *res) { arm_smccc_1_1_smc(0xbad, foo(), res);

[PATCH AUTOSEL 4.14 23/25] arm/arm64: smccc-1.1: Handle function result as parameters

2018-09-19 Thread Sasha Levin
From: Marc Zyngier [ Upstream commit 755a8bf5579d22eb5636685c516d8dede799e27b ] If someone has the silly idea to write something along those lines: extern u64 foo(void); void bar(struct arm_smccc_res *res) { arm_smccc_1_1_smc(0xbad, foo(), res);