kernel: smp: Improve CPU timeout code for CPU online handling
Revert "use lzo compression"

This reverts commit 10394c41ea0a4beca70d1345b2d9ff3bf2285de3.
Revert "many config changes"

This reverts commit dcb53e194bbe28982a1ae9518e9229830c5ba332.
omap: cpu: smp: try fixing scheduling while atomic

<3>[    0.143218,0] BUG: scheduling while atomic: swapper/1/0x00000002
<5>[    0.143218,0] Modules linked in:
<5>[    0.143218,0] [<c005d4b4>] (unwind_backtrace+0x0/0xfc) from [<c06915d0>] (__schedule+0x830/0x8f8)
<5>[    0.143280,0] [<c06915d0>] (__schedule+0x830/0x8f8) from [<c0691c58>] (schedule_timeout+0x174/0x304)
<5>[    0.143280,0] [<c0691c58>] (schedule_timeout+0x174/0x304) from [<c0690c58>] (wait_for_common+0xc0/0x164)
<5>[    0.143310,0] [<c0690c58>] (wait_for_common+0xc0/0x164) from [<c068d5c8>] (__cpu_up+0x124/0x234)
<5>[    0.143310,0] [<c068d5c8>] (__cpu_up+0x124/0x234) from [<c068e494>] (_cpu_up+0xa8/0x128)
<5>[    0.143341,0] [<c068e494>] (_cpu_up+0xa8/0x128) from [<c068e56c>] (cpu_up+0x58/0x70)
<5>[    0.143371,0] [<c068e56c>] (cpu_up+0x58/0x70) from [<c0023944>] (smp_init+0x68/0xc4)
<5>[    0.143371,0] [<c0023944>] (smp_init+0x68/0xc4) from [<c000834c>] (kernel_init+0x68/0x134)
<5>[    0.143402,0] [<c000834c>] (kernel_init+0x68/0x134) from [<c0058118>] (kernel_thread_exit+0x0/0x8)
<5>[    0.143432,1] CPU1: Booted secondary processor§
omap: cpu: smp: fix preempt leak in the cpuidle path invoked from
cpu-hotplug
log:
BUG: scheduling while atomic: swapper/0/0x00000002
<d>Modules linked in:
Backtrace:
[<c0024f90>] (dump_backtrace+0x0/0x110) from [<c01762c4>] (dump_stack+0x18/0x1c)
 r7:c0218cc4 r6:c0341f00 r5:c7836000 r4:00000000
[<c01762ac>] (dump_stack+0x0/0x1c) from [<c003d94c>] (__schedule_bug+0x60/0x70)
[<c003d8ec>] (__schedule_bug+0x0/0x70) from [<c0176914>] (schedule+0x98/0x7b8)
 r5:c7836000 r4:c7836000
[<c017687c>] (schedule+0x0/0x7b8) from [<c00228c4>] (cpu_idle+0xb4/0xd4)
# [<c0022810>] (cpu_idle+0x0/0xd4) from [<c01744e8>] (secondary_start_kernel+0xe0/0xf0)
 r5:c7836000 r4:c020a220
[<c0174408>] (secondary_start_kernel+0x0/0xf0) from [<c0031150>] (set_cpu_power_state+0x40/0x44)
 r7:c0218cc4 r6:00000001 r5:00000001 r4:c7836000
GPIO: OMAP: Fix the sequence to clear the IRQ status

GPIO: OMAP: Fix the sequence to clear the IRQ status

The recommended way to clear the GPIO IRQ status is to:

- Enable the IRQ
- clear the status

If this above sequence is not followed, i.e., if the status
is cleared after disabling the IRQ then sWAKEUP will not be
cleared and gates the module transition.

Change-Id: I8bd1b820ac8be70530cd6430f26ce541bfd3f9d9
Signed-off-by: Huzefa Kankroliwala <huzefank@ti.com>
Signed-off-by: Girish S G <girishsg@ti.com>
Signed-off-by: Andrii Anisov <andrii.anisov@ti.com>