Commit 8f513756 authored by Fenghua Yu's avatar Fenghua Yu Committed by Greg Kroah-Hartman
Browse files

dmaengine: idxd: Simplify WQ attribute visibility checks



[ Upstream commit 97b1185f ]

The functions that check if WQ attributes are invisible are almost
duplicate. Define a helper to simplify these functions and future
WQ attribute visibility checks as well.

Signed-off-by: default avatarFenghua Yu <fenghua.yu@intel.com>
Reviewed-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230712174436.3435088-1-fenghua.yu@intel.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: 0056a7f0 ("dmaengine: idxd: Allow ATS disable update only for configurable devices")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fa2e3c48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment