[PATCH] powerpc/pseries/vas: Don't print an error when VAS is unavailable

Nicholas Piggin npiggin at gmail.com
Fri Nov 26 21:31:09 AEDT 2021


Excerpts from Cédric Le Goater's message of November 26, 2021 5:13 pm:
> On 11/26/21 06:21, Nicholas Piggin wrote:
>> 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.
> 
> 
> Just being curious, why is it even called since "ibm,compression" should
> not be exposed in the DT ?

It looks like vas does not test for it. I guess in theory there can be 
other functions than compression implemented as an accelerator. Maybe
that's why?

Thanks,
Nick



More information about the Linuxppc-dev mailing list