Add ROW I/O Scheduler by Qualcomm.

Change-Id: I937bfa6d1d7c3911fa5193e4849310a6a04bd0c2
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
block: Add support for reinsert a dispatched req

Add support for reinserting a dispatched request back to the
scheduler's internal data structures.
This capability is used by the device driver when it chooses to
interrupt the current request transmission and execute another (more
urgent) pending request. For example: interrupting long write in order
to handle pending read. The device driver re-inserts the
remaining write request back to the scheduler, to be rescheduled
for transmission later on.

Add API for verifying whether the current scheduler
supports reinserting requests mechanism. If reinsert mechanism isn't
supported by the scheduler, this code path will never be activated.

Change-Id: I5c982a66b651ebf544aae60063ac8a340d79e67f
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
block: Add API for urgent request handling

This patch add support in block & elevator layers for handling
urgent requests. The decision if a request is urgent or not is taken
by the scheduler. Urgent request notification is passed to the underlying
block device driver (eMMC for example). Block device driver may decide to
interrupt the currently running low priority request to serve the new
urgent request. By doing so READ latency is greatly reduced in read&write
collision scenarios.

Note that if the current scheduler doesn't implement the urgent request
mechanism, this code path is never activated.

Change-Id: I8aa74b9b45c0d3a2221bd4e82ea76eb4103e7cfa
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
block: row: squash commits from codeaurora.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
block: fixes required to make the kernel compile with ROW.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cardhu: set default i/o scheduler to ROW

* Performance is much better, and less laggy. ROW is designed to
  give read's priority over writes, without breaking writes

  The ROW I/O scheduler gives priority to READ requests over the WRITE
  requests when dispatching, without starving WRITE requests.
  Requests are kept in priority queues. Dispatching is done in a RR
  manner when the dispatch quantum for each queue is calculated
  according to queue priority. Most suitable for mobile devices.

Change-Id: I9d7c404e07ac691559e8d30e68fdfd11275f2fd7
cpu: default to dual core (min online cpus = 2) as of reports on francos mako thread
cardhu: drivers: misc: add bcm4330_rfkill driver

* add and build bcm4330_rfkill driver
* enable BCM4330_RFKILL in defconfig
* enable bluesleep on the cardhu board
* Disable RFKILL_GPIO in defconfig

Patchset 2: fix formatting in board-cardhu.c
Patchset 3: fix formatting in bcm4330_rfkill.c

Change-Id: Id724321fab77c919e356049ba66d2dd0d12bb059
cardhu: defconfig: cleanup

* Added IP_MULTICAST
* Converted modules to built-in: cfg80211, bcm4330, usb_net_raw_ip,
  usb_serial_baseband
* Removed unused bcm4329 entries
* Removed unused bcm4334 entry

Change-Id: I8f113381fc09e2461a96c08375e8da8b08a5882c
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_kernel_asus_tf700t

Conflicts:
	block/row-iosched.c