]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iommu/vt-d: Do not falsely log intel_iommu is unsupported kernel option
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 14 Oct 2021 05:38:31 +0000 (13:38 +0800)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 7 Dec 2021 06:34:01 +0000 (07:34 +0100)
commita91ff7aefd0f104b34c78d66d7b0a5110f676f81
treec8859d282df2117bd17500e5b407de353d7fc92c
parentec827b25956fbe6ed943c7bad282413329915429
iommu/vt-d: Do not falsely log intel_iommu is unsupported kernel option

BugLink: https://bugs.launchpad.net/bugs/1952579
[ Upstream commit 5240aed2cd2594fb392239f11b9681e5e1591619 ]

Handling of intel_iommu kernel command line option should return "true" to
indicate option is valid and so avoid logging it as unknown by the core
parsing code.

Also log unknown sub-options at the notice level to let user know of
potential typos or similar.

Reported-by: Eero Tamminen <eero.t.tamminen@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://lore.kernel.org/r/20210831112947.310080-1-tvrtko.ursulin@linux.intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20211014053839.727419-2-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/iommu/intel/iommu.c