Commit graph

428662 commits

Author SHA1 Message Date
Linux Build Service Account 538dddac78 Merge "cpuidle: lpm-levels: Disable dynamic routing of interrupts" 2015-02-12 23:52:44 -08:00
Linux Build Service Account 7d6cf331bc Merge "ARM: dts: msm: Lower snoc bus vote to 80Mhz for MDM9x40" 2015-02-12 23:52:43 -08:00
Linux Build Service Account 7440db776c Merge "platform: qpnp-power-on: Store device restart reason in PMIC register" 2015-02-12 23:52:40 -08:00
Linux Build Service Account 27db3c35ff Merge "soc: qcom: glink: Fix race condition while sending open_ack" 2015-02-12 23:52:38 -08:00
Linux Build Service Account b547de47af Merge "usb: u_bam_data: Don't start xfers on resume if disconnect happened" 2015-02-12 23:52:36 -08:00
Linux Build Service Account fe986d03bf Merge "msm: kgsl: Replace jiffy sampling with usec" 2015-02-12 23:52:35 -08:00
Linux Build Service Account 1db6ed4496 Merge "hrtimer: Prevent stale expiry time in hrtimer_interrupt()" 2015-02-12 23:52:32 -08:00
Linux Build Service Account 39dee0660e Merge "ARM: dts: msm: Add case_therm sensor to thermal sensor info node" 2015-02-12 23:52:31 -08:00
Linux Build Service Account 8411f88bb0 Merge "Revert "ARM: dts: msm: disable partial update for msm8992"" 2015-02-12 23:52:29 -08:00
Linux Build Service Account bf95ec6b25 Merge "msm: mdss: enable partial update with ping-pong split" 2015-02-12 23:52:28 -08:00
Linux Build Service Account 29eed682e0 Merge "ARM: dts: msm: Set 320MHz as minimum clock for msm8992" 2015-02-12 19:20:22 -08:00
Linux Build Service Account d8189d9b5e Merge "msm: Camera: Update the burst frame count" 2015-02-12 19:20:20 -08:00
Linux Build Service Account 0a3965c3fa Merge "msm: camera: isp: Add camif subsample interface" 2015-02-12 19:20:19 -08:00
Linux Build Service Account 5314fc13e1 Merge "ASoC: wcd9330: Optimize delay after micbias enable" 2015-02-12 19:20:18 -08:00
Linux Build Service Account 9f7759acee Merge "soc: qcom: ipc_router_glink_xprt: Re-use the receive intent" 2015-02-12 15:09:24 -08:00
Linux Build Service Account 03ea030ff3 Merge "soc: qcom: ipc_router_glink_xprt: Register edge-specific link_state_cb" 2015-02-12 15:09:22 -08:00
Linux Build Service Account e216f86637 Merge "usb: dwc3: Increase EP0 bounce buffer size to 2KB" 2015-02-12 15:09:21 -08:00
Linux Build Service Account 6f50075e96 Merge "USB: gadget: u_ether: unalign IP header to make DMA aligned" 2015-02-12 15:09:18 -08:00
Linux Build Service Account b24d68495e Merge "soc: qcom: ipc_router_glink_xprt: Allow G-Link to migrate channel" 2015-02-12 15:09:17 -08:00
Linux Build Service Account 39669c3d76 Merge "soc: qcom: glink_smd_xprt: Increase the maximum number of intents" 2015-02-12 15:09:15 -08:00
Linux Build Service Account cda768b966 Merge "Revert "msm: camera: isp: Check bounds for ISP command parameters"" 2015-02-12 15:09:13 -08:00
Linux Build Service Account da51926dd8 Merge "soc: qcom: glink_smd_xprt: Move remote channel open event" 2015-02-12 09:57:58 -08:00
Linux Build Service Account 84e3e7e9dd Merge "input: sensors: fix akm09911 may not work after reset" 2015-02-12 09:57:57 -08:00
Linux Build Service Account 2b56025185 Merge "ARM: dts: msm: CCI reset workaround" 2015-02-12 09:57:55 -08:00
Linux Build Service Account 53c080a271 Merge "gadget: Add suport for usb runtime pm APIs" 2015-02-12 09:57:54 -08:00
Linux Build Service Account 0e834453f6 Merge "msm: lpm-levels: Add ftrace events to track latency/sleep time" 2015-02-12 09:57:53 -08:00
Linux Build Service Account de0dde1495 Merge "ARM: dts: msm: specify quot-offset-adjustment for APC regulators on msm8992" 2015-02-12 09:57:49 -08:00
Linux Build Service Account d4e4d0756f Merge "ARM: dts: msm: remove open loop adjustment for APC0 SVS2 corner on msm8992" 2015-02-12 09:57:49 -08:00
Linux Build Service Account 192a182e81 Merge "ARM: dts: msm: update initial voltage for APC0 SVS2 corner on msm8992" 2015-02-12 09:57:48 -08:00
Linux Build Service Account 748d0da611 Merge "ARM: dts: msm: update the interpolation for APC CPR regulators on msm8992" 2015-02-12 09:57:47 -08:00
Linux Build Service Account f29d57e855 Merge "defconfig: fsm9010: Enable I2C driver" 2015-02-12 09:57:43 -08:00
Linux Build Service Account ff7d90d42a Merge "ARM: dts: msm: Add i2c device in fsm9010" 2015-02-12 09:57:42 -08:00
Linux Build Service Account bb20a38777 Merge "defconfig: fsm9010: Enable PP2S notification" 2015-02-12 09:57:41 -08:00
Devdutt Patnaik a35342d5e1 ARM: dts: msm: Lower snoc bus vote to 80Mhz for MDM9x40
Lower snoc bus vote from USB to 80Mhz to allow power savings.

