Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4140894ybg; Fri, 25 Oct 2019 14:00:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiz6B+aMOyrF4DHyZVVHZYhRsJa4nFK5XNI0Q/lyK3OVXx4W96SgTo//fOiVkf0LoA2XCW X-Received: by 2002:a17:906:5ac3:: with SMTP id x3mr5430403ejs.145.1572037208287; Fri, 25 Oct 2019 14:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572037208; cv=none; d=google.com; s=arc-20160816; b=jb5LZyKrYyCZXXo66EBpSSZwW95H57o+GeK3KiByWWKxtTRoDwqp1jTTKNlult0PYi 7bKta4b9EDGw3P0J5aVTR2Noxvsb5Zq6EVgZKZyDpLgp37f9/8i+d5MPbR2bIG/QYavF Vip55/kFiGGShClhpljIOfq5lG/KLfzmBx0nTLzjM7MgqkSobJxEVspTW8Asb80lblMx 0nmEnR+t7rmXXnL69bVr68gkb8MLFjhNjtSGOtr6ZgrUPX8NxmxzyGF9F292Tf3FLq2V WYwW42jOHFOw/IuVLbzX/YLoQkGGlCQbntWFocg5G6m75JjD7ecZzI5u7CDxdgSssZvZ oIiA== 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=cDWv4A809NRVDhl2P9mv9QpskX6/5HJ6bYGlAyC9xD0=; b=eBBLdoT5lBkZsOlBIHdFG0j6DmKvY4tD08LBMfut+C24JRd4EwZ8+/ODAxe58dGFvQ xf68BjCWnrvSbR5DzEaiQHIRMgdkmeT++Glu9BBcQiQugUWyh7EJchiP+1+H+0Ha6f+h ANpv/UIjv+YeVB5eEp7wi+2WGhTcwnW8hCiQhxuLdVFxJ07vxbI7/VqsEHBud7RpjAdq NAcQC/nnP6NcozuZSe+7NHEHHXd8fceY5NhRzpm0WqoNmWhd1RYO4XloKVY84SHSlNfq GR4NcskdNrTdvgOyV6yi2diPhLwFv63rqtGz32DCEGej6Y66+jLuRmSX1KumO3QjJqT6 fThQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1ISSeESR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si1939416edi.318.2019.10.25.13.59.44; Fri, 25 Oct 2019 14:00:08 -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=pass header.i=@kernel.org header.s=default header.b=1ISSeESR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728548AbfJYUdc (ORCPT + 99 others); Fri, 25 Oct 2019 16:33:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:50882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728514AbfJYUdc (ORCPT ); Fri, 25 Oct 2019 16:33:32 -0400 Received: from rapoport-lnx (unknown [87.70.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9F0C9205F4; Fri, 25 Oct 2019 20:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572035611; bh=+V3MYXgziPOZllvPaeN2wWalwWrmuc8yiZofvYCWoNY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1ISSeESRZG09GzO0p+0h+u/Da++xXbkOcsQ5mlswN8E+JmDJy8i2vG7sk1XtBAlth O+JkATp4aZZ6UwRybaJhjTl0dq8o88pCslQd7+isc/kOjQ3j0a42WMTbSUrvr9icVT /jJxJNBEQReX2euA+K+z//obJVLa7yxkT+K4iwqU= Date: Fri, 25 Oct 2019 23:33:19 +0300 From: Mike Rapoport To: Michal Simek Cc: linux-mm@kvack.org, Andrew Morton , Anton Ivanov , Arnd Bergmann , "David S. Miller" , Geert Uytterhoeven , Greentime Hu , Greg Ungerer , Helge Deller , "James E.J. Bottomley" , Jeff Dike , "Kirill A. Shutemov" , Linus Torvalds , Mark Salter , Matt Turner , Richard Weinberger , Russell King , Sam Creasey , Vincent Chen , Vineet Gupta , linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, sparclinux@vger.kernel.org, Mike Rapoport Subject: Re: [PATCH 06/12] microblaze: use pgtable-nopmd instead of 4level-fixup Message-ID: <20191025203318.GA8413@rapoport-lnx> References: <1571822941-29776-1-git-send-email-rppt@kernel.org> <1571822941-29776-7-git-send-email-rppt@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 25, 2019 at 10:24:30AM +0200, Michal Simek wrote: > Hi Mike, > > On 23. 10. 19 11:28, Mike Rapoport wrote: > > From: Mike Rapoport > > > > microblaze has only two-level page tables and can use pgtable-nopmd and > > folding of the upper layers. > > > > Replace usage of include/asm-generic/4level-fixup.h and explicit definition > > of __PAGETABLE_PMD_FOLDED in microblaze with > > include/asm-generic/pgtable-nopmd.h and adjust page table manipulation > > macros and functions accordingly. > > > > Signed-off-by: Mike Rapoport > > --- > > arch/microblaze/include/asm/page.h | 3 --- > > arch/microblaze/include/asm/pgalloc.h | 16 ---------------- > > arch/microblaze/include/asm/pgtable.h | 32 ++------------------------------ > > arch/microblaze/kernel/signal.c | 10 +++++++--- > > arch/microblaze/mm/init.c | 7 +++++-- > > arch/microblaze/mm/pgtable.c | 13 +++++++++++-- > > 6 files changed, 25 insertions(+), 56 deletions(-) > > I have take a look at this and when this is applied on the top of > 5.4-rc2 there is not a problem. > But as was reported by 0-day there is compilation issue on the top of > mmotm/master tree and I am able to replicate it. > It means there are other changes in Andrew's tree which are causing it. 0day is still using an old tree for mmotm: > url: https://github.com/0day-ci/linux/commits/Mike-Rapoport/mm-remove-__ARCH_HAS_4LEVEL_HACK/20191025-063009 > base: git://git.cmpxchg.org/linux-mmotm.git master > config: microblaze-mmu_defconfig (attached as .config) A while ago Johannes moved the mmotm to github and the last commit in git.cmpxchg.org/linux-mmotm.git was in the end of August. [1] https://lore.kernel.org/linux-mm/20190916134327.GC29985@cmpxchg.org > Thanks, > Michal > > -- > Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 > w: www.monstr.eu p: +42-0-721842854 > Maintainer of Linux kernel - Xilinx Microblaze > Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs > U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs > -- Sincerely yours, Mike.