dsb should be invoked before wfi instruction without which
core can get stuck or do not respond to IPIs. Use cpu_do_idle
that invokes both dsb and wfi instructions for shallower mode
entry.
Change-Id: I2e9d2317048781590a626a0b3d93f23bbf9eb496
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Wireless drivers should not be using ioctl interface,
hence it was removed in upstream code.
Add ioctl support as internal patch.
Add snapshot for wil6210_uapi.h from msm-4.19 commit 143aa4925e1a.
Change-Id: Idd374f80540c0f17cff10d3c8cc85bcdd66253c4
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
change the policy field in the vendor commands for
QCA_NL80211_VENDOR_SUBCMD_UNSPEC to be VENDOR_CMD_RAW_DATA.
This is a workaround for kernel 5.4 policy checks.
A complete solution for all vendor command policies will be submitted
later.
Change-Id: I889c86984a4835fed9bd96d487641fc5f4081faf
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Kernel 5.3.0 and later checks that all vendor commands registered
with the device has a policy. add relevant policies for all
commands.
Change-Id: I4a24618d10f17cd61b8f6e4b149a5494b0af9639
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Removed circular dependency of nfc_common.c on NFC I2C and I3C drivers,
by setting interface specific API for nfc read,write,enable and disable
interrupts, in the interface drivers.
Change-Id: I66587d39ad92556d6e8fda3281e7bbcf1980683d
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
Add sync_state functionality to remove threshold held during initial
boot up and clean up any linger proxy resources that were voted for
from bootloaders.
Change-Id: Ib2fe3f3e54775b85c3ee8107c9aafdcd32841017
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Enable the external display module for both production and debug
level builds. This module is a utility to manage display interface
and audio codec interactions associated with the cable connect
and disconnect events of the display interfaces.
Change-Id: If4458132955f56aa3809c3fc11d72b3f5fde1a32
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Disable the timeout where PIL waits for an error-ready
interrupt from the subsystems. This is needed for emulation
platform where the time doesn't scale well with the actual
time.
Change-Id: I9d7bb40c6d490a439c76be116d5968ea43723650
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.
Change-Id: Iedb5c3d37cd5d59cc5bf6177a7e6448628350fbf
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Regardless of CPU isolation or not, we need to wake up all the
CPUs during suspend to idle so that each CPU can disable their
local tick device, etc. If we don't wake every CPU up, then we
don't fully suspend the system and things like sched_clock and
timekeeping are never stopped properly.
Change-Id: Ic9141602acc5e6cddefca0727f9be075dad3e498
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.
Change-Id: Ifa4792d581d916b71bb25c9ba5119d1d18a7e4b2
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.
Change-Id: I0eef5a3f924c673db6c486318b91d3156d139f9c
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.
Change-Id: Ie07f430fc9a172e4388d0e475a21739671beb17a
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Enable the config CONFIG_MODULE_SIG to help generate a key to do
module signing.
Change-Id: I8ffebe2ca15a9ad0b1ad7644cd264149dc2653ee
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Building with llvm generates the following warning:
drivers/media/platform/msm/cvp//msm_cvp_ioctl.c:611:13: warning: stack frame
size of 2064 bytes in function 'cvp_ioctl' [-Wframe-larger-than=]
struct cvp_kmd_hfi_packet is 1880 bytes and is a member of a union inside
struct cvp_kmd_arg which eventually triggers the warning. Allocate the
struct from the heap instead.
Fixes: ffe925cbca ("msm: cvp: Port CVP driver to 5.x kernel")
Change-Id: Ic0dedbad82d36b7faade85c3428b1013b527b576
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Enable the Register Trace Buffer driver for Lahaina platform
to trace the register reads and writes.
Change-Id: I13434a8884bd113aa188799929a36a41c3068173
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Replace a #ifdef with a IS_ENABLED() to allow rpmh master stat to be built
as a module.
Fixes: 6d5e000 ("drivers: soc: qcom: snapshot of sleep drivers for Lahaina")
Change-Id: Ic0dedbad11812a0bd932a9c0099dfb4632842177
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Commit 2094bed752 ("PM / devfreq: Add cache HW monitor governor") brought
in the cache HW monitor with an incorrect check for
CONFIG_DEVFREQ_GOV_QCOM_CACHE_HWMON that fails when the governor is
built as a module.
Change-Id: Ic0dedbadefc4885486660d32226e6dd89e006a11
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Add <linux/clk-provider.h> to resolve a dependency for struct clk_hw.
Change-Id: Ic0dedbadbece86ff0a5349edec356f9b211c7989
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Replace #ifdef with IS_ENABLED to make sure that the memlat prototypes
are available for a module build.
Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbade40e23bb148bbb9117c4a9b63e419111
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>