Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp61380rdb; Tue, 31 Oct 2023 00:00:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9RYu0r5dzQD7XLUMJsSyX7jAAB6naKnhEjcww5JF5yuJGHczY1a1AD49CUeECuMfIPWBg X-Received: by 2002:a05:6a21:6daa:b0:17d:b929:4bc9 with SMTP id wl42-20020a056a216daa00b0017db9294bc9mr11422167pzb.26.1698735630632; Tue, 31 Oct 2023 00:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698735630; cv=none; d=google.com; s=arc-20160816; b=MZ9vdPV4L+3AcaF/eSlwXMSkA+yKhUcP9D+BDu73bioKWYOSlfhKmtVB30VRGefkjh SFtC6u3jUR9df/hFUN0lPBQBnSbZVgt9ROH7z1Tn4o8xtdXTNwWcIpYnkCuRKbUTkzn3 KbmI83T/R/6idiVW+5WMbVQvjiBRAtydfG+R8gdxBQ7aLn+3zuP001zP4PKT2ORbsFMJ lBTIkIWg3aT1Y0AYpj5Rs7UWtqcePR0DTMXpyvUPXrXMTg2q6/48xEt0haXVLDO5cSsr uvgt5MDsLEoktKueSacf2T1X3NxpDWP5eI2fIStdWDrDQtOmvvwcakbzj5Ks6G+oT/HE jDNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=kBtDlNTaLjXG7sbj9SNIBUnxTR1itMbkTHq+uN+HFD0=; fh=GV7LuGHfSOXhhBSE5zVJPG0DwKQde7bA78koTsFiOoM=; b=jzzYC1A1tQpDQDHjhlOuwIZqlQm/t8nVTQe9T65/eWXP40CQpUhEhtg8pCDnkF+AAG MM4u4fTbrO/S+a9GjKbagxjFNVHVp7UPEXa/2HH3CChDHogs+QHbAllYgSrDI33FveFS OSt4WDeCO+nv0yI/CW5k5dUg1s46pVatrBKha8hrQ0ulNaiX58vYtlfJZGgdJdKo/s72 xaaPAW7Cw7sszmomIXVfUu5c2E/hywKWOU6V3ryQR3G36nwdTdQcXyeBGgVr/cCjGteI 73AZ/mvV8kwxF9ydL2oPfYRI6r5z9bjcrWVIz0XLm7ba/hGMsgkTtsfsmVeYaLDdp1nV pY2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20230601.gappssmtp.com header.s=20230601 header.b=j62VMdr9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id a19-20020a056a000c9300b0068e26b4cd71si592564pfv.179.2023.10.31.00.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 00:00:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20230601.gappssmtp.com header.s=20230601 header.b=j62VMdr9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 668A780B631E; Tue, 31 Oct 2023 00:00:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343495AbjJaG6T (ORCPT + 99 others); Tue, 31 Oct 2023 02:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236578AbjJaG6S (ORCPT ); Tue, 31 Oct 2023 02:58:18 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0D6FBB for ; Mon, 30 Oct 2023 23:58:13 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-53b32dca0bfso10921768a12.0 for ; Mon, 30 Oct 2023 23:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20230601.gappssmtp.com; s=20230601; t=1698735492; x=1699340292; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=kBtDlNTaLjXG7sbj9SNIBUnxTR1itMbkTHq+uN+HFD0=; b=j62VMdr9x/z6XaNNVtA7UL5a0JQO7HzC9UrNLQjchAHDJmozQcUiuHkKnc+DzulA7G Ao9Gz7B/u4/CQh9U/Eah1TV4AwEmoWATdSpiTSQ2vcdmlHGDxVKW/izdKYpaIUmCWekw QYYa0OOwAYGuiHgipjQ+vdGwXEK7QyJ+JCYikHL/AkYlYQSRi4H9a7hbArBYGslGYIt8 zSAzfIoc/Hi01Soa6CssWUjtJIKBa4e46/IMradSN1v34Giub+XyP1V9CBVV7g9fe/hh iUpNtepyceZXWjug/YIS+hla/hjsZowKwD2NT9y4irv3zqszaBdwQQhgOJgu+/A02YDY hOxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698735492; x=1699340292; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kBtDlNTaLjXG7sbj9SNIBUnxTR1itMbkTHq+uN+HFD0=; b=W2QByn1GeTyht9faMZEZsHisN6C9J1jfR4cLHhMht8fGTBEouxZuHizvkCkildoIia 9fIipJyt3XKVE47yj3jUZx8E+RHJl7nptjlTZLsIgKnLBUKVhbNKBtDV3fDFnIc8ILk7 jIEE4lEQvRFfhlzD4BWbCmN3xe94XNdDvhR2n5Xag6Dsk2PPJwTepPgB9zxBQXmUscyF zIUsMvBowAcsnEEtj0ktJXLwGS0ZUVQdnw2+dG5LsMq+QHcDpmopeDIXMlcSrmtUqVLz E0CDKYMRstpwU9pYlIm61bfjclsL8mo7U9Mkgthe97x4kC4wIcV6ceQ/jJqB2sYOjvUx UTYQ== X-Gm-Message-State: AOJu0Yw5ZLR50XyZbWa40UpGsIAADgr20hIRXVUwC8pB3K9EdFQAdBMX D1XrXPwwa1JyomeW6Gx0uKpOlQ== X-Received: by 2002:a50:8757:0:b0:542:e5b1:8762 with SMTP id 23-20020a508757000000b00542e5b18762mr1624240edv.11.1698735492195; Mon, 30 Oct 2023 23:58:12 -0700 (PDT) Received: from [10.254.183.223] ([149.199.62.131]) by smtp.gmail.com with ESMTPSA id e1-20020a50d4c1000000b0054026e95beesm595618edj.76.2023.10.30.23.58.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 23:58:11 -0700 (PDT) Message-ID: <144951b1-b158-4591-ab88-a1c71af51bf2@monstr.eu> Date: Tue, 31 Oct 2023 07:58:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: arch/microblaze/kernel/entry.S:945: Error: unknown opcode "suspend" To: kernel test robot , Appana Durga Kedareswara rao Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Radhey Shyam Pandey References: <202310310151.UhB396Qs-lkp@intel.com> Content-Language: en-US From: Michal Simek Autocrypt: addr=monstr@monstr.eu; keydata= xsFNBFFuvDEBEAC9Amu3nk79+J+4xBOuM5XmDmljuukOc6mKB5bBYOa4SrWJZTjeGRf52VMc howHe8Y9nSbG92obZMqsdt+d/hmRu3fgwRYiiU97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a9L1k5MvvbFg9QARAQABwsF8BBgBCAAmAhsMFiEEZzUMm/XM7ptTZDVqN3x/If49H5EF AmQr1YsFCRZ/gFoACgkQN3x/If49H5H6BQ//TqDpfCh7Fa5v227mDISwU1VgOPFKeo/+4fF/ KNtAtU/VYmBrwT/N6clBxjJYY1i60ekFfAEsCb+vAr1W9geYYpuA+lgR3/BOkHlJeHf4Ez3D 71GnqROIXsObFSFfZWGEgBtHBZ694hKwFmIVCg+lqeMV9nPQKlvfx2n+/lDkspGiepDwFUdf JLHOYxFZMQsFtKJX4fBiY85/U4X2xSp02DxQZj/N2lc9OFrKmFJHXJi9vQCkJdIjS6nuJlvW j/MZKud5QhlfZQsixT9wCeOa6Vgcd4vCzZuptx8gY9FDgb27RQxh/b1ZHalO1h3zkXyouA6K f54Tv6ab7M/fhNqznnmSvWvQ4EWeh8gddpzHKk8ixw9INBWkGXzqSPOztlJbFiQ3YPi6o9Pw /IxdQJ9UZ8eCjvIMpXb4q9cZpRLT/BkD4ttpNxma1CUVljkF4DuGydxbQNvJFBK8ywyA0qgv +Mu+4r/Z2iQzoOgE1SymrNSDyC7u0RzmSnyqaQnZ3uj7OzRkq0fMmMbbrIvQYDS/y7RkYPOp mElF2pwWI/SXKOgMUgigedGCl1QRUio7iifBmXHkRrTgNT0PWQmeGsWTmfRit2+il2dpB2lx ha72cQ6MTEmL65HaoeANhtfO1se2R9dej57g+urO9V2v/UglZG1wsyaP/vOrgs+33i3l5DA= In-Reply-To: <202310310151.UhB396Qs-lkp@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 31 Oct 2023 00:00:27 -0700 (PDT) Hi Kedar, On 10/30/23 18:12, kernel test robot wrote: > 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 Older toolchain don't need to have this pseudo code. What about to change it like this? mbar 24 /* suspend */ Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP/Versal ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal/Versal NET SoCs TF-A maintainer - Xilinx ZynqMP/Versal/Versal NET SoCs