Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp850914ybx; Tue, 5 Nov 2019 06:34:49 -0800 (PST) X-Google-Smtp-Source: APXvYqyjigltdV3JPEOGn0W4s2RfeH9QOqZKz2QxY9QQMhfDeJGJw5P4lPKAEIZFLacYtPz4O0kK X-Received: by 2002:a05:6402:1a34:: with SMTP id be20mr18224147edb.221.1572964488918; Tue, 05 Nov 2019 06:34:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572964488; cv=none; d=google.com; s=arc-20160816; b=MNQJm7xb1fvdB0M5x4wbrIF8libqoxFDIq4zaJoA7tyS7Iz5eWvVyOgXAKDiLJr6kX z6d2ZknqkKSSajWd8Xc73YCY0aEhHz90IepYtZnolkW/6XTgpfJJPGAILDWtYzqf8oa6 Cp+0MeYwr06nkVmL1ZdCJ5xtX2qhGEygM8BG4IQ1W6Ao1wi2UTAoep5PLre5edjDyZs3 DiKNtdZ8QV2wI+OkB+QYvcjf6hbCNxW1QL1W0pRtv5jxHYTLD2UAMHNTiZcrPOYvsOAX pepuUbiwLgY2+Me9mzWoMMb5BjE80IHxQmuPo7mm9az3j5t3q32XLhFul2mwdzGCtVlF 9PWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=bNhEjHKFClXOvN4zHG1rNSpI7JX5wbRucuM2cYxHo7c=; b=U3KPfy5X+et5ZXY0RekyoTZUE3P+JHe6GxvUXTKHqhA8XIA/PwpX2UXd9HUCczMq+8 mjgblp4hxna+qJZHzSJqupIo/gpJYPxEas++KJIqWX1AOfGkhAIPBwiNOsTNbFaftn1d AV8qonlrZuzOuJQ+3Uy1bilVA/9OATD8BULkjjIQSdqPkxsFaHB38Sxws1HzHnT1HolZ w7Qh4BtkgJpELBg4pONzBgGxchQRpQtcUq9QCyS4kFxWxMMuZu2G6HPBEm1owPYHeUuc oCAfLqrZ4hplQ3hkHQOIyfgVzLEFRdhbjD5MDla2BpqIx/sUiFzXDgTBcQvAo4OZTByL wcQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jRz9AgH5; 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 z13si13598482ejw.409.2019.11.05.06.34.25; Tue, 05 Nov 2019 06:34:48 -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=@kernel.org header.s=default header.b=jRz9AgH5; 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 S2389546AbfKEOda (ORCPT + 99 others); Tue, 5 Nov 2019 09:33:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:49600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389110AbfKEOda (ORCPT ); Tue, 5 Nov 2019 09:33:30 -0500 Received: from aquarius.haifa.ibm.com (nesher1.haifa.il.ibm.com [195.110.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DC24621882; Tue, 5 Nov 2019 14:33:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572964409; bh=hXmkzDwTgrPhaWgnpZzxD81BNpiXtqjPDiGXRaspyxA=; h=From:To:Cc:Subject:Date:From; b=jRz9AgH5C8D6SlSMAS1O0JBxfDpBQnF2v0y+0Q2cMgaHGkYQRhWsBdASBaA6xiNmt NcGziJ00wTdmrGGvtqzjbfqwdS3YJtcRgWUBYH+syP760W3PuwdYCzjMFVy6NZrPdd gDgGy4+luqc3H9Q1D+3olnbV/m11xDCLJnWlLp8E= From: Mike Rapoport To: Chris Zankel , Max Filippov Cc: linux-xtensa@linux-xtensa.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport , Mike Rapoport Subject: [PATCH 0/2] xtensa: get rid of __ARCH_USE_5LEVEL_HACK Date: Tue, 5 Nov 2019 16:33:18 +0200 Message-Id: <1572964400-16542-1-git-send-email-rppt@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mike Rapoport Hi, These patches update the xtensa page table folding/unfolding to take into account the 5th level. Mike Rapoport (2): xtensa: mm: fix PMD folding implementation xtensa: get rid of __ARCH_USE_5LEVEL_HACK arch/xtensa/include/asm/pgtable.h | 4 ---- arch/xtensa/mm/fault.c | 16 ++++++++++++++-- arch/xtensa/mm/kasan_init.c | 8 ++++++-- arch/xtensa/mm/mmu.c | 4 +++- arch/xtensa/mm/tlb.c | 9 ++++++++- 5 files changed, 31 insertions(+), 10 deletions(-) -- 2.7.4