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>
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>
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>
Add VA based minidump client to dump kernel modules
data structures.
Change-Id: I60052d053ab7094819a52507772a42531c6370a2
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
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>
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)
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>
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)
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)
Enable frequency limiter irq by clearing the FREQUENCY_LIMITER_IRQ mask.
Change-Id: Id43d1c4489fa07aecbd36cfb575b28137bac3b29
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
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>
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>
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>
* 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
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>
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>
Enable RUN_QUEUE_STATS to support irq balancer in userspace.
Change-Id: Ifd12e7c76a5adf1d8446e51c6e639fcf37d81388
Signed-off-by: Prajwal V <quic_prajv@quicinc.com>
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>
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>
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>
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>
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>