Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2140944pxm; Thu, 24 Feb 2022 17:33:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzexG7+B378+H56KgOBpTX4oFfOnaRApgSXvxTe6ST4uxaain7M+6VXnXSu9aER5Q+L6Bu X-Received: by 2002:a17:90a:9288:b0:1bc:568b:55bc with SMTP id n8-20020a17090a928800b001bc568b55bcmr826719pjo.9.1645752808244; Thu, 24 Feb 2022 17:33:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645752808; cv=none; d=google.com; s=arc-20160816; b=ipLyYjacw/1j5ve5LoQ0SKXJlP6K4pg05+ZhbBWPsu4CFwHZI9KEke1GuqZGRKTHEw wqXBuRwu7iUm0s5/YkwiL4We2oePsRLCYeVt5Yc17bjj5YCIyEbaolAV5XfRGLLzwgJL naHkP8W9sSb4fKSOql/Elxi8zjpSFVy3r58NnfKTFHNJleXg02DWiFUMd0/VATC1BRxL GZmZcnIgFpLHXduTCnHBgZEasHEJT2InmzPnE1zYc00ISvAWKwvOI5L0y4DjcaX4rhG7 HV5vlXnPeAy0ieAL+YpIZUu/fzPD2FIM/NZFBQupOIMxnYyRdZRQOmxZeb8Dw/JrquZB 6txg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=RVN/jJMooecuoKGfNQSS6olsh6VGW2vXTXyyTqdKTBk=; b=Jy9SqLfDIQkK5QSU7R+yq1zFzXkTQbiYfk+0befXhlsOM8lBmIEr+Hy2j1uGPwSX9F G8Qh1qGbLMOuRa/h5Qb3mN8YHp7D/oR7v+UUD6Wdzjp8/CgnbgxB2jgWnlmyJCwfWNah xOd7T38V4FwIm5x67Tn6CaiRQCXcNOdTggX1SIDv09WNDnvnaMh7wdMmLRK38ynsGrs7 6kP6UfSd69ehneRJfWN+d0ranghkzCPTU41RlzJuxLQA95pnU0QDcPiVTyPYQWFDA9pV ATnMXCGyntVAPoNcC2ZBIFtN7eHBsFgYEqnEWjeepdCOR2a+bK1Zs8nNecG6C4NtiNVA MMeQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a63b10c000000b003653639f3afsi604353pgf.649.2022.02.24.17.33.12; Thu, 24 Feb 2022 17:33:28 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235308AbiBYAfu (ORCPT + 99 others); Thu, 24 Feb 2022 19:35:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229923AbiBYAft (ORCPT ); Thu, 24 Feb 2022 19:35:49 -0500 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E12D24FA2B; Thu, 24 Feb 2022 16:35:16 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=ashimida@linux.alibaba.com;NM=1;PH=DS;RN=20;SR=0;TI=SMTPD_---0V5Q66IT_1645749311; Received: from 192.168.193.153(mailfrom:ashimida@linux.alibaba.com fp:SMTPD_---0V5Q66IT_1645749311) by smtp.aliyun-inc.com(127.0.0.1); Fri, 25 Feb 2022 08:35:12 +0800 Message-ID: Date: Thu, 24 Feb 2022 16:34:08 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] [PATCH] AARCH64: Add gcc Shadow Call Stack support Content-Language: en-US To: Nathan Chancellor Cc: catalin.marinas@arm.com, will@kernel.org, ndesaulniers@google.com, keescook@chromium.org, masahiroy@kernel.org, tglx@linutronix.de, akpm@linux-foundation.org, mark.rutland@arm.com, samitolvanen@google.com, npiggin@gmail.com, linux@roeck-us.net, mhiramat@kernel.org, ojeda@kernel.org, luc.vanoostenryck@gmail.com, elver@google.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev, linux-hardening@vger.kernel.org References: <20220222095736.24898-1-ashimida@linux.alibaba.com> <69d351c6-a69d-6ebb-53bc-b46dfe4da08a@linux.alibaba.com> From: Dan Li In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 2/23/22 09:39, Nathan Chancellor wrote: > On Wed, Feb 23, 2022 at 12:50:21AM -0800, Dan Li wrote: >> My intention is to remind users that this is a compiler feature. >> But since there is also a hint in CC_HAVE_SHADOW_CALL_STACK: >> +# Supported by clang >= 7.0 or GCC ... >> >> Removing the specific compiler here also looks fine to me. >> Would this look better? >> >> "This option enables Shadow Call Stack, which uses a ..." >> >> or maybe: >> >> "This option enables compiler's Shadow Call Stack, which uses a ..." > > I do not honestly have a strong opinion around removing mention of the > compiler so either looks fine to me (might be better to say "the > compiler's Shadow ..." in the second one). > Ah, yes, thanks :) Dan.