Commit graph

575113 commits

Author SHA1 Message Date
Viresh Kumar
d0cea65e27 hrtimer: update timer->state with 'pinned' information
'Pinned' information would be required in migrate_hrtimers() now, as we can
migrate non-pinned timers away without a hotplug (i.e. with cpuset.quiesce). And
so we may need to identify pinned timers now, as we can't migrate them.

This patch reuses the timer->state variable for setting this flag as there were
enough number of free bits available in this variable. And there is no point
increasing size of this struct by adding another field.

Change-Id: If3b3770e547971809e789ea7c8033c48ec2aa92d
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[forward port to 3.18]
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
[ohaugan@codeaurora.org: Port to 4.4]
Git-commit: 62feaf1ed0b64c04868d143d8bdb92d60dc3189b
Git-repo: git://git.linaro.org/people/mike.holmes/santosh.shukla/lng-isol.git
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-20 17:47:12 -07:00
Viresh Kumar
a7dffd7ffb timer: create timer_quiesce_cpu() to isolate CPU from timers
To isolate CPUs (isolate from timers) from sysfs using cpusets, we need some
support from the timer core. i.e. A routine timer_quiesce_cpu() which would
migrates away all the unpinned timers, but shouldn't touch the pinned ones.

This patch creates this routine.

Change-Id: I8624e0659b86b7b8fa425a3fafdb0784fe005124
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[forward port to 3.18]
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
[ohaugan@codeaurora.org: Port to 4.4. Fixes for compilation error]
Git-commit: 313910b70ea0c73f8789d9189c11e1f339080646
Git-repo: git://git.linaro.org/people/mike.holmes/santosh.shukla/lng-isol.git
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-20 17:47:11 -07:00
Olav Haugan
6cc98f03ad timer: Ensure timers are not running before migrating
This is needed to support migration of timers during cpu isolation. A
timer might be running on the CPU that we want to isolate so we are
unable to migrate the timers at this point. We are adding a spin-loop to
wait for the timer to finish before migrating the timers.

