Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4096918rwb; Sat, 21 Jan 2023 05:55:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXsLouukyFCGbdXQPWwxY+TAzJ1M3oUnhkKejnWca/6aDD5gTenM2Pj4D9T4GZa007wZXmad X-Received: by 2002:a05:6402:cba:b0:49d:25f3:6b4e with SMTP id cn26-20020a0564020cba00b0049d25f36b4emr18502845edb.28.1674309316170; Sat, 21 Jan 2023 05:55:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674309316; cv=none; d=google.com; s=arc-20160816; b=BsTurFfSOFORy1yuwNDwUw/97P3T76qxC+10oVPeVgOHUOVR47ntIMXpZZZ30FtY+u fTg4K+oaSkHKlYNKMXSgBXRk6bYGINub3nZpkzxpnBJSIbqBpB5AoZdduLuR4mlZx/Pf s1lP7f5VfsjgsoM/Xp5nW3g2ViGk3OI5KeS3AhEsTzjNUTSQz/skKJuLfpKIXq8ezFYm wpRIHtXyFbVU5oCxOmp9UvPHlmKNpRCP41TrPkOusLLT1pQaQrYFGIVZYrr5ymamK4xb 2oDaw4RAfTkjlCevnyKV+B/48x0i/gCpYC6y1yJDaMKM8C8vwG7kDn+19I83s8VVQ0wS qWCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JhXGbKfz+dOrNPgk4B+2qT3RLF6TNDg8q5yh8+kys+g=; b=QqptWlK8yr+zdVU//OicTtyPCnl1RCUbCq+/c1laz/Gm4atjQN+ZHUPJCo4oaVw3G3 oFGbqHyMVH/Wce9accY8AOxQwllkjHR5ArTUYwL2JTJJyJy6icED8BB0iFcPn69FfSdf jC5zDXqga4yunpgAkpdIb0xOIz+hnwR1A+M0VDwx3lMPWWgeqZQvKtEtZDE2d1X7Znkt cAsbQ7l2kXpGs+2uwasE2lBIh0TP7Pv08GGbHK0b7gfJH+KDVfMfcExTGQleoVUL4wa9 mv9Z0ZuzgVJvYEYBNb7EMk0q+7hGgN/7qK+Tb1cjHae757vOPj2uRe15f5oM0QNTfnX3 U12A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HiMMIfSa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a0564020e0b00b0049cb1901e8fsi26137038edh.561.2023.01.21.05.55.03; Sat, 21 Jan 2023 05:55:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HiMMIfSa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229776AbjAUNFr (ORCPT + 50 others); Sat, 21 Jan 2023 08:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjAUNFk (ORCPT ); Sat, 21 Jan 2023 08:05:40 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2858829E1E; Sat, 21 Jan 2023 05:05:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674306338; x=1705842338; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mYPaUET6yMOwGGV2IxKGzIaVsssVsIa9IyUsova1n/0=; b=HiMMIfSawWQ/8+JG3AJ362LXZ5Ath/niOQfL4c+tib2Xkm9NSFsOy4Rz tT5oD4ReGVyDDxthy2kOKQ6H3G6iI+umZ8YADhl/qU2X13rxbfoxtLFZ8 Ty7wjtEMsWNLwsJAg5Cs09fyea5arpdIoSprnc9X7bCEQR/rcIc88+dbU PnUyq+R1GpIHiuc21cXMj0RajafTuo6pzqnuvewTtIVsCelav2OU1VvQf zkYMjfK3rbMgXAyBqauLKlEU/avc+fFgEelWD6dJc0sO6Uro+7vY8E1pq 46omzp1QrVa5VSTNPuUc9Fj08wG5r/aF7Vo3APf7uMCCWJOUUVJB4LJhH w==; X-IronPort-AV: E=McAfee;i="6500,9779,10596"; a="412015640" X-IronPort-AV: E=Sophos;i="5.97,235,1669104000"; d="scan'208";a="412015640" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2023 05:05:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10596"; a="654087129" X-IronPort-AV: E=Sophos;i="5.97,235,1669104000"; d="scan'208";a="654087129" Received: from lkp-server01.sh.intel.com (HELO 5646d64e7320) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 21 Jan 2023 05:05:22 -0800 Received: from kbuild by 5646d64e7320 with local (Exim 4.96) (envelope-from ) id 1pJDYf-00045M-1L; Sat, 21 Jan 2023 13:05:21 +0000 Date: Sat, 21 Jan 2023 21:04:32 +0800 From: kernel test robot To: Gregory Price , linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, krisman@collabora.com, tglx@linutronix.de, luto@kernel.org, oleg@redhat.com, peterz@infradead.org, ebiederm@xmission.com, akpm@linux-foundation.org, adobriyan@gmail.com, corbet@lwn.net, shuah@kernel.org, Gregory Price Subject: Re: [PATCH v4 2/3] fs/proc/array: Add Syscall User Dispatch to proc status Message-ID: <202301212030.OheLeUFY-lkp@intel.com> References: <20230121102316.331935-3-gregory.price@memverge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230121102316.331935-3-gregory.price@memverge.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Gregory, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to tip/core/entry] [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/Gregory-Price/ptrace-syscall_user_dispatch-Implement-Syscall-User-Dispatch-Suspension/20230121-182401 patch link: https://lore.kernel.org/r/20230121102316.331935-3-gregory.price%40memverge.com patch subject: [PATCH v4 2/3] fs/proc/array: Add Syscall User Dispatch to proc status config: hexagon-randconfig-r016-20230119 (https://download.01.org/0day-ci/archive/20230121/202301212030.OheLeUFY-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/a2cb8440d45e7d3030e7349c7c598971a951e5f2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Gregory-Price/ptrace-syscall_user_dispatch-Implement-Syscall-User-Dispatch-Suspension/20230121-182401 git checkout a2cb8440d45e7d3030e7349c7c598971a951e5f2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from fs/proc/array.c:61: 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:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 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] 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' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from fs/proc/array.c:61: 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:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 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' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from fs/proc/array.c:61: 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:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __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] __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] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ >> fs/proc/array.c:435:8: error: use of undeclared identifier 'TIF_SYSCALL_USER_DISPATCH' test_syscall_work(SYSCALL_USER_DISPATCH)); ^ include/linux/thread_info.h:168:45: note: expanded from macro 'test_syscall_work' test_ti_thread_flag(current_thread_info(), TIF_##fl) ^ :37:1: note: expanded from here TIF_SYSCALL_USER_DISPATCH ^ 6 warnings and 1 error generated. vim +/TIF_SYSCALL_USER_DISPATCH +435 fs/proc/array.c 430 431 static inline void task_syscall_user_dispatch(struct seq_file *m, 432 struct task_struct *p) 433 { 434 seq_put_decimal_ull(m, "\nSyscall_user_dispatch:\t", > 435 test_syscall_work(SYSCALL_USER_DISPATCH)); 436 } 437 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests