Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

EDAC/igen6: Add Intel Wildcat Lake SoCs support

Intel Wildcat Lake is a mobile derivative of Panther Lake with one
memory controller. Wildcat Lake SoCs share the same IBECC registers
with Meteor Lake-P SoCs.

Add a compute die ID and a new configuration structure for Wildcat
Lake SoCs with In-Band ECC capability for EDAC support.

Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20250704151609.7833-3-qiuxu.zhuo@intel.com

authored by

Lili Li and committed by
Tony Luck
773d8bb5 9ad08c11

+15
+15
drivers/edac/igen6_edac.c
··· 275 275 #define DID_PTL_H_SKU2 0xb001 276 276 #define DID_PTL_H_SKU3 0xb002 277 277 278 + /* Compute die IDs for Wildcat Lake with IBECC */ 279 + #define DID_WCL_SKU1 0xfd00 280 + 278 281 static int get_mchbar(struct pci_dev *pdev, u64 *mchbar) 279 282 { 280 283 union { ··· 572 569 .err_addr_to_imc_addr = adl_err_addr_to_imc_addr, 573 570 }; 574 571 572 + static struct res_config wcl_cfg = { 573 + .machine_check = true, 574 + .num_imc = 1, 575 + .imc_base = 0xd800, 576 + .ibecc_base = 0xd400, 577 + .ibecc_error_log_offset = 0x170, 578 + .ibecc_available = mtl_p_ibecc_available, 579 + .err_addr_to_sys_addr = adl_err_addr_to_sys_addr, 580 + .err_addr_to_imc_addr = adl_err_addr_to_imc_addr, 581 + }; 582 + 575 583 static struct pci_device_id igen6_pci_tbl[] = { 576 584 { PCI_VDEVICE(INTEL, DID_EHL_SKU5), (kernel_ulong_t)&ehl_cfg }, 577 585 { PCI_VDEVICE(INTEL, DID_EHL_SKU6), (kernel_ulong_t)&ehl_cfg }, ··· 636 622 { PCI_VDEVICE(INTEL, DID_PTL_H_SKU1), (kernel_ulong_t)&mtl_p_cfg }, 637 623 { PCI_VDEVICE(INTEL, DID_PTL_H_SKU2), (kernel_ulong_t)&mtl_p_cfg }, 638 624 { PCI_VDEVICE(INTEL, DID_PTL_H_SKU3), (kernel_ulong_t)&mtl_p_cfg }, 625 + { PCI_VDEVICE(INTEL, DID_WCL_SKU1), (kernel_ulong_t)&wcl_cfg }, 639 626 { }, 640 627 }; 641 628 MODULE_DEVICE_TABLE(pci, igen6_pci_tbl);