Commit graph

894,770 commits

Author SHA1 Message Date
qctecmdr
2dea92f4c6 Merge "gen_headers: Remove headers of older camera kernel" 2021-02-16 11:13:50 -08:00
qctecmdr
10b31056a4 Merge "defconfig: enable dynamic minor for sdxnightjar" 2021-02-16 11:13:50 -08:00
qctecmdr
4887a3f262 Merge "defconfig: Enable cpufreq governors for sdmsteppeauto" 2021-02-16 11:13:49 -08:00
Naman Padhiar
cc5d8c5609 icnss2: Add handler for SMMU faults
For WCN6750, add SMMU fault handler and perform host triggered
SSR for recovery.

Change-Id: I653b0cd4699dc111e1154476bd1d778d1210f81b
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-02-16 23:07:39 +05:30
Anmolpreet Kaur
5e6faa5d18 smcinvoke: Update the correct result from qseecom
In case when a listener request comes from secure
side to smcinvoke, we invoke qseecom for processing
of listener request. It maybe the case that after
this request, secure side may request for another
callback request. In this flow, we need to update the
correct result from qseecom as 0 so as to indicate
that qseecom's job was successfully finished and now
smcinvoke has to take care of the callback request further.
This condition is again checked at smcinvoke side and decision
to marshal out is taken accordingly.

Change-Id: I5d6be3292ef11ac2d84fd287bb8f1e9f91dc1b56
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2021-02-16 09:02:25 -08:00
qctecmdr
2d9dc7412f Merge "sched: fair: consider all running tasks in cpu for load balance" 2021-02-16 07:00:36 -08:00
qctecmdr
7113933fe9 Merge "defconfig: gen3auto: enable audio config" 2021-02-16 07:00:36 -08:00
Lingutla Chandrasekhar
a183b6ab58 soc: qcom: guestvm_loader: Use proper cpu masks
To boot guest vm, loader hotplugs required cpus and bring them back once
bootup is completed. On hotplug operations, it uses isolation mask
to print offline cpus, which is not right mask.

Use cpu online mask instead of isolation mask to represent guest vm's
hotplugged/hotunplugged cpus.

Change-Id: I2805203df068c1192349867b6dc690af6fc32797
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2021-02-16 17:45:03 +05:30
Mukesh Kumar Savaliya
3413c8efc3 i2c-msm-geni: Bypass ICC vote check for LE when dumping register
This change uses correct wrapper dev for LE instead of bypassing.
If wrapper dev or internal members are NULL, it crashes during
register dump time due to some other error.

This change fixes a crash happening to due to NULL pointer access.

[  278.999159] Call trace:
[  278.999165]  geni_se_dump_dbg_regs+0x98/0x2f0
[  278.999177]  geni_i2c_runtime_resume+0x2f4/0x4c8
[  278.999186]  pm_generic_runtime_resume+0x34/0x48
[  278.999193]  __rpm_callback+0x80/0x1a0
[  278.999198]  rpm_resume+0x4ec/0x720
[  278.999202]  __pm_runtime_resume+0x54/0x78
[  278.999211]  fts_trusted_touch_enable_store+0x1dc/0x8e0
[  278.999217]  dev_attr_store+0x40/0x58
[  278.999226]  sysfs_kf_write+0x50/0x68
[  278.999231]  kernfs_fop_write+0x150/0x1f8
[  278.999240]  __vfs_write+0x54/0x190
[  278.999247]  vfs_write+0xe4/0x1a0
[  278.999254]  __arm64_sys_pwrite64+0x80/0xc0
[  278.999263]  el0_svc_common+0x98/0x118
[  278.999270]  el0_svc_handler+0x7c/0x98
[  278.999277]  el0_svc+0x8/0xc
[  278.999286] Code: f94006a8 d0002800 9134b000 aa1603e1 (f9404d15).

Change-Id: Id764f92aab33e2e3cea2f4c276def6652231f67c
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2021-02-16 16:44:14 +05:30
Neeraj Upadhyay
b2abe9c6d5 pinctrl: qcom: Correct sdc1 rclk offset for Yupik
Correct the SDC1 rclk offset for configuration for
Yupik.

Change-Id: I81f8906ea662eb4d3e511841fb208388de75a25a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2021-02-16 02:45:12 -08:00
Arun Prakash
618a7a4a23 arm64: defconfig: Add missing config for sa8155
Add APCS IPC configuration option for sa8155.

Change-Id: I27d1a04a26698db683b2c934de99f27c420c115f
Signed-off-by: Arun Prakash <app@codeaurora.org>
2021-02-16 15:51:54 +05:30
Shreyas K K
05e98f9a0e defconfig: Enable cpufreq governors for sdmsteppeauto
Enable Userspace and Ondemand cpufreq governors for
sdmsteppeauto target.

Change-Id: I21625164b29220f44ace9bb13d71ae9811a3a2b3
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-02-16 13:19:26 +05:30
Shreyas K K
526c4c27a7 defconfig: Enable configs for ramdump support for sdmsteppeauto
Enable kernel configs needed to suppot ramdump on sdmsteppeauto
target. These drivers help to capture necessary debug information
in DDR and IMEM when the system crashes either after a panic
or due to any system lockup.

Change-Id: I09234c554e4e83d2c710583835b2e3f128d1a080
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-02-16 13:18:00 +05:30
Shreyas K K
d24a6de9d3 defconfig: Enable ION support for sdmsteppeauto
Enable ION support configs on sdmsteppeauto target.

Change-Id: I6e171efa8c6a60f279af9e8108867f42314cb104
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-02-16 13:16:43 +05:30
Fei Tong
c3f8495947 spi: spidev: add Qualcomm spi codec slave driver
Use spidev for Qualcomm spi audio codec driver.

Change-Id: I7f80c95e44f809f65a30de0d543f7c6a039d7550
Signed-off-by: Fei Tong <ftong@codeaurora.org>
2021-02-15 23:35:53 -08:00
Fei Tong
ec01b07ed7 defconfig: gen3auto: enable audio config
Enable audio and external display config for kernel 5.4

Change-Id: I62297d2bb95167a6f2408b12f83784b9f2928646
Signed-off-by: Fei Tong <ftong@codeaurora.org>
2021-02-15 23:35:31 -08:00
Nagireddy Annem
883806d31d pinctrl: qcom: Update configuration for Monaco
Update latest pin control configuration for Monaco.

Change-Id: I9a7ba815879cee73f3a61804e102e081ec81b2c4
Signed-off-by: Nagireddy Annem <nannem@codeaurora.org>
2021-02-15 22:54:15 -08:00
Dmitry Bogdanov
636f35b361 atlantic forwarding driver v1.1.15
[ATLDRV-1613] - Atlantic_fwd driver hitting NULL pointer
 dereference at 0000000000000678 while requesting rx rings.

Change-Id: I89984d94d6093655ea5596cb1f297fc548cc42b4
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Git-commit: 3dc6f4c6d29722da5e0f1a9894bb9b608c0d38a3
Git-repo: https://github.com/aquantia/linux-4.14-atlantic-forwarding
[ltyagi@codeaurora.org: Fix compilation error in atl_ptp_irq]
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2021-02-16 12:20:34 +05:30
Shreyas K K
a7785a897c drivers: qcom: Add support for kernel boot markers
The existing boot_stats module captures the timestamps
of various events before the kernel start, like bootloader
start, kernel load time, etc.

Extend support to capture timestamps of events after kernel
starts execution. Users can call place_marker from different
points of execution to capture the timestamp.

Expose a sysfs node to read the complete list of events
captured by the boot_stats module.

Change-Id: Icbc2341b34fe7e2559a37c092a5ab74919703184
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-02-15 22:36:16 -08:00
E V Ravi
cd728ef649 gen_headers: Remove headers of older camera kernel
Remove headers of older camera kernel which are not
needed in latest kernel.

