Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2881194rdh; Mon, 30 Oct 2023 10:13:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmXi+CyZFfNR/klEdRekiiVQv2pjtwDSe6vgOSQe3Pb3k4t3X6odte8nzvRCUuvflEwRDJ X-Received: by 2002:a05:6a20:7da4:b0:154:4246:d63b with SMTP id v36-20020a056a207da400b001544246d63bmr10200310pzj.25.1698686030082; Mon, 30 Oct 2023 10:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698686030; cv=none; d=google.com; s=arc-20160816; b=hrnCKKYt4OjtY2I2ioeBqgVknPxnniWrlTh8qf7g/bIT5h048QpnW6GhQ+/8t1Tjrq 05kf73kRsQNfHyI3S26Co3BLsK8BWRpDBnhLFnyf3qo4jwuR+tgXl5ZasVuPUUdy9XRc aPu9mohBOUHsv6TlB75jCwrKm37RhEFPdPIZ3n+Kgc7DbJw1lhSAX1tv6AdYgdILkXUa 5ldxz4sjybVLuRn7i/nitZbWo/EpiJDYS0yen/fsZqcA/r5WRTmhd+hV7VoX0rhXBbzj 4amFBXJ+DoXIKo5I0Wx5D/byE4ZTVUq3iTESMb/Cw7KTroHTaZn0vZ9DJ3ZgwOWy7AH5 HfAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=qbVdqX8eMRDwGg9D6rsA8+G1OZD9dVEPjBnfPgsIjFg=; fh=8P6f6W/Wf4+VDAwF4mUIkkyqXO1y2aTcj2/3dlL8his=; b=nDcIw3S81s0C8P03Vrrcdm/P53I0JtAqE8kX/bCOSM31W0+lZBE9eEEUwkK0Wxog5x IA+U6Y2PjK1vOxomez3z4FeXEMrq4XTSzKMIJR01aWourVnQpiDWuoMSuz14nsh/iigg 4J3b5X/CPA+kkdS66/WTSqUNIOzG9zdtczgNCDEnE2d7fBFHWyEwp8KP1y07GM66cPc1 RZp00jjOynljxGJiY67O7M48wO5u7A9nubDQf23UGtPH/ISkq2QUj+IUB1lvl5v8XRHi bTM7M9x7HAa3IxmDjhoOnM/ewFDTwJT6kujDWOd9dKjtlr8nglH4G5J0vuv0ivuVkkuX TWdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Aqs3vrI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k14-20020aa79d0e000000b0068fce6a86acsi5213046pfp.121.2023.10.30.10.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 10:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Aqs3vrI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2739380A9ABF; Mon, 30 Oct 2023 10:13:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229883AbjJ3RNj (ORCPT + 99 others); Mon, 30 Oct 2023 13:13:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjJ3RNi (ORCPT ); Mon, 30 Oct 2023 13:13:38 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1110A9 for ; Mon, 30 Oct 2023 10:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698686016; x=1730222016; h=date:from:to:cc:subject:message-id:mime-version; bh=UAM5kOhkq2r4Ipo1V+HjY5mgzZ17wge1G3oRtX1N1TE=; b=Aqs3vrI0Xd9vgBzNk1dAGRNa97FFlqJ4Tn8yxfFdkg9JKfAwbP7QMrt+ asx1zSgPsqbJO8E1t+L0tZc/Y2ohpoor3iPcRmoBgWzmwSArb5q3bARFI UY43hA4o15oThI8bwzujFgLEhahyPRlqiERxhEkepKScM3njfQiKV8WC+ KaMgcYhMbZ1TZtojEhgPZZ1OWiW8wLDdac6eBd8u0UlwtRvJWHuf4BJl1 diHJQJDXTdcZaGBFowevrqG6pTrpItaUBTSfSoe7EoL5IS32ZDEDIWl7R SF1KYB+9bgrxFU77MwaCMqJYRbOTxxQp1U3bT6c4GmNfBPhoVMBSQO/TO w==; X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="961006" X-IronPort-AV: E=Sophos;i="6.03,263,1694761200"; d="scan'208";a="961006" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2023 10:13:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="830742218" X-IronPort-AV: E=Sophos;i="6.03,263,1694761200"; d="scan'208";a="830742218" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 30 Oct 2023 10:13:34 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qxVpU-000DR9-0m; Mon, 30 Oct 2023 17:13:32 +0000 Date: Tue, 31 Oct 2023 01:12:43 +0800 From: kernel test robot To: Appana Durga Kedareswara rao Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Michal Simek Subject: arch/microblaze/kernel/entry.S:945: Error: unknown opcode "suspend" Message-ID: <202310310151.UhB396Qs-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 30 Oct 2023 10:13:47 -0700 (PDT) Hi Appana, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ffc253263a1375a65fa6c9f62a893e9767fbebfa commit: 88707ebe77e23e856981e597f322cabbf6415662 microblaze: Add custom break vector handler for mb manager date: 1 year, 1 month ago config: microblaze-buildonly-randconfig-r003-20230509 (https://download.01.org/0day-ci/archive/20231031/202310310151.UhB396Qs-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310310151.UhB396Qs-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/202310310151.UhB396Qs-lkp@intel.com/ All errors (new ones prefixed by >>): arch/microblaze/kernel/entry.S: Assembler messages: >> arch/microblaze/kernel/entry.S:945: Error: unknown opcode "suspend" vim +/suspend +945 arch/microblaze/kernel/entry.S 825 826 /* restore all the tlb's */ 827 addik r3, r0, TOPHYS(tlb_skip) 828 addik r6, r0, PT_TLBL0 829 addik r7, r0, PT_TLBH0 830 restore_tlb: 831 add r6, r6, r1 832 add r7, r7, r1 833 lwi r2, r6, 0 834 mts rtlblo, r2 835 lwi r2, r7, 0 836 mts rtlbhi, r2 837 addik r6, r6, 4 838 addik r7, r7, 4 839 bgtid r3, restore_tlb 840 addik r3, r3, -1 841 842 lwi r5, r0, TOPHYS(xmb_manager_dev) 843 lwi r8, r0, TOPHYS(xmb_manager_reset_callback) 844 set_vms 845 /* return from reset need -8 to adjust for rtsd r15, 8 */ 846 addik r15, r0, ret_from_reset - 8 847 rtbd r8, 0 848 nop 849 850 ret_from_reset: 851 set_bip /* Ints masked for state restore */ 852 VM_OFF 853 /* MS: Restore all regs */ 854 RESTORE_REGS 855 lwi r14, r1, PT_R14 856 lwi r16, r1, PT_PC 857 addik r1, r1, PT_SIZE + 36 858 rtbd r16, 0 859 nop 860 861 /* 862 * Break handler for MB Manager. Enter to _xmb_manager_break by 863 * injecting fault in one of the TMR Microblaze core. 864 * FIXME: This break handler supports getting 865 * called from kernel space only. 866 */ 867 C_ENTRY(_xmb_manager_break): 868 /* 869 * Reserve memory in the stack for context store/restore 870 * (which includes memory for storing tlbs (max two tlbs)) 871 */ 872 addik r1, r1, -PT_SIZE - 36 873 swi r1, r0, xmb_manager_stackpointer 874 SAVE_REGS 875 swi r14, r1, PT_R14 /* rewrite saved R14 value */ 876 swi r16, r1, PT_PC; /* PC and r16 are the same */ 877 878 lwi r6, r0, TOPHYS(xmb_manager_baseaddr) 879 lwi r7, r0, TOPHYS(xmb_manager_crval) 880 /* 881 * When the break vector gets asserted because of error injection, 882 * the break signal must be blocked before exiting from the 883 * break handler, below code configures the tmr manager 884 * control register to block break signal. 885 */ 886 swi r7, r6, 0 887 888 /* Save the special purpose registers */ 889 mfs r2, rpid 890 swi r2, r1, PT_PID 891 892 mfs r2, rtlbx 893 swi r2, r1, PT_TLBI 894 895 mfs r2, rzpr 896 swi r2, r1, PT_ZPR 897 898 #if CONFIG_XILINX_MICROBLAZE0_USE_FPU 899 mfs r2, rfsr 900 swi r2, r1, PT_FSR 901 #endif 902 mfs r2, rmsr 903 swi r2, r1, PT_MSR 904 905 /* Save all the tlb's */ 906 addik r3, r0, TOPHYS(tlb_skip) 907 addik r6, r0, PT_TLBL0 908 addik r7, r0, PT_TLBH0 909 save_tlb: 910 add r6, r6, r1 911 add r7, r7, r1 912 mfs r2, rtlblo 913 swi r2, r6, 0 914 mfs r2, rtlbhi 915 swi r2, r7, 0 916 addik r6, r6, 4 917 addik r7, r7, 4 918 bgtid r3, save_tlb 919 addik r3, r3, -1 920 921 lwi r5, r0, TOPHYS(xmb_manager_dev) 922 lwi r8, r0, TOPHYS(xmb_manager_callback) 923 /* return from break need -8 to adjust for rtsd r15, 8 */ 924 addik r15, r0, ret_from_break - 8 925 rtbd r8, 0 926 nop 927 928 ret_from_break: 929 /* flush the d-cache */ 930 bralid r15, mb_flush_dcache 931 nop 932 933 /* 934 * To make sure microblaze i-cache is in a proper state 935 * invalidate the i-cache. 936 */ 937 bralid r15, mb_invalidate_icache 938 nop 939 940 set_bip; /* Ints masked for state restore */ 941 VM_OFF; 942 mbar 1 943 mbar 2 944 bri 4 > 945 suspend 946 nop 947 #endif 948 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki