Age | Commit message (Collapse) | Author |
|
Signed-off-by: Michael O'Reilly <m@dgmo.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Signed-off-by: Michael O'Reilly <m@dgmo.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
The serial driver never releases the interrupt on shutdown, but it does
repeatedly acquire it on startup.
$ cat /proc/interrupts
85: 69 0 GIC exynos4210-uart.2, exynos4210-uart.2, exynos4210-uart.2
Signed-off-by: Michael O'Reilly <m@dgmo.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Hot-plugging with CONFIG_DEBUG_PREEMPT=y on a device with arm
architected timers causes a slew of "using smp_processor_id() in
preemptible" warnings:
BUG: using smp_processor_id() in preemptible [00000000] code: sh/111
caller is arch_timer_cpu_notify+0x14/0xc8
This happens because sometimes the cpu notifier,
arch_timer_cpu_notify(), is called in preemptible context and
other times in non-preemptible context but we use this_cpu_ptr()
to retrieve the clockevent in all cases. We're only going to
actually use the pointer in non-preemptible context though, so
push the this_cpu_ptr() access down into the cases to force the
checks to occur only in non-preemptible contexts.
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <Marc.Zyngier@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
|
The Exynos 5250 includes an architected timer which is on core and
very cheap to read.
Enabling the architected timer can lead to a significant performance
improvement for timer sensitive workloads such as TCP/IP.
It turns out that both arch_sys_counter and mct-frc have a rating of
400. On bootup, arch_sys_counter is initialized first then the
clocksource changes to mct-frc when that initialises later on.
If the rating of mct-frc is reduced below 400, then arch_sys_counter
becomes the default.
Suggested-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
The exynoes5250 chips have a fully Cortex-A15 compatible GIC v2.0 with
virtualization support embedded in them. Let KVM use these features.
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Add the arch timer node in the DT and initialize and register the arch
timers in the main exynos timer code.
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
This patch is tested in ARM:exynos5250 with LPAE enabled. The coherent_dma_mask
needs to be defined to DMA_BIT_MASK(64) as dma-mapping API's check it against
64-bit mask.
Signed-off-by: Subash Patel <subash.rp@samsung.com>
|
|
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
This patch adds the coherent_dma_mask to usb/dwc3 node. This is
needed as check is performed before allocating any coherent buffer
in the dma-mapping framework.
Signed-off-by: Subash Patel <subash.rp@samsung.com>
|
|
This patch adds the coherent_dma_mask for the dw_mmc device.
This is needed as check is now done in dma-mapping framework before
allocating the buffers.
Signed-off-by: Subash Patel <subash.rp@samsung.com>
|
|
As per commit b3377d186572 ("ARM: 7064/1: vexpress: Use wfi macro
in platform_do_lowpower."), wfi macro should be used instead
of the hardcoded WFI instruction.
This fixes following oops with a kernel compiled in Thumb-2 mode.
$ reboot
reboot
Disabling non-boot CPUs ...
IRQ153 no longer affine to CPU1
CPU1: shutdown
Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP THUMB2
Modules linked in:
CPU: 1 Not tainted (3.9.0-rc1-00015-gce76372 #1)
PC is at 0xc065858e
LR is at exynos_cpu_die+0x53/0xc0
Tested on EXYNOS5250 based Arndale board.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Inherited from arch/mips/rb532/devices.c
Example: bootargs="mac=00:40:5c:26:0a:5b"
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Set the gic arch extension callback to support rtc wakeup.
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
While resuming from suspend, the system hangs due to some spurious
uart interrupts. This patch temporarily masks uart interrupts during
reset_port to solve this problem.
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Add shutdown hook so that LCD backlight can be turned off during system
halt.
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Because of the mismatch between frequencies set by u-boot and
the kernel, the soft reboot used to hang. With reboot notifier,
before rebooting, this patch switches to same frequency set by
the uboot at boot time.
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
This patch enables 'scaling_available_frequencies' attribute
showing list of available frequencies.
Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: KyungMin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Jones <davej@redhat.com>
[inderpal.singh@linaro.org: Updated as per common cpufreq driver]
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Many cases it is difficult to get to the exact commit at which the
current kernel is compiled.
Adding an additional print statement to explicitly tell the current
HEAD.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
This is required to keep the existing functionality of having no
write protect pin on Arndale board.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Arndale has 2GB of RAM. Using 1G/3G memory split, half of the board's
RAM ends up being "highmem", severely impacting system performance.
It also means that kernel code must explicitly manage mapping in/out
of any code/data resident above physical address 0x80000000. Using
2G/2G memory split is the optimum configuration.
Suggested-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Added initial config file for Android build.
Signed-off-by: Fahad Kunnathadi <fahad.k@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
Added MFC codec node to Arndale DT file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
|
|
Added vmmc regulator node to Arndale DT file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
|
|
Added S5M8767 PMIC DT nodes for Arndale board. Only the used
LDO's/BUCK are defined here. Also the nodes describe the default/reset
state LDO's and no power mangement tuning is implemented. The usage
desription can be found in s5m8767 device tree binding documentation.
Cc: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
|
|
Added GPIO buttons DT node to Arndale board file.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
|
|
Arndale is a low cost board based on the Samsung Exynos5250 SoC. This
patch adds initial device tree support for this board.
Signed-off-by: Girish K S <ks.giri@samsung.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
|
|
|
|
merge-linux-linaro-core-tracking
|
|
merge-linux-linaro-core-tracking
|
|
merge-linux-linaro-core-tracking
|
|
merge-linux-linaro-core-tracking
Conflicting files:
|
|
|
|
|
|
merge-linux-linaro-core-tracking
Conflicting files:
|
|
|
|
|
|
|
|
merge-linux-linaro-core-tracking
|
|
|
|
|
|
merge-linux-linaro-core-tracking
|
|
|
|
This reverts commit 5e9468632ea81e7d17fc9bd4457acbaffda7b370.
Jon Medhurst (Tixy) wrote:
> I ended up reverting "ARM: convert build of appended dtb zImage to list
> of dtbs" as that breaks building of device-trees, or at least changes
> the method in a way I couldn't be bothered to investigate. (Neither
> "make dtbs" or "make my-boards.dtb" work with that patch.)
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
|
|
|
|
commit c6cc25fda58da8685ecef3f179adc7b99c8253b2 upstream.
The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is
cleared. So we need to make sure to restore it during resume if it was set
before suspend.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|