Skip to contentSkip to conversation

platform/x86: dasharo-acpi: Add EC fan curve support

PATCH kernel test robot 1 participant 1 message Nov 22

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "linux-review patch is more than 7 days old, verify it wasn't already superseded" ::::::

BCC: [email protected]
CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: "Filip Gołaś" <[email protected]>
TO: "Michał Kopeć" <[email protected]>
TO: Hans de Goede <[email protected]>
TO: "Ilpo Järvinen" <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: Guenter Roeck <[email protected]>
CC: "Filip Gołaś" <[email protected]>

Hi Filip,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v7.4-rc3 next-20261120]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Filip-Go-a/platform-x86-dasharo-acpi-Extract-dasharo_call-from-dasharo_read_channel/20261113-084345
base:   linus/master
patch link:    https://lore.kernel.org/r/20261113074347.2301465-4-filip.golas%403mdeb.com
patch subject: [PATCH 3/3] platform/x86: dasharo-acpi: Add EC fan curve support

:::::: branch date: 9 days ago
:::::: commit date: 9 days ago
config: i386-randconfig-007-20250811 (https://download.01.org/0day-ci/archive/20261122/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261122/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All errors (new ones prefixed by >>):

ld: drivers/platform/x86/dasharo-acpi.o: in function `curve_point_pwm_show':

>> drivers/platform/x86/dasharo-acpi.c:453:(.text+0x644): undefined reference to `__udivdi3'

vim +453 drivers/platform/x86/dasharo-acpi.c

79e29ab55861d29 Filip Gołaś 2026-11-13  440  
79e29ab55861d29 Filip Gołaś 2026-11-13  441  static ssize_t curve_point_pwm_show(struct device *dev, struct device_attribute *attr, char *buf)
79e29ab55861d29 Filip Gołaś 2026-11-13  442  {
79e29ab55861d29 Filip Gołaś 2026-11-13  443  	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
79e29ab55861d29 Filip Gołaś 2026-11-13  444  	struct dasharo_data *data = dev_get_drvdata(dev);
79e29ab55861d29 Filip Gołaś 2026-11-13  445  	u64 point = sattr->index;
79e29ab55861d29 Filip Gołaś 2026-11-13  446  	u64 val;
79e29ab55861d29 Filip Gołaś 2026-11-13  447  	int err;
79e29ab55861d29 Filip Gołaś 2026-11-13  448  
79e29ab55861d29 Filip Gołaś 2026-11-13  449  	err = dasharo_call(data, "GFPD", DASHARO_FEATURE_FAN_POINTS, sattr->nr, &point, 1, &val);
79e29ab55861d29 Filip Gołaś 2026-11-13  450  	if (err)
79e29ab55861d29 Filip Gołaś 2026-11-13  451  		return err;
79e29ab55861d29 Filip Gołaś 2026-11-13  452  

79e29ab55861d29 Filip Gołaś 2026-11-13 @453 return sysfs_emit(buf, "%llu\n", DIV_ROUND_CLOSEST(val * 255, 100));
79e29ab55861d29 Filip Gołaś 2026-11-13 454 }
79e29ab55861d29 Filip Gołaś 2026-11-13 455

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki