Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1958827rdb; Wed, 31 Jan 2024 14:52:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSqJCmn+Fhnr1ibkasa73Km0ureni0f89DKAAhkO1yR9bYjPaLDCLcCtndJyrYg78o3nh1 X-Received: by 2002:a05:6a21:2d8d:b0:19e:3835:3c30 with SMTP id ty13-20020a056a212d8d00b0019e38353c30mr3186706pzb.32.1706741552236; Wed, 31 Jan 2024 14:52:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706741552; cv=pass; d=google.com; s=arc-20160816; b=QMY21C0HMhTr5HDbY87MIjfWAS9qD4FaqTenbZTs9muYME9K0KGvBMt6JsqzEIuzyO 3bsWFCvJnMN8PzJGYx10fkZkOW9v+szj66KS/s8zl5vtCmcPCQwXdhd0muEGy7g5+Grb x3Uo/t7VFqAy+Z7HPOYvw8+ubTZE4oh3Ryihnenh9a/qLsUB6us3x6gFl2bJrUApMuVB XFb0OnggIooeFq7iEntHigWbCRAm3J2x1j3gMkTNcuxPMP4yU7+s2afFlx/VXERXod/I zOHIjDsG0DKQY0N0N0MkkJpVezQAihVqmiKApyl+XTMPE7bIGKdnoNE9zrrE+LgqjlCX +rhg== 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=UaP7e0/xFnUox21quYuKQnRrWMG86d8f4dQdq/uGkg0=; fh=yW8BMVpNnt+t/pBVLT3naBVnlXpHhRLBZ1FzV6SOOTM=; b=v23ejhgN5cDBsYveslq8wuFGwlW6Y23M+d7d357pev/Aor7JaqHHvNmrtMl5WkzGqD pYjeGYELiRq6wPGknniQSK2JM7lLQMigRdd9hl3IvOuvlA1w5DKPnybV/x5AZAATjC8+ xN60H5PrMC6bvrtzf/F7cBphAvjBT15bmaTJPVeQg/4Nm7zHE6T9QZlaiATq4MGSLybf 8KpkfVoHpR9OFSaLo+d0Zakt3Mgr1IDQHPuvZPxUH2RTMLKDGlK12VzWvXrdLyVuURM3 A5ZRLnetHwY1mlFSefVLofVB0bM8Cz8Y9y7e3y5QjcXM6ARd6SMjoUcOOLIC07QsvvrQ SJHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="jp/Dfi19"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-47237-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47237-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXse6Y4ZIY1lLDJjtxQ4KH4G3aSxfFvyvlTgpDLFwwZcrmdLT5BMj+LbDXrzEonLBRZqzHgwBZlFR0rNMqh+hcxV5pgO/wx3vzvLWLY1g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k66-20020a633d45000000b005cf8b79f90csi10559821pga.501.2024.01.31.14.52.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 14:52:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47237-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="jp/Dfi19"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-47237-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47237-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 7027728F27B for ; Wed, 31 Jan 2024 22:16:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5176939FDD; Wed, 31 Jan 2024 22:16:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jp/Dfi19" 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 0430239AE6; Wed, 31 Jan 2024 22:16:45 +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=1706739407; cv=none; b=BBacfr9786ih6RJG/zQXuot/F1miMFzHIPtPjrno67/I0SJ7ixYB+AC5HKrHr+2Hh6WbXnRloNQ6d8whTdk+EzVF1E2dTQeFUVnzzVL5t1OASKuh3JwCJW4oxyqaI5NURfNfFWxNphcZFpOvhZXmETyt+jcNh15uqtef+Ujj7kU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739407; c=relaxed/simple; bh=R/XixHzRmL0T5YVAQpEoTH89sD4NPDgeltb5zmNISRo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Toge0k/pHMJbjp3OkHDOglu3RC8aCQoJxGLDxsjcUprmiRpVomFLd06YJ9gETT6hsI88p/gooPkM08iNHQW+q5Pi+HgwlPMHT+lP9XRhqvHf/cLW6G0N0mhloTNqxVMp+dPHO1xrGr4gSN5DgXzoQvVJTi7g7cJ+pv4NVeFdtaY= 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=jp/Dfi19; 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=UaP7e0/xFnUox21quYuKQnRrWMG86d8f4dQdq/uGkg0=; b=jp/Dfi19gPUOUmEPG7CQh9UH2B hU08YzQBvtIFeMavgaf9k/O56rFCRonfIfw1OsdrprnEh+R3xxJhra3djTsnllsRhNJoVTySWIgiU fWhNyP59cNi0dyRKQz3ENYJZ3Trv6EEWzwYCu+MvY0sKT20usBUlWbHhgWIS4DJUd7IZaE3dGWpZf LxlwKRPznAE7XxYZIPkAl98n5kTkI5+qo+FqucZGkmwAUXcb9on2Pe/V4b01gpAGYfbp+c6p7zDev /yVUz1uAbBcMWEv1t+0sQ7RrE9p6Q6oAAlKowxOEslJ85z9ZnkYItFvqh1cQxO8TofazphVe9Kj4O VpKJNqTA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVIsr-00000005fbS-345v; Wed, 31 Jan 2024 22:16:41 +0000 Date: Wed, 31 Jan 2024 14:16:41 -0800 From: Luis Chamberlain To: Christophe Leroy Cc: Marek Szyprowski , Chen-Yu Tsai , 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> <20240130091626.GA3684878@google.com> <9e298fa7-a953-462a-96a4-56a1b4316a17@csgroup.eu> <30ddedc9-0829-4a99-9cb1-39190937981c@samsung.com> <8b00f75d-a5ee-45a8-9ed4-5da26e4e1f41@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: <8b00f75d-a5ee-45a8-9ed4-5da26e4e1f41@csgroup.eu> Sender: Luis Chamberlain On Wed, Jan 31, 2024 at 06:53:13AM +0000, Christophe Leroy wrote: > The problem being identified in commit 677bfb9db8a3 ("module: Don't > ignore errors from set_memory_XX()"), you can keep/re-apply the series > [PATCH 1/3] init: Declare rodata_enabled and mark_rodata_ro() at all time. Sure, queued that up into modules-testing before I push to modules-next. Luis