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=-6.9 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=no 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 E2290C433EF for ; Wed, 15 Sep 2021 09:35:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C36BA6124D for ; Wed, 15 Sep 2021 09:35:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232118AbhIOJgu (ORCPT ); Wed, 15 Sep 2021 05:36:50 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:51620 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbhIOJgu (ORCPT ); Wed, 15 Sep 2021 05:36:50 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=ashimida@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0UoTTP2m_1631698528; Received: from ashimida.local(mailfrom:ashimida@linux.alibaba.com fp:SMTPD_---0UoTTP2m_1631698528) by smtp.aliyun-inc.com(127.0.0.1); Wed, 15 Sep 2021 17:35:30 +0800 Subject: Re: [PATCH] [RFC]arm64:Mark __stack_chk_guard as __ro_after_init To: Mark Rutland Cc: catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Laura Abbott References: <1631612642-102881-1-git-send-email-ashimida@linux.alibaba.com> <20210914101709.GA29127@C02TD0UTHF1T.local> <20210915091943.GA47689@C02TD0UTHF1T.local> From: Dan Li Message-ID: <39a5c050-986a-62a6-5279-29081882a6f2@linux.alibaba.com> Date: Wed, 15 Sep 2021 17:35:28 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20210915091943.GA47689@C02TD0UTHF1T.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fine, I got it, thanks for reply. On 9/15/21 5:19 PM, Mark Rutland wrote: > On Wed, Sep 15, 2021 at 09:57:14AM +0800, ashimida wrote: >> Hi King, Rutland: >> >> Thanks for the reply and let me understand the reason here. >> >> Then may I first submit a patch to modify the attributes of >> __stack_chk_guard of the arm/aarch64 platform? > > This patch looks fine as-is (hence the Acked-by). Doing the same for > arch/arm makes sense, but that should be a separate patch. > > I was suggesting that in future we should probably do the same in more > places, not that you need to do so now. > > Thanks, > Mark. > 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=-7.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no 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 9ED92C433EF for ; Wed, 15 Sep 2021 09:37:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 629C561247 for ; Wed, 15 Sep 2021 09:37:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 629C561247 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lfoCKpX0TYfoBdmU5v9c2H6BY+oJ9NEjwmDWhYTMsPA=; b=ibf8Lr6caKq0T/Q9pVAbsZL/mp 6COgVfrDioeQMpKebM6HCtGOSCvs1jk6HT9Vx7dMX9hzLNEBGQDWI6TZyxbCbbxTRXn7zjO1NIHXY ElUxJYyGxuzYuobfXJsouNWu6fdqR+3cYg8M1yQXa3k4CfJfAnzgNROMd2Ao3QJVO+hvHsfymbR7t dymQShZOEaGz02KrFb6vL8Jh4sd20JK4F/O0C1OzFKn2I6h+B0GOnFpzgfnXPvyp994S6ET6Ez+OU JghtulrCD4b9kbOxNiuS7gLo8AhXcgYTXxCAjOQC3bw3z1RNuMJe8wKq3fsTASQJh9NCGLFGMMEWU e+Pzf+4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQRKL-008i8f-10; Wed, 15 Sep 2021 09:35:37 +0000 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQRKH-008i7I-7Q for linux-arm-kernel@lists.infradead.org; Wed, 15 Sep 2021 09:35:34 +0000 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R161e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e04426; MF=ashimida@linux.alibaba.com; NM=1; PH=DS; RN=6; SR=0; TI=SMTPD_---0UoTTP2m_1631698528; Received: from ashimida.local(mailfrom:ashimida@linux.alibaba.com fp:SMTPD_---0UoTTP2m_1631698528) by smtp.aliyun-inc.com(127.0.0.1); Wed, 15 Sep 2021 17:35:30 +0800 Subject: Re: [PATCH] [RFC]arm64:Mark __stack_chk_guard as __ro_after_init To: Mark Rutland Cc: catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Laura Abbott References: <1631612642-102881-1-git-send-email-ashimida@linux.alibaba.com> <20210914101709.GA29127@C02TD0UTHF1T.local> <20210915091943.GA47689@C02TD0UTHF1T.local> From: Dan Li Message-ID: <39a5c050-986a-62a6-5279-29081882a6f2@linux.alibaba.com> Date: Wed, 15 Sep 2021 17:35:28 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20210915091943.GA47689@C02TD0UTHF1T.local> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210915_023533_461963_3630020A X-CRM114-Status: GOOD ( 15.05 ) 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 Fine, I got it, thanks for reply. On 9/15/21 5:19 PM, Mark Rutland wrote: > On Wed, Sep 15, 2021 at 09:57:14AM +0800, ashimida wrote: >> Hi King, Rutland: >> >> Thanks for the reply and let me understand the reason here. >> >> Then may I first submit a patch to modify the attributes of >> __stack_chk_guard of the arm/aarch64 platform? > > This patch looks fine as-is (hence the Acked-by). Doing the same for > arch/arm makes sense, but that should be a separate patch. > > I was suggesting that in future we should probably do the same in more > places, not that you need to do so now. > > Thanks, > Mark. > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel