Commit graph

895,202 commits

Author SHA1 Message Date
qctecmdr
8baad0faa8 Merge "clk: qcom: gpucc: Add support for GPUCC clock driver for Monaco" 2021-03-31 10:40:11 -07:00
qctecmdr
3ed2d3f5f8 Merge "usb: dwc3: Fix typo 'USB_CONFIG' to 'CONFIG_USB'" 2021-03-31 10:40:10 -07:00
qctecmdr
eb08f541c1 Merge "clocksource: arch_timer: make virtual counter access configurable" 2021-03-31 10:40:10 -07:00
Zhiqiang Tu
e1f8c02603 defconfig: gen3auto: Enable debug configs
Enable some configs to facilitate debugging.

Change-Id: I8d67ac4dfdebb80455c74567c71f0d0ad70ee531
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2021-03-31 21:50:57 +08:00
qctecmdr
cc61138ec4 Merge "rtc: rtc-pm8xxx: add support for PM5100 RTC" 2021-03-31 06:29:06 -07:00
qctecmdr
284fd13596 Merge "soc: qcom: Remove reserved-memory free operation for xbl log dump" 2021-03-31 06:29:05 -07:00
qctecmdr
2ae82f3bb1 Merge "cnss2: Always use firmware_request_nowarn() to load binaries" 2021-03-31 06:29:04 -07:00
qctecmdr
284fe2e97a Merge "soc: qcom: hab: add HAB runtime profiling support" 2021-03-31 06:29:03 -07:00
qctecmdr
b8731d090e Merge "msm: mhi_dev: Change to not enable ERDB interrupts" 2021-03-31 06:29:03 -07:00
qctecmdr
9097e0e5c7 Merge "icc: dt-bindings: add endpoint IDs for interconnects for direwolf" 2021-03-31 06:29:02 -07:00
qctecmdr
5aa645a910 Merge "dt-bindings: clock: Add gcc clock-ids for direwolf" 2021-03-31 06:29:01 -07:00
Vinay Sudra
366814abdf driver: soc: adsp vote: Fix to avoid panic on absence of debugfs
Handle cleanup code properly to avoid panic on absence debugfs.

Change-Id: Idfac814439612b5fcb29c2c0b96edba21b6af224
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-31 17:15:54 +05:30
Odelu Kukatla
d423df306e interconnect: qcom: Add sync_state for sdxnightjar
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>
2021-03-31 16:12:05 +05:30
Udipto Goswami
51e5332e20 usb: dwc3: Fix typo 'USB_CONFIG' to 'CONFIG_USB'
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>
2021-03-31 15:10:12 +05:30
Ping Jiang
dfc18dafd8 char: virtio_fastrpc: Fix NULL pointer and uninitialized variable issue
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>
2021-03-31 15:59:44 +08:00
Suraj Jaiswal
603d10ef0a net: stmmac: Support eth type based TX intr moderation
Support eth type based TX intr moderation.

Change-Id: Ib1cb5364914092d0fdddef1cd5cfa7d4007bd7df
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-03-31 00:59:43 -07:00
Suraj Jaiswal
0b7ab7c332 arm64: defconfig: Add stmmac for sa8155
stmmac enable  defconfig support for ethernet.

Change-Id: Idfa281ece4e82c0614996f0116d5e8b0afb11038
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-03-31 13:00:40 +05:30
Minghao Xue
d0e41df816 defconfig: autogvm: Enable hwrng for VM
Enable HW RNG drivers in defconfig for VM.

Change-Id: Iae381145df109f0605de53edf9c220d9483cf273
Signed-off-by: Minghao Xue <mingxue@codeaurora.org>
2021-03-31 15:14:20 +08:00
Suraj Jaiswal
13173f0f9c net: stmmac: Fix overflow in sub second increment
Fix overflow in sub second increment.

Change-Id: I6db62d9f04de0937457b194904ebb5191bbd838a
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-03-31 00:02:43 -07:00
Suraj Jaiswal
d0cebea93c net: stmmac: Fix PPS0 not coming up on bootup
Change ppsout_config definition and ioctl handling.

Change-Id: I4173e50368478661122d1f88c78aa1d28d8c8f6d
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-03-31 00:02:18 -07:00
Nan Zhang
344a412b7d defconfig: sdmsteppeauto: Enable dm-init module
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>
2021-03-30 23:41:47 -07:00
Mohit Aggarwal
0f787250f7 rtc: rtc-pm8xxx: add support for PM5100 RTC
Add support for the RTC peripheral found in PM5100
PMIC chips.

Change-Id: Ia2a0052fdc5b07e371e67dc93d45cf47776e9690
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2021-03-31 09:39:09 +05:30
Saurabh Sahu
a1148ee9d8 clk: qcom: gpucc: Add support for GPUCC clock driver for Monaco
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>
2021-03-31 00:59:56 +05:30
Shadab Naseem
7c3d147b0b arm: traps: emulate a MRC instruction reading CNTFRQ register
Emulate a MRC instruction reading CNTFRQ register.

Change-Id: I054121896d2173fc064aa75b4398178b04a701f7
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
2021-03-30 19:26:55 +08:00
Lijuan Gao
f01ad8d152 arm: traps: emulate a MRRC instruction reading CNTVCT register
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>
2021-03-30 19:25:30 +08:00
qctecmdr
e1e04827f7 Merge "dt-bindings: clock: Update the clk for gcc in MONACO" 2021-03-30 04:13:15 -07:00
qctecmdr
f194a65c2b Merge "defconfig: autogvm: Enable MEMDUMP_V2" 2021-03-30 04:13:14 -07:00
Vinay Sudra
cfae3c5911 soc: qcom: Remove reserved-memory free operation for xbl log dump
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>
2021-03-30 15:41:24 +05:30
Anmolpreet Kaur
0bdeb7c66d qseecom: Update correct parameters before sending to smcinvoke
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>
2021-03-30 14:03:31 +05:30
Pavankumar Kondeti
1fbc50bd88 sched/walt: Improve the scheduler
The change is for general scheduler improvement.

Change-Id: Ie54730178c19657e541cfba6ab84e075aaa799d7
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2021-03-30 13:04:52 +05:30
Veera Vegivada
473ff2843e icc: dt-bindings: add endpoint IDs for interconnects for direwolf
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>
2021-03-30 12:55:06 +05:30
qctecmdr
f8712e89b3 Merge "soc: qcom: altmode-glink: add ipc logging support" 2021-03-30 00:15:57 -07:00
qctecmdr
5b7e02bcd4 Merge "mtd: msm_qpic_nand: Disable pagescope read feature" 2021-03-30 00:15:56 -07:00
qctecmdr
9fd6ce8341 Merge "msm: veth_ipa: Add VETH IPA driver" 2021-03-30 00:15:56 -07:00
Veera Vegivada
daaca30844 dt-bindings: clock: Add gcc clock-ids for direwolf
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>
2021-03-30 12:42:08 +05:30
Greg Hackmann
dc9b4c45b2 clocksource: arch_timer: make virtual counter access configurable
Add a config option to support virtual counter access from userspace.

Change-Id: Ibdb1fd768b748002b90bfc165612c12c8311f8a2
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Cong Zhang <congzhan@codeaurora.org>
2021-03-29 23:41:37 -07:00
Madhuri Medasani
b2e8de9c43 dt-bindings: clock: Add support for BLAIR clock ids
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>
2021-03-30 12:01:32 +05:30
Venkata Rao Kakani
8a77295a49 defconfig: autogvm: Enable MEMDUMP_V2
Enable CONFIG_MEMDUMP_V2 to enable mem_dump driver in
auto gvm.

Change-Id: I93e98b1c7d0602fcbdda03d254e3ddef71267412
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2021-03-30 13:43:09 +08:00
Saurabh Sahu
f48130a6e2 dt-bindings: clock: Update the clk for gcc in MONACO
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>
2021-03-30 08:52:03 +05:30
qctecmdr
be348e49aa Merge "Revert "Merge "defconfig: gen3auto: Enable driver to print xbl log""" 2021-03-29 19:00:10 -07:00
qctecmdr
bafc788b3a Merge "soc: qcom: llcc: Add manager for llcc tcm" 2021-03-29 19:00:09 -07:00
Subbaraman Narayanamurthy
f9823cba3c soc: qcom: altmode-glink: add ipc logging support
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>
2021-03-29 15:46:31 -07:00
Yue Ma
f06b30883e cnss2: Always use firmware_request_nowarn() to load binaries
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>
2021-03-29 15:06:52 -07:00
Hemant Kumar
64ca9f61d8 pci: msm: Add support for NTN3 switch i2c client operations
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>
2021-03-29 14:37:55 -07:00
Melody Olvera
e9bb9895ad soc: qcom: llcc: Add manager for llcc tcm
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>
2021-03-29 13:11:02 -07:00
Skylar Chang
ead0a7791d msm: ipa3: add ipa sw-flt support
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>
2021-03-29 11:24:37 -07:00
Vinay Sudra
21fe1597a1 Revert "Merge "defconfig: gen3auto: Enable driver to print xbl log""
This reverts commit 361b8db1ed, reversing
changes made to 3008930db1.

Change-Id: If821c691a7059a38f47ffe20a08bc9001f6a9690
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-29 20:35:24 +05:30
qctecmdr
1e80429995 Merge "defconfig: sdxlemur: Disable debug options for perf build of SDX65" 2021-03-29 05:59:44 -07:00
qctecmdr
f15ff07f5d Merge "soc: qcom: hgsl: dont release fence in signal" 2021-03-29 02:10:09 -07:00
Yu Tian
174e5f75a3 defconfig: sdxlemur: Disable debug options for perf build of SDX65
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>
2021-03-29 16:52:46 +08:00