summaryrefslogtreecommitdiff
path: root/drivers/misc/qcom (follow)
Commit message (Collapse)AuthorAge
* Merge LA.UM.7.5.2.r1-02600-8x96.0 of ↵Davide Garberi2019-05-11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-16.0 d4f47e6c2367 defconfig: msm8996: Enable radio configs 9f27be024a7f Merge "radio: add Silabs FM radio support for msm8996" into kernel.lnx.4.4.r37-rel 4fe98eb7bec2 defconfig: Enable REGMAP_ALLOW_WRITE_DEBUGFS 0c7d031bda1b radio: add Silabs FM radio support for msm8996 1f558d13f0f2 Merge "ASoC: msm: Add support for AVS version check" into kernel.lnx.4.4.r37-rel d104a604676a dsp: correct comparison condition for VSS_ICOMMON_RSP_GET_PARAM_V3 edef41f4dd6e ASoC: msm: Add support for AVS version check 837581d8c691 Merge "Revert "ASoC: msm: Add support for AVS version check."" into kernel.lnx.4.4.r37-rel 9e558fb9e3ee Merge "Revert "ASoC: msm: Add AVS version check for ADSP 2.7."" into kernel.lnx.4.4.r37-rel 9d3be6c18d3a Revert "ASoC: msm: Add support for AVS version check." d5d09e79ec00 Revert "ASoC: msm: Add AVS version check for ADSP 2.7." 72d4da407550 Merge "defconfig: msm8996: Enable PAN emulation" into kernel.lnx.4.4.r37-rel f6e50563bac0 defconfig: msm8996: Enable PAN emulation e0743de00dbb ARM: dts: msm: move bluetooth node under /vendor for 8996 platform 433d0135344e Merge "drivers: qpnp-smbcharger: Fix USB3.0 device does not enumerate in SS mode" into kernel.lnx.4.4.r37-rel 46150d3805a6 Merge changes I72e0c499,Iceb44b1f into kernel.lnx.4.4.r37-rel 6b9dcbcd8ed4 drivers: qpnp-smbcharger: Fix USB3.0 device does not enumerate in SS mode b819c88494b4 defconfig: msm8996: Disable DEVPORT 5dc9c9cdad31 defconfig: msm8996: Disable EXT2 and EXT3 FS configs 7020e575305b ARM: dts: msm: Add "qcom,core-dev-table" for msm8996 target 2d8f5e66d396 Merge e0f69caa36e88038fc27962308b0bb865759736d on remote branch e0f69caa36e8 Merge changes into msm-4.4 d1f0a27facf5 Merge "msm: sps: Update debug message format specifier" ff6c90ba7689 Merge "ASoC: msm: Check adsp state after SSR" 8589eec6817a Merge "lsm: check payload size validity before using it as array index" 3c74f04c2acd msm: sps: Update debug message format specifier 8229f3db343f ASoC: msm: Check adsp state after SSR 8b618604151d Merge "cnss2: Remove setting recovery state during driver unload" 30af8d44d51c Merge "cnss2: Add device version to SOC info structure" 9d116c810844 Merge "msm: kgsl: Add common Boot KPI marker" 27f1619b2f38 cnss2: Add device version to SOC info structure 110e25da9d04 Merge "drm/msm/sde: fix null pointer dereference" e41fee9833ae lsm: check payload size validity before using it as array index f3ec53af1d65 Merge "drm: msm: sde: remove hdr property setting error message" e69141d2f854 Merge "drm: msm: sde: improve display interface timeout mechanism" 7ddcfc4bd2a3 Merge "drm/msm/sde: do not send stop splash signal from eDRM to LK" 00389026f8c9 cnss2: Remove setting recovery state during driver unload a18089dad122 drm/msm: ensure msm_drm probe and eDRM Probe completion 15e17660ba55 Merge "icnss: return recovery success to wlan driver" e3b50ff0b555 Merge "usb: xhci: Reduce command abort handshake timeout" b6645f622203 Merge "usb: xhci: remove unnecessary second abort try" f02dfcce2cb2 Merge "usb: XHCI: Implement xhci_handshake_check_state() API" bb31c0f2ef11 icnss: return recovery success to wlan driver dd7aeab5ed91 drm: msm: sde: improve display interface timeout mechanism 61436825c4de drm/msm/sde: do not send stop splash signal from eDRM to LK c8fffde012b6 drm/msm/sde: fix null pointer dereference e2a49d1ee492 msm: kgsl: Add common Boot KPI marker 55b4dd9721ab Merge "Merge android-4.4.178 (7af10f2) into msm-4.4" 6a75b0f79e6d Merge "diag: Update new msg, log and event logging codes" e776f6472683 diag: Update new msg, log and event logging codes 04235478f297 cnss2: Support USB SSR and disconnect scenarios 9ec08ea59b83 cnss2: Export a platform API to force collect ramdump 6e658671eeac drm: msm: sde: remove hdr property setting error message f5387f19b78d Merge "dsp: q6usm: Release spinlock before return if invalid payload size" 43751312d7a1 Merge android-4.4.178 (7af10f2) into msm-4.4 14c735f15182 msm: v4l2loopback: to resolve issues for kernel defconfigs 26e111f650c7 msm: v4l2loopback: to enable 4l2loopback in kernel defconfigs ef1fab24b2da Merge "fbdev: msm: remove check for rgb source format" 4594ebbba3cc Merge "drm/msm: adjust HDMI DDC speed configuration" e124f4878919 Merge "drm/msm/sde: add post_disable stage for phys encoder" 7af10f2966c2 Merge 4.4.178 into android-4.4 12ae58ca7ec4 Linux 4.4.178 b1b1efe07ea0 stm class: Hide STM-specific options if STM is disabled c003b5675d34 coresight: removing bind/unbind options from sysfs 455b9a675ecf arm64: support keyctl() system call in 32-bit mode d14ac4368f22 Revert "USB: core: only clean up what we allocated" 78d145f71db5 xhci: Fix port resume done detection for SS ports with LPM enabled 9aacea736c9a KVM: Reject device ioctls from processes other than the VM's creator 5ce6e5bd23f0 x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y 0fe681f4ef50 perf intel-pt: Fix TSC slip e250a5ac0e12 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input 6271fa6fc366 fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links 98bc2f91e918 Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc 6c1c9cfc2fdd USB: serial: option: add Olicard 600 09d3f1eb8499 USB: serial: option: set driver_info for SIM5218 and compatibles 6ef819f7158a USB: serial: mos7720: fix mos_parport refcount imbalance on error path ef0d78184aff USB: serial: ftdi_sio: add additional NovaTech products 7139e4d5bf83 USB: serial: cp210x: add new device id 327ee45823eb serial: sh-sci: Fix setting SCSCR_TIE while transferring data 7124c71944ee serial: max310x: Fix to avoid potential NULL pointer dereference 2e7c2f25e902 staging: vt6655: Fix interrupt race condition on device start up. 17400647682a staging: vt6655: Remove vif check from vnt_interrupt 13f6808ec2bb tty: atmel_serial: fix a potential NULL pointer dereference 21da2b461fbd scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices d8007fb2e816 scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host 2f369124b97a scsi: sd: Fix a race between closing an sd device and sd I/O 49ad73985443 ALSA: pcm: Don't suspend stream in unrecoverable PCM state c07db6f073ab ALSA: pcm: Fix possible OOB access in PCM oss plugins f98242a8debb ALSA: seq: oss: Fix Spectre v1 vulnerability 619ae9f179de ALSA: rawmidi: Fix potential Spectre v1 vulnerability e162927cd161 ALSA: compress: add support for 32bit calls in a 64bit kernel ed2f3c82b0b4 ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time 61bde5e5af49 btrfs: raid56: properly unmap parity page in finish_parity_scrub() a23f00416aae btrfs: remove WARN_ON in log_dir_items 48b22ac58998 mac8390: Fix mmio access size probe 981cb03ec5a6 sctp: get sctphdr by offset in sctp_compute_cksum c5874f35b86b vxlan: Don't call gro_cells_destroy() before device is unregistered 6c362ffe2a22 tcp: do not use ipv6 header for ipv4 flow 617ac1aa4dd4 packets: Always register packet sk in the same order dd3351b81fac Add hlist_add_tail_rcu() (Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net) 2c2d8a1c8f12 net: rose: fix a possible stack overflow b969da5f7e8d net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec 3f1c0e4b7965 mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S 2f242b299bcd dccp: do not use ipv6 header for ipv4 flow 46c8459158ae stmmac: copy unicast mac address to MAC registers 949c4ef45eee cfg80211: size various nl80211 messages correctly 695fc282c337 mmc: mmc: fix switch timeout issue caused by jiffies precision c89eceddfaeb arm64: kconfig: drop CONFIG_RTC_LIB dependency 4a024ea936b6 video: fbdev: Set pixclock = 0 in goldfishfb d200cc995188 cpu/hotplug: Handle unbalanced hotplug enable/disable 13e84cdbd790 usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG 0752035a776e usb: gadget: configfs: add mutex lock before unregister gadget 01855b6299eb ipv6: fix endianness error in icmpv6_err b0351a51ffda stm class: Fix stm device initialization order 2040e80d8095 stm class: Do not leak the chrdev in error path fbfaa26fa9e7 PM / Hibernate: Call flush_icache_range() on pages restored in-place 60e4a50d332b arm64: kernel: Include _AC definition in page.h 2ba2cca736d8 perf/ring_buffer: Refuse to begin AUX transaction after rb->aux_mmap_count drops e5a19cf78a23 mac80211: fix "warning: ‘target_metric’ may be used uninitialized" 08d870c51ec5 arm64/kernel: fix incorrect EL0 check in inv_entry macro 823e262919f9 ARM: 8510/1: rework ARM_CPU_SUSPEND dependencies a99d340dc70b staging: goldfish: audio: fix compiliation on arm 9d4b4395067b staging: ion: Set minimum carveout heap allocation order to PAGE_SHIFT efa2ec29dd4e staging: ashmem: Add missing include 4dcbf6fa3b47 staging: ashmem: Avoid deadlock with mmap/shrink 021c0d5cdfc0 asm-generic: Fix local variable shadow in __set_fixmap_offset 43ea28e71c2d coresight: etm4x: Check every parameter used by dma_xx_coherent. 58af2f0f6fdf coresight: "DEVICE_ATTR_RO" should defined as static. c66866b13b3c stm class: Fix a race in unlinking 8c0bfd9d7cb3 stm class: Fix unbalanced module/device refcounting f34bc5ad7a84 stm class: Guard output assignment against concurrency bc9d781bed9d stm class: Fix unlocking braino in the error path 65b52bbc35a6 stm class: Support devices with multiple instances ffb2f3f86b3a stm class: Prevent user-controllable allocations 30e94dc24edd stm class: Fix link list locking a556f0babe56 stm class: Fix locking in unbinding policy path 03d7b4edf78a coresight: remove csdev's link from topology a2828b944591 coresight: release reference taken by 'bus_find_device()' 3e2070abcc90 coresight: coresight_unregister() function cleanup f485f972de3d coresight: fixing lockdep error 9bda5e6b1819 writeback: initialize inode members that track writeback history cb8251f8d667 Revert "mmc: block: don't use parameter prefix if built as module" ab3f1a5b9ce5 net: diag: support v4mapped sockets in inet_diag_find_one_icsk() 6f311381f318 perf: Synchronously free aux pages in case of allocation failure b6496f00a29d arm64: hide __efistub_ aliases from kallsyms 2aeca9a27ba4 hid-sensor-hub.c: fix wrong do_div() usage bdf3c006b9a2 vmstat: make vmstat_updater deferrable again and shut down on idle 119dbcde59da android: unconditionally remove callbacks in sync_fence_free() 7276c3fbd3b6 ARM: 8494/1: mm: Enable PXN when running non-LPAE kernel on LPAE processor 717da8c75b41 ARM: 8458/1: bL_switcher: add GIC dependency 1f2c3b46811d efi: stub: define DISABLE_BRANCH_PROFILING for all architectures 599dcbf7e8c6 arm64: fix COMPAT_SHMLBA definition for large pages 4afe1affaa6d mmc: block: Allow more than 8 partitions per card e43196819cc3 sched/fair: Fix new task's load avg removed from source CPU in wake_up_new_task() ade4560e4fea Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer d22036003893 Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt a1402232e193 ath10k: avoid possible string overflow ee8f5d476dc9 rtc: Fix overflow when converting time64_t to rtc_time 0cd08672e0aa USB: core: only clean up what we allocated 466ab66b5c2f lib/int_sqrt: optimize small argument 7a47e3c3232d serial: sprd: clear timeout interrupt only rather than all interrupts 4104b44e5d92 usb: renesas_usbhs: gadget: fix unused-but-set-variable warning e86206bd8758 arm64: traps: disable irq in die() a3fbab100127 Hang/soft lockup in d_invalidate with simultaneous calls 4a97f086f192 serial: sprd: adjust TIMEOUT to a big value 7ed7c0386ef2 tcp/dccp: drop SYN packets if accept queue is full a12cf3214235 usb: gadget: Add the gserial port checking in gs_start_tx() 36be44e1905d usb: gadget: composite: fix dereference after null check coverify warning c0f71babf7bb kbuild: setlocalversion: print error to STDERR 1e647cf23fb2 extcon: usb-gpio: Don't miss event during suspend/resume 7f69a980f635 mm/rmap: replace BUG_ON(anon_vma->degree) with VM_WARN_ON 1394b1bdfd00 mmc: core: fix using wrong io voltage if mmc_select_hs200 fails aa8b7ed21685 arm64: mm: Add trace_irqflags annotations to do_debug_exception() df2ca3271569 usb: dwc3: gadget: Fix suspend/resume during device mode f2427238c9ed mmc: core: shut up "voltage-ranges unspecified" pr_info() 6a0f5752f1fd mmc: sanitize 'bus width' in debug output 40c01c8301b8 mmc: make MAN_BKOPS_EN message a debug 282d5f0567be mmc: debugfs: Add a restriction to mmc debugfs clock setting c8816bb0ed6d mmc: pwrseq_simple: Make reset-gpios optional to match doc 4d026d221b34 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec 2569eed24d93 ALSA: hda - Record the current power state before suspend/resume calls 4aada79c6793 locking/lockdep: Add debug_locks check in __lock_downgrade() 786207750b49 media: v4l2-ctrls.c/uvc: zero v4l2_event a8dea33440f1 mmc: tmio_mmc_core: don't claim spurious interrupts c37fd9822514 ext4: brelse all indirect buffer in ext4_ind_remove_space() 2ebfb9ae0047 ext4: fix data corruption caused by unaligned direct AIO 2b6575ed8c7e ext4: fix NULL pointer dereference while journal is aborted 2f59c12b47c1 futex: Ensure that futex address is aligned in handle_futex_death() 8df0d57e5c08 MIPS: Fix kernel crash for R6 in jump label branch function 5c06f2409550 mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction. c30b41bbbb87 udf: Fix crash on IO error during truncate 8b12fd7c5f36 drm/vmwgfx: Don't double-free the mode stored in par->set_mode e884f7d5c627 mmc: pxamci: fix enum type confusion 74a50c62c4ee Merge "msm: v4l2loopback: to create V4L2 loopback devices" 023eab95f93f Merge changes into msm-4.4 b6870ada9882 dsp: q6usm: Release spinlock before return if invalid payload size 6a214b82afd7 Merge "Merge android-4.4.177 (0c3b8c4) into msm-4.4" b20fa86720f8 ANDROID: drop CONFIG_INPUT_KEYCHORD from cuttlefish and ranchu 6e016ebde638 Merge "Scsi: ufs: fix issue of task tag in used" 643dbe00f480 UPSTREAM: virt_wifi: Remove REGULATORY_WIPHY_SELF_MANAGED 1dca5a048f4f scripts: gcc-wrapper: Route the GCC errors to stderr 11306d8c058e Scsi: ufs: fix issue of task tag in used 1c25c9cc4ab7 Merge upstream-f2fs-stable-linux-4.4.y into android-4.4 2fe82d10f2fe Merge "msm: asm: validate ADSP data before access" 337623ba25ee Merge "soc: qcom: subsystem_notif_virt: Add waitqueue support for SSR" 3ad287e4ef9a msm: v4l2loopback: to create V4L2 loopback devices af3c1903749c drm/msm/sde: add post_disable stage for phys encoder daaf0eeb1ce4 Merge "usb: gadget: f_fs: Queue request after setting is_busy flag" 9e6526c9a143 UPSTREAM: net: socket: set sock->sk to NULL after calling proto_ops::release() ab9f5d883785 soc: qcom: subsystem_notif_virt: Add waitqueue support for SSR bff3c3db6b11 Merge "drivers: soc: qcom: Added check to avoid opening multiple instance" a7aa04bc7002 Merge "msm: vidc: Disable DCVS in DTSI" 184af681d4c4 Merge "msm: vidc: Add common Boot KPI marker" 10ea8a72f6da Merge "drm/msm: read V' only for non-zero device count repeater" 1c738b6a5f82 usb: gadget: f_fs: Queue request after setting is_busy flag 108157a55130 msm: asm: validate ADSP data before access 1b1e63b1a766 drm/msm: adjust HDMI DDC speed configuration 38e93647f780 drm/msm: read V' only for non-zero device count repeater 83fc1fe4359f Merge "icnss: Add Api to Block/Unblock modem shutdown" 5ac9e067c5d6 msm: vidc: Disable DCVS in DTSI 5219134535d3 msm: vidc: Add common Boot KPI marker 90059640cc78 Merge "cnss2: Initialize plat_priv during bus_init" 6a53afbc7e9d Merge "icnss: Defer modem graceful shutdown until probe complete" 8846ee70c326 icnss: Add Api to Block/Unblock modem shutdown 1174076aa273 icnss: Defer modem graceful shutdown until probe complete a7370a6289ea cnss2: Initialize plat_priv during bus_init 9ccdcef08733 cnss2: Add QCN7605 USB for cold boot cal via fs_ready 6543b0a4ad9a Merge "diag: Add protection while accessing usb_info's buffer table" c739d9858bb9 diag: Add protection while accessing usb_info's buffer table 875833b037e1 diag: Free usb buffer's entry after removing from list 19342ee004a9 Merge android-4.4.177 (0c3b8c4) into msm-4.4 0c3b8c486664 Merge 4.4.177 into android-4.4 6b50202a4d53 Linux 4.4.177 5d8f03acc1a4 KVM: X86: Fix residual mmio emulation request to userspace 8c7543e3b8eb KVM: nVMX: Ignore limit checks on VMX instructions using flat segments 2866808ffc0f KVM: nVMX: Sign extend displacements of VMX instr's mem operands 71e005f009ff drm/radeon/evergreen_cs: fix missing break in switch statement e4de142d0a07 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming 25c4c4519352 rcu: Do RCU GP kthread self-wakeup from softirq and interrupt 06a7cc29d18a PM / wakeup: Rework wakeup source timer cancellation d18bcfe45510 nfsd: fix wrong check in write_v4_end_grace() d2f777c50bfa nfsd: fix memory corruption caused by readdir 295aac3a5a37 NFS: Don't recoalesce on error in nfs_pageio_complete_mirror() a853de72abbe NFS: Fix an I/O request leakage in nfs_do_recoalesce 128f60fe3bb0 md: Fix failed allocation of md_register_thread 4426d5f7be8f perf intel-pt: Fix overlap calculation for padding 5664e60dc0b1 perf auxtrace: Define auxtrace record alignment ecd307da7771 perf intel-pt: Fix CYC timestamp calculation after OVF 58cc0b4098d3 NFS41: pop some layoutget errors to application cbb0f82ebbc4 dm: fix to_sector() for 32bit fd2ebccb5884 ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify 7ea0c2f9788a powerpc/83xx: Also save/restore SPRG4-7 during suspend d9fbe055bc95 powerpc/powernv: Make opal log only readable by root aa3995f04e39 powerpc/wii: properly disable use of BATs when requested. 788b1a98f415 powerpc/32: Clear on-stack exception marker upon exception return 86ca0da1ddb0 jbd2: fix compile warning when using JBUFFER_TRACE 1fb35b7eda3d jbd2: clear dirty flag when revoking a buffer from an older transaction 98257572f7c7 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup() 1a366cb3ae98 serial: 8250_pci: Fix number of ports for ACCES serial cards 7bc0cb4da25e perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks fefcb294a459 i2c: tegra: fix maximum transfer size ddc6521426c9 parport_pc: fix find_superio io compare code, should use equal test. dba3801e8dc8 intel_th: Don't reference unassigned outputs c8d2a21fdf51 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv 49b3c4a292b0 mm/vmalloc: fix size check for remap_vmalloc_range_partial() f7572a4534b5 dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit 96ad35532ccc clk: ingenic: Fix round_rate misbehaving with non-integer dividers 64847df5bff1 ext2: Fix underflow in ext2_max_size() 8b710dc8a5e2 ext4: fix crash during online resizing 0d97ba8b9a5f cpufreq: pxa2xx: remove incorrect __init annotation b14854612972 cpufreq: tegra124: add missing of_node_put() 9bde9df79f24 crypto: pcbc - remove bogus memcpy()s with src == dest efe908169f4f Btrfs: fix corruption reading shared and compressed extents after hole punching eb4763b1bb4a btrfs: ensure that a DUP or RAID1 block group has exactly two stripes 22058c290c94 m68k: Add -ffreestanding to CFLAGS 5c6e7bd3a627 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock 1cda5468c04a scsi: virtio_scsi: don't send sc payload with tmfs 62a86906494d s390/virtio: handle find on invalid queue gracefully 185ca832f7d7 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown 3e08ffef4286 clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR 3f0edcec1da0 regulator: s2mpa01: Fix step values for some LDOs f20f5fca3b45 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35 84d798497ea9 ACPI / device_sysfs: Avoid OF modalias creation for removed device 19c53c1f817e tracing: Do not free iter->trace in fail path of tracing_open_pipe() b1faf3d2b5b4 CIFS: Fix read after write for files with read caching a2ef87f9d268 crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling aa9c7ee2922a stm class: Prevent division by zero 5f4c9964d107 tmpfs: fix uninitialized return value in shmem_link 8bbb2ce3da91 net: set static variable an initial value in atl2_probe() 8e91a0b4d5f1 mac80211_hwsim: propagate genlmsg_reply return code 5115ca2ba428 phonet: fix building with clang 225bbd61b3ab ARC: uacces: remove lp_start, lp_end from clobber list f8f413336b0c tmpfs: fix link accounting when a tmpfile is linked in aa5740d660ac arm64: Relax GIC version check during early boot c8380f42e82e ASoC: topology: free created components in tplg load error 764498fa2d2b net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe() 0b6f466dfc62 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins 3685be7cb47f net: systemport: Fix reception of BPDUs 75330ce98d95 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task 526efb1049bf assoc_array: Fix shortcut creation 823c717dbf5d ARM: 8824/1: fix a migrating irq bug when hotplug cpu 27bd1497181c Input: st-keyscan - fix potential zalloc NULL dereference c18daf1bdae9 i2c: cadence: Fix the hold bit setting 65513463874c Input: matrix_keypad - use flush_delayed_work() 4e873fa21052 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized 21442c73253b s390/dasd: fix using offset into zero size array error e212aa684767 gpu: ipu-v3: Fix CSI offsets for imx53 8512f804fd88 gpu: ipu-v3: Fix i.MX51 CSI control registers offset 82351c83b1c5 crypto: ahash - fix another early termination in hash walk ef3e805c9476 crypto: caam - fixed handling of sg list 5672988e09e1 stm class: Fix an endless loop in channel allocation fdeefd2af1f3 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode d96e50a53ba1 9p/net: fix memory leak in p9_client_create f289ac1f6eb2 9p: use inode->i_lock to protect i_size_write() under 32-bit 7b5115689bf9 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused() b83f73aa7608 It's wrong to add len to sector_nr in raid10 reshape twice 9b37b964775e fs/9p: use fscache mutex rather than spinlock f83a38bf2ccd ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56 e13ab6c19547 tcp/dccp: remove reqsk_put() from inet_child_forget() dcf54e4f0717 gro_cells: make sure device is up in gro_cells_receive() 2d5f55d65a36 net/hsr: fix possible crash in add_timer() b0e8ca9a1eb3 vxlan: Fix GRO cells race condition between receive and link delete 195e9aa9fe13 vxlan: test dev->flags & IFF_UP before calling gro_cells_receive() cb604342bc85 ipvlan: disallow userns cap_net_admin to change global mode/flags f412aeb9167d missing barriers in some of unix_sock ->addr and ->path accesses b4986f23b4d8 net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255 a1b4ace43842 mdio_bus: Fix use-after-free on device_register fails c1b7d9363334 net/x25: fix a race in x25_bind() 2eace0d069ff net/mlx4_core: Fix qp mtt size calculation 0c21ccb8d70e net/mlx4_core: Fix reset flow when in command polling mode 191aa19ab8c1 tcp: handle inet_csk_reqsk_queue_add() failures d31b540d63b1 route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race d15bfd4603dc ravb: Decrease TxFIFO depth of Q3 and Q2 to one 051612738631 pptp: dst_release sk_dst_cache in pptp_sock_destruct e0b2bbd93ef0 net/x25: reset state in x25_connect() 70ed8a0a9ec3 net/x25: fix use-after-free in x25_device_event() d84e9d3c97ee net: sit: fix UBSAN Undefined behaviour in check_6rd 453e3b319d28 net: hsr: fix memory leak in hsr_dev_finalize() a795edbd6cd7 l2tp: fix infoleak in l2tp_ip6_recvmsg() 52f6c8da89b9 KEYS: restrict /proc/keys by credentials at open time b71ec041cce3 netfilter: nf_conntrack_tcp: Fix stack out of bounds when parsing TCP options a55ea87f70ae netfilter: nfnetlink_acct: validate NFACCT_FILTER parameters c92b434e70db netfilter: nfnetlink_log: just returns error for unknown command 9a07167f70a7 netfilter: x_tables: enforce nul-terminated table name from getsockopt GET_ENTRIES da517f513b86 udplite: call proper backlog handlers ec117204466e ARM: dts: exynos: Do not ignore real-world fuse values for thermal zone 0 on Exynos5420 a20168a13836 Revert "x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls" a264be2b4108 ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU 7570acb21061 futex,rt_mutex: Restructure rt_mutex_finish_proxy_lock() f7ff45b8c3f2 iscsi_ibft: Fix missing break in switch statement 91c44982f503 Input: elan_i2c - add id for touchpad found in Lenovo s21e-20 4038a524616e Input: wacom_serial4 - add support for Wacom ArtPad II tablet 861e94995054 MIPS: Remove function size check in get_frame_info() 39ee160c4f82 perf symbols: Filter out hidden symbols from labels 74daf70b852a s390/qeth: fix use-after-free in error path 683c0116fbc1 dmaengine: dmatest: Abort test in case of mapping error 86785a16817c dmaengine: at_xdmac: Fix wrongfull report of a channel as in use 4560637bde5c irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable e83b1928c838 ARM: pxa: ssp: unneeded to free devm_ allocated data 648fca89b734 autofs: fix error return in autofs_fill_super() 0d456fae1fb5 autofs: drop dentry reference only when it is never used 5d5a802ec2eb fs/drop_caches.c: avoid softlockups in drop_pagecache_sb() fcd11325572d mm, memory_hotplug: test_pages_in_a_zone do not pass the end of zone 3ba0452668ea mm, memory_hotplug: is_mem_section_removable do not pass the end of a zone d4cf6d934f72 x86_64: increase stack size for KASAN_EXTRA b8c82bd0cc5e x86/kexec: Don't setup EFI info if EFI runtime is not enabled 3cefd2a42568 cifs: fix computation for MAX_SMB2_HDR_SIZE 177a51b9adad platform/x86: Fix unmet dependency warning for SAMSUNG_Q10 930cc2bd8d5c scsi: libfc: free skb when receiving invalid flogi resp e7e01b2acf94 nfs: Fix NULL pointer dereference of dev_name 35709d642488 gpio: vf610: Mask all GPIO interrupts ec1f9572c841 net: stmmac: dwmac-rk: fix error handling in rk_gmac_powerup() f398c84acf98 net: hns: Fix wrong read accesses via Clause 45 MDIO protocol a270c6f52f5a net: altera_tse: fix msgdma_tx_completion on non-zero fill_level case 3afc8b846438 xtensa: SMP: limit number of possible CPUs by NR_CPUS 19960e19a7f9 xtensa: SMP: mark each possible CPU as present ce73d179cf66 xtensa: smp_lx200_defconfig: fix vectors clash 56b84e420189 xtensa: SMP: fix secondary CPU initialization f6efc18bbfc3 xtensa: SMP: fix ccount_timer_shutdown 9974f32f34d5 iommu/amd: Fix IOMMU page flush when detach device from a domain 81f097d689e5 ipvs: Fix signed integer overflow when setsockopt timeout e5bff433d050 IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM aa7fb4026321 perf tools: Handle TOPOLOGY headers with no CPU a4fa2a130412 vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel bba078c9fc3c media: uvcvideo: Fix 'type' check leading to overflow c9b1f8506672 ip6mr: Do not call __IP6_INC_STATS() from preemptible context aaf68ba03cf7 net: dsa: mv88e6xxx: Fix u64 statistics dc18101f95fa netlabel: fix out-of-bounds memory accesses aba029c8e7a8 hugetlbfs: fix races and page leaks during migration 5b98f0928666 MIPS: irq: Allocate accurate order pages for irq stack 0adb8a1d60b1 applicom: Fix potential Spectre v1 vulnerabilities 5d58d8969037 x86/CPU/AMD: Set the CPB bit unconditionally on F17h 3f7902c723cf net: phy: Micrel KSZ8061: link failure after cable connect b98af83bc709 net: avoid use IPCB in cipso_v4_error 826987f6f98f net: Add __icmp_send helper. 51d27870ecf1 xen-netback: fix occasional leak of grant ref mappings under memory pressure 6e7339d5ee30 net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails 7fb2b5380fee bnxt_en: Drop oversize TX packets to prevent errors. 7e7a271035c4 team: Free BPF filter when unregistering netdev 89ef111eb52f sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79 d28a029290fd net-sysfs: Fix mem leak in netdev_register_kobject fcee2927c057 staging: lustre: fix buffer overflow of string buffer b48715dcf16b isdn: isdn_tty: fix build warning of strncpy eeb234f7f907 ncpfs: fix build warning of strncpy c776cff6de52 sockfs: getxattr: Fail with -EOPNOTSUPP for invalid attribute names c8d66722d84b cpufreq: Use struct kobj_attribute instead of struct global_attr 25d05441f9e5 USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485 a78f651889f4 USB: serial: cp210x: add ID for Ingenico 3070 83e29e445132 USB: serial: option: add Telit ME910 ECM composition e90171edbef7 x86/uaccess: Don't leak the AC flag into __put_user() value evaluation 40952b6a649b mm: enforce min addr even if capable() in expand_downwards() 7404c65cac2d mmc: spi: Fix card detection during probe 1a8ccbf263d6 powerpc: Always initialize input array when calling epapr_hypercall() 05de33f10001 KVM: arm/arm64: Fix MMIO emulation data handling be96dcc315c7 arm/arm64: KVM: Feed initialized memory to MMIO accesses 37131ae9135c KVM: nSVM: clear events pending from svm_complete_interrupts() when exiting to L1 31f49f68d27e cfg80211: extend range deviation for DMG 39aabcb7dcf9 mac80211: don't initiate TDLS connection if station is not associated to AP b83f68e0396c ibmveth: Do not process frames after calling napi_reschedule 14ae77e8a4f8 net: altera_tse: fix connect_local_phy error path ff028bbb57aa scsi: csiostor: fix NULL pointer dereference in csio_vport_set_state() e9fdf60dafdc serial: fsl_lpuart: fix maximum acceptable baud rate with over-sampling f5c5093be741 mac80211: fix miscounting of ttl-dropped frames e120f9d8596e ARC: fix __ffs return value to avoid build warnings bf36c587df83 ASoC: imx-audmux: change snprintf to scnprintf for possible overflow df7a151d53b1 ASoC: dapm: change snprintf to scnprintf for possible overflow 8751b9509990 usb: gadget: Potential NULL dereference on allocation error f84996563d7b usb: dwc3: gadget: Fix the uninitialized link_state when udc starts 0a9ecf2b3012 thermal: int340x_thermal: Fix a NULL vs IS_ERR() check c56caf662ad1 ALSA: compress: prevent potential divide by zero bugs 2fa06f59d44e ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field 59f6c707704a drm/msm: Unblock writer if reader closes file bbb07fa8dfe3 scsi: libsas: Fix rphy phy_identifier for PHYs with end devices attached 82774efd6d34 libceph: handle an empty authorize reply 0effb9fb3dfe Revert "bridge: do not add port to router list when receives query with source 0.0.0.0" 2c2433eba19a ARCv2: Enable unaligned access in early ASM code 6f0ec47b9a61 net/mlx4_en: Force CHECKSUM_NONE for short ethernet frames 9a24e9286b5b sit: check if IPv6 enabled before calling ip6_err_gen_icmpv6_unreach() bd49916ee0f7 team: avoid complex list operations in team_nl_cmd_options_set() e41a4dc253df net/packet: fix 4gb buffer limit due to overflow check b76ca18c8588 batman-adv: fix uninit-value in batadv_interface_tx() 00c3ec3af87a KEYS: always initialize keyring_index_key::desc_len d76ef3c98024 KEYS: user: Align the payload buffer 2ef22c73c241 RDMA/srp: Rework SCSI device reset handling 1c3d88357065 isdn: avm: Fix string plus integer warning from Clang 65aac32fee80 leds: lp5523: fix a missing check of return value of lp55xx_read 4949b728976c atm: he: fix sign-extension overflow on large shift fd8662fa5930 isdn: i4l: isdn_tty: Fix some concurrency double-free bugs 2b285e446056 MIPS: jazz: fix 64bit build 61c0c195980b scsi: isci: initialize shost fully before calling scsi_add_host() 40ff741a7b49 scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param 5647975ec2b6 MIPS: ath79: Enable OF serial ports in the default config b8265637ec8a net: hns: Fix use after free identified by SLUB debug d8189ee86c3a mfd: mc13xxx: Fix a missing check of a register-read failure 81456de2d4b3 mfd: wm5110: Add missing ASRC rate register 6a422b0676ed mfd: qcom_rpm: write fw_version to CTRL_REG c02e9400dc2e mfd: ab8500-core: Return zero in get_register_interruptible() 40f1c388f263 mfd: db8500-prcmu: Fix some section annotations 2309acaeee2d mfd: twl-core: Fix section annotations on {,un}protect_pm_master 3e442a35c361 mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells 1e73c0aeb3ee KEYS: allow reaching the keys quotas exactly d3f2228a22ab numa: change get_mempolicy() to use nr_node_ids instead of MAX_NUMNODES 1ff6adf14549 ceph: avoid repeatedly adding inode to mdsc->snap_flush_list a71fc927e552 Revert "ANDROID: arm: process: Add display of memory around registers when displaying regs." 8940467d34f9 drivers: soc: qcom: Added check to avoid opening multiple instance 47fae5d1652c usb: xhci: Reduce command abort handshake timeout 7de60546d8f1 usb: xhci: remove unnecessary second abort try b6a6377d0e09 usb: XHCI: Bailout command abort operation upon XHCI remove 70dc54f5deaa usb: XHCI: Implement xhci_handshake_check_state() API 331c1249b130 fbdev: msm: remove check for rgb source format Change-Id: I78d7ebcce7a7fc0a6709c4fb602e88fa919ceec5
| * Merge "dsp: q6usm: Release spinlock before return if invalid payload size"Linux Build Service Account2019-04-05
| |\
| | * dsp: q6usm: Release spinlock before return if invalid payload sizeVatsal Bucha2019-04-02
| | | | | | | | | | | | | | | | | | | | | | | | Release spinlock in EVENT_READ_DONE before return if payload size is invalid. Change-Id: I0fe4f841ce73ecfc30fe70334e203443e5e2cb28 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
* | | treewide: Fix code issues detected using GCC 8.2.0Sultan Alsawaf2019-04-20
|/ / | | | | | | | | | | | | | | | | | | Use the latest version of GCC to take advantage of improved static analysis. These issues appeared as warnings from the compiler. Many of these fixes are for clearly incorrect code; compiler warnings should not be taken lightly. Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com>
* | dsp: codecs: fix range check for audio buffer copyingXiaoyu Ye2019-03-11
| | | | | | | | | | | | | | | | | | The range checking for audio buffer copying in function "audio_in_write" is using the incorrect buffer size. Change it to the actual allocated audio buffer size. Change-Id: Ib7aaa2163c0d99161369eb85d09dc2d23d8c787b Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
* | qdsp6v2: q6usm: Check size of payload before accessVatsal Bucha2019-02-15
|/ | | | | | | Check size of payload before access in q6usm_mmapcallback. Change-Id: Iff0672532c2ea40e7129237a92d8365d6b554cf2 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
* qdsp6v2: q6usm: Check size of payload before accessVatsal Bucha2019-02-15
| | | | | | | Check size of payload array before access in q6usm_callback. Change-Id: Id0c85209a053f9dfdb53133aeb6b2510ecf18eb8 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
* dsp: codecs: use native API to configure PCM output block in multiaacSoumya Managoli2018-05-16
| | | | | | | | | | | Usage of q6asm_enc_cfg_blk_pcm() does not trigger PortSettingsChanged event which is required for multi aac component. Configure the PCM output block using q6asm_enc_cfg_blk_pcm_native() which ensures that the event gets triggered. Change-Id: Ieefeead45435840c2ecc1c072e8095785fd4b583 Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org> Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
* drivers: qdsp6v2: Add mutex unlock to properly release lockTanya Dixit2017-11-14
| | | | | | | | | Add mutex unlock in function audio_effects_shared_ioctl at appropriate place to prevent use after free. CRs-Fixed: 2123291 Change-Id: Ie0d321dc8cc20a295d102a44faea7e5710834932 Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
* ASoC: msm: qdsp6v2: modify API to configure output PCM blockSatya Krishna Pindiproli2017-09-07
| | | | | | | | | | Pass valid channel count and sample rate information to configure AAC decoder component and modify the API used to configure the output PCM block when multi AAC decoder component is used in non-tunnelled mode. Change-Id: I5938f316a39b722924416b6910e6c8b835e7855e Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org>
* ASoC: msm: qdspv2: initialize struct member before being usedyidongh2017-08-22
| | | | | | | | Initialize member value of struct audio_aio_write_param after declaration. CRs-Fixed: 2091953 Change-Id: Iaf3ff1232e85ae8d26e9d97ce4c2aa3408da7a80 Signed-off-by: Yidong Huang <yidongh@codeaurora.org>
* ASoC: msm: qdsp6v2: make audio debugfs read and release exclusiveDivya Ojha2017-06-08
| | | | | | | | | A thread can read audio debugfs entry while another closes the device. Protect these operations with a mutex and before read check audio data to be a valid pointer. Change-Id: If29a308c1a8329d7befd047d41abe5f6ab626199 Signed-off-by: Divya Ojha <dojha@codeaurora.org>
* ASoC: msm: qdsp6v2: extend validation of virtual addressSiena Richard2017-05-19
| | | | | | | | | Validate a buffer virtual address is fully within the region for an extended edge case. CRs-Fixed: 2049911 Signed-off-by: Siena Richard <sienar@codeaurora.org> Change-Id: I4c56fdd42336d00a2294a8b7cc17c74606e56be2
* Merge "ASoC: msm: qdspv2: add result check when audio process fail"Linux Build Service Account2017-05-03
|\
| * ASoC: msm: qdspv2: add result check when audio process failkunleiz2017-04-26
| | | | | | | | | | | | | | | | | | | | A audio_process_event_req is not always to success. Therefore, check the return value for audio_process_event_req, and initializ usr_evt before using it. CRs-Fixed: 2029798 Change-Id: I4adf682575f5f9233a1a1a533f9c6361af8a5bcf Signed-off-by: kunleiz <kunleiz@codeaurora.org>
* | ASoC: qdsp6v2: Remove Eagle codeAlexy Joseph2017-04-24
|/ | | | | | | | | | Eagle driver is not in use any more. Remove the code and associated calls to it. CRs-Fixed: 1103106 Change-Id: Ice5333861beda9538f0783b70b3267523d16fd2b Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
* drivers: qcom: ultrasound: check concurrent device open operationsDivya Ojha2017-04-16
| | | | | | | | Make opened device count atomic variable to avoid probable race condition. Race condition leads to memory leak and list corruption. Change-Id: I4da98f27d36f616bc8fa7b1a848c20cc7eea04e5 Signed-off-by: Divya Ojha <dojha@codeaurora.org>
* ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneouslykunleiz2017-03-28
| | | | | | | | | Add mutex protection to avoid simultaneous access the same memory by multiple threads. CRs-Fixed: 2013494 Change-Id: I440ea633ceb7312637c9a3b29d22236166d21a39 Signed-off-by: kunleiz <kunleiz@codeaurora.org>
* Merge "ASoC: msm: qdsp6v2: extend validation of virtual address"Linux Build Service Account2017-01-31
|\
| * ASoC: msm: qdsp6v2: extend validation of virtual addressSiena Richard2017-01-16
| | | | | | | | | | | | | | | | | | | | Validate a buffer virtual address is fully within the region before returning the region to ensure functionality for an extended edge case. Change-Id: Iba3e080889980f393d6a9f0afe0231408b92d654 Signed-off-by: Siena Richard <sienar@codeaurora.org> CRs-fixed: 1108461
* | Merge "misc: qcom: qdsp6v2: Add range check in function aac_in_ioctl_shared"Linux Build Service Account2017-01-28
|\ \
| * | misc: qcom: qdsp6v2: Add range check in function aac_in_ioctl_sharedXiaoyu Ye2017-01-12
| |/ | | | | | | | | | | | | | | | | Add range check for cfg->sample_rate to prevent the user space from providing an invalid sample rate. CRs-Fixed: 1108109 Change-Id: I17ccda0901aa4ad84d6e2f78679d71aa327f42eb Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
* / ASoC: msm: qdspv2: add mutex lock when access output buffer lengthkunleiz2017-01-10
|/ | | | | | | | Add mutex protection to avoid access output_len in parallel. CRs-Fixed: 1104067 Change-Id: I4e17258e2abee9cd68152f4b79520b00003aa80d Signed-off-by: kunleiz <kunleiz@codeaurora.org>
* misc: qcom: qdsp6v2: register ioctl calls for g711mlaw driverArun Kumar Dasari2016-11-24
| | | | | | | | Add support for ioctl calls registration in g711mlaw driver. CRs-Fixed: 1094107 Change-Id: Ia5fddfce1f2eebaa08aad0f53cab9c0993b37695 Signed-off-by: Surendar karka <sukark@codeaurora.org>
* misc: qcom: qdsp6v2: modify amr decoder driverArun Kumar Dasari2016-11-24
| | | | | | | | | | Modify decoder driver for amrwb and amrnb. Add compat ioctl to support 32-bit architecture. CRs-Fixed: 1094107 Change-Id: I7d463e4e14c896be33ffb3be418b9f91f49107c5 Signed-off-by: Yamit Mehta <ymehta@codeaurora.org> Signed-off-by: Surendar karka <sukark@codeaurora.org>
* misc: qcom: qdsp6v2: add G711 decoder driverArun Kumar Dasari2016-11-24
| | | | | | | | | | | | add decoder driver for G711 and define a structure in a new header which contains G711 specific configuration. Pass this configuration parameters to the aDSP for successful decode of G711 content. CRs-Fixed: 1094107 Change-Id: I5296de4f525adec549c8d51fbf7fc76120b3b4f5 Signed-off-by: Yamit Mehta <ymehta@codeaurora.org> Signed-off-by: Surendar karka <sukark@codeaurora.org>
* audio: add G711 audio encoding supportPreetam Singh Ranawat2016-11-24
| | | | | | | | | | | G711 PCM is a commonly used waveform speech codec. Add native audio drivers for both G711 mlaw and G711 alaw encoding formats. CRs-Fixed: 1094107 Change-Id: Ia187948fab9840447b1f5b1ede4e9a1ece0b85c5 Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org> Signed-off-by: Surendar karka <sukark@codeaurora.org>
* Merge "drivers: qcom: ultrasound: Lock async driver calls"Linux Build Service Account2016-11-03
|\
| * drivers: qcom: ultrasound: Lock async driver callsSudheer Papothi2016-11-02
| | | | | | | | | | | | | | | | Adds lock to ioctl and other external calls to driver. Adds missing null check in __usf_set_stream_param. Change-Id: I142f31c6bb46d6a394ad012077e1703875a120ad Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | ASoC: msm: qdsp6v2: Change audio drivers to use %pKSurendar karka2016-10-26
|/ | | | | | | | | | | Change all qdsp6v2 audio driver to use %pK instead of %p. %pK hides addresses when the users doesn't have kernel permissions. If address information is needed echo 0 > /proc/sys/kernel/kptr_restrict. CRs-Fixed: 1052832 Change-Id: Id6d45982cbe42a113e58c9b6509eb6ef8064aeef Signed-off-by: Surendar karka <sukark@codeaurora.org>
* Merge "ASoC: msm: lock read/write when add/free audio ion memory"Linux Build Service Account2016-10-14
|\
| * ASoC: msm: lock read/write when add/free audio ion memoryWalter Yang2016-10-12
| | | | | | | | | | | | | | | | | | | | As read/write get access to ion memory region as well, it's necessary to lock them when ion memory is about to be added/freed to avoid racing cases. CRs-Fixed: 1071809 Change-Id: I436ead23c93384961b38ca99b9312a40c50ad03a Signed-off-by: Walter Yang <yandongy@codeaurora.org>
* | misc: qcom: qdsp6v2: Add missing initializationHaynes Mathew George2016-10-12
|/ | | | | | | | Use vars in driver context after proper initialization Change-Id: I3e59e27534b8e1088d74b42c72e0075d2fe910e6 Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org> CRs-Fixed: 1049521, 1049615
* misc: qcom: qdsp6v2: SSR recovery support for NT decoderDhanalakshmi Siddani2016-09-16
| | | | | | | | Post ENETRESET error to omx component during SSR. CRs-Fixed: 1044635 Change-Id: I8c5b8ffc62d34a44bfb47ec4f11477d4320d30a8 Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
* ASoC: msm: Add Buffer overflow checkKarthik Reddy Katta2016-09-10
| | | | | | | | | The overflow check is required to ensure that user space data in kernel may not go beyond buffer boundary. CRs-Fixed: 1064411 Change-Id: I54c28a8942cf1a6a47a4e8272f3159b35d753ead Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>
* Merge "ASoC: qdsp6v2: Add proper dependency for audio driver"Linux Build Service Account2016-09-09
|\
| * ASoC: qdsp6v2: Add proper dependency for audio driverAsish Bhattacharya2016-09-07
| | | | | | | | | | | | | | | | | | Add qdspv6v2 and snd_soc_compress dependencies for audio driver to fix compilation issues on msmfalcon_32. CRs-Fixed: 1061427 Change-Id: Iac276eeec710a11e5feeb6899da121ca6324e19b Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
* | Merge "misc: qcom: qdsp6v2: initialize config_32"Linux Build Service Account2016-09-09
|\ \ | |/ |/|
| * misc: qcom: qdsp6v2: initialize config_32Laxminath Kasam2016-09-01
| | | | | | | | | | | | | | | | | | | | | | Not all memebers of config_32 are set before they are used which might lead to invalid values being passed and used. To fix this issue initialize all member variables of struct config_32 to 0 before assigning specific values individually. CRs-Fixed: 1058826 Change-Id: Ifea3a6e8bf45481c65a4455ee64318304798fee2 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
* | misc: qcom: qdsp6v2: initialize wma_config_32Siena Richard2016-08-18
|/ | | | | | | | | | | Not all memebers of wma_config_32 are set before they are used which might lead to invalid values being passed and used. To fix this issue initialize all member variables of struct wma_config_32 to 0 before assigning specific values individually. Change-Id: Ibb082ce691625527e9a9ffd4978dea7ba4df9e84 CRs-Fixed: 1054352 Signed-off-by: Siena Richard <sienar@codeaurora.org>
* ASoc: msm: fix out of bounds array accessSiena Richard2016-07-14
| | | | | | | | | Check that the array index value is less than the max array size to avoid an out of bounds array access. CRs-Fixed: 1037903 Change-Id: I2e357fd60c03833aed48a815794729fabfcfcf93 Signed-off-by: Siena Richard <sienar@codeaurora.org>
* misc: qcom: qdsp6v2: Return flush errors to user spaceBen Romberger2016-06-27
| | | | | | | | | Return errors from the flush function including the caller of the flush ioctl. CRs-fixed: 1027784 Change-Id: I7ec578b42f50b6ce2f2738193c622c8a2f01ecd8 Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
* ASoC: msm: audio-effects: fix stack overread and heap overwriteWeiyin Jiang2016-05-06
| | | | | | | | | Fix overwrite of updt_params allocated in heap, and stack overread where param pointer is passed from user space. CRs-Fixed: 989628 Change-Id: Ida8bdb7da2fcb97023dce3b6eafe4b899a51cb66 Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
* msm: ultrasound: Various static analysis fixesVidyakumar Athota2016-05-06
| | | | | | | | | Remove potential null dereference. Remove dead code from impossible error check. Set upper bound for user-provided buffer size. Change-Id: I212f3edfa31e9168d11e0782da7f3fd8c2b98c5d Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* ASoC: msm: audio-effects: misc fixes in h/w accelerated effectWeiyin Jiang2016-05-03
| | | | | | | | | Adding memory copy size check and integer overflow check in h/w accelerated effect driver. Change-Id: I17d4cc0a38770f0c5067fa8047cd63e7bf085e48 CRs-Fixed: 1006609 Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
* ASoC: msm: qdsp6v2: use session id for token valueShiv Maliyappanahalli2016-04-12
| | | | | | | | | | Read commands are currently assigning 64bit physical address to 32bit token. There is a possibility that this physical address may have same lower 32bit values which could cause errors. Fix by assigning session id as the token value. Change-Id: Ie704e34338201ecec191b2031d20552691aed3ea Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
* ASoC: msm: qdsp6v2: use token for tracking no wait cmdShiv Maliyappanahalli2016-04-12
| | | | | | | | | | | Use tokens to track all active no wait commands. In ASM driver, certain commands are waited on to get response from ADSP. There is a possibility that certain no-wait commands can be improperly recognized and woken up leading to time outs. Change-Id: I2030a354493845b63cf92d35ca4eaadef38cfb79 Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
* msm: ultrasound: USF stays awake after each eventPhani Kumar Uppalapati2016-03-23
| | | | | | | | Give upper layers enough time to turn on screen before falling back into SUSPEND. Change-Id: I162f25dffdbbeb783d0bca673d6e6db8de412aac Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
* ASoC: audio: update API name for populate upper 32bitsLaxminath Kasam2016-03-23
| | | | | | | | | In audio ion driver, append msm_audio_ to API populate_upper_32bits to maintain consistency across other API names in this driver. Change-Id: I72aace56bf8e80c6dd83f768876253d2c7f334bb Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
* ASoC: msm: Add Audio drivers for MSM targetsSudheer Papothi2016-03-23
Add snapshot for audio drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level - AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>