Fixes for hp-bioscfg
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Alain Cousinie
In-Reply-To: <[email protected]>
Hi,
(Excuse me, I'm not very familiar with the lore.kernel.org forum.)
The hp-bioscfg patch on 6.19-rc7 is causing my kernel to crash on my HP Spectre 14-eu0xxx with Debian unstable.
See the dmesg output below.
I'm available for any help or questions...
Hi,
Can you have a try with this?
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c +5 -0
@@ -696,6 +696,11 @@ static int hp_init_bios_package_attribute(enum hp_wmi_data_type attr_type,return ret; } +if (!str_value || !str_value[0 ]) { +pr_debug ("Ignoring attribute with empty name\n" ); + goto pack_attr_exit; + } +/* All duplicate attributes found are ignored */ duplicate =kset_find_obj (temp_kset, str_value);if (duplicate) {
Quoted 49 lines
[ 5.489782] ------------[ cut here ]------------
[ 5.489785] kobject: (00000000e74f4f8b): attempted to be registered with empty name!
[ 5.489787] WARNING:lib/kobject.c:219atkobject_add_internal+0x420/0x470, CPU#5: (udev-worker)/568
[ 5.489792] Modules linked in:soundwire_generic_allocationsnd_sof_intel_hda_sdw_bptsnd_sof_intel_hda_commonsnd_soc_hdac_hdasnd_sof_intel_hda_mlinksnd_sof_intel_hdasnd_hda_codec_hdmisoundwire_cadencesnd_sof_pcisnd_sof_xtensa_dspsnd_soc_sdw_utilssnd_sofintel_uncore_frequencyintel_uncore_frequency_commonsnd_sof_utilsiwlmld(+)x86_pkg_temp_thermalsnd_hda_ext_coreintel_powerclampsnd_hda_codeccoretempkvm_intelsnd_hda_coresnd_hda_scodec_cs35l41_spiregmap_spimac80211hp_bioscfg(+)intel_ipu6_isyssnd_intel_dspcfgsnd_intel_sdw_acpisnd_soc_acpi_intel_matchvideobuf2_dma_sglibarc4 kvmvideobuf2_memopssnd_soc_acpi_intel_sdca_quirksvideobuf2_v4l2snd_soc_acpimei_gsc_proxysnd_hwdepvideobuf2_commoncrc8soundwire_busintel_rapl_msrsnd_soc_sdcabtusbsnd_soc_corebtmtk btrtlfirmware_attributes_classsnd_hda_scodec_cs35l41_i2cbtbcmhid_sensor_gyro_3dsnd_compressiwlwifihid_sensor_accel_3dhid_sensor_magn_3dhid_sensor_rotationirqbypasssnd_hda_scodec_cs35l41btintelghash_clmulni_intelac97_bus[ 5.489812]spi_noraesni_intelhid_sensor_triggersnd_pcm_dmaengineprocessor_thermal_device_pcisnd_soc_cs_amp_libhid_sensor_iio_commonprocessor_thermal_devicebluetoothsnd_pcmmtdhp_wmiwmi_bmofpcspkr gf128mulindustrialio_triggered_buffersnd_soc_cs35l41_libkfifo_bufprocessor_thermal_wt_hintmei_mecs_dspcfg80211snd_timerplatform_temperature_controlindustrialio sndprocessor_thermal_soc_slidermei soundcoreplatform_profileprocessor_thermal_rfimprocessor_thermal_raplintel_vpuintel_rapl_commonrfkillintel_ipu6ov08x40processor_thermal_wt_reqprocessor_thermal_power_floorv4l2_fwnodedrm_shmem_helperigen6_edacipu_bridgeprocessor_thermal_mboxintel_skl_int3472_tps68470v4l2_asynctps68470_regulatorserial_multi_instantiateclk_tps68470videodev mc joydevintel_pmc_coreintel_skl_int3472_discreteint3403_thermalpmt_telemetryint340x_thermal_zonepmt_discoveryacpi_tadintel_skl_int3472_commonpmt_classbuttonintel_hidintel_pmc_ssram_telemetrysoc_button_arrayacpi_padsparse_keymapac evdev [ 5.489834]parport_pcppdev lp parporti2c_devmsrnvme_fabricsefi_pstorenfnetlink efivarfs autofs4uhci_hcdehci_pciehci_hcdxedrm_ttm_helperdrm_suballoc_helpergpu_scheddrm_gpuvmdrm_execconfigfsdrm_gpusvm_helperusbhidhid_sensor_customhid_sensor_hubi915hid_multitouchi2c_algo_bitdrm_buddyttmdrm_display_helpercec nvmeintel_ishtp_hidxhci_pcihid_genericrc_coreucsi_acpii2c_hid_acpinvme_corexhci_hcdi2c_hidtypec_ucsidrm_client_libpsmouse hiddrm_kms_helpertypeciTCO_wdtintel_pmc_bxtiTCO_vendor_supportnvme_keyringwatchdognvme_authroles drm usbcore video thunderboltserio_rawhkdfint3400_thermalintel_lpss_pcii2c_i801intel_ish_ipcintel_lpsswmi battery fanacpi_thermal_relintel_ishtpi2c_smbusintel_vsecidma64usb_common
[ 5.489859] CPU: 5 UID: 0 PID: 568 Comm: (udev-worker) Not tainted 6.19.0-rc7-meteor #39 PREEMPT(full)
[ 5.489861] Hardware name: HP HP Spectre x360 2-in-1 Laptop 14- eu0xxx/8C15, BIOS F.16 12/16/2025
[ 5.489862] RIP: 0010:kobject_add_internal+0x423/0x470
[ 5.489864] Code: 63 20 e9 a4 fc ff ff 48 8d 3d 79 42 a1 00 49 8b 74 24 18 48 89 ea 67 48 0f b9 3a e9 24 ff ff ff 48 8d 3d 70 42 a1 00 48 89 de <67> 48 0f b9 3a 41 bc ea ff ff ff e9 d1 fd ff ff be 01 00 00 00 e8
[ 5.489865] RSP: 0018:ffffd044424cfa98 EFLAGS: 00010246
[ 5.489866] RAX:ffff895f026956b0RBX:ffff895f27c5b840RCX:ffff895f026956b0
[ 5.489867] RDX: 0000000000000000 RSI:ffff895f27c5b840RDI:ffffffffb38736a0
[ 5.489867] RBP:ffffd044424cfb38R08:ffff895f026956b0R09:ffff895f026956b0
[ 5.489868] R10: 0000000000000000 R11:00000000ffffffffR12:ffff895f026956b0
[ 5.489869] R13: 0000000000000000 R14:00000000fffffff4R15:ffff895f3b6e28a0
[ 5.489869] FS: 00007f7bda352c80(0000) GS:ffff8966ac092000(0000) knlGS:0000000000000000
[ 5.489870] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5.489871] CR2:000055ac09f17000CR3:00000001684a3001CR4:0000000000f72ef0
[ 5.489872] PKRU: 55555554
[ 5.489872] Call Trace:
[ 5.489874] <TASK>
[ 5.489875]kobject_init_and_add+0x136/0x160
[ 5.489878]hp_init_bios_attributes+0x265/0x38c[hp_bioscfg]
[ 5.489883] ?__pfx_hp_init+0x10/0x10[hp_bioscfg]
[ 5.489886]hp_init+0x183/0xff0[hp_bioscfg]
[ 5.489888]do_one_initcall+0x8d/0x330
[ 5.489892]do_init_module+0x62/0x230
[ 5.489895]init_module_from_file+0xd7/0x140
[ 5.489897]idempotent_init_module+0x148/0x340
[ 5.489899]__x64_sys_finit_module+0x71/0xe0
[ 5.489901] ?syscall_trace_enter+0x91/0x1e0
[ 5.489902]do_syscall_64+0x7c/0xd70
[ 5.489904] ?__do_sys_newfstatat+0xe0/0x170
[ 5.489907] ?do_syscall_64+0x7c/0xd70
[ 5.489908] ?exc_page_fault+0x77/0x170
[ 5.489910]entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 5.489912] RIP: 0033:0x7f7bd9d1bc69
[ 5.489914] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 77 51 0d 00 f7 d8 64 89 01 48
[ 5.489914] RSP: 002b:00007ffe11a56348 EFLAGS: 00000246ORIG_RAX: 0000000000000139
[ 5.489915] RAX: ffffffffffffffda RBX:000055ee99a48110RCX:00007f7bd9d1bc69
[ 5.489916] RDX: 0000000000000004 RSI:00007f7bda30e44dRDI: 0000000000000067
[ 5.489917] RBP: 0000000000000004 R08: 0000000000000000 R09:000055ee99899e80
[ 5.489917] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000020000
[ 5.489919] R13:00007f7bda30e44dR14:000055ee99a42060R15: 0000000000000000
[ 5.489920] </TASK>
[ 5.489921] ---[ end trace 0000000000000000 ]---
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Alain Cousinie
Thank you so much!
I just recompiled with the patch and restarted, and the error is gone.
I took the liberty of sending this message because I saw that the update is going to many versions, so there's a risk of a lot of feedback...
Thanks again!
Thanks a lot for the quick testing. This was an existing BIOS issue that was exposed by it getting loaded on more systems.
I CC'ed you on the formal submission as well. Would you please reply to that with a Tested-by tag? [1]
Be sure to reply in plain text format, I think at least some of your emails have been HTML.
Quoted 86 lines
Le 28/01/2026 à 19:58, Mario Limonciello a écrit :
Quoted 84 lines · Alain Cousinie
Quoted 11 lines
In-Reply-To: <[email protected]>
Hi,
(Excuse me, I'm not very familiar with the lore.kernel.org forum.)
The hp-bioscfg patch on 6.19-rc7 is causing my kernel to crash on my HP Spectre 14-eu0xxx with Debian unstable.
See the dmesg output below.
I'm available for any help or questions...
Hi,
Can you have a try with this?
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c +5
-0@@ -696,6 +696,11 @@ static int hp_init_bios_package_attribute(enumhp_wmi_data_type attr_type, return ret; } + if (!str_value || !str_value[0]) { + pr_debug("Ignoring attribute with empty name\n"); + goto pack_attr_exit; + } + /* All duplicate attributes found are ignored */ duplicate = kset_find_obj(temp_kset, str_value);if (duplicate) {
Quoted 49 lines
[ 5.489782] ------------[ cut here ]------------
[ 5.489785] kobject: (00000000e74f4f8b): attempted to be registered with empty name!
[ 5.489787] WARNING:lib/kobject.c:219atkobject_add_internal+0x420/0x470, CPU#5: (udev-worker)/568
[ 5.489792] Modules linked in:soundwire_generic_allocationsnd_sof_intel_hda_sdw_bptsnd_sof_intel_hda_commonsnd_soc_hdac_hdasnd_sof_intel_hda_mlinksnd_sof_intel_hdasnd_hda_codec_hdmisoundwire_cadencesnd_sof_pcisnd_sof_xtensa_dspsnd_soc_sdw_utilssnd_sofintel_uncore_frequencyintel_uncore_frequency_commonsnd_sof_utilsiwlmld(+)x86_pkg_temp_thermalsnd_hda_ext_coreintel_powerclampsnd_hda_codeccoretempkvm_intelsnd_hda_coresnd_hda_scodec_cs35l41_spiregmap_spimac80211hp_bioscfg(+)intel_ipu6_isyssnd_intel_dspcfgsnd_intel_sdw_acpisnd_soc_acpi_intel_matchvideobuf2_dma_sglibarc4 kvmvideobuf2_memopssnd_soc_acpi_intel_sdca_quirksvideobuf2_v4l2snd_soc_acpimei_gsc_proxysnd_hwdepvideobuf2_commoncrc8soundwire_busintel_rapl_msrsnd_soc_sdcabtusbsnd_soc_corebtmtk btrtlfirmware_attributes_classsnd_hda_scodec_cs35l41_i2cbtbcmhid_sensor_gyro_3dsnd_compressiwlwifihid_sensor_accel_3dhid_sensor_magn_3dhid_sensor_rotationirqbypasssnd_hda_scodec_cs35l41btintelghash_clmulni_intelac97_bus[ 5.489812]spi_noraesni_intelhid_sensor_triggersnd_pcm_dmaengineprocessor_thermal_device_pcisnd_soc_cs_amp_libhid_sensor_iio_commonprocessor_thermal_devicebluetoothsnd_pcmmtdhp_wmiwmi_bmofpcspkr gf128mulindustrialio_triggered_buffersnd_soc_cs35l41_libkfifo_bufprocessor_thermal_wt_hintmei_mecs_dspcfg80211snd_timerplatform_temperature_controlindustrialio sndprocessor_thermal_soc_slidermei soundcoreplatform_profileprocessor_thermal_rfimprocessor_thermal_raplintel_vpuintel_rapl_commonrfkillintel_ipu6ov08x40processor_thermal_wt_reqprocessor_thermal_power_floorv4l2_fwnodedrm_shmem_helperigen6_edacipu_bridgeprocessor_thermal_mboxintel_skl_int3472_tps68470v4l2_asynctps68470_regulatorserial_multi_instantiateclk_tps68470videodev mc joydevintel_pmc_coreintel_skl_int3472_discreteint3403_thermalpmt_telemetryint340x_thermal_zonepmt_discoveryacpi_tadintel_skl_int3472_commonpmt_classbuttonintel_hidintel_pmc_ssram_telemetrysoc_button_arrayacpi_padsparse_keymapac evdev [ 5.489834]parport_pcppdev lp parporti2c_devmsrnvme_fabricsefi_pstorenfnetlink efivarfs autofs4uhci_hcdehci_pciehci_hcdxedrm_ttm_helperdrm_suballoc_helpergpu_scheddrm_gpuvmdrm_execconfigfsdrm_gpusvm_helperusbhidhid_sensor_customhid_sensor_hubi915hid_multitouchi2c_algo_bitdrm_buddyttmdrm_display_helpercec nvmeintel_ishtp_hidxhci_pcihid_genericrc_coreucsi_acpii2c_hid_acpinvme_corexhci_hcdi2c_hidtypec_ucsidrm_client_libpsmouse hiddrm_kms_helpertypeciTCO_wdtintel_pmc_bxtiTCO_vendor_supportnvme_keyringwatchdognvme_authroles drm usbcore video thunderboltserio_rawhkdfint3400_thermalintel_lpss_pcii2c_i801intel_ish_ipcintel_lpsswmi battery fanacpi_thermal_relintel_ishtpi2c_smbusintel_vsecidma64usb_common
[ 5.489859] CPU: 5 UID: 0 PID: 568 Comm: (udev-worker) Not tainted 6.19.0-rc7-meteor #39 PREEMPT(full)
[ 5.489861] Hardware name: HP HP Spectre x360 2-in-1 Laptop 14- eu0xxx/8C15, BIOS F.16 12/16/2025
[ 5.489862] RIP: 0010:kobject_add_internal+0x423/0x470
[ 5.489864] Code: 63 20 e9 a4 fc ff ff 48 8d 3d 79 42 a1 00 49 8b 74 24 18 48 89 ea 67 48 0f b9 3a e9 24 ff ff ff 48 8d 3d 70 42 a1 00 48 89 de <67> 48 0f b9 3a 41 bc ea ff ff ff e9 d1 fd ff ff be 01 00 00 00 e8
[ 5.489865] RSP: 0018:ffffd044424cfa98 EFLAGS: 00010246
[ 5.489866] RAX:ffff895f026956b0RBX:ffff895f27c5b840RCX:ffff895f026956b0
[ 5.489867] RDX: 0000000000000000 RSI:ffff895f27c5b840RDI:ffffffffb38736a0
[ 5.489867] RBP:ffffd044424cfb38R08:ffff895f026956b0R09:ffff895f026956b0
[ 5.489868] R10: 0000000000000000 R11:00000000ffffffffR12:ffff895f026956b0
[ 5.489869] R13: 0000000000000000 R14:00000000fffffff4R15:ffff895f3b6e28a0
[ 5.489869] FS: 00007f7bda352c80(0000) GS:ffff8966ac092000(0000) knlGS:0000000000000000
[ 5.489870] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5.489871] CR2:000055ac09f17000CR3:00000001684a3001CR4:0000000000f72ef0
[ 5.489872] PKRU: 55555554
[ 5.489872] Call Trace:
[ 5.489874] <TASK>
[ 5.489875]kobject_init_and_add+0x136/0x160
[ 5.489878]hp_init_bios_attributes+0x265/0x38c[hp_bioscfg]
[ 5.489883] ?__pfx_hp_init+0x10/0x10[hp_bioscfg]
[ 5.489886]hp_init+0x183/0xff0[hp_bioscfg]
[ 5.489888]do_one_initcall+0x8d/0x330
[ 5.489892]do_init_module+0x62/0x230
[ 5.489895]init_module_from_file+0xd7/0x140
[ 5.489897]idempotent_init_module+0x148/0x340
[ 5.489899]__x64_sys_finit_module+0x71/0xe0
[ 5.489901] ?syscall_trace_enter+0x91/0x1e0
[ 5.489902]do_syscall_64+0x7c/0xd70
[ 5.489904] ?__do_sys_newfstatat+0xe0/0x170
[ 5.489907] ?do_syscall_64+0x7c/0xd70
[ 5.489908] ?exc_page_fault+0x77/0x170
[ 5.489910]entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 5.489912] RIP: 0033:0x7f7bd9d1bc69
[ 5.489914] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 77 51 0d 00 f7 d8 64 89 01 48
[ 5.489914] RSP: 002b:00007ffe11a56348 EFLAGS: 00000246ORIG_RAX: 0000000000000139
[ 5.489915] RAX: ffffffffffffffda RBX:000055ee99a48110RCX:00007f7bd9d1bc69
[ 5.489916] RDX: 0000000000000004 RSI:00007f7bda30e44dRDI: 0000000000000067
[ 5.489917] RBP: 0000000000000004 R08: 0000000000000000 R09:000055ee99899e80
[ 5.489917] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000020000
[ 5.489919] R13:00007f7bda30e44dR14:000055ee99a42060R15: 0000000000000000
[ 5.489920] </TASK>
[ 5.489921] ---[ end trace 0000000000000000 ]---