ljf [Mon, 26 May 2014 07:28:11 +0000 (15:28 +0800)]
rk3288: judge mmu status when deinitialize register structure
陈亮 [Mon, 26 May 2014 02:36:50 +0000 (19:36 -0700)]
dvfs: avoid round a rate two times since it may cause round wrong value at second time
zwl [Sat, 24 May 2014 07:55:56 +0000 (15:55 +0800)]
fix primary screen display crash when playing video and just insert HDMI
CMY [Fri, 23 May 2014 10:25:30 +0000 (18:25 +0800)]
rk: ion: resolve sg table alloc failed when iommu has enable
黄涛 [Fri, 23 May 2014 07:16:41 +0000 (15:16 +0800)]
ARM: rockchip: add support bootloader charge
陈亮 [Fri, 23 May 2014 06:33:34 +0000 (23:33 -0700)]
rk3288: raise logic to 1.1V when vop work
黄涛 [Fri, 23 May 2014 06:13:55 +0000 (14:13 +0800)]
rtc: HYM8563: fix double free bug when probe failed
xxm [Fri, 23 May 2014 03:18:12 +0000 (11:18 +0800)]
rockchip:midgard:1,fix division by zero when gpu freq table have only one item 2,add temperature control when reach 110
ddl [Fri, 23 May 2014 01:18:42 +0000 (09:18 +0800)]
camsys_drv: v0.a.0
Jan Kara [Thu, 3 Apr 2014 21:46:23 +0000 (14:46 -0700)]
bdi: avoid oops on device removal
commit
5acda9d12dcf1ad0d9a5a2a7c646de3472fa7555 upstream.
After commit
839a8e8660b6 ("writeback: replace custom worker pool
implementation with unbound workqueue") when device is removed while we
are writing to it we crash in bdi_writeback_workfn() ->
set_worker_desc() because bdi->dev is NULL.
This can happen because even though bdi_unregister() cancels all pending
flushing work, nothing really prevents new ones from being queued from
balance_dirty_pages() or other places.
Fix the problem by clearing BDI_registered bit in bdi_unregister() and
checking it before scheduling of any flushing work.
Fixes: 839a8e8660b6777e7fe4e80af1a048aebe2b5977
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Derek Basehore <dbasehore@chromium.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit
bf0972039ddc483a9cb79edae73076c635876568)
Derek Basehore [Thu, 3 Apr 2014 21:46:22 +0000 (14:46 -0700)]
backing_dev: fix hung task on sync
commit
6ca738d60c563d5c6cf6253ee4b8e76fa77b2b9e upstream.
bdi_wakeup_thread_delayed() used the mod_delayed_work() function to
schedule work to writeback dirty inodes. The problem with this is that
it can delay work that is scheduled for immediate execution, such as the
work from sync_inodes_sb(). This can happen since mod_delayed_work()
can now steal work from a work_queue. This fixes the problem by using
queue_delayed_work() instead. This is a regression caused by commit
839a8e8660b6 ("writeback: replace custom worker pool implementation with
unbound workqueue").
The reason that this causes a problem is that laptop-mode will change
the delay, dirty_writeback_centisecs, to 60000 (10 minutes) by default.
In the case that bdi_wakeup_thread_delayed() races with
sync_inodes_sb(), sync will be stopped for 10 minutes and trigger a hung
task. Even if dirty_writeback_centisecs is not long enough to cause a
hung task, we still don't want to delay sync for that long.
We fix the problem by using queue_delayed_work() when we want to
schedule writeback sometime in future. This function doesn't change the
timer if it is already armed.
For the same reason, we also change bdi_writeback_workfn() to
immediately queue the work again in the case that the work_list is not
empty. The same problem can happen if the sync work is run on the
rescue worker.
[jack@suse.cz: update changelog, add comment, use bdi_wakeup_thread_delayed()]
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Alexander Viro <viro@zento.linux.org.uk>
Reviewed-by: Tejun Heo <tj@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Derek Basehore <dbasehore@chromium.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Benson Leung <bleung@chromium.org>
Cc: Sonny Rao <sonnyrao@chromium.org>
Cc: Luigi Semenzato <semenzato@chromium.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit
39305a6ac73ca6e8349773d032cdb5336d42196f)
wlf [Thu, 22 May 2014 09:44:22 +0000 (17:44 +0800)]
USB: add dwc_otg_usb_state function for vbus power control.
张晴 [Thu, 22 May 2014 08:53:53 +0000 (16:53 +0800)]
rk3288:pmic:ricoh619:slove pwrkey missed when wakeup;modify some fg error
zwl [Thu, 22 May 2014 08:03:18 +0000 (16:03 +0800)]
rk fb: add set win state in set_par and pan_display that may use for BOX
lintao [Thu, 22 May 2014 07:36:27 +0000 (15:36 +0800)]
mmc: host: rk_sdmmc:
When sysyem enter suspend, MHSC would be power-off, and the CD int
will be trigger after controller power-on sequential flow, it's wrong case
for sd card always in slot! Move it to routine_card to judge present state
and decide whether to wakeup screen or not. Now, SHOULD NOT disable vcc_sd
in regulator_state_mem .
[28890.551808] mmc_sd_detect(mmc1): Unable to re-detect card (-110)
[28890.551842] mmc1: card 1234 removed
[28890.856547] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[28891.163590] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[28891.163709] rk_sdmmc: BOOT Bus speed=50000000Hz,Bus width=4bits.[mmc1]
[28891.163766] mmc1: new high speed SDHC card at address 1234
[28891.164460] mmcblk1: mmc1:1234 SA32G 29.3 GiB
[28891.165939] mmcblk1: p1
黄涛 [Thu, 22 May 2014 07:09:59 +0000 (15:09 +0800)]
ARM: rockchip: fix rk3288 tsadc_int pinctrl
wlf [Thu, 22 May 2014 03:30:11 +0000 (11:30 +0800)]
USB: fix Coding Style.
zwl [Thu, 22 May 2014 01:21:59 +0000 (09:21 +0800)]
rk fb: modify fb align for improve gpu ddr utilization
黄涛 [Thu, 22 May 2014 00:29:50 +0000 (08:29 +0800)]
clocksource: rockchip_timer: rk_timer_read_current_value64 return u64
陈亮 [Wed, 21 May 2014 12:16:45 +0000 (05:16 -0700)]
fix bug: ddr freq will not change any more when video quit abnormal
陈亮 [Wed, 21 May 2014 09:11:06 +0000 (02:11 -0700)]
ddrfreq: separate ddr from clk frame to fix dead lock and advance performance
ljf [Wed, 21 May 2014 08:18:41 +0000 (16:18 +0800)]
rk3288: remove unused files and config (old vpu service)
gwl [Tue, 20 May 2014 09:24:15 +0000 (17:24 +0800)]
WiFi&BT add io reference voltage control to reducing power consumption, default is disabled.
陈金泉 [Tue, 20 May 2014 09:03:42 +0000 (17:03 +0800)]
audio coding style : use pr_err and pr_info to replace printk
陈金泉 [Tue, 20 May 2014 08:20:02 +0000 (16:20 +0800)]
Audio : Change coding style
wdc [Tue, 20 May 2014 02:39:45 +0000 (10:39 +0800)]
i2c: fix i2c transfer error when irqs disabled
hjc [Tue, 20 May 2014 04:13:58 +0000 (12:13 +0800)]
rk fb: sync with hwc when wait at fb
郭毅 [Tue, 20 May 2014 03:01:05 +0000 (11:01 +0800)]
rtc: fix some bug of rtc-HYM8563 and change default rtc to HYM8563
黄涛 [Tue, 20 May 2014 03:01:00 +0000 (11:01 +0800)]
rk: cpufreq: interactive: support touch boost and adjust param
wlf [Tue, 20 May 2014 02:27:24 +0000 (10:27 +0800)]
USB: Fix NULL pointer bug when handle data toggle error interrupt.
wdc [Mon, 19 May 2014 13:56:55 +0000 (21:56 +0800)]
rk_keys: not to read adc value when suspend
wlf [Mon, 19 May 2014 10:27:21 +0000 (18:27 +0800)]
USB: Improve transmission performance of the mass storage.
gwl [Mon, 19 May 2014 09:56:29 +0000 (17:56 +0800)]
WiFi:bcmdhd: add rockchip_wifi_set_carddetect(0) to remove device when turn off wifi.
hcy [Mon, 19 May 2014 07:48:45 +0000 (15:48 +0800)]
fix LPDDR2 bandwidth cause VOP empty interrupt
郭毅 [Mon, 19 May 2014 01:57:54 +0000 (09:57 +0800)]
p977: dts: change emmc freq to 100M and modify hym8563's i2c address
黄涛 [Mon, 19 May 2014 00:52:22 +0000 (08:52 +0800)]
ARM: rockchip: last log v3.0
xjh [Fri, 16 May 2014 10:14:43 +0000 (18:14 +0800)]
MIPI:1. reduce charge pump current 2.rmove interrupt 3. remove info print
hjc [Fri, 16 May 2014 07:05:22 +0000 (15:05 +0800)]
rk fb: delete acq wait message
lintao [Fri, 16 May 2014 02:32:41 +0000 (10:32 +0800)]
mmc: host: rk_sdmmc: fix clksum divider 2 before controller
陈亮 [Fri, 16 May 2014 01:11:47 +0000 (18:11 -0700)]
rk3288-tb: adjust arm and gpu dvfs table for syr82x dcdc
lintao [Thu, 15 May 2014 10:21:52 +0000 (18:21 +0800)]
mmc: host: rk_sdmmc: fix IP bug for div larger than 1
郭毅 [Thu, 15 May 2014 09:38:39 +0000 (17:38 +0800)]
p977_8846: support act8846 device shutdown and limit arm'freq to 1.6G
张晴 [Thu, 15 May 2014 08:31:23 +0000 (16:31 +0800)]
rk3288:pmic:act8846:support act8846 device shutdown
ljf [Thu, 15 May 2014 07:24:45 +0000 (15:24 +0800)]
rk3288: deactivate iommu before power off, get rid of warnning from iommu module
ljf [Thu, 15 May 2014 01:58:53 +0000 (09:58 +0800)]
rk3288: enable iep iommu mode when iommu driver available
wdc [Wed, 14 May 2014 10:01:58 +0000 (18:01 +0800)]
saradc: fix sometimes adc print log frequently
郭毅 [Wed, 14 May 2014 09:42:02 +0000 (17:42 +0800)]
p977: 8846_dts: disabled unused pwm1 to make pmic_vsel work fine;
张晴 [Wed, 14 May 2014 08:59:02 +0000 (16:59 +0800)]
rk3288:pmic:act8846:modify vsel pin level
yxj [Wed, 14 May 2014 08:25:58 +0000 (16:25 +0800)]
rk32 dp: use clk_prepare_enable and clk_disable_unprepare
郭毅 [Wed, 14 May 2014 08:23:58 +0000 (16:23 +0800)]
p977: dts: modify wrong voltage of 400M gpu
郭毅 [Wed, 14 May 2014 08:10:24 +0000 (16:10 +0800)]
p977: dts: add rk3288-p977_8846.dts
if your p977's pmu is act8846 please make rk3288-p977_8846.img
郭毅 [Wed, 14 May 2014 07:52:54 +0000 (15:52 +0800)]
rtc : support for rtc-HYM8563
zwl [Wed, 14 May 2014 06:33:35 +0000 (14:33 +0800)]
rk hdmi: fix hdmi win state err when suspend
dkl [Wed, 14 May 2014 06:05:16 +0000 (14:05 +0800)]
ddrfreq && dvfs: change the notify events listened to.
Change the notify events listened to from RK_CLK_PD_PRE_ENABLE/DISABLE
to RK_CLK_PD_PREPARE/UNPREPARE.
dkl [Wed, 14 May 2014 05:59:16 +0000 (13:59 +0800)]
clk: pd: rockchip: add notify when clk_pd_prepare/unprepare
yxj [Wed, 14 May 2014 03:19:36 +0000 (11:19 +0800)]
rk fb: alloc framebuffer from vmalloc when iommu enabled
CMY [Wed, 14 May 2014 02:40:01 +0000 (10:40 +0800)]
Revert "rk: ion: support cache ops for CMA heap"
This reverts commit
98ad00141cb4382996166f9cd82e9d203b256864.
Conflicts:
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion_cma_heap.c
drivers/staging/android/ion/ion_priv.h
zwl [Wed, 14 May 2014 02:19:02 +0000 (10:19 +0800)]
rk32 lvds: fix lvds no display when resume
yxj [Wed, 14 May 2014 01:02:57 +0000 (09:02 +0800)]
rk fb:fix compile err with iommu
yxj [Tue, 13 May 2014 07:16:56 +0000 (15:16 +0800)]
rk fb: copy logo data from bootloader when enable iommu
zyc [Wed, 14 May 2014 01:19:46 +0000 (09:19 +0800)]
camsys_drv : v0.9.0
zwl [Tue, 13 May 2014 13:32:31 +0000 (21:32 +0800)]
rk fb: fix rga rotate 90 orientation err
xjh [Tue, 13 May 2014 11:53:08 +0000 (19:53 +0800)]
MIPI: support uboot logo on
ljf [Tue, 13 May 2014 09:36:28 +0000 (17:36 +0800)]
rk3288: solve vcodec pd control cause decoding failure when iommu enable
zwl [Tue, 13 May 2014 09:16:07 +0000 (17:16 +0800)]
rk fb: fix rga rotate bug
zsq [Tue, 13 May 2014 09:03:12 +0000 (17:03 +0800)]
fix rga_ioctl_kernel funtion not clear bug
dkl [Tue, 13 May 2014 06:21:45 +0000 (14:21 +0800)]
clk: rk3288: keep arm_gpll enable when rk3288 apll set_rate
张晴 [Tue, 13 May 2014 03:25:07 +0000 (11:25 +0800)]
rk3288:pmic:ricoh619:slove read id error for first time
zwl [Tue, 13 May 2014 03:08:26 +0000 (11:08 +0800)]
rk32 lvds: code clear up
dkl [Tue, 13 May 2014 02:24:07 +0000 (10:24 +0800)]
clk: rk3288: set BW 20 when GPLL is 297m for HDMI
郭毅 [Tue, 13 May 2014 01:20:47 +0000 (09:20 +0800)]
TP: fix tp bug cause by this commit:
commit
4c225bb953611906f37a6117a6c920a9dd9877a2
Author: 郭毅 <gy@rock-chips.com>
Date: Mon May 12 17:11:01 2014 +0800
rk3288: tb: Compatible sdk use f402's LCD&TP
zwl [Mon, 12 May 2014 12:02:28 +0000 (20:02 +0800)]
rk fb: add support fb rotate by rga
张晴 [Mon, 12 May 2014 09:48:17 +0000 (17:48 +0800)]
rk3288:pmic:act8846:support pmic act8846 for new hardware
郭毅 [Mon, 12 May 2014 09:11:01 +0000 (17:11 +0800)]
rk3288: tb: Compatible sdk use f402's LCD&TP
If your sdk's lcd is f402, plese make rk3288-tb1.img and you need to
define TB1_USE_F402 in drivers/input/touchscreen/vtl_ts/chip.c and
drivers/input/touchscreen/vtl_ts/vtl_ts.h to make tp work fine.
wlf [Mon, 12 May 2014 09:02:05 +0000 (17:02 +0800)]
USB: Fix usb host hotplug bug.
CMY [Mon, 12 May 2014 08:14:53 +0000 (16:14 +0800)]
rk: ion: CMA is working abnormal when it placed in high zone
Revert "rk: ion: support High Memory for CMA"
This reverts commit
bf46fdf5df7ee88d9314e041fa4b44d5832a3761.
张晴 [Mon, 12 May 2014 06:04:58 +0000 (14:04 +0800)]
rk3288:pmic:ricoh619:modify shutdown without lock
lintao [Mon, 12 May 2014 01:02:28 +0000 (09:02 +0800)]
mmc: host: rk_sdmmc: unify err & info output
xjh [Sun, 11 May 2014 08:17:48 +0000 (16:17 +0800)]
SDMMC: 1. fixed hotplug bug 2. add timeout chekout for halt resume
陈亮 [Sun, 11 May 2014 06:52:12 +0000 (23:52 -0700)]
dvfs: add aclk_vio1 dvfs node to keep log volt greater than 1.0V when pd_vio is enable
xjh [Sun, 11 May 2014 02:42:19 +0000 (10:42 +0800)]
MIPI: fixed mipi merge error
xjh [Sat, 10 May 2014 12:52:18 +0000 (20:52 +0800)]
SDMMC: fix sdmmc data-tranfer-error causing i2c error
yxj [Fri, 9 May 2014 07:06:39 +0000 (15:06 +0800)]
rk fb: fix wait for vsync
陈亮 [Fri, 9 May 2014 07:03:15 +0000 (00:03 -0700)]
ddrfreq: add dualview sence and isp sence
dkl [Fri, 9 May 2014 06:47:47 +0000 (14:47 +0800)]
clk: pd: rockchip: add notify when clk_pd_enable/disable
zwl [Fri, 9 May 2014 03:51:31 +0000 (11:51 +0800)]
rk drm fb: add init overscan value
zwl [Fri, 9 May 2014 03:41:01 +0000 (11:41 +0800)]
rk3288 hdmi: adjust init overscan para according to the resolution that may only use for MID
xxh [Fri, 9 May 2014 02:37:33 +0000 (10:37 +0800)]
support HUAWEI dongel with pid 0x140C
zwl [Fri, 9 May 2014 02:36:35 +0000 (10:36 +0800)]
rk fb: init default primary screen and hdmi post scale value that overscan value may use for hdmi
张晴 [Fri, 9 May 2014 02:06:40 +0000 (10:06 +0800)]
rk3288:pmic:rk808&syr82x:modify lock error
陈亮 [Fri, 9 May 2014 01:28:39 +0000 (18:28 -0700)]
fix wrong performance sence rate, optimize reading video param
zwl [Fri, 9 May 2014 01:20:26 +0000 (09:20 +0800)]
rk3288 lcdc: add support overscan
陈亮 [Thu, 8 May 2014 13:11:04 +0000 (06:11 -0700)]
ddrfreq: add video scene, performan scene
zwl [Thu, 8 May 2014 12:55:36 +0000 (20:55 +0800)]
rk fb: fix boot image disp err for hdmi
zwl [Thu, 8 May 2014 12:00:21 +0000 (20:00 +0800)]
rk3288 hdmi: 1.fix read edid timeout is too long if i2c is err 2. add write phy judge
xbw [Thu, 8 May 2014 10:36:21 +0000 (18:36 +0800)]
SDMMC: modify the crash bug in suspend-rusume process when the sdcard is present in your machine.
xbw [Thu, 8 May 2014 10:33:17 +0000 (18:33 +0800)]
SDMMC:
1. modify the policy of suspend-resume for sd-card.i.e ignore-pm-notify and keep-power-in-suspend.
2, Unified the SDMMC-setting of individual projects, refer to rk3288-p977.dts
张晴 [Thu, 8 May 2014 09:59:28 +0000 (17:59 +0800)]
rk3288:dcdc:syr82x:add protect for i2c error
张晴 [Thu, 8 May 2014 09:15:58 +0000 (17:15 +0800)]
rk3288:pmic:rk808:modify warning for shutdown
zsq [Thu, 8 May 2014 08:03:59 +0000 (16:03 +0800)]
fix rga scale for dst_w large than 2048