Commit graph

590985 commits

Author SHA1 Message Date
Linux Build Service Account
93b5220454 Merge "ASoC: msm: qdsp6v2: Clear HDMI channel allocation on shutdown" 2017-06-15 08:36:30 -07:00
Linux Build Service Account
d33688a677 Merge "ASoC: msm: qdsp6v2: make audio debugfs read and release exclusive" 2017-06-15 08:36:29 -07:00
Linux Build Service Account
99f2bf04ab Merge "soundwire: Fix swr device count logic in registration" 2017-06-15 08:36:28 -07:00
Linux Build Service Account
dd704b7258 Merge "soundwire: Remove startup from swr_driver structure" 2017-06-15 08:36:26 -07:00
Linux Build Service Account
a4bd635c3d Merge "ARM: dts: msm: Update low temperature APSS frequency in msm8996pro" 2017-06-15 08:36:26 -07:00
Linux Build Service Account
ca2ef91750 Merge "msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE" 2017-06-15 08:36:25 -07:00
Linux Build Service Account
b7f69eef6d Merge "crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4" 2017-06-15 08:36:24 -07:00
Linux Build Service Account
ddcc99066c Merge "net: rps: send out pending IPI's on CPU hotplug" 2017-06-15 08:36:23 -07:00
Linux Build Service Account
e223ebcad4 Merge "msm: ipa: fix ipacm_client usage" 2017-06-15 08:36:22 -07:00
Linux Build Service Account
07bb20408c Merge "icnss: Change MSA permissions to collect dump" 2017-06-15 08:36:21 -07:00
Neeraj Upadhyay
859e17197c defconfig: msm: Use RCU_NOCB for RCU subsystem for sdm660
Use per CPU NOCB threads to process RCU callbacks, rather than processing
the callbacks in softirq context. Processing large number of callbacks
in softirq context may result in delayed execution of other softirqs, so
remove processing of callbacks from softirq context.

Change-Id: I361221ea302c84d626122538d383f549ea9cea0d
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-06-15 17:53:20 +05:30
Akhil P Oommen
97bbab07b8 ARM: dts: msm: Enable use of 64K page pool for SDM630
64K page pool is currently unused because it doesn't have
any reserved pages and also dynamic page allocation for
this pool is disabled.

Add qcom,mempool-allocate property to allow pool to grow
dynamically and hence being used.

Change-Id: I4036032758ec12500854562d6a92d73742952dcb
Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
2017-06-15 16:15:04 +05:30
Shiju Mathew
b764048721 defconfig: Enable TIF drivers in MSM8996 auto
Enable BA and adv7481 drivers in MSM8996 auto defconfig.

CRs-Fixed: 1021381
Change-Id: Idb3d9864f33a01477ac384b0f3bef05241458268
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
2017-06-15 02:35:20 -07:00
Jingtao Chen
bb4ea9d9e7 msm: ba: Fix some potential risks
Avoid memory leaks and prevent to dereference null pointer

Change-Id: I907ea987b0f3d6971116e116841482fa364ef7b8
Signed-off-by: Jingtao Chen <jingtaoc@codeaurora.org>
2017-06-15 02:35:12 -07:00
Shiju Mathew
d87f10c472 msm: ba: Update printk format specifier to prevent leaks
Update printk format from %p to %pK in msm_ba driver
to hide exposed kernel pointers.

CRs-Fixed: 2036994
Change-Id: I8f9290670888a0b351339990f0dc2fa4fcc78b26
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
2017-06-15 02:35:03 -07:00
Jin Li
c5c679855f ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP
On APQ8096 Auto ADP Lite platform, it only has two displays,
native HDMI and one DSI-HDMI display through ADV7533 bridge
chip. The secondary ADV7533 instance needs to be disabled.

Change-Id: Ibae5c1561ec9f6890f818eeef185dfcf0bc1a62d
Signed-off-by: Jin Li <jinl@codeaurora.org>
2017-06-15 02:25:13 -07:00
Abhinav Kumar
02b2b76fb0 drm/msm: add HDCP 1x module for MSM DRM driver
This change adds the HDCP 1x module for MSM DRM
driver and also hooks it up with SDE HDMI driver.

Change-Id: Iaf53c398254f6838a1d3cae610e069c5dbe18138
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 02:23:38 -07:00
Asutosh Das
9670ff4d32 ARM: dts: msm: Add non-removable ufs property for SDM660
Defines the non-removable property for UFS device node.
This basically lets the driver know that UFS is the boot
device.

Change-Id: I11df8441385910fdab7595a96a5deb24c7ca833e
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-06-15 14:37:25 +05:30
Ashutosh Kumar
5753a503cb ath10k: Send vdev down if association to bss fails
If host driver fails to send WMI_VDEV_DOWN_CMDID, firmware will drop
further packets as vdev TX PAUSE reset is done as part of VDEV_DOWN.
Send vdev down to firmware if STA fails to associate.

CRs-Fixed: 2061161
Change-Id: Ie26645389dcb839758ff6aa55812172beeccc171
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
2017-06-15 14:01:56 +05:30
Jin Li
9ec3ce38d7 ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform
There is still one ADV7535 instance on MSM8996Pro Auto CDP lite
platform, which connects DSI0 interface to HDMI.

Change-Id: I1efe7484d6f4eb1956c95689420b06b40278588e
Signed-off-by: Jin Li <jinl@codeaurora.org>
2017-06-15 00:32:01 -07:00
Abhinav Kumar
e4db249be7 drm/msm: add HDCP helper functions to DRM HDMI driver
Add useful helper functions to the DRM HDMI driver
to be used later when HDCP functionality gets added.

Also add and initialize necessary members to the
SDE HDMI controller to facilitate easier integration
of DRM HDCP module.

Change-Id: I699f6685327e674a871a404fe5cf3adebe823d46
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 00:18:29 -07:00
Ashutosh Kumar
cbcff09e2f ath10k: Wait for peer delete response to synchronize with fw
Peer creation in firmware fails if last peer deletion is still
in progress.
Wait for peer delete response from firmware after deleting peer
from host driver.

CRs-Fixed: 2047126
Change-Id: I9eb01393d9cd3dd82f2084262c250081f2076b46
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
2017-06-15 12:47:16 +05:30
Abhinav Kumar
110b6748f9 drm/msm: clean up DDC handling for SDE HDMI driver
Separate out the DRM HDMI utility functions into a separate
module.

Make the DRM HDMI utility functions support self retry where
they shall try for an arbitrary number of times on failure
otherwise let the client call the API to retry the number of
times as warranted.

Add a SDE HDMI utility file which shall invoke the upstream
functions in a manner as required to maintain the functionality
of legacy drivers.

Change-Id: I64af3f997a16b2d9358ea867585aa12772d22599
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-14 23:39:39 -07:00
Abhinav Kumar
7c1f3156a7 drm/msm: add support for parsing hdmi/hdcp capabilities
Add support to parse the HDMI TX version and
HDCP support from the HDMI and QFPROM registers.

This information is used to decide which HDCP driver
module is to be initialized at boot time.

Change-Id: Ib598f3867f1cd2ef9adb7503c5907cbb1e4ba758
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-14 23:38:49 -07:00
Manaf Meethalavalappu Pallikunhi
e2e1274594 ARM: dts: msm: Update low temperature APSS frequency in msm8996pro
Update the minimum frequency restriction value and maximum frequency
limit value to the correct nominal frequency 1.056 GHz and 1.2096 GHz
respectively, as per the updated frequency plan of msm8996pro.

Change-Id: I725351c064f0211f95af4b4dd708b62360331282
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-06-14 22:18:20 -07:00
Linux Build Service Account
e822583117 Merge "msm📷 correct stats query out of boundary" 2017-06-14 19:48:52 -07:00
Linux Build Service Account
d2c81e0602 Merge "msm: smmu: add re-route calling for specified iova when mapping" 2017-06-14 19:48:51 -07:00
Linux Build Service Account
3b0f5d0bb3 Merge "ARM: dts: msm: fix the ADB connection issue on auto CDP." 2017-06-14 19:48:50 -07:00
Linux Build Service Account
888fc2f900 Merge "ARM: dts: msm: Add tune2_efuse_addr for SDM660/630" 2017-06-14 19:48:49 -07:00
Linux Build Service Account
d1bf5a8e07 Merge "ARM: dts: msm: Update CCI voltage range for MSM8996pro automotive" 2017-06-14 19:48:42 -07:00
Linux Build Service Account
25207d283f Merge "msm: ba: Update ba driver to latest v4l2 framework" 2017-06-14 19:48:39 -07:00
Bao D. Nguyen
e2ce497a9d mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement
Without this fix the MMC may incorrectly set the CAPS for the SD card.

Change-Id: Ia4be2e78453663818cfd18deb9a590ec80423bca
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2017-06-14 14:30:08 -07:00
Praveen Kumar Dwivedi
f79da1babe msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE
For V4L2_CID_MPEG_VIDC_VIDEO_PICTYPE_DEC_MODE ioctl the valid
ctrl values are V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_ON and
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF. But for
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF case
we are sending wrong enable_picture.picture_type value. We are
also oring HAL_PICTURE_IDR, whereas only
HAL_PICTURE_I | HAL_PICTURE_P | HAL_PICTURE_B should be sent.

