[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210526134942.2bf26d5cf5a9243583aec131@linux-foundation.org>
Date: Wed, 26 May 2021 13:49:42 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
周琰杰 <zhouyanjie@...yeetech.com>
Subject: Re: [PATCH] Revert "MIPS: make userspace mapping young by default"
On Wed, 26 May 2021 11:43:35 +0200 Thomas Bogendoerfer <tsbogend@...ha.franken.de> wrote:
> This reverts commit f685a533a7fab35c5d069dcd663f59c8e4171a75.
>
> MIPS cache flush logic needs to know whether the mapping was already
> established to decide how to flush caches. This is done by checking the
> valid bit in the PTE. The commit above breaks this logic by setting
> the valid in the PTE in new mappings, which causes kernel crashes.
Thanks. I added
Fixes: f685a533a7f ("MIPS: make userspace mapping young by default")
Cc: <stable@...r.kernel.org>
Powered by blists - more mailing lists