Commit graph

879,297 commits

Author SHA1 Message Date
David Collins
f1ad034806 spmi: spmi-pmic-arb: add support to map SPMI addresses to physical addr
Add an exported function which can map an SPMI address to the
physical address range of the registers used to write to that
SPMI address.

The feature can be used by consumer drivers that need to lock
down access to certain PMIC peripherals temporarily for certain
secure use cases.

Change-Id: Ib477778346df29ee90661d2e07d2d3a5d160ae87
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-03-16 15:46:29 -07:00
Jishnu Prakash
108427ae28 leds: qpnp: Add snapshot of vibrator LDO driver
This is a snapshot of the vibrator LDO driver as of msm-4.19
'commit c527cd5c987ac (Merge "mhi: cntrl: qcom: allow printing
large strings to IPC logs")' with the following modifications:
	- Replace snprintf with scnprintf.

Change-Id: Id58fbcc33607c309366104fe72282c09c86a3227
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-03-15 08:19:03 -07:00
qctecmdr
058b861752 Merge "usb: dwc3: gadget: update the return value of pullup function" 2020-03-15 03:11:03 -07:00
qctecmdr
baa8778afd Merge "cnss_nl: Add new attributes for cld80211 attr list" 2020-03-15 03:11:03 -07:00
qctecmdr
d9918c71df Merge "NFC: Add timeout when waiting for responses in probe" 2020-03-15 03:11:03 -07:00
qctecmdr
99a3ac3183 Merge "msm: ipa3: Updating SRAM locations for lito" 2020-03-15 03:11:02 -07:00
qctecmdr
f8c0f9b08b Merge "msm: kgsl: Move event groups to the KGSL device" 2020-03-15 00:41:45 -07:00
qctecmdr
2da77626ea Merge "platform: msm: Add snapshot of msm_11ad driver" 2020-03-15 00:41:45 -07:00
qctecmdr
b5db7e5fa0 Merge "msm: ipa: Update source and dest resource group config values" 2020-03-15 00:41:45 -07:00
qctecmdr
ea6490aa33 Merge "arm64: defconfig: select CONFIG_USB_CONFIGFS_NCM on Lahaina" 2020-03-15 00:41:44 -07:00
qctecmdr
5f7d6431db Merge "usb: phy: qmp: Perform DP_COM_SW_RESET during portselect" 2020-03-15 00:41:44 -07:00
qctecmdr
543d28f8d8 Merge "USB: f_accessory: Check dev pointer before decoding ctrl request" 2020-03-15 00:41:43 -07:00
qctecmdr
95130fde9d Merge "dt-bindings: thermal_qti: Add thermal devicetree Macro" 2020-03-14 21:42:38 -07:00
qctecmdr
644e2c8cb3 Merge "usb: gsi: Dont mask read api for dpl_ctl node" 2020-03-14 21:42:38 -07:00
qctecmdr
501bac76d0 Merge "clk: qcom: clk-debug: Add mc_cc_debug_mux in gcc debug parent list" 2020-03-14 21:42:37 -07:00
qctecmdr
87da78b5f9 Merge "msm: pcie: lower event callback print prority" 2020-03-14 21:42:37 -07:00
qctecmdr
70bc75e1bd Merge "msm: kgsl: Add the list of protected registers for A660" 2020-03-14 21:42:36 -07:00
qctecmdr
5ae8b16b99 Merge "defconfig: Enable LMH DCVS driver for lahaina" 2020-03-14 21:42:36 -07:00
qctecmdr
0b61299a0d Merge "msm: kgsl: Refactor IOMMU register macros" 2020-03-14 21:42:36 -07:00
qctecmdr
4d500eb9cd Merge "defconfig: arm64: Enable hyp core control driver for Lahaiana" 2020-03-14 18:51:01 -07:00
qctecmdr
8e40478163 Merge "iommu: arm-smmu: Fix domain logger use-after-free" 2020-03-14 18:51:01 -07:00
qctecmdr
33e77071eb Merge "sched: remove weak keyword from function declarations" 2020-03-14 18:51:00 -07:00
qctecmdr
02d60c3dfd Merge "defconfig: arm64: Enable dummy netdevice" 2020-03-14 18:51:00 -07:00
qctecmdr
2b18e7c324 Merge "msm: kgsl: Update the GMU AO clockgating value" 2020-03-14 18:50:59 -07:00
qctecmdr
c4ef1f1c8a Merge "msm: pcie: replace all memory barriers with readbacks" 2020-03-14 18:50:58 -07:00
qctecmdr
f4931237b2 Merge "power_supply: Register cooling device outside of probe" 2020-03-14 18:50:58 -07:00
qctecmdr
f0696b23b4 Merge "msm: kgsl: Program GPU SCID for UCHE traffic" 2020-03-14 18:50:57 -07:00
qctecmdr
dfc05db44e Merge "drivers: thermal: bcl_soc: Read charge depletion percentage" 2020-03-14 18:50:57 -07:00
qctecmdr
8f601d73bc Merge "radio: RTC6226: post tune success event when scan done" 2020-03-14 18:50:56 -07:00
qctecmdr
11fda450fe Merge "memshare: Use QMI request structure size as decode buffer size" 2020-03-14 18:50:56 -07:00
qctecmdr
cda7bea699 Merge "msm: kgsl: Fix GPU UBWC setting for DDR 5" 2020-03-14 18:50:56 -07:00
qctecmdr
2692f80e8b Merge "usb: gadget: Prevent use after free in qdss connect & close" 2020-03-14 18:50:55 -07:00
qctecmdr
462ccc5bb6 Merge "rtc-pm8xxx: Clear Alarm register on resume" 2020-03-14 15:40:40 -07:00
qctecmdr
d602f36bdf Merge "arm: defconfig: Enable STM_PROTO_BASIC for lahaina" 2020-03-14 15:40:39 -07:00
qctecmdr
fbaf44464c Merge "interconnect: qcom: Ignore -EBUSY for AMC requests" 2020-03-14 15:40:39 -07:00
qctecmdr
45dde2641b Merge "msm: cvp: Restructure CVP buffer management" 2020-03-14 15:40:39 -07:00
qctecmdr
64a732e881 Merge "iommu: arm-smmu: fix check for need for preallocate memory" 2020-03-14 15:40:38 -07:00
qctecmdr
4d3d7cf067 Merge "iommu/arm-smmu: replicate faulty transaction" 2020-03-14 15:40:38 -07:00
qctecmdr
942f8d2ce6 Merge "iommu: arm-smmu: fix compile error if CONFIG_PCI disabled" 2020-03-14 15:40:37 -07:00
qctecmdr
d9c7bd08f5 Merge "msm: pcie: add proper PCIe link state for linkdown" 2020-03-14 15:40:37 -07:00
qctecmdr
e9c4f4cb2a Merge "msm: pcie: add logs for link bandwidth switching" 2020-03-14 15:40:36 -07:00
qctecmdr
be52fff03d Merge "power: supply: qti_battery_charger: add thermal mitigation support" 2020-03-14 15:40:36 -07:00
qctecmdr
517174e6d2 Merge "ion: Relax CONFIG_ION_MSM_HEAPS dependencies" 2020-03-14 15:40:36 -07:00
qctecmdr
4e9c4afc83 Merge "dwc3-msm: Increment req->num_trbs on queueing TRB" 2020-03-14 15:40:35 -07:00
qctecmdr
261a1aac81 Merge "coresight-tmc-etr : Call _tmc_disable_etr_sink when switch mode" 2020-03-14 15:40:35 -07:00
Prakash Gupta
841fe8d573 iommu: arm-smmu: Fix domain logger use-after-free
smmu_domain logger is freed as part of error handling in
arm_smmu_init_domain_context.  But smmu_domain->logger is still non null.
This cause smmu_domain->logger to be accessed during domain free.  Fix
this.

Fixes: f1746fc8a009 ("iommu: qti: Track iommu domains")
Change-Id: I82a7f9121b78ca9338d202694dbc0a98150f0c92
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-03-14 08:23:03 -07:00
Mayank Rana
3d67a3dabe dwc3-msm: Increment req->num_trbs on queueing TRB
BAM endpoint TRB ring has usage of 2 TRBs (normal and LINK), and
completion API (dwc3_msm_req_complete_func()) currently only
increments dequeue pointer by 1 assuming that dwc3_gadget_giveback()
does increment dequeue pointer for normal TRB. With newer changes
in dwc3 gadget framework, it moves requests to cancelled list with
usb_ep_dequeue() and reclaim those TRBs on end transfer command
completion. Reclaiming TRB back to trb pool is done only when
req->num_trbs is non zero. dwc3_msm_ep_queue() API checks for
enqueue and dequeue pointers, and on mismatch of it error out.
This results into no BAM2BAM communication after trying to use USB
as sink with QDSS usecase. Fix this issue by incrementing req->num_trbs
with dwc3_msm_ep_queue() API for normal TRB so dequeue pointer is
incremented with dwc3_gadget_ep_cleanup_cancelled_requests() API.

Change-Id: I0777aea7c6add7fb6fea7ea74056786e33435427
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-03-13 16:27:21 -07:00
Nitheesh Muthuraj
0f09538bab msm: kgsl: Update the GMU AO clockgating value
Modify the GMU AO clockgating value for A660.

Change-Id: I35ea9ecae951c966c76ace14c1b24e588065dd83
Signed-off-by: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
2020-03-13 15:26:01 -07:00
Satya Durga Srinivasu Prabhala
a1b7963bc1 sched: remove weak keyword from function declarations
Using weak keyword in function declarations with CFI may lead to
undesired results, remove it.

Change-Id: Idc683e47ef3ce42c694b713d6c88dce5485863c8
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-03-13 15:00:39 -07:00
Ram Chandrasekar
b2bad6da88 power_supply: Register cooling device outside of probe
Registering the cooling device from the probe, can result in the
execution of get_property() function, before the probe is complete.

To avoid this, register the cooling device from a workqueue, instead of
registering in the probe.

Change-Id: Ic9279fd5ca5476df66baa6e0f302a7f3bd6b899b
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-03-13 14:05:45 -07:00