For WCN6750, add SMMU fault handler and perform host triggered
SSR for recovery.
Change-Id: I653b0cd4699dc111e1154476bd1d778d1210f81b
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
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>
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>
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>
Correct the SDC1 rclk offset for configuration for
Yupik.
Change-Id: I81f8906ea662eb4d3e511841fb208388de75a25a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Enable Userspace and Ondemand cpufreq governors for
sdmsteppeauto target.
Change-Id: I21625164b29220f44ace9bb13d71ae9811a3a2b3
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
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>
Enable ION support configs on sdmsteppeauto target.
Change-Id: I6e171efa8c6a60f279af9e8108867f42314cb104
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
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>
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>
This is required for registration of sound card.
Change-Id: I87cca20e54ab7a11359807850a20c0127e19a027
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
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
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>
Add wake locks to prevent A7 from going into suspend.
Change-Id: I46384d957593a461fdd3b24830bd27b19cad3425
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
FastRPC is a remote procedure call framework developed by Qualcomm.
Change-Id: Ib4ec2698018e6c0895b1c0ed44aaee519a8ef5e2
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
Update the offset registers based on the scshrike v2 hw.
Change-Id: Idc5ced25e8a8bf26df03b35fd2e306151d766da7
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
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>
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>
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>
This change will add CONFIG_ENABLE_GSB for sdxlemur.
Change-Id: Ic30ab228889fd0dafb2faaa0dc80a467bd86fe9f
Signed-off-by: Aman Gupta <amangupt@codeaurora.org>
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>