History

Merge tag 'platform-drivers-x86-v6.18-4' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86

Pull x86 platform driver fixes from Ilpo Järvinen: "This one has lots of new HW entries which adds to the size in diffstat but the individual changes are simple. Fixes - acer-wmi: Ignore backlight event - alienware-wmi-wmax: Fix quirk match table order & drop redundant entries - amd/pmc: - Add Xbox Ally to spurious 8042 quirk list - Quirk list Lenovo Legion Go 2 NVMe resume - msi-wmi-platform: - Correct GUID to uppercase - GUID is uncleverly copy-pasted from an example so add a DMI whitelist - intel/speed_select_if: PCIBIOS_* return code conversion - intel-uncore-freq & ISST: Fix kernel doc warnings New HW support - alienware-wmi-wmax: - Alienware 16 Aurora support - Alienware M support - Alienware X support - Dell G support - amd/pmc: - ROG Xbox Ally (non-X) support - huaway-wmi: HONOR MagicBoox X16/X14 PrintScreen & YOYO keys - hp-wmi: - Omen 16-wf1xxx fan support - Omen MAX 16-ah0xx fan + thermal profile support - Victus 16-r0 and 16-s0 fan + thermal profile support - intel/hid: Intel Nova Lake support - intel-uncore-freq: - Intel Panther Lake support - Intel Wildcat Lake support - Intel Nova Lake support" * tag 'platform-drivers-x86-v6.18-4' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (21 commits) platform/x86: intel-uncore-freq: fix all header kernel-doc warnings platform/x86: acer-wmi: Ignore backlight event platform/x86/intel/speed_select_if: Convert PCIBIOS_* return codes to errnos platform/x86/intel/hid: Add Nova Lake support platform/x86: alienware-wmi-wmax: Add AWCC support to Alienware 16 Aurora platform/x86: hp-wmi: Add Omen MAX 16-ah0xx fan support and thermal profile platform/x86: msi-wmi-platform: Fix typo in WMI GUID platform/x86: msi-wmi-platform: Only load on MSI devices platform/x86/amd: pmc: Add Lenovo Legion Go 2 to pmc quirk list platform/x86/amd/pmc: Add spurious_8042 to Xbox Ally platform/x86/amd/pmc: Add support for Van Gogh SoC platform/x86: alienware-wmi-wmax: Add support for the whole "G" family platform/x86: alienware-wmi-wmax: Add support for the whole "X" family platform/x86: alienware-wmi-wmax: Add support for the whole "M" family platform/x86: alienware-wmi-wmax: Drop redundant DMI entries platform/x86: alienware-wmi-wmax: Fix "Alienware m16 R1 AMD" quirk order platform/x86: ISST: isst_if.h: fix all kernel-doc warnings platform/x86: intel-uncore-freq: Add additional client processors platform/x86: hp-wmi: Add Omen 16-wf1xxx fan support platform/x86: huawei-wmi: add keys for HONOR models ...

Linus Torvalds committed 11 months ago

Commit 6ba3bb32 parents 8e621c9 db3023315 files · +148 −114Browse files

Showing the changes to include/uapi (1 of 15 files). Show all

Unified · Split

