OSDN Git Service

powerpc/pseries/vas: Don't print an error when VAS is unavailable
authorNicholas Piggin <npiggin@gmail.com>
Fri, 26 Nov 2021 05:21:33 +0000 (15:21 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Dec 2021 10:31:45 +0000 (21:31 +1100)
commit0a006ace634dcaf1bbf9125fb8089a4a50bf33d6
tree22d613673533b45c8ae7fe4896fc10a3b8cd5c76
parent6ed05a8efda56e5be11081954929421de19cce88
powerpc/pseries/vas: Don't print an error when VAS is unavailable

KVM does not support VAS so guests always print a useless error on boot

    vas: HCALL(398) error -2, query_type 0, result buffer 0x57f2000

Change this to only print the message if the error is not H_FUNCTION.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211126052133.1664375-1-npiggin@gmail.com
arch/powerpc/platforms/pseries/vas.c