From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96DC7C4332E for ; Tue, 9 Mar 2021 15:11:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C76965279 for ; Tue, 9 Mar 2021 15:11:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231886AbhCIPK4 (ORCPT ); Tue, 9 Mar 2021 10:10:56 -0500 Received: from mx2.suse.de ([195.135.220.15]:39622 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231781AbhCIPKs (ORCPT ); Tue, 9 Mar 2021 10:10:48 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id AB08EAE15; Tue, 9 Mar 2021 15:10:47 +0000 (UTC) Date: Tue, 9 Mar 2021 16:10:46 +0100 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Masahiro Yamada Cc: linux-arm-kernel , Catalin Marinas , Will Deacon , Linux Kernel Mailing List Subject: Re: [PATCH] arm64: make STACKPROTECTOR_PER_TASK configurable. Message-ID: <20210309151046.GZ6564@kitsune.suse.cz> References: <20210309123544.14040-1-msuchanek@suse.de> <20210309133523.GX6564@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 09, 2021 at 11:53:21PM +0900, Masahiro Yamada wrote: > On Tue, Mar 9, 2021 at 10:35 PM Michal Suchánek wrote: > > > > On Tue, Mar 09, 2021 at 10:22:36PM +0900, Masahiro Yamada wrote: > > > On Tue, Mar 9, 2021 at 9:35 PM Michal Suchanek wrote: > > > > > > > > When using dummy-tools STACKPROTECTOR_PER_TASK is unconditionally > > > > selected. This defeats the purpose of the all-enabled tool. > > > > > > > > Description copied from arm > > > > > > > > Cc: Masahiro Yamada > > > > Signed-off-by: Michal Suchanek > > > > > > > > > Could you explain what problem > > > this patch is trying to solve? > > > > The option cannot be disabled when compiler has the required capability. > > > Yes. > Currently, this symbol claims "def_bool y", > so there is no way to disable it. > > But, it comes from the nature of Kconfig in general. > > dummy-tools is completely unrelated here. dummy-tools makes all configuration options available in order to be able to author configuration files on system different from the one where the kernel is built. This prevents authoring a configuration file with this option disabled. Thanks Michal