From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 8D95837755C; Tue, 7 Apr 2026 04:00:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775534444; cv=none; b=qO+E+eXmeVXORozfKjd5zHnqCSExB7W2/Ti/yiD+3cvxs9Gy0jBtSRQnAfZePJrEJ4trlqFnh6CnXyZR15C/YN4PBxtIaA/dJzzbQTD/n7kp9ayfDrwLG6Y/v2w7z9XjDdrPGscSqlQ9IMi8L5z7d1GMhIb4dqnTgbbcDhjkkNo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775534444; c=relaxed/simple; bh=USWlDwOx/ndbgT/FRdeormiwr5KIC/20ITAGip56qSk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=slvMbhNnahKKtjrx6DK0oo4mHhirVGrOQ7j+O828yPGFdwBvw+XYh270R/IPy5CTzJomOI1MdTb6mBxYI0YYrceRfyYRcvbvZTfMdVZrzajGRfpG05skmOApuTZVXkMOB6nnb7zRxoW82F7qOEOSl6+W5Qg8WECENjE+r70Hwvc= 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=RgdlToaH; arc=none smtp.client-ip=198.175.65.11 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="RgdlToaH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775534443; x=1807070443; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=USWlDwOx/ndbgT/FRdeormiwr5KIC/20ITAGip56qSk=; b=RgdlToaH7h20E2+I2pTrSp132n4sLgAqc1gNs7tbQrY7VN7Z54RaQ8E9 ummyBqpqdfoKNf+svf6phPFg2CAuy3ewu9Tfm50t6JBl3WucBGkQ7hcAy QR9Ioq5oEzS5k3LK0OMB1cev2xt4wYGFNqbq4H+5mLbQbo59Z+UuRx+Rv ezOQ9r77N/sgx0QcG5x3H9j5bucaadVWvSSD7NnrXSkbQsPopd8iUTBSb DBpG4T/4j9LDlAYLJnR0rXHk9bWgA17UgsRA12nYVmQUv+z/lMJIgwHJa c/nhHPIZgROBT6OmdBS06NTVmF2tJfQFBEi1nSKTw586eyJ8T0KvlgSsP A==; X-CSE-ConnectionGUID: +Lx7NN0TT/eFYCy1QmC8gQ== X-CSE-MsgGUID: u1HsqbbKR7qRCQl1ijQwKQ== X-IronPort-AV: E=McAfee;i="6800,10657,11751"; a="86782297" X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="86782297" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2026 21:00:41 -0700 X-CSE-ConnectionGUID: JbesF0bvTamN7cLAOWalfQ== X-CSE-MsgGUID: MlWxMTBDRBGxTc/mvPNSBA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="224844900" Received: from lkp-server01.sh.intel.com (HELO d00eb8a6782a) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 06 Apr 2026 21:00:37 -0700 Received: from kbuild by d00eb8a6782a with local (Exim 4.98.2) (envelope-from ) id 1w9xc9-0000000007H-1lvW; Tue, 07 Apr 2026 04:00:33 +0000 Date: Tue, 7 Apr 2026 12:00:23 +0800 From: kernel test robot To: Yunseong Kim , Kees Cook Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Will Deacon , Boqun Feng , Waiman Long , Shuah Khan , Tzung-Bi Shih , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, max.byungchul.park@gmail.com, "kernel_team@skhynix.com" , kernel-team@lge.com, Yunseong Kim , Byungchul Park , Yeoreum Yun Subject: Re: [PATCH] lkdtm: Add folio_lock deadlock scenarios Message-ID: <202604051803.UYvkxRXB-lkp@intel.com> References: <20260402143947.162844-1-ysk@kzalloc.com> Precedence: bulk X-Mailing-List: llvm@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: <20260402143947.162844-1-ysk@kzalloc.com> Hi Yunseong, kernel test robot noticed the following build warnings: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on char-misc/char-misc-next char-misc/char-misc-linus kees/for-next/pstore kees/for-next/kspp shuah-kselftest/next shuah-kselftest/fixes soc/for-next linus/master v7.0-rc6 next-20260403] [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/Yunseong-Kim/lkdtm-Add-folio_lock-deadlock-scenarios/20260405-145013 base: char-misc/char-misc-testing patch link: https://lore.kernel.org/r/20260402143947.162844-1-ysk%40kzalloc.com patch subject: [PATCH] lkdtm: Add folio_lock deadlock scenarios config: s390-randconfig-001-20260405 (https://download.01.org/0day-ci/archive/20260405/202604051803.UYvkxRXB-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project c80443cd37b2e2788cba67ffa180a6331e5f0791) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260405/202604051803.UYvkxRXB-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/202604051803.UYvkxRXB-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/misc/lkdtm/deadlock.c:99:44: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions] 99 | static int lkdtm_folio_mutex_kthread(void *) | ^ drivers/misc/lkdtm/deadlock.c:112:44: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions] 112 | static int lkdtm_mutex_folio_kthread(void *) | ^ drivers/misc/lkdtm/deadlock.c:228:38: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions] 228 | static int lkdtm_waiter_thread(void *) | ^ 3 warnings generated. vim +99 drivers/misc/lkdtm/deadlock.c 97 98 /* Attempting 'folio_lock() A then Mutex B' order */ > 99 static int lkdtm_folio_mutex_kthread(void *) 100 { 101 while (true) { 102 folio_lock(folio_common); 103 mutex_lock(&mutex_b); 104 mutex_unlock(&mutex_b); 105 folio_unlock(folio_common); 106 } 107 108 return 0; 109 } 110 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki