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:Fenghua Yu <fenghua.yu@intel.com> Reviewed-by:
Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20230712174436.3435088-1-fenghua.yu@intel.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Stable-dep-of: 0056a7f0 ("dmaengine: idxd: Allow ATS disable update only for configurable devices") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment