Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2992053ybk; Mon, 18 May 2020 13:02:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFFvSRFnR4TzjDXcw/3jpnPMos+2FsUrU25BkQuX5MLWMP8faaH8sAhZqisWs7sF6Ge0WP X-Received: by 2002:a17:906:9518:: with SMTP id u24mr16741264ejx.137.1589832144629; Mon, 18 May 2020 13:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589832144; cv=none; d=google.com; s=arc-20160816; b=Dvrx4gH3fx489CSb4NQF+NxYjqL31aB9B3U4qzl7eMsJfRIWBbeTbwug2szO82lqeG zkmahxaTQAQmL4vrt61BtxP1EWzWSDFBS7huh7VtOc2RNvtZDpozL8aCouS4zyw/j/jw VBEEKtq88Fjt1B+0cM+6vMouZyn3qcF/aFAM9KHT3BhbgeSZCdaJxuj8VeyNY9euaZoF leTBujvnxoDXKERFyHNvZKIOtzjielR88wt4AtU/s1gGbigA26kxLhP0yJUg05VoCGF5 ynAagXxJEJZrIYzBCigXzICCNgwja0glcZ8BM5GemWjLYEZ9jCIdFncbuKVtlgc/OKMK Gqeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FEk+O3KO2J0yE+kcI9JwIsJ9Kgv5Oq0RxwtNrCe7gkM=; b=wgPZ7ufS4GdIN2zLWVy74T4UILWptWNSGRm5Crf+WaGSV+feiE9Ere7OpdGs3C97fO rw7QyjKr2HW0sIyZLgd3mc4jN3rXcNXRApRLqDVqfrla6Wj+BTC1P5XUHYzOn5NrwwXn X1CX/sfvWTZXLml5/VG87yfCixOs/jk5bEVVNQVsPkj/8tfGWhZ8cEH+B5kevifeURgP aBF7YrYD4/GIjFjhdrkC2kQ231QScM4kS5tQ0BdhvtNest/f/z/q4n+BLcFj0SAUcZxG AbGexEWRG9od8mb1RCLdmHFKcG7gvixjX53a61itLsBrKAdKNze2AQJBp4lurMF8HqEI r0cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QIXEkXTP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i5si6356764edq.575.2020.05.18.13.02.01; Mon, 18 May 2020 13:02:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QIXEkXTP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727796AbgERTPY (ORCPT + 99 others); Mon, 18 May 2020 15:15:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:36256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727775AbgERTPY (ORCPT ); Mon, 18 May 2020 15:15:24 -0400 Received: from kernel.org (unknown [87.71.47.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CAEBF20657; Mon, 18 May 2020 19:15:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589829323; bh=X4wI/Pi/dLltPRB3hRK89e/zukj0Cxkq+d6hZJCpsKE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QIXEkXTPPBw8odzrRPOyh3N+C+/qFTle9rnvWhLNBfYyZqoZ1OsMotaU9sGT7ts5e 55eoYfM8ShDjgphigStUlJ1rVHt56ggoETpiuVbuJhezYqZfr5wLoCH6yt0D8osuo/ R7P9YfzIsnePtT84bcMsh9qXUYuQbOhimpjdjXwY= Date: Mon, 18 May 2020 22:15:11 +0300 From: Mike Rapoport To: Guenter Roeck , Andrew Morton Cc: Ira Weiny , Will Deacon , linux-kernel@vger.kernel.org, elver@google.com, tglx@linutronix.de, paulmck@kernel.org, mingo@kernel.org, peterz@infradead.org, "David S. Miller" Subject: Re: [PATCH v5 04/18] sparc32: mm: Reduce allocation size for PMD and PTE tables Message-ID: <20200518191511.GD1118872@kernel.org> References: <20200511204150.27858-1-will@kernel.org> <20200511204150.27858-5-will@kernel.org> <20200517000050.GA87467@roeck-us.net> <20200517000750.GA157503@roeck-us.net> <20200518083715.GA31383@willie-the-truck> <418aa44b-6fb3-c3d8-a920-1a26e5edec62@roeck-us.net> <20200518142310.GC1118872@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2020 at 11:09:46AM -0700, Guenter Roeck wrote: > On 5/18/20 7:23 AM, Mike Rapoport wrote: > > Below is another set of bisect results, from next-20200518. It points to one > of your commits. This is for microblaze (big endian) boot failures. The microblaze one was easy, as for sparc32 I still have no clue for the root cause :( Andrew, can you please fold it into "mm: pgtable: add shortcuts for accessing kernel PMD and PTE"? From 167250de28aa526342641b2647294a755d234090 Mon Sep 17 00:00:00 2001 From: Mike Rapoport Date: Mon, 18 May 2020 22:08:10 +0300 Subject: [PATCH] microblaze: fix page table traversal in setup_rt_frame() The replacement of long folded page table traversal with the direct access to PMD entry wrongly used the kernel page table in setup_rt_frame() function instead of the process (current->mm) page table. Fix it. Signed-off-by: Mike Rapoport --- arch/microblaze/kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c index 28b1ec4b4e79..bdd6d0c86e16 100644 --- a/arch/microblaze/kernel/signal.c +++ b/arch/microblaze/kernel/signal.c @@ -194,7 +194,7 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, address = ((unsigned long)frame->tramp); #ifdef CONFIG_MMU - pmdp = pmd_off_k(address); + pmdp = pmd_off(current->mm, address); preempt_disable(); ptep = pte_offset_map(pmdp, address); -- 2.26.2 > Guenter > > --- -- Sincerely yours, Mike.