]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smccc: kvm_guest: Align with DISCOVER_IMPL_CPUS ABI
authorOliver Upton <oliver.upton@linux.dev>
Thu, 27 Mar 2025 16:36:15 +0000 (09:36 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 1 Apr 2025 16:38:43 +0000 (09:38 -0700)
commitacfcaf90db1fa833236d9f8249b6099cf638e5d1
treec80c09206a83a7e932766b0ad791a675aa100ab5
parent369c0122682c4468a69f2454614eded71c5348f3
smccc: kvm_guest: Align with DISCOVER_IMPL_CPUS ABI

The ABI of the hypercall requires that R2 and R3 are 0. Explicitly pass
0 for these parameters.

Cc: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on implementation CPUs")
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20250327163613.2516073-1-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
drivers/firmware/smccc/kvm_guest.c