Re: [PATCH v3 2/6] swiotlb: Remove call to sme_active()
From: Christoph Hellwig
Date: Thu Jul 18 2019 - 04:42:20 EST
On Thu, Jul 18, 2019 at 12:28:54AM -0300, Thiago Jung Bauermann wrote:
> 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@xxxxxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>