include/uapi/linux/isst_if.h+27−23
@@ -52,7 +52,7 @@ struct isst_if_cpu_map { · 51 unmodified lines
52/**52/**
53 * struct isst_if_cpu_maps - structure for CPU map IOCTL53 * struct isst_if_cpu_maps - structure for CPU map IOCTL
54 * @cmd_count: Number of CPU mapping command in cpu_map[]54 * @cmd_count: Number of CPU mapping command in cpu_map[]
55 * @cpu_map[]: Holds one or more CPU map data structure55 * @cpu_map: Holds one or more CPU map data structure
56 *56 *
57 * This structure used with ioctl ISST_IF_GET_PHY_ID to send57 * This structure used with ioctl ISST_IF_GET_PHY_ID to send
58 * one or more CPU mapping commands. Here IOCTL return value indicates58 * one or more CPU mapping commands. Here IOCTL return value indicates
@@ -82,8 +82,8 @@ struct isst_if_io_reg { · 23 unmodified lines
82 82
83/**83/**
84 * struct isst_if_io_regs - structure for IO register commands84 * struct isst_if_io_regs - structure for IO register commands
85 * @cmd_count: Number of io reg commands in io_reg[]85 * @req_count: Number of io reg commands in io_reg[]
86 * @io_reg[]: Holds one or more io_reg command structure86 * @io_reg: Holds one or more io_reg command structure
87 *87 *
88 * This structure used with ioctl ISST_IF_IO_CMD to send88 * This structure used with ioctl ISST_IF_IO_CMD to send
89 * one or more read/write commands to PUNIT. Here IOCTL return value89 * one or more read/write commands to PUNIT. Here IOCTL return value
@@ -120,7 +120,7 @@ struct isst_if_mbox_cmd { · 30 unmodified lines
120/**120/**
121 * struct isst_if_mbox_cmds - structure for mailbox commands121 * struct isst_if_mbox_cmds - structure for mailbox commands
122 * @cmd_count: Number of mailbox commands in mbox_cmd[]122 * @cmd_count: Number of mailbox commands in mbox_cmd[]
123 * @mbox_cmd[]: Holds one or more mbox commands123 * @mbox_cmd: Holds one or more mbox commands
124 *124 *
125 * This structure used with ioctl ISST_IF_MBOX_COMMAND to send125 * This structure used with ioctl ISST_IF_MBOX_COMMAND to send
126 * one or more mailbox commands to PUNIT. Here IOCTL return value126 * one or more mailbox commands to PUNIT. Here IOCTL return value
@@ -152,7 +152,7 @@ struct isst_if_msr_cmd { · 25 unmodified lines
152/**152/**
153 * struct isst_if_msr_cmds - structure for msr commands153 * struct isst_if_msr_cmds - structure for msr commands
154 * @cmd_count: Number of mailbox commands in msr_cmd[]154 * @cmd_count: Number of mailbox commands in msr_cmd[]
155 * @msr_cmd[]: Holds one or more msr commands155 * @msr_cmd: Holds one or more msr commands
156 *156 *
157 * This structure used with ioctl ISST_IF_MSR_COMMAND to send157 * This structure used with ioctl ISST_IF_MSR_COMMAND to send
158 * one or more MSR commands. IOCTL return value indicates number of158 * one or more MSR commands. IOCTL return value indicates number of
@@ -167,8 +167,9 @@ struct isst_if_msr_cmds { · 8 unmodified lines
167 * struct isst_core_power - Structure to get/set core_power feature167 * struct isst_core_power - Structure to get/set core_power feature
168 * @get_set: 0: Get, 1: Set168 * @get_set: 0: Get, 1: Set
169 * @socket_id: Socket/package id169 * @socket_id: Socket/package id
170 * @power_domain: Power Domain id170 * @power_domain_id: Power Domain id
171 * @enable: Feature enable status171 * @enable: Feature enable status
172 * @supported: Power domain supports SST_CP interface
172 * @priority_type: Priority type for the feature (ordered/proportional)173 * @priority_type: Priority type for the feature (ordered/proportional)
173 *174 *
174 * Structure to get/set core_power feature state using IOCTL175 * Structure to get/set core_power feature state using IOCTL
@@ -187,11 +188,11 @@ struct isst_core_power { · 12 unmodified lines
187 * struct isst_clos_param - Structure to get/set clos praram188 * struct isst_clos_param - Structure to get/set clos praram
188 * @get_set: 0: Get, 1: Set189 * @get_set: 0: Get, 1: Set
189 * @socket_id: Socket/package id190 * @socket_id: Socket/package id
190 * @power_domain: Power Domain id191 * @power_domain_id: Power Domain id
191 * clos: Clos ID for the parameters192 * @clos: Clos ID for the parameters
192 * min_freq_mhz: Minimum frequency in MHz193 * @min_freq_mhz: Minimum frequency in MHz
193 * max_freq_mhz: Maximum frequency in MHz194 * @max_freq_mhz: Maximum frequency in MHz
194 * prop_prio: Proportional priority from 0-15195 * @prop_prio: Proportional priority from 0-15
195 *196 *
196 * Structure to get/set per clos property using IOCTL197 * Structure to get/set per clos property using IOCTL
197 * ISST_IF_CLOS_PARAM.198 * ISST_IF_CLOS_PARAM.
@@ -209,7 +210,7 @@ struct isst_clos_param { · 11 unmodified lines
209/**210/**
210 * struct isst_if_clos_assoc - Structure to assign clos to a CPU211 * struct isst_if_clos_assoc - Structure to assign clos to a CPU
211 * @socket_id: Socket/package id212 * @socket_id: Socket/package id
212 * @power_domain: Power Domain id213 * @power_domain_id: Power Domain id
213 * @logical_cpu: CPU number214 * @logical_cpu: CPU number
214 * @clos: Clos ID to assign to the logical CPU215 * @clos: Clos ID to assign to the logical CPU
215 *216 *
@@ -228,6 +229,7 @@ struct isst_if_clos_assoc { · 12 unmodified lines
228 * @get_set: Request is for get or set229 * @get_set: Request is for get or set
229 * @punit_cpu_map: Set to 1 if the CPU number is punit numbering not230 * @punit_cpu_map: Set to 1 if the CPU number is punit numbering not
230 * Linux CPU number231 * Linux CPU number
232 * @assoc_info: CLOS data for this CPU
231 *233 *
232 * Structure used to get/set associate CPUs to clos using IOCTL234 * Structure used to get/set associate CPUs to clos using IOCTL
233 * ISST_IF_CLOS_ASSOC.235 * ISST_IF_CLOS_ASSOC.
@@ -257,7 +259,7 @@ struct isst_tpmi_instance_count { · 23 unmodified lines
257/**259/**
258 * struct isst_perf_level_info - Structure to get information on SST-PP levels260 * struct isst_perf_level_info - Structure to get information on SST-PP levels
259 * @socket_id: Socket/package id261 * @socket_id: Socket/package id
260 * @power_domain: Power Domain id262 * @power_domain_id: Power Domain id
261 * @logical_cpu: CPU number263 * @logical_cpu: CPU number
262 * @clos: Clos ID to assign to the logical CPU264 * @clos: Clos ID to assign to the logical CPU
263 * @max_level: Maximum performance level supported by the platform265 * @max_level: Maximum performance level supported by the platform
@@ -267,8 +269,8 @@ struct isst_tpmi_instance_count { · 3 unmodified lines
267 * @feature_state: SST-BF and SST-TF (enabled/disabled) status at current level269 * @feature_state: SST-BF and SST-TF (enabled/disabled) status at current level
268 * @locked: SST-PP performance level change is locked/unlocked270 * @locked: SST-PP performance level change is locked/unlocked
269 * @enabled: SST-PP feature is enabled or not271 * @enabled: SST-PP feature is enabled or not
270 * @sst-tf_support: SST-TF support status at this level272 * @sst_tf_support: SST-TF support status at this level
271 * @sst-bf_support: SST-BF support status at this level273 * @sst_bf_support: SST-BF support status at this level
272 *274 *
273 * Structure to get SST-PP details using IOCTL ISST_IF_PERF_LEVELS.275 * Structure to get SST-PP details using IOCTL ISST_IF_PERF_LEVELS.
274 */276 */
@@ -289,7 +291,7 @@ struct isst_perf_level_info { · 14 unmodified lines
289/**291/**
290 * struct isst_perf_level_control - Structure to set SST-PP level292 * struct isst_perf_level_control - Structure to set SST-PP level
291 * @socket_id: Socket/package id293 * @socket_id: Socket/package id
292 * @power_domain: Power Domain id294 * @power_domain_id: Power Domain id
293 * @level: level to set295 * @level: level to set
294 *296 *
295 * Structure used change SST-PP level using IOCTL ISST_IF_PERF_SET_LEVEL.297 * Structure used change SST-PP level using IOCTL ISST_IF_PERF_SET_LEVEL.
@@ -303,7 +305,7 @@ struct isst_perf_level_control { · 7 unmodified lines
303/**305/**
304 * struct isst_perf_feature_control - Structure to activate SST-BF/SST-TF306 * struct isst_perf_feature_control - Structure to activate SST-BF/SST-TF
305 * @socket_id: Socket/package id307 * @socket_id: Socket/package id
306 * @power_domain: Power Domain id308 * @power_domain_id: Power Domain id
307 * @feature: bit 0 = SST-BF state, bit 1 = SST-TF state309 * @feature: bit 0 = SST-BF state, bit 1 = SST-TF state
308 *310 *
309 * Structure used to enable SST-BF/SST-TF using IOCTL ISST_IF_PERF_SET_FEATURE.311 * Structure used to enable SST-BF/SST-TF using IOCTL ISST_IF_PERF_SET_FEATURE.
@@ -320,7 +322,7 @@ struct isst_perf_feature_control { · 10 unmodified lines
320/**322/**
321 * struct isst_perf_level_data_info - Structure to get SST-PP level details323 * struct isst_perf_level_data_info - Structure to get SST-PP level details
322 * @socket_id: Socket/package id324 * @socket_id: Socket/package id
323 * @power_domain: Power Domain id325 * @power_domain_id: Power Domain id
324 * @level: SST-PP level for which caller wants to get information326 * @level: SST-PP level for which caller wants to get information
325 * @tdp_ratio: TDP Ratio327 * @tdp_ratio: TDP Ratio
326 * @base_freq_mhz: Base frequency in MHz328 * @base_freq_mhz: Base frequency in MHz
@@ -341,8 +343,8 @@ struct isst_perf_feature_control { · 14 unmodified lines
341 * @pm_fabric_freq_mhz: Fabric (Uncore) minimum frequency343 * @pm_fabric_freq_mhz: Fabric (Uncore) minimum frequency
342 * @max_buckets: Maximum trl buckets344 * @max_buckets: Maximum trl buckets
343 * @max_trl_levels: Maximum trl levels345 * @max_trl_levels: Maximum trl levels
344 * @bucket_core_counts[TRL_MAX_BUCKETS]: Number of cores per bucket346 * @bucket_core_counts: Number of cores per bucket
345 * @trl_freq_mhz[TRL_MAX_LEVELS][TRL_MAX_BUCKETS]: maximum frequency347 * @trl_freq_mhz: maximum frequency
346 * for a bucket and trl level348 * for a bucket and trl level
347 *349 *
348 * Structure used to get information on frequencies and TDP for a SST-PP350 * Structure used to get information on frequencies and TDP for a SST-PP
@@ -402,7 +404,7 @@ struct isst_perf_level_fabric_info { · 53 unmodified lines
402/**404/**
403 * struct isst_perf_level_cpu_mask - Structure to get SST-PP level CPU mask405 * struct isst_perf_level_cpu_mask - Structure to get SST-PP level CPU mask
404 * @socket_id: Socket/package id406 * @socket_id: Socket/package id
405 * @power_domain: Power Domain id407 * @power_domain_id: Power Domain id
406 * @level: SST-PP level for which caller wants to get information408 * @level: SST-PP level for which caller wants to get information
407 * @punit_cpu_map: Set to 1 if the CPU number is punit numbering not409 * @punit_cpu_map: Set to 1 if the CPU number is punit numbering not
408 * Linux CPU number. If 0 CPU buffer is copied to user space410 * Linux CPU number. If 0 CPU buffer is copied to user space
@@ -430,7 +432,7 @@ struct isst_perf_level_cpu_mask { · 21 unmodified lines
430/**432/**
431 * struct isst_base_freq_info - Structure to get SST-BF frequencies433 * struct isst_base_freq_info - Structure to get SST-BF frequencies
432 * @socket_id: Socket/package id434 * @socket_id: Socket/package id
433 * @power_domain: Power Domain id435 * @power_domain_id: Power Domain id
434 * @level: SST-PP level for which caller wants to get information436 * @level: SST-PP level for which caller wants to get information
435 * @high_base_freq_mhz: High priority CPU base frequency437 * @high_base_freq_mhz: High priority CPU base frequency
436 * @low_base_freq_mhz: Low priority CPU base frequency438 * @low_base_freq_mhz: Low priority CPU base frequency
@@ -453,9 +455,11 @@ struct isst_base_freq_info { · 16 unmodified lines
453/**455/**
454 * struct isst_turbo_freq_info - Structure to get SST-TF frequencies456 * struct isst_turbo_freq_info - Structure to get SST-TF frequencies
455 * @socket_id: Socket/package id457 * @socket_id: Socket/package id
456 * @power_domain: Power Domain id458 * @power_domain_id: Power Domain id
457 * @level: SST-PP level for which caller wants to get information459 * @level: SST-PP level for which caller wants to get information
458 * @max_clip_freqs: Maximum number of low priority core clipping frequencies460 * @max_clip_freqs: Maximum number of low priority core clipping frequencies
461 * @max_buckets: Maximum trl buckets
462 * @max_trl_levels: Maximum trl levels
459 * @lp_clip_freq_mhz: Clip frequencies per trl level463 * @lp_clip_freq_mhz: Clip frequencies per trl level
460 * @bucket_core_counts: Maximum number of cores for a bucket464 * @bucket_core_counts: Maximum number of cores for a bucket
461 * @trl_freq_mhz: Frequencies per trl level for each bucket465 * @trl_freq_mhz: Frequencies per trl level for each bucket