linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* VFP available on a single CPU in a dual-CPU complex
@ 2014-08-15  4:45 Florian Fainelli
  2014-08-15  9:03 ` Arnd Bergmann
  2014-08-15  9:07 ` Russell King - ARM Linux
  0 siblings, 2 replies; 8+ messages in thread
From: Florian Fainelli @ 2014-08-15  4:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

On Broadcom's BCM63138 SoC, the second Cortex A9 CPU does not have
VFP, which is a problem as one might imagine because we currently
assume it is available for all CPUs within the complex.

I started to patch vfp_support_entry to test for CPU1 and branch to a
different location, but that raises a bunch of question, in particular
what to do if NEON/VFP came from the kernel, how can we migrate that
execution to CPU0?

If the answer is don't use VFP, I guess that's fine, and I can have a
runtime check in vfp_init() that checks for BCM63138 and set
vfp_vector to vfp_null_entry even though we are running on a multi-v7
kernel with VFP enabled.

Thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-18 14:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15  4:45 VFP available on a single CPU in a dual-CPU complex Florian Fainelli
2014-08-15  9:03 ` Arnd Bergmann
2014-08-15  9:14   ` Will Deacon
2014-08-15 18:54     ` Arnd Bergmann
2014-08-15 19:00       ` Florian Fainelli
2014-08-15 21:24         ` Måns Rullgård
2014-08-18 14:22           ` Catalin Marinas
2014-08-15  9:07 ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).