swiotlb: Remove call to sme_active()
authorThiago Jung Bauermann <bauerman@linux.ibm.com>
Tue, 6 Aug 2019 04:49:15 +0000 (01:49 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 9 Aug 2019 12:52:06 +0000 (22:52 +1000)
commit47e5d8f9ed34a5310f45f48bbc15f1e61d83b6db
treebe915963f918e4d8293ada3795df4eaff931881b
parent0c9c1d56397518eb823d458b00b06bcccd956794
swiotlb: Remove call to sme_active()

sme_active() is an x86-specific function so it's better not to call it from
generic code.

There's no need to mention which memory encryption feature is active, so
just use a more generic message. Besides, other architectures will have
different names for similar technology.

Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190806044919.10622-3-bauerman@linux.ibm.com
kernel/dma/swiotlb.c