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>
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>
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>
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>
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>
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>
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>
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>
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>
Enable USB BAM driver to support
SPS BAM-to-BAM in 9615
Change-Id: Ief2357bbd4e2f9ddcea103829d3f95507bf1c404
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
Add USB BAM driver to 9615
to support SPS BAM-to-BAM
Change-Id: Iac66d7682f12aa860d92a9c9e3ac0ffb0b9aa175
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
USB BAM driver to support BAM-to-BAM
USB<->Peripheral transactions.
Change-Id: Ib49a41f5dcdccb6f6bff2492fa64ead40f18b870
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
* 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
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>
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>
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>
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>