added CFLAGS: -fno-pic to Makefile to hopefully fix wifi breakage
Boeffla ramfs: Update to latest busybox 1.22.1

(busybox compiled by andip71)

Conflicts:
	ramdisk_boeffla/sbin/busybox

	new file:   ../ramdisk_boeffla/sbin/busybox added boeffla busybox
Boeffla ramfs: add insecure adbd to Boeffla ramfs
Samsung ramfs: Initial version XXCMK1 (n5110)
Revert "Samsung ramfs: Initial version XXCMK1 (n5110)"

This reverts commit 4750a00b300d7ccfbdbb5c296c86e1cd6fb2bd0b.

	deleted:    ramdisk_samsung/boot.img-ramdisk.gz adding back in a minute
Samsung ramfs: Initial version XXCMK1 (n5110)
mali: add GPU overclocking frequencies

credits to Simone201
mali: GPU control interface

GPU frequency, scaling and voltage control.
Based on netarchy's initial implementation and improvements of AndreiLux, Gokhanmoral and ported onto the pegasus-m400 platform

Modified for n8010 by andip71 and this version merged for n5110 with the GPU control version of the 'SphereEngine Project'
(https://github.com/civato/SphereEngine-Note8.0) by ZaneZam
(Credits to Andreilux and thx to civato)

Conflicts:
	drivers/misc/Makefile

	modified:   drivers/misc/Kconfig mali: GPU control interface
	modified:   drivers/misc/Makefile mali: GPU control interface
	new file:   drivers/misc/gpu_clock_control.c boeffla kernel ramdisk
	new file:   drivers/misc/gpu_voltage_control.c boeffla kernel ramdisk
	modified:   ramdisk/default.prop boeffla kernel ramdisk
	deleted:    ramdisk/file_contexts
	deleted:    ramdisk/fstab.goldfish
	modified:   ramdisk/fstab.smdk4x12 boeffla kernel ramdisk
	modified:   ramdisk/init boeffla kernel ramdisk
	deleted:    ramdisk/init.carrier.rc
	deleted:    ramdisk/init.container.rc
	deleted:    ramdisk/init.environ.rc
	modified:   ramdisk/init.goldfish.rc boeffla kernel ramdisk
	modified:   ramdisk/init.rc boeffla kernel ramdisk
	deleted:    ramdisk/init.selinux_bootanim_stopped.sh
	deleted:    ramdisk/init.selinux_restore.sh
	deleted:    ramdisk/init.selinux_restore_set.sh
	modified:   ramdisk/init.smdk4x12.rc boeffla kernel ramdisk
	modified:   ramdisk/init.smdk4x12.usb.rc boeffla kernel ramdisk
	modified:   ramdisk/init.usb.rc boeffla kernel ramdisk
	modified:   ramdisk/lpm.rc boeffla kernel ramdisk
	deleted:    ramdisk/property_contexts
	deleted:    ramdisk/publiccert.pem
	modified:   ramdisk/sbin/adbd boeffla kernel ramdisk
	modified:   ramdisk/sbin/cbd boeffla kernel ramdisk
	modified:   ramdisk/sbin/ffu boeffla kernel ramdisk
	deleted:    ramdisk/sbin/healthd
	deleted:    ramdisk/seapp_contexts
	deleted:    ramdisk/sepolicy
	deleted:    ramdisk/sepolicy_version
	modified:   ramdisk/ueventd.rc boeffla kernel ramdisk
	modified:   ramdisk/ueventd.smdk4x12.rc boeffla kernel ramdisk
	deleted:    ramdisk_boeffla/sbin/adbd boeffla kernel ramdisk
	deleted:    ramdisk_boeffla/sbin/busybox
	deleted:    ramdisk_samsung/boot.img-ramdisk.gz not needed
Linux 3.0.73

Conflicts:

	arch/alpha/kernel/sys_nautilus.c
	arch/powerpc/platforms/pseries/lpar.c

Conflicts:
	Makefile
	fs/ext4/ialloc.c

	modified:   Makefile linux 3.0.73
	new file:   arch/alpha/kernel/sys_nautilus.c linux 3.0.73
	modified:   arch/arm/configs/kona_01_defconfig linux 3.0.73
	new file:   arch/powerpc/platforms/pseries/lpar.c linux 3.0.73
	modified:   arch/x86/Kconfig linux 3.0.73
	modified:   arch/x86/mm/numa.c linux 3.0.73
	modified:   arch/x86/mm/numa_internal.h linux 3.0.73
	modified:   block/blk-sysfs.c linux 3.0.73
	modified:   build.sh script: changed toolchain default path & removed deprecated toolchains
	modified:   crypto/gcm.c linux 3.0.73
	modified:   drivers/ata/libata-core.c linux 3.0.73
	modified:   drivers/misc/Makefile linux 3.0.73
	modified:   drivers/net/wireless/rt2x00/rt2x00pci.c linux 3.0.73
	modified:   drivers/thermal/thermal_sys.c linux 3.0.73
	modified:   fs/ext4/ialloc.c linux 3.0.73
	modified:   fs/reiserfs/xattr.c linux 3.0.73
	modified:   fs/ubifs/super.c linux 3.0.73
	modified:   include/linux/ata.h linux 3.0.73
	modified:   include/linux/libata.h linux 3.0.73
	modified:   include/linux/preempt.h linux 3.0.73
	modified:   include/linux/spinlock_up.h linux 3.0.73
	modified:   kernel/trace/ftrace.c linux 3.0.73
	modified:   mm/mmap.c linux 3.0.73
	modified:   mm/nommu.c linux 3.0.73
	modified:   sound/pci/hda/hda_codec.c linux 3.0.73
	modified:   sound/pci/hda/hda_eld.c linux 3.0.73
	modified:   sound/soc/sh/dma-sh7760.c linux 3.0.73
	modified:   Makefile linux 3.0.73
	modified:   arch/arm/configs/kona_01_defconfig miniscule added changes for later implementations
	modified:   fs/ext4/ialloc.c linux 3.0.73
Change toolchain to GCC 4.7 and fix build errors

Conflicts:
	Makefile

	modified:   Makefile change toolchain to GCC-4.7 & fix build errors
	modified:   arch/arm/mm/alignment.c change toolchain to GCC-4.7 & fix build errors
	modified:   drivers/media/video/exynos/fimc-lite/fimc-lite-core.h change toolchain to GCC-4.7 & fix build errors
	modified:   drivers/misc/tzic.c change toolchain to GCC-4.7 & fix build errors
	modified:   drivers/video/samsung_extdisp/s3cfb_extdsp.h change toolchain to GCC-4.7 & fix build errors
	modified:   Makefile change toolchain to GCC-4.7 & fix build errors
ramdisk: added busybox for later implementations of init.d scripts
scripts: no more 'dirty'
build.sh: reverted arm-eabi-4.8 toolchain and replaced with arm-eabi-4.9 toolchain path
ARM: 7670/1: fix the memset fix

Commit 455bd4c430b0 ("ARM: 7668/1: fix memset-related crashes caused by
recent GCC (4.7.2) optimizations") attempted to fix a compliance issue
with the memset return value.  However the memset itself became broken
by that patch for misaligned pointers.

This fixes the above by branching over the entry code from the
misaligned fixup code to avoid reloading the original pointer.

Also, because the function entry alignment is wrong in the Thumb mode
compilation, that fixup code is moved to the end.

While at it, the entry instructions are slightly reworked to help dual
issue pipelines.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Conflicts:
	arch/arm/lib/memset.S

	modified:   arch/arm/lib/memset.S ARM: 7670/1: fix the memset fix
ARM: 7670/1: fix the memset fix
ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations

Recent GCC versions (e.g. GCC-4.7.2) perform optimizations based on
assumptions about the implementation of memset and similar functions.
The current ARM optimized memset code does not return the value of
its first argument, as is usually expected from standard implementations.

For instance in the following function:

void debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter)
{
	memset(waiter, MUTEX_DEBUG_INIT, sizeof(*waiter));
	waiter->magic = waiter;
	INIT_LIST_HEAD(&waiter->list);
}

compiled as:

800554d0 <debug_mutex_lock_common>:
800554d0:       e92d4008        push    {r3, lr}
800554d4:       e1a00001        mov     r0, r1
800554d8:       e3a02010        mov     r2, #16 ; 0x10
800554dc:       e3a01011        mov     r1, #17 ; 0x11
800554e0:       eb04426e        bl      80165ea0 <memset>
800554e4:       e1a03000        mov     r3, r0
800554e8:       e583000c        str     r0, [r3, #12]
800554ec:       e5830000        str     r0, [r3]
800554f0:       e5830004        str     r0, [r3, #4]
800554f4:       e8bd8008        pop     {r3, pc}

GCC assumes memset returns the value of pointer 'waiter' in register r0; causing
register/memory corruptions.

This patch fixes the return value of the assembly version of memset.
It adds a 'mov' instruction and merges an additional load+store into
existing load/store instructions.
For ease of review, here is a breakdown of the patch into 4 simple steps:

Step 1
======
Perform the following substitutions:
ip -> r8, then
r0 -> ip,
and insert 'mov ip, r0' as the first statement of the function.
At this point, we have a memset() implementation returning the proper result,
but corrupting r8 on some paths (the ones that were using ip).

Step 2
======
Make sure r8 is saved and restored when (! CALGN(1)+0) == 1:

save r8:
-       str     lr, [sp, #-4]!
+       stmfd   sp!, {r8, lr}

and restore r8 on both exit paths:
-       ldmeqfd sp!, {pc}               @ Now <64 bytes to go.
+       ldmeqfd sp!, {r8, pc}           @ Now <64 bytes to go.
(...)
        tst     r2, #16
        stmneia ip!, {r1, r3, r8, lr}
-       ldr     lr, [sp], #4
+       ldmfd   sp!, {r8, lr}

Step 3
======
Make sure r8 is saved and restored when (! CALGN(1)+0) == 0:

save r8:
-       stmfd   sp!, {r4-r7, lr}
+       stmfd   sp!, {r4-r8, lr}

and restore r8 on both exit paths:
        bgt     3b
-       ldmeqfd sp!, {r4-r7, pc}
+       ldmeqfd sp!, {r4-r8, pc}
(...)
        tst     r2, #16
        stmneia ip!, {r4-r7}
-       ldmfd   sp!, {r4-r7, lr}
+       ldmfd   sp!, {r4-r8, lr}

Step 4
======
Rewrite register list "r4-r7, r8" as "r4-r8".

Signed-off-by: Ivan Djelic <ivan.djelic@parrot.com>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
toolchain: Prepare for non-stock 4.4.3 toolchains

	drivers/media/video/exynos/fimc-lite/fimc-lite-core.h toolchain: prepare for non-stock 4.4.3 toolchains
	drivers/video/samsung_extdisp/s3cfb_extdsp.h toolchain: prepare for non-stock 4.4.3 toolchains
	modified:   build.sh build.sh: testing switch to different toolchain to fix build error, but no dice