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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81CE5C433F5 for ; Wed, 23 Feb 2022 08:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JOnq5vK107FI+emZF3XPZgKzqUYhQDxRUiPiira48+U=; b=aEA/zF8YbfNfNL Z6rHrbvzTt1m178VFRud7iaLhlEi/YJFvH/Au/1s5kS8D/1rep/dALfMG8l+RvHrgijhNIUGTYP/D XcDKUwx3yvA6H519Q++gfNBsu6ZGGWgfGxu57SfmF0G2RXQwaauJCalPKd5vkyV8Ojl151eBq5d05 mQNYoxNx0bAoz9mQPGhVrC/hPebkkJkLtNtCw3D/eQ2HMgpXc4RiIEzMXgTeKLQreSCp81PQEldR0 Ex3/eW7S2rRU8HPZB5BJcb7tZ4hbtizt07ZxwA6UVOfzlnKQXCaJataNl1QorPN4lsd8Bq9hX7ksW EUgX927Q6Bt2SzqClw4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMnR8-00DLf7-KM; Wed, 23 Feb 2022 08:55:50 +0000 Received: from out30-43.freemail.mail.aliyun.com ([115.124.30.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMnR3-00DLcG-Fj for linux-arm-kernel@lists.infradead.org; Wed, 23 Feb 2022 08:55:47 +0000 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R181e4; 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_---0V5HULum_1645606540; Received: from 192.168.193.152(mailfrom:ashimida@linux.alibaba.com fp:SMTPD_---0V5HULum_1645606540) by smtp.aliyun-inc.com(127.0.0.1); Wed, 23 Feb 2022 16:55:41 +0800 Message-ID: <769ae7ad-e860-722d-59b7-cd7be5f6f1ee@linux.alibaba.com> Date: Wed, 23 Feb 2022 00:55:40 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH] [PATCH] AARCH64: Add gcc Shadow Call Stack support Content-Language: en-US To: Guenter Roeck , 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, 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> From: Dan Li In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220223_005545_720772_DEBD4966 X-CRM114-Status: GOOD ( 19.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/22/22 08:47, Guenter Roeck wrote: > On 2/22/22 08:16, Nathan Chancellor wrote: >> On Tue, Feb 22, 2022 at 01:57:36AM -0800, Dan Li wrote: >>> Shadow call stack is available in GCC > 11.2.0, this patch makes > > The above suggests that the option will be available with gcc 11.3.0. > Information available in public suggests that it will be introduced > with gcc 12.0. > Ah, yes, I think we could use "gcc >= 12.0.0" here. > The point here, I think, is to list the minimum gcc version. > It is going to be a long time until gcc 12.0 is the minimum version, > so I think it makes sense to list the minimum version number for > each compiler here. > > However, it may make sense to add some reference indicating that > support will indeed be added with gcc 11.3.0, and not only starting I took a quick look at the gcc description, and it seems like the y in x.y.z is usually used to fix bugs, and new features should be added directly to the trunk. Link: https://gcc.gnu.org/develop.html > with gcc 12.0 (and maybe wait with applying this patch until it is > actually available in gcc and can be confirmed to work as intended). > It's also fine to wait for gcc 12 to be released, and I thought maybe I could submit the "final" version of this patch to the community (or mailing list) first so maybe more people would test it and if there were any issues, it could be fixed before GCC 12 is released :) Thanks, Dan. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel