Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4076150rwb; Sat, 21 Jan 2023 05:32:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXsjs1JiSvtnxN82FS94vQ9a6BNODtmh/T+A6uDsOS8g1xMf5mBeS7/jJlBVT5iXzPugBLNB X-Received: by 2002:a17:907:d606:b0:86f:b541:cd02 with SMTP id wd6-20020a170907d60600b0086fb541cd02mr22297524ejc.28.1674307929096; Sat, 21 Jan 2023 05:32:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674307929; cv=none; d=google.com; s=arc-20160816; b=ChblKdn7sgCXtKm6ojxHbenzaTtj3kRkye7daNoxemGrIqNl7gMw3pYRaamjIc2E0X 2S3UoR9W4mEBV2gnBhteFPsqHJRZtLGCcYj+qVnHzuyXZniPlegbaFFXuRVLrOJZVCpW yu4zhvIfRZtvX5YGYRVe80fM2kqj3dJouzcKGu0q/EVRYCK1Kl82+4qVtRea3j/aokeZ ghP4SkO+3XbRWnn3lwd2V4258vOKOQKq5suxBuwEfEAtcaG33K1kNqIo9gonoHCQNfEq oiYiZXUA6tBkvbJfjBS8x26hrITmAWiOZsEUTs/LSi+z/8aCvegfKbhclXkto3+oIGZN kqrg== 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=p+qE66JiuomjmQS05IHrmHLow5xsiqvb/5b06VcZe1w=; b=IyJ+FUZB8+lc6d/SKDEPziTXVonGWEAHwVncmIs41KM+nPMIG7i4Eji8W4QTKQBgtG n/iYtyWJMaGIu5ymyPTQywrBUMdxYstXnC6YPxg+dA7CVX30a6diZ6zb1IF7lZrv1uCZ lTqlwUUuRE3k6jM2RgKzcqE1OKtizgr9C6+4AjDrYL3kbne6I5JORJwyjRhTAEZuUdi7 fo+YZnFZNAt5ImT5BvrkM+Ed4tRBjByTP09A/ddPLQcwtBFssUeSRCCFzDYxrNTMLA37 ARd58DoGP69GlhPUy2Gt3DrqaXE4u+M7WUExI2hVyrtIGZjpHp1Cwb21F1pOTLvA8dtN FYSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="N1E30/iE"; 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 h2-20020a056402280200b0047f9f11dab3si28965549ede.25.2023.01.21.05.31.56; Sat, 21 Jan 2023 05:32:09 -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="N1E30/iE"; 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 S229788AbjAUNFm (ORCPT + 52 others); Sat, 21 Jan 2023 08:05:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjAUNFi (ORCPT ); Sat, 21 Jan 2023 08:05:38 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54E912942F; Sat, 21 Jan 2023 05:05:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674306327; x=1705842327; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4a3N1Km9mHK9ZXK0JuIPrz6+ArmsXDbFxAx8IVWpHzo=; b=N1E30/iEnlStDMG130B/H/mdsvoLUBLR0g33ip4ehv7V4RPkf0ywogqv s2ilN8InkK7b3HV8VhhOvmfRv9ci1BTkKNZeJRq5Zo2/PTqLlw3QsSFgK rMrlbnREUgZvsTT0AmjRcsopEaE0GQva/G3Ms3Wxb2OnqIz/VYwPNDz4w caWlvSJtGR8Y5DSHalG2RZkFs369sz0c20hEvjuWEwHDN8IKmfxlQmkar OUyxFZ8nKKAV08l42Xb+cZWgITFyHCnYGMGJM2cl9EJoPPKknvc2Yp8s3 N/gcCQTP4wsxwfddvW/2TnnjV9nd/cAsn7TePNetU4Gc/QTroiqqJxAuG Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10596"; a="412015612" X-IronPort-AV: E=Sophos;i="5.97,235,1669104000"; d="scan'208";a="412015612" 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:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10596"; a="654087126" X-IronPort-AV: E=Sophos;i="5.97,235,1669104000"; d="scan'208";a="654087126" 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-00045I-15; Sat, 21 Jan 2023 13:05:21 +0000 Date: Sat, 21 Jan 2023 21:04:31 +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: <202301212023.KjbRqxRz-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-r041-20230119 (https://download.01.org/0day-ci/archive/20230121/202301212023.KjbRqxRz-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) ^ :70: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