| .. | .. |
|---|
| 93 | 93 | vendor = id & 0xffff; |
|---|
| 94 | 94 | device = (id>>16) & 0xffff; |
|---|
| 95 | 95 | |
|---|
| 96 | | - if (vendor != PCI_VENDOR_ID_AMD) |
|---|
| 96 | + if (vendor != PCI_VENDOR_ID_AMD && |
|---|
| 97 | + vendor != PCI_VENDOR_ID_HYGON) |
|---|
| 97 | 98 | continue; |
|---|
| 98 | 99 | |
|---|
| 99 | 100 | if (hb_probes[i].device == device) { |
|---|
| .. | .. |
|---|
| 390 | 391 | |
|---|
| 391 | 392 | static int __init amd_postcore_init(void) |
|---|
| 392 | 393 | { |
|---|
| 393 | | - if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) |
|---|
| 394 | + if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && |
|---|
| 395 | + boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) |
|---|
| 394 | 396 | return 0; |
|---|
| 395 | 397 | |
|---|
| 396 | 398 | early_root_info_init(); |
|---|