Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp417140imm; Thu, 10 May 2018 23:49:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqVEplnC7ahky5AW6EfKi8kuFgUoa6nHGgTpBtwiTZbtE+hvuQBUoX6WnIhqFpMJejBsl4k X-Received: by 2002:a62:6a0a:: with SMTP id f10-v6mr4234456pfc.99.1526021352015; Thu, 10 May 2018 23:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526021351; cv=none; d=google.com; s=arc-20160816; b=Stu2Q+ppU1bTCzmNJTeJn5GBvLBCqCxEblSBlNZU5e8Nf9gfUhI10VEvRdyKOHv2vN cnsut14YQLrDt1fmX26muqOdF39hMlJO+VMjEjNSac5rXC1fy2pv5PwNWkkY8kUSVGdT SdTmwW4SHbBLL1ZijfjyDpSZcJFoGi6UjHFC1OB7EFFuKoKlINVyPloV9GnAiv9vDnwe 7Gf2y2yjduyVxhgprGbL89exg1g8UGc3Z/chxkfbqSCvyhJIbg7YUWWTGEj3H2M0MVyJ Q36F/pzSiyCg1kDDq6R221Wojpl58f5stWlZLXTr7UY505oZjxtOycai0YagOTZhpGSH 4bpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=jBT5v49lpuRdKrJqCfxf2nl/bU00CYgYw/lYoXnJg4c=; b=E8ibHFrOqdFlolPkiyFk0m5FMYPTnRvgnAhOZOfDyr3xT3Vn+o9Z/wLrnVXqgnaUWc qM40CGECDQVc15hwdhHZLZsFbvxz7AaU9i5vZGz/5BbJsYhlj/Mm0tWKeaEyY9wBByKa QmGEDD4GN0x0De7gxgJZ89moOuxBvXq+N/SfODZt+2yle3e7qz/t9Ed0ZLP1oOt8Aate TjcwXDS5s5IJTI6yTVLyBMzDuj5ts33Xr70o703wVUaMF3O60PNm5Hs5q2zRyKAUfLtP ibKlE5Btb5KfztfyKrU65opAkETnE2wBVlmc5LbV3d3Crq4UXmliiS8E+GRGHo48GEtd i89A== 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 g7-v6si2511841plo.95.2018.05.10.23.48.57; Thu, 10 May 2018 23:49:11 -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 S1752535AbeEKGsq (ORCPT + 99 others); Fri, 11 May 2018 02:48:46 -0400 Received: from ozlabs.org ([203.11.71.1]:36173 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752306AbeEKGsn (ORCPT ); Fri, 11 May 2018 02:48:43 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 40j0zs6rd0z9s0w; Fri, 11 May 2018 16:48:41 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , aneesh.kumar@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 00/17] Implement use of HW assistance on TLB table walk on 8xx In-Reply-To: References: Date: Fri, 11 May 2018 16:48:41 +1000 Message-ID: <87sh6yr8l2.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > The purpose of this serie is to implement hardware assistance for TLB table walk > on the 8xx. > > First part is to make L1 entries and L2 entries independant. > For that, we need to alter ioremap functions in order to handle GUARD attribute > at the PGD/PMD level. > > Last part is to try and reuse PTE fragment implemented on PPC64 in order to > not waste 16k Pages for page tables as only 4k are used. For the time being, > it doesn't work, but I include it in the serie anyway in order to get feedback. > > Tested successfully on 8xx up to the one before the last. > > Didn't have time to do compilation test on other configs, I send it anyway > before leaving for one week vacation in order to get feedback. I replied to a few patches, here's some other build errors: arch/powerpc/mm/ioremap.c:135:15: error: '_PAGE_GUARDED' undeclared (first use in this function): pseries_defconfig/powerpc arch/powerpc/include/asm/book3s/32/pgtable.h:53:19: error: 'PKMAP_BASE' undeclared (first use in this function): pmac32_defconfig/powerpc-5.3 include/linux/mm.h:533:41: error: 'PKMAP_BASE' undeclared (first use in this function): pmac32_defconfig/powerpc ERROR: "ioremap_bot" [net/netfilter/nf_conntrack.ko] undefined!: linkstation_defconfig/powerpc ERROR: "ioremap_bot" [fs/xfs/xfs.ko] undefined!: linkstation_defconfig/powerpc arch/powerpc/include/asm/nohash/32/pgtable.h:80:20: error: 'PKMAP_BASE' undeclared (first use in this function): corenet32_smp_defconfig/powerpc-5.3 arch/powerpc/include/asm/nohash/32/pgalloc.h:64:43: error: '_PMD_GUARDED' undeclared (first use in this function): ppc40x_defconfig/powerpc-5.3 ERROR: "ioremap_bot" [net/packet/af_packet.ko] undefined!: storcenter_defconfig/powerpc ERROR: "ioremap_bot" [drivers/usb/core/usbcore.ko] undefined!: ppc44x_defconfig/powerpc cheers