From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80308C3DA4A for ; Sat, 3 Aug 2024 21:47:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A85206B0088; Sat, 3 Aug 2024 17:47:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A35B36B0089; Sat, 3 Aug 2024 17:47:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8FD9C6B008C; Sat, 3 Aug 2024 17:47:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 7239F6B0088 for ; Sat, 3 Aug 2024 17:47:14 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 145CF1615E7 for ; Sat, 3 Aug 2024 21:47:14 +0000 (UTC) X-FDA: 82412270388.03.E29BC45 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by imf15.hostedemail.com (Postfix) with ESMTP id 8418FA000C for ; Sat, 3 Aug 2024 21:47:10 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="Y1ngz/fl"; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722721585; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=A2KC46gIEjEpFEXDRMt6ivFp77w2/I1aEEFNx3Koppk=; b=aLa2PMXfaMRawmBg1UPx/aYi5MsVXCtzft/KuIg+MBHye+j/7vJxuybl84dOlEO6AXWbcw G8q4PaHSs429poYx96W2o0g5aXn1dLliFeJo1Mgosx0pPHTxD4s16rbtuKs79b8O7P2gza jKhduerruk0V+1qiBYypsYOvpfy/6wE= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="Y1ngz/fl"; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722721585; a=rsa-sha256; cv=none; b=zJgdmbJbI7SeCFjh7Cmw3zhOmMrtroovdyWh3ps56hyc3BYsrVYaa43AlLpFD6Dzh/T60n V2VwXjb4I/1UVWAx6sUavULPAL3sb7WDNmVyt7T5yoIVpSncaSZeOJdcNJcjSg1DCI/m8n XBiMT/3j+ZLECLhJoT9/0FuRTbB7On8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1722721630; x=1754257630; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DyvhvGCZsUWAd17j/gpBKyWl4viZG07fXnUAiJG3fj8=; b=Y1ngz/flDFT0cufcnAjU2jI7yS4Er8gk9PYRV9TgtYDdZ4cj4y8lJggc tTDJCK6Pe/8HNpDXscjX3JFJDl09B/DCpQ/F97lwiUle0zEQzvPge3/9U t++d8igFOFsU7Gv7hsh3xJ/QBamtbj+Lt4vsaJcqcUCFzYXWUJGAN7IgZ qMX3AO3ClbpG9v+2pnKgBh0C9SlsuOu0ost7khfMvnj+Ui9BFY/QHA4dE qwCYwzDbDi30S0tp7E5CdTApE94lJUCBPuVfsyj3/BmNsK0auP9Y9l5Ie KBCu0my4zb9GKqo1wXpb40bUJiQsYPKiF/iXcLflDMlQTaNLxCfab4NU3 w==; X-CSE-ConnectionGUID: LuDT5qSZRSmmpJRBYM7ksA== X-CSE-MsgGUID: cM0QL5tNRRycIygDY2boCg== X-IronPort-AV: E=McAfee;i="6700,10204,11153"; a="38217632" X-IronPort-AV: E=Sophos;i="6.09,261,1716274800"; d="scan'208";a="38217632" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2024 14:47:08 -0700 X-CSE-ConnectionGUID: JAQgAfKGTuGlB5jeOgppxQ== X-CSE-MsgGUID: NSwcGpGkS2uVrNzWtdc5Tw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,261,1716274800"; d="scan'208";a="93311661" Received: from unknown (HELO b6bf6c95bbab) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 03 Aug 2024 14:47:05 -0700 Received: from kbuild by b6bf6c95bbab with local (Exim 4.96) (envelope-from ) id 1saMac-0000vW-2J; Sat, 03 Aug 2024 21:47:02 +0000 Date: Sun, 4 Aug 2024 05:46:09 +0800 From: kernel test robot To: Mary Strodl , linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, akpm@linux-foundation.org, urezki@gmail.com, hch@infradead.org, linux-mm@kvack.org, lee@kernel.org, andi.shyti@kernel.org, linux-i2c@vger.kernel.org, s.hauer@pengutronix.de, christian.gmeiner@gmail.com, Mary Strodl Subject: Re: [PATCH v2 1/2] x86: Add basic support for the Congatec CGEB BIOS interface Message-ID: <202408040528.OmB08hFQ-lkp@intel.com> References: <20240801160610.101859-2-mstrodl@csh.rit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240801160610.101859-2-mstrodl@csh.rit.edu> X-Stat-Signature: 664at7auko336bs5rsij9gkz4xfzwxfk X-Rspam-User: X-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u0H3ezOZOJKGzWYrMBQJ3cAMxkbpOciNS+/si1sDYZc74iT7jGea4MNDxIIHhxjpZtowAPYvKg9ltT5xv8mMwP86rQtX2DN4K7TDsnraSLA7HQapqU4OovkwVjMArTH8I1RWvB9gxIcZOElL0AiOwMxpHH+fgHk9AqH1LzrJ33a/4iOQvBJBNr+glxl3wdj4XNu1Kmxq4yp+873lzvRmsB5KfxmxBGduhZ724YgHAu8wEuBCAnE7sm0AvsqV4OEbxon0b+LfuUuVFtjZqBbL+lg1l6zVvBFyWhF8x8PUMgwXZDVg0n8PaQK/wNhQdfVcIhlwXpNK5hC+4dwgYhM8uf5QRU5ch7aQ94wj9+oMXiGH/pWP7028TaeG6xxNeZmw7VzjmG20IEwCb8vjlRI9sZDouq1dE5m6rqJ7SY+OikgDKqGgDc2rXdOYa2sWkk0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Mary, kernel test robot noticed the following build errors: [auto build test ERROR on lee-mfd/for-mfd-next] [also build test ERROR on lee-mfd/for-mfd-fixes andi-shyti/i2c/i2c-host akpm-mm/mm-everything linus/master v6.11-rc1 next-20240802] [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/Mary-Strodl/x86-Add-basic-support-for-the-Congatec-CGEB-BIOS-interface/20240803-013725 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next patch link: https://lore.kernel.org/r/20240801160610.101859-2-mstrodl%40csh.rit.edu patch subject: [PATCH v2 1/2] x86: Add basic support for the Congatec CGEB BIOS interface config: x86_64-randconfig-002-20240804 (https://download.01.org/0day-ci/archive/20240804/202408040528.OmB08hFQ-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/20240804/202408040528.OmB08hFQ-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/202408040528.OmB08hFQ-lkp@intel.com/ All errors (new ones prefixed by >>): ld: drivers/mfd/congatec-cgeb.o: in function `cgeb_request': >> drivers/mfd/congatec-cgeb.c:303: undefined reference to `cn_netlink_send' >> ld: drivers/mfd/congatec-cgeb.c:312: undefined reference to `cn_netlink_send' ld: drivers/mfd/congatec-cgeb.o: in function `cgeb_exit': >> drivers/mfd/congatec-cgeb.c:1131: undefined reference to `cn_del_callback' ld: drivers/mfd/congatec-cgeb.o: in function `cgeb_init': >> drivers/mfd/congatec-cgeb.c:1054: undefined reference to `cn_add_callback' >> ld: drivers/mfd/congatec-cgeb.c:1113: undefined reference to `cn_del_callback' vim +303 drivers/mfd/congatec-cgeb.c 266 267 static int cgeb_request(struct cgeb_msg msg, struct cgeb_msg *out, 268 int (*callback)(struct cgeb_msg*, void*), void *user) 269 { 270 static int seq; 271 struct cn_msg *wrapper; 272 struct cgeb_request *req; 273 int err, retries = 0; 274 275 wrapper = (struct cn_msg*) kzalloc(sizeof(*wrapper) + sizeof(msg), 276 GFP_KERNEL); 277 if (!wrapper) 278 return -ENOMEM; 279 280 memset(wrapper, 0, sizeof(*wrapper)); 281 memcpy(&wrapper->id, &cgeb_cn_id, sizeof(cgeb_cn_id)); 282 283 wrapper->len = sizeof(msg); 284 wrapper->ack = get_random_u32(); 285 memcpy(wrapper + 1, &msg, sizeof(msg)); 286 287 mutex_lock(&cgeb_lock); 288 289 req = &cgeb_requests[seq]; 290 291 if (req->busy) { 292 mutex_unlock(&cgeb_lock); 293 err = -EBUSY; 294 goto out; 295 } 296 wrapper->seq = seq; 297 req->busy = CGEB_REQ_ACTIVE; 298 req->ack = wrapper->ack; 299 req->out = out; 300 req->callback = callback; 301 req->user = user; 302 > 303 err = cn_netlink_send(wrapper, 0, 0, GFP_KERNEL); 304 if (err == -ESRCH) { 305 err = cgeb_helper_start(); 306 if (err) { 307 pr_err("failed to execute %s\n", cgeb_helper_path); 308 pr_err("make sure that the cgeb helper is installed and" 309 " executable\n"); 310 } else { 311 do { > 312 err = cn_netlink_send(wrapper, 0, 0, 313 GFP_KERNEL); 314 if (err == -ENOBUFS) 315 err = 0; 316 if (err == -ESRCH) 317 msleep(30); 318 } while (err == -ESRCH && ++retries < 5); 319 } 320 } else if (err == -ENOBUFS) 321 err = 0; 322 323 kfree(wrapper); 324 325 if (++seq >= CGEB_REQUEST_MAX) 326 seq = 0; 327 328 mutex_unlock(&cgeb_lock); 329 330 if (err) 331 goto out; 332 333 /* Wait for a response to the request */ 334 err = wait_for_completion_interruptible_timeout( 335 &req->done, msecs_to_jiffies(20000)); 336 if (err == 0) { 337 pr_err("CGEB: Timed out running request of type %d!\n", 338 msg.type); 339 err = -ETIMEDOUT; 340 } else if (err > 0) 341 err = 0; 342 343 if (err) 344 goto out; 345 346 mutex_lock(&cgeb_lock); 347 348 if (req->busy != CGEB_REQ_DONE) { 349 pr_err("CGEB: BUG: Request is in a bad state?\n"); 350 err = -EINVAL; 351 } 352 353 req->busy = CGEB_REQ_IDLE; 354 mutex_unlock(&cgeb_lock); 355 out: 356 return err; 357 } 358 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki