Commit graph

882,914 commits

Author SHA1 Message Date
Chris Lew
28ed3ab34f net: qrtr: Remove rcu logic for port lookup/remove
synchronize_rcu() is slow and can create delays on creating/removing
sockets.

Some clients have latency requirements for spinning off a
thread that creates a client and lookup sockets for some sessions. They
close the lookup socket during this sequence which causes delays. Each
call to synchronize_rcu takes 20-40 ms which is too long.

Remove the rcu logic and change qrtr_port_lock to a spinlock so it can
be used in qrtr_port_lookup which may be used in atomic context.

Change-Id: I3244e31d3ca0599df794d3936033735bcdd3e972
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-05-19 19:09:59 -07:00
Chris Lew
9f4ad55602 net: qrtr: Do not take sock lock on blocking recv
Socket client's should be able to block on recv without blocking other
socket operations such as sending. The qrtr core logic should also be
able to operate on the sock while a client is blocked in recv. Remove
the sock lock from around the recv_datagram to allow execution to
continue while a client is blocked in recv.

Change-Id: I6adb09b8e44c5ff3542b88db87b376a3ae5cb5ba
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-05-19 19:03:56 -07:00
qctecmdr
98c66447db Merge "aarch64: ABI: Update the ABI whitelist with __ioread32_copy" 2020-05-19 12:26:16 -07:00
qctecmdr
af265a84de Merge "qseecom: Set max size for dma segment" 2020-05-19 08:38:39 -07:00
qctecmdr
f8c1e68b24 Merge "soc: qcom: dcc: Set transaction timeout for dcc linklist" 2020-05-19 08:38:39 -07:00
qctecmdr
9158dd1104 Merge "drivers: pinctrl: Add pinctrl support for SDXLEMUR target" 2020-05-19 08:38:38 -07:00
Raghavendra Rao Ananta
6de2cd588d aarch64: ABI: Update the ABI whitelist with __ioread32_copy
Add __ioread32_copy to the ABI whitelist and update the ABI
snapshot accordingly.

Change-Id: I92a42471848c30d2cb174287d59b7c721eacc8cb
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-18 21:57:49 -07:00
qctecmdr
218848f9ed Merge "soc: altmode: Remove altmode device name" 2020-05-18 14:26:26 -07:00
qctecmdr
3272d7797e Merge "clk: qcom: Add support to proxy vote until clk controllers sync states" 2020-05-18 07:55:00 -07:00
qctecmdr
29c0add321 Merge "dt-bindings: clock: dispcc: Remove mdss dp crypto clocks" 2020-05-18 07:55:00 -07:00
qctecmdr
ec45186e15 Merge "drivers: cpuidle: lpm-levels: check for valid LPM stats" 2020-05-18 07:54:59 -07:00
qctecmdr
27c11f8d49 Merge "usb: gadget: Allow f_rndis and f_gsi to coexist as modules" 2020-05-18 07:54:59 -07:00
qctecmdr
d740f47368 Merge "msm: kgsl: Disable GBIF_CLIENT_QOS on all A660 GPU revisions" 2020-05-18 03:55:12 -07:00
qctecmdr
eb69de564d Merge "pinctrl: qcom: Update configuration for Shima" 2020-05-18 03:55:12 -07:00
qctecmdr
23da5f5a93 Merge "PM / devfreq: qoslat: implement get_dev_status()" 2020-05-18 03:55:12 -07:00
qctecmdr
7c117711a4 Merge "cnss2: Enable io-coherency" 2020-05-18 03:55:11 -07:00
qctecmdr
b085b73a1f Merge "clk: qcom: Add common regulator handle initialization" 2020-05-18 03:55:11 -07:00
qctecmdr
2626b594a4 Merge "defconfig: Enable Glink over RPM defconfig for Holi" 2020-05-18 03:55:11 -07:00
qctecmdr
100515801c Merge "cnss2: Reject idle restart if fails to get driver ops lock" 2020-05-17 23:58:35 -07:00
qctecmdr
9657f724eb Merge "ANDROID: dm-default-key: Update key size for wrapped keys" 2020-05-17 23:58:35 -07:00
qctecmdr
c995c7adb7 Merge "firmware: qcom_scm: fix the arguments types information" 2020-05-17 23:58:34 -07:00
qctecmdr
cf221d2a10 Merge "msm: cvp: disable cache op by default" 2020-05-17 23:58:34 -07:00
qctecmdr
a05e4a3509 Merge "soc: qcom: mem-buf: Add support for restricting memory transfers" 2020-05-17 23:58:34 -07:00
qctecmdr
85a4ed7aa3 Merge "cpufreq: qcom-cpufreq-hw: Simplify the boost frequency" 2020-05-17 23:58:34 -07:00
qctecmdr
630442cc62 Merge "aarch64: ABI: Update the ABI whitelist with qcom_scm symbols" 2020-05-17 18:50:02 -07:00
Raghavendra Rao Ananta
e16bbe600e aarch64: ABI: Update the ABI whitelist with qcom_scm symbols
Add the symbols qcom_scm_dcvs_reset, qcom_scm_io_reset,
qcom_scm_dcvs_init_ca_v2, qcom_scm_dcvs_ca_available, and
qcom_scm_dcvs_init_v2 to the whitelist and update the
ABI snapshot.

Change-Id: I3049cecbc4256c47050a91125f359993ee1af96b
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-17 00:34:22 -07:00
qctecmdr
c09480d98d Merge "msm: pcie: add support to manage PCIe PHY PLL block" 2020-05-15 20:31:15 -07:00
qctecmdr
3dfe6cb25d Merge "sched: Completely remove CFS_BANDWIDTH support in WALT" 2020-05-15 20:31:15 -07:00
qctecmdr
fbb9d05d4b Merge "soc: qcom: socinfo: Fix array out-of-bounds access" 2020-05-15 20:31:15 -07:00
qctecmdr
a911709e5d Merge "radio: RTC6226: post original tune event after scan complete" 2020-05-15 20:31:12 -07:00
qctecmdr
a1058f3b09 Merge "haven: Fix non-zero input SG-List handling for MEM_ACCEPT" 2020-05-15 20:31:11 -07:00
qctecmdr
1c8201b865 Merge "Revert "ASoC: soc-pcm: BE dai needs prepare when pause release after resume"" 2020-05-15 20:31:11 -07:00
qctecmdr
47f0c1c28e Merge "interconnect: qcom: Fix small BW votes being truncated to zero" 2020-05-15 20:31:11 -07:00
qctecmdr
89bc61bcc5 Merge "Add ports and port child node check in legacy function" 2020-05-15 20:31:11 -07:00
qctecmdr
181b4fb1cd Merge "usb: gadget: f_qdss: Add ipc logging for qdss driver" 2020-05-15 20:31:10 -07:00
qctecmdr
055b8f444d Merge "coresight: Fix support for sparsely populated ports" 2020-05-15 20:31:10 -07:00
qctecmdr
49dec8e04f Merge "pinctrl: qcom: spmi-gpio: Add support for PMIC5 variants" 2020-05-15 20:31:10 -07:00
qctecmdr
6bc934cdfb Merge "iommu: iommu-debug: Fix functional_fast_dma test" 2020-05-15 20:31:09 -07:00
qctecmdr
1af87d2d34 Merge "i2c: i2c-msm-geni: Propagate missing changes from 4.19 to 5.4" 2020-05-15 20:31:09 -07:00
qctecmdr
28ebdbc563 Merge "arm64: add config option to enable DT overlay" 2020-05-15 20:31:09 -07:00
qctecmdr
86bcd72045 Merge "drivers: Fix compilation issues when debugfs is disabled" 2020-05-15 20:31:09 -07:00
qctecmdr
17283d7ab4 Merge "defconfig: lahaina: Enable gpu devfreq governors for GKI" 2020-05-15 20:31:08 -07:00
Guru Das Srinagesh
e4460cec52 soc: altmode: Remove altmode device name
Remove the device tree property "qcom,altmode-name" and the logic it
feeds as it was meant to help in the cases when there are multiple
altmode devices. Since there is going to be only one altmode device as
per design, this is no longer needed.

Change-Id: Ife15e39becee5f4ff03bdcc56ff62ae812fe2726
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-05-15 20:14:59 -07:00
Guru Das Srinagesh
10eb84f4f9 soc: altmode: Update client APIs, notifier bookkeeping
Client API changes:
- Update client APIs to align them more closely with upstream
  conventions.
- In particular, change the link between altmode device and client from
  the altmode device's name string to a phandle to the altmode device
  followed by the port index of the client.
- Instead of using solely the client's SVID as the key for idr_alloc,
  include port_index as well because the unique identifier of a client
  is the (SVID, port_index) tuple.

Updates to client notifying mechanism:
- Get rid of the standard notifier APIs in favour of a simpler callback
  function-based mechanism to notify clients of probe completion.
- In addition, if clients probe after altmode finishes probing, they
  will not get notified of probe completion as this is done only once at
  the end of altmode_probe(). Fix this so that if a client registers for
  probe completion notifications after altmode probes, they get notified
  immediately.

While at it, get rid of the global list of altmode devices (amdev_list)
as there will only be a single altmode device in the system as per
design.

Change-Id: Iea450d30d9cc94671f505b7ff0c6e98b0b8a4467
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-05-15 20:14:42 -07:00
qctecmdr
665fb058e3 Merge "defconfig: holi: Add support for Global clock controller" 2020-05-15 16:20:24 -07:00
qctecmdr
76ba36be83 Merge "radio: RTC6226: add support to scan valid lower freq channel" 2020-05-15 16:20:24 -07:00
qctecmdr
f830a6356e Merge "usb: dwc3: Use an ordered workqueue for sm_work" 2020-05-15 16:20:24 -07:00
qctecmdr
78d870eaec Merge "ALSA: Compress - dont use lock for all ioctls" 2020-05-15 16:20:24 -07:00
qctecmdr
5e78e07da3 Merge "qseecom: process smcinvoke callback request" 2020-05-15 16:20:23 -07:00
qctecmdr
f23c019559 Merge "iommu/arm-smmu: Add support for split page table domains" 2020-05-15 16:20:23 -07:00