Received: by 10.223.185.116 with SMTP id b49csp6103681wrg; Wed, 28 Feb 2018 04:09:37 -0800 (PST) X-Google-Smtp-Source: AH8x225erm+muhuTbrpzAhMSP38xsLW8ss/YHI8kgsxYMdo6OzuxSe+F89jy+IJsKxgFDeyaoQXo X-Received: by 10.99.110.133 with SMTP id j127mr14202968pgc.79.1519819777078; Wed, 28 Feb 2018 04:09:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519819777; cv=none; d=google.com; s=arc-20160816; b=VLVY/r9WecK8D404ecGfK63mn0vS23+h6MygA25cNsZ+viOBmsn8g3vnpMPQcYGXwa E/ezR7hmAUn10bHvoJunk98haXuYuvIpNT2n2cmGZ33fRrftEG6dNZTdRhEYAEM7aZHW jroNy/gLR6wIMypnOflxufRVHc4BZmYRQX7nFQQa0KNBkAJG6DW6jzIqQCc+6JpzZcn/ JaYP8Bo6EyyQFZWFPFHvLwR2b+WWNNVHj24cEFqbWizbn2JM741C0TGN5VS65d3MTwZ8 tgVDo7sJiC9RzOLF7UoCB9XYDjAO4lQ0jbTWZis2LfBFC9Y5FuLFfkwaTncKFysCJR5B dCfA== 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:arc-authentication-results; bh=H8av9Fue68P+yAMNgz9kKMm+wMriNe45ge4eih0cwJI=; b=EZ2FOyf/Y5znD5dIkkxJ2NMzebYq5wAPpcrK2cxI4qIH32zKcGiE48qJwqjZPYZx7i 8zapLspwgbgjUcQ/M+V4YKO8S3ydiev/HxlhedRmS202wKKtjJ3sEbzDhTMfq9cqtOQD Ny6iRU78hsa8bHEV0xKTVJcTfeAWnDq26V/cAZy5zUV+dPzQm2UDzu4Sj6JvKHUfrj0d yqMdxj0yvDxDwRYAijEbI4pSWnrlGx3gN9B8J047Hk87FRn1Ryfwau3oXbhJO2K0Pezc lQ9MAfUc0tH871+n9PQsSjID0x7+Mqm09x2fcLkNoeh5SHIrOdonIL/ysSwSZIiY58PE Vq3g== 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 n61-v6si1201578plb.797.2018.02.28.04.09.20; Wed, 28 Feb 2018 04:09:37 -0800 (PST) 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 S1752339AbeB1MI3 (ORCPT + 99 others); Wed, 28 Feb 2018 07:08:29 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:46074 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752226AbeB1MI2 (ORCPT ); Wed, 28 Feb 2018 07:08:28 -0500 Received: from localhost (clnet-b04-243.ikbnet.co.at [83.175.124.243]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 83358EAC; Wed, 28 Feb 2018 12:08:27 +0000 (UTC) Date: Wed, 28 Feb 2018 13:08:28 +0100 From: Greg KH To: Alex Shi Cc: Marc Zyngier , Will Deacon , Ard Biesheuvel , Catalin Marinas , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/29] arm64: mm: Use non-global mappings for kernel space Message-ID: <20180228120828.GB8453@kroah.com> References: <1519790211-16582-1-git-send-email-alex.shi@linaro.org> <1519790211-16582-2-git-send-email-alex.shi@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519790211-16582-2-git-send-email-alex.shi@linaro.org> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 11:56:23AM +0800, Alex Shi wrote: > From: Will Deacon > > commit e046eb0c9bf2 upstream. > > In preparation for unmapping the kernel whilst running in userspace, > make the kernel mappings non-global so we can avoid expensive TLB > invalidation on kernel exit to userspace. > > Reviewed-by: Mark Rutland > Tested-by: Laura Abbott > Tested-by: Shanker Donthineni > Signed-off-by: Will Deacon > Signed-off-by: Alex Shi > > Conflicts: > skip PTE_RDONLY of PAGE_NONE in arch/arm64/include/asm/pgtable-prot.h These "Conflicts:" lines need to be removed, or put below the --- line please. thanks, greg k-h