Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3208468rwl; Sun, 9 Apr 2023 10:09:26 -0700 (PDT) X-Google-Smtp-Source: AKy350akTzgF6cE/4S4G+hHt1ievcW2RGn2ikFQyzdO4xhnKash+21eb2SApLvi5q4FDg250avsG X-Received: by 2002:aa7:c406:0:b0:504:70d7:e63f with SMTP id j6-20020aa7c406000000b0050470d7e63fmr8942501edq.20.1681060166674; Sun, 09 Apr 2023 10:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681060166; cv=none; d=google.com; s=arc-20160816; b=FPjCMiTnSodV7OT6OqbkQmUstYIX+SyWhbVpyNR+ubdw8Ih/i8OYdKuP5XQsb5NI40 IUYeZ4A6zN/hKy5Eghz8xMUDIYSkRHR9FWX/7I7nXiLAcaJQqQZQvFdpkQjxyoAmXn21 q4SL3JfDe93E7odA1MLRRRYU9+8PGe9uL089R7G5tO/LmO+dTMjHc00KnAL3LEsB1Xge fyevCC9kmrbWoPSqHJ+h3M2E7bsWvuPSRAYzwx2+1UzzcoIPcFX0Nj0LU51z9wknCr4Y TZML913pc4KCbKpVT6FFUZv6QGuOOVZbm5X0rNkT3nqzYP1V4QnaRIjIErGPjYUhtK+c A6Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4MidA9hC7gZVFsJJdKs8lbvapqUrYXg8DMPLOOGqK7o=; b=OS5Whxa/cmDmD6UDwE5hL3oITeVCJbfCi+iTfD/UlQuWZoATGGxqyB8Z+Nce6/zXRh 8KyNju0RA//MP1KDc5I9gwZTB83KMiESunE2SPbKThj72GXqG8R+znIl7cxFpd31VKDO T40gpIrcdLcRuMVpEbv4wk0NQl9PqDnvndu6TSWUQ1sAogbL/8DyNwn73HBesWInUasV MykvXubHtLfBRXu/3vWmjN5t/pLwm2AEMS6vncy7nYDOwUsn8wYBQR/a/tzixy+uGGTe ytlgyvWh6DD/qMZ77W/6f8jYnNfmKX8g/TX/JIViq0DmW2eKvEouNoatTUyYIdHssKTF 7Lvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AJJPdc88; 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 o12-20020a056402038c00b005028f35cbbesi7727112edv.200.2023.04.09.10.09.01; Sun, 09 Apr 2023 10:09:26 -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=AJJPdc88; 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 S229524AbjDIQyD (ORCPT + 99 others); Sun, 9 Apr 2023 12:54:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjDIQyD (ORCPT ); Sun, 9 Apr 2023 12:54:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F09902723 for ; Sun, 9 Apr 2023 09:53:59 -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 8AB3560010 for ; Sun, 9 Apr 2023 16:53:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3737C433D2; Sun, 9 Apr 2023 16:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681059238; bh=lU5PXzOuCtb0P141uL0AcENGJqwDqjBgVsAq1JQriIs=; h=From:To:Cc:Subject:Date:From; b=AJJPdc888e4sifAaYRQuou/jKpxT1oVxvHWSmPMUFNwwQK+VDIY0CQi3V2OiV/fSt 9HwhtPekYarT5vsVBcMljrrTJdLBo/5AoY8UugYGe4KsvQ0bf7yURTWeKa4qw5L8j3 PBwGOx5C40FAdMU5P/ExE7YH8rSEl0GSsWBhVcmMP7fgS2BWUGnHEAGfeUpaNMJ3gW TIFMWlMxN8kZ836LAvcj/zJOYfArmxp0D4ApsIRpirnFKhR0n3S0KEOCBM+2dDx7jw khBz17vCtVKED0IsplwH/elPb/HM+M1FIbW7vgVyH8BCb1jUeNXuox9j2YCyVho0LP O9ZR573l5bU9Q== From: Jisheng Zhang To: Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: enable BUILDTIME_TABLE_SORT for !MMU Date: Mon, 10 Apr 2023 00:43:06 +0800 Message-Id: <20230409164306.3801-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BUILDTIME_TABLE_SORT works for !MMU as well, so enable it. Tested on QEMU and FPGA. Signed-off-by: Jisheng Zhang --- arch/riscv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index c5e42cc37604..212ea28e346b 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -50,7 +50,7 @@ config RISCV select ARCH_WANT_LD_ORPHAN_WARN if !XIP_KERNEL select ARCH_WANTS_THP_SWAP if HAVE_ARCH_TRANSPARENT_HUGEPAGE select BINFMT_FLAT_NO_DATA_START_OFFSET if !MMU - select BUILDTIME_TABLE_SORT if MMU + select BUILDTIME_TABLE_SORT select CLINT_TIMER if !MMU select CLONE_BACKWARDS select COMMON_CLK -- 2.40.0