Skip to content
Branch: master
Commits on Jun 8, 2014
  1. Merge the UHID driver, backported from Linux 3.8.

    kerberizer authored and Dazzozo committed Aug 13, 2013
    The userspace HID driver is needed by the JB Bluetooth stack in order to process input from Bluetooth keyboards.
    Change-Id: I48ae89323420b06d9d519697c79df33931ebef31
    Credit: This is almost an identical copy of the @plaguedbypenguins work for @KonstaT fork of zte-kernel-msm7x27.
Commits on Nov 24, 2013
Commits on Nov 9, 2013
  1. msm_fb: ifdef the dancing CWM fix

    Dazzozo committed Nov 9, 2013
    u8815 has never needed this and it ironically causes a dancing charge mode.
Commits on Oct 27, 2013
  1. mmc: disable a Hynix clock "hack" on u8815

    Dazzozo committed Oct 27, 2013
    This seems to be bricking devices with a certain Hynix mmc on u8815. :(
    These devices die naturally anyway with identical symptoms, and all
    replacements seem to be Samsung mmcs... but 3.4 definitely seems to be
    accelerating the deaths. As getting a guinea pig is hard/impossible,
    we just have to assume this is the cause for now. It's the only stand-out
    Apologies to anyone who lost a device because of this, but there was really
    no way to know in advance. The Hynix model seemed rare enough _before_...
Commits on Oct 19, 2013
  1. ext4: revert Huawei changes to ialloc

    Dazzozo committed Oct 19, 2013
    This is causing disasters in 4.3 and especially while SELinux
    is enabled. System files are getting deleted and data is getting
    remounted as read only. It seems to be the same files getting
    deleted every time, common examples are:
    - /system/app/Phonesky.apk (!)
    - /system/media/ (uses AOSP animation instead)
    - /system/media/video/
    - /system/wifi/ (!)
    This is also present in the 3.0.8 kernel, but I'm not really
    sure why it was changed in the first place - system remounting
    seems to be working fine for me...
    Not sure if recoveries will need to be rebuilt with this.
Commits on Oct 16, 2013
  1. hw_backlight: restore code for u8815

    Dazzozo committed Oct 16, 2013
    Necessary to fix an occasional ~24 second screen on delay on u8815.
    I assume this is somewhere around the amount of time it takes for
    Android to dim the screen before falling asleep.
  2. huawei_battery: allow disabling BATT_ID and RESISTANCE_ID RPC

    Dazzozo committed Oct 15, 2013
    u8815 does not support this and it's very spammy.
Commits on Oct 13, 2013
  1. hardware_self_adapt: squashed commit to add framebuffer hack for u8815

    Dazzozo committed Feb 19, 2013
    Enables the use of this kernel and the 2030 RIL (with 109808 on the Gingerbread bootloader.
    Enable for u8815 (which it actually affects) and leave disabled for u8833.
Commits on Oct 12, 2013
  1. u8833: actually default row

    Dazzozo committed Oct 12, 2013
  2. block: row: Aggregate row_queue parameters to one structure

    Tatyana Brokhman authored and Dazzozo committed Jan 12, 2013
    Each ROW queues has several parameters which default values are defined
    in separate arrays. This patch aggregates all default values into one
    The values in question are:
     - is idling enabled for the queue
     - queue quantum
     - can the queue notify on urgent request
    Change-Id: I3821b0a042542295069b340406a16b1000873ec6
    Signed-off-by: Tatyana Brokhman <>
  3. block: row: fix sysfs functions - idle_time conversion

    Tatyana Brokhman authored and Dazzozo committed Jan 12, 2013
    idle_time was updated to be stored in msec instead of jiffies.
    So there is no need to convert the value when reading from user or
    displaying the value to him.
    Change-Id: I58e074b204e90a90536d32199ac668112966e9cf
    Signed-off-by: Tatyana Brokhman <>
  4. block: row: Insert dispatch_quantum into struct row_queue

    Tatyana Brokhman authored and Dazzozo committed Jan 12, 2013
    There is really no point in keeping the dispatch quantum
    of a queue outside of it. By inserting it to the row_queue
    structure we spare extra level in accessing it.
    Change-Id: Ic77571818b643e71f9aafbb2ca93d0a92158b199
    Signed-off-by: Tatyana Brokhman <>
  5. block: row: Add some debug information on ROW queues

    Tatyana Brokhman authored and Dazzozo committed Jan 13, 2013
    1. Add a counter for number of requests on queue.
    2. Add function to print queues status (number requests
       currently on queue and number of already dispatched requests
       in current dispatch cycle).
    Change-Id: I1e98b9ca33853e6e6a8ddc53240f6cd6981e6024
    Signed-off-by: Tatyana Brokhman <>
  6. row: Add support for urgent request handling

    Tatyana Brokhman authored and Dazzozo committed Dec 20, 2012
    This patch adds support for handling urgent requests.
    ROW queue can be marked as "urgent" so if it was un-served in last
    dispatch cycle and a request was added to it - it will trigger
    issuing an urgent-request-notification to the block device driver.
    The block device driver may choose at stop the transmission of current
    ongoing request to handle the urgent one. Foe example: long WRITE may
    be stopped to handle an urgent READ. This decreases READ latency.
    Change-Id: I84954c13f5e3b1b5caeadc9fe1f9aa21208cb35e
    Signed-off-by: Tatyana Brokhman <>
  7. block:row: fix idling mechanism in ROW

    Tatyana Brokhman authored and Dazzozo committed Dec 6, 2012
    This patch addresses the following issues found in the ROW idling
    1. Fix the delay passed to queue_delayed_work (pass actual delay
       and not the time when to start the work)
    2. Change the idle time and the idling-trigger frequency to be
       HZ dependent (instead of using msec_to_jiffies())
    3. Destroy idle_workqueue() in queue_exit
    Change-Id: If86513ad6b4be44fb7a860f29bd2127197d8d5bf
    Signed-off-by: Tatyana Brokhman <>
  8. row: Adding support for reinsert already dispatched req

    Tatyana Brokhman authored and Dazzozo committed Oct 30, 2012
    Add support for reinserting already dispatched request back to the
    schedulers internal data structures.
    The request will be reinserted back to the queue (head) it was
    dispatched from as if it was never dispatched.
    Change-Id: I70954df300774409c25b5821465fb3aa33d8feb5
    Signed-off-by: Tatyana Brokhman <>
  9. block: ROW: Fix forced dispatch

    Tatyana Brokhman authored and Dazzozo committed Oct 15, 2012
    This patch fixes forced dispatch in the ROW scheduling algorithm.
    When the dispatch function is called with the forced flag on, we
    can't delay the dispatch of the requests that are in scheduler queues.
    Thus, when dispatch is called with forced turned on, we need to cancel
    idling, or not to idle at all.
    Change-Id: I3aa0da33ad7b59c0731c696f1392b48525b52ddc
    Signed-off-by: Tatyana Brokhman <>
  10. block: ROW: Correct minimum values of ROW tunable parameters

    Tatyana Brokhman authored and Dazzozo committed Oct 15, 2012
    The ROW scheduling algorithm exposes several tunable parameters.
    This patch updates the minimum allowed values for those parameters.
    Change-Id: I5ec19d54b694e2e83ad5376bd99cc91f084967f5
    Signed-off-by: Tatyana Brokhman <>
  11. block: Adding ROW scheduling algorithm

    Tatyana Brokhman authored and Dazzozo committed Sep 20, 2012
    This patch adds the implementation of a new scheduling algorithm - ROW.
    The policy of this algorithm is to prioritize READ requests over WRITE
    as much as possible without starving the WRITE requests.
    Change-Id: I4ed52ea21d43b0e7c0769b2599779a3d3869c519
    Signed-off-by: Tatyana Brokhman <>
  12. block: Add API for urgent request handling

    Tatyana Brokhman authored and Dazzozo committed Dec 4, 2012
    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 <>
  13. block: Add support for reinsert a dispatched req

    Tatyana Brokhman authored and Dazzozo committed Dec 4, 2012
    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 <>
  14. hardware_self_adapt: u8815 has BT_BCM4330

    Dazzozo committed Oct 12, 2013
    This doesn't seem to actually make a difference... Bluetooth works without this, but whatever.
  15. u8815: enable flash

    Dazzozo committed Oct 12, 2013
Commits on Oct 11, 2013
  1. Add intensity (voltage) control to the vibrator driver

    Dazzozo committed Aug 18, 2013
    This sucks but idc I want to try out CM's hardware tunables
Commits on Oct 9, 2013
  1. u8833: disable cfg80211

    Dazzozo committed Oct 9, 2013
    This is built out-of-tree.
Commits on Oct 8, 2013
  1. input: add ATE

    Dazzozo committed Oct 8, 2013
    ...somehow this went missing, and it's the only thing
    that went missing from the merge. w/e
You can’t perform that action at this time.