Commit Graph

1155026 Commits

Author SHA1 Message Date
John Moon
1312198e53 ANDROID: build: Replace genrules with write_file where possible
Currently, there are a few places where we use Bazel's native genrule
rule to generate files that consist of simple strings (usually with
cat << EOF or echo "str" >> "$@" semantics). It was recently pointed
out to us that the Skylib library (already available from Kleaf) has
a "write_file" rule which is better than our genrule method for
creating files from strings.

It's better because it has a simpler interface, does not rely on any
Starlark-external tools (i.e. bash), and does not require all of the
strings to be formatted in one operation which makes the rule
slightly more readable.

Replace file-creating genrules where it makes sense to do so. This
change has no impact on actual build logic as the output files are
logically identical.

Change-Id: I2cef369e299d42b2677ddea833c43d9c80eff32c
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2023-08-01 09:41:05 -07:00
qctecmdr
814b2ee66e Merge "defconfig: gen4auto: Add CONFIG support for KRETPROBES" 2023-07-31 07:04:38 -07:00
qctecmdr
a32c14eced Merge "sched/walt: Adjust cpu clusters for mid cap CPUs" 2023-07-31 07:04:38 -07:00
qctecmdr
c3df210c6c Merge "qseecom_proxy: Add qseecom_proxy entry to GKI config" 2023-07-31 07:04:38 -07:00
qctecmdr
c91cd53a83 Merge "mmc: sdhci_msm: Add ipc logging to sdhci_msm" 2023-07-31 07:04:38 -07:00
qctecmdr
754e1b878c Merge "drivers: soc: qcom_stats: Export function qcom_stats_ddr_freqsync_msg()" 2023-07-31 07:04:37 -07:00
qctecmdr
28beeb6d3f Merge "phy: ufs-qcom: Update UFS PHY setting for pineapple" 2023-07-31 07:04:37 -07:00
qctecmdr
507a9fcf40 Merge "rpm-smd: Flush the sleep sets in suspend prepare stage" 2023-07-31 07:04:37 -07:00
qctecmdr
b506a4c492 Merge "ufs: host: qcom: Add gear check in BER monitor" 2023-07-30 18:44:24 -07:00
qctecmdr
df50aff64b Merge "Revert "Revert "mem-buf: Properly track which VMs have access to buffer""" 2023-07-30 11:52:12 -07:00
qctecmdr
084d650785 Merge "usb : f_cdev : CDEV string interface in 90DB" 2023-07-30 09:17:15 -07:00
qctecmdr
118ddfb391 Merge "defconfig: steppeauto: Add support for BWMON for SM6150" 2023-07-29 12:42:34 -07:00
qctecmdr
f2318d7de7 Merge "haptics: qcom-hv-haptics: Move all debugfs code to qcom-hv-haptics-debugfs" 2023-07-29 12:42:33 -07:00
qctecmdr
954c35ba56 Merge "soc: qcom: Avoid mutex sleep in watchdog bark handler" 2023-07-29 12:42:33 -07:00
qctecmdr
720dbafd49 Merge "cpuidle: governors: qcom-lpm: Correctly clear prediction history" 2023-07-29 09:00:41 -07:00
qctecmdr
b513d653d6 Merge "drivers: qcom: Add encryption support for hibernation" 2023-07-29 09:00:40 -07:00
Shaleen Agrawal
e453c52b94 sched/walt: Adjust cpu clusters for mid cap CPUs
In the event of a 4 cluster system, where gold- cluster has a lower
max capacity than gold cluster, ensure the ordering of the 4 cluster
system is maintained in the preset order.

Change-Id: Iff6cfb9ad93917c8b5ee94986165fabdf92b7c57
Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
2023-07-28 10:01:50 -07:00
Maulik Shah
bc04fa972d cpuidle: governors: qcom-lpm: Correctly clear prediction history
Accessing cpu_gov using this_cpu_ptr() will always only clear
history for the running cpu.

Correctly clear prediction history for all CPUs.

Change-Id: Idff86ae8726f06c314ebd30385d3dd2832c43e54
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2023-07-28 08:04:51 -07:00
Raghavendra Kakarla
d6243420c7 rpm-smd: Flush the sleep sets in suspend prepare stage
The RPM channel have limit of maximum 24 sleep sets
however on certain SoCs there are more than 24 sleep sets.

This change adds the support to flush the sleep sets
in prepare stage which will flush the sleep votes till 24
and gets acked by RPM. The remaining sleep sets will gets
flushed when syscore ops invokes msm_rpm_flush_requests().

Change-Id: I6ea3cc635cf799cc64d5ee1cbc75a1b26dfb4636
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2023-07-28 19:49:57 +05:30
qctecmdr
70a28a4df0 Merge "drm/bridge: anx7625: Modify bridge probe sequence" 2023-07-28 05:09:59 -07:00
qctecmdr
b3441e33c9 Merge "bus: mhi: host: Add device_add at end of mhi_register_controller" 2023-07-28 05:09:58 -07:00
qctecmdr
f3273a78d4 Merge "clk: qcom: SM6150: Fix stuck-off warnings during probe" 2023-07-28 05:09:58 -07:00
qctecmdr
2bc2cbcf9b Merge "Kconfig: Add support for Pitti chipset" 2023-07-28 05:09:58 -07:00
qctecmdr
d086f0f6b0 Merge "remoteproc: qcom: pas: Add SA6155 CDSP support" 2023-07-28 05:09:57 -07:00
qctecmdr
8457781da9 Merge "mem-buf: Make buffers unsuable on a lend failure" 2023-07-28 05:09:57 -07:00
qctecmdr
f54712f4a2 Merge "input: qcom-hv-haptics: set brake amplitude for HW brake modes" 2023-07-28 05:09:56 -07:00
Raghavendra Kakarla
8e592d784b rpmsg: rpm-smd: Add null check for irq_chip affinity callback
Add the null checks for irq_chip callback while calling
affinity call of glink interrupt.

Change-Id: I62cec6ade0233094ef9a821185677b703d3ba1a3
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2023-07-28 16:24:14 +05:30
Rajashekar kuruva
8213b2f467 defconfig: gen4auto: Add CONFIG support for KRETPROBES
Enabling the CONFIG support for KPROBES KPROBES_EVENTS
KRETPROBES in gen4auto config.

Change-Id: I9c0ba99dde1a37bd4bcbe71dd352f393d8066897
Signed-off-by: Rajashekar kuruva <quic_kuruva@quicinc.com>
2023-07-28 11:17:20 +05:30
Sarthak Garg
4198ede04c mmc: sdhci_msm: Add ipc logging to sdhci_msm
Add ipc logging to sdhci_msm driver.

Change-Id: I72c97396b7bb12d29bf9bdf7b388d3cc1d2c6552
Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
Signed-off-by: kamasali Satyanarayan <quic_kamasali@quicinc.com>
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2023-07-27 21:25:37 -07:00
Sarthak Garg
b4de695adc mmc: sdhci-msm: Avoid putting vdd-io in LPM mode during reboot/shutdown
During reboot/shutdown putting vdd-io for eMMC in LPM mode after
sending the Poweroff notify command is leading to OCP error.

"PMIC abnormal reset due to OCP detected on LDO11A from eMMC device"

Avoid putting vdd-io for eMMC in LPM mode during reboot/shutdown.

Change-Id: I0f66e006f1e299862f1f0c9b99a67341bec99f33
Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2023-07-27 21:25:14 -07:00
John Moon
ba5bcd697e ANDROID: build: Drop --config=stamp
Currently, --config=stamp appears to be causing issues when
traversing git history in some large repos.

To work around this, drop --config=stamp from the command line
options.

Change-Id: I561c5175de620984df0b130b9bd1b7958aa883c1
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2023-07-27 14:10:05 -07:00
Reut Zysman
065b02dccf qseecom_proxy: Add qseecom_proxy entry to GKI config
Add qseecom_proxy entry to GKI config and remove
from consolidate config.

Change-Id: I73bd8876652c40a8eb3194e155f3215b988b8170
Signed-off-by: Reut Zysman <quic_rzysman@quicinc.com>
2023-07-27 11:45:27 -07:00
Minghao Zhang
5638d48e68 drivers: soc: qcom_stats: Export function qcom_stats_ddr_freqsync_msg()
This change exports function qcom_stats_ddr_freqsync_msg() for other
modules to use.

Change-Id: I6c9e213023d754a0cee4fed18d30357ebfe36803
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-07-27 17:43:06 +08:00
Manish Nagar
5adda6fa0d usb : f_cdev : CDEV string interface in 90DB
Currently, the DUN interface doesn't show a valid string descriptor when
enumerating in the host PC.This is because the addition of the valid
string descriptors seems to be missing which is not correct.
Fix this by adding the valid string descriptors during bind call.

Change-Id: Idc3fa7bcd22d2cb6bf1ed11ade82ed19f46fbff6
Signed-off-by: Manish Nagar <quic_mnagar@quicinc.com>
2023-07-26 22:29:51 -07:00
qctecmdr
736a29eaf3 Merge "ANDROID: build: Fix menuconfig invocation" 2023-07-26 04:10:54 -07:00
qctecmdr
980514513e Merge "pci: msm: Fix the pcie resources turn off/on order" 2023-07-26 04:10:54 -07:00
qctecmdr
629dbeeb86 Merge "serial: msm_geni_serial: Add suspend header file" 2023-07-26 04:10:53 -07:00
qctecmdr
a08f7ab5af Merge "arm64: defconfig: Enable logbuf-vendor-hook for Blair" 2023-07-26 00:19:39 -07:00
qctecmdr
a145c41708 Merge "drivers: dcvs: bwmon: add secondary voting feature" 2023-07-26 00:19:38 -07:00
qctecmdr
dab12ae448 Merge "clk: qcom: videocc-pineapple: Add support for cliffs platform" 2023-07-26 00:19:38 -07:00
qctecmdr
0bb66d55c5 Merge "defconfig: Remove CONFIG_CNSS2_DEBUG on gen3auto consolidate config" 2023-07-26 00:19:38 -07:00
qctecmdr
ae53790ec1 Merge "iommu: arm-smmu: Destroy secure page table pools during hibernation" 2023-07-26 00:19:36 -07:00
qctecmdr
23d44b4cce Merge "soc: qcom: llcc: Update config data for Pineapple SoC" 2023-07-25 20:19:38 -07:00
qctecmdr
7fdcc1e1ab Merge "pci: msm: Correct the cesta map table index" 2023-07-25 20:19:38 -07:00
qctecmdr
b6f6f26b8a Merge "arm64: defconfig: Enable QCOM_RPROC_BOTH_DUMPS for Blair" 2023-07-25 20:19:38 -07:00
qctecmdr
c0b0b1488a Merge "drivers: remoteproc: Update Crash reason SMEM ID" 2023-07-25 20:19:38 -07:00
qctecmdr
4a9f07c612 Merge "modules.list.msm.blair: Add GIC Interrupt Routing driver" 2023-07-25 20:19:37 -07:00
Anjelique Melendez
91b36b1f23 haptics: qcom-hv-haptics: Move all debugfs code to qcom-hv-haptics-debugfs
Currently, qcom-hv-haptics has code relating to debugfs within it. Remove
all debugfs code and move it to the new qcom-hv-haptics-debugfs file.

Change-Id: I429a86a2f4e42e7caf208ce8329d7776df915440
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-07-25 14:38:23 -07:00
Bao D. Nguyen
864edf79d0 phy: ufs-qcom: Update UFS PHY setting for pineapple
Update the ufs phy setting as per the ufs phy guidelines
version 15.

Change-Id: If644249a94a2ed7749bb26387f770625c6ecae1b
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-07-24 21:53:55 -07:00
Ziqi Chen
a7a732eaa3 ufs: host: qcom: Add gear check in BER monitor
Add gear check in BER monitor to check the boundary of the array.

Change-Id: I0e4bee1c0c1b14230fc30eda3e55785481649144
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-07-25 12:06:49 +08:00