<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/platform/x86/hp, branch linux-6.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-06-30T09:12:13Z</updated>
<entry>
<title>platform/x86: hp-bioscfg: Fix class device unregistration</title>
<updated>2025-06-30T09:12:13Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2025-06-26T01:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11cba4793b95df3bc192149a6eb044f69aa0b99e'/>
<id>urn:sha1:11cba4793b95df3bc192149a6eb044f69aa0b99e</id>
<content type='text'>
Devices under the firmware_attributes_class do not have unique a dev_t.
Therefore, device_unregister() should be used instead of
device_destroy(), since the latter may match any device with a given
dev_t.

Fixes: a34fc329b189 ("platform/x86: hp-bioscfg: bioscfg")
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Link: https://lore.kernel.org/r/20250625-dest-fix-v1-1-3a0f342312bb@gmail.com
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: hp-bioscfg: Replace deprecated strncpy() with strscpy()</title>
<updated>2025-03-03T12:57:32Z</updated>
<author>
<name>Thorsten Blum</name>
</author>
<published>2025-02-25T23:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=baa18b6ed4200aff869e78f2650123572b6a9ad6'/>
<id>urn:sha1:baa18b6ed4200aff869e78f2650123572b6a9ad6</id>
<content type='text'>
Since kstrtol() requires a NUL-terminated string as input and strncpy()
is deprecated for NUL-terminated destination buffers, use strscpy()
instead.

Compile-tested only.

Link: https://github.com/KSPP/linux/issues/90
Cc: linux-hardening@vger.kernel.org
Signed-off-by: Thorsten Blum &lt;thorsten.blum@linux.dev&gt;
Link: https://lore.kernel.org/r/20250225232126.356274-2-thorsten.blum@linux.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: hp: Use *-y instead of *-objs in Makefile</title>
<updated>2025-02-24T15:15:04Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2025-02-18T19:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0ea699b1816ebed6de9aa013387622b0f73f31b'/>
<id>urn:sha1:f0ea699b1816ebed6de9aa013387622b0f73f31b</id>
<content type='text'>
The `objs` suffix is reserved for user-space tools. Use the `y` suffix
instead, which is usually used for kernel drivers.

Suggested-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20250218194113.26589-4-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: hp-bioscfg: Use wmi_instance_count()</title>
<updated>2025-02-24T11:19:18Z</updated>
<author>
<name>Armin Wolf</name>
</author>
<published>2025-02-16T19:32:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0fcc3162e3fbe4ca9347b2f42313dbf077207bb1'/>
<id>urn:sha1:0fcc3162e3fbe4ca9347b2f42313dbf077207bb1</id>
<content type='text'>
The WMI core already knows the instance count of a WMI guid.
Use this information instead of querying all possible instances
which is slow and might be unreliable.

Signed-off-by: Armin Wolf &lt;W_Armin@gmx.de&gt;
Link: https://lore.kernel.org/r/20250216193251.866125-5-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fixes' into 'for-next'</title>
<updated>2025-01-21T12:00:38Z</updated>
<author>
<name>Ilpo Järvinen</name>
</author>
<published>2025-01-20T12:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0da9a3f9ac8ada83fa79579455871ec59f11db72'/>
<id>urn:sha1:0da9a3f9ac8ada83fa79579455871ec59f11db72</id>
<content type='text'>
Merged the 'fixes' branch into the 'for-next' branch to resolve
a conflict in alienware-wmi zone teardown code.
</content>
</entry>
<entry>
<title>platform/x86: hp-wmi: Add fan and thermal profile support for Victus 16-s1000</title>
<updated>2025-01-20T12:13:14Z</updated>
<author>
<name>Julien ROBIN</name>
</author>
<published>2025-01-16T22:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e4ab59b8391a248398951035b544f97fe5d9dc3'/>
<id>urn:sha1:6e4ab59b8391a248398951035b544f97fe5d9dc3</id>
<content type='text'>
The following patch adds support for HP Victus 16-s1000 laptop series,
by adding and fixing the following functionalities, which can be
accessed through hwmon and platform_profile sysfs:

 - Functional measured fan speed reading
 - Ability to enable and disable maximum fan speed
 - Platform profiles full setting ability for CPU and GPU

It sets appropriates CPU and GPU power settings both on AC and battery
power sources, for low-power, balanced and performance modes.

It has been thoroughly tested on a 16-s1034nf laptop based on a 8C9C DMI
board name, and behavior of the driver on previous boards is left
untouched thanks to the separated lists of DMI board names.

Signed-off-by: Julien ROBIN &lt;julien.robin28@free.fr&gt;
Link: https://lore.kernel.org/r/1c00f906-8500-41d5-be80-f9092b6a49f1@free.fr
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: platform_profile: Remove platform_profile_handler from exported symbols</title>
<updated>2025-01-17T17:15:59Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2025-01-16T00:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07f531b395db3cd1776ef0f7191abf4b077fcf21'/>
<id>urn:sha1:07f531b395db3cd1776ef0f7191abf4b077fcf21</id>
<content type='text'>
In order to protect the platform_profile_handler from API consumers,
allocate it in platform_profile_register() and modify it's signature
accordingly.

Remove the platform_profile_handler from all consumer drivers and
replace them with a pointer to the class device, which is
now returned from platform_profile_register().

Replace *pprof with a pointer to the class device in the rest of
exported symbols.

Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Reviewed-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Tested-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Link: https://lore.kernel.org/r/20250116002721.75592-16-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: hp-wmi: Use devm_platform_profile_register()</title>
<updated>2025-01-17T16:16:31Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2025-01-16T00:27:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db0c8eb72bc7ec65be830783461860de5041c71f'/>
<id>urn:sha1:db0c8eb72bc7ec65be830783461860de5041c71f</id>
<content type='text'>
Replace platform_profile_register() with it's device managed version.

Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Reviewed-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Tested-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Link: https://lore.kernel.org/r/20250116002721.75592-13-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: platform_profile: Add `probe` to platform_profile_ops</title>
<updated>2025-01-16T15:26:30Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2025-01-16T00:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58d5629dc8b8b8d9928fc649d9f2aaa361a8a5c5'/>
<id>urn:sha1:58d5629dc8b8b8d9928fc649d9f2aaa361a8a5c5</id>
<content type='text'>
Add a `probe` callback to platform_profile_ops, which lets drivers
initialize the choices member manually. This is a step towards
unexposing the struct platform_profile_handler from the consumer
drivers.

Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Reviewed-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Tested-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Link: https://lore.kernel.org/r/20250116002721.75592-6-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: platform_profile: Add `ops` member to handlers</title>
<updated>2025-01-16T15:26:28Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2025-01-16T00:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5ca1a4488a5e6dfb9962e2319c03c7414e50ec3'/>
<id>urn:sha1:b5ca1a4488a5e6dfb9962e2319c03c7414e50ec3</id>
<content type='text'>
Replace *profile_get and *profile_set members with a general *ops
member.

Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Reviewed-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Tested-by: Mark Pearson &lt;mpearson-lenovo@squebb.ca&gt;
Link: https://lore.kernel.org/r/20250116002721.75592-5-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
</feed>
