All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Question about contributing mt6577 support but SMP doesn't work
@ 2021-01-30  1:55 Boris Lysov
  0 siblings, 0 replies; only message in thread
From: Boris Lysov @ 2021-01-30  1:55 UTC (permalink / raw)
  To: linux-mediatek

Hello! I'm working on bringing the initial support for mt6577 into
the mainline kernel. I've got the base set of hardware to work: timers,
and few interrupt controllers, and all 4 UARTs, and PL310 cache
controller. My test device boots mainline successfully and runs stable!

I'm having issues with getting SMP to work. mt6577 is a dual-core SoC,
and broken SMP means half of the processing power is unavailable. I
tried to use the existing SMP bring-up code located in
arch/arm/mach-mediatek/platsmp.c , but it didn't work albeit all
specified registers were correct. I also tried porting the SMP init
code from the downstream mediatek kernel, but it never worked either.

My question is: could I still contribute my device support patches
despite literally 50% of the CPU not working? I *strongly* doubt they
would be accepted because of it, but on the other hand devices with
mt6577 (and other compatible SoCs like mt8317) are still able to boot
and run bare mainline kernel on a single core. I ran out of ideas on
how to make that pesky 2nd core come up online with my poor knowledge.


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-30  1:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-30  1:55 [RFC] Question about contributing mt6577 support but SMP doesn't work Boris Lysov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.