Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp634168ybl; Fri, 31 Jan 2020 05:21:09 -0800 (PST) X-Google-Smtp-Source: APXvYqwEjaihLrhZi800bpg3FAVyCdJ1/fz5j3Jkl7VItQX6PYphHOlacDkseAjBswDChLxOs9lm X-Received: by 2002:a05:6830:1110:: with SMTP id w16mr4992503otq.305.1580476869513; Fri, 31 Jan 2020 05:21:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580476869; cv=none; d=google.com; s=arc-20160816; b=WjUQAqTvdb7y8xNY5ZET4jgC1jDvfIYF6+KzltTfK2CB/r1jSiEKvpUEB7d/RjmLEO WDz3KDt6meixhx0czXQ5YRjBAOGdJRwYmSnEBAk0yBqunAl7by8T+KM5FZYNXsBe/FAp yy/PcV+su3BBMkKocYqpA2Sl+LNrlcDWfZ3aFxjVKEh5Cfj/vTbD3/VcZfD8eGX4tinW kXf97tsVbR9+iDTcR3yP1cfWTbV//VG523rUjTlzOLupFRX/MhL8WLo4FP4LBlOuy6vb +EIxNpltnlz0ZL9whIHRiFaaFBgmeTnRtl632pc2IHiz2AfIdRW6veNzb7dcmw8c6JtK IwgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Cnn5DAc9gLMwEKD+hm613FUz15kiECtcF9IOpFjCkPg=; b=XOe9N63WYaGFPDOqG0zlu+tJPfwiwO7h5keR/ybpALjUv2HKADfKsaeNuhUdPQHF2M 9YufENG1Pcnr3+lXBumsqloNWVvFC7sX4CR41GkEFlmIWZPGcjK4aO5o1a/QukYlfWIr 1l2McuwWzFvNYEptoRJm+5WG4xmFLWc23y+Tfi1wU0q1T6nB6HM+yO/X/hiLIZ7BRd/e 1dp2mzak/thHVzp4jLdOVLCSfekMvpdjrnkxoHPJ4n/xyAJBsKVWVvXoQzghR5NkAL9V qP5JcHEKH2SBTJaUfO1O4VUWJ3lCxAtVcYUc5QCv/GL9Y1kA/uIbhLxYG4h5p/yrOkQy 4vKw== 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 o206si4160841oih.143.2020.01.31.05.20.57; Fri, 31 Jan 2020 05:21:09 -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 S1728616AbgAaNUD (ORCPT + 99 others); Fri, 31 Jan 2020 08:20:03 -0500 Received: from icp-osb-irony-out8.external.iinet.net.au ([203.59.1.225]:21495 "EHLO icp-osb-irony-out8.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728579AbgAaNUD (ORCPT ); Fri, 31 Jan 2020 08:20:03 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AlAACzKDRe/zXSMGcNWBoBAQEBAQE?= =?us-ascii?q?BAQEDAQEBAREBAQECAgEBAQGBe4F9gRiBMYQUj1kBAQEBAQEGgRIliW+RSQk?= =?us-ascii?q?BAQEBAQEBAQErDAEBhEACglQ4EwIQAQEBBAEBAQEBBQMBhVhMhXIBAQEBAgE?= =?us-ascii?q?jFUEFCwsNCwICJgICVwYBDAYCAQGDIgGCVgUvrCh1gTIahBsBgRSDOIE4BoE?= =?us-ascii?q?OKoFlilV5gQeBOAyCYD6HWYJeBI1diVqYKQiCPYdFhUeJLSGCSIgNhDUDi3i?= =?us-ascii?q?OYIhnlEKBejMaCCgIgycTPY9pAQiHV4VRYgIBjkYBAQ?= X-IPAS-Result: =?us-ascii?q?A2AlAACzKDRe/zXSMGcNWBoBAQEBAQEBAQEDAQEBAREBA?= =?us-ascii?q?QECAgEBAQGBe4F9gRiBMYQUj1kBAQEBAQEGgRIliW+RSQkBAQEBAQEBAQErD?= =?us-ascii?q?AEBhEACglQ4EwIQAQEBBAEBAQEBBQMBhVhMhXIBAQEBAgEjFUEFCwsNCwICJ?= =?us-ascii?q?gICVwYBDAYCAQGDIgGCVgUvrCh1gTIahBsBgRSDOIE4BoEOKoFlilV5gQeBO?= =?us-ascii?q?AyCYD6HWYJeBI1diVqYKQiCPYdFhUeJLSGCSIgNhDUDi3iOYIhnlEKBejMaC?= =?us-ascii?q?CgIgycTPY9pAQiHV4VRYgIBjkYBAQ?= X-IronPort-AV: E=Sophos;i="5.70,385,1574092800"; d="scan'208";a="280751624" Received: from unknown (HELO [10.44.0.192]) ([103.48.210.53]) by icp-osb-irony-out8.iinet.net.au with ESMTP; 31 Jan 2020 21:19:59 +0800 Subject: Re: [PATCH -v2 00/10] Rewrite Motorola MMU page-table layout To: Peter Zijlstra , Geert Uytterhoeven Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Will Deacon , Michael Schmitz References: <20200131124531.623136425@infradead.org> From: Greg Ungerer Message-ID: <9fe6925a-52e5-7104-dae6-3ad97c4bbecc@linux-m68k.org> Date: Fri, 31 Jan 2020 23:19:58 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200131124531.623136425@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On 31/1/20 10:45 pm, Peter Zijlstra wrote: > In order to faciliate Will's READ_ONCE() patches: > > https://lkml.kernel.org/r/20200123153341.19947-1-will@kernel.org > > we need to fix m68k/motorola to not have a giant pmd_t. These patches do so and > are tested using ARAnyM/68040. > > Michael tested the previous version on his Atari Falcon/68030. > > Build tested for sun3/coldfire. Thanks for the quick turn around. Build looks good for me too with this new series. I will test on real hardware on Monday. Regards Greg > Please consider! > > Changes since -v1: > - fixed sun3/coldfire build issues > - unified motorola mmu page setup > - added enum to table allocator > - moved pointer table allocator to motorola.c > - converted coldfire pgtable_t > - fixed coldfire pgd_alloc > - fixed coldfire nocache > > --- > arch/m68k/include/asm/mcf_pgalloc.h | 31 ++--- > arch/m68k/include/asm/motorola_pgalloc.h | 74 ++++------ > arch/m68k/include/asm/motorola_pgtable.h | 36 +++-- > arch/m68k/include/asm/page.h | 16 ++- > arch/m68k/include/asm/pgtable_mm.h | 10 +- > arch/m68k/mm/init.c | 34 +++-- > arch/m68k/mm/kmap.c | 36 +++-- > arch/m68k/mm/memory.c | 103 -------------- > arch/m68k/mm/motorola.c | 228 +++++++++++++++++++++++++------ > 9 files changed, 302 insertions(+), 266 deletions(-) > >