Change-Id: I96103d068b3e6e5f23da07d9a4c20e92ed55557c
Signed-off-by: Praveen Kumar Dwivedi <pkd@codeaurora.org>
2017-06-14 14:04:21 -07:00
Linux Build Service Account
cd4879ea0a Merge "drm/msm/sde: add support to select secure context bank" 2017-06-14 09:57:07 -07:00
Linux Build Service Account
236764e6a5 Merge "msm: mdss: Clean-up payload for unsupported versions" 2017-06-14 09:57:06 -07:00
Linux Build Service Account
446f98fa7c Merge "f_fs: set maxburst to one before enabling endpoints" 2017-06-14 09:57:05 -07:00
Linux Build Service Account
621d21a88e Merge "mmc: core: Ignore CRC errors with CMD13 while executing tuning" 2017-06-14 09:57:04 -07:00
Linux Build Service Account
b0102088df Merge "defconfig: msm: Enable RCU_FAST_NO_HZ for sdm660" 2017-06-14 09:57:04 -07:00
Linux Build Service Account
482776bedc Merge "msm: isp: camera: Avoid potential out of bound write" 2017-06-14 09:57:03 -07:00
Linux Build Service Account
abc9a0c87d Merge "msm: camera: isp: configure correct pixel per line with Testgen" 2017-06-14 09:57:02 -07:00
Linux Build Service Account
f1126aa337 Merge "mmc: sd: return error information of sd_init_card incase of failure" 2017-06-14 09:57:00 -07:00
Skylar Chang
fbb64f5e0a msm: ipa: fix ipacm_client usage
Fix the access to ipacm_client array.

Change-Id: I0e6c026a4f6eb0bc21f4e07cb301e21f78103f33
CRs-Fixed: 2024177
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-06-14 09:07:05 -07:00
Dhoat Harpal
4c5a762b02 soc: qcom: glink_ssr: Remove subsystem_restart call
Glink_ssr channel calls subsystem_restart when remote side does not
responds. This leads to system crash if remote side is already in
shutdown state.

Call to subsystem_restart is removed from glink_ssr client.

CRs-Fixed: 2061085
Change-Id: I0df382950d34d8c8d4e2bc1cbbe5edef1d4135c1
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-06-14 19:37:07 +05:30
Dhoat Harpal
a9d98d446b soc: qcom: glink: Reset qos rate when xprt is down
Reset for qos rate of xprt is not done duering SSR, this leads to
exhaustion of qos bandwidth when multiple SSR happens.

Reset qos rate of xprt to zero when link goes down.

CRs-Fixed: 2061061
Change-Id: Ibabca5584b01eb93a5b7fcc8a5304136ef400ba0
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-06-14 19:31:10 +05:30
Utkarsh Saxena
9072302c9a msm: ipa: Add assert upon send command failure
Assert the device upon send command failure
after reaching maximum retries.

Change-Id: I154eda0697ec190662dc16edbe09e2213b4a0bae
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-06-14 16:57:25 +05:30
Ashwanth Goli
04e423aaa4 net: rps: send out pending IPI's on CPU hotplug
IPI's from the victim cpu are not handled in dev_cpu_callback.
So these pending IPI's would be sent to the remote cpu only when
NET_RX is scheduled on the victim cpu and since this trigger is
unpredictable it would result in packet latencies on the remote cpu.

This patch add support to send the pending ipi's of victim cpu.

Change-Id: I6e688bf0d09a952468eec18f80ce6b21bf370ef1
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-14 15:11:43 +05:30
Paul Zhang
8510e2c28b icnss: change the cnss name to icnss
Refine the code change for this changeID:
I335a046a886ac3ce35cf96eb71231bfe75d33c60

CRs-Fixed: 2058348
Change-Id: I9a734c8bed284870562ff2d096e7316328f37e02
Signed-off-by: Paul Zhang <paulz@codeaurora.org>
2017-06-14 17:38:43 +08:00
Linux Build Service Account
959abd171b Merge "scsi: ufs: update ufs command logging infrastructure" 2017-06-14 00:55:40 -07:00
Anurag Chouhan
92dc4179ca icnss: Change MSA permissions to collect dump
With certain senarios such as error FATAL, WBOG Bite in modem
WLAN hardware is still alive, while trying to collect the dump
platform driver is removing the MSA permissions from MSS
and WLAN Hardware to HLOS, at the same time if WLAN Hardware
is trying to access the MSA region which results into SNOC error
To avoid such senarios instead of removing MSS and WLAN permissions
MSA is assigned HLOS permissions as well and once the ramdump is collected
HLOS permissions will be removed.

Change-Id: Ic71e0fa8c064fd70dad9958187244909cbb80c0a
CRs-fixed: 2048531
Signed-off-by: Anurag Chouhan <achouhan@qti.qualcomm.com>
2017-06-13 22:51:19 -07:00
Asutosh Das
86bb7105ea scsi: ufs-qcom: Add check for ufs bootdevice
On qcom platforms, bootdevice is the primary storage
device. The regulators to this device are left ON by
the bootloaders. Detecting further in the init sequence
that UFS is not the bootdevice entails turning-off of
these regulators without sending PON. This is bad for
the underlying storage device.

Change-Id: I7e9231f0bcf90d8f329146ae2d831bbb5ef8190e
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-06-14 10:55:47 +05:30