From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Date: Wed, 04 Dec 2019 15:17:26 +0000 Subject: Re: [PATCH v6 10/18] sh/tlb: Convert SH to generic mmu_gather Message-Id: List-Id: References: <20190219103148.192029670@infradead.org> <20190219103233.443069009@infradead.org> <20191204104733.GR2844@hirez.programming.kicks-ass.net> <156fa92f-4c5a-08bd-bcda-20029724c0de@roeck-us.net> In-Reply-To: <156fa92f-4c5a-08bd-bcda-20029724c0de@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Guenter Roeck Cc: Peter Zijlstra , Will Deacon , "Aneesh Kumar K.V" , Andrew Morton , Nicholas Piggin , Linux-Arch , Linux MM , Linux Kernel Mailing List , Russell King , Heiko Carstens , Rik van Riel , Yoshinori Sato , Rich Felker , Linux-sh list Hi G=C3=BCnter, On Wed, Dec 4, 2019 at 2:22 PM Guenter Roeck wrote: > On 12/4/19 4:32 AM, Geert Uytterhoeven wrote: > > On Wed, Dec 4, 2019 at 11:48 AM Peter Zijlstra w= rote: > >> On Tue, Dec 03, 2019 at 12:19:00PM +0100, Geert Uytterhoeven wrote: > >>> On Tue, Feb 19, 2019 at 11:35 AM Peter Zijlstra wrote: > >>>> Generic mmu_gather provides everything SH needs (range tracking and > >>>> cache coherency). > >>> I got remote access to an SH7722-based Migo-R again, which spews a lo= ng > >>> sequence of BUGs during userspace startup. I've bisected this to com= mit > >>> c5b27a889da92f4a ("sh/tlb: Convert SH to generic mmu_gather"). > >> > >> Whoopsy.. also, is this really the first time anybody booted an SH > >> kernel in over a year ?!? > > > > Nah, but the v5.4-rc3 I booted recently on qemu -M r2d had > > CONFIG_PGTABLE_LEVELS=3D2, so it didn't show the problem. > > > > Guess that explains why I do not see the problem with my qemu boots. > I use rts7751r2dplus_defconfig. Is it possible to reproduce the problem > with qemu ? I don't think so, but maybe I am missing something. Qemu seems to support r2d and shix only. For the latter, the website pointed to by the qemu sources no longer exists. But according to those sources, it's also sh7750-based, so no luck. Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds