add ROG STRIX X870E-E GAMING WIFI
Subsystems (3)
Eugene Shalygin
maintainercover add ROG STRIX X870E-E GAMING WIFI
This adds the new board and increases the ACPI mutex lock timeout so that the driver works with the ROG STRIX X870E-E GAMING WIFI board without triggering frequent lock failures.
Ben Copeland (2):
hwmon: (asus-ec-sensors) add ROG STRIX X870E-E GAMING WIFI
hwmon: (asus-ec-sensors) increase timeout for locking ACPI mutex
Documentation/hwmon/asus_ec_sensors.rst | 1 + drivers/hwmon/asus-ec-sensors.c | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.51.0
Eugene Shalygin
maintainerPATCH 1/2 hwmon: (asus-ec-sensors) add ROG STRIX X870E-E GAMING WIFI
From: Ben Copeland <[email protected]>
Add support for ROG STRIX X870E-E GAMING WIFI
This board uses the same sensor configuration as the ProArt X870E-CREATOR WIFI motherboard.
--- Documentation/hwmon/asus_ec_sensors.rst | 1 + drivers/hwmon/asus-ec-sensors.c | 10 ++++++++++ 2 files changed, 11 insertions(+)
Documentation/hwmon/asus_ec_sensors.rst +1 -0
@@ -36,6 +36,7 @@ Supported boards: * ROG STRIX X670E-E GAMING WIFI * ROG STRIX X670E-I GAMING WIFI * ROG STRIX X870-I GAMING WIFI + * ROG STRIX X870E-E GAMING WIFI * ROG STRIX Z390-F GAMING * ROG STRIX Z490-F GAMING * ROG STRIX Z690-A GAMING WIFI D4
drivers/hwmon/asus-ec-sensors.c +10 -0
@@ -635,6 +635,14 @@ static const struct ec_board_info board_info_strix_x870_i_gaming_wifi = { .family = family_amd_800_series, }; +static const struct ec_board_info board_info_strix_x870e_e_gaming_wifi = { + .sensors =SENSOR_TEMP_CPU |SENSOR_TEMP_CPU_PACKAGE | +SENSOR_TEMP_MB |SENSOR_TEMP_VRM | +SENSOR_FAN_CPU_OPT , + .mutex_path =ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0 , + .family = family_amd_800_series, +}; +static const struct ec_board_info board_info_strix_z390_f_gaming = { .sensors =SENSOR_TEMP_CHIPSET |SENSOR_TEMP_VRM | SENSOR_TEMP_T_SENSOR |
@@ -777,6 +785,8 @@ static const struct dmi_system_id dmi_table[] = { &board_info_strix_x670e_i_gaming_wifi),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX X870-I GAMING WIFI" , &board_info_strix_x870_i_gaming_wifi), +DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX X870E-E GAMING WIFI" , + &board_info_strix_x870e_e_gaming_wifi),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX Z390-F GAMING" , &board_info_strix_z390_f_gaming), DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z490-F GAMING",
Signature · 1 line
2.51.0
Eugene Shalygin
maintainerPATCH 2/2 hwmon: (asus-ec-sensors) increase timeout for locking ACPI mutex
In reply to Eugene ShalyginFrom: Ben Copeland <[email protected]>
Some motherboards require more time to acquire the ACPI mutex, causing "Failed to acquire mutex" messages to appear in the kernel log. Increase the timeout from 500ms to 800ms to accommodate these cases.
--- drivers/hwmon/asus-ec-sensors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/asus-ec-sensors.c +1 -1
@@ -49,7 +49,7 @@ static char *mutex_path_override;*/ #define ASUS_EC_MAX_BANK 3 -#define ACPI_LOCK_DELAY_MS 500 +#define ACPI_LOCK_DELAY_MS 800/* ACPI mutex for locking access to the EC for the firmware */ #define ASUS_HW_ACCESS_MUTEX_ASMX "\\AMW0.ASMX"
Signature · 1 line
2.51.0
Re: [PATCH 1/2] hwmon: (asus-ec-sensors) add ROG STRIX X870E-E GAMING WIFI
In reply to Eugene ShalyginQuoted 9 lines · Eugene Shalygin
From: Ben Copeland <[email protected]>
Add support for ROG STRIX X870E-E GAMING WIFI
This board uses the same sensor configuration as the ProArt X870E-CREATOR WIFI motherboard.
Signed-off-by Ben Copeland <[email protected]>Signed-off-by Eugene Shalygin <[email protected]>
Applied.
Guenter
Re: [PATCH 2/2] hwmon: (asus-ec-sensors) increase timeout for locking ACPI mutex
In reply to Eugene ShalyginQuoted 8 lines · Eugene Shalygin
From: Ben Copeland <[email protected]>
Some motherboards require more time to acquire the ACPI mutex, causing "Failed to acquire mutex" messages to appear in the kernel log. Increase the timeout from 500ms to 800ms to accommodate these cases.
Signed-off-by Ben Copeland <[email protected]>Signed-off-by Eugene Shalygin <[email protected]>
Applied.
Guenter