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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD882ECAAD3 for ; Sun, 4 Sep 2022 13:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e75F5nEtlPBrAViD3KiMGqjk4yOT9j8J8m/+B87nCJg=; b=Y7ZnR82ZHXN54V NaIjkj32EyvtiqBRyXRiVq/u/DTCo8tp0lldJo6t+np0KL0YEaYuysD+qMIkB/vysx+gcYJmVGx2z IdaY7L15sbMPZl9SXFHsITDta2BJ5ddEndR4Nk9NuTCCfinRg4mYXBywY4tJoMOXRp/BqejYLXZNC vYIlIuGxoKtPim8kKdn+og5XRUszFz7XeMF0idSZmqeeqU+dNApwE0h725eGameaTAU0lUPCriHxP Zae0E7vQmq9rQIQ94oRtoiVkrq2bC9sDS4CBpUHkvC726WmyzoBRE3QZ6PRVE7SynGiWs3O4BCv6w 3IbeT1uVqIPUxk3OWd1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUpLC-0064vg-IZ; Sun, 04 Sep 2022 13:07:10 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUpL7-0064l8-Go for linux-arm-kernel@lists.infradead.org; Sun, 04 Sep 2022 13:07:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662296825; x=1693832825; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6A4OjJMzJBygfQiNsLjRMXrJIX/atc5UieMQINHuyWI=; b=iDgqWVSxrv4uBlFS1NgEe27C5yNrP0tLJ6wqcie/EYjmNw7quAr63ZVR EfVt8dJFP6gM5gkeSuKAZ+/ToSzOPmzUaOkvDUH6IicOyLzM7apPIztJB HZgM9dt7BiAzsl3MajEIP5quHgLRMeoZ8o+Vnv1bC9FjW5tCMBSy7utA+ FpXroYymxiPgNUCq82b9Z3tvagcM+az9WBBV1NAgoyool+fnqIz7a/qz+ fSEXKeNfUFM6LhPKhq6Bvqn+JU7OG3OMhZJ0zs2HWt9lTNXot1p6im77e o3lOzp3g/lllv4SlNNSc4ouESl8Os6iQJck5d+t8NqlexunfBbSt8SvRS Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10459"; a="283232098" X-IronPort-AV: E=Sophos;i="5.93,289,1654585200"; d="scan'208";a="283232098" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2022 06:06:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,289,1654585200"; d="scan'208";a="681773224" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 04 Sep 2022 06:06:55 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oUpKw-000359-3B; Sun, 04 Sep 2022 13:06:54 +0000 Date: Sun, 4 Sep 2022 21:05:59 +0800 From: kernel test robot To: Evgenii Stepanov , Catalin Marinas , Peter Collingbourne Cc: kbuild-all@lists.01.org, Kenny Root , Marc Zyngier , Will Deacon , Vincenzo Frascino , Andrey Konovalov , Mark Brown , Linux ARM , LKML , Evgenii Stepanov Subject: Re: [PATCH v3] arm64: mte: move register initialization to C Message-ID: <202209042051.7ivKujfl-lkp@intel.com> References: <20220901211954.750634-1-eugenis@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220901211954.750634-1-eugenis@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220904_060705_653222_D208DC1E X-CRM114-Status: GOOD ( 17.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Evgenii, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on linus/master v6.0-rc3 next-20220901] [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/Evgenii-Stepanov/arm64-mte-move-register-initialization-to-C/20220902-052059 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: arm64-randconfig-c033-20220904 (https://download.01.org/0day-ci/archive/20220904/202209042051.7ivKujfl-lkp@intel.com/config) compiler: aarch64-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/23927b7e78758b39d3463ae0a79b6b1af8fdef8b git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Evgenii-Stepanov/arm64-mte-move-register-initialization-to-C/20220902-052059 git checkout 23927b7e78758b39d3463ae0a79b6b1af8fdef8b # 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=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/arm64/kernel/suspend.c:34:13: warning: no previous prototype for 'cpu_suspend_set_dbg_restorer' [-Wmissing-prototypes] 34 | void __init cpu_suspend_set_dbg_restorer(int (*hw_bp_restore)(unsigned int)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/suspend.c: In function '__cpu_suspend_exit': >> arch/arm64/kernel/suspend.c:46:9: error: implicit declaration of function 'mte_suspend_exit'; did you mean 'mte_suspend_enter'? [-Werror=implicit-function-declaration] 46 | mte_suspend_exit(); | ^~~~~~~~~~~~~~~~ | mte_suspend_enter cc1: some warnings being treated as errors vim +46 arch/arm64/kernel/suspend.c 41 42 void notrace __cpu_suspend_exit(void) 43 { 44 unsigned int cpu = smp_processor_id(); 45 > 46 mte_suspend_exit(); 47 48 /* 49 * We are resuming from reset with the idmap active in TTBR0_EL1. 50 * We must uninstall the idmap and restore the expected MMU 51 * state before we can possibly return to userspace. 52 */ 53 cpu_uninstall_idmap(); 54 55 /* Restore CnP bit in TTBR1_EL1 */ 56 if (system_supports_cnp()) 57 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), idmap_pg_dir); 58 59 /* 60 * PSTATE was not saved over suspend/resume, re-enable any detected 61 * features that might not have been set correctly. 62 */ 63 __uaccess_enable_hw_pan(); 64 65 /* 66 * Restore HW breakpoint registers to sane values 67 * before debug exceptions are possibly reenabled 68 * by cpu_suspend()s local_daif_restore() call. 69 */ 70 if (hw_breakpoint_restore) 71 hw_breakpoint_restore(cpu); 72 73 /* 74 * On resume, firmware implementing dynamic mitigation will 75 * have turned the mitigation on. If the user has forcefully 76 * disabled it, make sure their wishes are obeyed. 77 */ 78 spectre_v4_enable_mitigation(NULL); 79 80 /* Restore additional feature-specific configuration */ 81 ptrauth_suspend_exit(); 82 } 83 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel