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 6E21DC27C76 for ; Sat, 28 Jan 2023 07:25:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CAF3F6B0074; Sat, 28 Jan 2023 02:25:36 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C38666B0075; Sat, 28 Jan 2023 02:25:36 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AB1BC6B0078; Sat, 28 Jan 2023 02:25:36 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 9863B6B0074 for ; Sat, 28 Jan 2023 02:25:36 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 65E06140482 for ; Sat, 28 Jan 2023 07:25:36 +0000 (UTC) X-FDA: 80403372672.01.411093D Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf18.hostedemail.com (Postfix) with ESMTP id 5BC951C0008 for ; Sat, 28 Jan 2023 07:25:32 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Md6rpm9X; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 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=1674890734; a=rsa-sha256; cv=none; b=AikwRLiQeAiQcQQCgpivHHlgNWV6CJlDQPduhlqZK6NjdgPNSVhupAgSAHq1ZkqWKnqcw0 XOvI4zs14JflZZ6wA9Ov0GucodwnJRDlAxElOqui6yWr8N/THu3qTJ4AFjJfNu+siZgeSz vj9YW+mnlV/x1bQIhRkbIMDtrje06Ck= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Md6rpm9X; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 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=1674890734; 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=q3kNCVFOmUtWDKZ+314ZomMFwQ+E1E2zfrIONLiBkhQ=; b=hi6CAePBq5X+dISLDYqRqTCQqKSCoR027YNM62U6LQjYGKkSg5tPgZr502h+lXWXDAWmE5 z5iOUijDC9W5fTYmsI72fcVPEzXhHtA0peanWYtrTL8Dn3AtcM3U2aNyEIPDhsrFm5qUKN uBHIuxdPSGElJIsyCssyB0tM/S1JYDs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674890732; x=1706426732; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eDXPzbDiWfsbEwXkYaH34SmQGKn8//5UxGIVNNo7RcU=; b=Md6rpm9Xi7ecxHC1x/RGyVT1lI8z+LvUJR3qjZhkT1xUsOmxloe0jKdl HERpPaxOliztndz3XkjGqPdmyaYsssIRe734b4S3tOwKZk2pChJ+oWwCf S60ncns/xWHpMqgzfTttzVoiXSwWBME6bzMVWP4KUSIwBtIhL0l4Xq0rd 3V80vTjb0yPZbbFlxBGXOrsNcxv0vsD9baAiTH6Iq9Q+eaKv/nlgAkOE8 bs6sGogknm7+EBqayxSJZ92sO2RXyUYADjPPURSyAVzsMjGG8gm2nzoOK D9lB1TC9TK6GAfViJYOtF2hIEuwLZddC79atH5LMf4Ra0F65OJ9bbkSRj w==; X-IronPort-AV: E=McAfee;i="6500,9779,10603"; a="315225929" X-IronPort-AV: E=Sophos;i="5.97,253,1669104000"; d="scan'208";a="315225929" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2023 23:25:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10603"; a="663539356" X-IronPort-AV: E=Sophos;i="5.97,253,1669104000"; d="scan'208";a="663539356" Received: from lkp-server01.sh.intel.com (HELO ffa7f14d1d0f) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 27 Jan 2023 23:25:22 -0800 Received: from kbuild by ffa7f14d1d0f with local (Exim 4.96) (envelope-from ) id 1pLfaS-0000U6-36; Sat, 28 Jan 2023 07:25:20 +0000 Date: Sat, 28 Jan 2023 15:24:41 +0800 From: kernel test robot To: Byungchul Park , linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, torvalds@linux-foundation.org, damien.lemoal@opensource.wdc.com, linux-ide@vger.kernel.org, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, will@kernel.org, tglx@linutronix.de, rostedt@goodmis.org, joel@joelfernandes.org, sashal@kernel.org, daniel.vetter@ffwll.ch, duyuyang@gmail.com, johannes.berg@intel.com, tj@kernel.org, tytso@mit.edu, willy@infradead.org, david@fromorbit.com, amir73il@gmail.com, gregkh@linuxfoundation.org, kernel-team@lge.com, linux-mm@kvack.org, akpm@linux-foundation.org, mhocko@kernel.org, minchan@kernel.org, hannes@cmpxchg.org, vdavydov.dev@gmail.com, sj@kernel.org Subject: Re: [PATCH v8 05/25] dept: Tie to Lockdep and IRQ tracing Message-ID: <202301281551.sSDuxg0O-lkp@intel.com> References: <1674782358-25542-6-git-send-email-max.byungchul.park@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1674782358-25542-6-git-send-email-max.byungchul.park@gmail.com> X-Rspam-User: X-Rspamd-Queue-Id: 5BC951C0008 X-Rspamd-Server: rspam01 X-Stat-Signature: sus7nmhyhsgqr4fry8nn5dqnaxeddkua X-HE-Tag: 1674890732-985520 X-HE-Meta: U2FsdGVkX197QUEUqSw630qRwDj/ZY/1VGciJ+ScZ+MI6SnVpZZtaYlqaQULDQe+ttDYcQkeXgRWjSLr1pJKvT80ih7ZAE5jSfVv7He/Z8aefR/KZviPvwm3bH4dGDoDw46vPXTUkgyWTDj7JMFoyUDqWnsU11yGNVrLlHlRV7NZjYDG5XOdxZeEwgRcj+D/zBXIVWNS629yT2mZFEH53CbIqjwB+XVUOtA+kgbdWW9CPaApTE6I5DipS4wQ9XGNpVUHPptwtwNLKm7pgxSA4Q0esKlKNr8dpbJvQnkDZxIHEvPB06RWdiATas5yPX7Fh3dvLmQk47uXwTvDY0v+VQ1/fMJHhUAkxsW9UnWkM3p3myLmiJJPryXbKO+1rW+JxHyG7HVbB3cpq2kjTCO8uEVYHJswVrqvJmki/tdV3WjL+L76N87ZA2YhbOQ1Nq3NvmpHA5JQ2eD2nABYzYEDGQeHP2w2ifuZFwb5Y52KBxnXuD4Kd5HQJFneS0/U9Ux5xWw/7RJVGC6c+kBFuVVh8ikc6mHPYraQN1/iGQqCamIUZWa+w6Ou6tn0QNpPzcFU/FOdWzUFDfn507yrwi8nNpdBvmu0qLoPQeIZRBqylds3Xq2p+1H0IHG8UgX+APmbsDuas3b9BTgx1vf7Gmcx9uXdyswwKq4p3Ko0H/Zdr4fHLfrz1eLQfzOgVHZpuraQqBoxQSrq4Hy39ZGixFWo6/RGsRyooB457gu82vi71YiAfrB+Khsa1cvn0pyX8GNf+vszDKfKAbuNUW3oo7qYISPRyWNH+Pi/2WODi35DIXjq8+aCXoXhWWN2eWHLS1YAKpmNMo2Wn1Qtt2GS9ZDRyUFU560bW0qttlrKAtJGvrg+HOrstFPXV4GtIu3RhpojoXZGtPXm39/i5bSsnsP17EByT84B+xyk6vc6K+1MirPNquGJ3INDSDRVL2qL0IWENroQ8GgT0XUsma1BsJ+ m+3hnhSI Qewr2UHaXyHeKaqDxbk1SKoOksTKUGnjTMQyi9V02HSF8O3yv8LiIM/8qrxXlBRFntA5OWFY0fmq/WYNpCrD3fdeOyKocrqHAJqOrJ6i7fFsQmVSS0IwhBe0Rvvd2e2T7/QHY956WQ5mjZaJXPBQmXmYw1Tq8sZJNHka/DAjbEQL07R0XcyN5snAE2npgIJB9cC1eoN1W2YKXqJajs41fBpOH3PVUAkIAWZEFMgA+kKBvA+XD7vPjRKWn1pjsHhU4R58aBTtSkEsDbhDuTRmnBi0Z9suKqvBENEvwCwbuG6n0PtoqfPbTTwl2swihLr2M2+CG+J4FfRSPV8bLG6z1sqGo5q5/HkqyURtBJvPo5q2ra4ejbUIwW/fngosljX6+p8YWcQ3tRO6eRX75uqveDeTyo/hRWeDXOJYmfUozxHHhDom6sYpUwS1UYHT7MZhjHaB6G2VqtlbCO29aVxJ9eazBZ0VpczTPQJSlXs1cEYO54UpQcJLsEA947fJuQKJZg9FeM+gYSCb5plcXCj6cWk3YHJECHe1CR5aF83UNkmOVyoinYA58+a/0ig== 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: Hi Byungchul, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/locking/core] [also build test ERROR on tip/sched/core drm-misc/drm-misc-next linus/master v6.2-rc5 next-20230127] [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/Byungchul-Park/llist-Move-llist_-head-node-definition-to-types-h/20230128-102456 patch link: https://lore.kernel.org/r/1674782358-25542-6-git-send-email-max.byungchul.park%40gmail.com patch subject: [PATCH v8 05/25] dept: Tie to Lockdep and IRQ tracing config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20230128/202301281551.sSDuxg0O-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 12.1.0 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/aed5169e3b6767146ee602447fcf75b4c734d2db git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Byungchul-Park/llist-Move-llist_-head-node-definition-to-types-h/20230128-102456 git checkout aed5169e3b6767146ee602447fcf75b4c734d2db # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): In file included from include/linux/bitops.h:68, from include/linux/kernel.h:22, from include/linux/irqflags.h:16, from include/asm-generic/cmpxchg-local.h:6, from arch/parisc/include/asm/cmpxchg.h:89, from arch/parisc/include/asm/atomic.h:10, from include/linux/atomic.h:7, from include/linux/rcupdate.h:25, from include/linux/rculist.h:11, from include/linux/pid.h:5, from include/linux/sched.h:14, from arch/parisc/kernel/asm-offsets.c:18: arch/parisc/include/asm/bitops.h: In function 'set_bit': >> arch/parisc/include/asm/bitops.h:27:9: error: implicit declaration of function '_atomic_spin_lock_irqsave'; did you mean '__atomic_is_lock_free'? [-Werror=implicit-function-declaration] 27 | _atomic_spin_lock_irqsave(addr, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | __atomic_is_lock_free >> arch/parisc/include/asm/bitops.h:29:9: error: implicit declaration of function '_atomic_spin_unlock_irqrestore' [-Werror=implicit-function-declaration] 29 | _atomic_spin_unlock_irqrestore(addr, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/parisc/include/asm/bitops.h:204: include/asm-generic/bitops/lock.h: In function 'arch_test_and_set_bit_lock': >> include/asm-generic/bitops/lock.h:28:15: error: implicit declaration of function 'arch_atomic_long_fetch_or_acquire' [-Werror=implicit-function-declaration] 28 | old = arch_atomic_long_fetch_or_acquire(mask, (atomic_long_t *)p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> include/asm-generic/bitops/lock.h:28:56: error: 'atomic_long_t' undeclared (first use in this function); did you mean 'atomic_t'? 28 | old = arch_atomic_long_fetch_or_acquire(mask, (atomic_long_t *)p); | ^~~~~~~~~~~~~ | atomic_t include/asm-generic/bitops/lock.h:28:56: note: each undeclared identifier is reported only once for each function it appears in >> include/asm-generic/bitops/lock.h:28:71: error: expected expression before ')' token 28 | old = arch_atomic_long_fetch_or_acquire(mask, (atomic_long_t *)p); | ^ include/asm-generic/bitops/lock.h: In function 'arch_clear_bit_unlock': >> include/asm-generic/bitops/lock.h:44:9: error: implicit declaration of function 'arch_atomic_long_fetch_andnot_release' [-Werror=implicit-function-declaration] 44 | arch_atomic_long_fetch_andnot_release(BIT_MASK(nr), (atomic_long_t *)p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/bitops/lock.h:44:62: error: 'atomic_long_t' undeclared (first use in this function); did you mean 'atomic_t'? 44 | arch_atomic_long_fetch_andnot_release(BIT_MASK(nr), (atomic_long_t *)p); | ^~~~~~~~~~~~~ | atomic_t include/asm-generic/bitops/lock.h:44:77: error: expected expression before ')' token 44 | arch_atomic_long_fetch_andnot_release(BIT_MASK(nr), (atomic_long_t *)p); | ^ include/asm-generic/bitops/lock.h: In function 'arch___clear_bit_unlock': >> include/asm-generic/bitops/lock.h:66:9: error: implicit declaration of function 'arch_atomic_long_set_release' [-Werror=implicit-function-declaration] 66 | arch_atomic_long_set_release((atomic_long_t *)p, old); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/bitops/lock.h:66:39: error: 'atomic_long_t' undeclared (first use in this function); did you mean 'atomic_t'? 66 | arch_atomic_long_set_release((atomic_long_t *)p, old); | ^~~~~~~~~~~~~ | atomic_t include/asm-generic/bitops/lock.h:66:54: error: expected expression before ')' token 66 | arch_atomic_long_set_release((atomic_long_t *)p, old); | ^ include/asm-generic/bitops/lock.h: In function 'arch_clear_bit_unlock_is_negative_byte': include/asm-generic/bitops/lock.h:86:60: error: 'atomic_long_t' undeclared (first use in this function); did you mean 'atomic_t'? 86 | old = arch_atomic_long_fetch_andnot_release(mask, (atomic_long_t *)p); | ^~~~~~~~~~~~~ | atomic_t include/asm-generic/bitops/lock.h:86:75: error: expected expression before ')' token 86 | old = arch_atomic_long_fetch_andnot_release(mask, (atomic_long_t *)p); | ^ In file included from include/linux/atomic.h:81: include/linux/atomic/atomic-long.h: At top level: >> include/linux/atomic/atomic-long.h:539:1: warning: conflicting types for 'arch_atomic_long_set_release'; have 'void(atomic_long_t *, long int)' {aka 'void(atomic_t *, long int)'} 539 | arch_atomic_long_set_release(atomic_long_t *v, long i) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> include/linux/atomic/atomic-long.h:539:1: error: static declaration of 'arch_atomic_long_set_release' follows non-static declaration include/asm-generic/bitops/lock.h:66:9: note: previous implicit declaration of 'arch_atomic_long_set_release' with type 'void(atomic_long_t *, long int)' {aka 'void(atomic_t *, long int)'} 66 | arch_atomic_long_set_release((atomic_long_t *)p, old); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> include/linux/atomic/atomic-long.h:809:1: error: conflicting types for 'arch_atomic_long_fetch_andnot_release'; have 'long int(long int, atomic_long_t *)' {aka 'long int(long int, atomic_t *)'} 809 | arch_atomic_long_fetch_andnot_release(long i, atomic_long_t *v) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/bitops/lock.h:44:9: note: previous implicit declaration of 'arch_atomic_long_fetch_andnot_release' with type 'int()' 44 | arch_atomic_long_fetch_andnot_release(BIT_MASK(nr), (atomic_long_t *)p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> include/linux/atomic/atomic-long.h:833:1: error: conflicting types for 'arch_atomic_long_fetch_or_acquire'; have 'long int(long int, atomic_long_t *)' {aka 'long int(long int, atomic_t *)'} 833 | arch_atomic_long_fetch_or_acquire(long i, atomic_long_t *v) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/bitops/lock.h:28:15: note: previous implicit declaration of 'arch_atomic_long_fetch_or_acquire' with type 'int()' 28 | old = arch_atomic_long_fetch_or_acquire(mask, (atomic_long_t *)p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:114: arch/parisc/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:1298: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:242: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +27 arch/parisc/include/asm/bitops.h ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 14 a366064c3ff46c include/asm-parisc/bitops.h Grant Grundler 2005-10-21 15 /* See http://marc.theaimsgroup.com/?t=108826637900003 for discussion a366064c3ff46c include/asm-parisc/bitops.h Grant Grundler 2005-10-21 16 * on use of volatile and __*_bit() (set/clear/change): a366064c3ff46c include/asm-parisc/bitops.h Grant Grundler 2005-10-21 17 * *_bit() want use of volatile. a366064c3ff46c include/asm-parisc/bitops.h Grant Grundler 2005-10-21 18 * __*_bit() are "relaxed" and don't use spinlock or volatile. a366064c3ff46c include/asm-parisc/bitops.h Grant Grundler 2005-10-21 19 */ a366064c3ff46c include/asm-parisc/bitops.h Grant Grundler 2005-10-21 20 a366064c3ff46c include/asm-parisc/bitops.h Grant Grundler 2005-10-21 21 static __inline__ void set_bit(int nr, volatile unsigned long * addr) ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 22 { 208151bfb70fb7 arch/parisc/include/asm/bitops.h Helge Deller 2020-06-14 23 unsigned long mask = BIT_MASK(nr); ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 24 unsigned long flags; ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 25 208151bfb70fb7 arch/parisc/include/asm/bitops.h Helge Deller 2020-06-14 26 addr += BIT_WORD(nr); ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 @27 _atomic_spin_lock_irqsave(addr, flags); ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 28 *addr |= mask; ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 @29 _atomic_spin_unlock_irqrestore(addr, flags); ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 30 } ^1da177e4c3f41 include/asm-parisc/bitops.h Linus Torvalds 2005-04-16 31 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests