[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2305301315120.42601@angie.orcam.me.uk>
Date: Tue, 30 May 2023 13:16:32 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Jiaxun Yang <jiaxun.yang@...goat.com>
cc: Paul Cercueil <paul@...pouillou.net>,
"linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>,
linux-kernel@...r.kernel.org,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Subject: Re: [PATCH 1/2] MIPS: Allow MIPS32R2 kernel to run on P5600 and
M5150
On Tue, 30 May 2023, Jiaxun Yang wrote:
> > Sure, but this change is not needed for it. You just need to declare
> > which ISA revisions your platform supports and leave `__get_cpu_type'
> > alone. It has worked like that for a decade now.
>
> I’m afraid it won’t work as you expected.
>
> Actually I ran into a problem that `case CPU_P5600` in c-r4k.c is optimised out
> by compiler, because the codepath is marked as unreachable.
Maybe there's a bug elsewhere then. Send me your .config and I'll try to
reproduce it.
Maciej
Powered by blists - more mailing lists