Commit Graph

1167509 Commits

Author SHA1 Message Date
Wasim Nazir
f0c4a848da bazel: msm-kernel: Add LA-feature to add unprotected vendor_dlkm
Compile zram/zsmalloc as unprotected vendor_dlkm.
While at it update corresponding system_dlkm in blocklist
so that only vendor_dlkm modules are loaded.

Change-Id: I620215fa42e4b8009e3b504ac4e3db84ac178023
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-05-27 12:09:48 +05:30
qctecmdr
cf9d60d242 Merge "defconfig: autoghgvm: enable virtio i2c" 2024-05-25 10:40:20 -07:00
qctecmdr
d7f339ee30 Merge "configs: Enable CONFIG_VIRTIO_MMIO_POLL_RESET for autoghgvm" 2024-05-25 10:40:19 -07:00
qctecmdr
addd2fbc41 Merge "soc: hgsl: fix mem_node UAF issue" 2024-05-25 02:16:55 -07:00
qctecmdr
d9799b300c Merge "remoteproc: pas: Cleanup soccp panic notifier" 2024-05-25 02:16:54 -07:00
qctecmdr
1bcb54e890 Merge "net: stmmac: Provide GPTP Clock rate" 2024-05-25 02:16:54 -07:00
qctecmdr
6d9f7d36ab Merge "backlight: qcom-spmi-wled: Add support to configure slew ramp time" 2024-05-25 02:16:53 -07:00
qctecmdr
a8f403bf2e Merge "soc: qcom: hab: sizebytes needs to be compared with buf size" 2024-05-24 20:48:04 -07:00
qctecmdr
7dd5e2f090 Merge "drivers: thermal: MAX31760: add to distinguish fan quantity in resume" 2024-05-24 20:48:04 -07:00
qctecmdr
fa4f7d7176 Merge "usb: dwc3: dwc3-msm-core: Refactor power event IRQ handling/logic" 2024-05-24 20:48:03 -07:00
qctecmdr
648c4a2808 Merge "arm-smmu: add smmu testbus dump support for gen3auto" 2024-05-24 20:48:03 -07:00
qctecmdr
88d9d19bb4 Merge "arm64: defconfig: Enable ZRAM writeback for Pitti" 2024-05-24 20:48:02 -07:00
qctecmdr
1df9c1b975 Merge "arm64: defconfig: Enable configs for GLINK and QRTR drivers" 2024-05-24 08:02:08 -07:00
qctecmdr
25c917bb5f Merge "modules: add fbe modules to first stage list" 2024-05-24 08:02:08 -07:00
qctecmdr
0eb60d76b0 Merge "defconfig: Enable pwm support for ANORAK" 2024-05-24 08:02:07 -07:00
qctecmdr
e8d0a0c582 Merge "defconfig: enable sgmii pass-through" 2024-05-24 01:07:52 -07:00
qctecmdr
bae7bc353d Merge "wcd_usbss: Enable AGNG MG2 when ctype is HSJ_GND_MIC_SWAP" 2024-05-24 01:07:51 -07:00
qctecmdr
d2cea76df1 Merge "defconfig: Enable the logbuf boot log driver for the AutoGHGVM" 2024-05-24 01:07:51 -07:00
qctecmdr
3a907f0f98 Merge "net: stmmac: Add Emac1 Passthrough change" 2024-05-24 01:07:51 -07:00
qctecmdr
674a5103d4 Merge "defconfig: enable sgmii pass-through" 2024-05-24 01:07:50 -07:00
qctecmdr
66efd9ef2e Merge "sound: usb: Prevent Null pointer dereference during handle_uaudio_stream_req" 2024-05-24 01:07:50 -07:00
qctecmdr
7c9c1aa19a Merge "remoteproc: qcom: pas: enable both dumps collection for Volcano mpss" 2024-05-24 01:07:49 -07:00
qctecmdr
70294a50b8 Merge "backlight: qcom-spmi-wled: Update OVP threshold for WLED5" 2024-05-24 01:07:48 -07:00
qctecmdr
ff23625178 Merge "remoteproc: pas: Handle soccp ssr cleanly" 2024-05-24 01:07:48 -07:00
Jianguo Sun
46ea21adf8 configs: Enable CONFIG_VIRTIO_MMIO_POLL_RESET for autoghgvm
With UEFI as GVM's bootloader enabled, we need support virtio-mmio
device reset, which needs ensure the device reset is completed before
reinitializing the device.

Change-Id: I3bafe954eb09805d1baa8ff9e1bb9f35b60c34ee
Signed-off-by: Jianguo Sun <quic_jianguos@quicinc.com>
2024-05-24 07:01:45 +08:00
Jianguo Sun
4cb39792d0 virtio: Add polling virtio-mmio device reset completion
We write 0 to device_status to initiate reset of a virtio-mmio device.
The reset operation itself may or may not be completed by the time
write instruction completes. Add polling device_status to return
0 to ensure reset completion before reinitializing the device.

Change-Id: If15d11d090dfd0d4972ad35f49af03e076872413
Signed-off-by: Jianguo Sun <quic_jianguos@quicinc.com>
Signed-off-by: Sreenad Menon <quic_sreemeno@quicinc.com>
2024-05-24 07:01:45 +08:00
Jianguo Sun
f8d51a3599 Virtio: Add CONFIG_VIRTIO_MMIO_POLL_RESET
Add CONFIG_VIRTIO_MMIO_POLL_RESET to as an option to enable
synchronous reset for the MMIO based transport for virtio.

Change-Id: Ide5f69aa083bee2189f4d417d95f2c8fdf61bcdb
Signed-off-by: Jianguo Sun <quic_jianguos@quicinc.com>
2024-05-24 07:01:45 +08:00
Jishnu Prakash
d69593825a backlight: qcom-spmi-wled: Add support to configure slew ramp time
Add support to configure slew ramp time for brightness change for
PM7325B by adding a DT property named "qcom,slew-ramp-time".
Also set slew rate to lowest value when enabling or disabling WLED
to ensure fast turning on/off of display and restore it to the
specified value when display is turned on.

Change-Id: I63ae34702b934f45ffab39d521a6ecc0a6c8ccd5
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2024-05-23 17:12:25 +05:30
Shubham Chouhan
517201baef defconfig: Enable pwm support for ANORAK
Enable pwm support for ANORAK.

Change-Id: I2735d6977995e61476bfca9617e97629351d8335
Signed-off-by: Shubham Chouhan <quic_schouhan@quicinc.com>
2024-05-23 16:44:48 +05:30
qctecmdr
9baa4d84fe Merge "msm: defconfig : Adding support for IPCC driver for Anorak" 2024-05-23 03:39:47 -07:00
qctecmdr
2c83944216 Merge "PWM: Add snapshot of support for PWM driver" 2024-05-23 03:39:47 -07:00
Wei Liu
063c5cfe2f defconfig: autoghgvm: enable virtio i2c
Enable virtio-i2c for autoghgvm.

Change-Id: Ia8bd42de291f1e823361d98bdc5061d5ffa8ab7b
Signed-off-by: Wei Liu <quic_wliu8@quicinc.com>
2024-05-23 17:53:59 +08:00
Zelong Ren
f8b37816a4 soc: qcom: hab: sizebytes needs to be compared with buf size
sizebytes needs to be compared to OUT_MEDIUM_BUF_SIZE,
not OUT_MEDIUM_BUF_NUM.

Change-Id: I9cb15a9f1ea39b4f26c9d85a0784eec9d78d9508
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
2024-05-23 17:03:02 +08:00
qctecmdr
029781b786 Merge "soc: qcom: mdt_loader: add bound checks for headers" 2024-05-22 22:58:42 -07:00
qctecmdr
5ce7bc8607 Merge "defconfig: Add changes to enable AP72200 regulator driver" 2024-05-22 22:58:42 -07:00
qctecmdr
be3719a0f0 Merge "defconfig: Enable qrtr configs for LAGVM on Lemans" 2024-05-22 22:58:41 -07:00
Jishnu Prakash
cbfb487a37 backlight: qcom-spmi-wled: Add support for exponential dimming
Add support to enable writing a lookup table of brightness values
into WLED_SINK peripheral to enable more granular control over
brightness, to help end user see brightness change smoothly
instead of in visible steps.

Change-Id: Ifd2dd382bf3e1274a5b994e8d83b87833c975970
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-05-23 11:07:26 +05:30
Madhu Ananthula
544da6541b arm-smmu: add smmu testbus dump support for gen3auto
Add gen3auto based values for ARM_SMMU_STATS_SYNC_INV_TBU_ACK,
ARM_SMMU_TESTBUS_SEL & ARM_SMMU_TESTBUS registers.

