EFI: drop copy-in from QueryVariableInfo()'s OUT-only variable bouncing
authorJan Beulich <jbeulich@suse.com>
Mon, 6 Dec 2021 13:16:37 +0000 (14:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 6 Dec 2021 13:16:37 +0000 (14:16 +0100)
commitf0abfb5eca6821fb58c09331d0fa3ec97f86e0bb
tree83863371ed7f7605e67384daa91c336261c0cdb8
parent1f9540cd8eb63cce7702d6791093b871198a9afe
EFI: drop copy-in from QueryVariableInfo()'s OUT-only variable bouncing

While be12fcca8b78 ("efi: fix alignment of function parameters in compat
mode") intentionally bounced them both ways to avoid any functional
change so close to the release of 4.16, the bouncing-in shouldn't really
be needed. In exchange the local variables need to gain initializers to
avoid copying back prior stack contents.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
xen/common/efi/runtime.c