]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Remove confusing warning message.
authorLaurent Dufour <ldufour@linux.ibm.com>
Tue, 1 Oct 2019 13:29:28 +0000 (15:29 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Oct 2019 06:16:59 +0000 (17:16 +1100)
commit9c865ec2d8ab1a950d2b9216eaabbd768efcdd80
tree8485e7a614bf8aef882cb07f20d2c8fb312d046a
parent985da6173fdf87e320a1ac8b2127f8473cbc766b
powerpc/pseries: Remove confusing warning message.

Since commit 3ecb8bc6eb16 ("powerpc/pseries: Read TLB Block Invalidate
Characteristics"), a warning message is displayed when booting a guest
on top of KVM:

  lpar: arch/powerpc/platforms/pseries/lpar.c pseries_lpar_read_hblkrm_characteristics Error calling get-system-parameter (0xfffffffd)

This message is displayed because this hypervisor is not supporting
the H_BLOCK_REMOVE hcall and thus is not exposing the corresponding
feature.

Reading the TLB Block Invalidate Characteristics should not be done if
the feature is not exposed.

Fixes: 3ecb8bc6eb16 ("powerpc/pseries: Read TLB Block Invalidate Characteristics")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191001132928.72555-1-ldufour@linux.ibm.com
arch/powerpc/platforms/pseries/lpar.c