mali: Clean up arch

The arch directory is supposed to be a symlink to the proper
architecture directory.  Add orion-m400 and symlink to it.

(orion-m400 and pegasus-m400 seem to have the same config.h
but keep em' separate anyway.)

Change-Id: I70045baad8bb1538269ea2afc2e017b349598a34
mali: Fix bad file formatting.

Somehow this file wound up becoming Mac-formatted...

Change-Id: I89dcc22e4c88d71ef78b6a7e2d20280674632b37
mali: Update platform code.

Pull it from pegasus, remove the obvious Pegasus-specific crap,
and also enable Mali 3-step.

Not yet user-controllable.  That's for a later patch when
our GPU isn't gulping down juice.

Change-Id: Iaa8a026a944dbbf76aa3524639f983a1426d04fc
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
stand-hotplug:  Add enhanced tunables

Now has separate hotplugging rates for screen off/on.

Defaults to disallowing any additional cores when screen is
off.

Also allows hotplugging to be disabled until CPU frequency goes
over a certain thresholed - default 800 MHz.

WARNING:  Do not apply this to any kernel that will build for
devices with more than 2 cores.  Since the smdk4210 tree
only builds for dual-core devices this is fine, but
don't apply it to smdk4412 unless you want pain.

Change-Id: I4fba84ab351476f1f97732bc5a4cf3f180263f57
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
mali: Fix for getting the subversion revision

Prevents compiler errors due to unescaped strings, ie:

    arm-eabi-gcc: error: directory: No such file or directory
    arm-eabi-gcc: error: directory": No such file or directory

Forward port from 3d59d993.

Change-Id: Ib4cdd0ae6f7bcc2641d1264197b15a58d1240a52
ump: Fix for getting the subversion revision

Prevents compiler errors due to unescaped strings, ie:

     arm-eabi-gcc: error: directory: No such file or directory
     arm-eabi-gcc: error: directory": No such file or directory

Forward port from fcaa34e2.

Change-Id: I06b03801801f43fbe87d544ea5e5720f660a56af
Merge "ump: Fix for getting the subversion revision" into jellybean
Merge "stand-hotplug:  Add enhanced tunables" into jellybean
Merge "mali: Clean up arch" into jellybean
Merge "mali: Fix bad file formatting." into jellybean
Merge "mali: Update platform code." into jellybean
ARM: SMP: use a timing out completion for cpu hotplug

    ARM: SMP: use a timing out completion for cpu hotplug

    Rather than open-coding the jiffy-based wait, and polling for the
    secondary CPU to come online, use a completion instead.  This
    removes the need to poll, instead we will be notified when the
    secondary CPU has initialized.

    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Change-Id: I1be0fac91470ebc402bb0bdbed3011836565c490
config: Print cpuid on printk()s

Might find some hotplug-related issues...

Change-Id: I64232c840cea0869367a6e9dd21b46f9b439c141
mali: switch clksrc back to MPLL

In Tab 7 Plus and 7.7, Mali clocks are derived directly from
VPLL.  In all other Exynos 4210 devices, they are derived by
dividing MPLL which is always 800 MHz.

Exynos 4x12 devices also derive Mali clocks from VPLL, and
we just pulled their platform code.  Right now, all clock
requests are failing due to not having the right VPLL entries.

Go back to the old way of deriving Mali clocks until:
We add GPU clock control and more steps
We have the correct VPLL entries

Change-Id: If5bea84081b31f702c7ea2860a9a748aa0b28efa
Signed-off-by: Andrew Dodd <atd7@cornell.edu>