Page MenuHomeFreeBSD

D23561.diff
No OneTemporary

D23561.diff

Index: head/sys/dev/amd_ecc_inject/ecc_inject.c
===================================================================
--- head/sys/dev/amd_ecc_inject/ecc_inject.c
+++ head/sys/dev/amd_ecc_inject/ecc_inject.c
@@ -203,7 +203,8 @@
{
uint32_t val;
- if (cpu_vendor_id != CPU_VENDOR_AMD || CPUID_TO_FAMILY(cpu_id) < 0x10) {
+ if ((cpu_vendor_id != CPU_VENDOR_AMD || CPUID_TO_FAMILY(cpu_id) < 0x10) &&
+ cpu_vendor_id != CPU_VENDOR_HYGON) {
printf("DRAM ECC error injection is not supported\n");
return (ENXIO);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 10, 2:03 AM (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16568346
Default Alt Text
D23561.diff (523 B)

Event Timeline