Commit graph

597997 commits

Author SHA1 Message Date
Linux Build Service Account
2c333d317c Merge "msm: ipa: Fix to handle NULL pointer dereference" 2018-03-10 21:18:49 -08:00
Mohammed Javid
806eaf6ffe msm: ipa: Fix to handle NULL pointer dereference
Header entry deleted but same entry pointer using in
routing table not updated. Added checks to confirm
header entry present or not before using it to avoid
null pointer dereference.

Change-Id: Id1d844c60b2dcb0cc7cf18352b78d62fe5a89347
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-03-10 03:53:07 -08:00
Linux Build Service Account
16a3488d96 Merge "[drm-sde] remove additional release fence offset" 2018-03-09 23:14:55 -08:00
Linux Build Service Account
3d59d5cbc0 Merge "ARM: dts: msm: Configure GPIO98 as the active output for Mizar" 2018-03-09 23:14:53 -08:00
Linux Build Service Account
650877ff28 Merge "ARM: dts: msm: Add subsys notification virtualization on msm8996 vplatform" 2018-03-09 23:14:51 -08:00
Linux Build Service Account
f24c6aec3e Merge "ath10k: Skip reading of utf.bin file" 2018-03-09 23:14:50 -08:00
Clarence Ip
777a58fa41 drm/msm: init enum properties to default value
Initialize DRM/KMS enumeration properties to the first
defined value rather than 0 since enumeration properties
are meant to store the actual value rather than simply
an enumeration index.

Change-Id: I23dd62308a2d3a45c763090b6f0557634ed49d63
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2018-03-09 14:28:51 -08:00
Camus Wong
654000d2d7 [drm-sde] remove additional release fence offset
Remove additional release fence offset to fix deadlock between
graphics and display when only two buffers are used.

Change-Id: Ifc94dae28484e13fae6cb9a7dfd19c1cb13c7c20
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2018-03-09 16:20:40 -05:00
Lakshmi Narayana Kalavala
5d1c2b0226 drm/msm : add null check on framebuffer in cleanup
Add null check on pointer to fb before dereferencing.

CRs-Fixed: 2124966
Change-Id: Ic88aee498c432c8e9350f2d2fad538acd2a9b37f
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-09 12:28:08 -08:00
Bharathraj Nagaraju
16e03973ae ARM: dts: msm: Configure GPIO98 as the active output for Mizar
Configure GPIO98 as active output & drive low.
Delete pinctrl property for audio_ext_clk node.

Change-Id: Ic5178ff44a89433848bdd1a92bc3e3b122aeeffd
Signed-off-by: Bharathraj Nagaraju <snbraj@codeaurora.org>
2018-03-09 10:45:32 -08:00
Karthikeyan Mani
023bc4e0bf ASoC: msm: qdsp6v2: check for buffer size before read
Check for debugfs ops buf size passed before reading
to eliminate the possibility of reading out of bounds.

Change-Id: I28fd60ce93256b6b0bad62b449092a891cc15463
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-09 10:34:18 -08:00
Linux Build Service Account
e6408fea60 Merge "scsi: ufs: do not destroy clk scaling work queue if it is NULL" 2018-03-09 02:47:56 -08:00
Linux Build Service Account
4e755a752e Merge "asoc: msm: add check for integer overflow" 2018-03-09 02:47:54 -08:00
Linux Build Service Account
bc60923a9f Merge "mm/migration: make isolate_movable_page() return int type" 2018-03-09 02:47:52 -08:00
Linux Build Service Account
b36bac6b0d Merge "mm/hotplug: enable memory hotplug for non-lru movable pages" 2018-03-09 02:47:52 -08:00
Linux Build Service Account
951119485b Merge "profiler: memset cnt_buf before use" 2018-03-09 02:47:50 -08:00
Linux Build Service Account
b83a3d1c47 Merge "soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver" 2018-03-09 02:47:49 -08:00
Rakesh Pillai
086d1f49c7 ath10k: Skip reading of utf.bin file
The non-bmi targets do need to load firmware from the
driver and is loaded by other procedure.

Since, utf.bin file is not needed, this change skips parsing
and loading of the same.

Change-Id: Id7cc0b1cd75f813c1b6c762685d8806a30ba8295
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2018-03-09 12:11:07 +05:30
Cong Tang
3886996825 ASoC: msm: Fix repeated reg phy stream issue
Fix repeated reg phy stream issue in loopback driver
which cause audio dsp calibration failure due to
rtac device could not remove successfully.

Change-Id: Ifa1b9cd579bc313d4addc00d48a8b4b636181220
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-03-08 20:13:05 -08:00
Lakshmi Narayana Kalavala
47f361f8fc drm/msm: move display and event threads to realtime priority
Display thread processes the work assigned by HAL for
screen update. Current logic selects the thread priority
to default and causes the frame drop. This patch moves
the display thread to realtime priority to process the display
work items at realtime. Event thread must follow the
display thread priority to avoid frame_pending counters
beyond 2.

Change-Id: I9154b749550cee52da1d16d22a8418676325e769
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-08 13:07:48 -08:00
Lakshmi Narayana Kalavala
4f2aa096ba drm/msm: support shutdown sequence on msm driver
Add shutdown sequence in msm driver to turn off
all connectors/bridge gracefully. That will allow
the graceful shutdown for dsi panel.

Change-Id: I055bd57a45706478c785b7a3c41bf7623dd8d2e7
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-08 13:07:14 -08:00
Lloyd Atkinson
9b8a81b479 drm/msm/sde: propagate the cdm block length from the catalog
Add the missing CDM block length parsed by the hardware catalog
into the hardware block data structure so that the debug dump
region can be properly registered.

Change-Id: I395164960484ede34a781785b4ed0e2a60ef0e50
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-08 13:03:23 -08:00
Alan Kwong
6cbd699203 drm/msm/sde: add ubwc equivalent tile formats
The tile format table is missing few ubwc equivalent formats.
Add those missing formats to the tile format table.

Change-Id: Ie5392f820a5a5f3a94405ab73d3c3f8a7efa0f9f
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
2018-03-08 12:58:44 -08:00
Steve Cohen
8e17ebd285 drm/msm/sde: set the tile height for all supported formats
The sde_format structure contains a tile_height member which was
never initialized.  SmartDMA validation uses this field and expects
it to be set properly.

Change-Id: I87bb49e5bab63c33a8c01271ee1a38b3cb8372bc
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
2018-03-08 12:58:07 -08:00
Anant Goel
92caf2f356 ARM: dts: msm: Add subsys notification virtualization on msm8996 vplatform
Add subsystem_notif_virt device to support subsystem
notifications virtualization for subsystems.

Change-Id: Icc8118e834e2c1c0e54fc7380fe3ea8c7a173665
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2018-03-08 10:41:05 -08:00
Linux Build Service Account
07324253e2 Merge "DRM: SDE: Fix potential buffer overflow in SDE encoder" 2018-03-08 04:27:51 -08:00
Srinivasarao P
22397c476f Merge android-4.4.120 (d63fdf6) into msm-4.4
* refs/heads/tmp-d63fdf6
  Linux 4.4.120
  MIPS: Implement __multi3 for GCC7 MIPS64r6 builds
  net: gianfar_ptp: move set_fipers() to spinlock protecting area
  sctp: make use of pre-calculated len
  xen/gntdev: Fix partial gntdev_mmap() cleanup
  xen/gntdev: Fix off-by-one error when unmapping with holes
  SolutionEngine771x: fix Ether platform data
  mdio-sun4i: Fix a memory leak
  xen-netfront: enable device after manual module load
  bnxt_en: Fix the 'Invalid VF' id check in bnxt_vf_ndo_prep routine.
  can: flex_can: Correct the checking for frame length in flexcan_start_xmit()
  mac80211: mesh: drop frames appearing to be from us
  drm/ttm: check the return value of kzalloc
  e1000: fix disabling already-disabled warning
  xfs: quota: check result of register_shrinker()
  xfs: quota: fix missed destroy of qi_tree_lock
  IB/ipoib: Fix race condition in neigh creation
  IB/mlx4: Fix mlx4_ib_alloc_mr error flow
  s390/dasd: fix wrongly assigned configuration data
  led: core: Fix brightness setting when setting delay_off=0
  bnx2x: Improve reliability in case of nested PCI errors
  tg3: Enable PHY reset in MTU change path for 5720
  tg3: Add workaround to restrict 5762 MRRS to 2048
  lib/mpi: Fix umul_ppmm() for MIPS64r6
  ARM: dts: ls1021a: fix incorrect clock references
  scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error
  net: arc_emac: fix arc_emac_rx() error paths
  spi: atmel: fixed spin_lock usage inside atmel_spi_remove
  drm/nouveau/pci: do a msi rearm on init
  sget(): handle failures of register_shrinker()
  ARM: 8731/1: Fix csum_partial_copy_from_user() stack mismatch
  ipv6: icmp6: Allow icmp messages to be looped back
  mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM
  f2fs: fix a bug caused by NULL extent tree
  hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
  ANDROID: keychord: Check for write data size
  Revert "binder: add missing binder_unlock()"
  Linux 4.4.119
  binder: add missing binder_unlock()
  drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
  usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
  usb: gadget: f_fs: Process all descriptors during bind
  usb: ldusb: add PIDs for new CASSY devices supported by this driver
  usb: dwc3: gadget: Set maxpacket size for ep0 IN
  drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
  Add delay-init quirk for Corsair K70 RGB keyboards
  arm64: Disable unhandled signal log messages by default
  usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()
  irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()
  x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
  iio: adis_lib: Initialize trigger before requesting interrupt
  iio: buffer: check if a buffer has been set up when poll is called
  cfg80211: fix cfg80211_beacon_dup
  scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info
  ip_tunnel: fix preempt warning in ip tunnel creation/updating
  ip_tunnel: replace dst_cache with generic implementation
  PCI: keystone: Fix interrupt-controller-node lookup
  powerpc/64s: Fix RFI flush dependency on HARDLOCKUP_DETECTOR
  netfilter: drop outermost socket lock in getsockopt()
  ANDROID: sdcardfs: Set num in extension_details during make_item

Conflicts:
	drivers/usb/gadget/function/f_fs.c

Change-Id: I594b9686fd64d4b62ebef4452d4f1ccca4f5a77b
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2018-03-08 17:53:30 +05:30
Anant Goel
f64af1ec50 soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver
The guest VM uses this driver to communicate subsystem state related
notifications to a backend driver via the virtual device's registers.

Change-Id: I612fcb641c4d531c1d2c0fd18f44f7ebff040f2c
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2018-03-07 12:05:28 -08:00
Linux Build Service Account
b02928f9da Merge "i2c-msm-v2: Replace HW recovery mechanism with SW bit-banging" 2018-03-07 09:16:40 -08:00
Linux Build Service Account
1ccffb8bdd Merge "ais: match type to avoid array overflow" 2018-03-07 09:16:39 -08:00
Linux Build Service Account
5f0137e535 Merge "sched: add sched_get_cpu_last_busy_time() API" 2018-03-07 09:16:38 -08:00
Linux Build Service Account
bbfcd05a31 Merge "Revert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards"" 2018-03-07 09:16:37 -08:00
Linux Build Service Account
52981940d7 Merge "clk: qcom: mdss: improve DSI PLL's performance" 2018-03-07 09:16:35 -08:00
Linux Build Service Account
a3c86eca63 Merge "msm: vidc: enable port reconfig for thumbnail session" 2018-03-07 09:16:34 -08:00
Linux Build Service Account
ef0769db30 Merge "Merge android-4.4.118 (5f7f76a) into msm-4.4" 2018-03-07 09:16:32 -08:00
Linux Build Service Account
296628bc78 Merge "Merge android-4.4.117 (4ec3656) into msm-4.4" 2018-03-07 09:16:31 -08:00
Linux Build Service Account
d30c02ed5b Merge "Merge android-4.4.116 (20ddb25) into msm-4.4" 2018-03-07 09:16:30 -08:00
Linux Build Service Account
40cb358707 Merge "clk: msm: Add reset support in dummy clock driver" 2018-03-07 09:16:29 -08:00
Zhiqiang Tu
c22296053a defconfig: msm: Disable secure qsee support for msm8996 auto
Automotive platform doesn't need secure qsee support.

Change-Id: I9f7885b6057bb44c158eb5e32ebbff85bb598c2e
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2018-03-07 15:29:07 +08:00
Manoj Prabhu B
a2ad16a353 diag: Proper update of logging mode
The patch properly updates the logging mode after an user PD
on-device logging session is killed preventing a mutex deadlock
and thereby safe ODL session clearing.

CRs-Fixed: 2154183
Change-Id: I8451ed3869f5b75860684d5ef4119befd0cb2723
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-03-07 12:21:21 +05:30
Gustavo Solaira
7327c28169 Revert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards"
This reverts commit a8c85fc795.
Reverted because support for MPC5746C SPI-CAN is being
added back to the platform.

Change-Id: Ib14caf39a8cba9c6028abceb85adcd43df53ba06
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2018-03-06 22:47:50 -08:00
Lei wang
94e90bcf7f profiler: memset cnt_buf before use
fix cnf_buf.cmd is uninitialized in bw_profiling_get

Change-Id: I9638fe423e6768c66a85e80c0d5175b8a33c1901
Signed-off-by: Lei wang <leiwan@codeaurora.org>
2018-03-06 22:04:33 -08:00
Can Guo
8a7e59ba7f scsi: ufs: do not destroy clk scaling work queue if it is NULL
Function ufshcd_hba_exit might be called to destroy clk scaling work queue
if failure happends in function ufshcd_init before clk gating work queue
is created. This change fixs it by skipping destroying clk scaling work
queue if it is NULL.

Change-Id: Ifb1c46f490749e4afe7cea331c29d073175f68ef
Signed-off-by: Can Guo <cang@codeaurora.org>
2018-03-07 13:03:25 +08:00
Linux Build Service Account
834739e911 Merge "drm/msm-hyp: overwrite hyp ioctls used by libgbm" 2018-03-06 20:57:58 -08:00
Linux Build Service Account
c70b573a90 Merge "ath10k: fix the invalid STA disconnect after wow resume" 2018-03-06 20:57:57 -08:00
Linux Build Service Account
25eb087db9 Merge "defconfig: arm64: msm: Enable SPMI msm8996 virtual platform" 2018-03-06 20:57:55 -08:00
Linux Build Service Account
39e3389b79 Merge "ASoC: msm: Support Channel Mixer Cfg" 2018-03-06 20:57:54 -08:00
Linux Build Service Account
83efda84fc Merge "ARM: dts: msm: Disable usb phy by default on msm8996 vplatform" 2018-03-06 20:57:53 -08:00
Linux Build Service Account
2ad3d8cb64 Merge "spmi: msm: correct len part in formatted cmd value." 2018-03-06 20:57:51 -08:00
Linux Build Service Account
df41a54a67 Merge "drm/msm: HPD_OFF Property for SDE HDMI Connector" 2018-03-06 20:57:50 -08:00