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 17155C3DA42 for ; Sat, 13 Jul 2024 15:53:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1A9E66B007B; Sat, 13 Jul 2024 11:53:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 159456B0083; Sat, 13 Jul 2024 11:53:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0520F6B0085; Sat, 13 Jul 2024 11:53:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id DAF696B007B for ; Sat, 13 Jul 2024 11:53:45 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 7A6151A1028 for ; Sat, 13 Jul 2024 15:53:45 +0000 (UTC) X-FDA: 82335174810.01.A9C1189 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by imf20.hostedemail.com (Postfix) with ESMTP id 074161C0019 for ; Sat, 13 Jul 2024 15:53:41 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Z0m9+LzV; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 198.175.65.21 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=1720885987; 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=PVUZJ3UFZUAzwStK3slOSikPAQeUyr67eMmFD+rQNTE=; b=T7YdFu/WK+Du1Jc/09iLXCMi3ckmvqXX+G05DEZ4l8I7OqUhMf7Ou9wAyCv8q6KN+U1k6k Dc209uZSV9lVH737mTQdbfA4/rGydxBEYJCaxSVag00GkX2B1E6n8K3whNNfmVey3cR179 G6FKmiDvBiSHHSmTFGU2uhd7HvmQXfg= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720885987; a=rsa-sha256; cv=none; b=D63IdLdmVrrwdxuPNAooJx+AFkDydyJBoskSHPKsTLRnFMA4wj7BKRBUZH83bX53ESnWIt /eALAX2gmbXlqKznxlvsbrd8GSGYxm/txVayXwx0ssWh6YpV8/B5h/Y6UfBdshLiNispY6 Oa5trl2b/GY4mhfk6zmu9mfOSpW+PgU= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Z0m9+LzV; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 198.175.65.21 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720886022; x=1752422022; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Nj2hqMiS4saL4i2/NaFCwSFWnWAPF9accgdW6Y+ZSMo=; b=Z0m9+LzV5jEMO46TDHFZg2JJb7D9Co+GAqI3/huBYAMLjvSgTwRl/kyG Nez1IOkgzpiAnPSTOfokdkHkLAQizThYHPDc4XYDmMMz7oVlgGNzLK9n+ ERBgFhTUolPsi1lclujU5kLr4HP8NkKNjDIaxoaUnHJ5vccQSKq3O9zBi XoOuKZHBG7cXWshVy5ZBby8z+8hi9usroCikicfyPPNzw3GdFZxO5IHN/ 8N739k9s3dqsGYvCrWu8hdEWnHaL/cQVJTs4RenqRKhNuzOsqHzdR/Ijg 3ksfrHTkI639aF/ljN2rWypfcYXItDPJ6Ae7W1dfe7duIm/KK6G37AKrc g==; X-CSE-ConnectionGUID: PRwo/z/tSMGAGRpX05uo+w== X-CSE-MsgGUID: zU+fkJymT8yCAvYKjy5bkg== X-IronPort-AV: E=McAfee;i="6700,10204,11132"; a="18268492" X-IronPort-AV: E=Sophos;i="6.09,206,1716274800"; d="scan'208";a="18268492" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2024 08:53:40 -0700 X-CSE-ConnectionGUID: iEB8mWg8R9+3txmwsU+gyQ== X-CSE-MsgGUID: Bl39Mo8GTuy7eU3k9/t86w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,206,1716274800"; d="scan'208";a="54028035" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 13 Jul 2024 08:53:33 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sSf3y-000cS6-2M; Sat, 13 Jul 2024 15:53:30 +0000 Date: Sat, 13 Jul 2024 23:53:25 +0800 From: kernel test robot To: Brendan Jackman , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Sean Christopherson , Paolo Bonzini , Alexandre Chartre , Liran Alon , Jan Setje-Eilers , Catalin Marinas , Will Deacon , Mark Rutland , Andrew Morton , Mel Gorman , Lorenzo Stoakes , David Hildenbrand , Vlastimil Babka , Michal Hocko , Khalid Aziz , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Valentin Schneider , Paul Turner , Reiji Watanabe Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: Re: [PATCH 18/26] mm: asi: Map vmalloc/vmap data as nonsesnitive Message-ID: <202407132325.YotidwGR-lkp@intel.com> References: <20240712-asi-rfc-24-v1-18-144b319a40d8@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240712-asi-rfc-24-v1-18-144b319a40d8@google.com> X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 074161C0019 X-Stat-Signature: bpwyqifmk5sycfi97qi8rpu81799uksb X-HE-Tag: 1720886021-267240 X-HE-Meta: U2FsdGVkX18s49pje8WcQKIFdY06csuhVXaLncWSwRa5+ZJgvt013jEaQqzm4Hcj/Iz1YM1F6w8ehAmHqkEB58lB+aXSau6COIZTk+6FWtK3BOyFbFxD8rMr4V8LfBbT+FMxVYlCOyjNlLU+zFEFSAAxWPmrOzQFUG+VCL0eQ2u4S09367rVEUj9FV5hoLa/9YS1mbx4HwT77QpmjKO9JDyVuWYALhnTkUNJUmXzTNy9/KDzFnqSt/YSLYeIqcnrtUVBs1Xi8XZ3/4L61tGsONTJheUTboEuRV2FMrP9qtOrtz5KUjbo5BmzONKoovqP9PgBv0p4WowlTVphZU5ub/M6Sg46bH1RjXOUnhaCgHccDeCNT3GceH4mE5W7279VwzHyC2LZtIMwFWtwP6ns6Y889mbkkQecfnYS2aSoIXhrbQ+2jF6+lrIqcsPQWPSKcnEkOwtTEVqqKbJ7ks8hko8mQlbHyQeRsk2a2/dXs0mvpS7iAg4+h4KCRZuzT6DC3cwYOyc2xTzXQsEFeuRJhIiYnVdmDxuPX3lGFGji5VMCyuAJrGB+G1UBvW6wHOhV5DDuMIPbFqG3Ac47UbIhLFBFHviCzjYLOHqVqi+dmNP5fF2MV3iPmBZYkgTh1wlwQRoKDQjsE1Lvbt8ImssAR6TXf3V/80sNH9oc1FDkPVmxUndCHjWrx2vqhr9iKzLyEAfzdyxIU1CBpNG6OKAsR2CYS4BDpBKrO3QwuAHyyBnQjGOeXgP/PSobdLHsanvRAKZHgbTo+OqbkFmsZlOWnU12LWZs0VPkqX5LUUKqwUZ+W82snOsGIoFRj912GFag0ZUTw55duifBqiJiG2u5fA2HCWf2621fD0jcDDtCGx/yegOd2IQ1lc1lp9YoP2vjDpm0VeL7Mpq2OvA8HLmGexQXnsx3buolRO1VtlhOdiADwgMkwk4hYs2q4dH0Hyi6/4WaFlhkVs5TlCsqU1a MpSWM4pr /5pn2nLc/rH+3k+Jo1FDB3yumA6SgFUuTSVqwuIco4Lev0fbsDwC0yB7SD4wPryoprCiBCJpGFMTMsRM5bjCyyI3BkvRdEFRy5uoZKcmNDaJyWpCAhxdazYXTpw8IbxZV6M3LVB/8S4RwdOhn5Txg4h1/B4oS5tVGMKhFWGXfR9VR2NaCPmXMlTwUEoMV/io3ZeZNEdZjy+ng5bEuqGhzUAlAO4bKnFJN0aJ4frF3jSCBUtYSeFI27M4Bhtq1PHmxWFcgN4J/XfpFN9UN7zJ5I2BtppmORZWOjd8F/l/DiQXY7eA1M83w+dmrhtv2z+hLTVpWHPdi05rRGjvDMUMNBmkpeN5F6h6TJQxi0OUJp3PhR2M= 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: List-Subscribe: List-Unsubscribe: Hi Brendan, kernel test robot noticed the following build warnings: [auto build test WARNING on a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6] url: https://github.com/intel-lab-lkp/linux/commits/Brendan-Jackman/mm-asi-Make-some-utility-functions-noinstr-compatible/20240713-012107 base: a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 patch link: https://lore.kernel.org/r/20240712-asi-rfc-24-v1-18-144b319a40d8%40google.com patch subject: [PATCH 18/26] mm: asi: Map vmalloc/vmap data as nonsesnitive config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240713/202407132325.YotidwGR-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240713/202407132325.YotidwGR-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/202407132325.YotidwGR-lkp@intel.com/ All warnings (new ones prefixed by >>): mm/vmalloc.c: In function 'remove_vm_area': >> mm/vmalloc.c:3192:23: warning: variable 'vm_addr' set but not used [-Wunused-but-set-variable] 3192 | unsigned long vm_addr; | ^~~~~~~ vim +/vm_addr +3192 mm/vmalloc.c 3177 3178 /** 3179 * remove_vm_area - find and remove a continuous kernel virtual area 3180 * @addr: base address 3181 * 3182 * Search for the kernel VM area starting at @addr, and remove it. 3183 * This function returns the found VM area, but using it is NOT safe 3184 * on SMP machines, except for its size or flags. 3185 * 3186 * Return: the area descriptor on success or %NULL on failure. 3187 */ 3188 struct vm_struct *remove_vm_area(const void *addr) 3189 { 3190 struct vmap_area *va; 3191 struct vm_struct *vm; > 3192 unsigned long vm_addr; 3193 3194 might_sleep(); 3195 3196 if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n", 3197 addr)) 3198 return NULL; 3199 3200 va = find_unlink_vmap_area((unsigned long)addr); 3201 if (!va || !va->vm) 3202 return NULL; 3203 vm = va->vm; 3204 vm_addr = (unsigned long) READ_ONCE(vm->addr); 3205 3206 debug_check_no_locks_freed(vm->addr, get_vm_area_size(vm)); 3207 debug_check_no_obj_freed(vm->addr, get_vm_area_size(vm)); 3208 kasan_free_module_shadow(vm); 3209 kasan_poison_vmalloc(vm->addr, get_vm_area_size(vm)); 3210 3211 free_unmap_vmap_area(va); 3212 return vm; 3213 } 3214 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki