Commit graph

569326 commits

Author SHA1 Message Date
Kranthikumar Kurapati
01486f292a crypto: qce50: set BAM ipc log level
Specify the BAM logging granularity for qce50 BAM use cases.

Change-Id: I6c067ab0f6afc1ec7a4d8f5f7665a71493dceafa
Acked-by: Che-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Kranthikumar Kurapati <kkurap@codeaurora.org>
2016-03-25 16:03:27 -07:00
Zhen Kong
49f4491edc ARM: dts: msm: correct CE clock setting for crypto driver on msm8996
Correct CE clock setting for crypto drivers, core_clk_src should
link to voting clock; otherwise, ce1 clock is set to be only half
of 171M HZ during crypto operations.

Change-Id: I0d9e048381a83d4788bf4f700d788137b59bd368
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-03-25 16:03:27 -07:00
Ramkumar Radhakrishnan
397d4d4efc msm: mdss: add support for 10 bit RGB/YUV formats
Define all supported 10 bit RGB/YUV formats for linear/UBWC and set
the appropriate parameters for register programming.

CRs-Fixed: 984465
Change-Id: I37f55f76802bf295f2c48040843637e37663ca41
Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
[dkeitel@codeaurora.org: fixed minor whitespace conflict.]
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-03-25 16:03:26 -07:00
Ramkumar Radhakrishnan
e45c9c3161 msm: mdss: add interface for all MDP supported formats
Define all MDP supported RGB/YUV formats in user mode interface.

CRs-Fixed: 984465
Change-Id: I5af1d0b4a2b249b600319abcf23c188b7d2948a5
Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
2016-03-25 16:03:26 -07:00
Ramkumar Radhakrishnan
22ae58fca4 msm: mdss: notify all hw blocks supported formats to user mode.
Exhibit supported formats of all pipes and writeback block through
sysfs node of mdp capabilities.

CRs-Fixed: 984465
Change-Id: I1dc11268995e7f3d8efdc7d3e7cf3a1951ff44a5
Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
[dkeitel@codeaurora.org: fix minor conflict.]
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-03-25 16:03:25 -07:00
Gopikrishnaiah Anandan
bf4e52b19e mdss: msm: add csc 10 bit support
Msm cobalt mdss pipeline supports 10 bit color space conversion.
Change adds support to enable 10 bit csc block.

CRs-Fixed: 984465
Change-Id: Ib859ade710b9cb6dc5565548db6f531c84f3bc5a
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
2016-03-25 16:03:25 -07:00
Gopikrishnaiah Anandan
925804a8f8 msm: mdss: Qseed3 support for msmcobalt
Msm cobalt has newer version of mdss block which supports qseed3 module
which is needed for scaling, sharpening. Change adds support for qseed3
on msmcobalt.

CRs-Fixed: 982712
Change-Id: Ibee9b270d483928dce1836f085785acbb8a1947b
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2016-03-25 16:03:24 -07:00
Gopikrishnaiah Anandan
b32edbc693 msm: mdss: Update interface to support Qseed3.
MSM cobalt mdss hardware block supports Qseed3 module which provides
functionality of scaling, sharpening. Change adds support for exposing
the block to user-space clients.

CRs-Fixed: 982712
Change-Id: I7a74566a527285aba313321a59bc17dd362e84ff
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
2016-03-25 16:03:24 -07:00
Gopikrishnaiah Anandan
52961afb25 msm: mdss: Update display support for msmcobalt.
msmcobalt support newer version of mdss hardware. Change adds support to
mdss driver to handle newer mdss version and capabilities of this version.

CRs-Fixed: 979566
Change-Id: I5f8fe54547e808233ac9873aeeaa36455b2b01e8
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
[dkeitel@codeaurora.org: fix minor conflict in documentation.]
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-03-25 16:03:23 -07:00
Jeykumar Sankaran
19e9ef0ddd msm: mdss: Add mdss version for msmcobalt.
This change adds MDSS Hardware revision for msmcobalt.

Change-Id: I559be9fd98978927dff81ab19bff6b7171679428
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
CRs-Fixed: 979566
[dkeitel@codeaurora.org: fixed minor merge conflict.]
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-03-25 16:03:23 -07:00
Ingrid Gallardo
5119bb7326 msm: mdss: fix to restore pp split config
Fix to restore the ping pong split configuration
after power collapse.

Change-Id: I9109081cbde941b55ee889707bda35af7d303cf0
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-25 16:03:22 -07:00
Deven Patel
6574604d8a ASoC: WCD9335: add support for I2C bulk write
add support for I2C bulk write functionality

CRs-fixed: 985242
Change-Id: I1150c98bab51cc71fa76fc0e56f3cd4762df5729
Signed-off-by: Deven Patel <cdevenp@codeaurora.org>
2016-03-25 16:03:21 -07:00
Vikram Mulukutla
1416bafbd5 clk: msm: clock-cpu-8996: Update calibration settings
Updated characterization has shown the need to modify
certain calibration settings for hardware blocks within
the CPU subsystem. Modify these values.

CRs-Fixed: 930377
Change-Id: I601802746224e2abb43fd0b3aedb09e049062adf
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2016-03-25 16:03:21 -07:00
Deepak Katragadda
420cfb8c68 ARM: dts: msm: Add the clock OPP property for GPU clock on MSMCOBALT
The OPP table containing the frequency and voltage mappings for
the gfx3d_clk_src is used by the GPU driver for limits management
on MSMCOBALT. Enable the clock support to populate this table.

CRs-Fixed: 986567
Change-Id: I478e7e90337060e92f07e6a3ee0f7d401b796f24
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-03-25 16:03:20 -07:00
Archana Sathyakumar
6edb8435fe ARM: dts: msm: Support rpm-stats for msmcobalt target
Add rpm-stats node to enable logging used for vddmin
and xo shutdown debugging.

CRs-fixed: 980681
Change-Id: Ibbfae3dc4a4023a2e99e27cae4c6cfd6822baab8
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
2016-03-25 16:03:20 -07:00
Sathish Ambley
7c7281de28 msm: ADSPRPC: Fix memory leak for remote heap
Fix the condition that was causing the remote heap from
not being freed.

Change-Id: I825e813f4f4e7c3cecaf9150d9ef40ff40cfb5a2
Acked-by: Bharath Kumar <bkumar@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-03-25 16:03:19 -07:00
Prasad Sodagudi
e1dba4968a power: reset: Download mode is not supported in secure boot
Currently msmpower off driver is not checking whether device
is in secure boot or not. So use generic API scm_is_secure_device()
and take appropriate decision to enable download feature.

Change-Id: Ic7bbe1f7c9b839ad5d1d07a6583f6a1b76bf8962
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2016-03-25 16:03:19 -07:00
Prasad Sodagudi
95d451a7e0 soc: qcom: Use scm_is_secure_device() API to find secure boot or not
Currently gladiator error reporting driver is independently
checking whether device in secure boot or not. So use
generic API scm_is_secure_device() and take appropriate
decision to enable certain features.

Change-Id: I89a7bdd21373ffcfec6d90ffbdd29ce8ed3dde88
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2016-03-25 16:03:18 -07:00
Prasad Sodagudi
a739b2a1f8 qcom: scm: provide scm_is_secure_device() api
Add new scm_is_secure_device() API, so that
all platform drivers can check and take appropriate
action for secure and non-secure devices.

Change-Id: I5569f4aaf4bcbec2922a7745ec0fdc1ab423cc23
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2016-03-25 16:03:18 -07:00
Vinayak Menon
30781083ea mm: zbud: prevent softirq during zbud alloc, free and reclaim
The following deadlock is observed.

Core 2 waiting on mapping->tree_lock which is taken by core 6

do_raw_spin_lock
raw_spin_lock_irq
atomic_cmpxchg
page_freeze_refs
__remove_mapping
shrink_page_list
shrink_inactive_list
shrink_list
shrink_lruvec
shrink_zone
shrink_zones
do_try_to_free_pages
try_to_free_pages(?, ?, ?, ?)
__perform_reclaim
__alloc_pages_direct_reclaim
__alloc_pages_slowpath
__alloc_pages_nodemask
alloc_kmem_pages_node
alloc_thread_info_node
dup_task_struct
copy_process.part.56
do_fork
sys_clone
el0_svc_naked

Core 6 after taking mapping->tree_lock is waiting on zbud pool lock
which is held by core 5

zbud_alloc
zcache_store_page
__cleancache_put_page
cleancache_put_page
__delete_from_page_cache
spin_unlock_irq
__remove_mapping
shrink_page_list
shrink_inactive_list
shrink_list
shrink_lruvec
shrink_zone
bitmap_zero
__nodes_clear
kswapd_shrink_zone.constprop.58
balance_pgdat
kswapd_try_to_sleep
kswapd
kthread
ret_from_fork

Core 5 after taking zbud pool lock from zbud_free received an IRQ, and
after IRQ exit, softirqs were scheduled and end_page_writeback tried to
lock on mapping->tree_lock which is already held by Core 6. Deadlock.

do_raw_spin_lock
raw_spin_lock_irqsave
test_clear_page_writeba
end_page_writeback
ext4_finish_bio
ext4_end_bio
bio_endio
blk_update_request
end_clone_bio
bio_endio
blk_update_request
blk_update_bidi_request
blk_end_bidi_request
blk_end_request
mmc_blk_cmdq_complete_r
mmc_cmdq_softirq_done
blk_done_softirq
static_key_count
static_key_false
trace_softirq_exit
__do_softirq()
tick_irq_exit
irq_exit()
set_irq_regs
__handle_domain_irq
gic_handle_irq
el1_irq
exception
__list_del_entry
list_del
zbud_free
zcache_load_page
__cleancache_get_page(?

So protect zbud_alloc/free/reclaim with spink_lock_bh

CRs-Fixed: 986783
Change-Id: Ib0605b38e7371c29316ed81e43549a0b9503d531
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-03-25 16:03:17 -07:00
Ingrid Gallardo
43bddb5b6c msm: mdss: keep tear check enabled in LP1 power state
Prevent driver from disabling the tear check when
going to LP1 state. This is needed for certain
panels in cases where there are more than one
frame update in LP1 state.

Change-Id: Ib80f06e0609d9d49584118504adf87da44455563
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-25 16:03:17 -07:00
Mayank Rana
5036fc2482 dwc3-msm: Check USB Endpoint status before queueing endless request
TRB Pool is allocated and de-allocated per endpoint when USB endpoint
is enabled and disabled respectively. In some instance, it has been
observed that usb_ep_disable() (for rmnet case, (u_bam.c) it is called
from set_alt or resume context i.e. interrupt context) and usb_ep_queue()
(for rmnet case, (u_bam.c) it is called from work queue context) are
racing for USB endless endpoint when USB bus suspend and resume is
happening quickly. It is causing NULL pointer dereference while accessing
TRB pool. Fix this issue by moving check if USB endpoint is enable or not
after acquiring dwc3->lock and before calling __dwc3_msm_ep_queue() which
prepares endless TRB.

CRs-Fixed: 986071
Change-Id: I842f6a82f3c454111ba68661cf835e86022e3e18
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-03-25 16:03:16 -07:00
Zhen Kong
d328092b8d qseecom: move compat_qseecom.h
The uapi directory shouldn't contain compat definitions,
so move this file out of there.

Change-Id: Ieef35ec02157c253a137c1b1bce3c6518c7f1b31
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-03-25 16:03:16 -07:00
Harry Yang
98d842aa78 regulator: qpnp-labibb: modify IBB_SPARE_CTL setting during TTW mode exit
Currently for PMI8996, IBB_SPARE_CTL is configured to slower PFET turn off
while exiting out of TTW mode. As per the hardware documentation, this
setting needs to be modified to faster PFET turn off for both PMI8996,
PMI8994 and PMI8950. Modify it to improve IBB efficiency.

CRs-Fixed: 966167
Change-Id: I0693eb275eeab5c349b455da31a96ba6dbeb4cf9
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-03-25 16:03:15 -07:00
Harry Yang
668a0e4f5a regulator: qpnp-labibb: Update settings for AMOLED mode
As per the hardware documentation, update the following register
configurations in AMOLED mode.

    IBB_NONOVERLAP_TIME_1
    IBB_NONOVERLAP_TIME_2
    IBB_SPARE_CTL

This is to improve the IBB efficiency.

CRs-Fixed: 966167
Change-Id: I127a2b895bfce4afcdac1ad6aba051347d621cbe
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-03-25 16:03:15 -07:00
Deven Patel
1543f39115 drivers: soc: Add transport info when APR opens a channel
The transport "smd_trans" is required if far end is running SMD
instead of Glink. If far end is already running Glink, this property
is ignored in Glink layer and communication will be through Glink.

CRs-fixed: 986398
Change-Id: I76b59a9782ab77e1ee3b37afb1db6ec01340ea33
Signed-off-by: Deven Patel <cdevenp@codeaurora.org>
2016-03-25 16:03:14 -07:00
Dhaval Patel
738dd0dcd7 msm: mdss: fix csc params config on source pipe
Commit 0717dcb898a085f863f65252d1ceec4e026e1183 ("uapi:
msm: mdp: Add color space in mdp_input_layer") adds
the csc params member on input layer but does not
pass the same configuration to sspp pipes. Post
Processing module will select the default CSC table
without this configuration.

The CSC configuration on MDSS hardware is not double
buffered. This needs additional input layer validation
check against CSC reconfiguration on staged pipes.

Change-Id: I3e6ea00fc426501cbbbeffa4545ed9cff711dcb4
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-25 16:03:13 -07:00
Deven Patel
3e36cd9a42 drivers: soc: put APR Tx buffer back into queue in error scenario
When underlying channel fails to send the APR buffer to the remote
end, APR should put the Tx buffer back into queue to avoid memory
leak.

CRs-fixed: 979283
Change-Id: I4f94daa3c9be748a30d532cf9cc8f3aa2284c060
Signed-off-by: Deven Patel <cdevenp@codeaurora.org>
2016-03-25 16:03:13 -07:00
Deven Patel
c594314ae5 drivers: soc: Fix possible APR null pointer dereference
There's a possible null pointer deference if APR open fails.
Add the fix to handle error case cleanup gracefully.

CRs-fixed: 979283
Change-Id: I4c0cc05bf08d2eae5c27a1dba0a33f4183f81cf3
Signed-off-by: Deven Patel <cdevenp@codeaurora.org>
2016-03-25 16:03:12 -07:00
Mahesh Sivasubramanian
016e977b8e ARM dts: msm: DT changes to enable retention
Retention modes for testing only. The actual modes supported
would be a subset of these modes

CRS-fixed:975790
Change-Id: Ida27125d337f2a15ac152f49a14bdde254d3e535
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-03-25 16:03:12 -07:00
Jordan Crouse
997b5d0f7b msm: kgsl: Standardize ringbuffers in the snapshot
'start' and 'stop' in the snapshot ringbuffer header are supposed to
be the dword offset that the data starts and stops at respectively.
For the current ringbuffer which is parsed 'start' and 'stop' are
equal to the CP wptr but all other ringbuffers are just dumped from
start to finish so 'start' and stop' should be 0 and KGSL_RB_DWORDS.
And having said that, why are we bothering to make the current
ringbuffer special anyway? In every case we are dumping the entire
ringbuffer so we might as well dump it in order. While messing about
in this code go a few more steps to make sure that we don't dump the
same ringbuffer more than once.

Change-Id: Ic0dedbada33adda660b7f0bf5eb165b0aa159004
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2016-03-25 16:03:11 -07:00
Nadine Toledano
f875ef9dcb msm: ipa3: Add the ability to set dynamically HPS/DPS seq type
HPS/DPS sequencer type is configured statically for PROD EPs
according to ipa3_ep_mapping table. This change adds the ability
to set a different HPS/DPS sequencer configuration for PRODs,
which mainly be used in testing

CRs-Fixed: 986167
Change-Id: I47dec10e757694596385f5118486603c702fe302
Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
2016-03-25 16:03:11 -07:00
Nadine Toledano
740ec9babf msm: ipa3: fix event ring allocation for CONS pipes
Allocate event ring for GPI IPA consumer pipes, regardless of
its policy type.

CRs-Fixed: 985987
Change-Id: I39de93b4796a44c1059f52e24010db48eeb22919
Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
2016-03-25 16:03:10 -07:00
Divya Ponnusamy
cc67609bc8 msm: kgsl: Add pm_qos_cpu_mask_latency to avoid L2PC on mask CPU
Add a l2pc-cpu-mask-latency in device tree. This latency
is used in kgsl_pwrctrl_update_l2pc() API to avoid L2PC
on masked CPUs by giving reduced latency value.

Change-Id: I0447977bce5ed5c09a863b03bb42b9428686a9f5
Signed-off-by: Divya Ponnusamy <pdivya@codeaurora.org>
2016-03-25 16:03:10 -07:00
Ravinder Konka
a8b7ebecfa msm: ipa: fix to use valid ep index value
When disabling agregation on Q6 pipes during SSR
there is a possibility that index -1 is used. Make
a change to skip processing if ep index is not valid.

Change-Id: I7578e582d1eda0b181225af9d00ec8ad5fbe372d
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Ravinder Konka <rkonka@codeaurora.org>
2016-03-25 16:03:09 -07:00
Sachin Bhayare
540e6e3089 msm: mdss: map frame buffer in smmu for msm8909w pan display path
frame buffer allocated in recovery mode is not mapped for MDP3 pan display
control path resulting in IOMMU fault. Add mdss_smmu_map_dma_buf call in
mdp3_ctrl_pan_display and use mapped virtual address for DMA.

Change-Id: I4d37ccb86eaea4690862bef76ee3762ff952892a
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
2016-03-25 16:03:09 -07:00
Manoj Prabhu B
97ea6d4a52 diag: Fix possible mask pointer corruption
This patch updates the stale pointer corrupted at
specific ssid ranges.
This patch also addresses wrong range tools value
updation.

CRs-Fixed: 980487
Change-Id: I2b8afcef25dceb76118b803c67f4c5656feae82b
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-03-25 16:03:08 -07:00
Shiraz Hashim
4c2cff20a2 mm: zcache: fix locking sequence
Deadlock is observed in zcache reclaim paths due to
different locking sequence.

Core#0:				    Core#1:
 |spin_bug()                         |do_raw_write_lock()
 |do_raw_spin_lock()                 |_raw_write_lock_irqsave()
 |_raw_spin_lock_irqsave()           |zcache_rbnode_isolate()
 |zcache_flush_inode()               |zcache_load_delete_zaddr()
 |__cleancache_invalidate_inode()    |zcache_evict_zpage()
 |truncate_inode_pages_range()       |zbud_reclaim_page()
 |truncate_inode_pages()             |zcache_scan()
 |truncate_inode_pages_final()       |shrink_slab_node()
 |ext4_evict_inode()                 |shrink_slab()
 |evict()                            |try_to_free_pages()
 |dispose_list()                     |__alloc_pages_nodemask()
 |prune_icache_sb()                  |alloc_kmem_pages_node()
 |super_cache_scan()                 |copy_process.part.52()
 |shrink_slab_node()                 |do_fork()
 |shrink_slab()                      |sys_clone()
 |kswapd_shrink_zone.constprop       |el0_svc()
 |balance_pgdat()
 |kswapd()
 |kthread()
 |ret_from_fork()

The deadlock happens because alternate sequence are
followed while taking
 zpool->rb_lock  (protects zpool rb tree), and
 rbnode->ra_lock (protects radix tree maintained by rbtree node)

Fix the sequence of locks being taken to avoid deadlock.

Change-Id: I32db23268f63eb8eb5aee30e4462c190e2e02f48
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-03-25 16:03:08 -07:00
Hareesh Gundu
563339135f msm: kgsl: Fix VBIF out register settings for A306a
Recommended value for A306a VBIF out registers is 0x10.

Change-Id: I5ea3f4203b7649007fa62bdfe70a41c8d86432ef
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-03-25 16:03:07 -07:00
Meera Gande
b552dc013f msm: isp: Enable testgen recording for 24M 30fps
As violations were observed at streamOn followed
by SOF freeze when testgen is enabled after camif,
changes are made to enable testgen before camif.

CRs-Fixed: 982807
Change-Id: Ib7c3adb1f23fd6ae763383fda152ac63e4e00f74
Signed-off-by: Meera Gande <mgande@codeaurora.org>
2016-03-25 16:03:07 -07:00
Skylar Chang
df52a97515 ARM: dts: msm: fix ipa clock name for msmcobalt.dtsi
Update IPA node to map the correct IPA clock.
This is done to avoid IPA clock gating on AP suspend.

Change-Id: Ic10949cd9e1eefffac6d744157e9f2a7df63ba5d
CRs-Fixed: 985868
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-03-25 16:03:06 -07:00
David Collins
e511ef1144 ARM: dts: msm: increase VDD_APCC MinSVS CPR voltage margin for msm8996pro
Characterization has shown that the initial VDD_APCC CPR revision
0 voltage margin adjustment for MinSVS is too aggressive.  Raise
this adjustment by 40 mV to ensure stability on all parts.

Change-Id: I084e43f4805359c0381c730b26eb85764bd225b1
CRs-Fixed: 985850
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-03-25 16:03:06 -07:00
Harshdeep Dhatt
133449301d msm: kgsl: Add secure memory flag in process mem file
Secure memory will have 's' flag set in its flag fields.
This is needed to track secure memory of a process.

CRs-Fixed: 985767
Change-Id: I011dcc951b1db8adf763f85701aa869f6d4744d3
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-03-25 16:03:05 -07:00
Tony Truong
a1004c440c msm: pcie: correct print/read sequence for interrupt status reg
The global interrupt status register needs to be read in first
before being used/printed.

Change-Id: Ic8068c775b82a0802d0bd3236b4eeafe56b571f9
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-03-25 16:03:05 -07:00
Skylar Chang
55b24c8c5a msm: ipa: add support for AGGR_SW_EOF_ACTIVE
Configure AGGR_SW_EOF_ACTIVE for WAN_CONS pipe in order to
allow modem to close aggregation on this pipe.
This is needed in order for modem to ensure
a QMAP command packet always resides in the end of aggregated frame.

Change-Id: I7412f1f0af8d2109853e311de815a1f1ec3220e3
CRs-Fixed: 979484
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-03-25 16:03:04 -07:00
Sameer Thalappil
5f181ee0dd msm: secure_buffer: Add WLAN support
Add support for WLAN Adrastea hardware.

Change-Id: I99868cf456c5b4641731dcea884b67627780477d
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2016-03-25 16:03:03 -07:00
Yuanyuan Liu
0b1cf97355 ARM: dts: msm: Add msa memory for WLAN
Allocate 1MB msa memory for WLAN

CRs-Fixed: 978217
Change-Id: I428099b02d4efe7478735d025cecf7ca050e2ff1
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-03-25 16:03:03 -07:00
Sarada Prasanna Garnayak
9fc3913ed9 net: cnss: add subsystem restart support for dual WiFi
Subsystem device add support for subsystem restart
recovery and ramdump device for cnss firmware dump
collection before the subsystem restart.

Refactor subsystem restart wrapper APIs to avoid the name
space collision in cnss platform driver compilation in dual
WiFi mode.

CRs-Fixed: 983677
Change-Id: Ib4a8d1a6d0ce8f1faa43ce0aa8312823b1ca3c15
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2016-03-25 16:03:02 -07:00
Sarada Prasanna Garnayak
b29bc2ad43 net: cnss: add PM QoS support for dual WiFi
PM QoS adds support to improve the wlan throughput.
The cnss platform driver export PM QoS API to wlan
host driver.

Refactor PM QoS wrapper APIs to avoid the name space
collision in cnss platform driver compilation in dual WiFi
mode.

CRs-Fixed: 983653
Change-Id: Id7a486f2f111476e73d5707eba36611a3530e9cf
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2016-03-25 16:03:02 -07:00
Sarada Prasanna Garnayak
ebca83b30e net: cnss: add DFS NOL support for dual WiFi
Store WiFi DFS NOL list and return to wlan host driver
on query. It adds support for no link operation on radar
detection.

This export symbol supported by both SDIO and PCIe platform
driver. So add this API as a common API for both SDIO and PCIe
interface based wlan module and remove the duplicate API from
the SDIO and PCIe platform driver.

CRs-Fixed: 983618
Change-Id: Idc25806de6f919b88130a1633adbb7bc1048ecd5
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2016-03-25 16:03:01 -07:00