Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp1854835rwb; Sun, 4 Sep 2022 03:47:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR4bA7ZyOoZZ5E/YNJS1llv+CkVDZZK4LdergzcMbs5meuZAtxTli/BoXLggITAaXE3pdGRc X-Received: by 2002:a17:907:968d:b0:741:5d55:e501 with SMTP id hd13-20020a170907968d00b007415d55e501mr25587258ejc.449.1662288440667; Sun, 04 Sep 2022 03:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662288440; cv=none; d=google.com; s=arc-20160816; b=d0m44KXS2pAfDd9/W35YewlP1Fjv3vrMAE6NXlZkGBsTnCUV6J9StRa2MDlogPqmr1 yc74+BHrls4ybOzXFNTgtsf2pFsilabAknHG0Do4wN8tmnss/8pp5oaMvOv1mb5+I03B F7s0UfbYc7Q4eb1KHt9/ALUon2FpedhFgYRmvgnPfEVQ20vNCUW7CzTuLDukT5GFB5nz qMzhraLDnQC3f/dEnQddvMFyCXpEQ1jGggXUsqVIZS8T+/76YoxNIl7j+9WOq9LTUwaR Q5Bu3BmarFoYi4clcqZrdeULI0moTI9qilPsoBWhwX8dPJ7PF92Zh8dz2LM+utTxToNZ IeJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=iMVn/7JF7/YclQTGzI3VSCcbNMWfjzFJIQqhHbAo9cg=; b=ltRMzno51aeLAV+aVhMne1diOqjI5T/VN/UMNY1MMNbA1q075z18Af+5HlTf8pUCM7 pkbEB8UzMwRst0F33GrBUHx34GDDESHSsIxEggbmUpXuAoqiqw+Ea9CxqLslqBW0+Men uiofR1pwtd12MkmzVB0FjEroU3S5saIFl+99HANQwzmDqBEHxsdyQycTePPrRLYH6W7r HFykJFX80k9SUEz04UxoLikhinnK/rr1VYFEW6ZoYOXr9cVHYONQAmWfiNco7q50VKpk 6mejLu11k2d2qPnOti7tq416D8uip/8Gi6mx1RGXFqQOQnqKz/1T1ouxXuUVETsaHmXc hrww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VFzOTmMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z7-20020a05640235c700b00446aa668fa2si6331111edc.533.2022.09.04.03.46.52; Sun, 04 Sep 2022 03:47:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VFzOTmMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233715AbiIDKf3 (ORCPT + 99 others); Sun, 4 Sep 2022 06:35:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230290AbiIDKfY (ORCPT ); Sun, 4 Sep 2022 06:35:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8274D3FA05; Sun, 4 Sep 2022 03:35:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1F43760F43; Sun, 4 Sep 2022 10:35:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83CE9C433D7; Sun, 4 Sep 2022 10:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662287721; bh=xdeVGuwDIVCVU+rvdeDeQYqrkKbZlmc2u/NK3uiq/hQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VFzOTmMFsxIgruZB2STurj+wx6ZMg0ysKioGM+awmrmv9aYFrkxPj1COiq7y5L9Rz 16DkF3v7Wyvnb+l26yvJ5Gc6Vjx9NtU1jrOTcsX+ogUP9v4hjW015POy1lKzyqeRwd 2Q14DNjduv/LA6Onro+ll0Vtawz0L9n1aIoBEboMweoay1gupce6c4dAzpAMnOBKjb DIN4dAhSIQzLt7Iuu+s9umV4bepSg/1fnCTUOBg+fFD504kPMGGfqg+dM8L4JSMAAs OgJ5MDXg6LdxIhXw49GVBifsH3+Y1H93BP+vPqnxqRbpsrsBWXGVU/OBgjAQflpaIi MQLNOOx7eai0A== Received: by mail-ot1-f45.google.com with SMTP id l5-20020a05683004a500b0063707ff8244so4452830otd.12; Sun, 04 Sep 2022 03:35:21 -0700 (PDT) X-Gm-Message-State: ACgBeo3lIEjHIBwA2ef62STJiBWunRvIX0/BbCcziQH6rfRoJ0uzoeEC yjVxpvsa/xDkU9H+HEQgr4pdGNWGrNTMntRlbP8= X-Received: by 2002:a05:6830:3482:b0:638:92b7:f09b with SMTP id c2-20020a056830348200b0063892b7f09bmr17354165otu.140.1662287720669; Sun, 04 Sep 2022 03:35:20 -0700 (PDT) MIME-Version: 1.0 References: <20220903163808.1954131-2-guoren@kernel.org> <202209041559.Mnnj8WRz-lkp@intel.com> In-Reply-To: From: Guo Ren Date: Sun, 4 Sep 2022 18:35:08 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] riscv: convert to generic entry To: Conor.Dooley@microchip.com Cc: lkp@intel.com, arnd@arndb.de, palmer@rivosinc.com, tglx@linutronix.de, peterz@infradead.org, luto@kernel.org, kbuild-all@lists.01.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, guoren@linux.alibaba.com, chenhuacai@kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 4, 2022 at 6:23 PM wrote: > > On 04/09/2022 10:01, Guo Ren wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > The problem is the robot only picks one of my patch series. > > If there are build dependencies, could you just send it all as > a single series? It depends on riscv: cleanup disable_ptrace. See V2. > Thanks, > Conor. > > > > > git:(8390e92d0bcc) git log --oneline -8 > > 8390e92d0bcc (HEAD) riscv: convert to generic entry > > b224d265f838 soc: document merges > > a10b904f72e1 Merge branch 'arm/soc' into for-next > > 566e373fe047 arm64: Kconfig.platforms: Group NXP platforms together > > 96796c914b84 arm64: Kconfig.platforms: Re-organized Broadcom menu > > 3779852e05c7 Merge branch 'arm/defconfig' into for-next > > 646e8ad3e676 Merge branch 'arm/drivers' into for-next > > 086e9b3719ae Merge branch 'arm/dt' into for-next > > > > After cherry-pick all patches, all is right: > > 27642008ec1f (HEAD) riscv: compat_syscall_table: Fixup compile warning > > afcaaabc38e0 riscv: elf_kexec: Fixup compile warning > > 741c29016482 riscv: Support HAVE_SOFTIRQ_ON_OWN_STACK > > 4eb9469a3bc8 riscv: Support HAVE_IRQ_EXIT_ON_IRQ_STACK > > a372b565b7c9 riscv: convert to generic entry > > 2d228d709c92 riscv: ptrace: Remove duplicate operation > > b224d265f838 soc: document merges > > a10b904f72e1 Merge branch 'arm/soc' into for-next > > > > If you want to try the riscv generic entry, please use the > > v6.0-rc3-based branch [1]. > > > > [1]: https://github.com/guoren83/linux/tree/generic_entry_v2 > > > > On Sun, Sep 4, 2022 at 3:39 PM kernel test robot wrote: > >> > >> Hi, > >> > >> I love your patch! Yet something to improve: > >> > >> [auto build test ERROR on soc/for-next] > >> [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/guoren-kernel-org/riscv-Add-GENERIC_ENTRY-IRQ_STACKS-support/20220904-003954 > >> base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next > >> config: riscv-rv32_defconfig > >> compiler: riscv32-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/8390e92d0bcc635f457df18c8c1baefc78a94e48 > >> git remote add linux-review https://github.com/intel-lab-lkp/linux > >> git fetch --no-tags linux-review guoren-kernel-org/riscv-Add-GENERIC_ENTRY-IRQ_STACKS-support/20220904-003954 > >> git checkout 8390e92d0bcc635f457df18c8c1baefc78a94e48 > >> # 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=riscv SHELL=/bin/bash > >> > >> If you fix the issue, kindly add following tag where applicable > >> Reported-by: kernel test robot > >> > >> All errors (new ones prefixed by >>): > >> > >> arch/riscv/kernel/sys_riscv.c:80:17: warning: no previous prototype for 'do_sys_ecall_u' [-Wmissing-prototypes] > >> 80 | asmlinkage void do_sys_ecall_u(struct pt_regs *regs) > >> | ^~~~~~~~~~~~~~ > >> arch/riscv/kernel/sys_riscv.c: In function 'do_sys_ecall_u': > >>>> arch/riscv/kernel/sys_riscv.c:83:39: error: 'SR_UXL' undeclared (first use in this function); did you mean 'SR_XS'? > >> 83 | ulong sr_uxl = regs->status & SR_UXL; > >> | ^~~~~~ > >> | SR_XS > >> arch/riscv/kernel/sys_riscv.c:83:39: note: each undeclared identifier is reported only once for each function it appears in > >>>> arch/riscv/kernel/sys_riscv.c:91:23: error: 'SR_UXL_32' undeclared (first use in this function) > >> 91 | if (sr_uxl == SR_UXL_32) > >> | ^~~~~~~~~ > >> > >> > >> vim +83 arch/riscv/kernel/sys_riscv.c > >> > >> 79 > >> 80 asmlinkage void do_sys_ecall_u(struct pt_regs *regs) > >> 81 { > >> 82 syscall_t syscall; > >> > 83 ulong sr_uxl = regs->status & SR_UXL; > >> 84 ulong nr = regs->a7; > >> 85 > >> 86 regs->epc += 4; > >> 87 regs->orig_a0 = regs->a0; > >> 88 regs->a0 = -ENOSYS; > >> 89 > >> 90 nr = syscall_enter_from_user_mode(regs, nr); > >> > 91 if (sr_uxl == SR_UXL_32) > >> > >> -- > >> 0-DAY CI Kernel Test Service > >> https://01.org/lkp > > > > > > > > -- > > Best Regards > > Guo Ren > > > > _______________________________________________ > > linux-riscv mailing list > > linux-riscv@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-riscv > -- Best Regards Guo Ren