Commit Graph

1167479 Commits

Author SHA1 Message Date
qctecmdr
59f928ee85 Merge "net: stmmac: snapshot of gptp" 2024-04-26 11:27:17 -07:00
qctecmdr
1c0a1fb6cc Merge "STMMAC: msm: Add io macro setting for SA6155" 2024-04-26 09:17:24 -07:00
Keming Zhang
2e5f13954d soc: qcom: hgsl: support handshake retry and handshake version 2
Try maximum supported handshake version, if backend rejects,
lower version number and retry handshake, this requires backend
supports handshake retry.
Handshake version 2 sends uid to backend, backend can adjust CPU
priority by uid.

Change-Id: I40deb01743e35ec6f78e46794321d8b994a5b953
Signed-off-by: Keming Zhang <quic_kemingz@quicinc.com>
2024-04-26 18:13:02 +08:00
Nitesh Kumar
43511288ba drivers: thermal: qcom: update ibat threshold scaling factor for gen4 bcl
Update ibat threshold scaling factor based on latest recommendation
for gen4 bcl hardware.

Change-Id: I636f5f0c779f35ce4550a1339ee47a7fb7336b11
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-04-26 15:28:30 +05:30
Nitesh Kumar
ec0618231e drivers: thermal: Add support for pmic5 gen4 bcl support
Add support for latest gen4 bcl hardware support to bcl driver.
It includes extra LSB byte data register for both ibat and vbat
current value and update scaling factor for ibat and vbat
accordingly.

Change-Id: I646f7b06194eb1f939688dfda7eced4120ed4dba
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-04-26 15:25:14 +05:30
Nitesh Kumar
0357e19377 dt-bindings: thermal: Add WPSS QMI cooling device macro
Add WPSS QMI cooling deviuce macro in pitti.

Change-Id: I911d1f94e49e4e203fbbf9bdec9d5eb4e72bf4da
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-04-26 15:22:34 +05:30
qctecmdr
7c612722c5 Merge "defconfig: niobe-gki: Enable VA minidump" 2024-04-26 02:51:56 -07:00
qctecmdr
e06d4bc3a4 Merge "net: stmmac: Fixed early Ethernet" 2024-04-26 02:51:55 -07:00
Uppalamarthi Sowmya
d9a850ff23 net: stmmac: Add debugfs entries
Add RGMII dump and phy register dump in debugfs.

Change-Id: Iaf1c40b936b0b3ab3a0e4ce447456bec3fd3509c
Signed-off-by: Uppalamarthi Sowmya <quic_usowmya@quicinc.com>
2024-04-26 14:09:41 +05:30
qctecmdr
b8024d1215 Merge "pci: msm: enable L0s only if both parent and child devices support it" 2024-04-25 21:09:22 -07:00
qctecmdr
b9e7969240 Merge "defconfig: Enable minidump for the Auto GH Guest VMs" 2024-04-25 21:09:22 -07:00
qctecmdr
f63cf150ce Merge "arm64: defconfig: Enable msm_performance for niobe" 2024-04-25 05:49:16 -07:00
qctecmdr
c7024ba8ee Merge "defconfig: Enable qsee irq bridge" 2024-04-25 05:49:15 -07:00
qctecmdr
569941f085 Merge "clk: qcom: debugcc-volcano: Add measure_only support for gx_clkctl clks" 2024-04-25 05:49:15 -07:00
qctecmdr
91f57a2d42 Merge "remoteproc: pas: Enable Auto boot for Niobe SoC" 2024-04-25 05:49:14 -07:00
Suraj Jaiswal
8261fcaf39 net: stmmac: Fixed early Ethernet
Fix speed switch to 100Mpbs for early
Ethernet and add NULL check for phy.

Change-Id: I9780f83a31ada41e2ea7e162b496b58609436019
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
2024-04-25 04:25:28 -07:00
Uppalamarthi Sowmya
606b53a29a STMMAC: msm: Add io macro setting for SA6155
IO macro setting for SA6155.

Change-Id: If356fbd5b58c9488d07d99124fcd35a7af00efbe
Signed-off-by: Uppalamarthi Sowmya <quic_usowmya@quicinc.com>
2024-04-25 15:57:35 +05:30
Amrit Anand
57ffdafb18 defconfig: niobe-gki: Enable VA minidump
Add VA based minidump client to dump kernel modules
data structures.

Change-Id: I60052d053ab7094819a52507772a42531c6370a2
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
2024-04-25 14:50:37 +05:30
hazhu
24ed3de9bf drivers: char: Add snapshot of eavb FE driver
This snapshot is taken as of msm-5.15 branch
commit <3aa7fd5> ("char: Add snapshot of eavb FE driver").

