From patchwork Tue Jun 21 13:35:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miko Larsson X-Patchwork-Id: 12889306 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77502C43334 for ; Tue, 21 Jun 2022 13:37:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349510AbiFUNhJ (ORCPT ); Tue, 21 Jun 2022 09:37:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351251AbiFUNgm (ORCPT ); Tue, 21 Jun 2022 09:36:42 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B9CB23BED; Tue, 21 Jun 2022 06:35:30 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id c2so22463396lfk.0; Tue, 21 Jun 2022 06:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V/pJJPQHdhr1X6GXakjW2t24XxjC4Wm3mry4MS1kuhQ=; b=A15lnbTyDN1bihZ3NQjR7koVWIn2pcEyi8IoNnhoJJ0ZU9wNrzK6b/HeRmq2pTjkeS j0Pz3mZSsEmiOJ81pm7Fm2QQXQ3HUdbIrn55z1AenbwTXA0C0pTnM70DYMPFgnKbwX1P agWj6P5CVYesSSQfOia7DbM4846Swcrq1mVwVbUQDcdynEn31M0Rw1nxGvl5sBXKwWPc pu96WalvEnGSpe1uTDuhfo+8gcnpY30SUHlJx/xZOOAZeYaaxTRqTCR6HNs5/OUmax/A oog57eN5yqGmp5YJnb3hXYNKkrDBQNKy9yNmutBV9z4cYryIHHnVL4Z/BfyaPgbzk6mB cWuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V/pJJPQHdhr1X6GXakjW2t24XxjC4Wm3mry4MS1kuhQ=; b=p25OGoTOaAy84nFm53dzQosgUK1nmGEUXkV2v0/GVNuemHleepJhM1ceaN12PDMUEv 8i+75OJWH5rlPzU/N4KOtEaXUsjcuRW8reVEEfyWIgt7IWFT0s0W7QbQwLyIG7jyEFoP QNS1yzPxc9eAPWnqJuNjmdDICDdS5OgyTxO5K4O26Aj26Dm0QBS7SOYs08txm51MgBTr ow0doXfIYLht8ZkpH2pmEFWNX99+/EknUJvWvyt8Xkwx5VHflKlhOe6vTPNLmKt1FW8p owjuWbx8hXWPlJXbu5f+STDNSD+/XcHeD8E1dGFtEc0Ial5jNzLJ/dT86/K+Cv1m8k1K OLPw== X-Gm-Message-State: AJIora+HDjqS0o+6mSCa3SswfbIHC/BkrzV8IobqI1webhESOe+81quP ELznHECm9v3Qt61lgSWGZS5rmyGaaSe8f5C9 X-Google-Smtp-Source: AGRyM1uOgvRC1Qe3dwS8TCGpEsJjmszOrkvZDUBMkFfrk8xoVEiNxsbB7lk2+ejP577wC8Ag0t5lmA== X-Received: by 2002:a05:6512:22cf:b0:47f:7b38:73e7 with SMTP id g15-20020a05651222cf00b0047f7b3873e7mr2651904lfu.523.1655818528591; Tue, 21 Jun 2022 06:35:28 -0700 (PDT) Received: from sakura.myxoz.lan (2-248-181-228-no2390.tbcn.telia.com. [2.248.181.228]) by smtp.gmail.com with ESMTPSA id a16-20020a19ca10000000b00478a8b7ab1csm347142lfg.150.2022.06.21.06.35.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 06:35:28 -0700 (PDT) From: Miko Larsson To: linux-kernel@vger.kernel.org Cc: Miko Larsson , linux-kbuild@vger.kernel.org, x86@kernel.org, Nathan Chancellor , Vlastimil Babka , Nick Desaulniers , Thomas Gleixner , Sebastian Andrzej Siewior , Sean Christopherson , "Gustavo A. R. Silva" , Arnd Bergmann , Chris Down , Dmitry Torokhov , John Ogness , Elliot Berman , Oleksandr Natalenko Subject: [PATCH 2/2] Kconfig: Allow -O3 for all architectures Date: Tue, 21 Jun 2022 15:35:26 +0200 Message-Id: <20220621133526.29662-3-mikoxyzzz@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220621133526.29662-1-mikoxyzzz@gmail.com> References: <20220621133526.29662-1-mikoxyzzz@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org This commit allows all architectures to use the experimental -O3 optimization option. Previously, only ARC was allowed to use this option. Signed-off-by: Miko Larsson --- init/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 9c292acb2..b88613cb5 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1403,7 +1403,6 @@ config CC_OPTIMIZE_FOR_PERFORMANCE config CC_OPTIMIZE_FOR_PERFORMANCE_O3 bool "Optimize more for performance (-O3) (EXPERIMENTAL)" - depends on ARC help Choosing this option will pass "-O3" to your compiler to optimize the kernel yet more for performance.