Revert "Revert "lib: Update RWSEM to Linux 3.10""

This reverts commit d512a5c14a2a1c966e1f7e86cf356ccc13a55557.
msm: display: Add DSI clock control for MDP GDHS power collapse

Enable DSI clock and regulator before enabling/disabling power collapse
for MDP GDHS.

(cherry picked from commit ad3200279e62eff01fd1bb9136cc9c0d11e10380)

(cherry picked from commit 58c5992c710df379e26bb210e00c74da501db9d2)

Change-Id: I76b91260c61abf214e688c0dea6989ed2cfa3801
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/board-8064-regulator.c

Signed-off-by: Dhivya Subramanian <dthiru@codeaurora.org>
mako: Add DSI clock control for MDP GDHS power collapse

Change-Id: I8dacd22467e53f472b65787749d632eb8de2bb89
Revert "dynamic fsync: add kernel panic notifier to force flush outstanding data"

This reverts commit f8c48d6d70b17deaa9cb59e77732e74c5d78ab94.
Revert "dynamic fsync: add reboot notifier to force flush outstanding data"

This reverts commit 3b66ed1dfe9212b69dc31565cce748088a6100e5.
Revert "fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup"

This reverts commit f4bdf02a2c98fddd8d5b3a1cf9ffdb5f01e7d571.
Revert "dynamic fsync: don't disable fdatasync()"

This reverts commit 8ab3f097bdbd26b268f6706306d518f079214a51.
Revert "dynamic fsync: favor true case since most will be using this feature"

This reverts commit 3a90e57e1d550f04e2b989171a395156325d22c9.
Revert "dynamic filesync: add some cache optimizations"

This reverts commit b5160c57894fe2a6f2424b3ef6e9c633ba3206f1.
Revert "fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops"

This reverts commit 123f1d5173968b01fb201529e84878a365501b6d.
Revert "fs/dyn_sync_cntrl: dynamic sync control"

This reverts commit 3538669ff7d01421c43b982d92a92142be03cada.

Conflicts:
	fs/Kconfig
fs/dyn_sync_cntrl: dynamic sync control

The dynamic sync control interface uses Android kernel's unique early
suspend / lat resume interface.

While screen is on, file sync is disabled
when screen is off, a file sync is called to flush all outstanding writes
and restore file sync operation as normal.

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	fs/Kconfig
fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup

Signed-off-by: faux123 <reioux@gmail.com>
dynamic filesync: add some cache optimizations

and clean up file format and typos

bump version to 1.1

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	fs/dyn_sync_cntrl.c
	fs/sync.c
dynamic fsync: favor true case since most will be using this feature

Signed-off-by: Paul Reioux <reioux@gmail.com>
dynamic fsync: add reboot notifier to force flush outstanding data

this should further prevent data corruption from kernel panics and
forced reboots

bump version to 1.2

Signed-off-by: Paul Reioux <reioux@gmail.com>
dynamic fsync: add kernel panic notifier to force flush outstanding data

more paranoia safety checks

Signed-off-by: Paul Reioux <reioux@gmail.com>
mm: frontswap: remove casting from function calls through ops structure

Removes unneeded casts.

Reviewed-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Conflicts:
	mm/frontswap.c
ARM: fault: assume no context when IRQs are disabled during data abort.

Bail out early if IRQs are disabled in do_page_fault or else
  [14415.157266] BUG: sleeping function called from invalid context at arch/arm/mm/fault.c:301

Russell King's idea from
  http://comments.gmane.org/gmane.linux.ports.arm.omap/59256

Signed-off-by: JP Abgrall <jpa@google.com>
f_fs: ffs_func_free: cleanup requests allocated by autoconfig

functionfs was leaking request objects created by autoconfig.

Bug: 8659094

Change-Id: I641326cb5cb26e0a2ffa082cd2be2c21c66c38e5
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Benoit Goby <benoit@android.com>