Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4422319ybg; Mon, 21 Oct 2019 08:46:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxgP+RM/UY5jPJOTu1cR+cOGEAPvd2iE0lNfteD7Y5t4lEZlXY3HsOdKqE1cY40Xfn75cv X-Received: by 2002:a50:ed01:: with SMTP id j1mr25850079eds.111.1571672799511; Mon, 21 Oct 2019 08:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571672799; cv=none; d=google.com; s=arc-20160816; b=GpIy/awq90hNp1RB4sR+FPME3i58e5gp79IJ4Ht1scKP2FWLlgo/iSfELamMNLpZc7 aM83lu8MJXWX996GVmKvxkIiazwJStniTeUpSHmFBRUYqcZKCH9eogs1r8pin9veBf74 SobIRx3lhOBCDho2RjwWfvqk/ecS0n8NVG1EPzBinCs8prJEPh3xiZRcLBOla6FFob8p VPNmkneJRIjapgg1HdmJ58HGjK6z+XU7OEthT8wpIhkQAxMGpU40b/3LYF5WDRJSthbO gWyQS0394nt5YilN/bzhJV5PaV6yAU3rRzFPvSByDataAMDWPtns1noKsxGjdEjcNIMl xBgg== 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=YrFW1YMTPl/wrnDJySJQ+JOuKL1K3rZmHZwX+i8FXSI=; b=zEflaeC2LG0KbkTmOi8Prh+Y5h7J9bDYEvBUKYptUoVg6vZz5WD2PFCuOwZTJA5Z8J xXGMX6vo47Bwpb4aAyyhclAF00rGqLI9xSK6vYBcFtK34XMCCf2brAjrYvu/kaFgRAkj D0Tm4AoqPvRhvXPhjDwGfdvdVH0g1nxyAM0wMw3RCu9EkDnBFh4Y52KrTNAWIU5ydvPg EcYnyJDLeR/fpzzMAc827iXgRmKPnQ1SJONZ2jvi1pzTRE4ZywuDynqmISsDk/RtjhXA HaSib4eUz5PAx+sBEZ3vAw+grkXRYb88scCUOICL4MPZGpLuWrJSPW3eSnpmqNgmElQI lVFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PgS+yulk; 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 p40si11167248eda.334.2019.10.21.08.46.16; Mon, 21 Oct 2019 08:46:39 -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=PgS+yulk; 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 S1729711AbfJUPpB (ORCPT + 99 others); Mon, 21 Oct 2019 11:45:01 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49476 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfJUPpA (ORCPT ); Mon, 21 Oct 2019 11:45:00 -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=YrFW1YMTPl/wrnDJySJQ+JOuKL1K3rZmHZwX+i8FXSI=; b=PgS+yulkfeobT2Z/x1yvEwCfU 81deRteafh6Z/H/5j/sDQeJujyGYFKxgQJiHxzRP0hx3OvlojNDRMUjwCF2Qu6rqD2Gs7EtmoTkJc 9IMLltvF8AvzHUztRRxSX9MVlHSiiHd4xoC9EtHNugA6PNwlQpPuliQReMGGqCE1HYJEfYBwcF3Im Xdxmfwsku0h4zSflTkDk7blpPhwtIJnAx0eeJJIUzitKJJ+KZeqhnJb5YAmqBOahzWG2mGDzfk1q4 +Hx2QNbltiQZNBxIGrmgiuU4LL+3++yoKKpa+s8JdCs4TRe8FOk/xqJEqLKUr6K+v/QzGm1886t/C eMrn8bt6A==; 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 1iMZra-0004gV-3Y; Mon, 21 Oct 2019 15:44:54 +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 4BCD8300EBF; Mon, 21 Oct 2019 17:43:55 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7567D201BAD9A; Mon, 21 Oct 2019 17:44:52 +0200 (CEST) Date: Mon, 21 Oct 2019 17:44:52 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, rostedt@goodmis.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, jeyu@kernel.org Subject: Re: [PATCH v4 15/16] module: Move where we mark modules RO,X Message-ID: <20191021154452.GC19358@hirez.programming.kicks-ass.net> References: <20191018073525.768931536@infradead.org> <20191018074634.801435443@infradead.org> <20191021135312.jbbxsuipxldocdjk@treble> <20191021141402.GI1817@hirez.programming.kicks-ass.net> <20191021153425.GB19358@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191021153425.GB19358@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 Mon, Oct 21, 2019 at 05:34:25PM +0200, Peter Zijlstra wrote: > So On IRC Josh suggested we use text_poke() for RELA. Since KLP is only > available on Power and x86, and Power does not have STRICT_MODULE_RWX, > the below should be sufficient. And... s390 also has HAVE_LIVEPATCH and STRICT_MODULE_RWX, so let me poke at that.