Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2629853pxb; Tue, 9 Mar 2021 07:13:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVdDbU2b/IF40y5aP1Ds6sYEgzRM37lRBfNVe36ClFUlkC/qZvOtc4AAzItZ7oLNV+uZjS X-Received: by 2002:a17:907:7692:: with SMTP id jv18mr20810390ejc.475.1615302815099; Tue, 09 Mar 2021 07:13:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615302815; cv=none; d=google.com; s=arc-20160816; b=zhI2w5BroZU4t342F+DLmn1SrPaufxAqov/S/+puLUDYQdOI9TvSaSI06RDjBjt4rn 0moJQsBLVxzMgTrY/Q2J1uQE2jD7USPz3aAePdcDk7IRqsJWjLNys6lg3jTSSaCRbIP+ 4zJo6+ru7kLzcgXFSsM55se2921Rl3QatD/P+FqTzZnAUxXE0clbR34QUnLtTYVyQI1Z 8F0iDWZ4BZjDG1AjkcgZsZQHybYOFTISWeDs6Ppsqx7rkFG56CaVFVSHPitkp1fof1be MGnENXfE+sXKwLXluHqfsfgNb/oCW4u5U+fYCqtK+txJkST6A7qdQFmKdDpQ/yhh8+C1 Bo+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=I9/aMSRk5csvh5pyHU6OOwNILUPSfWY7xi45XtxcxhE=; b=t3E/wNhYoMwHwlX/Hph/A34zaDIn4QzHNTxTmZ9cAjkLZNTFL2Jue2GQz+M0Xl8OgI Lpsris3KwgDZfaKb0hHeP7Bgu7nBi3bHUtU1yDKuH305qSz9BdPX/lOwNSMa9zrSDrny k6QsjElCz4/dTC95cKIgJTR6YZnECSiGgxYMZKOhQso1d6PNOvesVwEce9TL5VdlMygT evt6WyFZYm6OFAHBEBqLJ+Z/OR7mJqVOwUJXKl+9I5KI4llYMmYR+6Bqbqqbk8dDoeYR +1nvtKG86gYz8JiBDyn4XrPo2luUTUZQ8taSn2bmLQihcHSh9Qaknnqvir1YSB1D+Zqg tqDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh14si9270247edb.334.2021.03.09.07.13.11; Tue, 09 Mar 2021 07:13:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231872AbhCIPKz (ORCPT + 99 others); Tue, 9 Mar 2021 10:10:55 -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