Change-Id: Ic68b02ddf70402fee77f7340c58d81d0ae5fb1ed
Signed-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>
2015-02-12 09:56:18 -08:00
Karthikeyan Ramasubramanian a4917f2480 soc: qcom: glink_smd_xprt: Increase the maximum number of intents
Increase the maximum number of intents supported in G-Link SMD XPRT so
that the clients can queue more receive intents.

Change-Id: I0e2287a3938d3aa59de1c4566922dcbcaf1cdc9d
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2015-02-12 09:19:19 -08:00
Karthikeyan Ramasubramanian 488b734967 soc: qcom: ipc_router_glink_xprt: Allow G-Link to migrate channel
Allow G-Link to migrate IPC Router channel to a better available transport
by setting the appropriate flag in the channel open configuration.

Change-Id: I4072cd87d24516bcca5b1010a5ebac6baf07bf33
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2015-02-12 09:19:18 -08:00
Karthikeyan Ramasubramanian b8be46c03c soc: qcom: ipc_router_glink_xprt: Re-use the receive intent
If the currently consumed receive intent size is less than the default
receive intent size, then re-use the receive intent.

Change-Id: Ib1b9fd18c132f3dc86732c338077d121475d47c7
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2015-02-12 09:19:17 -08:00
Karthikeyan Ramasubramanian 520e5d655c soc: qcom: ipc_router_glink_xprt: Register edge-specific link_state_cb
Every time IPC Router registers for link state callback, it registers for
all edges. This causes IPC Router to receive a lot of unnecessary
notifications.

Reduce the number of notification received by registering the link state
callback for appropriate edges.

Change-Id: Ic8819c95695f8ce7eeaa08fda2c04e7352a7c974
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2015-02-12 09:19:15 -08:00
Linux Build Service Account a9338e78e6 Merge "ARM: topology: remove hwid/MPIDR dependency from cpu_capacity" 2015-02-12 04:40:27 -08:00
Linux Build Service Account d3fa6185d9 Merge "usb: phy-msm: Add support for external USB ID detection" 2015-02-12 04:40:25 -08:00
Linux Build Service Account a67ec7ca78 Merge "ARM: dts: msm: Enable Thermistor Support for msm8909 SKUC" 2015-02-12 04:40:23 -08:00
Linux Build Service Account 853a3d7aa4 Merge "power: bcl_peripheral: Recalibrate BCL after FG switch current sensing" 2015-02-12 04:40:19 -08:00
Linux Build Service Account 7ed957c59a Merge "msm: kgsl: Fix the busy counter initialization sequence" 2015-02-12 04:40:16 -08:00
Thomas Gleixner 6e6ebc476e hrtimer: Prevent stale expiry time in hrtimer_interrupt()
hrtimer_interrupt() has the following subtle issue:

