Commit Graph

260164 Commits

Author SHA1 Message Date
Tim Chen
6bc6375e10 VFS : mount lock scalability for internal mounts
For a number of file systems that don't have a mount point (e.g. sockfs
and pipefs), they are not marked as long term. Therefore in
mntput_no_expire, all locks in vfs_mount lock are taken instead of just
local cpu's lock to aggregate reference counts when we release
reference to file objects.  In fact, only local lock need to have been
taken to update ref counts as these file systems are in no danger of
going away until we are ready to unregister them.

The attached patch marks file systems using kern_mount without
mount point as long term.  The contentions of vfs_mount lock
is now eliminated.  Before un-registering such file system,
kern_unmount should be called to remove the long term flag and
make the mount point ready to be freed.

Change-Id: Ifbb211d08f25e4c2ec3b22126b8e745ee1cee0ea
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Pankaj Kumar <pakuma@codeaurora.org>
2011-12-15 15:53:32 +05:30
Linux Build Service Account
a1d36c34cf Merge "msm: scm: Mark scm_call_atomic*() return value as signed" into msm-3.0 2011-12-14 18:21:11 -08:00
Linux Build Service Account
2be265f37f Merge "thermal: msm_tsens: Fix clearing interrupt bit on resume" into msm-3.0 2011-12-14 18:21:11 -08:00
Linux Build Service Account
8ebf513867 Merge "defconfig: 8660: enable timechart support" into msm-3.0 2011-12-14 18:21:11 -08:00
Matt Wagantall
627f4315d9 msm: acpuclock-8960: Drop S8 regulator vote to 2.1V
Additional power saving can be achieved by allowing this regulator to
go down to 2.1V. This should have no effect on the HFPLLs, as they
run from a lower voltage sub-regulator (L23), not directly from S8.

Change-Id: I61a46a2a3775a2810f05a953dece0586325fa805
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
2011-12-14 15:47:41 -07:00
Linux Build Service Account
bd2c2e3abd Merge "ASoC: msm: ensure ADM is only opened/closed for multimedia purpose" into msm-3.0 2011-12-14 14:18:39 -08:00
Linux Build Service Account
33f65e0cce Merge "msm: camera: Support for MT9M114 YUV sensor" into msm-3.0 2011-12-14 14:18:39 -08:00
Linux Build Service Account
6e28b6d6e6 Merge "video: msm: Add mhl api header file" into msm-3.0 2011-12-14 10:25:00 -08:00
Linux Build Service Account
4efaf34437 Merge "msm: acpuclock-8960: Update bandwidth requests for v2 krait" into msm-3.0 2011-12-14 10:25:00 -08:00
Linux Build Service Account
d3f83726f1 Merge changes Ic51664f7,I6614dc07 into msm-3.0
* changes:
  hwmon: pm8xxx-adc: Fix setting disable bit for CNTRL register
  power: pm8921-charger: Disable BTM before entering suspend
2011-12-14 10:25:00 -08:00
Linux Build Service Account
8f83f61010 Merge "msm: board-qrd7627a: Enable BT/FM." into msm-3.0 2011-12-14 10:25:00 -08:00
Patrick Lai
770ca3e432 ASoC: msm: ensure ADM is only opened/closed for multimedia purpose
It was found that upon initation of voice call, ADM COPP is opened
even though there is no audio playback or capture. This behavior
forces QDSP6 to scale up clock frequency because it is expected that
, with ADM COPP opened, post/pre processing will be exercised hence
require more MIPs in QDSP6 to process the request. Unecessary power
consumption is wasted as result. Update pcm routing driver not to
start ADM COPP unnecessarily.

CRs-fixed: 316604
Change-Id: I90b33ae1582fb76c74d9e4ec13962db34374c60d
Signed-off-by: Patrick Lai <plai@codeaurora.org>
2011-12-14 10:24:45 -08:00
Neil Leeder
e658f631c4 defconfig: 8660: enable timechart support
Enable defconfig option required for timechart.
When this tool is not in use, this option does not cause
any statistically significant overhead.

Change-Id: I349e6c43daf444bbb9568cc9a6dcc37d018ad9d7
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
2011-12-14 09:47:33 -05:00
Rajakumar Govindaram
6bc004a291 msm: camera: Support for MT9M114 YUV sensor
Initial support for Aptina 720p YUV sensor

Change-Id: Idb2eb0c1d98482077cb170f3fc581b1e548dc1ee
Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>
2011-12-14 07:30:54 -07:00
Linux Build Service Account
f6cfb8ef4a Merge "msm: clock-8960: set FORCE_PERIPH_ON in GFX3D_CC_REG" into msm-3.0 2011-12-14 04:44:16 -08:00
Linux Build Service Account
e48e9d12b8 Merge changes Ief2357bb,Iac66d768,Ib49a41f5 into msm-3.0
* changes:
  defconfig: 9615: Enable USB BAM driver
  msm: board-9615: Add USB BAM driver
  usb: gadget: SPS BAM-to-BAM - USB BAM driver
2011-12-14 04:44:16 -08:00
Linux Build Service Account
e9b4b64a51 Merge changes I74d93f35,Iea942e84 into msm-3.0
* changes:
  fmem: reserve memory for fmem
  fmem: add fmem API header file
2011-12-14 04:44:16 -08:00
Linux Build Service Account
c2f25f737f Merge "misc: tspp: adding TSPP driver files" into msm-3.0 2011-12-14 04:44:16 -08:00
Linux Build Service Account
04e510bbcf Merge "msm: board-8960-gpiomux: Configure PULL_UP for IRQ" into msm-3.0 2011-12-14 04:44:16 -08:00
Linux Build Service Account
c705858da0 Merge "usb: msm72k_udc: Add more debugfs support" into msm-3.0 2011-12-14 04:44:16 -08:00
Linux Build Service Account
10b7819385 Merge "msm: wfd: Fix compilation error." into msm-3.0 2011-12-14 04:44:16 -08:00
Linux Build Service Account
dc4d64e452 Merge "Perf: Save and restore counters through powercollapse" into msm-3.0 2011-12-14 04:44:16 -08:00
Linux Build Service Account
edc7593672 Merge "msm: audio: qdsp6v2: Fix AAC encoding hang issue." into msm-3.0 2011-12-14 04:44:16 -08:00
Linux Build Service Account
12cc3c35ab Merge "Revert "msm_serial_hs_lite: Increase RxStale timeout value"" into msm-3.0 2011-12-14 04:44:16 -08:00
Rahul Kashyap
5e59b892f8 msm: board-qrd7627a: Enable BT/FM.
1) GPIO 114 on QRD is BT SYS RESET GPIO, which was
owned by modem proc, as a result set value/direction from
apps proc was not effective.
2) After using the correct gpio_tlmm_config api, apps proc
is able to own the gpio.
3) Once the GPIO is owned by apps proc, the set value/direction
for this GPIO are effective and as desired.
4) Correct BT_SYS_RESET GPIO functionality enables BT/FM SOC
to come out of RESET and perform as required.

Change-Id: I77c3baa49d4396a9fdc2970c0c4988382a21a974
Signed-off-by: Rahul Kashyap <rkashyap@codeaurora.org>
2011-12-14 12:47:40 +05:30
Anantha Krishnan
71d6fa6ccd radio-tavarua: Add place holders for IRIS specific commands
Change-Id: I4bcf4316b23ce0f9c02815c0bc0d495ee49df51f
CRs-Fixed: 324758
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-12-14 11:08:11 +05:30
Siddartha Mohanadoss
6217da090d hwmon: pm8xxx-adc: Fix setting disable bit for CNTRL register
Fix setting the disable bit in the BTM end routing by
writing 0 to the BTM control register.

Change-Id: Ic51664f7f5703dc314c5e46240dd18a001f764f1
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2011-12-13 20:23:05 -08:00
David Keitel
f222602046 power: pm8921-charger: Disable BTM before entering suspend
Significant sleep current is seen with BTM enabled during suspend.

Fix this by disabling BTM before entering suspend and re-enable it
on resume. A board file option may be added to disable this feature.
By default battery temperature monitoring will be turned off on
suspend.

Change-Id: I6614dc076d8ea69f25840dd3eeef94f9739e392f
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2011-12-13 20:22:52 -08:00
Linux Build Service Account
bf36355e9c Merge "msm: select ARCH_ENABLE_MEMORY_HOTPLUG/REMOVE" into msm-3.0 2011-12-13 16:38:51 -08:00
Mohan Pallaka
f69f04955b msm: board-8960: Add isa1200 device for V2 devices
Change-Id: I8b9c1c3e58e99ca1837fd4ddcaee2120fedb7f25
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2011-12-13 13:51:33 -07:00
Larry Bassel
1eb58f0a2f fmem: reserve memory for fmem
Fmem will use a block of contiguous memory at the
end of the memory bank with the greatest physical address.

Change-Id: I74d93f356e1e24b76e7b8f3432c3b021503fd387
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
2011-12-13 11:25:55 -08:00
Larry Bassel
1daa0f027e fmem: add fmem API header file
Change-Id: Iea942e84106512ba4c1418fe10bd7f53e635451e
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
2011-12-13 11:25:55 -08:00
Stephen Boyd
f2770c3183 msm: acpuclock-8960: Update bandwidth requests for v2 krait
Apps fabric runs faster on v2 devices. Bump up the bus bandwidth
requests to request higher bandwidth at higher cpu speeds.
Distribute the rest evenly across the frequency plan.

