Commit Graph

1129891 Commits

Author SHA1 Message Date
qctecmdr
67fde14ade Merge "dma-heap: qcom: Add the UBWC-P heap" 2022-10-28 12:25:10 -07:00
qctecmdr
3e91d7e606 Merge "defconfig: pineapple-gki: enable sdcard driver" 2022-10-28 12:25:09 -07:00
qctecmdr
723e6ee54d Merge "net: qrtr: Handle error from skb_put_padto" 2022-10-28 12:25:09 -07:00
qctecmdr
c3dde5a97d Merge "phy: qualcomm: Add UFS PHY support for pineapple" 2022-10-28 12:25:09 -07:00
qctecmdr
9b60653498 Merge "android: abi_gki_aarch64_qcom: Add thermal_cdev_update" 2022-10-28 10:17:39 -07:00
jianzhou
8262f51a91 Merge keystone/android-mainline-keystone-qcom-release.6.0 (11a22ea) into msm-pineapple
* refs/heads/tmp-11a22e:
  ANDROID: bazel: add GKI consolidate Bazel build
  ANDROID: arch_topology: Add android_rvh_update_thermal_stats
  ANDROID: kernel/sched: rebuild_sched_domains export
  ANDROID: sched: gki: add padding to some structs to support WALT

Change-Id: Ia38f0a4d97c585af50d246f9e1c20525448560d4
Upstream-Build:ks_qcom-android-mainline-keystone-qcom-release@9228327 SKQ4.221027.002
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2022-10-27 22:25:40 -07:00
Android Build Coastguard Worker
11a22ea195 Snap for 9228065 from e32903b9a6 to android-mainline-keystone-qcom-release
Change-Id: I6540c44f432fc77ffe1c366e1aa25f653ed5fbe7
2022-10-28 00:00:17 +00:00
Chris Lew
4ed377ec29 net: qrtr: Handle error from skb_put_padto
skb_put_padto() will free the skb if it fails to add the requested
padding to the skb. Drop the packet if we are unable to allocate a new
skb with the requested padding.

Change-Id: I5503c99679c7e6ecf767d3f632d72da5315988f1
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:09:03 -07:00
Chris Lew
c4a21244f3 net: qrtr: Change error logging in callback
Print error logs in the callback by using pr_err_ratelimited
so that watchdog bark will not occur due to excessive logging
when the callback is triggered before probe is completed.

Change-Id: I82bb84b7812cef5cb8a37e99c5cf1a54411cbdb8
Signed-off-by: Sarannya S <sarannya@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:08:55 -07:00
Chris Lew
0079417ad7 net: qrtr: Allow isr context to get service details
Allow isr context to get service details.

Change-Id: I782a2c80883252ce614a0a05df6d4fc1a1304b32
Signed-off-by: Arun Prakash <app@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:08:48 -07:00
Chris Lew
e2b39c0d6e net: qrtr: Make wakeup timeout configurable
The qrtr driver can guarantee that the packet gets queued to the socket
but cannot guarantee the client process will get time to run if auto
sleep is enabled. This config will help mitigate missed packets on
systems where auto sleep is too aggressive.

Use the pm_wakeup_ws_event() api so a hard wakeup can be specified.
This will ensure a resume occurs if the data coming in happens while
the device is going into suspend.

Change-Id: Ic596e06e585b3479a6faa1d0210c016fc9138c6e
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:07:54 -07:00
Chris Lew
533788bfca net: qrtr: Add pm_wakeup_event() support
In some cases system enters into suspend state before handling
incoming packets and cause delay in communication.

Add pm_wakup_event() to abort the suspend when a packet is received.

Force a wakeup when queueing packets to a socket. This is needed to
give userspace clients a chance to run if the device is going into
system suspend. The wakeup event should force the device to abort
suspend.

The only node that should not behave this way is the SLPI node because
sensor stream race conditions cause suspend issues and power drain
issues.

There was an update to add a device parameter into
wakeup_source_register().

Change-Id: Ie69be3a46309f6a05cfbff0642b95194c2d6e955
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:07:47 -07:00
Chris Lew
a34e1c5cea net: qrtr: Add backup skb pool
Add a pool of SKBs that can be used when the system is in low memory
conditions. This pool will be shared between all nodes and replenished
by a worker function.

Change-Id: I639a9ac76db726dc8ad46b12d3b3d560c674939c
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:07:38 -07:00
Chris Lew
08de359d99 net: qrtr: Add dynamic node id configuration
Add support to configure the node id through defconfig. This is useful
for targets that are unable to configure the node id through qrtr-ns
because of security reasons. The local node id can still be overridden
by the ns if it is capable.

Change-Id: Ie9fec2ae276948340f4f5a7e0374d554502a0ee1
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:07:29 -07:00
Chris Lew
67789fda41 net: qrtr: hold ept sem lock before node lookup
Node ref count decrement and test is performed inside ept
sem lock while node lookup is done inside node spin lock.
This can sometime cause node lookup to succeed while parallely
node can be freed in node release function. This will further
use of node and will result in use after free.

Additionally hold ept smem lock before performing node lookup.

Change-Id: Iaa5781c56ebee51611dfea9fddcde50f1367dfea
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-10-27 11:07:12 -07:00
John Moon
e32903b9a6 ANDROID: bazel: add GKI consolidate Bazel build
Adds //common:kernel_aarch64_consolidate Bazel build target.

Bug: 255878221
Change-Id: I76b44a2764d461d6267ff217e8914298fe560544
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-10-26 23:26:28 -07:00
Bao D. Nguyen
f16d49239e phy: qualcomm: Add UFS PHY support for pineapple
Add UFS PHY support for Pineapple.

Change-Id: I8b2829a6c5ea571b6aa2dbd1fc09ea21869bf1c3
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2022-10-26 21:43:59 -07:00
qctecmdr
2b0465b6c3 Merge "coresight-stm: fix list_add double add issue" 2022-10-26 09:48:14 -07:00
qctecmdr
6ab101b62e Merge "coresight: etr: Don't allocate the new buffer when etr is enabled" 2022-10-26 09:48:13 -07:00
qctecmdr
3c7f6a083d Merge "coresight: byte-cntr: Add the length check in reading data" 2022-10-26 09:48:12 -07:00
qctecmdr
504a2af1e9 Merge "clk: qcom: pineapple: Update clock drivers with latest frequency plans" 2022-10-26 09:48:12 -07:00
qctecmdr
eb636f450b Merge "defconfig: pineapple-gki: Enable our IOMMU debug module" 2022-10-26 09:48:11 -07:00
qctecmdr
c58ed8a737 Merge "build.config.msm.common: Fix corner case in copy_dist_bins()" 2022-10-26 09:48:10 -07:00
qctecmdr
a23281d498 Merge "soc: qcom: Add v18 support for socinfo" 2022-10-26 09:48:09 -07:00
qctecmdr
bc3ed0087b Merge "clk: qcom: use spin_lock to guard qcom_regmap_list" 2022-10-25 18:31:45 -07:00
qctecmdr
ea04aa224b Merge "soc: qcom: Add snapshot of GLINK_PKT Driver" 2022-10-25 18:31:44 -07:00
qctecmdr
33f264103c Merge "pci: msm: Remove qcom_clk_dump calls from interrupt context" 2022-10-25 18:31:44 -07:00
qctecmdr
def15f5022 Merge "arm64: config: Enable show resume IRQs driver for pineapple" 2022-10-25 18:31:43 -07:00
qctecmdr
9e741e1438 Merge "defconfig: pineapple-gki: enable qcom_spcom and glink spss drivers" 2022-10-25 18:31:42 -07:00
qctecmdr
fa47cb9ec7 Merge "net: qrtr: Retry hello message on error" 2022-10-25 18:31:41 -07:00
qctecmdr
d951a945b8 Merge "build: Add custom bazel.WORKSPACE file" 2022-10-25 18:31:40 -07:00
qctecmdr
855b03fbc6 Merge "coresight: core: Fix a possible array overflow in sink_name_store()" 2022-10-25 14:28:11 -07:00
qctecmdr
5be5e2e5a7 Merge "sched/walt: Change to comparing capacities instead of clusters" 2022-10-25 14:28:10 -07:00
qctecmdr
b2a9fed519 Merge "sched/walt:Do not use package id while setting up clusters" 2022-10-25 14:28:09 -07:00
qctecmdr
3ae40764f2 Merge "soc: qcom: llcc: Further update config data for pineapple SoC" 2022-10-25 14:28:09 -07:00
qctecmdr
0e717f897d Merge "clk: qcom: clk-alpha-pll: Don't round up alpha value in HW" 2022-10-25 14:28:07 -07:00
qctecmdr
a78da142ff Merge "coresight: funnel: add support for duplicating funnel devices" 2022-10-25 14:28:07 -07:00
qctecmdr
318cf873e6 Merge "build: Add build_with_bazel.py" 2022-10-25 14:28:06 -07:00
qctecmdr
9f2acd09a4 Merge "drivers: soc: qcom: crm: Add delay during channel switch" 2022-10-25 14:28:05 -07:00
qctecmdr
70d856f66e Merge "android: abi_gki_aarch64_qcom: Add symbols for sdcard support" 2022-10-25 14:28:04 -07:00
qctecmdr
583f0cb51a Merge "generic_vm_defconfig: virtual io: Enable debug options" 2022-10-25 14:28:03 -07:00
qctecmdr
aa24908902 Merge "modules.list.msm.pineapple: Add crm driver" 2022-10-25 14:28:01 -07:00
Chris Goldsworthy
2a87fc7c56 dma-heap: qcom: Add the UBWC-P heap
Add the UBWC-P heap.

Change-Id: I62cc0c31313cd95fd1569c550504aeb47d0f089a
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-10-25 10:05:03 -07:00
qctecmdr
d02b574ce8 Merge "soc: hw-fence: Add support for debug validation clients" 2022-10-25 08:48:49 -07:00
qctecmdr
33a324df23 Merge "defconfig: Enable msm_perf" 2022-10-25 08:48:48 -07:00
qctecmdr
a2638ef768 Merge "msm_perf: Check on max_freq value to avoid invalid value" 2022-10-25 08:48:47 -07:00
qctecmdr
165c5da3a9 Merge "esoc: Add esoc header APIs to resolve build dependencies" 2022-10-25 08:48:46 -07:00
qctecmdr
a9587bebbd Merge "msm: pcie: Dump PCIe registers for hang event" 2022-10-25 08:48:45 -07:00
qctecmdr
01488c9520 Merge "abi_gki_aarch64_qcom: Add get_random_u32 symbol" 2022-10-25 08:48:45 -07:00
qctecmdr
e2ed96ee85 Merge "bus: mhi: Add MHI devices and controllers stack in makefile" 2022-10-25 08:48:44 -07:00