Commit graph

893,362 commits

Author SHA1 Message Date
Blagovest Kolenichev
e0d735105c gki: Set GKI_VERSION to 4271ad6
Change-Id: I8af18243659aaf7f29cc07f9106be2e25f235505
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-12-02 20:55:23 -08:00
Jishnu Prakash
5140c1e124 dt-bindings: iio: Add ADC support for PM7325 and PM7325B
Add virtual channel definitions for PM7325 and PM7325B for
use by their ADC clients.

Change-Id: I75ddc15f6866a56678f344f6d18062857c4fc550
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-12-03 10:21:33 +05:30
Jishnu Prakash
5bf1ef9f82 pinctrl: qcom: spmi-gpio: add support for PM7325 and PM7325B PMIC variants
Add support for qcom,pm7325-gpio and qcom,pm7352b-gpio variants.

Change-Id: I667af9a375d2bcc4a3576001b76d0366f45389ce
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-12-03 10:14:01 +05:30
Akash Asthana
2b1ef2cd9e uapi: Add QTI specific header for UART
Create QTI specific header for UART IOCTLs. Bluetooth uses the IOCTL
to control UART clock/power states.

Choose higher numerical value for UART IOCTL macros to avoid any
conflict with upstream addition for new IOCTL.

Change-Id: I6dbabe30f5a12b5bc21cfe8fb16cdccfcc770484
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-12-03 09:40:24 +05:30
qctecmdr
e14ef833ac Merge "guestvm_loader: isolate cpus when VM is starting" 2020-12-02 16:21:18 -08:00
qctecmdr
1ddf016918 Merge "icnss: Update FW_INIT_DONE QMI indication with hang event params" 2020-12-02 16:21:17 -08:00
qctecmdr
3068283a7a Merge "clk: qcom: Add support for NPU QDSS clocks" 2020-12-02 16:21:17 -08:00
qctecmdr
16577402f7 Merge "coresight: Doesn't save and restore ETMs state while CPU hot-plug" 2020-12-02 16:21:17 -08:00
Paras Singh Jain
d30948cecd netfilter: Changes to handle segmentation in SIP ALG
Linux Kernel SIP ALG did not handle Segmented TCP Packets
because of which SIP communication could not be established
for some clients. This change fixes that issue.

Also,This change handle porting of below changes
c39f2db28d61ec4 ("Additional fixes for SIP Segmentation Support")
07c07c942ec37f0 ("Changes to handle MT call issue in SIP ALG")
18f40547250d8b6 ("Enable/Disable SIP Segmentation Support").

Change-Id: I8c77322f69cf4d9ad4c7b4971da924ffd585dea0
Acked-by: Vinisha Varre <vvarre@qti.qualcomm.com>
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-12-02 13:08:19 -08:00
Melody Olvera
a1ee505096 defconfig: Enable EUD on sdxlemur
Added defconfig for EUD on sdxlemur.

Change-Id: I7ea1c964f9442b7a093e7f57ed6bc7e98973a0e2
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
2020-12-02 13:07:15 -08:00
qctecmdr
858cd7768a Merge "msm: kgsl: Poll a6x crashdumper register memory for status" 2020-12-02 12:33:05 -08:00
qctecmdr
716324595c Merge "icnss2: Add support for host triggered recovery" 2020-12-02 12:33:04 -08:00
qctecmdr
03ee1e4f8a Merge "icnss2: Avoid race between soc wake release threads" 2020-12-02 12:33:04 -08:00
qctecmdr
a9178e5c9b Merge "spi: spi-msm-geni: Bypass hw_version read for SVM" 2020-12-02 12:33:04 -08:00
qctecmdr
9c36b67360 Merge "soc: qcom: Initialize the irq count work item" 2020-12-02 12:33:03 -08:00
Jeya R
5d7778a02a msm: adsprpc: Change perf module design
Change perf module design such that perf counters from
DSP and kernel are returned as part of header. Add
trace event for kernel counters.

Change-Id: I9a1bec0068898995f79b033fe6d4517ef5bac50b
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Signed-off-by: Vamsi krishna Gattupalli <vgattupa@codeaurora.org>
2020-12-02 23:27:46 +05:30
qctecmdr
e72d8c95da Merge "defconfig: sdxlemur: add dependence defconfig" 2020-12-02 08:44:35 -08:00
qctecmdr
4420d6ffed Merge "cnss2: pci: Trigger link down recovery if link fails to enter L0" 2020-12-02 08:44:35 -08:00
qctecmdr
ac8cdc9962 Merge "msm: pcie: support configurable number of PARF testbus selectors" 2020-12-02 08:44:34 -08:00
qctecmdr
1db02978e4 Merge "msm: dp: fix no audio over DP on device bootup" 2020-12-02 08:44:34 -08:00
Sami Tolvanen
559c23e691 ANDROID: vmlinux.lds.h: merge compound literal sections
After LLVM rG9e33c096476a ("[ELF] Keep orphan section names
(.rodata.foo .text.foo) unchanged if !hasSectionsCommand"), LLD splits
compound literals to separate sections with -fdata-sections, which
it always enables with LTO. Merge these sections to allow LLVM to be
upgraded.

Bug: 174047799
Change-Id: I858c5fcc48283d5528c1d3e2b2d7a3c72f9e03d6
Link: https://github.com/ClangBuiltLinux/linux/issues/958
Suggested-by: Danny Lin <danny@kdrag0n.dev>
Suggested-by: Fangrui Song <maskray@google.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2020-12-02 16:39:51 +00:00
Vinayak Menon
b530583498 drivers: staging: ion: mark secure page private
check_valid_vmid does not mark page private when
releasing the page to secure pool. Do it.

Change-Id: I258561421c520a7b8b50dbf9421bc0aea459dfee
Fixes: cae595f476 ("ion: Check for valid vmids for msm system heap")
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2020-12-02 17:55:00 +05:30
qctecmdr
e10adfe482 Merge "regulator: qpnp-amoled: add support to disable pulse skipping" 2020-12-02 03:04:39 -08:00
qctecmdr
27be1572fd Merge "defconfig: Add support for compiling sdxnightjar target" 2020-12-02 03:04:39 -08:00
qctecmdr
9936d8bd66 Merge "cfg80211: export regulatory_hint_user() API" 2020-12-02 03:04:39 -08:00
qctecmdr
7f38220137 Merge "input: qcom-hv-haptics: add mutex lock for FIFO play" 2020-12-02 03:04:38 -08:00
qctecmdr
a9bfd29936 Merge "arm64: defconfig: Enable power drivers for gen3auto" 2020-12-02 03:04:38 -08:00
qctecmdr
a9ad07647e Merge "HID: qvr: wake up after acknowledgment from viewer" 2020-12-02 03:04:38 -08:00
Jeya R
1a2ea5094c msm: ADSPRPC: Handle Null pointer De-reference
Retrieved tgid from current process instead of
mapping  for naming the minidump region.

Change-Id: I598606577c63794f495c9ca92adc951c088046be
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Acked-by: Gururaj Chalgeri <gchalger@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2020-12-02 10:29:04 +05:30
Murali Nalajala
56a1e8a1fe guestvm_loader: isolate cpus when VM is starting
Do initial CPU reservation before starting VM, to
avoid any resource contention, while booting guest
VM. Remove the reservation after a configured timeout,
which defaults to 8 seconds.

Change-Id: Id49b07edd3e558dee074eafb729423ad8f8ff98d
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-12-02 09:52:41 +05:30
Ajay Agarwal
3737f15cc7 usb: dwc3-msm: Avoid access of gsi_reg for non-GSI targets
Some targets do not have GSI feature. For such targets, gsi_reg
array does not get allocated. DWC3_CONTROLLER_NOTIFY_CLEAR_DB
event from gadget driver will access this unallocated memory.
Fix this by putting a check for gsi_reg.

Change-Id: I9903c0c6533abf3d6e689a40ea84ecbc066e10d8
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2020-12-01 20:22:26 -08:00
Michael Adisumarta
33962cd2e1 msm: ipa: Support hardware accelerated DIAG over qdss with ipa_fmwk
Add support to accelarate QDSS diag traffic over IPA to the PCIe
host with ipa fmwk support.

Change-Id: I64a8c493e8b6ef3fc525a3edcfd57e1cd11ccb6c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-12-01 17:13:20 -08:00
Pratham Pratap
026280fcfa usb: phy: snps: Return error if driver fails to enable power
Currently driver is not returning any error from the error
handling path if driver fails to enable power for PHY.
This patch adds a check and returns error if the driver
actually fails to set_voltage or fails to enable a particular
regulator.

Change-Id: I5427690602b6152151adee71c6388ce836ab90c6
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-12-01 11:32:20 -08:00
Narendra Muppalla
16d99ebeaf ANDROID: ABI: Update allowed list for QCOM
Leaf changes summary: 0 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

Bug: 174461333
Change-Id: If0033c24aca5a9cfb755a0f30ee1ca54815f516d
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2020-12-01 10:59:17 -08:00
Jack Pham
a109977adf usb: gadget: composite: Allow vbus_draw() to be called with 0mA
Similar to commit 9ffbd89c4a ("USB: gadget: composite: Allow
bMaxPower=0 if self-powered"), c->MaxPower may be allowed to be 0
when the gadget's configuration indicates it is self-powered. Thus
allow 0 to be passed directly to usb_gadget_vbus_draw() instead of
defaulting to CONFIG_USB_GADGET_VBUS_DRAW which is non-zero.

Change-Id: I4bf677a31a449c7763e2decad4860909f359dcb7
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-12-01 09:33:43 -08:00
Hareesh Gundu
1817bbf51b msm: kgsl: Poll a6x crashdumper register memory for status
Use a6x crashdumper register memory end location to know
the crashdumper status completion. This will avoid AHB
traffic while crashdumper was active in snapshot dumping
and fixes the slave timeout issue.

Change-Id: Ic24e75557297c6a1a3f2ad7893f4d8d308f9943c
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-12-01 08:58:50 -08:00
qctecmdr
d1d92738ec Merge "Merge android11-5.4.61+ (3720133) into msm-5.4" 2020-12-01 02:17:29 -08:00
Hemant Kumar
d948568a1f usb: phy: snps: Ensure VDDA regulator is put in HPM
To properly ensure that the vdd regulator is put in the correct
operating mode, it needs to have a call to regulator_set_load()
prior to being enabled. This is crucial for platforms where the
HS PHY is the only consumer of the regulator as it could be
inadvertently left in LPM mode and cause the PHY to not function
properly.

Change-Id: I87815c60f044d854ecc75ac6039fd80c2d3197aa
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-11-30 23:51:08 -08:00
Maulik Shah
ef6d5a474e arm64: defconfig: Enable power drivers for gen3auto
Enable LPM and SoC sleep stats drivers for gen3auto.

Change-Id: I7dd08d1044054d5b330d149aa1f26f13d9d7b9bf
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-12-01 10:53:50 +05:30
Fenglin Wu
b8790b3e44 input: qcom-hv-haptics: add mutex lock for FIFO play
When stop command comes during FIFO refill, it would free custom_effect
FIFO sample memory and set the pointer to NULL, and this would cause
the NULL pointer dereference during FIFO refill. To fix this, add a
mutex lock between FIFO stop and FIFO refill sequence to avoid a race.

Change-Id: I8792c2183f06e84fca3a7c4dddfed667b25f2528
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-12-01 11:53:51 +08:00
Naina Mehta
4bae620443 drivers: llcc: Add LLCC driver for Yupik
Add Last Level Cache Controller(LLCC) driver for
Yupik platform.

Change-Id: I2ce5e70c2d112f9ff3a7f3c68b54a809e9f7d00d
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2020-11-30 18:54:06 -08:00
Peter Xu
6b895253cb mm/ksm: Remove reuse_ksm_page()
Remove the function as the last reference has gone away with the do_wp_page()
changes.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 1a0cf26323c80e2f1c58fc04f15686de61bfab0c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Change-Id: Icd11ae747c4b0b9ddd81b8b3c5e463ed88abea9c
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2020-11-30 18:16:52 -08:00
Linus Torvalds
f63da7afd7 mm: do_wp_page() simplification
How about we just make sure we're the only possible valid user fo the
page before we bother to reuse it?

Simplify, simplify, simplify.

And get rid of the nasty serialization on the page lock at the same time.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[peterx: add subject prefix]
Signed-off-by: Peter Xu <peterx@redhat.com>
Git-commit: 09854ba94c6aad7886996bfbee2530b3d8a7f4f4
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[zhenhuah@codeaurora.org: resolve trivial merge conflicts]
Change-Id: I73dc102cb02d751d497bdf3cc39179a4bfdc5a54
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2020-12-01 10:15:23 +08:00
Mihir Shete
5c2f214753 cfg80211: export regulatory_hint_user() API
This is to help the hardware configured in world
roaming mode to save power when not connected to
any AP.

CRs-Fixed: 542802
Change-Id: Ia643d0e9848dcd486832973bd6dd186edd7bd4ea
Signed-off-by: Mihir Shete <smihir@codeaurora.org>
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
2020-12-01 09:17:10 +08:00
Hemant Kumar
1048d7aacc pci: msm: Dump PCIe registers upon WAKE assertion
In case device asserts WAKE due to timeout in exiting L1,
dump PCIe registers if link is in enabled state and drv is
supported.

Change-Id: I3d2edf1a42ef3a00e57418b2744a87d2693c698b
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-11-30 12:02:15 -08:00
Blagovest Kolenichev
dcc60d5081 Merge android11-5.4.61+ (4271ad6) into msm-5.4
* refs/heads/tmp-4271ad6:
  BACKPORT: mac80211_hwsim: add frame transmission support over virtio This allows communication with external entities.
  ANDROID: ABI: add symbols of sprd_ion.ko and snd-soc-sprd-codec-sc2730.ko to unisoc
  ANDROID: ABI: Update allowed list for QCOM
  ANDROID: GKI: Update abi_gki_aarch64_exynos
  ANDROID: GKI: enable CONFIG_SUN4I_TIMER
  ANDROID: uid_sys_stats: report uid_cputime stats in microseconds
  ANDROID: ABI: Update allowed list for QCOM
  UPSTREAM: Documentation: arm64: document support for the AMU extension
  UPSTREAM: arm64/kvm: disable access to AMU registers from kvm guests
  UPSTREAM: arm64: trap to EL1 accesses to AMU counters from EL0
  BACKPORT: arm64: add support for the AMU extension v1
  UPSTREAM: block: fix get_max_io_size()

Change-Id: I5d4e624fc9e2c13e89c3c1c3a9b8e6ee3c7fabe8
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-11-30 11:53:30 -08:00
Narendra Muppalla
f4f92f0001 ANDROID: ABI: Update allowed list for QCOM
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function drm_crtc* drm_crtc_from_index(drm_device*, int)'

Bug: 174476670
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Change-Id: Ice526ba5c386d91b2eccf8b48dadb553b816aaa8
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2020-11-30 10:59:54 -08:00
Veera Vegivada
29c930cf57 interconnect: qcom: Add OSM L3 support on SM8150
Add Operating State Manager (OSM) L3 interconnect provider support on
SM8150 SoCs.

Change-Id: I0e6c48fd04c16711dfc9a29ad27471e7f5464efc
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-30 19:19:27 +05:30
Veera Vegivada
81a716faf0 dt-bindings: interconnect: Add OSM L3 DT bindings
Add bindings for Operating State Manager (OSM) L3 interconnect provider
on SM8150 SoCs.

Change-Id: I8110fad97c65425f88afef9f661c60a514b8d36d
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-30 19:19:17 +05:30
Sibi Sankar
e6de432ee6 interconnect: qcom: Add OSM L3 interconnect provider support
On some QTI SoCs, Operating State Manager (OSM) controls the
resources of scaling L3 caches. Add a driver to handle bandwidth
requests to OSM L3 from CPU on SDM845 SoCs.

Change-Id: If210b7d996428b66996092851b5987f870a650db
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Link: https://lore.kernel.org/r/20200227105632.15041-4-sibis@codeaurora.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Git-commit: 5bc9900addafb99163232dbb970eb07661ae4178
Git-repo: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next
[vvegivad@codeaurora.org: Added aggreate function and minor modifcations as per the framework]
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-30 19:19:09 +05:30