hrtimer_interrupt()
  lock(cpu_base);
  expires_next = KTIME_MAX;

  expire_timers(CLOCK_MONOTONIC);
  expires = get_next_timer(CLOCK_MONOTONIC);
  if (expires < expires_next)
    expires_next = expires;
  expire_timers(CLOCK_REALTIME);
    unlock(cpu_base);
    wakeup()
    hrtimer_start(CLOCK_MONOTONIC, newtimer);
    lock(cpu_base();
  expires = get_next_timer(CLOCK_REALTIME);
  if (expires < expires_next)
    expires_next = expires;
So because we already evaluated the next expiring timer of
CLOCK_MONOTONIC we ignore that the expiry time of newtimer might be
earlier than the overall next expiry time in hrtimer_interrupt().

To solve this, remove the caching of the next expiry value from
hrtimer_interrupt() and reevaluate all active clock bases for the next
expiry value. To avoid another code duplication, create a shared
evaluation function and use it for hrtimer_get_next_event(),
hrtimer_force_reprogram() and hrtimer_interrupt().

There is another subtlety in this mechanism:

While hrtimer_interrupt() is running, we want to avoid to touch the
hardware device because we will reprogram it anyway at the end of
hrtimer_interrupt(). This works nicely for hrtimers which get rearmed
via the HRTIMER_RESTART mechanism, because we drop out when the
callback on that CPU is running. But that fails, if a new timer gets
enqueued like in the example above.

This has another implication: While hrtimer_interrupt() is running we
refuse remote enqueueing of timers - see hrtimer_interrupt() and
hrtimer_check_target().

hrtimer_interrupt() tries to prevent this by setting cpu_base->expires
to KTIME_MAX, but that fails if a new timer gets queued.

Prevent both the hardware access and the remote enqueue
explicitely. We can loosen the restriction on the remote enqueue now
due to reevaluation of the next expiry value, but that needs a
seperate patch.

Folded in a fix from Vignesh Radhakrishnan.

Change-Id: I803322cc29a294eab73fa2046e9f3a2e5f66755e
Reported-and-tested-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Based-on-patch-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: vigneshr@codeaurora.org
Cc: john.stultz@linaro.org
Cc: viresh.kumar@linaro.org
Cc: fweisbec@gmail.com
Cc: cl@linux.com
Cc: stuart.w.hayes@gmail.com
Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1501202049190.5526@nanos
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Patch-mainline : linux-arm-kernel @ 01/23/15, 03:21
[vigneshr@codeaurora.org : Changes to the file kernel/time/hrtimer.c
is made to the file kernel/hrtimer.c]
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Vignesh Radhakrishnan <vigneshr@codeaurora.org>
2015-02-12 13:59:25 +05:30
Atish Kumar Patra f0c9ad58c7 soc: qcom: glink: Fix race condition while sending open_ack
Currently open_ack is sent after client is notified about
GLINK_CONNECTED event. This leads to a race condition where
client may start sending packet while remote side might not
have processed the open_ack. Since the channel is not fully
opened on the remote side, it does not grant the intent request.

Fix the race condition by sending the open_ack before sending
a GLINK_CONNECTED event to clients.

Change-Id: Ie32480f066fa25e13b5af14e8f22367f1c182461
Signed-off-by: Atish Kumar Patra <apatra@codeaurora.org>
2015-02-12 00:40:19 -07:00
Linux Build Service Account 0c8062c8d6 Merge "msm: camera: sensor: Replace constant to MAX_CID" 2015-02-11 21:51:12 -08:00
Venu Yeshala bbdcd18575 Revert "msm: camera: isp: Check bounds for ISP command parameters"
This reverts commit 09c3b0c0ec since
it causes green screen issue in camera.

Change-Id: If3f93435068f883ab3c835181ae091a283d9f6e7
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
2015-02-12 09:43:40 +05:30
Jack Pham 3157358af1 usb: dwc3: Increase EP0 bounce buffer size to 2KB
There is a known limitation in the DWC3 controller that EP0
control transfers must an even multiple of wMaxPacketSize (64 bytes
in high speed, 512 bytes in super speed). In the current handling
of an OUT data stage, if the length of the request buffer is not
aligned, a pre-reserved bounce buffer is used for that transfer
and copied back to the function when completed. The size of this
buffer is #defined as 512 bytes, and a WARN_ON is issued if the
request is greater than this since that indicates a buffer overrun
condition. A simple way to address this is to bump up this size
to 2048 to handle occassional large control transfers.

Change-Id: I4ea0ae0496bc39f14a384b50cf984b9456b0e3ec
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2015-02-11 19:19:41 -08:00
Linux Build Service Account e89fb8090f Merge "ASoC: msm8x16-wcd: add boost option to use it flexible way" 2015-02-11 16:00:06 -08:00
Venkatesh Yadav Abbarapu b9ae811142 defconfig: fsm9010: Enable I2C driver
I2C driver is required in all fsm9010 targets.

Change-Id: I36a008ab812dd628ea6d8312b36ddd8a103681cc
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
2015-02-11 17:16:15 -05:00