Commit graph

575372 commits

Author SHA1 Message Date
Olav Haugan
0a17b36a20 sched/core: Add trace point for cpu isolation
Add tracepoint to capture the cpu isolation event including KPI for
time it took to isolate.

Change-Id: If2d30000f068afc50db953940f4636ef6a089b24
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 10:59:42 -07:00
Olav Haugan
e33c24bfec sched: add cpu isolation support
This adds cpu isolation APIs to the scheduler to isolate and unisolate
CPUs. Isolating and unisolating a CPU can be used in place of hotplug.
Isolating and unisolating a CPU is faster than hotplug and can thus be
used to optimize the performance and power of multi-core CPUs.

Isolating works by migrating non-pinned IRQs and tasks to other CPUS and
marking the CPU as not available to the scheduler and load balancer.
Pinned tasks and IRQs are still allowed to run but it is expected that
this would be minimal.

Unisolation works by just marking the CPU available for scheduler and
load balancer.

Change-Id: I0bbddb56238c2958c5987877c5bfc3e79afa67cc
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 10:55:17 -07:00
Vidyakumar Athota
36bd1b7663 ARM: dts: msm: add slimbus7 and slimbus8 cpu dais for msmcobalt
In msmcobalt platform, Slimbus7 and slimbus8 cpu dais are used for
BT and FM usecases. Add BT and FM cpu dais under sound-tavil
node.

Change-Id: I6cbe4167ab9d980b75f4fefdd4add0d8e8adaef8
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-24 09:56:55 -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
Linux Build Service Account
404a6deb48 Merge "msm: mdss: consider ib to commit the bw vote for mdp" 2016-09-23 20:19:01 -07:00
Linux Build Service Account
df02701d1f Merge "ARM: dts: msm: update PCIe reset clks for MSM8996 and msmcobalt" 2016-09-23 20:19:00 -07:00