From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
stable@vger.kernel.org,
Eugene Shalygin <eugene.shalygin@gmail.com>,
Guenter Roeck <linux@roeck-us.net>,
Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.19 186/192] hwmon: (asus-ec-sensors) autoload module via DMI data
Date: Tue, 13 Sep 2022 16:04:52 +0200 [thread overview]
Message-ID: <20220913140419.327640102@linuxfoundation.org> (raw)
In-Reply-To: <20220913140410.043243217@linuxfoundation.org>
From: Eugene Shalygin <eugene.shalygin@gmail.com>
[ Upstream commit 88700d1396bae72d9a4c23a48bbd98c1c2f53f3d ]
Replace autoloading data based on the ACPI EC device with the DMI
records for motherboards models. The ACPI method created a bug that when
this driver returns error from the probe function because of the
unsupported motherboard model, the ACPI subsystem concludes
that the EC device does not work properly.
Fixes: 5cd29012028d ("hwmon: (asus-ec-sensors) introduce ec_board_info struct for board data")
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=216412
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2121844
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20220909155654.123398-2-eugene.shalygin@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/hwmon/asus-ec-sensors.c | 408 +++++++++++++++++---------------
1 file changed, 222 insertions(+), 186 deletions(-)
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 61a4684fc020e..81e688975c6a7 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -266,9 +266,7 @@ static const struct ec_sensor_info sensors_family_intel_600[] = {
#define SENSOR_SET_WATER_BLOCK \
(SENSOR_TEMP_WATER_BLOCK_IN | SENSOR_TEMP_WATER_BLOCK_OUT)
-
struct ec_board_info {
- const char *board_names[MAX_IDENTICAL_BOARD_VARIATIONS];
unsigned long sensors;
/*
* Defines which mutex to use for guarding access to the state and the
@@ -281,152 +279,194 @@ struct ec_board_info {
enum board_family family;
};
-static const struct ec_board_info board_info[] = {
- {
- .board_names = {"PRIME X470-PRO"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
- SENSOR_FAN_CPU_OPT |
- SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
- .mutex_path = ACPI_GLOBAL_LOCK_PSEUDO_PATH,
- .family = family_amd_400_series,
- },
- {
- .board_names = {"PRIME X570-PRO"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
- SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ProArt X570-CREATOR WIFI"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
- SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CPU_OPT |
- SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
- },
- {
- .board_names = {"Pro WS X570-ACE"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
- SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET |
- SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG CROSSHAIR VIII DARK HERO"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR |
- SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
- SENSOR_FAN_CPU_OPT | SENSOR_FAN_WATER_FLOW |
- SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {
- "ROG CROSSHAIR VIII FORMULA",
- "ROG CROSSHAIR VIII HERO",
- "ROG CROSSHAIR VIII HERO (WI-FI)",
- },
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR |
- SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
- SENSOR_FAN_CPU_OPT | SENSOR_FAN_CHIPSET |
- SENSOR_FAN_WATER_FLOW | SENSOR_CURR_CPU |
- SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {
- "ROG MAXIMUS XI HERO",
- "ROG MAXIMUS XI HERO (WI-FI)",
- },
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR |
- SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
- SENSOR_FAN_CPU_OPT | SENSOR_FAN_WATER_FLOW,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_intel_300_series,
- },
- {
- .board_names = {"ROG CROSSHAIR VIII IMPACT"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
- SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU |
- SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG STRIX B550-E GAMING"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
- SENSOR_FAN_CPU_OPT,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG STRIX B550-I GAMING"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
- SENSOR_FAN_VRM_HS | SENSOR_CURR_CPU |
- SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG STRIX X570-E GAMING"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
- SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU |
- SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG STRIX X570-E GAMING WIFI II"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR | SENSOR_CURR_CPU |
- SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG STRIX X570-F GAMING"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
- SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG STRIX X570-I GAMING"},
- .sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
- SENSOR_TEMP_T_SENSOR |
- SENSOR_FAN_VRM_HS | SENSOR_FAN_CHIPSET |
- SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
- .family = family_amd_500_series,
- },
- {
- .board_names = {"ROG STRIX Z690-A GAMING WIFI D4"},
- .sensors = SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_RMTW_ASMX,
- .family = family_intel_600_series,
- },
- {
- .board_names = {"ROG ZENITH II EXTREME"},
- .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_T_SENSOR |
- SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
- SENSOR_FAN_CPU_OPT | SENSOR_FAN_CHIPSET | SENSOR_FAN_VRM_HS |
- SENSOR_FAN_WATER_FLOW | SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE |
- SENSOR_SET_WATER_BLOCK |
- SENSOR_TEMP_T_SENSOR_2 | SENSOR_TEMP_SENSOR_EXTRA_1 |
- SENSOR_TEMP_SENSOR_EXTRA_2 | SENSOR_TEMP_SENSOR_EXTRA_3,
- .mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0,
- .family = family_amd_500_series,
- },
- {}
+static const struct ec_board_info board_info_prime_x470_pro = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
+ SENSOR_FAN_CPU_OPT |
+ SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
+ .mutex_path = ACPI_GLOBAL_LOCK_PSEUDO_PATH,
+ .family = family_amd_400_series,
+};
+
+static const struct ec_board_info board_info_prime_x570_pro = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
+ SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_pro_art_x570_creator_wifi = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
+ SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CPU_OPT |
+ SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_pro_ws_x570_ace = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
+ SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET |
+ SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_crosshair_viii_dark_hero = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR |
+ SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
+ SENSOR_FAN_CPU_OPT | SENSOR_FAN_WATER_FLOW |
+ SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_crosshair_viii_hero = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR |
+ SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
+ SENSOR_FAN_CPU_OPT | SENSOR_FAN_CHIPSET |
+ SENSOR_FAN_WATER_FLOW | SENSOR_CURR_CPU |
+ SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_maximus_xi_hero = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR |
+ SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
+ SENSOR_FAN_CPU_OPT | SENSOR_FAN_WATER_FLOW,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_intel_300_series,
+};
+
+static const struct ec_board_info board_info_crosshair_viii_impact = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
+ SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU |
+ SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_strix_b550_e_gaming = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
+ SENSOR_FAN_CPU_OPT,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_strix_b550_i_gaming = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
+ SENSOR_FAN_VRM_HS | SENSOR_CURR_CPU |
+ SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_strix_x570_e_gaming = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
+ SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU |
+ SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_strix_x570_e_gaming_wifi_ii = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR | SENSOR_CURR_CPU |
+ SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_strix_x570_f_gaming = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+ SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_strix_x570_i_gaming = {
+ .sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
+ SENSOR_TEMP_T_SENSOR |
+ SENSOR_FAN_VRM_HS | SENSOR_FAN_CHIPSET |
+ SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+ .family = family_amd_500_series,
+};
+
+static const struct ec_board_info board_info_strix_z690_a_gaming_wifi_d4 = {
+ .sensors = SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_RMTW_ASMX,
+ .family = family_intel_600_series,
+};
+
+static const struct ec_board_info board_info_zenith_ii_extreme = {
+ .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_T_SENSOR |
+ SENSOR_TEMP_VRM | SENSOR_SET_TEMP_WATER |
+ SENSOR_FAN_CPU_OPT | SENSOR_FAN_CHIPSET | SENSOR_FAN_VRM_HS |
+ SENSOR_FAN_WATER_FLOW | SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE |
+ SENSOR_SET_WATER_BLOCK |
+ SENSOR_TEMP_T_SENSOR_2 | SENSOR_TEMP_SENSOR_EXTRA_1 |
+ SENSOR_TEMP_SENSOR_EXTRA_2 | SENSOR_TEMP_SENSOR_EXTRA_3,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0,
+ .family = family_amd_500_series,
+};
+
+#define DMI_EXACT_MATCH_ASUS_BOARD_NAME(name, board_info) \
+ { \
+ .matches = { \
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, \
+ "ASUSTeK COMPUTER INC."), \
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, name), \
+ }, \
+ .driver_data = (void *)board_info, \
+ }
+
+static const struct dmi_system_id dmi_table[] = {
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("PRIME X470-PRO",
+ &board_info_prime_x470_pro),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("PRIME X570-PRO",
+ &board_info_prime_x570_pro),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X570-CREATOR WIFI",
+ &board_info_pro_art_x570_creator_wifi),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("Pro WS X570-ACE",
+ &board_info_pro_ws_x570_ace),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR VIII DARK HERO",
+ &board_info_crosshair_viii_dark_hero),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR VIII FORMULA",
+ &board_info_crosshair_viii_hero),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR VIII HERO",
+ &board_info_crosshair_viii_hero),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR VIII HERO (WI-FI)",
+ &board_info_crosshair_viii_hero),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS XI HERO",
+ &board_info_maximus_xi_hero),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS XI HERO (WI-FI)",
+ &board_info_maximus_xi_hero),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR VIII IMPACT",
+ &board_info_crosshair_viii_impact),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX B550-E GAMING",
+ &board_info_strix_b550_e_gaming),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX B550-I GAMING",
+ &board_info_strix_b550_i_gaming),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-E GAMING",
+ &board_info_strix_x570_e_gaming),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-E GAMING WIFI II",
+ &board_info_strix_x570_e_gaming_wifi_ii),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-F GAMING",
+ &board_info_strix_x570_f_gaming),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-I GAMING",
+ &board_info_strix_x570_i_gaming),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z690-A GAMING WIFI D4",
+ &board_info_strix_z690_a_gaming_wifi_d4),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG ZENITH II EXTREME",
+ &board_info_zenith_ii_extreme),
+ {},
};
struct ec_sensor {
@@ -537,12 +577,12 @@ static int find_ec_sensor_index(const struct ec_sensors_data *ec,
return -ENOENT;
}
-static int __init bank_compare(const void *a, const void *b)
+static int bank_compare(const void *a, const void *b)
{
return *((const s8 *)a) - *((const s8 *)b);
}
-static void __init setup_sensor_data(struct ec_sensors_data *ec)
+static void setup_sensor_data(struct ec_sensors_data *ec)
{
struct ec_sensor *s = ec->sensors;
bool bank_found;
@@ -574,7 +614,7 @@ static void __init setup_sensor_data(struct ec_sensors_data *ec)
sort(ec->banks, ec->nr_banks, 1, bank_compare, NULL);
}
-static void __init fill_ec_registers(struct ec_sensors_data *ec)
+static void fill_ec_registers(struct ec_sensors_data *ec)
{
const struct ec_sensor_info *si;
unsigned int i, j, register_idx = 0;
@@ -589,7 +629,7 @@ static void __init fill_ec_registers(struct ec_sensors_data *ec)
}
}
-static int __init setup_lock_data(struct device *dev)
+static int setup_lock_data(struct device *dev)
{
const char *mutex_path;
int status;
@@ -812,7 +852,7 @@ static umode_t asus_ec_hwmon_is_visible(const void *drvdata,
return find_ec_sensor_index(state, type, channel) >= 0 ? S_IRUGO : 0;
}
-static int __init
+static int
asus_ec_hwmon_add_chan_info(struct hwmon_channel_info *asus_ec_hwmon_chan,
struct device *dev, int num,
enum hwmon_sensor_types type, u32 config)
@@ -841,27 +881,15 @@ static struct hwmon_chip_info asus_ec_chip_info = {
.ops = &asus_ec_hwmon_ops,
};
-static const struct ec_board_info * __init get_board_info(void)
+static const struct ec_board_info *get_board_info(void)
{
- const char *dmi_board_vendor = dmi_get_system_info(DMI_BOARD_VENDOR);
- const char *dmi_board_name = dmi_get_system_info(DMI_BOARD_NAME);
- const struct ec_board_info *board;
-
- if (!dmi_board_vendor || !dmi_board_name ||
- strcasecmp(dmi_board_vendor, "ASUSTeK COMPUTER INC."))
- return NULL;
-
- for (board = board_info; board->sensors; board++) {
- if (match_string(board->board_names,
- MAX_IDENTICAL_BOARD_VARIATIONS,
- dmi_board_name) >= 0)
- return board;
- }
+ const struct dmi_system_id *dmi_entry;
- return NULL;
+ dmi_entry = dmi_first_match(dmi_table);
+ return dmi_entry ? dmi_entry->driver_data : NULL;
}
-static int __init asus_ec_probe(struct platform_device *pdev)
+static int asus_ec_probe(struct platform_device *pdev)
{
const struct hwmon_channel_info **ptr_asus_ec_ci;
int nr_count[hwmon_max] = { 0 }, nr_types = 0;
@@ -970,29 +998,37 @@ static int __init asus_ec_probe(struct platform_device *pdev)
return PTR_ERR_OR_ZERO(hwdev);
}
-
-static const struct acpi_device_id acpi_ec_ids[] = {
- /* Embedded Controller Device */
- { "PNP0C09", 0 },
- {}
-};
+MODULE_DEVICE_TABLE(dmi, dmi_table);
static struct platform_driver asus_ec_sensors_platform_driver = {
.driver = {
.name = "asus-ec-sensors",
- .acpi_match_table = acpi_ec_ids,
},
+ .probe = asus_ec_probe,
};
-MODULE_DEVICE_TABLE(acpi, acpi_ec_ids);
-/*
- * we use module_platform_driver_probe() rather than module_platform_driver()
- * because the probe function (and its dependants) are marked with __init, which
- * means we can't put it into the .probe member of the platform_driver struct
- * above, and we can't mark the asus_ec_sensors_platform_driver object as __init
- * because the object is referenced from the module exit code.
- */
-module_platform_driver_probe(asus_ec_sensors_platform_driver, asus_ec_probe);
+static struct platform_device *asus_ec_sensors_platform_device;
+
+static int __init asus_ec_init(void)
+{
+ asus_ec_sensors_platform_device =
+ platform_create_bundle(&asus_ec_sensors_platform_driver,
+ asus_ec_probe, NULL, 0, NULL, 0);
+
+ if (IS_ERR(asus_ec_sensors_platform_device))
+ return PTR_ERR(asus_ec_sensors_platform_device);
+
+ return 0;
+}
+
+static void __exit asus_ec_exit(void)
+{
+ platform_device_unregister(asus_ec_sensors_platform_device);
+ platform_driver_unregister(&asus_ec_sensors_platform_driver);
+}
+
+module_init(asus_ec_init);
+module_exit(asus_ec_exit);
module_param_named(mutex_path, mutex_path_override, charp, 0);
MODULE_PARM_DESC(mutex_path,
--
2.35.1
next prev parent reply other threads:[~2022-09-13 14:31 UTC|newest]
Thread overview: 208+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-13 14:01 [PATCH 5.19 000/192] 5.19.9-rc1 review Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 001/192] efi: libstub: Disable struct randomization Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 002/192] efi: capsule-loader: Fix use-after-free in efi_capsule_write Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 003/192] wifi: mt76: mt7921e: fix crash in chip reset fail Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 004/192] wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd() Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 005/192] net: mvpp2: debugfs: fix memory leak when using debugfs_lookup() Greg Kroah-Hartman
2022-09-13 16:48 ` Russell King (Oracle)
2022-09-15 8:35 ` Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 006/192] fs: only do a memory barrier for the first set_buffer_uptodate() Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 007/192] soc: fsl: select FSL_GUTS driver for DPIO Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 008/192] Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()" Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 009/192] scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 010/192] scsi: core: Allow the ALUA transitioning state enough time Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 011/192] scsi: megaraid_sas: Fix double kfree() Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 012/192] drm/gem: Fix GEM handle release errors Greg Kroah-Hartman
2022-09-13 14:01 ` [PATCH 5.19 013/192] drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 014/192] drm/amdgpu: fix hive reference leak when adding xgmi device Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 015/192] drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 016/192] drm/amdgpu: Remove the additional kfd pre reset call for sriov Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 017/192] drm/radeon: add a force flush to delay work when radeon Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 018/192] scsi: ufs: core: Reduce the power mode change timeout Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 019/192] Revert "parisc: Show error if wrong 32/64-bit compiler is being used" Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 020/192] parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 021/192] parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 022/192] arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 023/192] arm64/signal: Raise limit on stack frames Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 024/192] netfilter: conntrack: work around exceeded receive window Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 025/192] thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 026/192] cpufreq: check only freq_table in __resolve_freq() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 027/192] net/core/skbuff: Check the return value of skb_copy_bits() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 028/192] md: Flush workqueue md_rdev_misc_wq in md_alloc() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 029/192] fbdev: omapfb: Fix tests for platform_get_irq() failure Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 030/192] fbdev: fbcon: Destroy mutex on freeing struct fb_info Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 031/192] fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 032/192] x86/sev: Mark snp_abort() noreturn Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 033/192] drm/amdgpu: add sdma instance check for gfx11 CGCG Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 034/192] drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 035/192] ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 036/192] ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 037/192] ALSA: hda: Once again fix regression of page allocations with IOMMU Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 038/192] ALSA: aloop: Fix random zeros in capture data when using jiffies timer Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 039/192] ALSA: usb-audio: Split endpoint setups for hw_params and prepare Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 040/192] ALSA: usb-audio: Clear fixed clock rate at closing EP Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 041/192] ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 042/192] tracefs: Only clobber mode/uid/gid on remount if asked Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 043/192] tracing: hold caller_addr to hardirq_{enable,disable}_ip Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 044/192] tracing: Fix to check event_mutex is held while accessing trigger list Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 045/192] btrfs: zoned: set pseudo max append zone limit in zone emulation mode Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 046/192] btrfs: zoned: fix API misuse of zone finish waiting Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 047/192] vfio/type1: Unpin zero pages Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 048/192] kprobes: Prohibit probes in gate area Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 049/192] perf: RISC-V: fix access beyond allocated array Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 050/192] debugfs: add debugfs_lookup_and_remove() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 051/192] sched/debug: fix dentry leak in update_sched_domain_debugfs Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 052/192] drm/amd/display: fix memory leak when using debugfs_lookup() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 053/192] driver core: fix driver_set_override() issue with empty strings Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 054/192] nvmet: fix a use-after-free Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 055/192] drm/i915/bios: Copy the whole MIPI sequence block Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 056/192] drm/i915/slpc: Lets fix the PCODE min freq table setup for SLPC Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 057/192] drm/i915: Implement WaEdpLinkRateDataReload Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 058/192] scsi: mpt3sas: Fix use-after-free warning Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 059/192] scsi: lpfc: Add missing destroy_workqueue() in error path Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 060/192] cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 061/192] cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 062/192] cifs: remove useless parameter is_fsctl from SMB2_ioctl() Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 063/192] smb3: missing inode locks in zero range Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 064/192] spi: bitbang: Fix lsb-first Rx Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 065/192] ASoC: cs42l42: Only report button state if there was a button interrupt Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 066/192] Revert "soc: imx: imx8m-blk-ctrl: set power device name" Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 067/192] arm64: dts: imx8mm-verdin: update CAN clock to 40MHz Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 068/192] arm64: dts: imx8mm-verdin: use level interrupt for mcp251xfd Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 069/192] ASoC: qcom: sm8250: add missing module owner Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 070/192] regmap: spi: Reserve space for register address/padding Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 071/192] arm64: dts: imx8mp-venice-gw74xx: fix sai2 pin settings Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 072/192] arm64: dts: imx8mq-tqma8mq: Remove superfluous interrupt-names Greg Kroah-Hartman
2022-09-13 14:02 ` [PATCH 5.19 073/192] RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 074/192] RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 075/192] ARM: dts: imx6qdl-vicut1.dtsi: Fix node name backlight_led Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 076/192] ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 077/192] ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 078/192] arm64: dts: ls1028a-qds-65bb: dont use in-band autoneg for 2500base-x Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 079/192] soc: imx: gpcv2: Assert reset before ungating clock Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 080/192] arm64: dts: verdin-imx8mm: add otg2 pd to usbphy Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 081/192] arm64: dts: imx8mm-venice-gw7901: fix port/phy validation Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 082/192] arm64: dts: freescale: verdin-imx8mm: fix atmel_mxt_ts reset polarity Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 083/192] arm64: dts: freescale: verdin-imx8mp: " Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 084/192] regulator: core: Clean up on enable failure Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 085/192] ASoC: SOF: Kconfig: Make IPC_FLOOD_TEST depend on SND_SOC_SOF Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 086/192] ASoC: SOF: Kconfig: Make IPC_MESSAGE_INJECTOR " Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 087/192] tee: fix compiler warning in tee_shm_register() Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 088/192] RDMA/irdma: Fix drain SQ hang with no completion Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 089/192] arm64: dts: renesas: r8a779g0: Fix HSCIF0 interrupt number Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 090/192] RDMA/cma: Fix arguments order in net device validation Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 091/192] soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 092/192] RDMA/hns: Fix supported page size Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 093/192] RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 094/192] RDMA/hns: Remove the num_qpc_timer variable Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 095/192] wifi: wilc1000: fix DMA on stack objects Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 096/192] ARM: at91: pm: fix self-refresh for sama7g5 Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 097/192] ARM: at91: pm: fix DDR recalibration when resuming from backup and self-refresh Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 098/192] ARM: dts: at91: sama5d27_wlsom1: specify proper regulator output ranges Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 099/192] ARM: dts: at91: sama5d2_icp: " Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 100/192] ARM: dts: at91: sama7g5ek: " Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 101/192] ARM: dts: at91: sama5d27_wlsom1: dont keep ldo2 enabled all the time Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 102/192] ARM: dts: at91: sama5d2_icp: dont keep vdd_other " Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 103/192] netfilter: br_netfilter: Drop dst references before setting Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 104/192] netfilter: nf_tables: clean up hook list when offload flags check fails Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 105/192] riscv: dts: microchip: use an mpfs specific l2 compatible Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 106/192] netfilter: nf_conntrack_irc: Fix forged IP logic Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 107/192] RDMA/srp: Set scmnd->result only when scmnd is not NULL Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 108/192] ALSA: usb-audio: Inform the delayed registration more properly Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 109/192] ALSA: usb-audio: Register card again for iface over delayed_register option Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 110/192] rxrpc: Fix ICMP/ICMP6 error handling Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 111/192] rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2() Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 112/192] afs: Use the operation issue time instead of the reply time for callbacks Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 113/192] kunit: fix assert_type for comparison macros Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 114/192] Revert "net: phy: meson-gxl: improve link-up behavior" Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 115/192] sch_sfb: Dont assume the skb is still around after enqueueing to child Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 116/192] tipc: fix shift wrapping bug in map_get() Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 117/192] net: introduce __skb_fill_page_desc_noacc Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 118/192] tcp: TX zerocopy should not sense pfmemalloc status Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 119/192] ice: Fix DMA mappings leak Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 120/192] ice: use bitmap_free instead of devm_kfree Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 121/192] i40e: Fix kernel crash during module removal Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 122/192] iavf: Detach device during reset task Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 123/192] net: fec: Use a spinlock to guard `fep->ptp_clk_on` Greg Kroah-Hartman
2022-09-13 14:19 ` Marc Kleine-Budde
2022-09-13 16:13 ` Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 124/192] xen-netback: only remove hotplug-status when the vif is actually destroyed Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 125/192] block: dont add partitions if GD_SUPPRESS_PART_SCAN is set Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 126/192] RDMA/siw: Pass a pointer to virt_to_page() Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 127/192] bonding: use unspecified address if no available link local address Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 128/192] bonding: add all node mcast address when slave up Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 129/192] ipv6: sr: fix out-of-bounds read when setting HMAC data Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 130/192] IB/core: Fix a nested dead lock as part of ODP flow Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 131/192] RDMA/mlx5: Set local port to one when accessing counters Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 132/192] btrfs: zoned: fix mounting with conventional zones Greg Kroah-Hartman
2022-09-13 14:03 ` [PATCH 5.19 133/192] erofs: fix error return code in erofs_fscache_{meta_,}read_folio Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 134/192] erofs: fix pcluster use-after-free on UP platforms Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 135/192] nvme-tcp: fix UAF when detecting digest errors Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 136/192] nvme-tcp: fix regression that causes sporadic requests to time out Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 137/192] tcp: fix early ETIMEDOUT after spurious non-SACK RTO Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 138/192] btrfs: fix the max chunk size and stripe length calculation Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 139/192] nvmet: fix mar and mor off-by-one errors Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 140/192] RDMA/irdma: Report the correct max cqes from query device Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 141/192] RDMA/irdma: Return error on MR deregister CQP failure Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 142/192] RDMA/irdma: Return correct WC error for bind operation failure Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 143/192] RDMA/irdma: Report RNR NAK generation in device caps Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 144/192] net: dsa: felix: disable cut-through forwarding for frames oversized for tc-taprio Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 145/192] net: dsa: felix: access QSYS_TAG_CONFIG under tas_lock in vsc9959_sched_speed_set Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 146/192] net: ethernet: mtk_eth_soc: fix typo in __mtk_foe_entry_clear Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 147/192] net: ethernet: mtk_eth_soc: check max allowed hash in mtk_ppe_check_skb Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 148/192] net/smc: Fix possible access to freed memory in link clear Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 149/192] io_uring: recycle kbuf recycle on tw requeue Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 150/192] net: phy: lan87xx: change interrupt src of link_up to comm_ready Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 151/192] sch_sfb: Also store skb len before calling child enqueue Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 152/192] libperf evlist: Fix per-thread mmaps for multi-threaded targets Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 153/192] perf dlfilter dlfilter-show-cycles: Fix types for print format Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 154/192] perf script: Fix Cannot print iregs field for hybrid systems Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 155/192] perf record: Fix synthesis failure warnings Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 156/192] hwmon: (tps23861) fix byte order in resistance register Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 157/192] ASoC: mchp-spdiftx: remove references to mchp_i2s_caps Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 158/192] ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 159/192] lsm,io_uring: add LSM hooks for the new uring_cmd file op Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 160/192] selinux: implement the security_uring_cmd() LSM hook Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 161/192] Smack: Provide read control for io_uring_cmd Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 162/192] MIPS: loongson32: ls1c: Fix hang during startup Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 163/192] kbuild: disable header exports for UML in a straightforward way Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 164/192] i40e: Refactor tc mqprio checks Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 165/192] i40e: Fix ADQ rate limiting for PF Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 166/192] net: bonding: replace dev_trans_start() with the jiffies of the last ARP/NS Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 167/192] bonding: accept unsolicited NA message Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 168/192] swiotlb: avoid potential left shift overflow Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 169/192] iommu/amd: use full 64-bit value in build_completion_wait() Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 170/192] s390/boot: fix absolute zero lowcore corruption on boot Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 171/192] time64.h: consolidate uses of PSEC_PER_NSEC Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 172/192] net: dsa: felix: tc-taprio intervals smaller than MTU should send at least one packet Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 173/192] hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 174/192] hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 175/192] hwmon: (mr75203) fix voltage equation for negative source input Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 176/192] hwmon: (mr75203) fix multi-channel voltage reading Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 177/192] hwmon: (mr75203) enable polling for all VM channels Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 178/192] iommu/vt-d: Fix possible recursive locking in intel_iommu_init() Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 179/192] perf evlist: Always use arch_evlist__add_default_attrs() Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 180/192] perf stat: Fix L2 Topdown metrics disappear for raw events Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 181/192] Revert "arm64: kasan: Revert "arm64: mte: reset the page tag in page->flags"" Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 182/192] hwmon: (asus-ec-sensors) add support for Strix Z690-a D4 Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 183/192] hwmon: (asus-ec-sensors) add support for Maximus XI Hero Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 184/192] hwmon: (asus-ec-sensors) add missing sensors for X570-I GAMING Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 185/192] hwmon: (asus-ec-sensors) add definitions for ROG ZENITH II EXTREME Greg Kroah-Hartman
2022-09-13 14:04 ` Greg Kroah-Hartman [this message]
2022-09-13 14:04 ` [PATCH 5.19 187/192] arm64/bti: Disable in kernel BTI when cross section thunks are broken Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 188/192] iommu/vt-d: Correctly calculate sagaw value of IOMMU Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 189/192] iommu/virtio: Fix interaction with VFIO Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 190/192] iommu: Fix false ownership failure on AMD systems with PASID activated Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 191/192] drm/amd/display: Add SMU logging code Greg Kroah-Hartman
2022-09-13 14:04 ` [PATCH 5.19 192/192] drm/amd/display: Removing assert statements for Linux Greg Kroah-Hartman
2022-09-14 9:12 ` [PATCH 5.19 000/192] 5.19.9-rc1 review Naresh Kamboju
2022-09-14 9:41 ` Sudip Mukherjee
2022-09-14 10:13 ` Bagas Sanjaya
2022-09-14 10:25 ` Ron Economos
2022-09-14 14:28 ` Guenter Roeck
2022-09-14 14:49 ` Greg Kroah-Hartman
2022-09-14 21:24 ` Florian Fainelli
2022-09-15 0:09 ` Guenter Roeck
2022-09-15 2:24 ` Florian Fainelli
2022-09-15 7:23 ` Greg Kroah-Hartman
2022-09-15 5:07 ` Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220913140419.327640102@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=eugene.shalygin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox