[G1 Android Development] farmatito:
There is something broken in this patch so overclocking effect is dubious

or at least not achieved in the way stated. In fact by sticking a few

debug statements in the code it is easily demonstrated that the code block:

+ if (hunt_s->a11clk_khz>528000) {
+ a11_div=0;
+ writel(0x20, MSM_CLK_CTL_BASE+0x33C);
+ udelay(50);
+ }

is never executed. In fact with the code modified with debug statements

and attached to the post:

#if PERF_SWITCH_DEBUG
printk(KERN_DEBUG "ORIGINAL a11clk_src_div: %d khz %d\n", readl(MSM_CLK_CTL_BASE+0x33C), hunt_s->a11clk_khz);
#endif
if (hunt_s->a11clk_khz > 528000) {
a11_div = 0;
writel(0x20, MSM_CLK_CTL_BASE+0x33C);
udelay(50);
#if PERF_SWITCH_DEBUG
printk(KERN_DEBUG "CHANGED a11clk_src_div: %d khz %d\n", readl(MSM_CLK_CTL_BASE+0x33C), hunt_s->a11clk_khz);
#endif
}

The "CHANGED ... " kernel debug message was never printed even under

heavy load.

ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
msmfb_start_dma 25.543 ms after vsync request
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
msmfb_start_dma 22.033 ms after vsync request
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
msmfb_start_dma 23.559 ms after vsync request
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
msmfb_start_dma 24.383 ms after vsync request
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
msmfb_start_dma 27.313 ms after vsync request
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000
acpuclock: Switching from ACPU rate 528000000 -> 19200000
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 176000
ORIGINAL a11clk_src_div: 55 khz 19200
acpuclock: Switching from ACPU rate 19200000 -> 528000000
ORIGINAL a11clk_src_div: 55 khz 245760
ORIGINAL a11clk_src_div: 55 khz 352000
ORIGINAL a11clk_src_div: 55 khz 528000

Nonetheless:

/ # cat /sys/devices/system/cpu/cpu0/cpufreq/stats/trans_table
From : To
: 19200 122880 128000 245760 384000 528000 614400
19200: 0 0 0 0 0 0 0
122880: 0 0 0 0 0 0 0
128000: 0 0 0 0 0 0 0
245760: 0 0 0 0 1 0 119
384000: 0 0 0 12 0 96 47
528000: 0 0 0 0 96 0 6
614400: 0 0 0 108 59 5 0

shows some transitions to 614400 but this looks rather like an artifact to me.

To really achieve overclocking this line needs to be changed:

-	if (hunt_s->a11clk_khz > 528000) {
+	if (hunt_s->a11clk_khz == 528000) {

So when asking for 528mhz to phone will be overclocked to 614,40mhz.

Looking at the debug output it seems to me that there is one more problem

as the divisor is not reset to its correct value most of the time. I was not able to implement this as i could not find out which value is correct (seems to be 0x37 ???).

ORIGINAL a11clk_src_div: 20 khz 384000
Disabling PLL 2
PLL 0 disabled
acpuclock: Switching VDD from 7 -> 3
acpuclock: VDD switched
acpuclk_set_rate: ACPU speed change complete
acpuclock: Switching from ACPU rate 384000000 -> 128000000
ORIGINAL a11clk_src_div: 20 khz 128000
acpuclock: Switching from ACPU rate 128000000 -> 384000000
ORIGINAL a11clk_src_div: 20 khz 384000
acpuclock: Switching from ACPU rate 384000000 -> 128000000
ORIGINAL a11clk_src_div: 20 khz 128000
acpuclock: Switching from ACPU rate 128000000 -> 384000000
ORIGINAL a11clk_src_div: 20 khz 384000
Enabling PLL 2
PLL 0 enabled
acpuclock: Switching VDD from 3 -> 7
acpuclock: VDD switched
acpuclock: Switching from ACPU rate 384000000 -> 528000000
ORIGINAL a11clk_src_div: 37 khz 528000
CHANGED a11clk_src_div: 20 khz 528000
Disabling PLL 1
PLL 0 disabled

So this hack needs more work..... :-(