development kernel tree: Changes to 'debug'
git at git.openmoko.org
git at git.openmoko.org
Tue Jul 15 10:13:39 CEST 2008
Rebased ref, commits from common ancestor:
commit 8c26b384cb66915ff7b69e4352b19b9c0a2a3c46
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:25 2008 +0100
clean-gsm-flow-control.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
arch/arm/plat-s3c24xx/neo1973_pm_gsm.c | 52 +-------
drivers/serial/s3c2410.c | 204 +++-----------------------------
2 files changed, 24 insertions(+), 232 deletions(-)
commit e0653d5c1d31d5a9847a926062fb224d31f3209f
Author: Andy Green <andy at openmoko.com>
Date: Tue Jul 15 09:13:25 2008 +0100
mw09_style_fixes.patch
Signed-off-by: Andy Green <andy at openmoko.com>
commit 1d4700e9702416388c41df289b69e3766b4d77b7
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:25 2008 +0100
mw09f_gsm_interrupt_handling_4.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit 4cb70b478bfc705bc4a7cd6f0f362175eda34530
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:25 2008 +0100
mw09f_gsm_interrupt_handling_3.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit 9d6a9580a295190caf5c469d1e045df108681e8d
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:25 2008 +0100
mw09f_gsm_interrupt_handling_2.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit 31ce77b21d897bc9b467bd2f580414630e43c9c9
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:24 2008 +0100
mw09f_gsm_interrupt_handling_1.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit b78c5ec31f822ee5672c08312998461af743162a
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:24 2008 +0100
mw09e_gsm_serial_mctrl.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit d3cb60a7f1e28a8eb731ac20c6bbd96a401b2d3f
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:24 2008 +0100
mw09d_gta01_serial_readhack_1.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit 67212aa1c6299f224d1f595a9313897c80aba804
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:24 2008 +0100
mw09c_gsm_flowcontrol.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit ee58f41f60bc2a30eb814d60a4c00fcbfde1d236
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:24 2008 +0100
mw09a_log_serial_errors.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit f717c85db8875219bc57cc49eb399a7a47c2342a
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:24 2008 +0100
mw09a_gta01_UART_threshold.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit efd073bd71ed301fe82c8ccdc422f182b7af8067
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:23 2008 +0100
mw09a_gta01_console_disable_2.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit 8409a2d76600964254fb8d742aa5808c9e0833e4
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:13:23 2008 +0100
mw09a_gta01_console_disable_1.patch
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit 5a2818956d200946ad50bef02d6aadf622fc74be
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:23 2008 +0100
PATCH-9_9-gta01-Tweak-pixclock-to-reduce-flicker-with-cpufreq.eml
Experimenting with a GTA01 showed pixclock values near 40000 (after the
rounding caused by the divider calculation) caused visible flicker. Values
near 20000 caused only a slight flicker, and the default value after rounding
with the default HCLK frequency of 133MHz is 30075.
Change the value to 35000 to make it stay in the range 17500-35000 and thus
reduce the flicker a bit.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit 416942d979e07ff8f75bfb35b778d00f5f5da664
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:23 2008 +0100
PATCH-8_9-Experimental-S3C2410A-cpufreq-driver-fb-.eml
This is the cpufreq notifier for the S3C2410 framebuffer driver.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit 34cf478f103ed37bc963ddb3142308fec7976586
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:23 2008 +0100
PATCH-7_9-Experimental-S3C2410A-cpufreq-driver-serial-.eml
This is the cpufreq notifier for the S3C2410 serial driver.
It uses the hardware flow control, when available, to avoid losing characters
during the transition.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit d3aa236e4501dc488a7f54a9edb684f4ce3f1b8d
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:23 2008 +0100
PATCH-6_9-s3c2410-serial-move-divisor-calculation-to-separate-function.eml
The cpufreq notifier for the S3C2410 serial driver has to recalculate the
baud rate divisor. The code which does the calculation is currently part of
s3c24xx_serial_set_termios. Split it off to a separate function.
Code movement only, no functional changes.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit dd931c0514c6a8cf79f09166101ba776e86b4b0f
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:22 2008 +0100
PATCH-5_9-Experimental-S3C2410A-cpufreq-driver-nand-.eml
This is the cpufreq notifier for the S3C2410 NAND driver.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit 34e5653f2dba5c009130cd651aa399fb543db493
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:22 2008 +0100
PATCH-4_9-Experimental-S3C2410A-cpufreq-driver-timer-.eml
This is the cpufreq notifier for the S3C2410 timer code.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit ed0c44a60fab7dc63d746398f767f4907a3981eb
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:22 2008 +0100
PATCH-3_9-cpufreq-Warn-whem-cpufreq_register_notifier-called-before-pure-initcalls.eml
If cpufreq_register_notifier is called before pure initcalls,
init_cpufreq_transition_notifier_list will overwrite whatever it did,
causing notifiers to be ignored.
Print some noise to the kernel log if that happens.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit 5ab6d804f5cc5a7a5e0e0a14562f5def085a0285
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:22 2008 +0100
PATCH-2_9-Experimental-S3C2410A-cpufreq-driver-core-.eml
This is a cpufreq driver for the S3C2410A. It deals only with the main
frequency switching part and with the SDRAM refresh counter. The rest of the
hardware should be dealt with via cpufreq notifiers on each of the drivers.
It also has experimental support for the S3C2442.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit acf8107d80804bfc769dce56d8a1fb5956f76d21
Author: Cesar Eduardo Barros <cesarb at cesarb.net>
Date: Tue Jul 15 09:13:22 2008 +0100
PATCH-1_9-cpufreq-fix-show_trans_table.eml
Fix show_trans_table when it overflows PAGE_SIZE.
* Not all snprintf calls were protected against being passed a negative
length.
* When show_trans_table overflows, len might be > PAGE_SIZE. In that case,
returns PAGE_SIZE.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
commit 89a8c3f2cbc3da206e1238a7a896217511bbc05c
Author: warmcat <andy at warmcat.com>
Date: Tue Jul 15 09:13:21 2008 +0100
local-config-cpufreq.patch
commit 4b9a33e613c55fdd6a22ff246b22c45149a97dd6
Author: Jason Uhlenkott <jasonuhl at jasonuhl.org>
Date: Tue Jul 15 09:12:34 2008 +0100
sdio: use interruptible sleep in kthread main loops
My FreeRunner's load average was leveling off at 2.00 as a result of
these two kernel threads:
SDIO Helper D c02b4500 0 255 2
[<c02b4298>] (schedule+0x0/0x2d4) from [<c02b4040>] (__down+0x100/0x158)
[<c02b3f40>] (__down+0x0/0x158) from [<c02b3e2c>] (__down_failed+0xc/0x20)
r7:00000000 r6:c01fbd64 r5:c7cb7134 r4:c7d58000
[<c01fa6fc>] (CardDetectHelperFunction+0x0/0x1ac) from [<c01fbd80>] (HelperLaunch+0x1c/0x28)
r5:c7cb7134 r4:c7cb7134
[<c01fbd64>] (HelperLaunch+0x0/0x28) from [<c005bbd0>] (kthread+0x60/0x94)
r4:c7d58000
[<c005bb70>] (kthread+0x0/0x94) from [<c0048f7c>] (do_exit+0x0/0x744)
r6:00000000 r5:00000000 r4:00000000
SDIO Helper D c02b4500 0 259 2
[<c02b4298>] (schedule+0x0/0x2d4) from [<c02b4040>] (__down+0x100/0x158)
[<c02b3f40>] (__down+0x0/0x158) from [<c02b3e2c>] (__down_failed+0xc/0x20)
r7:c0382bb4 r6:c0382b34 r5:c7d5a000 r4:00000001
[<c01f9104>] (SDIOIrqHelperFunction+0x0/0x29c) from [<c01fbd80>] (HelperLaunch+0x1c/0x28)
r8:00000000 r7:00000000 r6:c01fbd64 r5:c0382bb4 r4:c0382bb4
[<c01fbd64>] (HelperLaunch+0x0/0x28) from [<c005bbd0>] (kthread+0x60/0x94)
r4:c7d5a000
[<c005bb70>] (kthread+0x0/0x94) from [<c0048f7c>] (do_exit+0x0/0x744)
r6:00000000 r5:00000000 r4:00000000
This fixes them to use interruptible sleep primitives while waiting in
their main loops, as is conventional for kernel threads. They can't
actually be interrupted since kernel threads ignore all signals, but
by sleeping this way they get classified as long term waiters, and
don't get counted as running for purposes of load average calculation.
This is intended as a minimal fix. In the longer term, it'd probably
make sense to replace the semaphores with completions or something,
and to do away with some of these StudlyCapped wrapper functions.
Signed-off-by: Jason Uhlenkott <jasonuhl at jasonuhl.org>
--
This is untested, but what could possibly go wrong? ;)
commit be7cbde703b99e9fbf5ee7e95f805ba29c67965f
Author: Andy Green <andy at openmoko.com>
Date: Tue Jul 15 09:12:34 2008 +0100
test-force-gps-voltage-3v6.patch
Allows you to control RF_3V between 3.0V and 3.3V; this increases the
phantom voltage at the internal antenna from 2.63V to 2.85V and may
or may not affect antenna gain and GPS behaviour.
You can read and set the GPS voltage by
# cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/power_mv
3300
# echo 3100 > /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/power_mv
Signed-off-by: Andy Green <andy at openmoko.com>
commit dd1abcc14ce89cc9ef74b60b5ac8e183028ac0b9
Author: Mike Westerhof <mwester at dls.net>
Date: Tue Jul 15 09:12:33 2008 +0100
commit 5f42e24d361cd83178fe8da9d68efbf41a011483
Add missing initialization for the touchscreen driver for the
gta01 platform.
Signed-off-by: Mike Westerhof <mwester at dls.net>
commit 8786070b544806a0f29f4dc685f243ec5b13d2b4
Author: Andy Green <andy at openmoko.com>
Date: Tue Jul 15 09:12:33 2008 +0100
test-touchscreen-median.patch
Signed-off-by: Andy Green <andy at openmoko.com>
commit cc09be1a2b498a42cea30507a441eb67c80da1e4
Author: Andy Green <andy at openmoko.com>
Date: Tue Jul 15 09:12:33 2008 +0100
config-touchscreen-filters.patch
Signed-off-by: Andy Green <andy at openmoko.com>
commit fd25f90517322fc6c07bfb8d34752d3cb41cb4b6
Author: Andy Green <andy at openmoko.com>
Date: Tue Jul 15 09:04:11 2008 +0100
introduce-BANKCON-meddling-sysfs.patch
A few questions have been flying around about how optimal
our waitstates are for various things including Glamo.
This patch introduces new sysfs nodes
/sys/devices/platform/neo1973-memconfig.0/BANKCON0
...
/sys/devices/platform/neo1973-memconfig.0/BANKCON7
If you cat them you get translated info about bus speed on
that chip select, eg,
# cat /sys/devices/platform/neo1973-memconfig.0/BANKCON1
BANKCON1 = 0x00000A40
Type = ROM / SRAM
PMC = normal (1 data)
Tacp = 2 clocks
Tcah = 0 clocks
Tcoh = 1 clock
Tacc = 3 clocks
Tcos = 1 clock
Tacs = 0 clocks
You can write them in hex too
# echo 0x200 > /sys/devices/platform/neo1973-memconfig.0/BANKCON1
The write format for BANKCON0 - 5 looks like this
b1..b0 PMC Page Mode Config
b3..b2 Tacp Page Mode Access Cycle
b5..b4 Tcah Address hold after CS deasserted
b7..b6 Tcoh CS hold after OE deasserted
b10..b8 Tacc Access Cycle Period
b12..b11 Tcos CS setup before OE asserted
b14..b13 Tacs Address setup before CS asserted
BANKCON 6 and 7 have two extra bits
b16..b15 MT Memory type (00=ROM/SRAM, 11=DRAM)
If it's ROM/SRAM, the rest of the bits are as described above.
For DRAM
b1..b0 SCAN Column address number
b3..b2 RAS to CAS delay
The patch is intended to let people experiement on their own. But
of course you will crash things for sure if the timing is wrong, and
you can also trash SD Card data if you make Glamo unstable, so remove
it or remount ro first. Other horrible things are possible, but
because the settings aren't sticky, you should always be able to
recover by either normal reboot usually or at worst NOR boot and then
dfu. Most likely you will just crash your session and have to reboot
if your settings are bad, but consider yourself warned bad things are
possible. :-)
Signed-off-by: Andy Green <andy at openmoko.com>
commit db07519c1dfe916bcf9644bfdc4d7c03707a979e
Author: Andy Green <andy at openmoko.com>
Date: Tue Jul 15 09:04:05 2008 +0100
change-backlight-level-not-forced-up-on-resume.patch
We at least always enabled backlight on resume, this patch
changes us to set backlight back to last requested backlight
brightness level on resume. Note it means that you can
resume with screen blanked, but it should come back if that
happened with touchscreen action as usual.
/sys/class/backlight/pcf50633-bl/actual_brightness
and
/sys/class/backlight/pcf50633-bl/brightness
seem to agree after resume when reportedly they didn't before.
Signed-off-by: Andy Green <andy at openmoko.com>
commit e1673170182af199be7c6a2a346d8bad7e4dc532
Author: Andy Green <andy at openmoko.com>
Date: Tue Jul 15 09:04:00 2008 +0100
fix-glamo-suspend-resume-dram-and-engines.patch
Two issues... we never took care to take down engines in suspend
and bring them back in resume. This was part of the display
corruption that could be seen briefly on resume. The other issue
that made the "noise" corruption was bad ordering of resume steps.
This patch simplifies (removing needless re-init) resume actions
and makes explicit the suspend and resume steps. It also adds
code to track which engines are up and push them down in suspend
and bring them back in resume.
The result is no more corruption of display buffer in suspend, it
comes back completely clean.
Signed-off-by: Andy Green <andy at openmoko.com>
More information about the commitlog
mailing list