Change-Id: Ieec7b1ae10f77fc34f07086498e57895aaa8c9af
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2021-02-16 11:16:54 +05:30
qctecmdr
a6ec4c9e0d Merge "defconfig: msm-5.4: Adding gsb support to sdxlemur target" 2021-02-15 21:34:13 -08:00
qctecmdr
d08703d32a Merge "soc: qcom: Enable remote notification for local close" 2021-02-15 21:34:13 -08:00
qctecmdr
926d1e5c2a Merge "msm: kgsl: Remove sysfs entries after releasing memory" 2021-02-15 21:34:13 -08:00
qctecmdr
ffc71e9c51 Merge "i2c: i2c-msm-geni: Selectively disable DMA and operate in FIFO mode" 2021-02-15 21:34:12 -08:00
qctecmdr
332e279ce9 Merge "defconfig: gen3auto: enable fastrpc driver on gen3auto" 2021-02-15 21:34:12 -08:00
Asish Bhattacharya
faf9ed7324 defconfig: enable dynamic minor for sdxnightjar
This is required for registration of sound card.

Change-Id: I87cca20e54ab7a11359807850a20c0127e19a027
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2021-02-16 09:11:07 +05:30
Andrey Konovalov
f682b4505d ANDROID: build_config: drop CONFIG_KASAN_PANIC_ON_WARN
CONFIG_KASAN_PANIC_ON_WARN was added in a custom patch for Pixel kernels,
which would make KASAN panic the kernel after the first report regardless
of whether the panic_on_warn parameter is set. (Coincidentally, that patch
also would break instrumentation mode selection for KASAN.)

As that patch was never applied to the common kernel,
CONFIG_KASAN_PANIC_ON_WARN doesn't exist here. This change drops the
non-existent CONFIG_KASAN_PANIC_ON_WARN from build.config.gki_kasan.

Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Change-Id: I9f42bb5f3515f18e2a5774241ea73a59d8883955
2021-02-15 18:29:03 +00:00
qctecmdr
5b540967b7 Merge "smcinvoke: Call correct apis on basis of device tree entry" 2021-02-15 10:09:56 -08:00
qctecmdr
d452e9fd04 Merge "interconnect: qcom: update qos offsets for scshrike" 2021-02-15 10:09:55 -08:00
qctecmdr
1f03c355b8 Merge "interconnect: qcom: yupik: Configure QoS during probe" 2021-02-15 10:09:55 -08:00
qctecmdr
29ba1bf51f Merge "clk: qcom: common: Add set_flags op in clk_regmap_ops" 2021-02-15 10:09:55 -08:00
qctecmdr
99e97db2e8 Merge "defconfig: Enable rng driver on sdxlemur" 2021-02-15 10:09:55 -08:00
qctecmdr
471c9e93fa Merge "net: aquantia: Adding wake locks" 2021-02-15 10:09:54 -08:00
qctecmdr
e2739fc50f Merge "defconfig: Enable storage and fs related configs for monaco" 2021-02-15 06:09:15 -08:00
qctecmdr
250cb427bd Merge "msm: adsprpc: Typecast return value of copy_to_user API" 2021-02-15 06:09:14 -08:00
qctecmdr
9ac2b68214 Merge "clk: qcom: debugcc-yupik: Add measure only support for USB SEC clocks" 2021-02-15 06:09:14 -08:00
qctecmdr
367c7ae1ca Merge "clk: qcom: Add properties for marking clocks as critical" 2021-02-15 06:09:14 -08:00
qctecmdr
6092c652b5 Merge "interconnect: qcom: shima: Configure QoS during probe" 2021-02-15 06:09:14 -08:00
Jagadeesh Kona
e6a8357061 clk: qcom: gcc-yupik: Add support for PCIE clocks in YUPIK
Add support for PCIE clocks in YUPIK.

Change-Id: I0d4c81a797f500634e38cff0e162b4fe492c15fd
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-02-15 03:50:05 -08:00
Jagadeesh Kona
6f38367111 dt-bindings: clock: Update clock ids of GCC for YUPIK
Add support for PCIE clocks.

Change-Id: Iaccebc48efbbf7c7c8c5c423f29e44806dbe6cdd
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-02-15 03:49:58 -08:00
Anmolpreet Kaur
0223578bca defconfig: Enable rng driver on sdxlemur
This change enables RNG driver for sdxlemur
target.

Change-Id: I19eed4ae47bd087beb62b6a76cbda65b08370e13
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2021-02-15 03:27:28 -08:00
Odelu Kukatla
ad1aab0b09 interconnect: qcom: yupik: Configure QoS during probe
Configure QoS settings during probe for all nodes instead of
for each node individually upon first client request.

Change-Id: If90969f0ace7d773ed3808670f0bcb54c308970e
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2021-02-15 02:42:17 -08:00
Lakshit Tyagi
decf75e60b net: aquantia: Adding wake locks
Add wake locks to prevent A7 from going into suspend.

Change-Id: I46384d957593a461fdd3b24830bd27b19cad3425
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2021-02-15 02:25:08 -08:00
Ping Jiang
69e83ca8ce defconfig: gen3auto: enable fastrpc driver on gen3auto
FastRPC is a remote procedure call framework developed by Qualcomm.

Change-Id: Ib4ec2698018e6c0895b1c0ed44aaee519a8ef5e2
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
2021-02-15 18:09:47 +08:00
Veera Vegivada
e1dbbfcdf0 interconnect: qcom: update qos offsets for scshrike
Update the offset registers based on the scshrike v2 hw.

Change-Id: Idc5ced25e8a8bf26df03b35fd2e306151d766da7
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-02-15 01:51:40 -08:00
Jagadeesh Kona
1071cc71b3 clk: qcom: debugcc-yupik: Add measure only support for USB SEC clocks
USB secondary clocks and pm8008 clocks are not registered with the
clock framework, hence update these clocks to measure only.

Change-Id: I134119cb4ae5ef372aaaa81e6b56ffd68387985d
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-02-15 12:41:33 +05:30
Veera Vegivada
22fcc4ebff clk: qcom: common: Add set_flags op in clk_regmap_ops
Add set_flags op in clk_regmap_ops and update the
set_flags op for branch's clk_regmap_ops.
Update qcom_clk_set_flags to use clk_regmap_ops
for invoking the set_flags op.

Change-Id: I82b699e04854e5d9dcc0e82caccf33fe3dd85315
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-02-15 11:38:02 +05:30
Veera Vegivada
c371f8ae21 phy: qcom-ufs: add support in UFS PHY for sm6150 platform
Add support for new UFS PHY on SM6150 platform.
(Add snapshot of the ufs phy driver from msm-4.14
commit id b790b145296302438d1c8de8faab29dba69efa36).

Change-Id: Iddbe75f9642352d6b3f6228001658314bde76c09
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-02-15 10:49:20 +05:30
Aman Gupta
b0e66d6799 defconfig: msm-5.4: Adding gsb support to sdxlemur target
This change will add CONFIG_ENABLE_GSB for sdxlemur.

Change-Id: Ic30ab228889fd0dafb2faaa0dc80a467bd86fe9f
Signed-off-by: Aman Gupta <amangupt@codeaurora.org>
2021-02-14 20:41:17 -08:00
Justin Tee
0a06179ca8 net: Kernel changes for Generic Software Bridge(GSB)
Changes are made to let GSB intercept network packets and consume them
when possible. The goal is to bridge the packets directly to backhaul
without letting packet do a round trip through the network stack.

Acked-by: Gajendra Singh <gajendra@qti.qualcomm.com>
Change-Id: Ib364a82e883de7ea642bdd1d85c44eef1f54a086
Signed-off-by: Aman Gupta <amangupt@codeaurora.org>
2021-02-14 20:36:58 -08:00