Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1517170ybl; Sat, 1 Feb 2020 00:08:49 -0800 (PST) X-Google-Smtp-Source: APXvYqx0QuhyBmqXTNTXzJywcllD6+x4j9ErFAXXZ7SDrTtRsitJA4fbwTijf/CNOSnY/2xPJP3x X-Received: by 2002:aca:33d5:: with SMTP id z204mr8398037oiz.120.1580544529167; Sat, 01 Feb 2020 00:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580544529; cv=none; d=google.com; s=arc-20160816; b=bhcLWlohaXW3hKiKJUyf3RWAE32v8Ev5BTOqy/JAzWlTICIN+UNbog8Ee4mLWl4gEm 8sgX5hCaC8Qa1PvnX45N/0mqjiLVAe7tMrH4igBjOU6swawSNKdpW5mDtbtMV9j/qnPm 9im5zYKyepO8A0EzjHlmWjgJbb2tEu2ZEE+DwoNY4F/PMxcenYYKpEEIckZl5V+7Ehf/ xANdYVPUqj8bVHmLEuEIBbF/ByLgy7dyV1qGwlClQj+bmH13juXoYDfh9CDgsDNiCEQN Tj1NB1+dR9EcJZ3P4+FsiBiUV0A6MiTiKceu09zebA2pa0QTUwAWRBwLuOhnmfzWbBpq 1WnQ== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=5nTO1YAVmPYSrJV28ycJBVRQxudQyA//ln8alpueGps=; b=vxPMImYpkLr9QlWx4+Zu8HsbwFWWv2ZlQKv0oLAutDphkvqAJqFXLuoBRTyM7ojTtb HYjdJ+XhQ91nsbszsBYhEfebeYsnTHkxDn9Mb61ms0DCuaGltnGtRQajA6hVaxS1k9xu 896sL0clqcxlWOTpXNLvk1YSkvG1Ax0eVY8yj6RBDtiypKHS5bqw9rX3arIRedyDRk3F xfFTvbJLGaY7cD5PPd5dd03PjFPJysfsf+LLNU9Mq5zMhtacBhFLeYWOOvuFe3RZxEVY tSfq29adFMB7QlS8oNmNeefucvh1G0VaNiu89MQnk+V3l5iMVH8o98HDhJdNlFiwHun5 7XyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hRi0IFDa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si5965181otj.282.2020.02.01.00.08.37; Sat, 01 Feb 2020 00:08:49 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hRi0IFDa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726354AbgBAIHn (ORCPT + 99 others); Sat, 1 Feb 2020 03:07:43 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:40224 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbgBAIHm (ORCPT ); Sat, 1 Feb 2020 03:07:42 -0500 Received: by mail-pl1-f193.google.com with SMTP id y1so3739903plp.7 for ; Sat, 01 Feb 2020 00:07:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=5nTO1YAVmPYSrJV28ycJBVRQxudQyA//ln8alpueGps=; b=hRi0IFDaZn1lUYPec0qzmBKxfP6Dp5z1ASVzko/oGim4N6t0iTqI+Rq5GJ79UGsZk4 jIRbBfvCFm83PIOe/5646uAh8jt4ocQYU7CEHv9EaZyOIkDfQJ9B0eKkb/7GfYVLo1ZC oT3GwN2WPDGuMq08oWbz6KJEkiqFMhXvoyPFKdSfX4BqTu3KPBWk8GM7IravPiATD710 u1Ky4J0jaFm2nfXfZQ7BdWnQ99puOsxnndHxi1tGJGEDuIzRsHT9SvDlkLH8dC8h4P04 jCjbN95qHqHt8huMtBcMIA+bc+hjyvdgw8SpcIWGUvLa8yXcIadvVzgWnZPdbi6GUbDb ItuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=5nTO1YAVmPYSrJV28ycJBVRQxudQyA//ln8alpueGps=; b=EgXds3/Dkam39SOXmB/u5ozH8/ZxzTlbd3JumwAyt8RUUU3FxndJrhW4b3XgMtZgXQ FcNWYy27l3DYTb2rG1xSAYy4UdwfIaDnI6GGLhYEyBQ3BXwztUX2+qGPS4SxzKQ+B62E 3Dx0mRIAHQNBoKLagMEe/GCJKyuveg9KREOzodQ+FfKZ5MegP1L/GmjaSFJZFfespukF NjQwOdXSb0mfPVknGZnwQzXvmu9YOpCm9+BnC3YDfABSQx1zU/zuJNQ+F2h2UuT4iesI ymm2Q1/pOhxKSrHuB8E92yxF5POnhew+DBl4hL7Eg6pnQgecvnHxG9upEqZj5XuLDvj/ 3V+Q== X-Gm-Message-State: APjAAAVmzko+YC5uO2eJmLCJdJqGM8cLLPCo9LilJ/9Vog4Z3qgJdq7B jNwHucm7i6m4U1vKR+WwRBk= X-Received: by 2002:a17:902:a514:: with SMTP id s20mr13995193plq.300.1580544460768; Sat, 01 Feb 2020 00:07:40 -0800 (PST) Received: from [192.168.1.101] (122-58-182-19-adsl.sparkbb.co.nz. [122.58.182.19]) by smtp.gmail.com with ESMTPSA id x132sm12731750pfc.148.2020.02.01.00.07.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Feb 2020 00:07:40 -0800 (PST) Subject: Re: [PATCH -v2 00/10] Rewrite Motorola MMU page-table layout To: Peter Zijlstra , Geert Uytterhoeven References: <20200131124531.623136425@infradead.org> Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Will Deacon , Greg Ungerer From: Michael Schmitz Message-ID: <415a1105-f971-5513-bd41-fbd2ec4e1cd7@gmail.com> Date: Sat, 1 Feb 2020 21:07:34 +1300 User-Agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <20200131124531.623136425@infradead.org> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter, this version tested OK on 030, so Tested-by; Michael Schmitz Am 01.02.2020 um 01:45 schrieb Peter Zijlstra: > Hi! > > 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. > > 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(-) > >