add 3-phase bricked_msm_thermal

Change-Id: Ice86e657b53c1e89185b816cd9c460957bd59938
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
vfp: since we use hardfloat, change the modifer accordingly

Change-Id: Iaf2a29c910d39d5662364b33d72f6ba016de6bf6
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
push kernel version to RC

Change-Id: Ie832b49bc57320cbdac7aa685bc8784374252be7
Merge remote-tracking branch 'slim/kk4.4' into kitkat
ARM: add support for kernel mode NEON

In order to safely support the use of NEON instructions in
kernel mode, some precautions need to be taken:
- the userland context that may be present in the registers (even
  if the NEON/VFP is currently disabled) must be stored under the
  correct task (which may not be 'current' in the UP case),
- to avoid having to keep track of additional vfpstates for the
  kernel side, disallow the use of NEON in interrupt context
  and run with preemption disabled,
- after use, re-enable preemption and re-enable the lazy restore
  machinery by disabling the NEON/VFP unit.

This patch adds the functions kernel_neon_begin() and
kernel_neon_end() which take care of the above. It also adds
the Kconfig symbol KERNEL_MODE_NEON to enable it.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Paul Reioux <reioux@gmail.com>
Change-Id: If1f05d3201b6c285805ba2197d9f2f66294eba23
ARM: be strict about FP exceptions in kernel mode

The support code in vfp_support_entry does not care whether the
exception that caused it to be invoked occurred in kernel mode or
in user mode. However, neither condition that could trigger this
exception (lazy restore and VFP bounce to support code) is
currently allowable in kernel mode.

In either case, print a message describing the condition before
letting the undefined instruction handler run its course and trigger
an oops.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
Acked-by: Nicolas Pitre <nico at linaro.org>
Signed-off-by: Paul Reioux <reioux@gmail.com>
Change-Id: I71ae88e09e1cc116e3691db31d098a847318dd04
bitmap: compile with -Os

Change-Id: I335a1eb92cfc0b17f85b3a53f120cc407a0f293a
Add /dev/frandom

Change-Id: Iafb73f05e895fc73308411d0bd3174d718a03ce9
kernel: Allow exfat module load without hassle

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I354b6dd60e762209774e651b228591c29a9788c4