All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 3/3] platform/x86: dasharo-acpi: Add EC fan curve support
@ 2026-11-22  5:56 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-11-22  5:56 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

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

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261113074347.2301465-4-filip.golas@3mdeb.com>
References: <20261113074347.2301465-4-filip.golas@3mdeb.com>
TO: "Filip Gołaś" <filip.golas@3mdeb.com>
TO: "Michał Kopeć" <michal.kopec@3mdeb.com>
TO: Hans de Goede <hansg@kernel.org>
TO: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
CC: platform-driver-x86@vger.kernel.org
CC: linux-hwmon@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Guenter Roeck <linux@roeck-us.net>
CC: "Filip Gołaś" <filip.golas@3mdeb.com>

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/202611221347.IQkJ3mWs-lkp@intel.com/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/202611221347.IQkJ3mWs-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202611221347.IQkJ3mWs-lkp@intel.com/

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  

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH 0/3] platform/x86: dasharo-acpi: Add fan control
@ 2026-11-13  7:43 Filip Gołaś
  2026-11-13  7:43 ` [PATCH 3/3] platform/x86: dasharo-acpi: Add EC fan curve support Filip Gołaś
  0 siblings, 1 reply; 3+ messages in thread
From: Filip Gołaś @ 2026-11-13  7:43 UTC (permalink / raw)
  To: Michał Kopeć, Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-hwmon, linux-kernel, Guenter Roeck,
	Filip Gołaś

Add the capability to directly control fan PWM and configure the fan
curves. The initial version of the driver only supported monitoring
the fans.

Tested on a NovaCustom V560TU laptop with a pre-release
Dasharo firmware implementing the relevant methods.

Filip Gołaś (3):
  platform/x86: dasharo-acpi: Extract dasharo_call() from
    dasharo_read_channel()
  platform/x86: dasharo-acpi: Add fan mode and PWM write support
  platform/x86: dasharo-acpi: Add EC fan curve support

 drivers/platform/x86/dasharo-acpi.c | 317 ++++++++++++++++++++++++----
 1 file changed, 279 insertions(+), 38 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-22  7:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22  5:56 [PATCH 3/3] platform/x86: dasharo-acpi: Add EC fan curve support kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-11-13  7:43 [PATCH 0/3] platform/x86: dasharo-acpi: Add fan control Filip Gołaś
2026-11-13  7:43 ` [PATCH 3/3] platform/x86: dasharo-acpi: Add EC fan curve support Filip Gołaś
2026-11-13  8:05   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.