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 D5530C001B0 for ; Wed, 19 Jul 2023 08:39:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 284B428003F; Wed, 19 Jul 2023 04:39:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 234BA28003D; Wed, 19 Jul 2023 04:39:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0FC9428003F; Wed, 19 Jul 2023 04:39:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id F160728003D for ; Wed, 19 Jul 2023 04:39:01 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id C09B71C7BAC for ; Wed, 19 Jul 2023 08:39:01 +0000 (UTC) X-FDA: 81027711282.12.91593A4 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf21.hostedemail.com (Postfix) with ESMTP id 3F5BC1C0020 for ; Wed, 19 Jul 2023 08:38:57 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=e81ypBP8; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 192.55.52.136 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=1689755939; 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: references:dkim-signature; bh=iySv4rom7Lq5l720KjLcWvZ9IduiXp28rVWCjFU25Ho=; b=hqVOHceaUxN70Fs5YsUsnGT/ttK3sCrxcXZ09C3uHP8yddyw4wSM19AS1pw5Z94psXCXoy NDAlJycqDtBoBWVZq1vsaBTrGKOr++ha9JCQl2orqc1FlLIoYr9LQhZ4bT1AZlfnV1k8rY plJZDBRnI0lqwSUpwHJCLIF08CfKdDE= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=e81ypBP8; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 192.55.52.136 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=1689755939; a=rsa-sha256; cv=none; b=3uG1BhVb4ovzoofBKsIzc6/7x/T5C7bnptCYqxOh4Q9MTUucIkjxevjoCzhwILXdqHnjOQ YcFRzAD9uHJhOLHTCL5QSYgSW5q/nLLhQRiJePCDHhRypLCzYB1MifN/TC6QgykKUpgtIG wH3KzLBaZTR7JPi20eHTrzhabFBdkT4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689755938; x=1721291938; h=date:from:to:cc:subject:message-id:mime-version; bh=PljkCzmv70CLHzZ+TcZ8NNSW3ZmnJ6TXU3n4UIAcHZc=; b=e81ypBP8F/N7xzZ2mzKYFdNqFwPKpi5N7j92sfp74VdcRMlsMLiAKuYs stYw/BdGDaR0gpE46MBkugGrGxkcbQbgY7lOoPdML/aCFY99cx+6dktuD OSf0rpnWTCyHu2nB9b6lexy//NzbQDjIblkhMUk925QAoo1zmQm5g5QP5 sILzGtgXJdCCHsJMildt8k7EkOO5Fq8JWcLQ9dZE6yaqYxkw7SZK4m9Ut ICQsZGP792JyyZvnx6Fhn/+G9AloLV3n8yYQsCQ6EkzCt9Jvb7nN2gfXx f52dCtTWcIs4lBzSp9GEwYiv2mgHm1H6enlUKREu9KNmKFvinCVoXB2hK g==; X-IronPort-AV: E=McAfee;i="6600,9927,10775"; a="345999007" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="345999007" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 01:38:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10775"; a="793929728" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="793929728" Received: from lkp-server02.sh.intel.com (HELO 36946fcf73d7) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 19 Jul 2023 01:38:54 -0700 Received: from kbuild by 36946fcf73d7 with local (Exim 4.96) (envelope-from ) id 1qM2hg-0004LL-20; Wed, 19 Jul 2023 08:38:46 +0000 Date: Wed, 19 Jul 2023 16:37:43 +0800 From: kernel test robot To: Alistair Popple Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 3179/3438] arch/arm64/include/asm/tlbflush.h:268:46: error: use of undeclared identifier 'vma' Message-ID: <202307191649.ycQFKdJ9-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 3F5BC1C0020 X-Rspam-User: X-Stat-Signature: p1judiiaetfqiu6aqxs7cpqfd38ejosu X-Rspamd-Server: rspam01 X-HE-Tag: 1689755937-80755 X-HE-Meta: U2FsdGVkX1+br1Ox6Q37JEBdcTyrKiuD0Jh1O79hux95iWakI3AAdpst4FUovkGqBccD0DJcbhi2cVHADECOC3/3Y3O//6ivZvgby7zJSGI3XgR90CL9TSeGmlFzor6bbYcfmK6D9U1D3rKivw2jkysQ78rVBk8GWf4cr3ClN8Qp5lErMMys5l2o8TEfR0oerLwgUX0idiS6KGkrfLpQrfkQTEUxlMJepw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: 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 352ce39a8bbaec0405793682be59fae120fc6b05 commit: 8c2be11e06f44391db3fc426528d8f17aa570992 [3179/3438] mmu_notifiers: call arch_invalidate_secondary_tlbs() when invalidating TLBs config: arm64-randconfig-r021-20230718 (https://download.01.org/0day-ci/archive/20230719/202307191649.ycQFKdJ9-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce: (https://download.01.org/0day-ci/archive/20230719/202307191649.ycQFKdJ9-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/202307191649.ycQFKdJ9-lkp@intel.com/ Note: the linux-next/master HEAD 352ce39a8bbaec0405793682be59fae120fc6b05 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): In file included from arch/arm64/kernel/asm-offsets.c:10: In file included from include/linux/arm_sdei.h:8: In file included from include/acpi/ghes.h:5: In file included from include/acpi/apei.h:9: In file included from include/linux/acpi.h:13: In file included from include/linux/resource_ext.h:11: In file included from include/linux/slab.h:179: In file included from include/linux/kasan.h:33: In file included from include/linux/pgtable.h:6: In file included from arch/arm64/include/asm/pgtable.h:15: >> arch/arm64/include/asm/tlbflush.h:268:46: error: use of undeclared identifier 'vma' 268 | mmu_notifier_arch_invalidate_secondary_tlbs(vma->vm_mm, uaddr & PAGE_MASK, | ^ In file included from arch/arm64/kernel/asm-offsets.c:10: In file included from include/linux/arm_sdei.h:8: In file included from include/acpi/ghes.h:5: In file included from include/acpi/apei.h:9: In file included from include/linux/acpi.h:14: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:97:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 97 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/arm64/kernel/asm-offsets.c:10: In file included from include/linux/arm_sdei.h:8: In file included from include/acpi/ghes.h:5: In file included from include/acpi/apei.h:9: In file included from include/linux/acpi.h:14: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:97:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 97 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/arm64/kernel/asm-offsets.c:10: In file included from include/linux/arm_sdei.h:8: In file included from include/acpi/ghes.h:5: In file included from include/acpi/apei.h:9: In file included from include/linux/acpi.h:14: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/arm64/kernel/asm-offsets.c:10: In file included from include/linux/arm_sdei.h:8: In file included from include/acpi/ghes.h:5: In file included from include/acpi/apei.h:9: In file included from include/linux/acpi.h:14: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:100:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 100 | return (set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/arm64/kernel/asm-offsets.c:10: In file included from include/linux/arm_sdei.h:8: In file included from include/acpi/ghes.h:5: In file included from include/acpi/apei.h:9: In file included from include/linux/acpi.h:14: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:113:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 113 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here vim +/vma +268 arch/arm64/include/asm/tlbflush.h 258 259 static inline void __flush_tlb_page_nosync(struct mm_struct *mm, 260 unsigned long uaddr) 261 { 262 unsigned long addr; 263 264 dsb(ishst); 265 addr = __TLBI_VADDR(uaddr, ASID(mm)); 266 __tlbi(vale1is, addr); 267 __tlbi_user(vale1is, addr); > 268 mmu_notifier_arch_invalidate_secondary_tlbs(vma->vm_mm, uaddr & PAGE_MASK, 269 (uaddr & PAGE_MASK) + PAGE_SIZE); 270 } 271 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki