Commit graph

892,333 commits

Author SHA1 Message Date
Chris Lew
ca1c9dc6bf net: neuron: channel: Check buffer boundaries
Sanitize the ring buffer length read from the other side to ensure
the bounds match the memory that is mapped.

Change-Id: Ifdac3e0dee11374e61ede3a2cfb82e1957c6a2b2
Signed-off-by: Chris Lew <[email protected]>
2020-11-12 15:09:46 -08:00
Chris Lew
332b0b6fa4 soc: qcom: qmi_interface: Parse all control packets
There are some control packets such as DEL_CLIENT that will not always
match the local node address. All packets addressed to the control port
should be decoded as qrtr control packets.

Change-Id: I46b366c77fd2d8defc203e0c74181a228710c48e
Signed-off-by: Chris Lew <[email protected]>
2020-11-12 15:08:14 -08:00
qctecmdr
b482a807a1 Merge "arm64: defconfig: Increase PANIC timeout for Holi" 2020-11-12 09:55:03 -08:00
qctecmdr
b604e85198 Merge "coresight: byte-cnter: limit error log output" 2020-11-12 09:55:03 -08:00
qctecmdr
e8315dfb98 Merge "cnss2: Avoid race condition between time sync and system suspend" 2020-11-12 09:55:02 -08:00
qctecmdr
b37f5eaee1 Merge "cnss-utils: Compile firmware service file independently" 2020-11-12 09:55:02 -08:00
qctecmdr
dd95ccfb13 Merge "iio: adc: spmi-adc5: Add support for PM2250 S3 die temp channel" 2020-11-12 09:55:02 -08:00
qctecmdr
46f86ded36 Merge "gki: Update GKI_VERSION" 2020-11-12 09:55:02 -08:00
qctecmdr
c8e2ca976a Merge "cnss2: Handle resume request while suspend in progress" 2020-11-11 23:52:34 -08:00
qctecmdr
eeb4692062 Merge "arm64: defconfig: Enable CONFIG_ARM_SMMU_POWER_ON_ALWAYS for GKI targets" 2020-11-11 23:52:34 -08:00
qctecmdr
c64a5ca35d Merge "arm64: defconfig: Disable serial console defconfig" 2020-11-11 23:52:33 -08:00
qctecmdr
963cc1176a Merge "f2fs: should avoid inode eviction in synchronous path" 2020-11-11 23:52:32 -08:00
qctecmdr
97bdb3c282 Merge "defconfig: Enable new download/restart mode driver on sdxlemur" 2020-11-11 23:52:31 -08:00
qctecmdr
5491eb5827 Merge "msm: kgsl: Compare pid pointer instead of TGID for a new process" 2020-11-11 23:52:31 -08:00
qctecmdr
65cd45d458 Merge "defconfig: sdxlemur: Enable QG driver" 2020-11-11 23:52:30 -08:00
qctecmdr
59ba700363 Merge "mm: do not shrink pages marked for reclaim by MADV_FREE" 2020-11-11 23:35:26 -08:00
qctecmdr
77c1bc11c1 Merge "power: supply: qti_battery_charger: run usb_type_work during probe" 2020-11-11 23:35:26 -08:00
qctecmdr
fe8c094f8c Merge "dwc3: Don't perform set xfer resource from EP_OP_CONFIG for GSI endpoint" 2020-11-11 23:35:26 -08:00
qctecmdr
d2deb0f365 Merge "msm: kgsl: Fill a6xx crash dumper buffer with known pattern" 2020-11-11 23:35:25 -08:00
qctecmdr
6d1978e749 Merge "mm/oom_kill: defer panic_on_oom for a timeout" 2020-11-11 23:35:25 -08:00
qctecmdr
83a4d55aad Merge "defconfig: msm: Enable IPC logging" 2020-11-11 23:35:25 -08:00
qctecmdr
cb703de0e3 Merge "mmc: core: Add IPC logging config for mmc" 2020-11-11 23:35:24 -08:00
qctecmdr
e794c68d5c Merge "mmc: Add IPC tracing events for eMMC and SD card" 2020-11-11 23:35:24 -08:00
qctecmdr
97956dc079 Merge "input: qcom-hv-haptics: add support to operate from non-HBoost regulator" 2020-11-11 23:35:24 -08:00
qctecmdr
b90e4c8ecb Merge "soc: qcom: socinfo: Add supprot for SDXNIGHTJAR soc-id" 2020-11-11 23:35:24 -08:00
qctecmdr
f2fc00f408 Merge "defconfig: Added PM configs for sdxlemur" 2020-11-11 23:35:23 -08:00
Ram Prakash Gupta
aa6d7ed77f mmc: sdhci-msm: Use auto suspend instead of sync
With use of sync suspend, driver is going to suspend
in atomic context which is not permitted and leading to
below below stack.

pc : __schedule_bug
lr : __schedule_bug
Call trace:
__schedule_bug
__schedule
schedule
rpm_suspend
__pm_runtime_suspend
mmc_release_host
mmc_put_card
mmc_blk_cqe_complete_rq
mmc_blk_mq_complete
blk_done_softirq

To avoid this use auto suspend.

Change-Id: Ie19c06ba07c8340faefebbde9810e65dc11ec6b2
Signed-off-by: Ram Prakash Gupta <[email protected]>
2020-11-12 11:27:05 +05:30
Harigovindan P
3cd7d80231 input: touchscreen: mxt: remove disable_irq
This change removes disable_irq call from
mxt_configure_objects(). Without this change
touch does not work on dual dsi which uses
atmel touch driver.

Change-Id: Ie215c8a08060d56d1f087490bf01f85a202fcb55
Signed-off-by: Harigovindan P <[email protected]>
2020-11-12 10:38:57 +05:30
Guru Das Srinagesh
79b837c670 power: supply: qcom: Add module dependency on TYPEC
Enable dependency on CONFIG_TYPEC so that typec_* APIs used in
smb5-lib.c may be found by the build system.

Change-Id: If70c09cd6ddee799a87868fa8db36611c35a3fb0
Signed-off-by: Guru Das Srinagesh <[email protected]>
2020-11-11 17:54:21 -08:00
Tony Truong
b3275a157a msm: pcie: correct PCIe target link speed mask macro
When setting target link speed, it is correct to use
PCI_EXP_LNKCTL2_TLS instead of PCI_EXP_LNKCAP_SLS and
PCI_EXP_LNKSTA_CLS. All 3 macros have the same value defined
but it is proper to use the right one.

Change-Id: I5d99a696168170adf8dc577a6bf1fceb4fe82686
Signed-off-by: Tony Truong <[email protected]>
2020-11-11 17:10:04 -08:00
Tony Truong
80da1a3297 msm: pcie: switch API for tuning EQ preset request vector configuration
Instead of using msm_pcie_write_mask, use msm_pcie_write_reg_field
which will shift the write value based on the mask.

Change-Id: Ie125655776d9ab0091d9ef813e1761126e920549
Signed-off-by: Tony Truong <[email protected]>
2020-11-11 17:10:04 -08:00
Guru Das Srinagesh
b095da50cd defconfig: sdxlemur: Enable QTI regulator debugfs features
Enable CONFIG_REGULATOR_QTI_DEBUG so that regulators can be
controlled from debugfs for testing purposes.

Change-Id: I9cd64973f2c1031c8cdd8fde569d21d24189da66
Signed-off-by: Guru Das Srinagesh <[email protected]>
2020-11-11 16:50:50 -08:00
Urvashi Agrawal
82cce300b1 msm: kgsl: Add a Kconfig setting for GPU idle timeout
Add a Kconfig option so that we can configure the
timeout for GPU to go into slumber per-environment
basis.

Change-Id: I36a2d78a4c987e635160db3056aab7b0d6af68a6
Signed-off-by: Urvashi Agrawal <[email protected]>
2020-11-11 11:04:45 -08:00
Melody Olvera
f778c8c94b defconfig: Enable required defconfigs for sdxlemur target
Enable required debug defconfigs (PANIC_ON_OOPS, RECURSIVE_FAULT etc)
and disable DCC console on sdxlemur target.

Change-Id: I7c78e897573dbf2aeea6668d9a7d0b2d041e35b8
Signed-off-by: Melody Olvera <[email protected]>
2020-11-11 08:51:24 -08:00
Melody Olvera
2a75fc5624 Revert "soc: qcom: Remove watchdog percpu interrupts"
This reverts commit d71acda6dc.
This is being reverted because sdxlemur uses percpu interrupts
in its watchdog. This change also adds back in fields used by
this code and fixes issues introduced by new code.

Change-Id: Ic5ddbebd6c6f4b4c5d157a86a3ecd827e1b5376f
Signed-off-by: Melody Olvera <[email protected]>
2020-11-11 08:08:18 -08:00
Mayank Grover
3a14490b1b arm64: defconfig: Increase PANIC timeout for Holi
Increase PANIC timeout for 5 sec for Holi

Change-Id: I443f9a7af3ad0c2e80399508c74b346aa82f5778
Signed-off-by: Mayank Grover <[email protected]>
2020-11-11 17:45:52 +05:30
Akash Asthana
884142ddda msm: msm-geni-se: Add proxy votes to fix earlycon crash
QUP core clock is shared among all the SE drivers present on particular
QUP wrapper, the system will reset(unclocked access) if earlycon used after
QUP core clock is put to 0 from other SE drivers before real console comes
up.

