x86/amd: Initial support for Fam19h processors

Fam19h is very similar to Fam17h in these regards.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2020-05-04 11:04:29 +01:00
1 parent 0c9751b53c
commit fe36a173d1
5 files changed
+8 -2

No files matched your search

+1
View File
@@ -1356,6 +1356,7 @@ static void amd_cpuidle_init(struct acpi_processor_power *power)
switch ( c->x86 )
{
case 0x19:
case 0x18:
if ( boot_cpu_data.x86_vendor != X86_VENDOR_HYGON )
{
+4
View File
@@ -112,6 +112,7 @@ static bool_t verify_patch_size(uint32_t patch_size)
#define F15H_MPB_MAX_SIZE 4096
#define F16H_MPB_MAX_SIZE 3458
#define F17H_MPB_MAX_SIZE 3200
#define F19H_MPB_MAX_SIZE 4800
switch (boot_cpu_data.x86)
{
@@ -127,6 +128,9 @@ static bool_t verify_patch_size(uint32_t patch_size)
case 0x17:
max_size = F17H_MPB_MAX_SIZE;
break;
case 0x19:
max_size = F19H_MPB_MAX_SIZE;
break;
default:
max_size = F1XH_MPB_MAX_SIZE;
break;
+1
View File
@@ -576,6 +576,7 @@ int __init amd_vpmu_init(void)
{
case 0x15:
case 0x17:
case 0x19:
num_counters = F15H_NUM_COUNTERS;
counters = AMD_F15H_COUNTERS;
ctrls = AMD_F15H_CTRLS;
+1 -1
View File
@@ -398,7 +398,7 @@ void setup_apic_nmi_watchdog(void)
case X86_VENDOR_AMD:
switch (boot_cpu_data.x86) {
case 6:
case 0xf ... 0x17:
case 0xf ... 0x19:
setup_k7_watchdog();
break;
default:
+1 -1
View File
@@ -1939,7 +1939,7 @@ static unsigned int calc_ler_msr(void)
switch ( boot_cpu_data.x86 )
{
case 6:
case 0xf ... 0x17:
case 0xf ... 0x19:
return MSR_IA32_LASTINTFROMIP;
}
break;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.