Commit graph

606807 commits

Author SHA1 Message Date
Venu Raidu
d1644a2fe6 msm: camera_v2: Reset CPP AXI at camera close
CPP AXI need to be reset during camera close
to overcome stale data.

Change-Id: I4af43bbf67a84eaa5fc2a722854117a5936ab896
Signed-off-by: Venu Raidu <vraidu@codeaurora.org>
Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org>
Signed-off-by: Shadul Shaikh <sshadu@codeaurora.org>
2019-07-16 11:48:25 +05:30
Linux Build Service Account
1b2ea6cc74 Merge "msm: jpeg: Change io dump logic" 2019-07-12 06:46:11 -07:00
Venu Raidu
9916b1ae3a msm: jpeg: Change io dump logic
Change io dump logic, to avoid invalid
pointer access.

Change-Id: If4261649f7c508169829e66f74ab15a04bc693e7
Signed-off-by: Venu Raidu <vraidu@codeaurora.org>
Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org>
2019-07-12 11:29:14 +05:30
Linux Build Service Account
5944d64a72 Merge "drivers: soc: qcom: rpm_stats: Fix uninitialized buffer usage" 2019-07-11 20:33:50 -07:00
Linux Build Service Account
93070859a7 Merge "wcnss: Read multiple SMD Packet from SMD Channel" 2019-07-11 20:33:48 -07:00
Linux Build Service Account
977118a533 Merge "arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region" 2019-07-11 01:12:34 -07:00
Maulik Shah
92875d96c5 drivers: soc: qcom: rpm_stats: Fix uninitialized buffer usage
Add matching else case to fix uninitialized buffer usage in
case of version id mismatch.

Change-Id: I7140692f62760d8f0e38f1cde4e3f9ce91a263f4
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2019-07-11 13:27:44 +05:30
Linux Build Service Account
6355b448f5 Merge "msm: ais: jpegdma: Added missing lock for dqbuf and streamon" 2019-07-10 12:56:02 -07:00
Linux Build Service Account
4cd8dfc38f Merge "ARM: dts: msm: Enable DP DM pulsing support on MSM8996" 2019-07-10 12:56:01 -07:00
Linux Build Service Account
8819c4f245 Merge "msm: ipa: Fix array out of bound and use after NULL check" 2019-07-10 12:55:59 -07:00
Linux Build Service Account
79401e42e8 Merge "power: qpnp-smbcharger: Change ordering of EXTCON_USB_SPEED" 2019-07-10 12:55:58 -07:00
Sandeep Singh
6e7c0cd6dc wcnss: Read multiple SMD Packet from SMD Channel
It observe that sometime, there are multiple SMD
packets in SMD channel. In current scenario,
driver reading one packet at single event.
Reading all SMD packets to avoid any packets miss.

Change-Id: Id7ef388af6200891b17bbe1456cc2fffa580a3d3
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2019-07-10 20:27:06 +05:30
Chetan C R
342c8676f5 power: qpnp-smbcharger: Change ordering of EXTCON_USB_SPEED
USB presence is notified before setting EXTCON_USB_SPEED,
this prevents the SS PHY resume. Fix this ordering.

Change-Id: I4ad7bc065b968c6a7a461a2a436b7f2c755bab67
Signed-off-by: Chetan C R <cravin@codeaurora.org>
2019-07-10 05:10:53 -07:00
E V Ravi
a54cd970d8 msm: ais: jpegdma: Added missing lock for dqbuf and streamon
Added missing lock to avoid race conditon for dqbuf and
streamon.

Change-Id: I260dfc964066ad68552dfab0c43584708cfc8b8e
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2019-07-10 02:32:53 -07:00
Mohammed Javid
ecf04731f8 msm: ipa: Fix array out of bound and use after NULL check
Couple of code cleanup
 - Check for upper boundary for resource_index
   not to dependent on ipa_rm_dep_get_index function.
 - Check actual argument for NULL and return.

Change-Id: I0ab244e68d96f7841ab2a10e61f2546314166165
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2019-07-10 14:22:54 +05:30
Linux Build Service Account
902ac3910e Merge "usb: phy-msm-susb-qmp: Add checks to check clk_enabled" 2019-07-10 01:21:26 -07:00
Mohammed Javid
eedc5c20ec msm: ipa: Fix pointer checked for NULL may be used
Data pointer may be NULL, check for reset value
to be false in that case and return EINVAL for
invalid argument.

Change-Id: I05a4aa96724c123516a7965bd0e939bdf0c86553
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2019-07-10 13:13:49 +05:30
Chetan C R
74b8097864 usb: phy-msm-susb-qmp: Add checks to check clk_enabled
During dwc3 suspend clk_disable is directly getting
called without calling clk_enable in dwc3 resume
functionality for SS Phy. This fix add a check and
disables clock only if it is enabled.

Change-Id: Id4c4a71ca4e57274c0f09a83ce4d22fe13909cd1
Signed-off-by: Chetan C R <cravin@codeaurora.org>
2019-07-09 23:31:39 -07:00
Sriharsha Allenki
21d3a21698 ARM: dts: msm: Enable DP DM pulsing support on MSM8996
The charger associated with MSM8996 does not support
HVDCP detection by default. Enable DP DM pulsing support
so that charger driver can support HVDCP detection.
And all the 8996 platforms does not have this charger,
hence enable the pulsing support on those platforms
where this charger is present.

Change-Id: I70549df99bd11303d7c334227c869767f5ea51a8
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2019-07-10 11:06:41 +05:30
Linux Build Service Account
a18db927c6 Merge "clocksource: arm_arch_timer: Fix a NULL Pointer dereference" 2019-07-09 16:01:05 -07:00
Ankit Mishra
bacd235ea6 clocksource: arm_arch_timer: Fix a NULL Pointer dereference
In case best_frame is not populated with virtual/physical capable frame,
NULL pointer is passed as an argument to of_iomap .To avoid  NULL pointer
dereference add a check before.

Change-Id: Ia7bad6630662ee3a4ad7c9226f9d3858b2e7a36c
Signed-off-by: Ankit Mishra <ankimi@codeaurora.org>
2019-07-09 14:05:25 +05:30
Linux Build Service Account
8f67218145 Merge "msm: sensor: actuator: fix out of bound read for bivcm region params" 2019-07-09 00:39:59 -07:00
Haibin Liu
1656e2e44d msm: sensor: actuator: fix out of bound read for bivcm region params
The region index for bivcm is not validated against the region size.
This causes out-of-bound read on the KASAN kernel.
Add restriction that region index smaller than region size.

CRs-Fixed: 2379514
Change-Id: I72c4a41a4b41c8fa70c174ffd3215a81eaa14355
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
2019-07-08 19:09:41 -07:00
Linux Build Service Account
1e577bde0f Merge "AndroidKernel: Building dtb.img to support header version 2" 2019-07-08 12:16:27 -07:00
Linux Build Service Account
a19883a728 Merge "Merge android-4.4.184 (282d84a) into msm-4.4" 2019-07-08 01:51:14 -07:00
Linux Build Service Account
1c5947a789 Merge "defconfig: msm: Enable CONFIG_HID_SONY for SDM660 and MSM8998" 2019-07-05 18:32:46 -07:00
Rahul Shahare
493febf7fb AndroidKernel: Building dtb.img to support header version 2
The dtb.img is made by concatenating all the compiled dtbs
after the kernel is compiled. This dtb.img is then added to be
a part of the boot.img.

Change-Id: I9684126c312e3f5988b1eaa298b37037a11fe747
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
2019-07-05 18:45:01 +05:30
Swetha Chikkaboraiah
1f193de795 defconfig: msm: Enable CONFIG_HID_SONY for SDM660 and MSM8998
Enable CONFIG_HID_SONY for compliance with android Q CTS suite
requirement for SDM660 and MSM8998.

Change-Id: Ie87d55f861c47a018b7b368b58ef79f46d449268
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2019-07-05 04:42:18 -07:00
Linux Build Service Account
09d42880fd Merge "msm: camera_v2: isp: update the frame drop during error case" 2019-07-05 02:59:12 -07:00
Linux Build Service Account
19d79e95f1 Merge "msm📷 add trace log support for VFE events" 2019-07-05 02:59:04 -07:00
Linux Build Service Account
3ae0451881 Merge "msm: camera_v2: Remove sysfs bind/unbind files" 2019-07-04 01:52:05 -07:00
Srikanth Uyyala
8be3b55c4c msm: camera_v2: isp: update the frame drop during error case
when pending requests are present due to drop_reconfig,
avoid skip_all programming to hardware during epoch event.

Change-Id: I9a56d179c30484c99c36bf1a9d60e8071fdd4a9a
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org>
2019-07-03 23:44:01 -07:00
Srikanth Uyyala
45b4ac208b msm📷 add trace log support for VFE events
trace log support added for important VFE events,
these traces can be enabled with camera trace event.

Change-Id: I1e5c043ad3b69df632ff63130ff8eea10ab2097c
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org>
2019-07-04 12:12:07 +05:30
Lokesh Kumar Aakulu
5974bd4025 msm: camera_v2: Fix page fault issue in camera ISP
Fix page fault in ISP when there is no reg update
for two consecutive request frame time.

Change-Id: Ie246f146c1ec0785e0e6fa0671dd2ff28fbe6b38
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org>
2019-07-04 12:01:02 +05:30
Srikanth Uyyala
28e17c1f65 msm: camera_v2: isp: handle frame drop due to scheduling latency
There is possibility that due to scheduling latency of tasklet,
user threads VFE hardware could not be updated intime resulting
in fatal error, invalid memory access. Added logic to track
and gracefully handle the scheduling issues.

Change-Id: I29acde4fe23a59e6ff0e5190e1c4b9c59f6ae08f
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org>
2019-07-04 11:53:12 +05:30
Linux Build Service Account
ed8c0918ee Merge "icnss: Reduce the shutdown timeout from 50sec to 15sec" 2019-07-03 00:25:35 -07:00
Linux Build Service Account
7e4d878022 Merge "drm/msm/dsi-staging: Add range check in debugfs_dump_info_read" 2019-07-02 07:13:43 -07:00
Mohammed Siddiq
978400398a icnss: Reduce the shutdown timeout from 50sec to 15sec
Sub-system shutdown timeout is 20 seconds. In wlan platform driver,
modem block shutdown timeout should be less than sub-system timeout.
Hence, change block shutdown timeout to 15 seconds.

Change-Id: I936e0c462858727b86b35b924dd124a5d1434780
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2019-07-02 18:34:16 +05:30
Venu Raidu
4e08c8cbac msm: camera_v2: Remove sysfs bind/unbind files
This change disables dynamic bind/unbind capability
for CPP/JPEG/FD modules since it is not currently supported.

Change-Id: Ice692d7d700c3b7a75463b109265f958993031eb
Signed-off-by: Venu Raidu <vraidu@codeaurora.org>
Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org>
2019-07-02 00:00:19 -07:00
Linux Build Service Account
79a8f21570 Merge "ASoC: sdm660_cdc: Set speaker amplifier enable bit" 2019-07-01 08:54:15 -07:00
Linux Build Service Account
c0f636f832 Merge "cnss2: Update board data file name format" 2019-07-01 00:42:14 -07:00
Srinivasarao P
2958c456e6 Merge android-4.4.184 (282d84a) into msm-4.4
* refs/heads/tmp-282d84a
  Linux 4.4.184
  tcp: refine memory limit test in tcp_fragment()

Change-Id: I99ffacfb623b2cc5acb0401a3dfc08bae6461810
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2019-07-01 10:48:12 +05:30
Linux Build Service Account
bd48b0a101 Merge "msm: kgsl: Add missing check for snapshot IB dump" 2019-06-29 15:41:50 -07:00
Linux Build Service Account
2f5e49a218 Merge "defconfig: msm: Disable EXT2 and EXT3 FS configs for MSM8998" 2019-06-29 15:41:49 -07:00
Linux Build Service Account
46ece1ae20 Merge "sched/walt: Fix the memory leak of idle task load pointers" 2019-06-29 15:41:48 -07:00
Linux Build Service Account
7854013373 Merge "soc: qcom: smem: validate fields of shared structures" 2019-06-29 15:41:47 -07:00
Linux Build Service Account
196d97abd3 Merge "Merge android-4.4.183 (94fd428) into msm-4.4" 2019-06-29 15:41:46 -07:00
Linux Build Service Account
fad4d2e837 Merge "msm: kgsl: Change data type for GPU ib vote" 2019-06-29 15:41:45 -07:00
Linux Build Service Account
54d23a97a0 Merge "drivers: thermal: Use FCAP scm call instead of DMAX in LMH DCVSh" 2019-06-29 15:41:42 -07:00
Greg Kroah-Hartman
282d84add5 This is the 4.4.184 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAl0UCi4ACgkQONu9yGCS
 aT49SxAAliuKcsgijn3gXsIdsJLJPPx/vRJz5anTBAJ5uUX5pBRiEzNFNnU5mBho
 msD4sc1tW/6SopAqC+Wh4p+dg913SC3raVbhT2e+wXY0p8Tu0rCIeHdLOS0UzF9w
 ukYdQuhlXkxjr/m6bBRNxNKGgP0SV9oxWRGZoHGLMPNTVkIqonWyX/uBnXq0R5xo
 Xseu5F2C0BJ21rCwLxhzW1oQn4KXVj/qbZbv59q8KNdyupGMLJdZxQquhcERSLka
 Q7d1U5+YLT0/0+dr8aVAfA23pSHxxpnSocBb7jpPi8mABSTgWjJg983ESOWGA/iO
 /JwH7+und7yo4Iw5dwmEAY7WprXFuv3HgedNAT0dkSo70UjkxqpA+/LPEgOB6KPo
 AZuDQf/cnp7bktfFTucFVtlqc+odPG4yc/DZ9CygxAVqkQI9OWAbVYHL0zNN5LiD
 xbVJ+9sHg6m2e1PPaHQNJdzi9fKiWesMu3hhP5rovuqZa6QMtWxCviAkiKY8n0XM
 Wbc7Aoi7w2U/01YkklUq+Ku99ceh8d8i33j/WDawb0+Jy2/VynDu1faQTZ/Qx+in
 604TG6mOfru9nVaOXM8e2+PU4ZtCorXyc0+yPsAnQs+aCRrC3PEWSAAnCoCAXGMu
 nbQXsMFKwS3wjRYVbBsROjE+Nn2hhNiGleqpNaVMugr6V+TJNhI=
 =6BDD
 -----END PGP SIGNATURE-----

Merge 4.4.184 into android-4.4

Changes in 4.4.184
	tcp: refine memory limit test in tcp_fragment()
	Linux 4.4.184

Change-Id: I7119c826708041464de37eaec1d6c5a344be8124
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2019-06-28 11:20:02 +02:00