hv: add P2SB device to whitelist for apl-mrb

apl-mrb need to access P2SB device, so add 00:0d.0 P2SB device to
whitelist for platform pci hidden device.

Tracked-On: #3475
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Wei Liu 2020-02-20 14:34:08 +08:00 committed by wenlingz
parent 170aa935bd
commit f3a4b2325f
2 changed files with 9 additions and 2 deletions

View File

@ -16,4 +16,11 @@
struct dmar_info plat_dmar_info; struct dmar_info plat_dmar_info;
struct platform_clos_info platform_clos_array[MAX_PLATFORM_CLOS_NUM]; struct platform_clos_info platform_clos_array[MAX_PLATFORM_CLOS_NUM];
const struct cpu_state_table board_cpu_state_tbl; const struct cpu_state_table board_cpu_state_tbl;
const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM];
const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM] = {
{
.bits.b = 0x0U,
.bits.d = 0xdU,
.bits.f = 0x0U,
},
};

View File

@ -41,6 +41,6 @@
"cma=64M@0- " \ "cma=64M@0- " \
"panic_print=0x1f" "panic_print=0x1f"
#define MAX_HIDDEN_PDEVS_NUM 0U #define MAX_HIDDEN_PDEVS_NUM 1U
#endif /* MISC_CFG_H */ #endif /* MISC_CFG_H */