提交 11652769 编写于 作者: B Borislav Petkov 提交者: Borislav Petkov

EDAC: Add memory controller flags

The first flag is ->csbased and will be used in common EDAC code later.
Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
上级 10de6497
...@@ -2518,6 +2518,7 @@ static int amd64_init_one_instance(struct pci_dev *F2) ...@@ -2518,6 +2518,7 @@ static int amd64_init_one_instance(struct pci_dev *F2)
mci->pvt_info = pvt; mci->pvt_info = pvt;
mci->pdev = &pvt->F2->dev; mci->pdev = &pvt->F2->dev;
mci->csbased = 1;
setup_mci_misc_attrs(mci, fam_type); setup_mci_misc_attrs(mci, fam_type);
......
...@@ -667,6 +667,8 @@ struct mem_ctl_info { ...@@ -667,6 +667,8 @@ struct mem_ctl_info {
u32 fake_inject_ue; u32 fake_inject_ue;
u16 fake_inject_count; u16 fake_inject_count;
#endif #endif
__u8 csbased : 1, /* csrow-based memory controller */
__resv : 7;
}; };
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册