summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
| | * soc: qcom: gsbi: Fix error handling in gsbi_probe()Alexey Khoroshilov2019-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit 8cd09a3dd3e176c62da67efcd477a44a8d87185e ] If of_platform_populate() fails in gsbi_probe(), gsbi->hclk is left undisabled. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
* | | Merge "icnss: Add a flag to indicate PDR"Linux Build Service Account2019-05-07
|\ \ \
| * | | icnss: Add a flag to indicate PDRSandeep Singh2019-05-06
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | During pdr case wlan host driver is not doing the cleanup of ipa module. So after sap mode recovery in pdr case data packets are not going on ipa path even ipa is enabled. To address this issue send pdr indication to wlan host driver. Change-Id: Ib0480870d3218da61edb0309725787c0382957ab Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
* / / soc: qcom: secure_buffer: Process large SG tables in batchesIsaac J. Manjarres2019-05-05
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if processing an SG table consumes more memory than can fit in the pre-allocated buffer, then calls to hyp_assign_table() will fail as if there were not enough memory available to process the request. Instead, for every call to hyp assign, allocate enough memory to process the maximum batch size, and process large SG tables in pieces, using this memory. This avoids failures due to large SG tables. Also, since the memory for handling these requests is now allocated per hyp_assign_table() call, we can drop the pre-allocated buffer, as it is no longer in use. Change-Id: Ie9899a5e2c8de6127707609101f5fb557e3f0533 Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
* | soc: qcom: Add QMI client driver for MFSE serviceAjay Agarwal2019-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add QMI client driver for Modem File System External(MFSE) service. The service provides limited file system commands that an off-chip client can invoke, such as setting and getting the current EFS sync timer value. Once MFSE service is registered, use the following commands: To get current timer value: cat /sys/class/mfse_qmi_clnt/sync_timer/value To set current timer value: echo <time> > /sys/class/mfse_qmi_clnt/sync_timer/value Change-Id: I379c7050169f57e3bfaee6f6353ad1cbac6f5276 Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
* | icnss: return recovery success to wlan driverSandeep Singh2019-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge "soc: qcom: subsystem_notif_virt: Add waitqueue support for SSR"Linux Build Service Account2019-03-28
|\ \
| * | soc: qcom: subsystem_notif_virt: Add waitqueue support for SSRAnant Goel2019-03-27
| | | | | | | | | | | | | | | | | | | | | | | | Add blocking support for SSR on the GHS platform. SSR will block until receiving acknowledgment. Change-Id: I549908f702318fc9e9dca5cdb12ad353881b6991 Signed-off-by: Anant Goel <anantg@codeaurora.org>
* | | Merge "drivers: soc: qcom: Added check to avoid opening multiple instance"Linux Build Service Account2019-03-27
|\| |
| * | drivers: soc: qcom: Added check to avoid opening multiple instanceAjit Pandey2019-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Opening of multiple instance of voice_svc user space from app will lead to pointer deference of private data within apr callback. As multi-instance not supported added check to deny open() from user space if previous instance hasn't been closed. Change-Id: Ia5ef16c69a517760fc9d45530a8a41a333fa2a21 Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
* | | icnss: Add Api to Block/Unblock modem shutdownAnurag Chouhan2019-03-26
| | | | | | | | | | | | | | | | | | | | | Add API to Block/Unblock modem graceful shutdown. Change-Id: I69b061fc7d25762b2c36d9590802addfc170f91f Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
* | | icnss: Defer modem graceful shutdown until probe completeAnurag Chouhan2019-03-26
|/ / | | | | | | | | | | | | | | | | | | | | | | | | In case WLAN driver probe is in progress and modem graceful shutdown occurs and if modem shutdown request is sent just before the mode on request sent to firmware, firmware may end up in illegal memory access. To address this issue, modem notifier needs to be blocked needs for probe to complete or max 5 seconds timeout. CRs-Fixed: 2381846 Change-Id: I9e13a11c56059cb29e161c34df11de484f87ac5e Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
* | Merge "icnss: Add support for graceful shutdown"Linux Build Service Account2019-03-18
|\ \
| * | icnss: Add support for graceful shutdownSandeep Singh2019-03-14
| | | | | | | | | | | | | | | | | | | | | | | | Add a QMI command to indicate graceful shutdown to the FW and updating the QMI file. Change-Id: I0360f6f5b49bc19ea4a7acbbd0e192e1596463d6 Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
* | | Merge "soc: qcom: hab: unify variable type to avoid implicit conversion"Linux Build Service Account2019-03-18
|\ \ \ | |/ / |/| |
| * | soc: qcom: hab: unify variable type to avoid implicit conversionYao Jiang2019-03-13
| | | | | | | | | | | | | | | | | | | | | | | | correcting the type of sizebytes and total_size to size_t,it can avoid implicit conversion which maybe cause some unknown issue. Change-Id: I1c1cc9e92ca2920cc49685edef0d928dd67454c7 Signed-off-by: Yao Jiang <yaojia@codeaurora.org>
* | | Merge "qdsp6v2: apr: check for packet size to header size comparison"Linux Build Service Account2019-03-11
|\ \ \
| * | | qdsp6v2: apr: check for packet size to header size comparisonVatsal Bucha2019-03-03
| |/ / | | | | | | | | | | | | | | | | | | Check if packet size is large enough to hold the header. Change-Id: I7261f8111d8b5f4f7c181e469de248a732242d64 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
* | | Merge "soc: qcom: subsystem_notif_virt: Add support for GHS platform"Linux Build Service Account2019-03-08
|\ \ \ | |/ / |/| |
| * | soc: qcom: subsystem_notif_virt: Add support for GHS platformAnant Goel2019-03-06
| | | | | | | | | | | | | | | | | | | | | Add virtual SSR support for the GHS platform. Change-Id: I5c2b79817341d861bbeb5cf074a0fd6bd244aac1 Signed-off-by: Anant Goel <anantg@codeaurora.org>
* | | Merge "ASoC: msm: q6dspv2: vote for Glink Rx thread priority upgrade"Linux Build Service Account2019-03-01
|\ \ \
| * | | soc: q6dspv2: add api to vote for upgrading thread priorityBanajit Goswami2019-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some time critical tasks, the thread priority might need to be upgraded to Real-Time Thread priority level. Expose an interface from APR layer so that clients can vote for a priority upgrade whenever needed. Change-Id: Ieb4afa914905750eccdf7672020a8751fdcf6462 Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
* | | | Merge android-4.4.175 (08d5867) into msm-4.4Srinivasarao P2019-02-22
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/heads/tmp-08d5867 Linux 4.4.175 uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define pinctrl: msm: fix gpio-hog related boot issues usb: dwc2: Remove unnecessary kfree kaweth: use skb_cow_head() to deal with cloned skbs ch9200: use skb_cow_head() to deal with cloned skbs smsc95xx: Use skb_cow_head to deal with cloned skbs dm thin: fix bug where bio that overwrites thin block ignores FUA x86/a.out: Clear the dump structure initially signal: Restore the stop PTRACE_EVENT_EXIT x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls tracing/uprobes: Fix output for multiple string arguments alpha: Fix Eiger NR_IRQS to 128 alpha: fix page fault handling for r16-r18 targets Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780 Input: bma150 - register input device after setting private data ALSA: usb-audio: Fix implicit fb endpoint setup by quirk ALSA: hda - Add quirk for HP EliteBook 840 G5 perf/core: Fix impossible ring-buffer sizes warning Input: elan_i2c - add ACPI ID for touchpad in Lenovo V330-15ISK Revert "Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G" Documentation/network: reword kernel version reference cifs: Limit memory used by lock request calls to a page gpio: pl061: handle failed allocations ARM: dts: kirkwood: Fix polarity of GPIO fan lines ARM: dts: da850-evm: Correct the sound card name uapi/if_ether.h: prevent redefinition of struct ethhdr Revert "exec: load_script: don't blindly truncate shebang string" batman-adv: Force mac header to start of data on xmit batman-adv: Avoid WARN on net_device without parent in netns xfrm: refine validation of template and selector families libceph: avoid KEEPALIVE_PENDING races in ceph_con_keepalive() Revert "cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)" NFC: nxp-nci: Include unaligned.h instead of access_ok.h HID: debug: fix the ring buffer implementation drm/vmwgfx: Return error code from vmw_execbuf_copy_fence_user drm/vmwgfx: Fix setting of dma masks drm/modes: Prevent division by zero htotal mac80211: ensure that mgmt tx skbs have tailroom for encryption ARM: iop32x/n2100: fix PCI IRQ mapping MIPS: VDSO: Include $(ccflags-vdso) in o32,n32 .lds builds MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled mips: cm: reprime error cause debugfs: fix debugfs_rename parameter checking misc: vexpress: Off by one in vexpress_syscfg_exec() signal: Better detection of synchronous signals signal: Always notice exiting tasks mtd: rawnand: gpmi: fix MX28 bus master lockup problem perf tests evsel-tp-sched: Fix bitwise operator perf/core: Don't WARN() for impossible ring-buffer sizes x86/MCE: Initialize mce.bank in the case of a fatal error in mce_no_way_out() perf/x86/intel/uncore: Add Node ID mask KVM: nVMX: unconditionally cancel preemption timer in free_nested (CVE-2019-7221) KVM: x86: work around leak of uninitialized stack contents (CVE-2019-7222) usb: gadget: udc: net2272: Fix bitwise and boolean operations usb: phy: am335x: fix race condition in _probe dmaengine: imx-dma: fix wrong callback invoke fuse: handle zero sized retrieve correctly fuse: decrement NR_WRITEBACK_TEMP on the right page fuse: call pipe_buf_release() under pipe lock ALSA: hda - Serialize codec registrations ALSA: compress: Fix stop handling on compressed capture streams net: dsa: slave: Don't propagate flag changes on down slave interfaces net: systemport: Fix WoL with password after deep sleep skge: potential memory corruption in skge_get_regs() net: dp83640: expire old TX-skb enic: fix checksum validation for IPv6 dccp: fool proof ccid_hc_[rt]x_parse_options() string: drop __must_check from strscpy() and restore strscpy() usages in cgroup tipc: use destination length for copy string test_hexdump: use memcpy instead of strncpy thermal: hwmon: inline helpers when CONFIG_THERMAL_HWMON is not set exec: load_script: don't blindly truncate shebang string fs/epoll: drop ovflist branch prediction kernel/hung_task.c: break RCU locks based on jiffies HID: lenovo: Add checks to fix of_led_classdev_register block/swim3: Fix -EBUSY error when re-opening device after unmount gdrom: fix a memory leak bug isdn: hisax: hfc_pci: Fix a possible concurrency use-after-free bug in HFCPCI_l1hw() ocfs2: don't clear bh uptodate for block read scripts/decode_stacktrace: only strip base path when a prefix of the path niu: fix missing checks of niu_pci_eeprom_read um: Avoid marking pages with "changed protection" cifs: check ntwrk_buf_start for NULL before dereferencing it crypto: ux500 - Use proper enum in hash_set_dma_transfer crypto: ux500 - Use proper enum in cryp_set_dma_transfer seq_buf: Make seq_buf_puts() null-terminate the buffer hwmon: (lm80) fix a missing check of bus read in lm80 probe hwmon: (lm80) fix a missing check of the status of SMBus read NFS: nfs_compare_mount_options always compare auth flavors. KVM: x86: svm: report MSR_IA32_MCG_EXT_CTL as unsupported fbdev: fbcon: Fix unregister crash when more than one framebuffer igb: Fix an issue that PME is not enabled during runtime suspend fbdev: fbmem: behave better with small rotated displays and many CPUs video: clps711x-fb: release disp device node in probe() drbd: Avoid Clang warning about pointless switch statment drbd: skip spurious timeout (ping-timeo) when failing promote drbd: disconnect, if the wrong UUIDs are attached on a connected peer drbd: narrow rcu_read_lock in drbd_sync_handshake cw1200: Fix concurrency use-after-free bugs in cw1200_hw_scan() Bluetooth: Fix unnecessary error message for HCI request completion xfrm6_tunnel: Fix spi check in __xfrm6_tunnel_alloc_spi mac80211: fix radiotap vendor presence bitmap handling powerpc/uaccess: fix warning/error with access_ok() arm64: KVM: Skip MMIO insn after emulation tty: serial: samsung: Properly set flags in autoCTS mode memstick: Prevent memstick host from getting runtime suspended during card detection ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M ARM: pxa: avoid section mismatch warning udf: Fix BUG on corrupted inode i2c-axxia: check for error conditions first cpuidle: big.LITTLE: fix refcount leak clk: imx6sl: ensure MMDC CH0 handshake is bypassed sata_rcar: fix deferred probing iommu/arm-smmu-v3: Use explicit mb() when moving cons pointer mips: bpf: fix encoding bug for mm_srlv32_op ARM: dts: Fix OMAP4430 SDP Ethernet startup timekeeping: Use proper seqcount initializer usb: hub: delay hub autosuspend if USB3 port is still link training smack: fix access permissions for keyring media: DaVinci-VPBE: fix error handling in vpbe_initialize() x86/fpu: Add might_fault() to user_insn() ARM: dts: mmp2: fix TWSI2 arm64: ftrace: don't adjust the LR value nfsd4: fix crash on writing v4_end_grace before nfsd startup sunvdc: Do not spin in an infinite loop when vio_ldc_send() returns EAGAIN f2fs: fix wrong return value of f2fs_acl_create f2fs: move dir data flush to write checkpoint process soc/tegra: Don't leak device tree node reference perf tools: Add Hygon Dhyana support modpost: validate symbol names also in find_elf_symbol ARM: OMAP2+: hwmod: Fix some section annotations staging: iio: ad7780: update voltage on read staging:iio:ad2s90: Make probe handle spi_setup failure ptp: check gettime64 return code in PTP_SYS_OFFSET ioctl serial: fsl_lpuart: clear parity enable bit when disable parity powerpc/pseries: add of_node_put() in dlpar_detach_node() x86/PCI: Fix Broadcom CNB20LE unintended sign extension (redux) dlm: Don't swamp the CPU with callbacks queued during recovery ARM: 8808/1: kexec:offline panic_smp_self_stop CPU scsi: lpfc: Correct LCB RJT handling ASoC: Intel: mrfld: fix uninitialized variable access staging: iio: adc: ad7280a: handle error from __ad7280_read32() drm/bufs: Fix Spectre v1 vulnerability BACKPORT: userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas ANDROID: cuttlefish_defconfig: Enable DEBUG_SET_MODULE_RONX ANDROID: Move from clang r346389b to r349610. UPSTREAM: virt_wifi: fix error return code in virt_wifi_newlink() ion: Disable ION_HEAP_TYPE_SYSTEM_CONTIG Change-Id: I8456a2f1d229a2d454295d660f749a2b436c6440 Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
| * | soc/tegra: Don't leak device tree node referenceYangtao Li2019-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit 9eb40fa2cd2d1f6829e7b49bb22692f754b9cfe0 ] of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. soc_is_tegra() doesn't do that, so fix it. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> [treding: slightly rewrite to avoid inline comparison] Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
* | | Merge "soc: qcom: Validate read and write index before calculating ptr"Linux Build Service Account2019-02-12
|\ \ \
| * | | soc: qcom: Validate read and write index before calculating ptrDeepak Kumar Singh2019-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we are not validating read and write index of tx and rx fifo's before calculating ptr, this can lead to out-of-bound access. The patch adds proper check for the same. CR-Fixed: 2355425 Change-Id: I7b158e94ae743a90ac364783fe31914ca0fa582b Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
* | | | soc: qcom: Fix identified corner cases.Vivek Kumar2019-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix identified corner cases with respect to early services. 1. Allow hot adding of non-earlydomain cpus. 2. NOP for apis when earlydomain is inactive. 3. Loop for size of cpumask and not cpumask_t Change-Id: Iad00ee6468232e2072eb3bbcd2e70faedc7c7886 Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
* | | | soc: qcom: hab: adapt to the new get_user_pages()Yong Ding2019-01-16
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | The previous write and force parameters of get_user_pages() are replaced with gup_flags, so HAB needs the relevant change since it uses this API. Change-Id: I8bb8eac3bd9ef0090a29fce28745b9904e087e0c Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | msm: early_domain: return directly if early domain disabledAndy Sun2018-12-27
| | | | | | | | | | | | | | | | | | | | | | | | If early_domain_enabled is false, ed_core_data won't be allocated memory, accessing early_domain_request will cause kernel Oops. Change-Id: I8a64c574141a7647e699710b566cc5997d372478 Signed-off-by: Andy Sun <bins@codeaurora.org>
* | | soc: qcom: glink: Initialize local state while fetching ctxDhoat Harpal2018-12-20
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialization of channel's local state is not done at the time of fetching context from list of channels. This leads to race condition if remote close happens during this time. Remote close will check if local state is not open then delete channel from list. This leads to use after free scenerio. Initialize local state at the time of fetching channel context from list of channels. CRs-Fixed: 2155992 Change-Id: If113daba129191bd67ef2460eb4e87c2d5614403 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | memshare: Conditional free the clients allotted memoryManoj Prabhu B2018-12-13
| | | | | | | | | | | | | | | | The patch adds an additional check to not free the clients memory if the client has a designated property of allocate-on-request. Change-Id: Iecf5886034ccd052ab82fff18cc66f1868604284 Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
* | Merge "scm_qcpe: validate hab_recv() return value for retry"Linux Build Service Account2018-12-05
|\ \
| * | scm_qcpe: validate hab_recv() return value for retryYoussef Youssef2018-12-05
| | | | | | | | | | | | | | | | | | | | | | | | habmm_socket_recv() can return -EINTR which indicate that the operation must be restarted. Change-Id: I0860a9593303c7bf1fea5e0349595c4b2fb085eb Signed-off-by: Youssef Youssef <yyoussef@codeaurora.org>
* | | soc: qcom: glink: Add support to set affinitiesChris Lew2018-12-04
|/ / | | | | | | | | | | | | | | | | | | There is a need to pin the interrupts and rx worker thread to a specific cpu set for power and performance. Add support to define the cpu set in device tree. This change does not include any hotplug support. Change-Id: Ibe651e987e72f5119e9e8453d87fa8059219ec1f Signed-off-by: Chris Lew <clew@codeaurora.org>
* | Merge "Merge android-4.4.165 (f34ff9e) into msm-4.4"Linux Build Service Account2018-12-04
|\ \
| * | Merge android-4.4.164 (564ce1b) into msm-4.4Srinivasarao P2018-11-21
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/heads/tmp-564ce1b Linux 4.4.164 drm/i915/hdmi: Add HDMI 2.0 audio clock recovery N values drm/dp_mst: Check if primary mstb is null drm/rockchip: Allow driver to be shutdown on reboot/kexec mm: migration: fix migration of huge PMD shared pages hugetlbfs: fix kernel BUG at fs/hugetlbfs/inode.c:444! configfs: replace strncpy with memcpy fuse: fix leaked notify reply rtc: hctosys: Add missing range error reporting sunrpc: correct the computation for page_ptr when truncating mount: Prevent MNT_DETACH from disconnecting locked mounts mount: Don't allow copying MNT_UNBINDABLE|MNT_LOCKED mounts mount: Retest MNT_LOCKED in do_umount ext4: fix buffer leak in __ext4_read_dirblock() on error path ext4: fix buffer leak in ext4_xattr_move_to_block() on error path ext4: release bs.bh before re-using in ext4_xattr_block_find() ext4: fix possible leak of sbi->s_group_desc_leak in error path ext4: avoid possible double brelse() in add_new_gdb() on error path ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizing ext4: avoid buffer leak in ext4_orphan_add() after prior errors ext4: fix possible inode leak in the retry loop of ext4_resize_fs() ext4: avoid potential extra brelse in setup_new_flex_group_blocks() ext4: add missing brelse() add_new_gdb_meta_bg()'s error path ext4: add missing brelse() in set_flexbg_block_bitmap()'s error path ext4: add missing brelse() update_backups()'s error path clockevents/drivers/i8253: Add support for PIT shutdown quirk Btrfs: fix data corruption due to cloning of eof block arch/alpha, termios: implement BOTHER, IBSHIFT and termios2 termios, tty/tty_baudrate.c: fix buffer overrun mtd: docg3: don't set conflicting BCH_CONST_PARAMS option mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings ocfs2: fix a misuse a of brelse after failing ocfs2_check_dir_entry vhost/scsi: truncate T10 PI iov_iter to prot_bytes mach64: fix image corruption due to reading accelerator registers mach64: fix display corruption on big endian machines libceph: bump CEPH_MSG_MAX_DATA_LEN clk: s2mps11: Fix matching when built as module and DT node contains compatible xtensa: fix boot parameters address translation xtensa: make sure bFLT stack is 16 byte aligned xtensa: add NOTES section to the linker script MIPS: Loongson-3: Fix BRIDGE irq delivery problem MIPS: Loongson-3: Fix CPU UART irq delivery problem bna: ethtool: Avoid reading past end of buffer e1000: fix race condition between e1000_down() and e1000_watchdog e1000: avoid null pointer dereference on invalid stat type mm: do not bug_on on incorrect length in __mm_populate() fs, elf: make sure to page align bss in load_elf_library mm: refuse wrapped vm_brk requests binfmt_elf: fix calculations for bss padding mm, elf: handle vm_brk error fuse: set FR_SENT while locked fuse: fix blocked_waitq wakeup fuse: Fix use-after-free in fuse_dev_do_write() fuse: Fix use-after-free in fuse_dev_do_read() scsi: qla2xxx: Fix incorrect port speed being set for FC adapters cdrom: fix improper type cast, which can leat to information leak. 9p: clear dangling pointers in p9stat_free 9p locks: fix glock.client_id leak in do_lock media: tvp5150: fix width alignment during set_selection() sc16is7xx: Fix for multi-channel stall powerpc/boot: Ensure _zimage_start is a weak symbol MIPS: kexec: Mark CPU offline before disabling local IRQ media: pci: cx23885: handle adding to list failure drm/omap: fix memory barrier bug in DMM driver powerpc/nohash: fix undefined behaviour when testing page size support tty: check name length in tty_find_polling_driver() MD: fix invalid stored role for a disk - try2 btrfs: set max_extent_size properly Btrfs: fix null pointer dereference on compressed write path error btrfs: qgroup: Dirty all qgroups before rescan Btrfs: fix wrong dentries after fsync of file that got its parent replaced btrfs: make sure we create all new block groups btrfs: reset max_extent_size on clear in a bitmap btrfs: wait on caching when putting the bg cache btrfs: don't attempt to trim devices that don't support it btrfs: iterate all devices during trim, instead of fs_devices::alloc_list btrfs: locking: Add extra check in btrfs_init_new_buffer() to avoid deadlock btrfs: Handle owner mismatch gracefully when walking up tree soc/tegra: pmc: Fix child-node lookup arm64: dts: stratix10: Correct System Manager register size Cramfs: fix abad comparison when wrap-arounds occur ext4: avoid running out of journal credits when appending to an inline file media: em28xx: make v4l2-compliance happier by starting sequence on zero media: em28xx: fix input name for Terratec AV 350 media: em28xx: use a default format if TRY_FMT fails xen: fix xen_qlock_wait() kgdboc: Passing ekgdboc to command line causes panic TC: Set DMA masks for devices MIPS: OCTEON: fix out of bounds array access on CN68XX powerpc/msi: Fix compile error on mpc83xx dm ioctl: harden copy_params()'s copy_from_user() from malicious users lockd: fix access beyond unterminated strings in prints nfsd: Fix an Oops in free_session() NFSv4.1: Fix the r/wsize checking genirq: Fix race on spurious interrupt detection printk: Fix panic caused by passing log_buf_len to command line smb3: on kerberos mount if server doesn't specify auth type use krb5 smb3: do not attempt cifs operation in smb3 query info error path smb3: allow stats which track session and share reconnects to be reset w1: omap-hdq: fix missing bus unregister at removal iio: adc: at91: fix wrong channel number in triggered buffer mode iio: adc: at91: fix acking DRDY irq on simple conversions kbuild: fix kernel/bounds.c 'W=1' warning hugetlbfs: dirty pages as they are added to pagecache ima: fix showing large 'violations' or 'runtime_measurements_count' crypto: lrw - Fix out-of bounds access on counter overflow signal/GenWQE: Fix sending of SIGKILL PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk HID: hiddev: fix potential Spectre v1 ext4: initialize retries variable in ext4_da_write_inline_data_begin() gfs2_meta: ->mount() can get NULL dev_name jbd2: fix use after free in jbd2_log_do_checkpoint() libnvdimm: Hold reference on parent while scheduling async init net/ipv4: defensive cipso option parsing xen: make xen_qlock_wait() nestable xen: fix race in xen_qlock_wait() tpm: Restore functionality to xen vtpm driver. xen-swiotlb: use actually allocated size on check physical continuous ALSA: hda: Check the non-cached stream buffers more explicitly dmaengine: dma-jz4780: Return error if not probed from DT signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace init scsi: lpfc: Correct soft lockup when running mds diagnostics uio: ensure class is registered before devices driver/dma/ioat: Call del_timer_sync() without holding prep_lock usb: chipidea: Prevent unbalanced IRQ disable MD: fix invalid stored role for a disk ext4: fix argument checking in EXT4_IOC_MOVE_EXT tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivated scsi: megaraid_sas: fix a missing-check bug scsi: esp_scsi: Track residual for PIO transfers ath10k: schedule hardware restart if WMI command times out pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant pinctrl: spmi-mpp: Fix pmic_mpp_config_get() to be compliant pinctrl: qcom: spmi-mpp: Fix drive strength setting ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers kprobes: Return error if we fail to reuse kprobe instead of BUG_ON() pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux x86: boot: Fix EFI stub alignment Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01 perf tools: Cleanup trace-event-info 'tdata' leak perf tools: Free temporary 'sys' string in read_event_files() tun: Consistently configure generic netdev params via rtnetlink swim: fix cleanup on setup error ataflop: fix error handling during setup locking/lockdep: Fix debug_locks off performance problem selftests: ftrace: Add synthetic event syntax testcase net: qla3xxx: Remove overflowing shift statement x86/fpu: Remove second definition of fpu in __fpu__restore_sig() sparc: Fix single-pcr perf event counter management. x86/kconfig: Fall back to ticket spinlocks x86/corruption-check: Fix panic in memory_corruption_check() when boot option without value is provided ALSA: ca0106: Disable IZD on SB0570 DAC to fix audio pops ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905) parisc: Fix map_pages() to not overwrite existing pte entries parisc: Fix address in HPMC IVA ipmi: Fix timer race with module unload pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges jffs2: free jffs2_sb_info through jffs2_kill_sb() hwmon: (pmbus) Fix page count auto-detection. bcache: fix miss key refill->end in writeback ANDROID: zram: set comp_len to PAGE_SIZE when page is huge Conflicts: drivers/hid/usbhid/hiddev.c Change-Id: I42874613e3b4102ef4ed051e1e8ed25b2d4ae7f2 Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
| | * soc/tegra: pmc: Fix child-node lookupJohan Hovold2018-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 1dc6bd5e39a29453bdcc17348dd2a89f1aa4004e upstream. Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rather than just matching on its children. To make things worse, the parent pmc node could end up being prematurely freed as of_find_node_by_name() drops a reference to its first argument. Fixes: 3568df3d31d6 ("soc: tegra: Add thermal reset (thermtrip) support to PMC") Cc: stable <stable@vger.kernel.org> # 4.0 Cc: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | soc: qcom: Implement early domain handoff driverVivek Kumar2018-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Early domain in LK runs in parallel with kernel with some memory and cpu core(s) reserved for it. LK updates the status of early services on a shared memory location. In Kernel, this driver provides new APIs to check any early service's status and to communicate with them. It hot adds the reserved cpu(s) and frees lk text once all early services end. Change-Id: I0b29b1886abea3280543d76492044c8946d7690e Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
* | | Merge "soc: qcom: subsystem_notif_virt: Only initialize work for virtual ↵Linux Build Service Account2018-11-21
|\ \ \ | | | | | | | | | | | | systems"
| * | | soc: qcom: subsystem_notif_virt: Only initialize work for virtual systemsAnant Goel2018-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A function is assigned to a work struct only when the subsystem is a virtual subsystem. Change-Id: Icdb3ddba4509d3727ecb634ccc6108c3b3b2a05d Signed-off-by: Anant Goel <anantg@codeaurora.org>
* | | | drivers: soc: boot_markers: Add bootmarkers for early cameraE V Ravi2018-11-18
| |/ / |/| | | | | | | | | | | | | | | | | | | | Create bootmarkers inorder to get bootloader early camera start time from the RAM area Change-Id: I6635f4bbae958c73cceae9bb4b33db339838f303 Signed-off-by: E V Ravi <evenka@codeaurora.org>
* | | Merge "soc: qcom: hab: benchmark cross VM schdule latency"Linux Build Service Account2018-11-08
|\ \ \ | |/ / |/| |
| * | soc: qcom: hab: benchmark cross VM schdule latencyChao Bi2018-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Develop a mechanism to measure the latency of cross-vm scheduling. It makes use of mpm_timer and leverage hab driver to record the time when previous vm is scheduled out and when next vm is schduled in, and pass these values to habtest to calculate the latency of schduling. Change-Id: I0051d5a42979826b8e249ac704fcc7ed87d8d581 Signed-off-by: Chao Bi <chaobi@codeaurora.org>
* | | Merge "soc: qcom: glink_smem_native_xprt: init in_ssr before IRQ eanbled."Linux Build Service Account2018-11-06
|\ \ \
| * | | soc: qcom: glink_smem_native_xprt: init in_ssr before IRQ eanbled.Yimin Peng2018-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of glink irq arriving before irq request done, we should move setting in_ssr flag ahead. Change-Id: I8b976f4b3f38acd1e7dc8ef03108f434eff99a28 Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
* | | | Merge "soc: qcom: hab: refine hab virtual channel's resource free"Linux Build Service Account2018-11-06
|\ \ \ \
| * | | | soc: qcom: hab: refine hab virtual channel's resource freeYong Ding2018-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever a vchan is locally closed in hab_vchan_close or hab_free, 4 actions should be taken immediately, including, - remove it from the local hab context - mark its local closed flag - notify remote side and unblock local blocking calls over it - decrease the refcnt on the vchan Change-Id: I3fbde9464f6405b6dadac248768a5fd857a29128 Signed-off-by: Yong Ding <yongding@codeaurora.org>
| * | | | soc: hab: Fix a memory leakage when unexportYajun Li2018-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the remote vchan is closed and unexport happens in local at the same time, function hab_get_vchan_fromvcid will return null in hab unexport, which will cause memory leak. Change-Id: I8dac4f4154f24734dc2a11aa73f726cd705cc291 Signed-off-by: Yajun Li <yajunl@codeaurora.org>
* | | | | Merge "soc: qcom: socinfo: Add support for APQ8096A"Linux Build Service Account2018-11-06
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | soc: qcom: socinfo: Add support for APQ8096AArun KS2018-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CPU ID to the socinfo table needed to support APQ8096A Automotive SoC. Change-Id: I621faa171c867b36fa541961772a841333917861 Signed-off-by: Arun KS <arunks@codeaurora.org>