Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6398559ybp; Tue, 15 Oct 2019 14:27:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJVsc+l5hphVTxt3tddZ1tTKZrrGYQWKZGHUZS6AuHwWjEBqmfgUz+SG4MrWI/Ma3Zx3/v X-Received: by 2002:a05:6402:51a:: with SMTP id m26mr35682364edv.298.1571174823340; Tue, 15 Oct 2019 14:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571174823; cv=none; d=google.com; s=arc-20160816; b=r3U3Fopyriprt7YE01cZNiZ6q0pCx8i4t11iXoxs4LOnfYvd4i7YQe8+GifJW/flxI ZVNt8ytwTOzPqL2G9TgKRt7CJlfh/t/HeTPcoIADLFly94VklMZFVVBj6wLh40JNr9Ie XRxn55eOYygeVD3RmztSbGCYUBIYTSTmoHy+S1h3BKbAvHU2ubMPz6znxvJHqfLaXB/f rCz7QXiy7mevCIDxUkv1QoraYgfLLNZAZwRCvdMzBpiLTL57AHQteLSgV4BTQyWN0eRm prNq8+/Q8/c44S0/GqazjmR+SXaLoCHbx09NdPxUnz3+Vs2D8GUHj/P97PCgXqxiav/1 IyFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bjWhRvmBu/9tIPXtTGlEAeo+oND2q0OkwQG+bo937CE=; b=Z6RDtnR3L18UaEbEU4dMvJOivKPTR6o9maDsMTRt3aIeteLUQNypjjJLNKsWO8O0Ka pQTLhN+Cwrf+49mZVybNqigqsNdBnUBBHXTvZ6mIaoU2src3BIUO6K63gtXuYk3WmvLM T89eBQUL+PnlyszSNspTsyVCoTV0SRd/di61K5CP203w4P7HM/tECMKGd9RzQj3Jf3Um M9kzy8mtg+OiMe8KG1f8/DMC2uOFKGXRjeQw2f9YAbtjeoUT9wZk1d950TBXnwHx85nK 17by4JNs5xP+hAyVCxlR6w4F2Og+AqXdyim3N9n/QaFKTDAz64QsFiTh2mIUyOARJXOj 9XEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Tts+80eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20si15143804ejn.18.2019.10.15.14.26.39; Tue, 15 Oct 2019 14:27:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Tts+80eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389150AbfJOSb7 (ORCPT + 99 others); Tue, 15 Oct 2019 14:31:59 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:53496 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727200AbfJOSb6 (ORCPT ); Tue, 15 Oct 2019 14:31:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bjWhRvmBu/9tIPXtTGlEAeo+oND2q0OkwQG+bo937CE=; b=Tts+80eoSLUNV0Kg/vYeeRGfb WIg4IRkYCBa2fuaOECG04EmD0G4W1321pfG0wyBH+ssBRgUS9dIeC9DSNMns4QlQXv9VJZLNpGQO2 6veSBUEWWqxOX81tvwexeAgWM+R8l8lmhAToKQApxJtY/3CXsvzHup9pZIjR5mM6eV6pFYluV2VuL +92d/B6WN8Hn8+19IlEmcuCh1vl9SnL3VFTj5UpXQiWUY+KjGXih5dEGs8v2QEf0h+76b8b9TwNl6 M7Mxy309oiVsN/TFL87XVd5vbub8DMlYqzmypUugYWiP5gqKLdsfe+Zafi2mNFSmUKK5XS/5bRf/9 XdP8LFVVg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iKRba-0005Zw-AU; Tue, 15 Oct 2019 18:31:34 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 4F817300B8D; Tue, 15 Oct 2019 20:30:36 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D0E6129A873DD; Tue, 15 Oct 2019 20:31:30 +0200 (CEST) Date: Tue, 15 Oct 2019 20:31:30 +0200 From: Peter Zijlstra To: Jessica Yu Cc: Steven Rostedt , x86@kernel.org, linux-kernel@vger.kernel.org, mhiramat@kernel.org, bristot@redhat.com, jbaron@akamai.com, torvalds@linux-foundation.org, tglx@linutronix.de, mingo@kernel.org, namit@vmware.com, hpa@zytor.com, luto@kernel.org, ard.biesheuvel@linaro.org, jpoimboe@redhat.com, rabin@rab.in, Mark Rutland , Will Deacon , james.morse@arm.com Subject: Re: [PATCH v3 5/6] x86/ftrace: Use text_poke() Message-ID: <20191015183130.GR2359@hirez.programming.kicks-ass.net> References: <20191009224135.2dcf7767@oasis.local.home> <20191010092054.GR2311@hirez.programming.kicks-ass.net> <20191010091956.48fbcf42@gandalf.local.home> <20191010140513.GT2311@hirez.programming.kicks-ass.net> <20191010115449.22044b53@gandalf.local.home> <20191010172819.GS2328@hirez.programming.kicks-ass.net> <20191011125903.GN2359@hirez.programming.kicks-ass.net> <20191015130739.GA23565@linux-8ccs> <20191015135634.GK2328@hirez.programming.kicks-ass.net> <20191015144258.GQ2359@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015144258.GQ2359@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 15, 2019 at 04:42:58PM +0200, Peter Zijlstra wrote: > On Tue, Oct 15, 2019 at 03:56:34PM +0200, Peter Zijlstra wrote: > > Right, the problem is set_all_modules_text_*(), that relies on COMING > > having made the protection changes. > > > > After the x86 changes, there's only 2 more architectures that use that > > function. I'll work on getting those converted and then we can delete > > that function and worry no more about it. > > Here's a possible patch for arch/arm, which only leaves arch/nds32/. *sigh*, so I'd written the patching code for nds32, but then discovered it doesn't have STRICT_MODULE_RWX and therefore we can simply delete the thing.