Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2834491ybd; Mon, 24 Jun 2019 13:37:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqygWb54RHJo0QjlXH+V8BF61Dd5dehU0RtnHVE7qcVVNY0jXn4a1jDpj/Q2RSxcymMeSeSN X-Received: by 2002:a17:902:4b:: with SMTP id 69mr4884097pla.89.1561408654688; Mon, 24 Jun 2019 13:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561408654; cv=none; d=google.com; s=arc-20160816; b=sJsNXYfCzqkp8Ya/X+ZCmACp7U0D98mrZM3trij6esgndn/xz8/28h9pbxASjwmLEs a6xUd5aBVOpnNsl/J1U34oeiANey4kHn4XWg+fbATeKlfVW27ki9ifb2OpIIxFseBVWF YV3nX9HZMwVA49g9aqeuDgRL8+QezH1WAiOC4VFW0VyuxUU2k0xyRhkHHBQvkK1iAzyL eTDgcuHFXSO2rhERb5C0Me/xEXkJIgw9f8be0hY2V51z5ZQrCj7vmkqJu4qX4udGaTgt Oe3DDFIjcxWt88EaEKPaXCIqtXVIPNfbRS+JxRjnzTIoQibJr5k91Wz0bkoisJ0z4UAX Q1Sw== 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; bh=j1HBilW8e1GGX+dJNIFJXyV2hKX+oL9J1xvMTyeT1x0=; b=iUKi4CHRAuIT5vMVGWtD0OKT8HGH7K9LAm6sWtA+rN7ZegiPJiSwfL1dnzERn+jA+f kzTY4D4x6gSK19l/ktjhaSxJu5+2qKkTO30juZemhNwCQnlkAaC2BaS0zBDKBzFwL0s1 M7LduiQEXv0RUs9wF9hYzafrkJcnoFuMqrwvIUmsZKrjzpCE1cHmBM6PJnRG6RK7qc+l J0A02ab6Q9FSwBGDmRKF8tm8a2Ix+hcN8ut6GF25N48+vLArLax+5ah778nkLI4O1kn7 Z2FBffBq/Y9Nk+wb07sPa4hETxNOlYWdjgYvZR6LVppRB1iM0+y/TKJtmAQlR3yRdxKC HZHg== ARC-Authentication-Results: i=1; mx.google.com; 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 j191si11196247pgc.73.2019.06.24.13.37.19; Mon, 24 Jun 2019 13:37:34 -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; 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 S1732331AbfFXROF (ORCPT + 99 others); Mon, 24 Jun 2019 13:14:05 -0400 Received: from foss.arm.com ([217.140.110.172]:55174 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbfFXROE (ORCPT ); Mon, 24 Jun 2019 13:14:04 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 19E05360; Mon, 24 Jun 2019 10:14:04 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 67FD73F718; Mon, 24 Jun 2019 10:14:02 -0700 (PDT) Date: Mon, 24 Jun 2019 18:14:00 +0100 From: Catalin Marinas To: Ard Biesheuvel Cc: Ard Biesheuvel , Will Deacon , Mark Rutland , Marc Zyngier , Linux Kernel Mailing List , Peter Zijlstra , Nadav Amit , Masami Hiramatsu , James Morse , Andrew Morton , Rick Edgecombe , linux-arm-kernel Subject: Re: [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS Message-ID: <20190624171358.GI29120@arrakis.emea.arm.com> References: <20190523102256.29168-1-ard.biesheuvel@arm.com> <20190528100413.GA20809@fuggles.cambridge.arm.com> <20190624111600.b7e5kkfvuszj6522@willie-the-truck> <07e3d9ea-b917-2adb-6f88-0f1a31692d04@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Jun 24, 2019 at 04:29:39PM +0200, Ard Biesheuvel wrote: > On Mon, 24 Jun 2019 at 13:23, Ard Biesheuvel wrote: > > On 6/24/19 1:16 PM, Will Deacon wrote: > > > On Tue, May 28, 2019 at 11:04:20AM +0100, Will Deacon wrote: > > >> On Thu, May 23, 2019 at 11:22:52AM +0100, Ard Biesheuvel wrote: > > >>> Ard Biesheuvel (4): > > >>> arm64: module: create module allocations without exec permissions > > >>> arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP > > >>> arm64/kprobes: set VM_FLUSH_RESET_PERMS on kprobe instruction pages > > >>> arm64: bpf: do not allocate executable memory > > >>> > > >>> arch/arm64/Kconfig | 1 + > > >>> arch/arm64/include/asm/cacheflush.h | 3 ++ > > >>> arch/arm64/kernel/module.c | 4 +- > > >>> arch/arm64/kernel/probes/kprobes.c | 4 +- > > >>> arch/arm64/mm/pageattr.c | 48 ++++++++++++++++---- > > >>> arch/arm64/net/bpf_jit_comp.c | 2 +- > > >>> mm/vmalloc.c | 11 ----- > > >>> 7 files changed, 50 insertions(+), 23 deletions(-) > > >> > > >> Thanks, this all looks good to me. I can get pick this up for 5.2 if > > >> Rick's fixes [1] land soon enough. > > > > > > Bah, I missed these landing in -rc5 and I think it's a bit too late for > > > us to take this for 5.2. now particularly with our limited ability to > > > fix any late regressions that might arise. > > > > > > In which case, Catalin, please can you take these for 5.3? You might run > > > into some testing failures with for-next/core due to the late of Rick's > > > fixes, but linux-next should be alright and I don't think you'll get any > > > conflicts. > > > > > > Acked-by: Will Deacon > > > > > > Ard: are you ok with that? > > > > That is fine, although I won't be around to pick up the pieces by the > > time the merge window opens. Also, I'd like to follow up on the lazy > > vunmap thing for non-x86, but perhaps we can talk about this at plumbers? > > Actually, you will run into a couple of conflicts. Let me know if you > want me to respin (although they still won't apply cleanly to both > for-next/core and -next) I queued them in for-next/core (and fixed a minor conflict). Thanks. -- Catalin