As earlycon can't vote for it's QUP core need, to fix this put vote for
QUP core from common driver probe on behalf of earlycon and remove vote
during real console probe after uart_add_one_port call because by this
time real console is up and voted for it's resources.

Change-Id: I4362fec8ef798de30beae4d608626ae409607b84
Signed-off-by: Akash Asthana <[email protected]>
2020-11-11 15:27:20 +05:30
Neeraj Soni
dc2d5a0ace ANDROID: ABI: Update allowed list for QCOM
Leaf changes summary: 3 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 3 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

3 Added function:

  [A] 'function void keyslot_manager_set_max_dun_bytes(keyslot_manager*, unsigned int)'
  [B] 'function void keyslot_manager_reprogram_all_keys(keyslot_manager*)'
  [C] 'function void keyslot_manager_destroy(keyslot_manager*)'

Bug: 172917070
Change-Id: I8efd18e0bd0d1884634c7358656e4045de039e57
Signed-off-by: Neeraj Soni <[email protected]>
Signed-off-by: Mukesh Ojha <[email protected]>
2020-11-11 14:27:52 +05:30
Huang Yiwei
2e6e946cef soc: qcom: minidump: Change the way to locate log_buf
Use the exported function instead of kallsyms_lookup to get
log_buf location, this can save a lot of time during boot up.

Change-Id: I9ec242ad6edfc3ba101198a5c1ed15bb5ad085a0
Signed-off-by: Huang Yiwei <[email protected]>
2020-11-11 16:31:18 +08:00
Sandeep Singh
7b6cb8cfc9 icnss2: Avoid sending qdss_trace_mem_info to fw if it is down
Avoid sending qdss_trace_mem_info to wlan fw if it is down.

Change-Id: I443fd9b36ce9037af1a77496c73964ba0fa2d1df
Signed-off-by: Sandeep Singh <[email protected]>
2020-11-11 13:46:54 +05:30
Namjae Jeon
66f6c5b20d exfat: add super block operations
This adds the implementation of superblock operations for exfat.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: 719c1e1829166da399903b13da6dcc5344e73449
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I290967b10b593b8836e0a4e2dd5f8035493952f7
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:28:25 -08:00
Namjae Jeon
e569a2f8d5 exfat: add nls operations
This adds the implementation of nls operations for exfat.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: 370e812b3ec190fa492c9fd5a80c38b086d105c0
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I45054843a9cea05d30f0289f5da3d8d3ecd74e21
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:13:44 -08:00
Namjae Jeon
fdb249bc26 exfat: add misc operations
This adds the implementation of misc operations for exfat.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: 772b29cca528fcb21374bb3e597d848779938d16
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I1a472cbba93f6053716e1f9c7ba2e82352eda796
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:13:19 -08:00
Namjae Jeon
ca391a8c0a exfat: add inode operations
This adds the implementation of inode operations for exfat.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: 5f2aa075070cf5b2e6aae011d5a3390408d7d913
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I7d8ebe0efdb7cff447b7303d890fbbbdbe911d02
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:13:05 -08:00
Namjae Jeon
616c0e5a65 exfat: add file operations
This adds the implementation of file operations for exfat.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: 98d917047e8b7f4bb2ff61d81b0ccd94a00444f9
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I11d7ba143f67f698995b7a91e52ce26272ac9ff4
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:12:48 -08:00
Namjae Jeon
b196461f14 exfat: add fat entry operations
This adds the implementation of fat entry operations for exfat.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: 31023864e67a5f390cefbe92f72343027dc3aa33
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I797356380a952b820e57195d4ba04e7ddc0cb7a7
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:12:21 -08:00
Namjae Jeon
53f9754809 exfat: add in-memory and on-disk structures and headers
This adds in-memory and on-disk structures and headers.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: Ibe7d599033d32965f9410cd58b5643704b0de46b
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:12:01 -08:00
Namjae Jeon
1f80c5e9f7 exfat: add directory operations
This adds the implementation of directory operations for exfat.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: ca06197382bde0a3bc20215595d1c9ce20c6e341
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I7dfcff9934c3cf0a048a8b754f9f934f3b441dfe
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:11:48 -08:00
Namjae Jeon
38b3d335d4 exfat: add exfat cache
This adds the implementation of exfat cache.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Sungjong Seo <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Git-commit: c35b6810c4952ae5776607e2c1d6a587425d5834
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I0c7fee26fbd277f4e2987c5bc11102b05194bd12
Signed-off-by: lixiang <[email protected]>
2020-11-10 22:11:16 -08:00
Akshay Pandit
5148b81b04 msm: ipa_fwmk: Provide api for mhi driver to update state
Provide api for mhi driver to notify IPA of power states.

Change-Id: I757b15e3c16bcb63cb09bb18a2056f07c6a9b95d
Signed-off-by: Akshay Pandit <[email protected]>
2020-11-11 10:49:00 +05:30