Commit graph

575214 commits

Author SHA1 Message Date
Ben Romberger
dec2bc73ee ASoC: msmcobalt: Enable msmcobalt to use audio notifier
Enable msmcobalt to use the audio notifier framework.
Audio notifier framework connects to the best available
framework for remote subsystem notifications such as
subsystem up or down.

Change-Id: Ib88a71e2fdb2b58fd5f87a65cb7d3253884f2d97
CRs-Fixed: 1054000
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-09-26 14:51:07 -07:00
Ben Romberger
03ef2316fd drivers: soc: Enable APR driver to use audio notifier
Modify APR driver to use audio notifier framework.
Audio notifier framework connects to best available
subsystem for remote notifications.

Change-Id: I783b7df9c7e0253e5dc88bd60e0b5300e26fba56
CRs-Fixed: 1054000
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-09-26 14:50:54 -07:00
Ben Romberger
e38f048fc1 ASoC: msmcobalt: Add Audio Notifier, PDR, and SSR to Kconfig
Enable the audio Notifier, PDR, and SSR drivers
for msmcobalt in the Kconfig.

Change-Id: Ief6e89b003aa1e2b02f33e21e3cb17f8731425ad
CRs-Fixed: 1054000
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-09-26 14:50:43 -07:00
Ben Romberger
bc0560f6fa drivers: soc: Add Audio Notifier, PDR, and SSR drivers
The audio PDR driver is used to control the process
domain restart recovery mechanism. The audio SSR
driver is used to control the Subsystem Restart
recovery mechanism. Both are controlled through the
Audio Notifier driver which determines whether PDR
or SSR is used and provides the core interface to
all audio drivers.

Change-Id: I15325c1385eaa0f0cca2c07130f2b4a997d98e1f
CRs-Fixed: 1054000
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-09-26 14:50:05 -07:00
Ben Romberger
d8d534980f drivers: soc: Add Kconfigs for Audio Notifier, PDR, and SSR
Add separate Kconfigs for the audio SSR, audio PDR,
and audio notifier drivers. Allows precise control
of different audio recovery mechanisms.

Change-Id: I2ab027d4a6e2cb98df5358e24f6bebacd9aecca7
CRs-Fixed: 1054000
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-09-26 14:49:54 -07:00
Linux Build Service Account
626caf4e54 Merge "ARM: dts: msm: Add support for venus pil on msmfalcon" 2016-09-24 07:55:26 -07:00
Linux Build Service Account
3d38968e50 Merge "sysrq: Fix warning in sysrq generated crash." 2016-09-24 07:55:26 -07:00
Gaurav Kohli
8c5779a456 ARM: dts: msm: Add support for venus pil on msmfalcon
Add support for VENUS PIL which facilitates the loading of venus
firmware, authentication and bringing it out of reset.

Change-Id: I53657d42b5cfe7dba63d8331127aca6551e553e1
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-09-24 03:45:14 -07:00
Ani Sinha
ba57435ee4 sysrq: Fix warning in sysrq generated crash.
Commit 984d74a720 ("sysrq: rcu-ify __handle_sysrq") replaced
spin_lock_irqsave() calls with rcu_read_lock() calls in sysrq. Since
rcu_read_lock() does not disable preemption, faulthandler_disabled() in
__do_page_fault() in x86/fault.c returns false. When the code later calls
might_sleep() in the pagefault handler, we get the following warning:

BUG: sleeping function called from invalid context at ../arch/x86/mm/fault.c:1187
in_atomic(): 0, irqs_disabled(): 0, pid: 4706, name: bash
Preemption disabled at:[<ffffffff81484339>] printk+0x48/0x4a

To fix this, we release the RCU read lock before we crash.

Tested this patch on linux 3.18 by booting off one of our boards.

Fixes: 984d74a720 ("sysrq: rcu-ify __handle_sysrq")

