hwg [Mon, 20 Apr 2015 08:07:18 +0000 (16:07 +0800)]
wifi driver: rtl8723bs, rtl8723bs-vq0, rtl8723bu, rtl8812au, modify custom mac addr error problem
huang zhibao [Sat, 18 Apr 2015 07:08:06 +0000 (15:08 +0800)]
rk1000: rk1000 Standby power consumption processing
Alpha Lin [Fri, 17 Apr 2015 06:16:33 +0000 (14:16 +0800)]
VCODEC: Disable switch ip when construct iommu table.
Depend on iommu do not operate hardware on create iommu table.
VCODEC disable hardware ip switch.
Switch hardware when create iommu table will break the running
schedule of vpu task queue, and cause the hardware stuck.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
Simon [Tue, 7 Apr 2015 09:50:00 +0000 (17:50 +0800)]
rk3368: iommu: expose iommu tlb invalidate operation to owner
Signed-off-by: Simon <xxm@rock-chips.com>
Simon [Fri, 3 Apr 2015 07:31:08 +0000 (15:31 +0800)]
rk3368: iommu: delete vop/hevc attach/detach log
Signed-off-by: Simon <xxm@rock-chips.com>
Simon [Thu, 2 Apr 2015 09:51:53 +0000 (17:51 +0800)]
rk3368: iommu: workaround for switch between vpu and hevc
vpu/hevc share the same ahb, when switch vpu and hevc,may cause
iommu error,to avoid this error,skip invalidate iommu tlb when iovmm_map
Signed-off-by: Simon <xxm@rock-chips.com>
huang zhibao [Fri, 17 Apr 2015 02:12:52 +0000 (10:12 +0800)]
dst: rk3368-box.dts amend pwm regulator
huang zhibao [Fri, 17 Apr 2015 02:09:29 +0000 (10:09 +0800)]
dts: 1.add box rk3368 r88 dts; 2.amend 3368 box pwm regulator
hjc [Thu, 16 Apr 2015 12:16:30 +0000 (20:16 +0800)]
rk3368 lcdc: revert lcdc reset when switch hdmi
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 16 Apr 2015 03:51:47 +0000 (11:51 +0800)]
rk3368 lcdc: add gather config for bandwidth
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 16 Apr 2015 01:56:32 +0000 (09:56 +0800)]
rk fb: if lcdc is suspend ignore set par and display
Signed-off-by: hjc <hjc@rock-chips.com>
Zheng Yang [Thu, 16 Apr 2015 01:35:50 +0000 (09:35 +0800)]
rk3368-box.dts: modify fb display policy to DISPLAY_POLICY_BOX_TEMP.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
hjc [Wed, 15 Apr 2015 11:28:05 +0000 (19:28 +0800)]
rk fb: add fb disp policy for excessive stage
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 15 Apr 2015 09:56:02 +0000 (17:56 +0800)]
rk fb: add mutex lock for switch screen to prevent
hdmi and cvbs call this function at the same
time.
Signed-off-by: hjc <hjc@rock-chips.com>
zsq [Wed, 15 Apr 2015 07:53:39 +0000 (15:53 +0800)]
change rga.h define to match rk_fb config
zxl [Wed, 15 Apr 2015 01:53:37 +0000 (09:53 +0800)]
RK3368 GPU version: Rogue L 0.13
Remove 'Clear cleanup_sync'
Signed-off-by: zxl <zhuangxl@rock-chips.com>
Zheng Yang [Tue, 14 Apr 2015 14:05:41 +0000 (22:05 +0800)]
rk1000: Fix picture error when suspend and switch mode.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Tue, 14 Apr 2015 13:16:19 +0000 (21:16 +0800)]
display-sysfs:
Do not disable HDMI in function rk_display_device_enable.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
CMY [Tue, 14 Apr 2015 11:57:37 +0000 (19:57 +0800)]
rk: ion: Add trace emit function for ion debug
Signed-off-by: CMY <cmy@rock-chips.com>
Zheng Yang [Tue, 14 Apr 2015 11:35:22 +0000 (19:35 +0800)]
HDMI: rk_fb_disp_scale is disabled.
Overscan function is achieved by fb driver, so HDMI
driver do not call this function.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zhaoyifeng [Tue, 14 Apr 2015 09:29:24 +0000 (17:29 +0800)]
NAND DRIVER: rk3368 support nand.
using __dma_map_area and virt_to_phys instead of rknand_dma_map_single
and rknand_dma_unmap_single.
dma_map_single need dev config dma ops struct and config dma_mask.
NAND flash driver has not this config and got the incorrect phy addr return by
dma_map_single.
hjc [Tue, 14 Apr 2015 07:42:26 +0000 (15:42 +0800)]
rk fb: add switch enable status when send uevent
Signed-off-by: hjc <hjc@rock-chips.com>
Amit Pundir [Thu, 19 Feb 2015 07:51:00 +0000 (13:21 +0530)]
arm64: kuser32-bit helpers: do not include unistd32.h explicitly
We get following warnings while building for arm64 arch:
----->8-----
In file included from arch/arm64/kernel/kuser32.S:32:0:
/linaro/android/kernel/pundir/arch/arm64/include/asm/unistd32.h:24:0: warning: "__NR_restart_syscall" redefined
#define __NR_restart_syscall 0
^
In file included from include/asm-generic/unistd.h:1:0,
from /linaro/android/kernel/pundir/arch/arm64/include/uapi/asm/unistd.h:16,
from /linaro/android/kernel/pundir/arch/arm64/include/asm/unistd.h:50,
from arch/arm64/kernel/kuser32.S:31:
include/uapi/asm-generic/unistd.h:390:0: note: this is the location of the previous definition
#define __NR_restart_syscall 128
^
In file included from arch/arm64/kernel/kuser32.S:32:0:
/linaro/android/kernel/pundir/arch/arm64/include/asm/unistd32.h:26:0: warning: "__NR_exit" redefined
#define __NR_exit 1
^
In file included from include/asm-generic/unistd.h:1:0,
from /linaro/android/kernel/pundir/arch/arm64/include/uapi/asm/unistd.h:16,
from /linaro/android/kernel/pundir/arch/arm64/include/asm/unistd.h:50,
from arch/arm64/kernel/kuser32.S:31:
include/uapi/asm-generic/unistd.h:292:0: note: this is the location of the previous definition
#define __NR_exit 93
^
-----8<-----
This patch removes unitstd32.h include to avoid duplication of
"__NR_" syscall definitions.
This patch is based on AOSP commit:
cfc7e99e9e3900056028a7d90072e9ea0d886f8d,
"arm64: Add __NR_* definitions for compat syscalls", which adds
__NR_* definitions to asm/unistd32.h, moves the __NR_compat_*
definitions to asm/unistd.h and removes all the explicit unistd32.h
includes apart from the one building the compat syscall table.
The aim is to have the compat __NR_* definitions available but
without colliding with the native syscall definitions (required
by lib/compat_audit.c to avoid duplicating the audit header files
between native and compat).
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
hjc [Mon, 13 Apr 2015 07:54:02 +0000 (15:54 +0800)]
rk fb: update message info when page fault
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Mon, 13 Apr 2015 03:54:36 +0000 (11:54 +0800)]
rk fb: send uevent when change video mode
Signed-off-by: hjc <hjc@rock-chips.com>
Jialing Fu [Mon, 13 Apr 2015 06:35:27 +0000 (14:35 +0800)]
mmc: core: fix race condition in mmc_wait_data_done
The following panic is captured in ker3.14, but the issue still exists
in latest kernel.
---------------------------------------------------------------------
[ 20.738217] c0 3136 (Compiler) Unable to handle kernel NULL pointer dereference
at virtual address
00000578
......
[ 20.738499] c0 3136 (Compiler) PC is at _raw_spin_lock_irqsave+0x24/0x60
[ 20.738527] c0 3136 (Compiler) LR is at _raw_spin_lock_irqsave+0x20/0x60
[ 20.740134] c0 3136 (Compiler) Call trace:
[ 20.740165] c0 3136 (Compiler) [<
ffffffc0008ee900>] _raw_spin_lock_irqsave+0x24/0x60
[ 20.740200] c0 3136 (Compiler) [<
ffffffc0000dd024>] __wake_up+0x1c/0x54
[ 20.740230] c0 3136 (Compiler) [<
ffffffc000639414>] mmc_wait_data_done+0x28/0x34
[ 20.740262] c0 3136 (Compiler) [<
ffffffc0006391a0>] mmc_request_done+0xa4/0x220
[ 20.740314] c0 3136 (Compiler) [<
ffffffc000656894>] sdhci_tasklet_finish+0xac/0x264
[ 20.740352] c0 3136 (Compiler) [<
ffffffc0000a2b58>] tasklet_action+0xa0/0x158
[ 20.740382] c0 3136 (Compiler) [<
ffffffc0000a2078>] __do_softirq+0x10c/0x2e4
[ 20.740411] c0 3136 (Compiler) [<
ffffffc0000a24bc>] irq_exit+0x8c/0xc0
[ 20.740439] c0 3136 (Compiler) [<
ffffffc00008489c>] handle_IRQ+0x48/0xac
[ 20.740469] c0 3136 (Compiler) [<
ffffffc000081428>] gic_handle_irq+0x38/0x7c
----------------------------------------------------------------------
Because in SMP, "mrq" has race condition between below two paths:
path1: CPU0: <tasklet context>
static void mmc_wait_data_done(struct mmc_request *mrq)
{
mrq->host->context_info.is_done_rcv = true;
//
// If CPU0 has just finished "is_done_rcv = true" in path1, and at
// this moment, IRQ or ICache line missing happens in CPU0.
// What happens in CPU1 (path2)?
//
// If the mmcqd thread in CPU1(path2) hasn't entered to sleep mode:
// path2 would have chance to break from wait_event_interruptible
// in mmc_wait_for_data_req_done and continue to run for next
// mmc_request (mmc_blk_rw_rq_prep).
//
// Within mmc_blk_rq_prep, mrq is cleared to 0.
// If below line still gets host from "mrq" as the result of
// compiler, the panic happens as we traced.
wake_up_interruptible(&mrq->host->context_info.wait);
}
path2: CPU1: <The mmcqd thread runs mmc_queue_thread>
static int mmc_wait_for_data_req_done(...
{
...
while (1) {
wait_event_interruptible(context_info->wait,
(context_info->is_done_rcv ||
context_info->is_new_req));
static void mmc_blk_rw_rq_prep(...
{
...
memset(brq, 0, sizeof(struct mmc_blk_request));
This issue happens very coincidentally; however adding mdelay(1) in
mmc_wait_data_done as below could duplicate it easily.
static void mmc_wait_data_done(struct mmc_request *mrq)
{
mrq->host->context_info.is_done_rcv = true;
mdelay(1);
wake_up_interruptible(&mrq->host->context_info.wait);
}
At runtime, IRQ or ICache line missing may just happen at the same place
of the mdelay(1).
This patch gets the mmc_context_info at the beginning of function, it can
avoid this race condition.
Signed-off-by: Jialing Fu <jlfu@marvell.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: lintao <lintao@rock-chips.com>
zhangqing [Mon, 13 Apr 2015 11:27:48 +0000 (04:27 -0700)]
rk3368: clk: powerdomain: enable powerdomain func.
test:Passed the special test.Test machine 15 for P9 and test 12H.
Have the test report form Quality department.
Signed-off-by: zhangqing <zhangqing@rock-chips.com>
hjc [Mon, 13 Apr 2015 03:13:32 +0000 (11:13 +0800)]
rk fb: do something when user set invalid config
Signed-off-by: hjc <hjc@rock-chips.com>
CMY [Mon, 13 Apr 2015 01:26:48 +0000 (09:26 +0800)]
rk: iommu: enable iommu by default on rk33xx platform
Signed-off-by: CMY <cmy@rock-chips.com>
lintao [Mon, 13 Apr 2015 01:19:29 +0000 (09:19 +0800)]
dts: rk3368: add mcu jtag pcl sd1 inactive state
Signed-off-by: lintao <lintao@rock-chips.com>
hjc [Mon, 13 Apr 2015 01:39:50 +0000 (09:39 +0800)]
rk fb: set retire fence fd to -1 when ignore this frame
Signed-off-by: hjc <hjc@rock-chips.com>
Zheng Yang [Sat, 11 Apr 2015 09:14:07 +0000 (17:14 +0800)]
HDMI: calling rk_fb_switch_screen() to close vop related to HDMI
before calling switch_set_state() when HDMI is removed.
For android hwcompser need to make sure vop is disabled when
received hdmi removing event.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Aiyoujun [Sat, 11 Apr 2015 08:04:31 +0000 (16:04 +0800)]
usb: ftp: fix the bug of ftp ioctrl args problem with 32bit userspace on 64bit platforms
Signed-off-by: Aiyoujun <ayj@rock-chips.com>
guoyi [Sat, 11 Apr 2015 08:40:46 +0000 (16:40 +0800)]
rk3368-p9: dts: enabled change ddr-freq
lyz [Fri, 10 Apr 2015 07:58:49 +0000 (15:58 +0800)]
usb: dwc_otg: fix bugs
1.Cancel usb vbus detect work in driver shutdown rountine
2.Check empty list
3.Disable usb interrupt before usb mode change
TEST:
1.reboot test
2.while true; do
echo 1 > force_usb_mode;busybox sleep 5;
echo 2 > force_usb_mode;busybox sleep 5;
done
Signed-off-by: lyz <lyz@rock-chips.com>
Alpha Lin [Fri, 10 Apr 2015 05:53:02 +0000 (13:53 +0800)]
IEP: Support processing part of input image
Enable virtual size and actual size and start offset, to support
processing part of input image.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
Zheng Yang [Thu, 9 Apr 2015 10:01:51 +0000 (18:01 +0800)]
HDMI: call function hdmi->ops->disable() if it is disabled.
For system can not be wakeup under following case:
step1. Disable HDMI.
step2. set system to deep sleep mode.
step3. remove HDMI connection.
step4. wake up system.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
hjc [Thu, 9 Apr 2015 10:06:02 +0000 (18:06 +0800)]
rk fb: when unplug hdmi,post fb to display
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 9 Apr 2015 09:37:15 +0000 (17:37 +0800)]
rk fb: hdmi 24hz frame time need 41ms
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 9 Apr 2015 08:26:57 +0000 (16:26 +0800)]
rk fb: recovery need two framebuffer
Signed-off-by: hjc <hjc@rock-chips.com>
Tang Yun ping [Thu, 9 Apr 2015 03:36:59 +0000 (11:36 +0800)]
RK3368 DDR: add support 3368 ddr change freq function
note:need using new trustimage and uboot for support ddr change freq
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
smj [Thu, 9 Apr 2015 03:22:23 +0000 (11:22 +0800)]
i2s:fix the hdmi no sound sometimes
support for hdmi passthrough output
Signed-off-by: smj <smj@rock-chips.com>
hjc [Thu, 9 Apr 2015 03:54:56 +0000 (11:54 +0800)]
rk3368 lcdc: flush update regs worker when switch screen
Signed-off-by: hjc <hjc@rock-chips.com>
guoyi [Thu, 9 Apr 2015 02:58:42 +0000 (10:58 +0800)]
arm64: rockchip: rockchip_defconfig enabled rk818 & gt9xx & es8316
hjc [Thu, 9 Apr 2015 03:31:27 +0000 (11:31 +0800)]
rk fb: ignore frame when in hdmi switch or set error config
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 9 Apr 2015 03:27:15 +0000 (11:27 +0800)]
rk3368 lcdc: reset lcdc when switch screen video mode
Signed-off-by: hjc <hjc@rock-chips.com>
Jianqun Xu [Thu, 9 Apr 2015 02:13:14 +0000 (10:13 +0800)]
ARM64: dt: rk3368: add driver support for rk818
Support rk818 pmic, patch is from zhangqing@rock-chips.com.
Signed-off-by: Zhangqing <zhangqing@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Zheng Yang [Wed, 8 Apr 2015 10:46:46 +0000 (18:46 +0800)]
rk3368-box.dts: enable uboot logo.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
huang zhibao [Wed, 8 Apr 2015 08:22:27 +0000 (16:22 +0800)]
dts:rk3368-box.dts default iommu
zxl [Wed, 8 Apr 2015 03:20:30 +0000 (11:20 +0800)]
RK3368 GPU version: L0.12
1. Instead kmalloc to kzalloc.
2. Clear cleanup_sync in pvr_sync_clean_freelist.
xubilv [Tue, 7 Apr 2015 10:45:26 +0000 (18:45 +0800)]
rk3368:mipi: Solve clk_unprepare error problem when plug and pull out hdmi.
Signed-off-by: xubilv <xbl@rock-chips.com>
zhangqing [Fri, 3 Apr 2015 13:54:08 +0000 (06:54 -0700)]
rk3368: clk: clk_add_recalc_ddr_freq.
Get ddr frequency correctly.
Signed-off-by: zhangqing <zhangqing@rock-chips.com>
Aiyoujun [Thu, 2 Apr 2015 10:13:10 +0000 (18:13 +0800)]
mailbox: rockchip: add driver for Rockchip SoCs integrated mailbox && System Control and Power Interface(SCPI) protocol
Signed-off-by: Aiyoujun <ayj@rock-chips.com>
hjc [Thu, 2 Apr 2015 11:11:02 +0000 (19:11 +0800)]
rk fb: from rk3368 fb only need to reserved 1 framebuffer
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 2 Apr 2015 10:56:31 +0000 (18:56 +0800)]
delete unused file
Signed-off-by: hjc <hjc@rock-chips.com>
Zheng Yang [Thu, 2 Apr 2015 09:11:12 +0000 (17:11 +0800)]
HDMI: revert commit
3fe08a661c106d071afb45ddf3660c2e92fe8b52 for
find root reason on commit
7f2f16780d1a27cffcaa8a2310621771174defe1.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Thu, 2 Apr 2015 08:56:40 +0000 (16:56 +0800)]
HDMI: improve cec function:
1. To get logic address more stable, we ping 3 times to each
logic address. If the result is NACK for two times, this
logic address is not occupied.
2. If transmmit cec data failed, retry immediately.
4. set CECOP_IMAGE_VIEW_ON only taget to TV, not broadcasting.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Thu, 2 Apr 2015 08:49:50 +0000 (16:49 +0800)]
HDMI: fix edid mode list error: set head->prev to edid->modelist.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Huang, Tao [Thu, 2 Apr 2015 01:25:21 +0000 (09:25 +0800)]
Merge tag lsk-v3.10-15.03-android
lsk-v3.10-15.03-android release
Huang, Tao [Thu, 2 Apr 2015 01:10:03 +0000 (09:10 +0800)]
arm64: rockchip: rk3368 support boot from little core without swap
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
Huang, Tao [Wed, 1 Apr 2015 03:51:27 +0000 (11:51 +0800)]
rm64: rockchip: rockchip_defconfig enable POWERVR_ROGUE
just for debug
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
Huang, Tao [Wed, 1 Apr 2015 03:24:16 +0000 (11:24 +0800)]
arm64: rockchip: rockchip_defconfig disable reboot while panic
just for debug
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
hwg [Wed, 1 Apr 2015 13:22:35 +0000 (21:22 +0800)]
modify wifi: load driver when kernel bootup:
can increase speed of wifi open/close
can solve memory alloc fail when open wifi
lyz [Wed, 1 Apr 2015 08:04:27 +0000 (16:04 +0800)]
usb: gadget: MTP support compat ioctl
lyz [Wed, 1 Apr 2015 02:22:06 +0000 (10:22 +0800)]
usb: dwc_otg: fix usb otg force_device_mode
TEST: set rockchip,usb-mode = <2> in dts and then the usb works
Tested-by: huang zhibao <hzb@rock-chips.com>
Signed-off-by: lyz <lyz@rock-chips.com>
hjc [Tue, 31 Mar 2015 07:19:50 +0000 (15:19 +0800)]
rk3368 lcdc: fix fps show error
Signed-off-by: hjc <hjc@rock-chips.com>
guoyi [Tue, 31 Mar 2015 03:54:22 +0000 (11:54 +0800)]
rk3368-p9: dts : add core&gpu dvfs table
David Wu [Tue, 31 Mar 2015 04:05:32 +0000 (12:05 +0800)]
rk3368: thermal: add suspend judeg
Signed-off-by: David Wu <wdc@rock-chips.com>
ywj [Tue, 31 Mar 2015 01:43:25 +0000 (09:43 +0800)]
mend debug info
guoyi [Tue, 31 Mar 2015 01:27:21 +0000 (09:27 +0800)]
rk3368-p9 : dts: set vccio to 3.3V
hjc [Tue, 31 Mar 2015 01:14:38 +0000 (09:14 +0800)]
rk3368 lcdc: update lcdc interface for mutile area check
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Mon, 30 Mar 2015 10:02:23 +0000 (18:02 +0800)]
rk fb: add consider vop full mutile area for vsync register check
Signed-off-by: hjc <hjc@rock-chips.com>
ywj [Mon, 30 Mar 2015 10:48:16 +0000 (18:48 +0800)]
rk818 battery update:low power check and statu reg setting,uboot
guoyi [Mon, 30 Mar 2015 09:49:16 +0000 (17:49 +0800)]
rk3368-p9 : dts: enable dsihost0
guoyi [Mon, 30 Mar 2015 09:21:13 +0000 (17:21 +0800)]
rk3368-p9: dts: disabled vdd_arm when deep yxsuspend
xubilv [Mon, 30 Mar 2015 01:05:18 +0000 (09:05 +0800)]
mipi-ld089wu1: increase lcdc frame rate to 60 fps.
Signed-off-by: xubilv <xbl@rock-chips.com>
Huang, Tao [Sun, 29 Mar 2015 10:27:25 +0000 (18:27 +0800)]
Revert "ARM64: dts: act8846: ldo5 output 3.0v"
This reverts commit
1fff298dee47c7d9280ef895296a6294652dc9d0.
huang zhibao [Sun, 29 Mar 2015 09:47:17 +0000 (17:47 +0800)]
defconfig: add rk1000 support
Zheng Yang [Sun, 29 Mar 2015 09:28:18 +0000 (17:28 +0800)]
HDMI: fix crash error when insert HDMI with following log:
Unable to handle kernel paging request at virtual address
40ce80f8
pgd =
ffffffc001022000
[
40ce80f8] *pgd=
0000000025b19003, *pmd=
000000001cb1f003, *pte=
0000000000000000
Internal error: Oops:
96000005 [#1] PREEMPT SMP
Modules linked in: pvrsrvkm(O) drmboot(PO)
CPU: 7 PID: 2558 Comm: kworker/u16:1 Tainted: P W O 3.10.0 #66
Workqueue: hdmi-
ff980000.hdmi hdmi_work_queue
task:
ffffffc01ca83f00 ti:
ffffffc033e00000 task.ti:
ffffffc033e00000
PC is at hdmi_wq_insert+0xa4/0x2ac
LR is at hdmi_wq_insert+0x74/0x2ac
pc : [<
ffffffc000341014>] lr : [<
ffffffc000340fe4>] pstate:
60000145
Use inline fuction hdmi_destroy_modelist replace fb_destroy_modelist.
For unkown reason, variable struct hdmi *hdmi is deferent before and
after calling fb_destroy_modelist.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
huang zhibao [Sun, 29 Mar 2015 09:02:09 +0000 (17:02 +0800)]
dts: lcd-box.dtsi change screen-type fome SCREEN_HDMI to SCREEN_RGB
huang zhibao [Sat, 28 Mar 2015 09:05:06 +0000 (17:05 +0800)]
spdif: init spdif later
huang zhibao [Sun, 29 Mar 2015 07:54:20 +0000 (15:54 +0800)]
defconfig: add usb video camera support
Zheng Yang [Sat, 28 Mar 2015 06:37:34 +0000 (14:37 +0800)]
HDMI: remove limited conditions of calling switch_set_state.
Application should read /sys/class/display/HDMI/audioinfo
to detect sink device support audio or not.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Sat, 28 Mar 2015 05:40:07 +0000 (13:40 +0800)]
rk_fb: 1. Make sure fb_par->state lowest value is zero.
2. For box, video layer z-order is always zero.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
zxl [Sat, 28 Mar 2015 03:57:28 +0000 (11:57 +0800)]
RK3368 GPU version: L0.11
Fix 'Watchdog detected hard LOCKUP on cpu 0' bug casued by illegal visit register after disable clk.
Huang, Tao [Fri, 27 Mar 2015 11:42:02 +0000 (19:42 +0800)]
clk: rockchip: dump more cru register when panic
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
Simon [Fri, 27 Mar 2015 10:37:02 +0000 (18:37 +0800)]
rk3368: iommu: fix hevc_mmu base address
Signed-off-by: Simon <xxm@rock-chips.com>
hjc [Fri, 27 Mar 2015 10:57:38 +0000 (18:57 +0800)]
rk3368 lcdc: fix deadlock when close lcdc and update reg
Signed-off-by: hjc <hjc@rock-chips.com>
guoyi [Fri, 27 Mar 2015 07:33:38 +0000 (15:33 +0800)]
rk3368: efuse: fix warning and
renamed rockchip_efuse_get_temp to rockchip_efuse_get_temp_adjust;
Signed-off-by: guoyi <gy@rock-chips.com>
David Wu [Fri, 27 Mar 2015 07:02:47 +0000 (15:02 +0800)]
rk3368: efuse: change efuse get temp func
Signed-off-by: David Wu <wdc@rock-chips.com>
Arun KS [Wed, 7 May 2014 01:41:23 +0000 (02:41 +0100)]
arm64: Fix deadlock scenario with smp_send_stop()
If one process calls sys_reboot and that process then stops other
CPUs while those CPUs are within a spin_lock() region we can
potentially encounter a deadlock scenario like below.
CPU 0 CPU 1
----- -----
spin_lock(my_lock)
smp_send_stop()
<send IPI> handle_IPI()
disable_preemption/irqs
while(1);
<PREEMPT>
spin_lock(my_lock) <--- Waits forever
We shouldn't attempt to run any other tasks after we send a stop
IPI to a CPU so disable preemption so that this task runs to
completion. We use local_irq_disable() here for cross-arch
consistency with x86.
Based-on-work-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Arun KS <getarunks@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit
b9acc49ee9464f8f8232a790045d057eb158e869)
Conflicts:
arch/arm64/kernel/process.c
Arun KS [Wed, 7 May 2014 01:41:22 +0000 (02:41 +0100)]
arm64: Fix machine_shutdown() definition
This patch ports most of commit
19ab428f4b79 "ARM: 7759/1: decouple CPU
offlining from reboot/shutdown" by Stephen Warren from arch/arm to
arch/arm64.
machine_shutdown() is a hook for kexec. Add a comment saying so, since
it isn't obvious from the function name.
Halt, power-off, and restart have different requirements re: stopping
secondary CPUs than kexec has. The former simply require the secondary
CPUs to be quiesced somehow, whereas kexec requires them to be
completely non-operational, so that no matter where the kexec target
images are written in RAM, they won't influence operation of the
secondary CPUS,which could happen if the CPUs were still executing some
kind of pin loop. To this end, modify machine_halt, power_off, and
restart to call smp_send_stop() directly, rather than calling
machine_shutdown().
In machine_shutdown(), replace the call to smp_send_stop() with a call
to disable_nonboot_cpus(). This completely disables all but one CPU,
thus satisfying the kexec requirements a couple paragraphs above.
Signed-off-by: Arun KS <getarunks@gmail.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit
90f51a09ef83703b6c2e0434e0384b61b59699d3)
David Wu [Thu, 26 Mar 2015 14:29:24 +0000 (22:29 +0800)]
rk3368: thermal: add adjust temp from efuse
Signed-off-by: David Wu <wdc@rock-chips.com>
guoyi [Fri, 27 Mar 2015 03:07:02 +0000 (11:07 +0800)]
rk3368: add rockchip_get_temp function and
rockchip_get_leakage support for 3368
xubilv [Thu, 26 Mar 2015 00:33:31 +0000 (08:33 +0800)]
mipi: arm64: rockchip_defconfig enable mipi default.
Signed-off-by: xubilv <xbl@rock-chips.com>
Xiao Feng [Thu, 26 Mar 2015 02:38:56 +0000 (10:38 +0800)]
rk3368: dvfs: avoid null-pointer dereference in dvfs_get_temp
Signed-off-by: Xiao Feng <xf@rock-chips.com>
lintao [Thu, 26 Mar 2015 09:14:55 +0000 (17:14 +0800)]
mmc: rk_sdmmc: substitude regulator_set_voltage for io switch usage
Signed-off-by: lintao <lintao@rock-chips.com>
Zheng Yang [Thu, 26 Mar 2015 08:18:38 +0000 (16:18 +0800)]
HDMI: rockchip-hdmiv2:
Set i2c5_hdmi to gpio mode when suspend and reset
it to hdmi ddc mode when system resume.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Thu, 26 Mar 2015 06:40:32 +0000 (14:40 +0800)]
HDMI: add dts node "rockchip,defaultmode" to define HDMI default output mode.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
xubilv [Wed, 25 Mar 2015 10:03:40 +0000 (18:03 +0800)]
mipi: rk3368 support power domain - pd_mipi_dsi.
Signed-off-by: xubilv <xbl@rock-chips.com>