Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142198240
D23561.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
523 B
Referenced Files
None
Subscribers
None
D23561.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 3:08 AM (12 h, 43 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27703607
Default Alt Text
D23561.diff (523 B)
Attached To
Mode
D23561: ecc_inject: Add Hygon Dhyana support
Attached
Detach File
Event Timeline
Log In to Comment