Change-Id: I24d6e91b6dff468c640c2fe3a37a7f31b6f0c79a
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-20 17:47:11 -07:00
Linux Build Service Account
9e2d528dc4 Merge "msm: camera: Add support for reset controller framework" 2016-09-20 10:20:44 -07:00
Linux Build Service Account
bfbc8a0dda Merge "soc: qcom: spss_utils: fix test_fuse_state_show()" 2016-09-20 10:20:44 -07:00
Linux Build Service Account
2b9c9ce4df Merge "msm: msm_bus: introduce bus topology for msmfalcon" 2016-09-20 10:20:42 -07:00
Linux Build Service Account
329685a0d5 Merge "msm: mdss: make hdcp 1.x data part of fb panel" 2016-09-20 10:20:40 -07:00
Linux Build Service Account
e687086cb2 Merge "ARM: dts: reduce on/off time for nt35597 dsc panels" 2016-09-20 10:20:39 -07:00
Linux Build Service Account
ca064b6d44 Merge "msm: mdss: dsi: Configure pll to work only in full rate mode" 2016-09-20 10:20:38 -07:00
Linux Build Service Account
53aba1677d Merge "ARM: dts: msm: add sharp 120 Hz panel support for msmcobalt" 2016-09-20 10:20:37 -07:00
Linux Build Service Account
b2b4bbae8b Merge "clk: msm: mdss: change DP clock rate in order of KHz" 2016-09-20 10:20:36 -07:00
Linux Build Service Account
fb2d62f3eb Merge "msm: mdss: program HDMI/DP core select during interface setup" 2016-09-20 10:20:34 -07:00
Linux Build Service Account
4b91c1a0f7 Merge "ASoC: wcd9335: reduce speaker teardown latency" 2016-09-19 23:28:23 -07:00
Linux Build Service Account
383cee12e4 Merge "phy: qcom-ufs: remove warnings for optional clocks" 2016-09-19 23:28:22 -07:00
Linux Build Service Account
55ef1608c4 Merge "Revert "usb: dwc3: gadget: start requests as soon as they come"" 2016-09-19 23:28:17 -07:00
Linux Build Service Account
f71d743cf0 Merge "Revert "usb: dwc3: gadget: use update transfer command"" 2016-09-19 23:28:16 -07:00
Linux Build Service Account
52915db68d Merge "msm: ipa: add support for new QMI IDL" 2016-09-19 23:28:16 -07:00
Linux Build Service Account
beb17e9e9b Merge "msm: pcie: initialize var in GPIO init function" 2016-09-19 23:28:15 -07:00
Linux Build Service Account
afc144d22c Merge "defconfig: msmcortex: Remove panic on SBE" 2016-09-19 23:28:14 -07:00
Linux Build Service Account
48b6dc8c1e Merge "edac: cortex: Remove WARN_ON messages" 2016-09-19 23:28:13 -07:00
Linux Build Service Account
99a1044389 Merge "msm: mdss: avoid shutting down PHY PMIC regulators" 2016-09-19 23:28:12 -07:00
Linux Build Service Account
6fa5e24922 Merge "msm: mdss: wait for kickoff before executing mode switch changes" 2016-09-19 23:28:11 -07:00
Linux Build Service Account
9518539939 Merge "defconfig: arm64: msmcortex: enable MSM_TZ_LOG for msmcobalt" 2016-09-19 23:28:10 -07:00
Linux Build Service Account
8753bbcdc4 Merge "soc: qcom: ipc_router_glink_xprt: Add larger size receive intents" 2016-09-19 23:28:09 -07:00
Linux Build Service Account
c2b563ce7d Merge "soc: qcom: pil: Correct notification path in subsys_stop" 2016-09-19 23:28:08 -07:00
Linux Build Service Account
3c52ac5339 Merge "power: fg-memif: Clear retry_once flag in IMA read" 2016-09-19 23:28:07 -07:00
Linux Build Service Account
5edc2df030 Merge "qseecom: Change whitelist_support flag to false if TZ failed to check" 2016-09-19 23:28:07 -07:00
Linux Build Service Account
79f28e9426 Merge "icnss: Provide client_id in ind_register request" 2016-09-19 23:28:06 -07:00
Linux Build Service Account
9969c77475 Merge "iommu: msm: use list_for_each_entry_safe for deletion" 2016-09-19 23:28:04 -07:00
Linux Build Service Account
64a9ffd418 Merge "Revert "defconfig: msm: enable common log for msmcobalt"" 2016-09-19 23:28:04 -07:00
Linux Build Service Account
620685750e Merge "ARM: dts: msm: enable scan dump for msmcobalt" 2016-09-19 23:28:02 -07:00
Linux Build Service Account
824e3e5ceb Merge "crypto: msm: qce50: DMA-API buffers limitations" 2016-09-19 23:28:02 -07:00
Linux Build Service Account
4886f3b04b Merge "soc: qcom: Add subsys state with service notifier notification" 2016-09-19 23:28:01 -07:00
Linux Build Service Account
e61009aff8 Merge "soc: qcom: pil: Change clock disabling sequence" 2016-09-19 23:28:00 -07:00
Linux Build Service Account
d4ba07ec09 Merge "regulator: cpr3-regulator: fix potential aging uninitialized variable usage" 2016-09-19 23:27:59 -07:00
Linux Build Service Account
6d49a1e9db Merge "net: fix infoleak in rtnetlink" 2016-09-19 23:27:59 -07:00
Linux Build Service Account
b7d007f82e Merge "FROMLIST: security,perf: Allow further restriction of perf_event_open" 2016-09-19 23:27:58 -07:00
Linux Build Service Account
f6ee052d80 Merge "BACKPORT: perf tools: Document the perf sysctls" 2016-09-19 23:27:57 -07:00
Linux Build Service Account
646ce8a905 Merge "cpuset: handle race between CPU hotplug and cpuset_hotplug_work" 2016-09-19 23:27:56 -07:00
Linux Build Service Account
a8f7b70106 Merge "qcom-charger: handle get prop errors graciously" 2016-09-19 23:27:55 -07:00
Linux Build Service Account
8935f4d83f Merge "ASoC: msm: qdsp6v2: fix crash during flac superset clip playback" 2016-09-19 23:27:54 -07:00
Linux Build Service Account
f641230ee8 Merge "config: msmcortex: enable qnovo driver" 2016-09-19 23:27:53 -07:00
Amir Samuelov
4fa8f96ae6 soc: qcom: spss_utils: fix test_fuse_state_show()
Remove new-line char (\n) when showing attribute.
User space app is expecting "test" or "prod" string,
without the new-line char.

Change-Id: Id44e63dab2fe68398c7b5ecdc423598ad4a27faa
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-09-18 07:53:55 -07:00
Linux Build Service Account
4e2a8a0fa1 Merge "Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers"" 2016-09-17 21:07:23 -07:00
Linux Build Service Account
d39931458e Merge "Revert "usb: gsi: Queue control notification on gsi_resume"" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
72c2d923b9 Merge "msm: sde: Move SDE rotator timeout evtlog outside of spinlock" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
a8db147fc1 Merge "USB: f_accessory: Fix NULL pointer dereference in acc_read()" 2016-09-17 21:07:16 -07:00
Linux Build Service Account
f18d5b789d Merge "msm: camera: Add support for camera on version 2 of msmcobalt" 2016-09-17 12:59:53 -07:00
Linux Build Service Account
1befebc47d Merge "icnss: Handle multiple PD down notifications" 2016-09-17 12:59:52 -07:00
Linux Build Service Account
c93a92750e Merge "icnss: Top level reset if clocks are dead" 2016-09-17 12:59:52 -07:00