Change-Id: I1827413e7e4fede197b3ebb6216239c07ae33a71
Signed-off-by: Ani Sinha <ani@arista.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Git-commit: 984cf355aeaa8f2eda3861b50d0e8d3e3f77e83b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-09-24 03:43:50 -07:00
Linux Build Service Account
30931e7448 Merge "icnss: Provide ICNSS support of reading SOC serial number" 2016-09-24 02:00:58 -07:00
Linux Build Service Account
6e3db51c97 Merge "icnss: Add debug support of configuring QMI timeout" 2016-09-24 02:00:56 -07:00
Linux Build Service Account
9897e1c74c Merge "cnss: Add new case in cnss runtime PM request feature" 2016-09-24 02:00:55 -07:00
Linux Build Service Account
c843607461 Merge "msm: kgsl: Disable rbbm countable on a540" 2016-09-24 02:00:55 -07:00
Linux Build Service Account
c480cfd424 Merge "Revert "ARM: dts: msm: configure CX voltage levels from MDSS for msmcobalt"" 2016-09-24 02:00:54 -07:00
Linux Build Service Account
4b80b64e9d Merge "msm: mdss: expand vbif debug bus for msmcobalt" 2016-09-24 02:00:53 -07:00
Linux Build Service Account
463b2ded6a Merge "msm: mdss: fix truncation of 64 bit for clk rate" 2016-09-24 02:00:52 -07:00
Linux Build Service Account
97208825ec Merge "msm: mdss: Correct error handling in MDSS driver" 2016-09-24 02:00:51 -07:00
Linux Build Service Account
4d053949b2 Merge "ARM: dts: msm: fix low FPS issue on Sharp FHD panel" 2016-09-24 02:00:50 -07:00
Linux Build Service Account
6233bb2e48 Merge "ARM: dts: msm: update phy timing params for nt35597 panel on msmcobalt" 2016-09-24 02:00:49 -07:00
Linux Build Service Account
fbad4dc35a Merge "msm: mdss: Correct DSC panel dimension when dest-scaler enabled" 2016-09-24 02:00:49 -07:00
Linux Build Service Account
8890f12483 Merge "msm: mdss: disable Client Driven Prefetch" 2016-09-24 02:00:48 -07:00
Linux Build Service Account
6875b99e30 Merge "serial: msm_serial_hs: Change the wakeup interrupt enable sequence" 2016-09-24 02:00:42 -07:00
Linux Build Service Account
02663bfe05 Merge "usb: gadget: f_cdev: Avoid potential NULL pointer dereference" 2016-09-24 02:00:41 -07:00
Linux Build Service Account
1b95c57dc7 Merge "ASoC: msmcobalt: add support for MI2S and AUX PCM" 2016-09-24 02:00:40 -07:00
Linux Build Service Account
5487004966 Merge "ASoC: wsa881x: Update device state during device probe" 2016-09-24 02:00:39 -07:00
Linux Build Service Account
090cd1c98a Merge "ARM: dts: msm: add initial memory map for msmtriton" 2016-09-24 02:00:39 -07:00
Linux Build Service Account
8a86657b1d Merge "leds: qpnp-flash-v2: Fix compilation issue for 32-bit kernel" 2016-09-24 02:00:38 -07:00
Linux Build Service Account
a5091bfd65 Merge "ARM: dts: msm: update the memory map details for msmfalcon" 2016-09-24 02:00:37 -07:00
Linux Build Service Account
320ea78e7c Merge "ARM: dts: msm: update regulator name for msmfalcon" 2016-09-24 02:00:37 -07:00
Linux Build Service Account
695daa8f13 Merge "perf: Enable updating exclude_idle events at idle" 2016-09-24 02:00:36 -07:00
Linux Build Service Account
20513d5e59 Merge "drivers: GICv3: remove the rtb logs of gic_poke_irq" 2016-09-24 02:00:35 -07:00
Linux Build Service Account
003e367e36 Merge "input: touchscreen: Convert Goodix driver to dev_pm_ops" 2016-09-24 02:00:32 -07:00
Linux Build Service Account
33b8c0517b Merge "input: touchscreen: Change late_init call to module_init" 2016-09-24 02:00:31 -07:00
Linux Build Service Account
aa737148db Merge "ARM: dts: msm: add MI2S and AUX PCM support for msmcobalt" 2016-09-24 02:00:30 -07:00
Linux Build Service Account
a7186f9754 Merge "cgroup: make sure a parent css isn't freed before its children" 2016-09-24 02:00:29 -07:00
Linux Build Service Account
fa7978ca56 Merge "memshare: Add support to listen to SUBSYS_RAMDUMP_NOTIFICATION" 2016-09-23 20:19:13 -07:00
Linux Build Service Account
7da41e3f7a Merge "ARM: dts: msm: Add rpm-smd node for msmfalcon" 2016-09-23 20:19:12 -07:00
Linux Build Service Account
29d2cbe64f Merge "drivers: cpuidle: lpm-levels: Fix wakeup time for suspend" 2016-09-23 20:19:11 -07:00
Linux Build Service Account
eddab8721c Merge "ASoC: msm: update to align afe memory mapping as multiple of 4KB" 2016-09-23 20:19:11 -07:00
Linux Build Service Account
75a030a73b Merge "soundwire: Add support for usecases without compander" 2016-09-23 20:19:10 -07:00
Linux Build Service Account
5e8c719acd Merge "ASoC: wcd: add null check before pointer dereference" 2016-09-23 20:19:09 -07:00
Linux Build Service Account
0a20333b02 Merge "USB: gadget: f_fs: Use %zu when printing size_t" 2016-09-23 20:19:08 -07:00
Linux Build Service Account
4fbca7b158 Merge "usb: gadget: gsi: Set NUM_OF_TRB as 15 for IN and OUT GSI endpoints" 2016-09-23 20:19:08 -07:00
Linux Build Service Account
00193d2edf Merge "dwc3: core: clear DELAYP1TRANS with USB3PIPECTL register" 2016-09-23 20:19:07 -07:00
Linux Build Service Account
8da923f7e0 Merge "usb: phy: qusb: Reset clock mux to avoid leakage on vdd rail" 2016-09-23 20:19:06 -07:00
Linux Build Service Account
5038545dd9 Merge "soc: qcom: ssr: Return from acknowledgment wait if modem is crashed" 2016-09-23 20:19:06 -07:00
Linux Build Service Account
6ae0998ab6 Merge "usb: gadget: composite: fix dereference after null check coverify warning" 2016-09-23 20:19:04 -07:00
Linux Build Service Account
baa3d606ab Merge "msm: sde: Add pre/post power event handler in SDE rotator" 2016-09-23 20:19:03 -07:00
Linux Build Service Account
25d60ce52e Merge "usb: gadget: Enable L1 suspend by default" 2016-09-23 20:19:03 -07:00
Linux Build Service Account
d225a2103b Merge "ARM: dts: msm: add sound support for msmcobalt skuk" 2016-09-23 20:19:02 -07:00