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>
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>
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>
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>
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>
Enabling the CONFIG support for KPROBES KPROBES_EVENTS
KRETPROBES in gen4auto config.
Change-Id: I9c0ba99dde1a37bd4bcbe71dd352f393d8066897
Signed-off-by: Rajashekar kuruva <quic_kuruva@quicinc.com>
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>
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>
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>
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>
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>
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>
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>