Skip to content

Commit

Permalink
Update kernel to 3.0.101+
Browse files Browse the repository at this point in the history
Signed-off-by: Omegamoon <[email protected]>
  • Loading branch information
omegamoon committed Mar 17, 2014
1 parent 3194813 commit 064780d
Show file tree
Hide file tree
Showing 2,994 changed files with 1,172,041 additions and 81,140 deletions.
9 changes: 0 additions & 9 deletions Documentation/cgroups/cgroups.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -593,15 +593,6 @@ there are not tasks in the cgroup. If pre_destroy() returns error code,
rmdir() will fail with it. From this behavior, pre_destroy() can be
called multiple times against a cgroup.

int allow_attach(struct cgroup *cgrp, struct task_struct *task)
(cgroup_mutex held by caller)

Called prior to moving a task into a cgroup; if the subsystem
returns an error, this will abort the attach operation. Used
to extend the permission checks - if all subsystems in a cgroup
return 0, the attach will be allowed to proceed, even if the
default permission check (root or same user) fails.

int can_attach(struct cgroup_subsys *ss, struct cgroup *cgrp,
struct task_struct *task)
(cgroup_mutex held by caller)
Expand Down
7 changes: 0 additions & 7 deletions Documentation/cgroups/cpuacct.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ system: Time spent by tasks of the cgroup in kernel mode.

user and system are in USER_HZ unit.

cpuacct.cpufreq file gives CPU time (in nanoseconds) spent at each CPU
frequency. Platform hooks must be implemented inorder to properly track
time at each CPU frequency.

cpuacct.power file gives CPU power consumed (in milliWatt seconds). Platform
must provide and implement power callback functions.

cpuacct controller uses percpu_counter interface to collect user and
system times. This has two side effects:

Expand Down
75 changes: 0 additions & 75 deletions Documentation/cpu-freq/governors.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Contents:
2.3 Userspace
2.4 Ondemand
2.5 Conservative
2.6 Interactive

3. The Governor Interface in the CPUfreq Core

Expand Down Expand Up @@ -194,80 +193,6 @@ governor but for the opposite direction. For example when set to its
default value of '20' it means that if the CPU usage needs to be below
20% between samples to have the frequency decreased.


2.6 Interactive
---------------

The CPUfreq governor "interactive" is designed for latency-sensitive,
interactive workloads. This governor sets the CPU speed depending on
usage, similar to "ondemand" and "conservative" governors, but with a
different set of configurable behaviors.

The tuneable values for this governor are:

target_loads: CPU load values used to adjust speed to influence the
current CPU load toward that value. In general, the lower the target
load, the more often the governor will raise CPU speeds to bring load
below the target. The format is a single target load, optionally
followed by pairs of CPU speeds and CPU loads to target at or above
those speeds. Colons can be used between the speeds and associated
target loads for readability. For example:

85 1000000:90 1700000:99

targets CPU load 85% below speed 1GHz, 90% at or above 1GHz, until
1.7GHz and above, at which load 99% is targeted. If speeds are
specified these must appear in ascending order. Higher target load
values are typically specified for higher speeds, that is, target load
values also usually appear in an ascending order. The default is
target load 90% for all speeds.

min_sample_time: The minimum amount of time to spend at the current
frequency before ramping down. Default is 80000 uS.

hispeed_freq: An intermediate "hi speed" at which to initially ramp
when CPU load hits the value specified in go_hispeed_load. If load
stays high for the amount of time specified in above_hispeed_delay,
then speed may be bumped higher. Default is the maximum speed
allowed by the policy at governor initialization time.

go_hispeed_load: The CPU load at which to ramp to hispeed_freq.
Default is 99%.

above_hispeed_delay: When speed is at or above hispeed_freq, wait for
this long before raising speed in response to continued high load.
Default is 20000 uS.

timer_rate: Sample rate for reevaluating CPU load when the CPU is not
idle. A deferrable timer is used, such that the CPU will not be woken
from idle to service this timer until something else needs to run.
(The maximum time to allow deferring this timer when not running at
minimum speed is configurable via timer_slack.) Default is 20000 uS.

timer_slack: Maximum additional time to defer handling the governor
sampling timer beyond timer_rate when running at speeds above the
minimum. For platforms that consume additional power at idle when
CPUs are running at speeds greater than minimum, this places an upper
bound on how long the timer will be deferred prior to re-evaluating
load and dropping speed. For example, if timer_rate is 20000uS and
timer_slack is 10000uS then timers will be deferred for up to 30msec
when not at lowest speed. A value of -1 means defer timers
indefinitely at all speeds. Default is 80000 uS.

boost: If non-zero, immediately boost speed of all CPUs to at least
hispeed_freq until zero is written to this attribute. If zero, allow
CPU speeds to drop below hispeed_freq according to load as usual.
Default is zero.

boostpulse: On each write, immediately boost speed of all CPUs to
hispeed_freq for at least the period of time specified by
boostpulse_duration, after which speeds are allowed to drop below
hispeed_freq according to load as usual.

boostpulse_duration: Length of time to hold CPU speed at hispeed_freq
on a write to boostpulse, before allowing speed to drop according to
load as usual. Default is 80000 uS.

3. The Governor Interface in the CPUfreq Core
=============================================

Expand Down
1 change: 0 additions & 1 deletion Documentation/power/runtime_pm.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ pm_runtime_autosuspend()
pm_runtime_resume()
pm_runtime_get_sync()
pm_runtime_put_sync_suspend()
pm_runtime_put_sync_autosuspend()

5. Run-time PM Initialization, Device Probing and Removal

Expand Down
3 changes: 2 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -6040,7 +6040,8 @@ F: arch/alpha/kernel/srm_env.c
STABLE BRANCH
M: Greg Kroah-Hartman <[email protected]>
L: [email protected]
S: Maintained
S: Supported
F: Documentation/stable_kernel_rules.txt

STAGING SUBSYSTEM
M: Greg Kroah-Hartman <[email protected]>
Expand Down
18 changes: 4 additions & 14 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
VERSION = 3
PATCHLEVEL = 0
SUBLEVEL = 72
SUBLEVEL = 101
EXTRAVERSION =
NAME = Sneaky Weasel
NAME = Sodden Ben Lomond

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
Expand Down Expand Up @@ -192,17 +192,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
export KBUILD_BUILDHOST := $(SUBARCH)
#ARCH ?= $(SUBARCH)
ARCH ?= arm
ifneq ($(wildcard ../toolchain/arm-eabi-4.4.3),)
CROSS_COMPILE ?= ../toolchain/arm-eabi-4.4.3/bin/arm-eabi-
endif
ifneq ($(wildcard ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3),)
CROSS_COMPILE ?= ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
endif
ifneq ($(wildcard ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6),)
CROSS_COMPILE ?= ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
endif
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)

# Architecture as present in compile.h
Expand Down Expand Up @@ -1233,7 +1223,7 @@ rpm: include/config/kernel.release FORCE
# Brief documentation of the typical targets used
# ---------------------------------------------------------------------------

boards := $(wildcard $(srctree)/arch/$(SRCARCH)/configs/rk*_defconfig)
boards := $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*_defconfig)
boards := $(notdir $(boards))
board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig))
board-dirs := $(sort $(notdir $(board-dirs:/=)))
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ Linux kernel for Rockchip SOCs - www.omegamoon.com
- When ready, the device will be rebooted automatically

**Revision history:**
2014-03-17:
- Added basic RK3066 MK808B support (needs testing)
2014-03-10:
- Sound fixed on RK1000 (Radxa)
- USB Hub fixed (Radxa)
- Fixed networking
2014-03-08:
- Fixed 1080p resolution
2014-02-14:
- Backporting DRM from sunxi (v3.4.67) linux
- Backporting Mali from sunxi (v3.4.67) linux
- Merging in tablet video drivers from Tronsmart KitKat kernel
- Added Mali support
- Added rk30-ipp 1.003 driver
2013-12-08:
- Upgraded to Linux kernel version 3.0.101+
- Added Asus BT400 Bluetooth 4.0 support
- Added Radxa Rock support
- Added Minix Neo X7 support
- Added various configs for booting linux from SD
2013-09-27:
- Upgraded to Linux kernel version 3.0.72+
- Merged with rockchip git
Expand Down
5 changes: 5 additions & 0 deletions arch/alpha/kernel/sys_nautilus.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ nautilus_machine_check(unsigned long vector, unsigned long la_ptr)
extern void free_reserved_mem(void *, void *);
extern void pcibios_claim_one_bus(struct pci_bus *);

static struct resource irongate_io = {
.name = "Irongate PCI IO",
.flags = IORESOURCE_IO,
};
static struct resource irongate_mem = {
.name = "Irongate PCI MEM",
.flags = IORESOURCE_MEM,
Expand All @@ -210,6 +214,7 @@ nautilus_init_pci(void)

irongate = pci_get_bus_and_slot(0, 0);
bus->self = irongate;
bus->resource[0] = &irongate_io;
bus->resource[1] = &irongate_mem;

pci_bus_size_bridges(bus);
Expand Down
16 changes: 16 additions & 0 deletions arch/arm/Kconfig
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,21 @@ config ARCH_RK2928
help
Support for Rockchip's RK2928 SoCs.

config ARCH_RK3026
bool "Rockchip RK3026/RK3028A"
select PLAT_RK
select CPU_V7
select ARM_GIC
select RK_PL330_DMA
select RK_TIMER
select HAVE_ARM_TWD if LOCAL_TIMERS
select HAVE_SMP
select MIGHT_HAVE_CACHE_L2X0
select ARM_ERRATA_754322
select ARM_ERRATA_764369
help
Support for Rockchip's RK3026/RK3028A SoCs.

config ARCH_RK30
bool "Rockchip RK30xx/RK3108/RK3168"
select PLAT_RK
Expand Down Expand Up @@ -1015,6 +1030,7 @@ source "arch/arm/mach-realview/Kconfig"
source "arch/arm/plat-rk/Kconfig"
source "arch/arm/mach-rk29/Kconfig"
source "arch/arm/mach-rk2928/Kconfig"
source "arch/arm/mach-rk3026/Kconfig"
source "arch/arm/mach-rk30/Kconfig"
source "arch/arm/mach-rk3188/Kconfig"

Expand Down
9 changes: 8 additions & 1 deletion arch/arm/Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,16 @@ ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y)
CFLAGS_MODULE +=-fno-optimize-sibling-calls
endif
endif

ifeq ($(CONFIG_USE_HARDFLOAT_VPU),y)
# Omegamoon performance tweaks >>
KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_THUMB2) $(arch-y) -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a8 -mtune=cortex-a8 -O3
KBUILD_AFLAGS +=$(CFLAGS_ABI) $(AFLAGS_THUMB2) $(arch-y) -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a8 -mtune=cortex-a8 -O3 -include asm/unified.h
# Omegamoon performance tweaks <<
else
# Need -Uarm for gcc < 3.x
KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_THUMB2) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm
KBUILD_AFLAGS +=$(CFLAGS_ABI) $(AFLAGS_THUMB2) $(arch-y) $(tune-y) -include asm/unified.h -msoft-float
endif

CHECKFLAGS += -D__arm__

Expand Down Expand Up @@ -173,6 +179,7 @@ machine-$(CONFIG_ARCH_PXA) := pxa
machine-$(CONFIG_ARCH_REALVIEW) := realview
machine-$(CONFIG_ARCH_RK29) := rk29
machine-$(CONFIG_ARCH_RK2928) := rk2928
machine-$(CONFIG_ARCH_RK3026) := rk3026
machine-$(CONFIG_ARCH_RK30) := rk30
machine-$(CONFIG_ARCH_RK3188) := rk3188
machine-$(CONFIG_ARCH_RPC) := rpc
Expand Down
Loading

0 comments on commit 064780d

Please sign in to comment.