platform/x86/intel/vsec: Rework early hardware code
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 29 Jun 2022 22:13:31 +0000 (15:13 -0700)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Jul 2022 09:49:39 +0000 (11:49 +0200)
commitf21c179e1206e88d187d517d97d270c6492d4673
treef2240ecc7e223f297f750990dd2fe0e85eacd4d1
parent9a1aac8a96dc014bec49806a7a964bf2fdbd315f
platform/x86/intel/vsec: Rework early hardware code

In the Intel VSEC PCI driver, use a new VSEC_QUIRK_EARLY_HW flag in
driver_data to indicate the need for early hardware quirks in
auxiliary devices. Remove the separate PCI ID list maintained by the
Intel PMT auxiliary driver.

Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@linux.intel.com>
Link: https://lore.kernel.org/r/20220629221334.434307-2-gayatri.kammela@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/pmt/class.c
drivers/platform/x86/intel/vsec.c
drivers/platform/x86/intel/vsec.h