Commit graph

894,770 commits

Author SHA1 Message Date
qctecmdr
3685515965 Merge "defconfig: sdmsteppeauto: Add flags for adsp manual vote" 2021-03-05 02:04:00 -08:00
qctecmdr
7ef5598847 Merge "net: stmmac: Add support for PHY interrupts" 2021-03-05 02:04:00 -08:00
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
Jishnu Prakash
243eccb2aa iio: qcom-spmi-adc5: update scaling ratios for SMB_ICHG and SMB_IIN
Update scaling ratios for SMB_ICHG and SMB_IIN ADC channels, following
HW recommendation. Update default prescaling values used for SMB_IIN
and ICHG_FB channels to match changes made in the prescaling array.

Change-Id: I2b016e021d3c9e8b76cd5400c6790030da088093
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-03-05 14:37:59 +05:30
Vinay Sudra
06308366cc defconfig: autogvm_debug: Add flags for suspend debug
Add flags for clock, suspend state and logging of
interrupts debug.

Change-Id: Ifffdd44014e3b3c4826a310e1c4149f692a3696b
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-04 21:19:05 -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
Srinivasarao P
8ec6c2005c Merge android11-5.4.61+ (1d9c43f) into msm-5.4
* refs/heads/tmp-1d9c43f:
  ANDROID: ABI: Update allowed list for QCOM
  ANDROID: build_config: drop CONFIG_KASAN_PANIC_ON_WARN
  BACKPORT: bpf: add bpf_ktime_get_boot_ns()
  ANDROID: ABI: update allowed list for QCOM
  BACKPORT: clk: composite: Export clk_hw_register_composite()
  ANDROID: PCI: dwc: Export symbols for ep driver
  UPSTREAM: futex: Handle faults correctly for PI futexes
  UPSTREAM: futex: Simplify fixup_pi_state_owner()
  UPSTREAM: futex: Use pi_state_update_owner() in put_pi_state()
  UPSTREAM: rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
  UPSTREAM: futex: Provide and use pi_state_update_owner()
  UPSTREAM: futex: Replace pointless printk in fixup_owner()
  UPSTREAM: futex: Ensure the correct return value from futex_lock_pi()
  UPSTREAM: Revert "mm/slub: fix a memory leak in sysfs_slab_add()"

Change-Id: I87be53a117320a1855f7671ca07ed7602bef806b
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2021-03-05 07:37:50 +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
Fenglin Wu
bb48703d38 power: supply: smb1398-charger: disable WIN_OV deglitch for SMB1394
Disable WIN_OV deglitch for SMB1394 to avoid device damage from high
in-rush current in dead short case.

Change-Id: I6f057cf965b489ec000ded57698cd5ef7972cfec
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2021-03-05 07:36:38 +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
Vinay Sudra
adb21ec314 defconfig: sdmsteppeauto: Enable config for kernel to panic on soft lockups
Enable config for kernel to panic on soft lockups.

Change-Id: Ibea3093f1c6284f3c99e95ded0fa269dab4d8f0d
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-04 20:09:47 +05:30
Vinay Sudra
0921e91489 defconfig: gen3auto: Enable config for kernel to panic on soft lockups
Enable config for kernel to panic on soft lockups.

Change-Id: If48d8244238b56e5cab91dbf25b7c9c775ade1fd
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-04 19:59:31 +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
Naina Mehta
8cc3a9f53d soc: qcom: socinfo: Add soc information for YUPIK LTE
Add SOC ID to support socinfo for YUPIK LTE platform.

Change-Id: Ib00fcfeb58465c35e3b036cf49112abfe62478b1
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2021-03-04 17:59:47 +05:30
Suraj Jaiswal
cd9a5193bd net: stmmac: Add support for PHY interrupts
Driver only supported polling mode. Add PHY interrupt support.

Change-Id: Icfd4986c5e71ccbc6e10b76553a08c86cbdee05d
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-03-04 04:29:34 -08:00
Lakshit Tyagi
851e8c7a77 STMMAC: msm: STMMAC BU on SA8155 LV
Add dll and io macro configs for SA8155 LV.

Change-Id: Idafdf3e53fff86b7580cca7181bab432a17d2aa6
Acked-by: Suraj Jaiswal <jsuraj@codeaurora.org>
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2021-03-04 04:29:25 -08:00
Ashish Chavan
41ed6d6f87 power: supply: qcom: Add support PM5100 in smblite
Add support for PM5100 in smblite driver.

Change-Id: I6a0cb873d6339468d45fb47c1cc0c1309a7636aa
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2021-03-04 17:12:11 +05:30
Vinay Sudra
94a779fda1 defconfig: autogvm: Set CONFIG_BLK_DEV_LOOP_MIN_COUNT to 16 for vts test
Set CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 that pre-create loop block
devices at init time for vts_kernel_loopconfig_test.

Change-Id: Iad7b8f09c36bc8478dfb1a1f5e9b248e5aca91f2
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-04 02:55:31 -08:00
Vinay Sudra
8d1f485785 defconfig: sdmsteppeauto: Add flags for adsp manual vote
Enable driver to sending ADSP unvote while suspending APSS
and sending ADSP vote for LPM.

Change-Id: I10e8b567d9dc8f42c96003ca60066e17f3795c9c
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-04 16:23:03 +05:30
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
Tushar Nimkar
d92f563a2f defconfig: Enable subsystem sleep stats driver for holi
This enables subsystem sleep stats driver. This driver provides
a way to read statistical information of different subsystem
from SMEM.

Change-Id: I4effedf3112d8fdb01a67e7d42f9729ebab3513e
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-04 00:37:58 -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
Vivek Pernamitta
5a1966dada msm: pci: print RPMSG return type and LTSSM state on DRV suspend
Adding debug logs to print return type on RPMSG failure and also
print PCIE LTSSM states at DRV suspend and resume.

Change-Id: Id7d4b7ac5dc84646e074acb7d3b313347dc01d7a
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
2021-03-03 22:57:29 +05:30
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
Kasin Li
2387acc46e soc: qcom: hgsl: Add fence support
Add fence support to user gsl, hsync is for DoorBell commands and
isync is for syncing between processes.

Change-Id: I3093bfe6d49d0b64f2d20a8208a3b2934c9c7b3a
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2021-03-03 05:39:59 -08:00
Jishnu Prakash
ff3868e2a2 backlight: qcom-spmi-wled: restrict HFRC clocks WA to PM8150L alone
Apply existing workaround of forcing HFRC clocks off before WLED module
disable for PM8150L alone, as the issue is fixed in HW from PM7325B.

Change-Id: I8a7bc231f1711ce964c96ec28088546981e81fae
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-03-03 18:16:37 +05:30
Jagadeesh Kona
d6b9862907 clk: qcom: gdsc-regulator: Remove regulator_lock() call from GDSC driver
Remove regulator_lock() and regulator_is_enabled() calls in GDSC driver
as they are resulting in deadlock cases when lockdep is enabled. But it
is critical to check if parent is enabled or not before performing any
GDSC operation, as GDSC register access requires parent to be enabled.

Use the parent's use_count to check if parent is enabled or not. For
gdsc_disable(), in most cases, parent's mutex is locked by regulator
framework before calling the gdsc_disable() callback, hence it is safe
to read use_count. But in code paths where parent lock is not acquired
by regulator framework, acquire parent's mutex before reading use_count
to avoid parent getting disabled while in the middle of GDSC operations.

For gdsc_set_mode(), parent locking is needed to avoid parent getting
disabled in the middle of set mode operation. But it does not need the
per-process reentrancy provided by regulator_lock() and regulator_unlock().
Therefore replace the calls with ww_mutex_lock() and ww_mutex_unlock().

Change-Id: Ic20f9a7478b47c9fde2e686b68d636342a4b1d48
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-03-03 16:48:53 +05:30
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