Change-Id: I6047574fd6c663e18e9b26ed39fb839ee5892c5e
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2011-12-13 11:57:19 -07:00
Linux Build Service Account
6b17b8be39 Merge "msm: board-8960: Only register ext_l2 regulator on CDPs" into msm-3.0 2011-12-13 10:54:07 -08:00
Linux Build Service Account
15aabfaa27 Merge "msm: kgsl: Allow userspace processes to turn off/on power features." into msm-3.0 2011-12-13 10:54:07 -08:00
Ofir Cohen
0ea48c0486 defconfig: 9615: Enable USB BAM driver
Enable USB BAM driver to support
SPS BAM-to-BAM in 9615

Change-Id: Ief2357bbd4e2f9ddcea103829d3f95507bf1c404
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
2011-12-13 20:46:33 +02:00
Ofir Cohen
40a4e86b76 msm: board-9615: Add USB BAM driver
Add USB BAM driver to 9615
to support SPS BAM-to-BAM

Change-Id: Iac66d7682f12aa860d92a9c9e3ac0ffb0b9aa175
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
2011-12-13 20:46:28 +02:00
Ofir Cohen
c7827e45a3 usb: gadget: SPS BAM-to-BAM - USB BAM driver
USB BAM driver to support BAM-to-BAM
USB<->Peripheral transactions.

Change-Id: Ib49a41f5dcdccb6f6bff2492fa64ead40f18b870
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
2011-12-13 20:46:22 +02:00
Sathish Ambley
2b331658a5 Revert "msm_serial_hs_lite: Increase RxStale timeout value"
This reverts commit 0654e27a49.

Change-Id: I1f1628cc0a50942ce99079db698778797b1b67a7
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-12-13 10:34:58 -08:00
Linux Build Service Account
08bbf04068 Merge "ASoC: msm: qdsp6: Sidetone is not supported for RT Proxy ports." into msm-3.0 2011-12-13 09:09:54 -08:00
Linux Build Service Account
3d2f1b91b7 Merge "msm: change the pr_err to CDBG to reduce the log output" into msm-3.0 2011-12-13 09:09:54 -08:00
Linux Build Service Account
1dc5ae6b97 Merge changes I1c9e58dd,I3e3d0f36,I132df8e6 into msm-3.0
* changes:
  genirq: percpu: allow interrupt type to be set at enable time
  genirq: Add support for per-cpu dev_id interrupts
  irq: Track the owner of irq descriptor
2011-12-13 09:09:54 -08:00
Linux Build Service Account
2acd05e80b Merge "vidc: Add metabuffer mode support for encoder driver." into msm-3.0 2011-12-13 09:09:54 -08:00
Linux Build Service Account
a6e4e8f118 Merge "slimbus: Fix a possible unitialized variable" into msm-3.0 2011-12-13 09:09:54 -08:00
Ashwin Chaugule
b5ca687960 Perf: Save and restore counters through powercollapse
Update the active perf counter data structs with the most recent
values of the counters before going into powercollapse and restore
the corresponding hardware counters with these values when coming
out of it.

This change fixes a bug where the counter outputs show wild swings
when CPU power collapse is enabled.

Change-Id: I9c4ff4d4504df5b50c33a796c605126448c440cb
Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>
2011-12-13 11:55:14 -05:00
Tarun Karra
6fbc00a9d5 msm: clock-8960: set FORCE_PERIPH_ON in GFX3D_CC_REG
It appears that the timing parameters are not met for the wake
and sleep counters on some devices and forcing the 3d core memory
periphery to be on always is necessary to avoid the intermittent
GPU hangs when the gfx3d_ck is turned off and on.

Change-Id: Ia93498ed568a7962c9b4a30686bfb28673e9c559
CRs-Fixed: 320285
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2011-12-13 09:34:13 -07:00
Linux Build Service Account
43de492339 Merge "USB: OTG: Check for async_int status during PMIC VBUS notification" into msm-3.0 2011-12-13 04:27:21 -08:00
Eugene Yasman
88426ca238 video: msm: Add mhl api header file
MHL API defines an interface for HDMI driver.

The API provides the information of the MHL connection state
for HDMI to transmit the MHL supported video format.

Change-Id: If19e497b7a238eb0465f9fb13b5586d3b9043360
Signed-off-by: Eugene Yasman <eyasman@codeaurora.org>
2011-12-13 13:31:41 +02:00
Linux Build Service Account
dc1b7a30cf Merge "devices-xxx: Disable demux check for video driver." into msm-3.0 2011-12-13 01:18:05 -08:00
Joel Nider
5556a85245 misc: tspp: adding TSPP driver files
The TSPP driver manages the transport stream packet processor.  This core
is used to offload the main CPU by handling MPEG TS packets, generally
coming from a broadcast modem using the ISDB-T (or variant) protocol.

Change-Id: Ia4c16dcce970ae0f52d8d17957a92fce34ecdb44
Signed-off-by: Joel Nider <jnider@codeaurora.org>
2011-12-13 10:14:33 +02:00