Commit graph

894,426 commits

Author SHA1 Message Date
qctecmdr
910e71ffc9 Merge "usb: dwc3: Set number of TRBs to 1 for endless request" 2021-03-05 02:04:00 -08:00
qctecmdr
b1e51d12b5 Merge "defconfig: gen3auto: Enable ARM based SHA1" 2021-03-05 02:03:59 -08:00
qctecmdr
6ed0d6e26c Merge "msm: adsprpc: Clean DMA handles maps in case of error" 2021-03-05 02:03:59 -08:00
qctecmdr
2a1c1d8fce Merge "mmc: sdhci-msm: Affine irq to first set of mask when CONFIG_SMP enabled" 2021-03-05 02:03:59 -08:00
qctecmdr
30580bff1f Merge "arm64: defconfig: Add initial defconfig fragments for Direwolf" 2021-03-05 02:03:58 -08:00
Vinay Sudra
7ba0540df4 defconfig: quinvm: Move Uncompressed kernel config to GKI
Move Uncompressed kernel config from QGKI to GKI to
solve compilation issue.

Change-Id: I5c5da228a90a41fcaca7974b1735819fc5e59e38
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-05 09:56:41 +05:30
Elson Roy Serrao
9a3360e2f0 usb: dwc3: Set number of TRBs to 1 for endless request
When USB is disconnected we dont reset the num_trbs field of a
request before giving it back to the respective function. When
this request is re-used it will have an incorrect num_trb value.

For f_qdss HW path we use 1 endless request and allocate 1 TRB to
accommodate this request. This request is freed only during an USB
composition switch. Doing an USB plug-out/plug-in during an active
bam2bam session would result in erroneously incrementing the num_trbs
value when the transfer is resumed. When this request is dequeued
during a qdss_close we would increment dequeue pointer in accordance
with this incorrect num_trbs value. This leads to dequeue pointer
going beyond enqueue pointer and thus the subsequent ep_queue fails
due to this mismatch. Fix this by always setting the num_trb field
to 1 for requests going through qdss HW path.

Change-Id: Ibddad6c8fdd67b42d12752ae3ead73d20110c290
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2021-03-04 17:32:58 -08:00
Vinay Sudra
9014956418 defconfig: gen3auto: Enable ARM based SHA1
Enable ARM HW SHA1 Digest algorithm for faster
digest generation.

Change-Id: Idb6c67b5b715cddbb27b8be6556d136d064334f5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-04 21:09:38 +05:30
qctecmdr
c073c18fe7 Merge "arm64: fix bootloader_memory_limit" 2021-03-04 04:46:42 -08:00
qctecmdr
ce2c81d7f1 Merge "Bluetooth: Add retry for XO GPIO request" 2021-03-04 04:46:41 -08:00
qctecmdr
2a1ae0b0c3 Merge "power: supply: qcom: Fix typo for SMB1351 config" 2021-03-04 04:46:41 -08:00
qctecmdr
0f16b4becc Merge "input: qcom-hv-haptics: update LRA frequency detection sequence" 2021-03-04 04:46:41 -08:00
qctecmdr
7ffa7cf024 Merge "Merge remote-tracking branch 'remotes/origin/tmp-5030b0a' into msm-5.4" 2021-03-04 04:46:40 -08:00
qctecmdr
ffa0e763c1 Merge "msm: npu: Add NPU driver support" 2021-03-04 04:46:40 -08:00
qctecmdr
dfc2d782fe Merge "iommu/arm-smmu: update debug logs for qsmmuv2 sync timeout" 2021-03-04 04:46:40 -08:00
qctecmdr
3588a495d9 Merge "ARM: defconfig: Remove unwanted configs for MONACO" 2021-03-04 04:46:39 -08:00
qctecmdr
ac1ea4edfd Merge "scripts: update gcc-wrapper to python3" 2021-03-04 04:46:39 -08:00
Srinivasarao P
ba55e324c9 arm64: fix bootloader_memory_limit
set bootloader_memory_limit to end of dram, if the memory limit set
in kernel parameters is more than ram size.

Change-Id: I7d23ca84f08dfb4bf7660253db722a1f6456bf85
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2021-03-04 00:43:25 -08:00
Vamsi krishna Gattupalli
e211a7c6ee msm: adsprpc: Clean DMA handles maps in case of error
Free DMA handle fd maps in case of error while creating
map for other handles.

Change-Id: Iae062bc958a58f38e4424fab88b451813478ae97
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Vamsi krishna Gattupalli <vgattupa@codeaurora.org>
2021-03-04 12:24:45 +05:30
qctecmdr
9bef368bcd Merge "net: stmmac: SDx55 EMAC HW configuration changes" 2021-03-03 22:36:25 -08:00
qctecmdr
cb7814181b Merge "spmi: pmic_arb: Add snapshot of virto spmi driver" 2021-03-03 22:36:24 -08:00
Umesh Vats
b340a9024e Bluetooth: Add retry for XO GPIO request
Add retries for XO GPIO requests.

Change-Id: If6bf4568559bf712274bc3988424f35c8d0e6a93
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
2021-03-03 14:17:13 -08:00
Sneh Shah
15f6bc7c3d net: stmmac: SDx55 EMAC HW configuration changes
Add RGMII config and regulator support for EMAC HW configuration on SDx55.

Change-Id: I7b1cd3bcb7c78f5fa1c684d2523a41c51da72998
Acked-by: Suraj Jaiswal <jsuraj@codeaurora.org>
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Sneh Shah <snehshah@codeaurora.org>
2021-03-03 06:21:24 -08:00
Vijayavardhan Vennapusa
ca8ce59df3 ARM: defconfig: Remove unwanted configs for MONACO
Remove unwanted configs related to host mode and also configs that
are not applicable for MONACO.

Add required configs related to accessory and audiosource drivers to
be enabled for MONACO.

Change-Id: Icec46ae3ed80dc2d6842b308d0be38c5a8c14abd
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2021-03-03 15:59:13 +05:30
qctecmdr
eafa579022 Merge "defconfig: Add required configs for sdmsteppeauto" 2021-03-03 02:15:58 -08:00
qctecmdr
61f3e4e176 Merge "soc: qcom: spss_utils: Add support for legacy SPSS" 2021-03-03 02:15:58 -08:00
qctecmdr
449331e9f1 Merge "drivers: pinctrl: qcom: Correct the base address for sm8150" 2021-03-03 02:15:57 -08:00
qctecmdr
6520504e25 Merge "drivers: qcom: boot_stats: Fix compiler error" 2021-03-03 02:15:57 -08:00
qctecmdr
ae6ea9c5ad Merge "defconfig: autogvm: Enable virtual subsystem notification driver" 2021-03-03 02:15:57 -08:00
qctecmdr
95727689e4 Merge "defconfig: Enable SPCOM and SPSS utils driver" 2021-03-03 02:15:56 -08:00
Ping Jiang
930c2eb358 spmi: pmic_arb: Add snapshot of virto spmi driver
This snapshot is taken as of msm-4.14
commit b9f2c2a80f8b
("spmi: pmic_arb: add interrupt support to virtio spmi").

Change-Id: I79eaa03591dbd3c32db2175045f6033b38a9c8ea
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
2021-03-03 01:57:09 -08:00
Ashish Chavan
8ca6692674 power: supply: qcom: Fix typo for SMB1351 config
Remove "battery.o" file from SMB1351 config to avoid
the linking issues when SMB1351 config is enabled.

Change-Id: Ia70d7f5d4fa12247542786785ebc303aba32d276
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2021-03-03 13:28:11 +05:30
Anant Goel
06a17a1ce0 defconfig: autogvm: Enable virtual subsystem notification driver
Enable the virtual subsystem notification driver on the Auto
virtual machine.

Change-Id: I4b46d42e2012effb2186cd4854d494f15c621bcc
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2021-03-03 09:52:02 +05:30
Anant Goel
6ac037d40b defconfig: autogvm: Enable SMEM driver
Enable the Shared Memory (SMEM) driver on the Auto
virtual machine.

Change-Id: Ia2d043972e4e69b78cccb2a61206baf7fc60eb01
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2021-03-03 09:50:51 +05:30
Santosh Dronamraju
a2c83dbd48 soc: qcom: spss_utils: Add support for legacy SPSS
The spss-util driver provides utilities required for the Secure
Processor Subsystem (SPSS). It provides the fuse state for key
selection and the SPSS HW version.
Legacy spss not support load spss by UEFI and also not support
CMAC/IAR feature.

Change-Id: Iea0d66ed66a2817850f99f74bf716d33db956812
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
2021-03-02 20:12:15 -08:00
Maulik Shah
3ad984c730 drivers: pinctrl: qcom: Correct the base address for sm8150
The direct connect registers base need to keep differently for
sm8150 since it used per tile registers in devicetree.

pinctrl driver does tile plus hmss base address for configuring
direct connect interrupts. Update the tile address to correctly
point to direct connect registers.

Change-Id: Ic959ed067be30dd457449e874298be30b696cd07
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2021-03-03 09:18:07 +05:30
Fenglin Wu
f744ad78f7 input: qcom-hv-haptics: update LRA frequency detection sequence
Update following settings in LRA frequency detection sequence according
to HW recommendation:
  1) Increase to 6 drive cycles before enabling High-Z period for auto
     resonance config.
  2) Disable adaptive drive duty function.

Change-Id: I551974603c99fcdad5d38fdef6edf15746c0033e
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2021-03-03 09:35:01 +08:00
Remil Ram
4b8306944e scripts: update gcc-wrapper to python3
adding python3 support to make it compatible with newer mdms

Change-Id: If0452676d2983b535d9564b81477e6f89c53fc70
Signed-off-by: Remil Ram <remilr@codeaurora.org>
2021-03-02 11:08:41 -08:00
qctecmdr
f1a388a8da Merge "arm64: Kconfig: Add config option for Direwolf" 2021-03-02 08:39:44 -08:00
qctecmdr
d4ad0a9e02 Merge "defconfig: Enable TZ-log driver" 2021-03-02 08:39:43 -08:00
qctecmdr
bed5cfbbfb Merge "mm: cma: Print correct request pages" 2021-03-02 08:39:43 -08:00
Shreyas K K
ad22919e7a defconfig: Add required configs for sdmsteppeauto
Enable CONFIG_QCOM_KGSL and CONFIG_QCOM_KGSL_IOCOHERENCY_DEFAULT
to enable KGSL support.

Enable CONFIG_MSM_ADSPRPC, CONFIG_MSM_CDSP_LOADER, and
CONFIG_MSM_FASTCVPD to enable FastRPC on sdmsteppeauto.

Enable CONFIG_QCOM_SECURE_BUFFER to enable secure buffer
transactions.

Enable IOMMU related configs for fastmap, selftest, and other
related configs.

Change-Id: Id9665df61851d26d3113081d65e1807585d99f81
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-03-02 19:58:40 +05:30
qctecmdr
34ac82245f Merge "defconfig: autogvm: rename defconfig for gvm" 2021-03-02 04:47:44 -08:00
Shreyas K K
47342c7683 drivers: qcom: boot_stats: Fix compiler error
Fix compiler error due to multiple definitions
of boot_marker_enabled function.

Change-Id: Ibeb5a33e8b13ad97d9109847c412a2442979653e
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-03-02 16:59:07 +05:30
Zhenhua Huang
4cf5d25bce mm: cma: Print correct request pages
In case of cma allocation failure, req-size is logged, but instead of
requested size we are printing total size. Fix it.

Fixes: 45422bc880 ("mm: cma: Print region name on failure")
Change-Id: Ifc96209a0ccdb295fbb9767d3d93b3a567fa16fd
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2021-03-02 17:49:29 +08:00
Venkata Rao Kakani
e721d45c1d defconfig: autogvm: rename defconfig for gvm
Rename quinvmauto to autogvm to have superset configs for
all gen linux guest.

Change-Id: Ic4a87ebdf4aa3d97ee4dd8265e4dcbde630637e7
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2021-03-02 00:20:32 -08:00
Sarthak Garg
2ccbde6a77 mmc: sdhci-msm: Affine irq to first set of mask when CONFIG_SMP enabled
For MDM targets with single CPU, CONFIG_SMP won't be enabled so
irq_set_affinity_hint will always return EINVAL leading to unnecessary
WARN_ON.

Use irq_set_affinity_hint only for multiple CPU's or when CONFIG_SMP
enabled.

Change-Id: Id37299759927953e485850fb015a3739fd3daed7
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2021-03-02 13:28:05 +05:30
qctecmdr
d3b331a720 Merge "defconfig: sdxnightjar: Enable LKDTM driver" 2021-03-01 22:58:15 -08:00
qctecmdr
15d54897fb Merge "defconfig: sdmsteppeauto: enable PCA954x & SX150X driver" 2021-03-01 22:58:15 -08:00
qctecmdr
38f31c0a12 Merge "msm:ipa: fix the size of vlan_id" 2021-03-01 22:58:14 -08:00