Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp722160rdb; Mon, 29 Jan 2024 16:57:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeVvzj52Tb42Q4LnMARIptBdqi8bfajukolZlCVwmnb0tsrJow4+5Bq+RGI7xbqLiwUgOv X-Received: by 2002:a17:903:120c:b0:1d7:657:8ab1 with SMTP id l12-20020a170903120c00b001d706578ab1mr5585761plh.76.1706576240146; Mon, 29 Jan 2024 16:57:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706576240; cv=pass; d=google.com; s=arc-20160816; b=IxjexFsz5n6CX44fEUzMlT0kp2bqUTHm1x/zFUqFmexeUhbyLh+K+gt7+ouKpLaxvN lg8y/uHhoNC2m8oAcq4FQ5DR+Ym2uSoE80RkbPsqth2WKf5rhy12Y9qwy22VWhOZFeFS AT1Hfq/gLZpHkhBdzR8wxHVAfXNHC/BzXMjVU6JLnKch8MDS8CGVXChOPleNnt+ruvwO Gpt9bySJSmTqFdmozLaRrYQbKhhm0wZL8QLsiT9m3rC9umAVExQHx/kF/+fF2/WR2zIK PeHzHcpHoKQiZwFjC5oCGOn5ZxHFOGQPFzp9fXxoq4s1igVZFHwce4++gQ3WACY08BZ0 rbQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=CjXxVViu2m/Opq46i9BO5RAH1W1zGxIwhMJxClwKauE=; fh=OUV4nuIzeQrJpQDBLZOzvDDx4MQss376b59FEU2Ttng=; b=DB77wfG28fMpBSFpD/nmokGl1XfZPn/vUMWZHZKjMx19r7XqL+HBL2z8SpYW8J9sNN kZeLQDZw5kwnP+DO1u6NYeVl28CHWdgDfnjrwcfzK8G6PwZCM+5mKwoH6wacByptcM83 jY0fxqagSrKoOPlp83XQVudeiEX/P98SEigER6bts6i+yCYx/abRasIPF1f/qDiih0qV +doDwFInNOgJZ+PfhHtpEAYjBahRwrR1292Kjo/5YLuwc7osQYN6RVv8LZOIk679jVJa 8QYKokOT1mmoGXU/yyx76hBZtpIhintmRbUmqnp+Ik7y7+JF3mczEqUzS2CyW/8tMIT7 4erA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=xaSmdo7s; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-43452-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s18-20020a170902ea1200b001d8cfdb160fsi3315403plg.16.2024.01.29.16.57.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 16:57:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43452-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=xaSmdo7s; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-43452-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9F88428A0A9 for ; Mon, 29 Jan 2024 20:10:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0083976048; Mon, 29 Jan 2024 20:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="xaSmdo7s" 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.subspace.kernel.org (Postfix) with ESMTPS id D7B766F08E; Mon, 29 Jan 2024 20:09:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706558993; cv=none; b=GvcpCoSJeT5brlBx0kRoPLA8I/LxgdoAb0FVUxPwbZVglO6jtH2EGIy6hItPxUkvAs/eLCpCxyF0TKTB4AE66yYIsFG/Xoxbn+9rBT+y9dpvsOj+0klgEVh6RcsvjsRH16pfIQKwDk0KRs5nyDcJppR3ZdYez3fS76HHa7jPNMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706558993; c=relaxed/simple; bh=hOVjeSiNeXA8QVPW59DbtV3sJGuJPnpNfEpKdUb3GXY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GUFAgLmQfoBMN5b1sclnAStFJLrKW8Jw4ZrH0QAR2NXeGI80/SNdn4ZM6LACW74OCRtg3MFLqC8NbAtegRa3bA7oL2B0BTXcIuS1cqjx0tEqH7yn8siqA+qslkamIVaoEIv88VXx4t9yWdjybfLfzI7rsqz50iX+Y4gv3R+hgDs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=xaSmdo7s; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CjXxVViu2m/Opq46i9BO5RAH1W1zGxIwhMJxClwKauE=; b=xaSmdo7sn5dI7eoYOssTyzogFC 7pSfzcF0ewY6UsxvkTDmRGlB8Wa4EKlIt2tHWkAmVX5iqyMxRq9LcngsFMzs6UW3c78SeF9JA6pfA ehP3VRDE900eY25bMV15hnBIk4zsnfB4mBLOXErjXw8VZR/BwqLnGE3X2l2KJ8CnHjFV9POxNKl96 AKa86I3MkrKav9nOU4eRwtJr4ESDM9Cg/qQ7xAOAvTTMJ4p2VJcq6P9IyiXrJaiFZyzjC8DSkVSJr 80EdeREb6GSoWO4JZpWcu3cb+g5JkF6se4h+MN48sQoOTn0yu/u+oMLKk7D4yA5VGtXxuRwhfBioo cNzpNxYw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUXx0-0000000ED41-1o6Y; Mon, 29 Jan 2024 20:09:50 +0000 Date: Mon, 29 Jan 2024 12:09:50 -0800 From: Luis Chamberlain To: Christophe Leroy Cc: Michael Ellerman , Nicholas Piggin , Arnd Bergmann , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-modules@vger.kernel.org Subject: Re: [PATCH 1/3] init: Declare rodata_enabled and mark_rodata_ro() at all time Message-ID: References: <7b5df1782e94a755b4a18733af44d17d8dd8b37b.1703149011.git.christophe.leroy@csgroup.eu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7b5df1782e94a755b4a18733af44d17d8dd8b37b.1703149011.git.christophe.leroy@csgroup.eu> Sender: Luis Chamberlain On Thu, Dec 21, 2023 at 10:02:46AM +0100, Christophe Leroy wrote: > Declaring rodata_enabled and mark_rodata_ro() at all time > helps removing related #ifdefery in C files. > > Signed-off-by: Christophe Leroy Very nice cleanup, thanks!, applied and pushed Luis