From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D557156F3F; Fri, 20 Dec 2024 06:12:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734675175; cv=none; b=BLOJqOCWXbGQ77znNlGHEqp0UDQ/M4mEKZgJ7qA/IGnO3tZdW4nVxjrKwbts6lYyRcNvJLQq9wNXLfwoqHj9h4/dBLL8VbIjRp3kBJby4dGQjPmjIaDApf1SxBOBKLw4jfD+Nv1RPZaVU4Vy5v9hcVJLYCvIQZQ3kvYsB806utc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734675175; c=relaxed/simple; bh=ZzuWvue3/Dyz3OEX4IuEIJmdALTB1lMDUAcKhYLsTpI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Yfj0/uQHxLw1Wcfz8lsgiRM7u6EaZmdktSO8u5L/oCJODJGyQYdJ5o7vF0PnzRIUixul7XgvcXhvvRrw2POde9BGdGJiCSLxWqel9LErLsUqp/1rkUjR9U5unjGjzS04gpwPWhSuvjx8d64A4HUamBsq1PbLzLV6ImIc/GnUFtA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=kdF2XYTM; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kdF2XYTM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734675173; x=1766211173; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZzuWvue3/Dyz3OEX4IuEIJmdALTB1lMDUAcKhYLsTpI=; b=kdF2XYTMvIxUET2SN8KNoqLjMFPP8A2qi+x6I8FBlVGRMJ49E/V83xba g0b64k85iHP1n+e2VR7WPRlEkM1BLCldYBw5o35a2tSHDlS3YyF6i0RUM ByDJyvqWFcFTwOUlD08z/ww9ii/ZvvR/10YXpO7PE7TdlYUNzU16ftqO+ 1Nuoie0k28qLQs4WmTU0XhrmYuFRNbq/ArqBtMhjO6V9y7Zs/1JaOg2t2 SvQi8oxnh08o/vKZysoQf32anC0YePHzhN0jkksRGVVYi80nKDByTSCaA Y0yrdAyW9ovUKQg/jMIJ32VL7Lw1KZbmwi6eaEqqVTHI43aSAqyb3KMS2 w==; X-CSE-ConnectionGUID: VYRmzniXSGe8EJAU3XrfSQ== X-CSE-MsgGUID: +rsen83ORgi0oPKEvuvK9g== X-IronPort-AV: E=McAfee;i="6700,10204,11291"; a="52624773" X-IronPort-AV: E=Sophos;i="6.12,249,1728975600"; d="scan'208";a="52624773" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2024 22:12:52 -0800 X-CSE-ConnectionGUID: sOKRon2lQOKdRxhfnSyVsg== X-CSE-MsgGUID: MHx5yihkQumsZQA5kCOVYw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,249,1728975600"; d="scan'208";a="103405111" Received: from lkp-server01.sh.intel.com (HELO a46f226878e0) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 19 Dec 2024 22:12:46 -0800 Received: from kbuild by a46f226878e0 with local (Exim 4.96) (envelope-from ) id 1tOWFf-0000tP-2O; Fri, 20 Dec 2024 06:12:43 +0000 Date: Fri, 20 Dec 2024 14:12:13 +0800 From: kernel test robot To: Ahmad Fatoum , Daniel Lezcano , Fabio Estevam , "Rafael J. Wysocki" , Zhang Rui , Lukasz Luba , Jonathan Corbet , Serge Hallyn , Liam Girdwood , Mark Brown , Matti Vaittinen , Matti Vaittinen , Benson Leung , Tzung-Bi Shih , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-doc@vger.kernel.org, linux-security-module@vger.kernel.org, chrome-platform@lists.linux.dev, devicetree@vger.kernel.org, kernel@pengutronix.de, Ahmad Fatoum Subject: Re: [PATCH 02/11] reboot: reboot, not shutdown, on hw_protection_reboot timeout Message-ID: <202412201310.JWkUQ9qf-lkp@intel.com> References: <20241219-hw_protection-reboot-v1-2-263a0c1df802@pengutronix.de> Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241219-hw_protection-reboot-v1-2-263a0c1df802@pengutronix.de> Hi Ahmad, kernel test robot noticed the following build warnings: [auto build test WARNING on 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8] url: https://github.com/intel-lab-lkp/linux/commits/Ahmad-Fatoum/reboot-replace-__hw_protection_shutdown-bool-action-parameter-with-an-enum/20241219-155416 base: 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8 patch link: https://lore.kernel.org/r/20241219-hw_protection-reboot-v1-2-263a0c1df802%40pengutronix.de patch subject: [PATCH 02/11] reboot: reboot, not shutdown, on hw_protection_reboot timeout config: i386-buildonly-randconfig-003-20241220 (https://download.01.org/0day-ci/archive/20241220/202412201310.JWkUQ9qf-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241220/202412201310.JWkUQ9qf-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202412201310.JWkUQ9qf-lkp@intel.com/ All warnings (new ones prefixed by >>): kernel/reboot.c:241: warning: Function parameter or struct member 'cmd' not described in 'do_kernel_restart' >> kernel/reboot.c:995: warning: Function parameter or struct member 'action' not described in 'hw_failure_emergency_schedule' >> kernel/reboot.c:995: warning: Function parameter or struct member 'poweroff_delay_ms' not described in 'hw_failure_emergency_schedule' kernel/reboot.c:1023: warning: Function parameter or struct member 'action' not described in '__hw_protection_shutdown' kernel/reboot.c:1023: warning: Excess function parameter 'shutdown' description in '__hw_protection_shutdown' vim +995 kernel/reboot.c dfa19b11385d4c Matti Vaittinen 2021-06-03 983 dfa19b11385d4c Matti Vaittinen 2021-06-03 984 static DECLARE_DELAYED_WORK(hw_failure_emergency_poweroff_work, dfa19b11385d4c Matti Vaittinen 2021-06-03 985 hw_failure_emergency_poweroff_func); dfa19b11385d4c Matti Vaittinen 2021-06-03 986 dfa19b11385d4c Matti Vaittinen 2021-06-03 987 /** 595ab92650cc28 Ahmad Fatoum 2024-12-19 988 * hw_failure_emergency_schedule - Schedule an emergency system shutdown or reboot dfa19b11385d4c Matti Vaittinen 2021-06-03 989 * dfa19b11385d4c Matti Vaittinen 2021-06-03 990 * This may be called from any critical situation to trigger a system shutdown dfa19b11385d4c Matti Vaittinen 2021-06-03 991 * after a given period of time. If time is negative this is not scheduled. dfa19b11385d4c Matti Vaittinen 2021-06-03 992 */ 595ab92650cc28 Ahmad Fatoum 2024-12-19 993 static void hw_failure_emergency_schedule(enum hw_protection_action action, 595ab92650cc28 Ahmad Fatoum 2024-12-19 994 int poweroff_delay_ms) dfa19b11385d4c Matti Vaittinen 2021-06-03 @995 { dfa19b11385d4c Matti Vaittinen 2021-06-03 996 if (poweroff_delay_ms <= 0) dfa19b11385d4c Matti Vaittinen 2021-06-03 997 return; 595ab92650cc28 Ahmad Fatoum 2024-12-19 998 hw_failure_emergency_action = action; dfa19b11385d4c Matti Vaittinen 2021-06-03 999 schedule_delayed_work(&hw_failure_emergency_poweroff_work, dfa19b11385d4c Matti Vaittinen 2021-06-03 1000 msecs_to_jiffies(poweroff_delay_ms)); dfa19b11385d4c Matti Vaittinen 2021-06-03 1001 } dfa19b11385d4c Matti Vaittinen 2021-06-03 1002 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki