Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp7084587rdb; Fri, 15 Dec 2023 18:23:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEft5O6Xm99be+v10Js2ElFuc8t2DRqzgh6xOqdBwaPPCYV/lUXwh5HI58A+omuLbwPlDGt X-Received: by 2002:a05:6830:1616:b0:6d9:f176:2430 with SMTP id g22-20020a056830161600b006d9f1762430mr11771586otr.39.1702693403219; Fri, 15 Dec 2023 18:23:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702693403; cv=none; d=google.com; s=arc-20160816; b=aKsKN3+MqkptbYlzmcT7QHqd7mo74HioYO4cHDa8wEiNfViYLlpTUQTX9cXd1hCvN9 Al0L6ZaQzO0I8ppskuLl5TMCUkOFMFDRfePiU0+2r0yEkva+Ksval/TghAWtMlhV/KWU yBU/Kc6+O7L6mqwGUxO+DhkRQm9wAcLMEDj0rIs8dBuNrflqJxNFWwJbC3LrdVEckqtS czklfTuv311WO99H7fmGaaCzURF8SwwoLVWugh422xwN8nGfpIKhkRLgWVF07aw0Bmd5 VNN+A70Fy+SK/QM9rxZMU0xOUmOne8cBWGUeXV1/Qq5IdEK0vOSDz738VV2tRsZuqndc p7Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0rFaXyIOSguKlV9mFCZWIcECmHEKPQHXJHGmx+Pokok=; fh=XFX7ZkXML7qtmvqLlW9anaka/Y3wkk1qH3IUJ1avZgo=; b=iXoNtjlLk0Q9GhIVsQcVCjFGY3ZqsdqUNp7z6qqPeBMQnF9R4ZiPOgInyByfjhKQ3h aIkrQPtLv4FQDCQh7HYLXPPiE59rlt1hF7g8FijylQFOL1UnTK8je5nHRuUjO6eoVozb aVULTS/hXgsdOJ81R+DegRvnakFWAi5JfhH21VorQV9XJvDxrQAO2yvOGslK6IiGavI3 5p5zFD9zoN9IA9YQgHF2yGNaDoovd0f80TtRuMt95qPC5x3ZUfMz89EmCvnduei3r0vj SBFM/bK+13VgTNwBePTYkokBAma8W6egkru4mRGxGqW+qPQ9THqq6YCYnjpHWz9KiZuP onKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dWgAyz3F; spf=pass (google.com: domain of linux-kernel+bounces-1958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c6-20020a056a000ac600b006d0c016896asi6170393pfl.134.2023.12.15.18.23.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 18:23:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dWgAyz3F; spf=pass (google.com: domain of linux-kernel+bounces-1958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D42BB2868A7 for ; Sat, 16 Dec 2023 02:23:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93B10443E; Sat, 16 Dec 2023 02:23:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="dWgAyz3F" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 3B95A17E8 for ; Sat, 16 Dec 2023 02:23:00 +0000 (UTC) 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702693380; x=1734229380; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2kCa92XAYxWzEh96fiCPzEeGN5kYGI03vKtWt214LVc=; b=dWgAyz3FxB4qctDURYGVLmlZV1feCqTPz9NfGNkdMmpYpH8zPaY8MyD5 5JB2wjnr7WY60F3r9zkdRzgHIuCURXmvBjR4jYbsVN1H32acRGwKcbG5o pSK0QTxD4g6xHAJAXcSi0koAi8bMtOlfb0873EQiORK6o2QcIPwiqwgg9 zhZ0yrRSYyq2MhwZZ2JGRXj52GxEgFjydVSJn6kJyR47Kmf1ZsNu6Wf1d 0WQS/sLlw3y7lWGAEQimhpbhUpszbPb1x8rpmR9VSuMrCgU/r45F8qrL4 KnyP/KLGT2EREhufsPCtfY8xP4LvfEBwF3i856y2iiYnCS0F5+FQikTyY g==; X-IronPort-AV: E=McAfee;i="6600,9927,10925"; a="8773855" X-IronPort-AV: E=Sophos;i="6.04,280,1695711600"; d="scan'208";a="8773855" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2023 18:22:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10925"; a="774953870" X-IronPort-AV: E=Sophos;i="6.04,280,1695711600"; d="scan'208";a="774953870" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 15 Dec 2023 18:22:54 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rEKKJ-00013G-2q; Sat, 16 Dec 2023 02:22:51 +0000 Date: Sat, 16 Dec 2023 10:21:52 +0800 From: kernel test robot To: Maksim Davydov , linux-kernel@vger.kernel.org, x86@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, davydov-max@yandex-team.ru, den-plotnikov@yandex-team.ru, tony.luck@intel.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org Subject: Re: [PATCH] x86/split_lock: add split lock counter Message-ID: <202312161022.Qq2mFAa2-lkp@intel.com> References: <20231215140113.57173-1-davydov-max@yandex-team.ru> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231215140113.57173-1-davydov-max@yandex-team.ru> Hi Maksim, kernel test robot noticed the following build errors: [auto build test ERROR on tip/x86/core] [also build test ERROR on tip/master tip/sched/core linus/master tip/auto-latest v6.7-rc5 next-20231215] [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/Maksim-Davydov/x86-split_lock-add-split-lock-counter/20231215-220639 base: tip/x86/core patch link: https://lore.kernel.org/r/20231215140113.57173-1-davydov-max%40yandex-team.ru patch subject: [PATCH] x86/split_lock: add split lock counter config: hexagon-allnoconfig (https://download.01.org/0day-ci/archive/20231216/202312161022.Qq2mFAa2-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231216/202312161022.Qq2mFAa2-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/202312161022.Qq2mFAa2-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from fs/proc/base.c:68: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:337: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 547 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from fs/proc/base.c:68: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:337: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from fs/proc/base.c:68: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:337: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 584 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ >> fs/proc/base.c:101:10: fatal error: 'asm/cpu.h' file not found 101 | #include | ^~~~~~~~~~~ 6 warnings and 1 error generated. vim +101 fs/proc/base.c 52 53 #include 54 #include 55 #include 56 #include 57 #include 58 #include 59 #include 60 #include 61 #include 62 #include 63 #include 64 #include 65 #include 66 #include 67 #include 68 #include 69 #include 70 #include 71 #include 72 #include 73 #include 74 #include 75 #include 76 #include 77 #include 78 #include 79 #include 80 #include 81 #include 82 #include 83 #include 84 #include 85 #include 86 #include 87 #include 88 #include 89 #include 90 #include 91 #include 92 #include 93 #include 94 #include 95 #include 96 #include 97 #include 98 #include 99 #include 100 #include > 101 #include 102 #include "internal.h" 103 #include "fd.h" 104 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki