Skip to content

Commit 0f3144b

Browse files
committed
Merge: Update drivers/thermal/intel, include thermal_of fix
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6390 JIRA: https://issues.redhat.com/browse/RHEL-79821 The following upstream commits were not applied due to scope: 66bc1a1 treewide: Use sysfs_bin_attr_simple_read() helper 4a62d58 thermal: core: Eliminate writable trip points masks dd64594 thermal: Switch back to struct platform_driver::remove() cdd30eb module: Convert symbol namespace to string literal Upstream commit 423de5b is included in this patchset as it provides a fix for upstream 94c6110 which was included in a recent update to drivers/thermal Signed-off-by: David Arcari <[email protected]> Approved-by: Steve Best <[email protected]> Approved-by: Tony Camuso <[email protected]> Approved-by: CKI KWF Bot <[email protected]> Merged-by: Augusto Caringi <[email protected]>
2 parents 2169463 + 01e82d4 commit 0f3144b

23 files changed

+103
-118
lines changed

arch/x86/include/asm/intel-family.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@
258258
#define INTEL_XEON_PHI_KNM IFM(6, 0x85) /* Knights Mill */
259259

260260
/* Family 5 */
261-
#define INTEL_FAM5_QUARK_X1000 0x09 /* Quark X1000 SoC */
262261
#define INTEL_QUARK_X1000 IFM(5, 0x09) /* Quark X1000 SoC */
263262

264263
/* Family 19 */

arch/x86/include/asm/topology.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,6 @@ static inline unsigned int topology_max_packages(void)
149149
return __max_logical_packages;
150150
}
151151

152-
static inline unsigned int topology_max_die_per_package(void)
153-
{
154-
return __max_dies_per_package;
155-
}
156-
157152
static inline unsigned int topology_max_dies_per_package(void)
158153
{
159154
return __max_dies_per_package;

arch/x86/platform/efi/quirks.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,7 @@ static int qrk_capsule_setup_info(struct capsule_info *cap_info, void **pkbuff,
656656
}
657657

658658
static const struct x86_cpu_id efi_capsule_quirk_ids[] = {
659-
X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000,
660-
&qrk_capsule_setup_info),
659+
X86_MATCH_VFM(INTEL_QUARK_X1000, &qrk_capsule_setup_info),
661660
{ }
662661
};
663662

arch/x86/platform/intel-quark/imr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ static void __init imr_fixup_memmap(struct imr_device *idev)
569569
}
570570

571571
static const struct x86_cpu_id imr_ids[] __initconst = {
572-
X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, NULL),
572+
X86_MATCH_VFM(INTEL_QUARK_X1000, NULL),
573573
{}
574574
};
575575

arch/x86/platform/intel-quark/imr_selftest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static void __init imr_self_test(void)
105105
}
106106

107107
static const struct x86_cpu_id imr_ids[] __initconst = {
108-
X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, NULL),
108+
X86_MATCH_VFM(INTEL_QUARK_X1000, NULL),
109109
{}
110110
};
111111

drivers/acpi/dptf/dptf_pch_fivr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ static const struct acpi_device_id pch_fivr_device_ids[] = {
152152
{"INTC1064", 0},
153153
{"INTC106B", 0},
154154
{"INTC10A3", 0},
155+
{"INTC10D7", 0},
155156
{"", 0},
156157
};
157158
MODULE_DEVICE_TABLE(acpi, pch_fivr_device_ids);

drivers/acpi/dptf/dptf_power.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ static const struct acpi_device_id int3407_device_ids[] = {
236236
{"INTC106D", 0},
237237
{"INTC10A4", 0},
238238
{"INTC10A5", 0},
239+
{"INTC10D8", 0},
240+
{"INTC10D9", 0},
239241
{"", 0},
240242
};
241243
MODULE_DEVICE_TABLE(acpi, int3407_device_ids);

drivers/acpi/dptf/int340x_thermal.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ static const struct acpi_device_id int340x_thermal_device_ids[] = {
5555
{"INTC10A3"},
5656
{"INTC10A4"},
5757
{"INTC10A5"},
58+
{"INTC10D4"},
59+
{"INTC10D5"},
60+
{"INTC10D6"},
61+
{"INTC10D7"},
62+
{"INTC10D8"},
63+
{"INTC10D9"},
5864
{""},
5965
};
6066

drivers/acpi/fan.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
{"INTC1063", }, /* Fan for Meteor Lake generation */ \
1818
{"INTC106A", }, /* Fan for Lunar Lake generation */ \
1919
{"INTC10A2", }, /* Fan for Raptor Lake generation */ \
20+
{"INTC10D6", }, /* Fan for Panther Lake generation */ \
2021
{"PNP0C0B", } /* Generic ACPI fan */
2122

2223
#define ACPI_FPS_NAME_LEN 20

drivers/thermal/intel/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ config INTEL_TCC
2121

2222
config X86_PKG_TEMP_THERMAL
2323
tristate "X86 package temperature thermal driver"
24-
depends on X86_THERMAL_VECTOR
25-
select THERMAL_GOV_USER_SPACE
24+
depends on X86_THERMAL_VECTOR && NET
25+
select THERMAL_NETLINK
2626
select INTEL_TCC
2727
default m
2828
help

0 commit comments

Comments
 (0)