[PATCH] ARM: Fix the "WFI" instruction opcode definition.

Catalin Marinas catalin.marinas at arm.com
Wed Nov 7 06:00:43 EST 2012


On 6 November 2012 11:24, Kukjin Kim <kgene.kim at samsung.com> wrote:
> BTW, if mach-exynos includes ARMv8 later?...ARMv8 platform codes will be put
> in the arch/arm/ or arch/arm/64/ if some platform codes share with ARMv7?
> Just wondering...

If mach-exynos would support ARMv8 at some point, I would expect most
of the code to go under various drivers/ subsystems (mfd, power etc.).
I don't see any point in using opcodes. For wfi just use a macro or
cpu_do_idle() (as Rob said, it does the required dsb as well).

I'm also pushing for a standard hotplug.c implementation that is
shared by multiple platforms and uses the power state coordination
interface implemented by the firmware.

-- 
Catalin



More information about the linux-arm-kernel mailing list