Commit 26835b36 authored by David E. Box's avatar David E. Box Committed by Jia, Yingbao
Browse files

platform/x86/intel/vsec: Remove nuisance message

mainline inclusion
from mainline-v6.9
commit 701d40af59373ac3a60c620cbd0ceff7b2b8e565
category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QCJ
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=701d40af59373ac3a60c620cbd0ceff7b2b8e565



-------------------------------------------------

Intel-SIG: commit 701d40af5937 platform/x86/intel/vsec: Remove nuisance message.
Backport intel tpmi base driver update for 6.6 from 6.10

intel_vsec_walk_header() is used to configure features from devices that
don't provide a PCI VSEC or DVSEC structure. Some of these features may
be unsupported and fail to load. Ignore them silently as we do for
unsupported features described by VSEC/DVSEC.

Signed-off-by: default avatar"David E. Box" <david.e.box@linux.intel.com>
Reviewed-by: default avatarKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240227190134.1592072-1-david.e.box@linux.intel.com


Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
[ Yingbao Jia: amend commit log ]
Signed-off-by: default avatarYingbao Jia <yingbao.jia@intel.com>
parent 96c7efc7
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -236,10 +236,7 @@ static bool intel_vsec_walk_header(struct pci_dev *pdev,

	for ( ; *header; header++) {
		ret = intel_vsec_add_dev(pdev, *header, info);
		if (ret)
			dev_info(&pdev->dev, "Could not add device for VSEC id %d\n",
				 (*header)->id);
		else
		if (!ret)
			have_devices = true;
	}