Change-Id: I3adc9edb549aa988abe669f274efcf03416a7046
Signed-off-by: hazhu <quic_hazhu@quicinc.com>
2024-04-25 01:01:35 -07:00
Andre Ding
5b80c88525 ANDROID: abi_gki_aarch64_qcom: Update symbol list
Symbols updated to QCOM abi symbol list for Marvell Phy and Mdio Bus Mux:
  ethnl_cable_test_amplitude
  ethnl_cable_test_pulse
  ethnl_cable_test_step
  genphy_check_and_restart_aneg
  genphy_read_status_fixed
  of_mdio_find_bus
  phy_config_aneg
  phy_gbit_fibre_features

Bug: 335414016
Bug: 336924764
Change-Id: I1fa732935cb1a33bcde782fdfe38f5b3fcfae4cb
Signed-off-by: Andre Ding <quic_shuangxi@quicinc.com>
(cherry picked from commit 692e3553d2)
2024-04-25 04:47:22 +00:00
qctecmdr
28b9a20526 Merge "soc: qcom: hab: change device class name from habdev to hab" 2024-04-24 09:43:17 -07:00
Anaadi Mishra
0d282d2a83 clk: qcom: debugcc-volcano: Add measure_only support for gx_clkctl clks
Add gx_clkctl clocks to measure_only list, providing the support to
measure these clocks.

Change-Id: I4d281fe6b5d602f7fa2270e20914fc3eda76cef4
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-04-24 18:31:50 +05:30
Dylan Chang
e119fea054 ANDROID: GKI: Add symbol list for Nothing
2 function symbol(s) added
  'char* dentry_path_raw(const struct dentry*, char*, int)'
  'int fscrypt_file_open(struct inode*, struct file*)'

Bug: 336700210
Change-Id: I20b224d5336753a1fa8783178be60dbaae35b3ba
Signed-off-by: Dylan Chang <dylan.chang@nothing.tech>
2024-04-24 12:24:07 +00:00
Dylan Chang
941f2779d6 ANDROID: GKI: Add symbol list for Nothing
Add symbol list for Nothing at the first time
1 Added function:
  [A] 'function int __traceiter_android_vh_thermal_pm_notify_suspend(void*, thermal_zone_device*, int*)'

1 Added variable:
  [A] 'tracepoint __tracepoint_android_vh_thermal_pm_notify_suspend'

Bug: 336700210
Bug: 332221925
Change-Id: I07b727a5c340f8f1cc7fb72e16a1c47881aa348b
Signed-off-by: Dylan Chang <dylan.chang@nothing.tech>
(cherry picked from commit 931187cc18)
2024-04-24 12:24:07 +00:00
David Chao
33d546a1e1 ANDROID: thermal: Add vendor thermal_pm_notify_suspend function
Currently, most of the thermal_zones are IRQ capable and they do not need
to be updated while resuming. To improve the system performance and reduce
the resume time. Add a vendor function to check if the thermal_zone is
not IRQ capable and needs to be updated.

Bug: 170905417
Bug: 336700210
Bug: 332221925
Test: boot and vendor function worked properly.
Change-Id: I9389985bba29b551a7a20b55e1ed26b6c4da9b3d
Signed-off-by: David Chao <davidchao@google.com>
Signed-off-by: Dylan Chang <dylan.chang@nothing.tech>
(cherry picked from commit 353c3de3f1)
2024-04-24 12:22:29 +00:00
Anaadi Mishra
db565eaf01 clk: qcom: gpucc-pitti: Enable frequency limiter IRQ
Enable frequency limiter irq by clearing the FREQUENCY_LIMITER_IRQ mask.

Change-Id: Id43d1c4489fa07aecbd36cfb575b28137bac3b29
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-04-24 04:14:36 -07:00
simran jaiswal
3524b5721b arm64: defconfig: Enable msm_performance for niobe
Enable msm_performance module for niobe target.

Change-Id: Icfa87d3858e8ac76461b617bf2c78db883fc6d3c
Signed-off-by: simran jaiswal <quic_simranja@quicinc.com>
2024-04-24 16:29:18 +05:30
qctecmdr
0be26f8c6a Merge "interconnect: qcom: Enable disp_rsc for Volcano" 2024-04-24 02:55:55 -07:00
qctecmdr
aa10819262 Merge "defconfig: Enable RUN_QUEUE_STATS for sdmsteppeauto" 2024-04-24 02:55:54 -07:00
qctecmdr
32493d921b Merge "scm-firmware: Dual vchans for atomic/non-atomic smc calls" 2024-04-24 02:55:54 -07:00
qctecmdr
85e4b015d4 Merge "q2spi-msm-geni: Relax response buffer timeout" 2024-04-24 02:55:53 -07:00
qctecmdr
f6a7b61c5f Merge "clk: qcom: debugcc-niobe: Add gx clocks measure_only support" 2024-04-24 02:55:53 -07:00
Uppalamarthi Sowmya
13c44d3ea8 net: stmmac: snapshot of gptp
GPTP snapshot from msm-5.15 branch
commit 194160ca435a ("net: stmmac: Add multi
queue support").

Change-Id: I3dc543d3b24ad59adb8e747224816369f50c7011
Signed-off-by: Uppalamarthi Sowmya <quic_usowmya@quicinc.com>
2024-04-24 00:23:50 -07:00
Anant Goel
d6db54d589 defconfig: Enable minidump for the Auto GH Guest VMs
Enable the Resource Manager VM based minidump for the Automotive Gunyah
based Guest VMs. Enable the debug symbol driver to support minidump
driver registration.

Change-Id: I650997369aa71af095bfc2e86b23fad84ebfda48
Signed-off-by: Anant Goel <quic_anantg@quicinc.com>
2024-04-23 17:52:02 -07:00
Android Build Coastguard Worker
7cb0122d66 Snap for 11749377 from 3e84e27a4e to android14-6.1-keystone-qcom-release
Change-Id: I96f45e27e80b8769dad0377c635ed3a83dd976ce
Signed-off-by: Coastguard Worker <android-build-coastguard-worker@google.com>
2024-04-23 08:00:48 +00:00
Yuhang Ji
b79a0f0d6c scm-firmware: Dual vchans for atomic/non-atomic smc calls
Currently atomic and non-atomic smc calls are reusing same HAB channel.
In concurrent scenarios, when these two types of calls are recv at same
time, the message passing will go out of order.

This commit is to separate the channels, by establishing two virtual
channels on a same physical channel.

Change-Id: I776d6407018a06055a2112b07605de78d4953b62
Signed-off-by: Yuhang Ji <quic_yuhaji@quicinc.com>
2024-04-22 21:46:07 -07:00
Zelong Ren
8c2be5bc61 soc: qcom: hab: change device class name from habdev to hab
The current udev rule of LV HAB is
KERNEL=="hab",SUBSYSTEM=="hab", MODE="0666"

The subsystem name of the event device is the class name
when creating the char device. In order to be compatible with
the default hab udev rules, we need to keep the class name of
char devices unchanged.

The current ueventd config of LA HAB is
/dev/hab                  0666   system     system
Therefore this change has no impact on LA.

Change-Id: Ic9df04b792f97e36454ef4a2ddfef6dfd66ad3c4
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
2024-04-23 11:53:06 +08:00
Deyao Ren
3e84e27a4e Merge remote-tracking branch into HEAD
* keystone/mirror-android14-6.1-2024-03: (1089 commits)
  FROMLIST: mm/migrate: set swap entry values of THP tail pages properly.
  FROMLIST: binder: check offset alignment in binder_get_object()
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hook: rename the the name of hooks
  Revert "usb: dwc3: core: configure TX/RX threshold for DWC3_IP"
  ANDROID: Update symbols list for open-dice.ko
  ANDROID: EXPORT raise_softirq and update the ABI symbol list
  UPSTREAM: netfilter: nf_tables: disallow timeout for anonymous sets
  BACKPORT: FROMGIT: mm: add alloc_contig_migrate_range allocation statistics
  FROMLIST: iommu: Avoid races around default domain allocations
  ANDROID: fips140 - fix integrity check by unapplying dynamic SCS
  ANDROID: fips140 - add option for debugging the integrity check
  BACKPORT: f2fs: split initial and dynamic conditions for extent_cache
  ANDROID: Update the ABI symbol list
  UPSTREAM: usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group
  UPSTREAM: epoll: use refcount to reduce ep_mutex contention
  ANDROID: GKI: Update oplus symbol list
  ANDROID: uid_sys_stat: fix data-error of cputime and io
  ANDROID: Update the ABI symbol list
  ANDROID: vendor_hooks: Export cma_alloc trace points
  ...

Change-Id: I9aa9dbbec0a805523b553bf11a1995be7e9b9aac
2024-04-22 22:21:11 +00:00
Zi Yan
6dde3d399b FROMLIST: mm/migrate: set swap entry values of THP tail pages properly.
The tail pages in a THP can have swap entry information stored in their
private field. When migrating to a new page, all tail pages of the new
page need to update ->private to avoid future data corruption.

This fix is stable-only, since after commit 07e09c483cbe ("mm/huge_memory:
work on folio->swap instead of page->private when splitting folio"),
subpages of a swapcached THP no longer requires the maintenance.

Adding THPs to the swapcache was introduced in commit
38d8b4e6bd ("mm, THP, swap: delay splitting THP during swap out"),
where each subpage of a THP added to the swapcache had its own swapcache
entry and required the ->private field to point to the correct swapcache
entry. Later, when THP migration functionality was implemented in commit
616b837153 ("mm: thp: enable thp migration in generic path"),
it initially did not handle the subpages of swapcached THPs, failing to
update their ->private fields or replace the subpage pointers in the
swapcache. Subsequently, commit e71769ae52 ("mm: enable thp migration
for shmem thp") addressed the swapcache update aspect. This patch fixes
the update of subpage ->private fields.

Bug: 324818390
Bug: 336202640
Fixes: 616b837153 ("mm: thp: enable thp migration in generic path")
Link: https://lore.kernel.org/linux-mm/20240306155217.118467-1-zi.yan@sent.com/
Reported-and-tested-by: Charan Teja Kalla <quic_charante@quicinc.com>
Change-Id: Ia4603cd58b76dc6ff46a2c53a735942a87221419
Signed-off-by: Zi Yan <ziy@nvidia.com>
Acked-by: David Hildenbrand <david@redhat.com>
Closes: https://lore.kernel.org/linux-mm/1707814102-22682-1-git-send-email-quic_charante@quicinc.com/
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
2024-04-22 18:10:26 +00:00
Visweswara Tanuku
0934f753dc q2spi-msm-geni: Relax response buffer timeout
Its observed that in stress scenarios client is taking
longer time to read response data.
Due to this driver response buffers are getting exhausted
resulting in short of memory and further functional failures.

To mitigate this scenario, increased the timeout from
1.5secs to 15secs to let client consume the rx buffers.

Change-Id: I30c91515eae86753a2c2e9045674a1fe7464074c
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-04-22 05:20:48 -07:00
qctecmdr
5b40ea9ae2 Merge "build: config: Add build support for Niobe TUIVM" 2024-04-22 04:54:46 -07:00
Prajwal V
4ea9fa357a defconfig: Enable RUN_QUEUE_STATS for sdmsteppeauto
Enable RUN_QUEUE_STATS to support irq balancer in userspace.

Change-Id: Ifd12e7c76a5adf1d8446e51c6e639fcf37d81388
Signed-off-by: Prajwal V <quic_prajv@quicinc.com>
2024-04-22 16:10:49 +05:30
Vagdhan Kumar Kanukurthi
e6f0ffc73e modules.list: autogvm: Add virtio_net module to first stage list
Add virtio_net module to autogvm first stage modules list to avoid
race between virtio_net and thin drivers in second stage module
loading and make sure eth0 interface is always created by virtio_net.

Change-Id: Ic49317e8a72b8ef99c6816b347cebafc80a6fae7
Signed-off-by: Vagdhan Kumar Kanukurthi <quic_vagdhank@quicinc.com>
2024-04-22 02:12:30 -07:00
Raviteja Laggyshetty
bb2d5bd32a interconnect: qcom: Enable disp_rsc for Niobe
Enable display_rsc so that bandwidth requests from display
client will go through respective disp_rsc. Removed camera
related nodes as niobe doesn't support camera drv.

Change-Id: Ic61a32ea876452ec0fc93016ecef17533afd7271
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-04-22 00:10:18 -07:00
Raviteja Laggyshetty
fd196c0c96 icc: dt-bindings: remove camera endpoint IDs for NIOBE
Camera DRV is not present in Niobe, hence
removing the unused camera endpoint IDs.

Change-Id: Ib1412030a38fc5223d50c560d5d50d8aef0899b4
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-04-22 12:10:40 +05:30
Raviteja Laggyshetty
70e393196d interconnect: qcom: Enable disp_rsc for Volcano
Enable display_rsc so that bandwidth requests from display
client will go through disp_rsc.

Change-Id: Icb6176f699bf5f4cb031e0667e2ff11d40c5952b
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-04-22 11:08:38 +05:30
Hui Li
c20aa816c9 soc: qcom: hgsl: fix potential risk
fix a potential NULL pointer dereference issue.

Change-Id: I406aada307454dd380213ba3176f0e65fc5caac2
Signed-off-by: Hui Li <quic_hul@quicinc.com>
2024-04-22 11:54:25 +08:00
qctecmdr
87d8a7f1f9 Merge "usb: dwc3: msm: Execute PM resume from resume work to get to RPM_ACTIVE" 2024-04-19 12:56:55 -07:00
qctecmdr
c2157d8091 Merge "modules.list.msm.anorak: Add build configs for Anorak" 2024-04-19 10:38:58 -07:00
Hai Li
7016d593f6 soc: qcom: hgsl: single hgsl_priv for one process
Currently each hgsl open alloc a new hgsl_priv object.
This causes issue on sysfs/debugfs node creation due to
duplicated name if multiple opens happen in one process.

Create single hgsl_priv for one process. It also reduces
memory footprint in kernel.

Change-Id: Ia8aa4fcd9ce16ffdbbe3c4af0d6bcbebe27d80b2
Signed-off-by: Hai Li <quic_hali@quicinc.com>
2024-04-19 10:26:12 -04:00