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: I21bf31ceb9c0bdcd5bf8c19661c552f3ab44742e
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Commit deca272425 ("USB: Fix compilation errors with
host stack disabled") was added for checking if USB_CONFIG
was enable only then go for registering the host notifier.
However, this should be CONFIG_USB instead of that.
Since USB_CONFIG is not defined anywhere it will take it
false and the host notifier will never be registered.
Fix this by correcting the typo to CONFIG_USB.
Change-Id: I99b2224e1973116e3001a5fbb5e1a569bdae2105
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
Correct the fastrpc_free_pages API typo. And make
changes to initialize an uninitialized variable
which may contain junk data. Check NULL pointer
before being dereferenced.
Change-Id: I30b27070b75f3c4671c20923b1396a6f435d9c62
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
From the kernel 5.1, added a "dm-mod.create" kernle cmdline parameter,
which allows device-mapper targets to be configured at boot time.
This enables early use of DM targets in the boot process (as the root
device or otherwise) without the need of an initramfs. So enabled the
dm-init module for dm-verity.
Change-Id: I0566666894d56bb9f752d2dfa0f6717b0a26a0a4
Signed-off-by: Nan Zhang <nanzhan@codeaurora.org>
Add support for the RTC peripheral found in PM5100
PMIC chips.
Change-Id: Ia2a0052fdc5b07e371e67dc93d45cf47776e9690
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Add support for GPU clock controller for gpu related
clock clients to be able to request for the clocks in
Monaco.
Change-Id: If5985ab85f92807e0d223de36ab78113e000329d
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
Emulate CNTVCT access, so that userspace can get CNTVCT value,
if the direct counter read is disabled. Also, keep direct
access disabled by default for userspace.
Change-Id: I70263c129386314880cb28d1e561146ce62d52b8
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Cong Zhang <congzhan@codeaurora.org>
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
Remove reserved-memory free operation perform after successful
copy log into driver buffer which may lead to boot failure.
Change-Id: I8833eb1d2ab0d10c88c6904f55f99cd7ada8ccb5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
smcinvoke expects result in scm call resp.ret[1] and type in ret[0],
while qseecom expects result in ret[0] and type in ret[1]. To simplify
API interface and code changes in smcinvoke, here internally switch
result and resp_type.
Change-Id: I925ff08e370ed9b7935b81c97a3aa20c783a5c45
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
The change is for general scheduler improvement.
Change-Id: Ie54730178c19657e541cfba6ab84e075aaa799d7
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Add master and slave ID constants for all Qualcomm Technologies, Inc.
direwolf interconnect providers which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.
Change-Id: I2e579dfacfddc618d8f59cae3686fca79f11ada0
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Add the clock-ids for global clock controller driver for clients to be
able to request for the clocks.
Change-Id: I02c757b7b87b59f554f2b7138a3b99f99eedf4ba
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Add clock IDs for GCC/GPUCC/DISPCC for clients to be able to
request for clocks from these clock controllers.
Change-Id: I2472c7f3ddaa318f217ce34088dea919e390dad1
Signed-off-by: Madhuri Medasani <mmedasan@codeaurora.org>
Add the clk id for GCC_USB2_PRIM_CLKREF_CLK in GCC header file
for MONACO.
Change-Id: I9ba826e964cfd4837ba1ece7c182496e6d16a965
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
Add ipc logging support so that the essential log information can
be stored and looked upon especially when dynamic_debug log
filter is not set. This is useful for debugging.
Change-Id: I33c8eb1733ab1ecc541abb86f4f351ce9c8ff394
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
The sysfs fallback mechanism is enabled if direct filesystem
lookup fails, so always use firmware_request_nowarn() instead
of request_firmware() to avoid unnecessary warning logs. Driver
will only check for return code of the API.
Change-Id: I3bdbd23d6e23384bfcb7dc2fa32712fc5af79d03
Signed-off-by: Yue Ma <yuem@codeaurora.org>
NTN3 switch requires register access over i2c when PCIe link
is not up. Add i2c control interface for a i2c client driver.
This i2c control interface registers with a i2c client driver
and provides client specific callbacks for read, write, reset
and register dump operations.i2c control interface can support
one i2c client per root port.
Change-Id: I9e5f91cab4fd2bb2c6274ad0317fad4279db6958
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Both ethernet and USB need a way to coordinate usage of the tightly
coupled memory (TCM) region in the llcc. To this extent, provide a manager
for this region which can map this region for the kernel and provide
information for using it to clients, while also ensuring that
only one client can use the region at a time.
Change-Id: I57c02b1be6135fb9d93e638959084d0d5db48500
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
Add sw-flt interface support for
customer to specify the mac, ipv4
segments and ifaces to route to
SW-path.
Change-Id: I641aa9f6817b10ffc4161d6f1a5c818fa6da45f8
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
This reverts commit 361b8db1ed, reversing
changes made to 3008930db1.
Change-Id: If821c691a7059a38f47ffe20a08bc9001f6a9690
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Add notes to disable below two options for perf build of SDX65:
CONFIG_SLUB_DEBUG
CONFIG_DEBUG_PREEMPT
Change-Id: Id6f22826aecec3d2f35cbe9b34e496cd24804202
Signed-off-by: Yu Tian <yutian@codeaurora.org>