Modify TESTBUS tcu base offset
ARM_SMMU_TCU_TESTBUS_HLOS1_NS -> ARM_SMMU_TESTBUS_SEL_HLOS1_NS
and sync invalid TBU acknowledgment as
ARM_SMMU_IMPL_DEF0 instead ARM_SMMU_IMPL_DEF5.

Change-Id: I4040932104e6630690e1c6bfa54f889b9432b9bb
Signed-off-by: Madhu Ananthula <quic_mananthu@quicinc.com>
2024-05-22 09:53:19 -07:00
Monish Chunara
b528b07a37 arm64: defconfig: Enable configs for GLINK and QRTR drivers
Enable configs for GLINK and QRTR on anorak.

Change-Id: If68f1be5277739184cddc10bd1fb844973576a46
Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
2024-05-22 16:22:19 +05:30
Minghao Zhang
ead6b86906 drivers: thermal: MAX31760: add to distinguish fan quantity in resume
This change adds to distinguish fan quantity in resume callback
because there are different configurations for different fan
quantity.

Change-Id: Ibff0bd73f9fe60230af26521da8abccedd7b5643
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2024-05-22 00:33:19 -07:00
Jun Zhang
997045199f soc: hgsl: fix mem_node UAF issue
In hgsl_ioctl_mem_map_smmu and hgsl_ioctl_mem_alloc, after
adding mem_node into realted list and unlocking the
priv->lock, mem_node may be delete immediately,so
hgsl_trace_gpu_mem_total using mem_node may cause UAF issue.
Move the hgsl_trace_gpu_mem_total into lock to avoid.

Change-Id: I1f3b271c05e33e074d888af477d5448137b46c0e
Signed-off-by: Jun Zhang <quic_juzhan@quicinc.com>
2024-05-22 11:24:33 +08:00
Srinath Pandey
ea0b54eb66 net: stmmac: Add Emac1 Passthrough change
Add Emac1 Passthrough changes for LA/LV GVM with mdio
front-end changes.

Change-Id: I86686a6cf3b31c5dbbc812fe23b47a25a2804550
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-05-21 22:38:58 +05:30
kundan kumar
4de6aa1611 modules: add fbe modules to first stage list
Add ufshcd-crypto-qti.ko in module.list.msm.piiti file
to fix stability issue.

Test: build compilation and target bootup.

Change-Id: I1c231c54f733ea25c7f824a4369c4a185584b700
Signed-off-by: kundan kumar <quic_kunkum@quicinc.com>
2024-05-21 07:41:06 -07:00
qctecmdr
a33e7a7ec9 Merge "usb: f_gsi: Fix the error path in gsi_update_function_bind_params" 2024-05-21 02:29:16 -07:00
qctecmdr
91162c1520 Merge "net: stmmac: Continue suspend even if interface is down" 2024-05-21 02:29:15 -07:00
qctecmdr
8d2cd5075e Merge "anorak61: Enable kernel configs to support wlan compilation" 2024-05-21 02:29:15 -07:00
qctecmdr
0ea5ac1180 Merge "usb: phy: snps: Add regulator support which powers refgen in HS phy" 2024-05-21 02:29:15 -07:00
qctecmdr
f870acd04b Merge "usb: phy-msm-ssusb-qmp: Add regulator support for refgen in SS phy" 2024-05-21 02:29:14 -07:00
Taniya Das
43669fa5f1 PWM: Add snapshot of support for PWM driver
Add snapshot of support for PWM driver on ANORAK from msm-5.10 branch
commit cd59552b8fce ("PWM: Add support for PWM driver").

Change-Id: I4486e2aadbc48605eef686c3d4b5e568d9158f72
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
Signed-off-by: Shubham Chouhan <quic_schouhan@quicinc.com>
2024-05-21 14:36:43 +05:30
Srinath Pandey
9669d521f8 defconfig: enable sgmii pass-through
Enable support for DWMAC_QCOM_ETHQOS and STMMAC_ETH drivers on autogvm
for sgmii passthrough on LA GVM.

Change-Id: Ia59704ea79ea1ff3fdc4891b80ad9519e9d3b09c
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-05-20 22:40:48 -07:00