xuhuicong [Tue, 23 Apr 2013 02:12:38 +0000 (10:12 +0800)]
no 100% when charge ok pin is no full state, and reset cw2015 when Over-discharge, fix voltage read problam
黄涛 [Mon, 22 Apr 2013 09:46:56 +0000 (17:46 +0800)]
rk: only allow root access /proc/clocks and /sys/dvfs
张晴 [Mon, 22 Apr 2013 09:20:54 +0000 (17:20 +0800)]
rk808:support dcdc1\2 raise voltage by step
黄涛 [Mon, 22 Apr 2013 07:42:08 +0000 (15:42 +0800)]
rk3188: ARM errata: no direct eviction
Porting from Samsung.
761320: Full cache line writes to the same memory region from at least two processors
might deadlock the processor
Status
Affects: Product Cortex-A9 MPCore.
Fault Type: Programmer Category B (Rare)
Fault Status: Present in: All r0, r1, r2 and r3 revisions Fixed in r4p0
Description
Under very rare circumstances, full cache line writes from (at least) 2 processors on cache lines in hazard with
other requests may cause arbitration issues in the SCU, leading to processor deadlock.
Configurations affected
This erratum affects the configurations of the processor with three or more active coherent agents, which is
either:
- Two or more processors if the ACP is present
- Three or more processors
Conditions
To trigger the erratum, at least three agents need to be working in SMP mode, and accessing coherent memory
regions.
Two or more processors need to perform full cache line writes, to cache lines which are in hazard with other
access requests in the SCU. The hazard in the SCU happens when another processor, or the ACP, is
performing a read or a write of the same cache line.
The following example describes one scenario that might cause this deadlock:
- CPU0 performs a full cache line write to address A, then a full cache line write to address B
- CPU1 performs a full cache line write to address B, then a full cache line write to address A
- CPU2 performs read accesses to addresses A and B
Under certain rare timing circumstances, the requests might create a loop of dependencies, causing a
processor deadlock.
Implications
When the erratum happens, it leads to system deadlock.
It is important to note that any scenario leading to this deadlock situation is uncommon. It requires two
processors writing full cache lines to a coherent memory region, without taking any semaphore, with another
processor or the ACP accessing the same lines at the same time, meaning that these latter accesses are not
deterministic. This, combined with the extremely rare microarchitectural timing conditions under which the defect
can happen, explains why the erratum is not expected to cause any significant malfunction in real systems.
Workaround
This erratum can be worked round by setting bit[21] of the undocumented Diagnostic Control Register to 1. This
register is encoded as CP15 c15 0 c0 1.
The bit can be written in Secure state only, with the following Read/Modify/Write code sequence:
MRC p15,0,rt,c15,c0,1
ORR rt,rt,#0x200000
MCR p15,0,rt,c15,c0,1
When this bit is set, the “direct eviction” optimization in the Bus Interface Unit is disabled, which means this
erratum cannot occur.
Setting this bit might prevent the Cortex-A9 from utilizing the full bandwidth when performing intensive full cache
line writes, and therefore a slight performance drop might be visible.
In addition, this erratum cannot occur if at least one of the following bits in the Diagnostic Control Register is set
to 1:
- bit [23] – Disable Read-Allocate mode
- bit [22] – Disable Write Allocate Wait mode
yxj [Mon, 22 Apr 2013 04:24:48 +0000 (12:24 +0800)]
mfd:rk616:core:modify pll config,make register dump more pretty
yxj [Sun, 21 Apr 2013 12:46:18 +0000 (20:46 +0800)]
mfd:rk616:hdmi:make reg dump looks more pretty
yxj [Sun, 21 Apr 2013 02:50:19 +0000 (10:50 +0800)]
mfd:rk616:support lcd1 as RGB output port
yxj [Sun, 21 Apr 2013 02:13:15 +0000 (10:13 +0800)]
mfd:rk616:core:set vif vst hst to 1
yxj [Sun, 21 Apr 2013 02:12:27 +0000 (10:12 +0800)]
mfd:rk616:core:add pll config
陈金泉 [Mon, 22 Apr 2013 04:12:13 +0000 (12:12 +0800)]
fix codec pop noise
陈金泉 [Mon, 22 Apr 2013 03:35:47 +0000 (11:35 +0800)]
add work and route for codec rk616
zyk [Mon, 22 Apr 2013 03:33:42 +0000 (11:33 +0800)]
rk3188 LR097 : change size of memory reserved for mali ump
陈金泉 [Sun, 21 Apr 2013 12:08:24 +0000 (20:08 +0800)]
change for codec
yzq [Sun, 21 Apr 2013 11:05:02 +0000 (19:05 +0800)]
mfd:rk616: support irq mode
yzq [Sat, 20 Apr 2013 12:47:00 +0000 (20:47 +0800)]
mfd:rk616:hdmi: display ok
yxj [Sat, 20 Apr 2013 04:40:45 +0000 (12:40 +0800)]
mfd:rk616:hdmi:use threaded irq,hot pulg ok
yxj [Fri, 19 Apr 2013 14:16:15 +0000 (22:16 +0800)]
board jettaB:add hdmi irq pin
yxj [Fri, 19 Apr 2013 13:50:22 +0000 (21:50 +0800)]
mfd:rk616:dhmi:fix register msk bug
yxj [Fri, 19 Apr 2013 07:23:17 +0000 (15:23 +0800)]
mfd rk616 hdmi:fix register config bug
yxj [Thu, 18 Apr 2013 14:35:50 +0000 (22:35 +0800)]
add board jettaB
yxj [Thu, 18 Apr 2013 14:23:15 +0000 (22:23 +0800)]
screen b101ew05:support rk616 lvds
yxj [Thu, 18 Apr 2013 14:22:22 +0000 (22:22 +0800)]
mfd:rk616:lvds function ok
yxj [Thu, 18 Apr 2013 14:11:22 +0000 (22:11 +0800)]
mfd:rk616:hdmi:fix g_rk616_hdmi initial bug
黄涛 [Thu, 18 Apr 2013 09:05:22 +0000 (17:05 +0800)]
rk: set CONSISTENT_DMA_SIZE to 8M
yxj [Thu, 18 Apr 2013 07:33:06 +0000 (15:33 +0800)]
fix bug of rk_fb_set_par in hdmi mode
yxj [Thu, 11 Apr 2013 01:38:56 +0000 (09:38 +0800)]
rk screen:add SCREEN_TYPE SCREEN_MIPI
陈金泉 [Thu, 18 Apr 2013 02:42:32 +0000 (10:42 +0800)]
add rk616 codec driver
hwg [Wed, 17 Apr 2013 15:10:25 +0000 (23:10 +0800)]
modify rfkill cts iomux define
hwg [Wed, 17 Apr 2013 12:02:30 +0000 (20:02 +0800)]
NL80211_TESTMODE depends on CFG80211 && (MT5931 || MT5931_MT6622)
Zhaoyifeng [Wed, 17 Apr 2013 07:59:10 +0000 (15:59 +0800)]
MTD:MTD MERGE READ AND WRITE FOR ONE REQ. ZYF
chenxing [Wed, 17 Apr 2013 06:15:15 +0000 (14:15 +0800)]
rk3168: dvfs-rk3066b.c set some variables to static
chenxing [Wed, 17 Apr 2013 06:08:47 +0000 (14:08 +0800)]
rk3168: update dvfs table to set gpu voltage all 1.2V
chenxing [Wed, 17 Apr 2013 04:07:08 +0000 (12:07 +0800)]
rk3168: dvfs with uoc optimization
zsq [Tue, 16 Apr 2013 09:45:12 +0000 (17:45 +0800)]
fix sysc wait queue error
hhb [Tue, 16 Apr 2013 09:10:09 +0000 (17:10 +0800)]
rk_serial:1.fix bug dma buffer free error
邱建斌 [Tue, 16 Apr 2013 03:22:14 +0000 (11:22 +0800)]
rt5640 && rt5642 : support audio codec rt5642 rt5640
ddl [Mon, 15 Apr 2013 09:27:18 +0000 (17:27 +0800)]
camera(generic_sensor v0.1.1): add sensor_focus_af_const_pause_usr_cb
ddl [Mon, 15 Apr 2013 07:26:28 +0000 (15:26 +0800)]
camera: update board-rk30-ds975.c for new_camera struct
ddl [Fri, 12 Apr 2013 03:24:06 +0000 (11:24 +0800)]
camera: invalidate ov2659 register in rk3168 board
ddl [Fri, 12 Apr 2013 01:55:02 +0000 (09:55 +0800)]
camera: modify camera sensor device register method for each board file
ddl [Thu, 11 Apr 2013 09:56:12 +0000 (17:56 +0800)]
camera: add notice message when sensor driver is new,but sensor device registered in board file by old
xxx [Thu, 11 Apr 2013 07:16:00 +0000 (15:16 +0800)]
dvfs add disable clk interfacet
ddl [Wed, 10 Apr 2013 09:59:37 +0000 (17:59 +0800)]
add new_camera struct in each board file
yxj [Wed, 10 Apr 2013 08:31:05 +0000 (16:31 +0800)]
rk2928 lcdc:fix bug in win1_set_par
yxj [Wed, 10 Apr 2013 06:11:04 +0000 (14:11 +0800)]
edp anx:create debug node under dir debug/edp/
yxj [Wed, 10 Apr 2013 06:01:53 +0000 (14:01 +0800)]
mfd:rk616:create debug node rk616-reg under dir debugfs/rk616/
ddl [Wed, 10 Apr 2013 08:26:51 +0000 (16:26 +0800)]
camera(v0.4.1): cif:v0.4.1 generic_sensor:v0.1.0 rk_camera:v0.1.0
yxj [Wed, 10 Apr 2013 04:22:54 +0000 (12:22 +0800)]
mfd:rk616:add clk common init,add debug interface
黄涛 [Wed, 10 Apr 2013 03:20:41 +0000 (11:20 +0800)]
remove kxtf9 gsensor driver for GPL v3 licence
CMY [Tue, 9 Apr 2013 10:51:47 +0000 (18:51 +0800)]
support broadcom AP6x serials BT
黄涛 [Tue, 9 Apr 2013 10:23:59 +0000 (18:23 +0800)]
rk3188: clock: print dpll/cpll con2 when boot
yxj [Mon, 8 Apr 2013 06:30:48 +0000 (14:30 +0800)]
rk616:add more control register defination
chenxing [Mon, 8 Apr 2013 03:00:31 +0000 (11:00 +0800)]
rk3066: rename macro definition of RK3066
chenxing [Mon, 8 Apr 2013 02:24:08 +0000 (10:24 +0800)]
rk3028: add dvfs voltage difference table
yzq [Sun, 7 Apr 2013 08:13:27 +0000 (16:13 +0800)]
support rk616 hdmi
邱建斌 [Sun, 7 Apr 2013 09:26:13 +0000 (17:26 +0800)]
rk610 codec : modfiy rk610_codec_write_incall funtion
邱建斌 [Sun, 7 Apr 2013 08:04:01 +0000 (16:04 +0800)]
rk610 codec : add modem sound control
yxj [Sun, 7 Apr 2013 06:29:52 +0000 (14:29 +0800)]
rk30 lcdc:set parameters for rk610 if needed
张晴 [Sun, 7 Apr 2013 03:54:55 +0000 (11:54 +0800)]
rk808:modify some warning
张晴 [Sun, 7 Apr 2013 02:54:49 +0000 (10:54 +0800)]
rk808:modify rtc error and solve the leakage in sleep mode
yxj [Wed, 3 Apr 2013 10:10:42 +0000 (18:10 +0800)]
rk3188 tb board:add mfd rk616
yxj [Wed, 3 Apr 2013 10:08:40 +0000 (18:08 +0800)]
add mfd rk616
wuhao [Wed, 3 Apr 2013 04:52:58 +0000 (12:52 +0800)]
rk3188 sdk: add ethernet
chenxing [Wed, 3 Apr 2013 02:17:35 +0000 (10:17 +0800)]
rk3188: gpu use switch pll to support 594M at gpll, change cpll to 798M
ddl [Tue, 2 Apr 2013 10:47:34 +0000 (18:47 +0800)]
camera: update mt9p111 and add hm5065
张晴 [Tue, 2 Apr 2013 09:22:51 +0000 (17:22 +0800)]
rk808:support pmu rk808 vbat low detect
hjc [Tue, 2 Apr 2013 09:01:36 +0000 (17:01 +0800)]
rk3168_86v: add support gsensor mxc6225
luowei [Mon, 1 Apr 2013 08:15:12 +0000 (16:15 +0800)]
sensors:add sensor debug support
lyz [Mon, 1 Apr 2013 03:31:31 +0000 (11:31 +0800)]
rk292x: usb: totally reset inno usb phy
hjc [Sun, 31 Mar 2013 09:54:10 +0000 (17:54 +0800)]
rk3168_86v: fix lcd will show white flicker, when kernel booting
xxh [Sat, 30 Mar 2013 07:39:47 +0000 (15:39 +0800)]
1.add mt6229 power on/off on settings for MID
2.change some method to static
xxh [Fri, 29 Mar 2013 10:47:18 +0000 (18:47 +0800)]
remove mu509 uart gpio request
xxh [Fri, 29 Mar 2013 10:26:44 +0000 (18:26 +0800)]
3G modem driver for 4.2.2
1.the driver is copy form 4.1
2.mu509,mt6229,mw100,sew868
3.other modem use rk29_modem_config
xxh [Fri, 29 Mar 2013 02:58:56 +0000 (10:58 +0800)]
fix bug Hier 3G dongle:
the bug is:when disable dataconnection,the data port can not use anymore
kfx [Fri, 29 Mar 2013 04:23:53 +0000 (12:23 +0800)]
fix bug: sram_gpio_init return -EINVAL if gpio is RK30_GPIO6_PXy
kfx [Mon, 25 Feb 2013 06:52:51 +0000 (14:52 +0800)]
i2c: msleep->mdelay if in atomic
黄涛 [Fri, 29 Mar 2013 02:53:37 +0000 (10:53 +0800)]
ts: rk29_i2c_goodix: unregister early suspend when probe failed
xkd [Thu, 28 Mar 2013 12:29:21 +0000 (20:29 +0800)]
rk2928 : fix gsensor orientation
caused by commit
3aae7adc
wuhao [Thu, 28 Mar 2013 11:33:53 +0000 (19:33 +0800)]
rk3188 sdk: config 3G modem
xkd [Thu, 28 Mar 2013 11:28:44 +0000 (19:28 +0800)]
sync : rk2928 add phonepad support
commit:
72d981d8fde265a5b3768be98f4ee1ed1778b19d
wuhao [Thu, 28 Mar 2013 08:40:11 +0000 (16:40 +0800)]
rk3188 sdk: config cw2015
wuhao [Thu, 28 Mar 2013 08:38:49 +0000 (16:38 +0800)]
rk3188 sdk: config cat66121
xxh [Thu, 28 Mar 2013 08:26:11 +0000 (16:26 +0800)]
change Airis 3G dongle data port to ttyUSB3
wuhao [Thu, 28 Mar 2013 08:15:32 +0000 (16:15 +0800)]
rk3188 sdk: config rk903
wuhao [Thu, 28 Mar 2013 07:57:33 +0000 (15:57 +0800)]
rk3188 sdk: config rt5616
wuhao [Thu, 28 Mar 2013 07:46:40 +0000 (15:46 +0800)]
rk3188 sdk:config adc keys
xxh [Thu, 28 Mar 2013 07:42:20 +0000 (15:42 +0800)]
add some vid pid for Foreign 3G dongle
wuhao [Thu, 28 Mar 2013 07:36:44 +0000 (15:36 +0800)]
rk3188 sdk: init
赵子初 [Thu, 28 Mar 2013 06:47:41 +0000 (14:47 +0800)]
760:add GC2035 support
hjc [Thu, 28 Mar 2013 06:35:49 +0000 (14:35 +0800)]
rk3168_86v: gsensor operation
张晴 [Thu, 28 Mar 2013 06:22:15 +0000 (14:22 +0800)]
rk31xx:set tps65910 dc1 and dc2 in pwm mode
赵子初 [Thu, 28 Mar 2013 03:03:49 +0000 (11:03 +0800)]
fix bug: headphone detection
hjc [Thu, 28 Mar 2013 02:50:04 +0000 (10:50 +0800)]
rk3028: close debug switch
cym [Thu, 28 Mar 2013 02:18:20 +0000 (10:18 +0800)]
RK3168:restore clk_cpu:aclk_cpu to default value for RK3168 reboot
hjc [Wed, 27 Mar 2013 16:22:00 +0000 (00:22 +0800)]
rk3028: defconfig open debug switch,modify the arm voltage
hjc [Wed, 27 Mar 2013 13:42:20 +0000 (21:42 +0800)]
rk3168: defconfig open ddr freq
hjc [Wed, 27 Mar 2013 12:55:56 +0000 (20:55 +0800)]
rk3168_86v: basic function is ok
hjc [Wed, 27 Mar 2013 11:57:36 +0000 (19:57 +0800)]
rk3168_ds803f: rename 86v_codec to ds803f
黄涛 [Wed, 27 Mar 2013 08:36:44 +0000 (16:36 +0800)]
rk2928: Makefile: fix board define
ddl [Wed, 27 Mar 2013 07:34:38 +0000 (15:34 +0800)]
camera(v0.2.0x21): fix ctrl register capture bit may be turn on in rk_videobuf_capture function