<div>Hi</div>
<div> </div>
<div>I am getting the following exception while executing clk_enable() function present in </div>
<div>arch/arm/plat-mxc/clock.c file.</div>
<div> </div>
<div>The exception message is given below.</div>
<div>=============================</div>
<div>Uncompressing Linux.................................................................................................................................... done, bo.<br><5>Linux version 2.6.31-rc7-alp_nl-kzm-arm11-gb70a2e1-dirty (gcc version 4.3.3 #78 PREEMPT Sat Dec 26 17:44:29 9<br>
CPU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00c5387f<br>CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache<br>Machine: KMC KZM-ARM11-01<br>Memory policy: ECC disabled, Data cache writeback<br>
<7>On node 0 totalpages: 32768<br><7>free_area_init_node: node 0, pgdat c040a300, node_mem_map c042a000<br><7> Normal zone: 256 pages used for memmap<br><7> Normal zone: 0 pages reserved<br><7> Normal zone: 32512 pages, LIFO batch:7</div>
<div>Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512<br><5>Kernel command line: console=ttymxc0 ip=on mem=128M<br>PID hash table entries: 512 (order: 9, 2048 bytes)<br><6>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<br>
<6>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<br><6>Memory: 128MB = 128MB total<br><5>Memory: 125524KB available (3752K code, 259K data, 108K init, 0K highmem)<br><6>SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1<br>
<6>NR_IRQS:176<br><6>MXC GPIO hardware<br><6>MXC IRQ initialized<br>mx31_clocks_init entry function *************** <br><6>Clock input source is 26000000<br>usage count 0 ,enable c002d954,clk shitf 20 <br>
usage count 0 ,enable c002d954,clk shitf 4 <br>usage count 0 ,enable c002d954,clk shitf 8 <br>usage count 0 ,enable c002d954,clk shitf 10 <br>usage count 0 ,enable c002df48,clk shitf 0 <br>usage count 3 ,enable c002d954,clk shitf 0 <br>
<6>Calibrating delay loop... <c>530.84 BogoMIPS (lpj=2654208)<br>Mount-cache hash table entries: 512<br><6>CPU: Testing write buffer coherency: ok<br><6>NET: Registered protocol family 16<br><6>L2X0 cache controller enabled<br>
clk_enable starts here --------> <br>usage count 0 ,enable c002d954,clk shitf 14 <br><1>Unhandled fault: alignment exception (0x001) at 0x0000000b<br>Internal error: : 1 [#1] PREEMPT<br><d>Modules linked in:<br>
CPU: 0 Not tainted (2.6.31-rc7-alp_nl-kzm-arm11-gb70a2e1-dirty #78)</div>
<div>PC is at die+0x84/0x174<br>LR is at __show_regs+0x1cc/0x220<br>pc : [<c00277d8>] lr : [<c0024e38>] psr: 20000193<br>sp : c77f4518 ip : c77f4418 fp : c040ab00<br>r10: 00000000 r9 : 60000193 r8 : 00000001<br>
r7 : c77f45e0 r6 : ffffffff r5 : c77f4000 r4 : 0000000b<br>r3 : c77f4268 r2 : c77f4000 r1 : 000001eb r0 : c0387d86<br>Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user<br>Control: 00c5387f Table: 80004000 DAC: 00000017<br>
<1>Unhandled fault: alignment exception (0x001) at 0x000000fb<br>Internal error: : 1 [#13] PREEMPT<br><d>Modules linked in:<br>CPU: 0 Not tainted (2.6.31-rc7-alp_nl-kzm-arm11-gb70a2e1-dirty #78)<br>PC is at die+0x84/0x174<br>
LR is at __show_regs+0x1cc/0x220<br>pc : [<c00277d8>] lr : [<c0024e38>] psr: 20000193<br>sp : c77f4408 ip : c77f4308 fp : c040ab00<br>r10: 00000000 r9 : 60000193 r8 : 00000001<br>r7 : c77f44d0 r6 : ffffffff r5 : c77f4000 r4 : 0000000c<br>
r3 : c77f4268 r2 : c77f4000 r1 : 000001eb r0 : c0387d86<br>Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user<br>Control: 00c5387f Table: 80004000 DAC: 00000017<br><1>Unhandled fault: alignment exception (0x001) at 0x000000fb<br>
Internal error: : 1 [#14] PREEMPT<br><d>Modules linked in:<br>CPU: 0 Not tainted (2.6.31-rc7-alp_nl-kzm-arm11-gb70a2e1-dirty #78)<br>PC is at die+0x84/0x174<br>LR is at __show_regs+0x1cc/0x220<br>pc : [<c00277d8>] lr : [<c0024e38>] psr: 20000193<br>
sp : c77f42f8 ip : c77f41f8 fp : c040ab00<br>r10: 00000000 r9 : 60000193 r8 : 00000001<br>r7 : c77f43c0 r6 : ffffffff r5 : c77f4000 r4 : 0000000d<br>r3 : c77f4268 r2 : c77f4000 r1 : 000001eb r0 : c0387d86<br>Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user<br>
Control: 00c5387f Table: 80004000 DAC: 00000017<br><1>Unhandled fault: alignment exception (0x001) at 0x000000fb<br>Internal error: : 1 [#15] PREEMPT: 0 Not tainted (2.6.31-rc7-alp_nl-kzm-arm11-gb70a2e1-dirty #78)</div>
<div> </div>
<div> </div>
<div>Any tip to fix the alignment exception.</div>
<div> </div>
<div>Thanks for allowing me to send mail.</div>
<div> </div>
<div>Regards</div>
<div>koteswararao.</div>