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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0781EE49A4 for ; Sun, 10 Sep 2023 21:37:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbjIJVhd (ORCPT ); Sun, 10 Sep 2023 17:37:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbjIJVhc (ORCPT ); Sun, 10 Sep 2023 17:37:32 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A39A7135 for ; Sun, 10 Sep 2023 14:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694381848; x=1725917848; h=date:from:to:cc:subject:message-id:mime-version; bh=802+mKRUlaFECm3mvQ0aDAf4yFcgr9gSW87FJ5U5pk8=; b=PkMZLHnqHQm+khDyKLxc8kNhcX0yZdIy5rafFpUXEXKYVtdxNbwv9We5 ee9ia4PIwd3QtS/IjIxdWfl9DTrj31WvvWP7Lu/yXZzRS1VJMHJLMXgqJ hzKyxmiRVd1/5Y9Rozx2dsghC1FfJ2c+uqHqI3NkMyvNgmN1drKHtXcG7 sjIDr9AVw1Z4O2+4CJcG4/MvhU0fIhqSDSzAI9BbkXVDk7DPsdAScpOpI 2qy4QSIB5+iCCg8k8fc3YIBtJGH81GA7hNEpg8JrGszjsVf1gwmYFlOE5 A/fDHbAkNGzsmtEVcAUpwsj5OyV8XsrTt9btGm2XJ4xWgAmVqYSwUO/jF g==; X-IronPort-AV: E=McAfee;i="6600,9927,10829"; a="408902717" X-IronPort-AV: E=Sophos;i="6.02,243,1688454000"; d="scan'208";a="408902717" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2023 14:37:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10829"; a="746194410" X-IronPort-AV: E=Sophos;i="6.02,243,1688454000"; d="scan'208";a="746194410" Received: from lkp-server01.sh.intel.com (HELO 59b3c6e06877) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 10 Sep 2023 14:37:25 -0700 Received: from kbuild by 59b3c6e06877 with local (Exim 4.96) (envelope-from ) id 1qfS7P-0005RU-2J; Sun, 10 Sep 2023 21:37:23 +0000 Date: Mon, 11 Sep 2023 05:36:33 +0800 From: kernel test robot To: Patricia Alfonso Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Richard Weinberger , Vincent Whitchurch , David Gow , Johannes Berg , Dmitry Vyukov , Andrey Konovalov Subject: mm/kasan/kasan.h:485:2: error: #error kasan_arch_is_ready only works in KASAN generic outline mode! Message-ID: <202309110520.SZfumSJ2-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Patricia, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1548b060d6f32a00a2f7e2c11328205fb66fc4fa commit: 5b301409e8bc5d7fad2ee138be44c5c529dd0874 UML: add support for KASAN under x86_64 date: 1 year, 2 months ago config: um-randconfig-r026-20230911 (https://download.01.org/0day-ci/archive/20230911/202309110520.SZfumSJ2-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230911/202309110520.SZfumSJ2-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/202309110520.SZfumSJ2-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from mm/kasan/quarantine.c:25: >> mm/kasan/kasan.h:485:2: error: #error kasan_arch_is_ready only works in KASAN generic outline mode! 485 | #error kasan_arch_is_ready only works in KASAN generic outline mode! | ^~~~~ vim +485 mm/kasan/kasan.h e2db1a9aa38149 Andrey Konovalov 2021-02-25 481 af3751f3c2b628 Daniel Axtens 2021-06-28 482 #ifndef kasan_arch_is_ready af3751f3c2b628 Daniel Axtens 2021-06-28 483 static inline bool kasan_arch_is_ready(void) { return true; } af3751f3c2b628 Daniel Axtens 2021-06-28 484 #elif !defined(CONFIG_KASAN_GENERIC) || !defined(CONFIG_KASAN_OUTLINE) af3751f3c2b628 Daniel Axtens 2021-06-28 @485 #error kasan_arch_is_ready only works in KASAN generic outline mode! af3751f3c2b628 Daniel Axtens 2021-06-28 486 #endif af3751f3c2b628 Daniel Axtens 2021-06-28 487 :::::: The code at line 485 was first introduced by commit :::::: af3751f3c2b6282bebcb56c35bbe4c8b671f80aa kasan: allow architectures to provide an outline readiness check :::::: TO: Daniel Axtens :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki