From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 70064399D02 for ; Wed, 12 Aug 2026 06:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786517105; cv=none; b=XCINs6OAq/YJxmdG4F8ovG7gQzWaxa/ze7h/llA87p9QdE7bI49z9RPye2TZvPav9nXuk4c1GeJg7pNQB2U9pwqO3BBD3XH/EkBQdc2oy9QBbbLzntxNRWs7IikiyAyUzCK7Qb0E28BWhVNF/BLmggpU50HsVEEwkgXg3LpMXWQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786517105; c=relaxed/simple; bh=ZuhyDaWlGvcetYwCH9EDrtcAe5tbIiQASwnE/E1NDFA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=aBk9ZJpBVJu4cyckEA/nvkH1nmzWCIX4h0MFlyiSWpixyFJxdVdYhJWXJY4SP6ukj1nZZGnB3fqev1BVe5Rr0PZFg0zqauHrYoOQlfQG8sfwUQMQ4sTBKx7cY5hVshHQoZyHwSd2PMzsar27gNDFJD9vfFlE7hIF1cNfDig2KWw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=3VYuFYz/; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=O4SjxrVU; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3VYuFYz/"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="O4SjxrVU" From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786517101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZuhyDaWlGvcetYwCH9EDrtcAe5tbIiQASwnE/E1NDFA=; b=3VYuFYz/2/CHhn2uULcRv0jtfUQbC4ezJoSglvq4LKM+EUFOZ2k82ZgYWz+9MHQZHY9QEL 7QcPb5hiymRcCd8Z8lXbQnGyCOEHAtpDfvw9r5G9W93lOQFGZYhnRAg2/VD+ErFqEE7MBH oF/l6pewzupa1rZS0IUHRQOP+y5Q5WXiijKVZ96NODHps8MPKT8FGXg2KmFJsDYAmQ3s6Y T3/cDQpdllXLRYoUmNKX4A8tNwwJXOloU+k0p5FyGcyLcGOXfeVoyotqQWVUVd+NeVyL9C B7/lupUDm5NET3ZiRAPg97IIzRFTFN4uAyEhVrklShFXkUnqG4YV1dHP6F7EnA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786517101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZuhyDaWlGvcetYwCH9EDrtcAe5tbIiQASwnE/E1NDFA=; b=O4SjxrVUGX1VIEynvg69MWy9D84Hi4nKd38aexRWpazfhiNd3c+z1Oepw8LFzhwilmHsDK nAFak4tAiF9J89Cg== To: Klara Modin , Xiaofeng Yuan Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/2] riscv: patch: skip fixmap mapping when kernel text is already writable In-Reply-To: References: <20260720032258.5188-1-xiaofengmian@163.com> <20260720032258.5188-3-xiaofengmian@163.com> Date: Wed, 12 Aug 2026 08:45:00 +0200 Message-ID: <8733wjzvkj.fsf@yellow.woof> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Klara Modin writes: > I have MODULES disabled and thus also STRICT_MODULE_RWX disabled, but > still STRICT_KERNEL_RWX enabled. I saw that an earlier version of this > patch[1] instead gated the first branch behind STRICT_KERNEL_RWX. That > version works fine for me. Urgh, I got confused between STRICT_MODULE_RWX and STRICT_KERNEL_RWX, I suggested the final version. Xiaofeng, can you send a patch? Nam