Commit graph

605729 commits

Author SHA1 Message Date
Vijayavardhan Vennapusa
2b163b082a misc: ksbridge: Add support for sending uevent with pid/vid
Add required support in ksbridge driver to send uevent with vendor id
and product id details.

Change-Id: I22974dfa63665e6ddcbda2f7d11c68f716c1c760
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2019-05-08 11:32:46 +05:30
Linux Build Service Account
3d1854afeb Merge "diag: Prevent out of bound access while getting build mask" 2019-04-24 12:53:42 -07:00
Linux Build Service Account
57a9ae0f56 Merge "diag: Check command size against the minimum before parsing" 2019-04-24 12:53:41 -07:00
Linux Build Service Account
5c6e98d4e4 Merge "diag: dci: Add missing length check before parsing the buffer" 2019-04-24 12:53:39 -07:00
Manoj Prabhu B
ef3ade93af diag: Prevent out of bound access while getting build mask
Add check for minimum length before typecasting to build mask
structure to prevent out of bound access.

CRs-Fixed: 2431005
Change-Id: I97b439ead62c8a67869c9209442ef771308f2d3f
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2019-04-24 21:42:10 +05:30
Manoj Prabhu B
337a4a8798 diag: Check command size against the minimum before parsing
Add check for minimum length before typecasting to build mask
structure to prevent out of bound access while processing
get msg mask command.

CRs-Fixed: 2431047
Change-Id: I5b8341f278b0b46359800e43c604c5671261c728
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2019-04-24 08:45:39 -07:00
Manoj Prabhu B
c2b12fecfa diag: dci: Add missing length check before parsing the buffer
Missing check against a structure is added to prevent possible
out of bound access while processing dci packet response.

CRs-Fixed: 2434612
Change-Id: I32c83dcc70bcf6465723be669d23e9f523e82755
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2019-04-24 03:30:11 -07:00
E V Ravi
38d4aa7f02 msm: For camera driver Adding null checks to uninitialize
Unintializing if null check is true before clk_info used
and assigning to NULL if dt check fails.

Change-Id: Ide5b7fc51a9fcb0d22333a3063f21963c0747319
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2019-04-23 22:51:12 -07:00
Linux Build Service Account
147ed3c774 Merge "Revert "cfg80211/nl80211: Offload OWE processing to user space"" 2019-04-23 12:06:58 -07:00
Gerrit - the friendly Code Review server
e0f69caa36 Merge changes into msm-4.4 2019-04-23 05:36:08 -07:00
Linux Build Service Account
d1f0a27fac Merge "msm: sps: Update debug message format specifier" 2019-04-22 19:59:35 -07:00
Linux Build Service Account
ff6c90ba76 Merge "ASoC: msm: Check adsp state after SSR" 2019-04-22 05:53:25 -07:00
Linux Build Service Account
8589eec681 Merge "lsm: check payload size validity before using it as array index" 2019-04-22 05:53:23 -07:00
Min Liu
8a44273ed5 Revert "cfg80211/nl80211: Offload OWE processing to user space"
This reverts commit f57fa308b0.

bssid in cfg80211_update_owe_info need to be changed to peer.

Change-Id: I7cf248926fe1b86c3a75d5441955ce4cb60c91f7
CRs-Fixed: 2414077
Signed-off-by: Min Liu <minliu@codeaurora.org>
2019-04-22 18:54:41 +08:00
Jishnu Prakash
3c74f04c2a msm: sps: Update debug message format specifier
Restrict printing of kernel virtual addresses in SPS driver.

In debug prints, handles to bam device structures may be printed
as integers. As these handles are obtained by casting pointer
to bam device structures to integer, they can reveal addresses
of the structures to attackers.

Cast the handles in debug prints to pointers, printed with with %pK,
which hides these values if kptr_restrict is set (default on Android).

Change-Id: Idd28c7d11a06113605f7428a4cfc2505c1ae0073
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2019-04-22 10:31:05 +05:30
Erin Yan
8229f3db34 ASoC: msm: Check adsp state after SSR
ADSP core might no be fully ready after subsystem restart complete.
Need check adsp state before set sndcard state online.

Change-Id: I8aff9fc992c9d6d10115d95061a87920cde10133
Signed-off-by: Erin Yan <xinyey@codeaurora.org>
2019-04-21 21:05:06 -07:00
Linux Build Service Account
8b61860415 Merge "cnss2: Remove setting recovery state during driver unload" 2019-04-19 06:45:59 -07:00
Linux Build Service Account
30af8d44d5 Merge "cnss2: Add device version to SOC info structure" 2019-04-18 21:12:45 -07:00
Linux Build Service Account
9d116c8108 Merge "msm: kgsl: Add common Boot KPI marker" 2019-04-18 21:12:42 -07:00
Yue Ma
27f1619b2f cnss2: Add device version to SOC info structure
Interface change to add device version which will provide WLAN
SOC HW version related info.

Change-Id: Ib3de58809146aa0c79e56c6df59794a1849211ea
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2019-04-18 18:32:19 -07:00
Linux Build Service Account
110e25da9d Merge "drm/msm/sde: fix null pointer dereference" 2019-04-18 13:26:44 -07:00
kunleiz
e41fee9833 lsm: check payload size validity before using it as array index
Payload size validity is not checked before using it in array index.
Check payload size to avoid out-of-boundary memory.

Change-Id: Ic0b06bb331fc1753ff7543bb218ab12d6a4a3ca8
Signed-off-by: kunleiz <kunleiz@codeaurora.org>
2019-04-17 10:31:04 +08:00
Linux Build Service Account
f3ec53af1d Merge "drm: msm: sde: remove hdr property setting error message" 2019-04-16 12:21:00 -07:00
Linux Build Service Account
e69141d2f8 Merge "drm: msm: sde: improve display interface timeout mechanism" 2019-04-16 12:20:59 -07:00
Linux Build Service Account
7ddcfc4bd2 Merge "drm/msm/sde: do not send stop splash signal from eDRM to LK" 2019-04-16 12:20:58 -07:00
Jayachandran Sreekumaran
00389026f8 cnss2: Remove setting recovery state during driver unload
Remove setting the recovery state in wlan driver unload path.

Change-Id: Ib59c8d406fe67f14b7893884f23d323e87e2490f
Signed-off-by: Jayachandran Sreekumaran <jsreekum@codeaurora.org>
2019-04-16 19:00:08 +05:30
Rahul Sharma
a18089dad1 drm/msm: ensure msm_drm probe and eDRM Probe completion
There are issues when display driver probe() execution is scheduled
out during kernel boot because probe_type marked as
PROBE_PREFER_ASYNCHRONOUS.
Since there are few kernel modules that needs display driver to be
initialized. This change adds late_initcall() function which waits
for the completion of probes() to ensure that display is
initialized before other kernel module which can impact the system
boot behavior.

Change-Id: Idd83ac0450ed6f8e09dc98de8bbcec05942302e7
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2019-04-15 21:10:25 -07:00
Linux Build Service Account
15e17660ba Merge "icnss: return recovery success to wlan driver" 2019-04-12 08:20:36 -07:00
Linux Build Service Account
e3b50ff0b5 Merge "usb: xhci: Reduce command abort handshake timeout" 2019-04-11 22:13:31 -07:00
Linux Build Service Account
b6645f6222 Merge "usb: xhci: remove unnecessary second abort try" 2019-04-11 22:13:29 -07:00
Linux Build Service Account
f02dfcce2c Merge "usb: XHCI: Implement xhci_handshake_check_state() API" 2019-04-11 22:13:28 -07:00
Sandeep Singh
bb31c0f2ef icnss: return recovery success to wlan driver
During firmware rejuvenation the platform driver
got the pd_down indication at the same time due to
timeout in getting the ACK for the PDEV_SUSPEND command
host driver issues self recovery. Since the PD_RESTART bit
is set from the rejuvenation, platform driver rejected
the recovery request resulting in the driver bug_on.
Hence, return recovery success to wlan driver when recovery is
already in progress.

Change-Id: I2fb63970a5952c8a50c7eb7f4ab0ca9fcb5657b0
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2019-04-12 10:31:08 +05:30
Guchun Chen
dd7aeab5ed drm: msm: sde: improve display interface timeout mechanism
When enabling splash in LK, after kernel boots up, sometimes
interface timeout issue may happen. This is caused by kernel's
defect when decreasing pending frame kickoff count in vblank isr.
As LK and kernel may concurrently flush pipes, so flush_bit may
be set by LK, while kernel still treats a timeout issue if it's
not 0. This change is to fix the defect.

Change-Id: I928e444074617adf2dc86134dd3a96701c8f6aca
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2019-04-11 23:00:20 +08:00
Rahul Sharma
61436825c4 drm/msm/sde: do not send stop splash signal from eDRM to LK
When eDRM commits the frame it tells LK to stop the splash
and waits for around 4 seconds to get the acknowledgment from LK.
Since LK would keep on running when RVC is also active
so eDRM on each commit will poll for 4 seconds.
In order to resolve the problem, eDRM should not tell LK to stop splash
and neither wait for the acknowledgment from LK.

Change-Id: I0bae0946445fa26898f85eaece943ff4ab93cfbd
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2019-04-11 04:54:10 -07:00
Rahul Sharma
c8fffde012 drm/msm/sde: fix null pointer dereference
This change is done to fix null pointer dereference
in edrm_connector_get_modes().

Change-Id: If4461f2e6dbfc107e17d987e0a92eb1924922931
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2019-04-11 17:17:44 +05:30
rahsha
e2a49d1ee4 msm: kgsl: Add common Boot KPI marker
Add a boot marker to indicate the time when gpu
driver probe is completed and the device is ready.

Change-Id: I71655d8f54c708ef675d9d1391c44347d845f97a
Signed-off-by: rahsha <rahsha@codeaurora.org>
2019-04-11 15:53:27 +05:30
Linux Build Service Account
55b4dd9721 Merge "Merge android-4.4.178 (7af10f2) into msm-4.4" 2019-04-10 15:10:06 -07:00
Linux Build Service Account
6a75b0f79e Merge "diag: Update new msg, log and event logging codes" 2019-04-10 05:07:46 -07:00
Manoj Prabhu B
e776f64726 diag: Update new msg, log and event logging codes
New requirement of logging enablement for new msg SSIDs,
logs and events mask codes are added.

Change-Id: I00522d93dad690fd31ce1058dcdb71364edbe738
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2019-04-10 14:18:07 +05:30
Rajasekaran Kalidoss
04235478f2 cnss2: Support USB SSR and disconnect scenarios
For USB devices, irrecoverable scenarios in firmware
can lead to USB bus disconnect. In USB disconnect, the
interface and dev structures passed by USB sub system
are freed and are no longer valid. The current
implementation is PCIe specific and assumes dev struct
being present and valid always. The clean way to handle
this for HL(USB/SDIO) is to call pld_usb_remove in
disconnect and pld_usb_probe in re-connect after a recovery

Change-Id: I3fc9a5a2fc7bb53439b0410e61f381aa94e18634
Signed-off-by: Rajasekaran Kalidoss <rkalidos@codeaurora.org>
2019-04-09 17:46:24 -07:00
Guisen Yang
9ec08ea59b cnss2: Export a platform API to force collect ramdump
Add an API to force collect ramdump in platform driver. This API will be
called from WLAN driver to collect  ramdump before calling kernel panic.

CRs-Fixed: 2351811
Change-Id: Ic88769beec4f7f8303fc2c0803012789e02c9f4f
Signed-off-by: Guisen Yang <guiseny@codeaurora.org>
2019-04-08 19:43:57 -07:00
Guchun Chen
6e658671ee drm: msm: sde: remove hdr property setting error message
Add a check to ensure HDR property is valid before updating
connector hdr. This can remove drm property setting error
message during booting up.

Change-Id: I7434f7f2cc5ca0007c87d3ba0e504758a0c879d1
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2019-04-08 17:38:30 +08:00
Linux Build Service Account
f5387f19b7 Merge "dsp: q6usm: Release spinlock before return if invalid payload size" 2019-04-05 01:16:51 -07:00
Srinivasarao P
43751312d7 Merge android-4.4.178 (7af10f2) into msm-4.4
* refs/heads/tmp-7af10f2
  Linux 4.4.178
  stm class: Hide STM-specific options if STM is disabled
  coresight: removing bind/unbind options from sysfs
  arm64: support keyctl() system call in 32-bit mode
  Revert "USB: core: only clean up what we allocated"
  xhci: Fix port resume done detection for SS ports with LPM enabled
  KVM: Reject device ioctls from processes other than the VM's creator
  x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
  perf intel-pt: Fix TSC slip
  gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
  fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
  Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
  USB: serial: option: add Olicard 600
  USB: serial: option: set driver_info for SIM5218 and compatibles
  USB: serial: mos7720: fix mos_parport refcount imbalance on error path
  USB: serial: ftdi_sio: add additional NovaTech products
  USB: serial: cp210x: add new device id
  serial: sh-sci: Fix setting SCSCR_TIE while transferring data
  serial: max310x: Fix to avoid potential NULL pointer dereference
  staging: vt6655: Fix interrupt race condition on device start up.
  staging: vt6655: Remove vif check from vnt_interrupt
  tty: atmel_serial: fix a potential NULL pointer dereference
  scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
  scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
  scsi: sd: Fix a race between closing an sd device and sd I/O
  ALSA: pcm: Don't suspend stream in unrecoverable PCM state
  ALSA: pcm: Fix possible OOB access in PCM oss plugins
  ALSA: seq: oss: Fix Spectre v1 vulnerability
  ALSA: rawmidi: Fix potential Spectre v1 vulnerability
  ALSA: compress: add support for 32bit calls in a 64bit kernel
  ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
  btrfs: raid56: properly unmap parity page in finish_parity_scrub()
  btrfs: remove WARN_ON in log_dir_items
  mac8390: Fix mmio access size probe
  sctp: get sctphdr by offset in sctp_compute_cksum
  vxlan: Don't call gro_cells_destroy() before device is unregistered
  tcp: do not use ipv6 header for ipv4 flow
  packets: Always register packet sk in the same order
  Add hlist_add_tail_rcu() (Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net)
  net: rose: fix a possible stack overflow
  net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
  mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
  dccp: do not use ipv6 header for ipv4 flow
  stmmac: copy unicast mac address to MAC registers
  cfg80211: size various nl80211 messages correctly
  mmc: mmc: fix switch timeout issue caused by jiffies precision
  arm64: kconfig: drop CONFIG_RTC_LIB dependency
  video: fbdev: Set pixclock = 0 in goldfishfb
  cpu/hotplug: Handle unbalanced hotplug enable/disable
  usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG
  usb: gadget: configfs: add mutex lock before unregister gadget
  ipv6: fix endianness error in icmpv6_err
  stm class: Fix stm device initialization order
  stm class: Do not leak the chrdev in error path
  PM / Hibernate: Call flush_icache_range() on pages restored in-place
  arm64: kernel: Include _AC definition in page.h
  perf/ring_buffer: Refuse to begin AUX transaction after rb->aux_mmap_count drops
  mac80211: fix "warning: ‘target_metric’ may be used uninitialized"
  arm64/kernel: fix incorrect EL0 check in inv_entry macro
  ARM: 8510/1: rework ARM_CPU_SUSPEND dependencies
  staging: goldfish: audio: fix compiliation on arm
  staging: ion: Set minimum carveout heap allocation order to PAGE_SHIFT
  staging: ashmem: Add missing include
  staging: ashmem: Avoid deadlock with mmap/shrink
  asm-generic: Fix local variable shadow in __set_fixmap_offset
  coresight: etm4x: Check every parameter used by dma_xx_coherent.
  coresight: "DEVICE_ATTR_RO" should defined as static.
  stm class: Fix a race in unlinking
  stm class: Fix unbalanced module/device refcounting
  stm class: Guard output assignment against concurrency
  stm class: Fix unlocking braino in the error path
  stm class: Support devices with multiple instances
  stm class: Prevent user-controllable allocations
  stm class: Fix link list locking
  stm class: Fix locking in unbinding policy path
  coresight: remove csdev's link from topology
  coresight: release reference taken by 'bus_find_device()'
  coresight: coresight_unregister() function cleanup
  coresight: fixing lockdep error
  writeback: initialize inode members that track writeback history
  Revert "mmc: block: don't use parameter prefix if built as module"
  net: diag: support v4mapped sockets in inet_diag_find_one_icsk()
  perf: Synchronously free aux pages in case of allocation failure
  arm64: hide __efistub_ aliases from kallsyms
  hid-sensor-hub.c: fix wrong do_div() usage
  vmstat: make vmstat_updater deferrable again and shut down on idle
  android: unconditionally remove callbacks in sync_fence_free()
  ARM: 8494/1: mm: Enable PXN when running non-LPAE kernel on LPAE processor
  ARM: 8458/1: bL_switcher: add GIC dependency
  efi: stub: define DISABLE_BRANCH_PROFILING for all architectures
  arm64: fix COMPAT_SHMLBA definition for large pages
  mmc: block: Allow more than 8 partitions per card
  sched/fair: Fix new task's load avg removed from source CPU in wake_up_new_task()
  Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
  Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
  ath10k: avoid possible string overflow
  rtc: Fix overflow when converting time64_t to rtc_time
  USB: core: only clean up what we allocated
  lib/int_sqrt: optimize small argument
  serial: sprd: clear timeout interrupt only rather than all interrupts
  usb: renesas_usbhs: gadget: fix unused-but-set-variable warning
  arm64: traps: disable irq in die()
  Hang/soft lockup in d_invalidate with simultaneous calls
  serial: sprd: adjust TIMEOUT to a big value
  tcp/dccp: drop SYN packets if accept queue is full
  usb: gadget: Add the gserial port checking in gs_start_tx()
  usb: gadget: composite: fix dereference after null check coverify warning
  kbuild: setlocalversion: print error to STDERR
  extcon: usb-gpio: Don't miss event during suspend/resume
  mm/rmap: replace BUG_ON(anon_vma->degree) with VM_WARN_ON
  mmc: core: fix using wrong io voltage if mmc_select_hs200 fails
  arm64: mm: Add trace_irqflags annotations to do_debug_exception()
  usb: dwc3: gadget: Fix suspend/resume during device mode
  mmc: core: shut up "voltage-ranges unspecified" pr_info()
  mmc: sanitize 'bus width' in debug output
  mmc: make MAN_BKOPS_EN message a debug
  mmc: debugfs: Add a restriction to mmc debugfs clock setting
  mmc: pwrseq_simple: Make reset-gpios optional to match doc
  ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
  ALSA: hda - Record the current power state before suspend/resume calls
  locking/lockdep: Add debug_locks check in __lock_downgrade()
  media: v4l2-ctrls.c/uvc: zero v4l2_event
  mmc: tmio_mmc_core: don't claim spurious interrupts
  ext4: brelse all indirect buffer in ext4_ind_remove_space()
  ext4: fix data corruption caused by unaligned direct AIO
  ext4: fix NULL pointer dereference while journal is aborted
  futex: Ensure that futex address is aligned in handle_futex_death()
  MIPS: Fix kernel crash for R6 in jump label branch function
  mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
  udf: Fix crash on IO error during truncate
  drm/vmwgfx: Don't double-free the mode stored in par->set_mode
  mmc: pxamci: fix enum type confusion
  ANDROID: drop CONFIG_INPUT_KEYCHORD from cuttlefish and ranchu
  UPSTREAM: virt_wifi: Remove REGULATORY_WIPHY_SELF_MANAGED
  UPSTREAM: net: socket: set sock->sk to NULL after calling proto_ops::release()
  f2fs: set pin_file under CAP_SYS_ADMIN
  f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
  f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
  f2fs: fix to do sanity check with inode.i_inline_xattr_size
  f2fs: give some messages for inline_xattr_size
  f2fs: don't trigger read IO for beyond EOF page
  f2fs: fix to add refcount once page is tagged PG_private
  f2fs: remove wrong comment in f2fs_invalidate_page()
  f2fs: fix to use kvfree instead of kzfree
  f2fs: print more parameters in trace_f2fs_map_blocks
  f2fs: trace f2fs_ioc_shutdown
  f2fs: fix to avoid deadlock of atomic file operations
  f2fs: fix to dirty inode for i_mode recovery
  f2fs: give random value to i_generation
  f2fs: no need to take page lock in readdir
  f2fs: fix to update iostat correctly in IPU path
  f2fs: fix encrypted page memory leak
  f2fs: make fault injection covering __submit_flush_wait()
  f2fs: fix to retry fill_super only if recovery failed
  f2fs: silence VM_WARN_ON_ONCE in mempool_alloc
  f2fs: correct spelling mistake
  f2fs: fix wrong #endif
  f2fs: don't clear CP_QUOTA_NEED_FSCK_FLAG
  f2fs: don't allow negative ->write_io_size_bits
  f2fs: fix to check inline_xattr_size boundary correctly
  Revert "f2fs: fix to avoid deadlock of atomic file operations"
  Revert "f2fs: fix to check inline_xattr_size boundary correctly"
  f2fs: do not use mutex lock in atomic context
  f2fs: fix potential data inconsistence of checkpoint
  f2fs: fix to avoid deadlock of atomic file operations
  f2fs: fix to check inline_xattr_size boundary correctly
  f2fs: jump to label 'free_node_inode' when failing from d_make_root()
  f2fs: fix to document inline_xattr_size option
  f2fs: fix to data block override node segment by mistake
  f2fs: fix typos in code comments
  f2fs: sync filesystem after roll-forward recovery
  fs: export evict_inodes
  f2fs: flush quota blocks after turnning it off
  f2fs: avoid null pointer exception in dcc_info
  f2fs: don't wake up too frequently, if there is lots of IOs
  f2fs: try to keep CP_TRIMMED_FLAG after successful umount
  f2fs: add quick mode of checkpoint=disable for QA
  f2fs: run discard jobs when put_super
  f2fs: fix to set sbi dirty correctly
  f2fs: UBSAN: set boolean value iostat_enable correctly
  f2fs: add brackets for macros
  f2fs: check if file namelen exceeds max value
  f2fs: fix to trigger fsck if dirent.name_len is zero
  f2fs: no need to check return value of debugfs_create functions
  f2fs: export FS_NOCOW_FL flag to user
  f2fs: check inject_rate validity during configuring
  f2fs: remove set but not used variable 'err'
  f2fs: fix compile warnings: 'struct *' declared inside parameter list
  f2fs: change error code to -ENOMEM from -EINVAL

Conflicts:
	arch/arm/Kconfig
	arch/arm64/kernel/traps.c
	drivers/hwtracing/coresight/coresight-etm4x.c
	drivers/hwtracing/coresight/coresight-tmc.c
	drivers/hwtracing/stm/Kconfig
	drivers/hwtracing/stm/core.c
	drivers/mmc/core/mmc.c
	drivers/usb/gadget/function/u_serial.c
	kernel/events/ring_buffer.c
	net/wireless/nl80211.c
	sound/core/compress_offload.c

Change-Id: I33783dbd0a25d678d6c61204f9e67690e57bed8f
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2019-04-05 09:56:32 +05:30
E V Ravi
14c735f151 msm: v4l2loopback: to resolve issues for kernel defconfigs
Enabling kernel defconfigs for v4l2loopback gives compilation
issues, resolving them by these changes.

Change-Id: Ie84b38fd0c5ad8c9ebb2c466d74418cae9985d9d
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2019-04-03 22:21:21 -07:00
E V Ravi
26e111f650 msm: v4l2loopback: to enable 4l2loopback in kernel defconfigs
Enabling v4l2loopback modules in kernel defconfigs
to create virtual video devices.

Change-Id: I96432310f24874effa5080620340325f97719d3a
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2019-04-03 22:02:58 -07:00
Linux Build Service Account
ef1fab24b2 Merge "fbdev: msm: remove check for rgb source format" 2019-04-03 05:15:03 -07:00
Linux Build Service Account
4594ebbba3 Merge "drm/msm: adjust HDMI DDC speed configuration" 2019-04-03 05:15:01 -07:00
Linux Build Service Account
e124f48789 Merge "drm/msm/sde: add post_disable stage for phys encoder" 2019-04-03 05:14:59 -07:00
Greg Kroah-Hartman
7af10f2966 This is the 4.4.178 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlykNUEACgkQONu9yGCS
 aT6n6A//QT/8UQ8IWU2J1iTtlxX95RWxfgbsip0bBh8PdVOhRAalR6+fa6F/Fh9D
 kM82QHro5R9ZO48mkQ1yF4ooJmVapabS4bvlgLil+/La9gDsF/Z2T/wxsUht2nCm
 aic3ZjLX2mtte75zQAL+lvEjPR6q92PibNOgBvt51ueLK7Hcxga4uiAzpdlZausp
 YKAtqwhaj7AD2xUqPuyB9xHw5tvFbGqiN6rMmxIbQSOUhgtiUxiiLHRM8ppanoHv
 D2fMKKj8Pz5FGgzd7c0b9fZUERFNqHeKSTPgxNENzLS0TCRexP94Ihp5FoWN4tY+
 HPQT291DrWyquSl0c7FrI1BuF41fmKJ+CZHbvXBwT429bJQQ2dehgIUfdGYgrSBt
 J/zbh0OO2fkLCxNDVpA0cNm+tlYUGbc+TCG4R2I3V2dn5yTxru/w+TdG/GyM8h75
 jUAGS3hFKBCFQSLC8M+nRcOsLsV1H4H9/MnQ84+wpXXC/Z5MseYHo07E1xWNViUW
 UHuM6PlGRUPJ0JrC6J6wLkkvHDyjXbaSitligH8K2aW9PtCU814T7+4rwgyaHCVr
 OMizAmy65Y2lutJ4mtMNc05mKlQRlGfWu/EOBgTRzB+V4hadp2NRZ1b9rk3MFRgk
 ckxiYM91MjtuvHV/SrLd3e2PlnvouGw30jaWhScy2Sl5D4g76ok=
 =zBsi
 -----END PGP SIGNATURE-----

Merge 4.4.178 into android-4.4

Changes in 4.4.178
	mmc: pxamci: fix enum type confusion
	drm/vmwgfx: Don't double-free the mode stored in par->set_mode
	udf: Fix crash on IO error during truncate
	mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
	MIPS: Fix kernel crash for R6 in jump label branch function
	futex: Ensure that futex address is aligned in handle_futex_death()
	ext4: fix NULL pointer dereference while journal is aborted
	ext4: fix data corruption caused by unaligned direct AIO
	ext4: brelse all indirect buffer in ext4_ind_remove_space()
	mmc: tmio_mmc_core: don't claim spurious interrupts
	media: v4l2-ctrls.c/uvc: zero v4l2_event
	locking/lockdep: Add debug_locks check in __lock_downgrade()
	ALSA: hda - Record the current power state before suspend/resume calls
	ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
	mmc: pwrseq_simple: Make reset-gpios optional to match doc
	mmc: debugfs: Add a restriction to mmc debugfs clock setting
	mmc: make MAN_BKOPS_EN message a debug
	mmc: sanitize 'bus width' in debug output
	mmc: core: shut up "voltage-ranges unspecified" pr_info()
	usb: dwc3: gadget: Fix suspend/resume during device mode
	arm64: mm: Add trace_irqflags annotations to do_debug_exception()
	mmc: core: fix using wrong io voltage if mmc_select_hs200 fails
	mm/rmap: replace BUG_ON(anon_vma->degree) with VM_WARN_ON
	extcon: usb-gpio: Don't miss event during suspend/resume
	kbuild: setlocalversion: print error to STDERR
	usb: gadget: composite: fix dereference after null check coverify warning
	usb: gadget: Add the gserial port checking in gs_start_tx()
	tcp/dccp: drop SYN packets if accept queue is full
	serial: sprd: adjust TIMEOUT to a big value
	Hang/soft lockup in d_invalidate with simultaneous calls
	arm64: traps: disable irq in die()
	usb: renesas_usbhs: gadget: fix unused-but-set-variable warning
	serial: sprd: clear timeout interrupt only rather than all interrupts
	lib/int_sqrt: optimize small argument
	USB: core: only clean up what we allocated
	rtc: Fix overflow when converting time64_t to rtc_time
	ath10k: avoid possible string overflow
	Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
	Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
	sched/fair: Fix new task's load avg removed from source CPU in wake_up_new_task()
	mmc: block: Allow more than 8 partitions per card
	arm64: fix COMPAT_SHMLBA definition for large pages
	efi: stub: define DISABLE_BRANCH_PROFILING for all architectures
	ARM: 8458/1: bL_switcher: add GIC dependency
	ARM: 8494/1: mm: Enable PXN when running non-LPAE kernel on LPAE processor
	android: unconditionally remove callbacks in sync_fence_free()
	vmstat: make vmstat_updater deferrable again and shut down on idle
	hid-sensor-hub.c: fix wrong do_div() usage
	arm64: hide __efistub_ aliases from kallsyms
	perf: Synchronously free aux pages in case of allocation failure
	net: diag: support v4mapped sockets in inet_diag_find_one_icsk()
	Revert "mmc: block: don't use parameter prefix if built as module"
	writeback: initialize inode members that track writeback history
	coresight: fixing lockdep error
	coresight: coresight_unregister() function cleanup
	coresight: release reference taken by 'bus_find_device()'
	coresight: remove csdev's link from topology
	stm class: Fix locking in unbinding policy path
	stm class: Fix link list locking
	stm class: Prevent user-controllable allocations
	stm class: Support devices with multiple instances
	stm class: Fix unlocking braino in the error path
	stm class: Guard output assignment against concurrency
	stm class: Fix unbalanced module/device refcounting
	stm class: Fix a race in unlinking
	coresight: "DEVICE_ATTR_RO" should defined as static.
	coresight: etm4x: Check every parameter used by dma_xx_coherent.
	asm-generic: Fix local variable shadow in __set_fixmap_offset
	staging: ashmem: Avoid deadlock with mmap/shrink
	staging: ashmem: Add missing include
	staging: ion: Set minimum carveout heap allocation order to PAGE_SHIFT
	staging: goldfish: audio: fix compiliation on arm
	ARM: 8510/1: rework ARM_CPU_SUSPEND dependencies
	arm64/kernel: fix incorrect EL0 check in inv_entry macro
	mac80211: fix "warning: ‘target_metric’ may be used uninitialized"
	perf/ring_buffer: Refuse to begin AUX transaction after rb->aux_mmap_count drops
	arm64: kernel: Include _AC definition in page.h
	PM / Hibernate: Call flush_icache_range() on pages restored in-place
	stm class: Do not leak the chrdev in error path
	stm class: Fix stm device initialization order
	ipv6: fix endianness error in icmpv6_err
	usb: gadget: configfs: add mutex lock before unregister gadget
	usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG
	cpu/hotplug: Handle unbalanced hotplug enable/disable
	video: fbdev: Set pixclock = 0 in goldfishfb
	arm64: kconfig: drop CONFIG_RTC_LIB dependency
	mmc: mmc: fix switch timeout issue caused by jiffies precision
	cfg80211: size various nl80211 messages correctly
	stmmac: copy unicast mac address to MAC registers
	dccp: do not use ipv6 header for ipv4 flow
	mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
	net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
	net: rose: fix a possible stack overflow
	Add hlist_add_tail_rcu() (Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net)
	packets: Always register packet sk in the same order
	tcp: do not use ipv6 header for ipv4 flow
	vxlan: Don't call gro_cells_destroy() before device is unregistered
	sctp: get sctphdr by offset in sctp_compute_cksum
	mac8390: Fix mmio access size probe
	btrfs: remove WARN_ON in log_dir_items
	btrfs: raid56: properly unmap parity page in finish_parity_scrub()
	ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
	ALSA: compress: add support for 32bit calls in a 64bit kernel
	ALSA: rawmidi: Fix potential Spectre v1 vulnerability
	ALSA: seq: oss: Fix Spectre v1 vulnerability
	ALSA: pcm: Fix possible OOB access in PCM oss plugins
	ALSA: pcm: Don't suspend stream in unrecoverable PCM state
	scsi: sd: Fix a race between closing an sd device and sd I/O
	scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
	scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
	tty: atmel_serial: fix a potential NULL pointer dereference
	staging: vt6655: Remove vif check from vnt_interrupt
	staging: vt6655: Fix interrupt race condition on device start up.
	serial: max310x: Fix to avoid potential NULL pointer dereference
	serial: sh-sci: Fix setting SCSCR_TIE while transferring data
	USB: serial: cp210x: add new device id
	USB: serial: ftdi_sio: add additional NovaTech products
	USB: serial: mos7720: fix mos_parport refcount imbalance on error path
	USB: serial: option: set driver_info for SIM5218 and compatibles
	USB: serial: option: add Olicard 600
	Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
	fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
	gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
	perf intel-pt: Fix TSC slip
	x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
	KVM: Reject device ioctls from processes other than the VM's creator
	xhci: Fix port resume done detection for SS ports with LPM enabled
	Revert "USB: core: only clean up what we allocated"
	arm64: support keyctl() system call in 32-bit mode
	coresight: removing bind/unbind options from sysfs
	stm class: Hide STM-specific options if STM is disabled
	Linux 4.4.178

Change-Id: Ia7fc9419e85c78352eef494a0c914dec7650062f
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2019-04-03 10:24:12 +02:00