Repository navigation
Enable psi - #2422
Closed
Chitti Babu Theegala (ctheegal) wants to merge 99 commits into
Closed
Enable psi#2422Chitti Babu Theegala (ctheegal) wants to merge 99 commits into
Chitti Babu Theegala (ctheegal) wants to merge 99 commits into
Conversation
Add prune.config fragment to disable support for non-Qualcomm architectures. This helps reduce boot image size and improves kernel build KPIs by trimming unnecessary configuration options. Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
…eaps The `qcom.config` file serves as a Qualcomm-specific kernel configuration fragment used to enable features required by Qualcomm SoCs. It helps ensure that essential features and subsystems required by Qualcomm platforms are enabled. This initial version of `qcom.config` enables DMABUF heap support, including the system heap and default CMA heap. These configurations are essential for buffer sharing across subsystems such as camera, display, and DSP on Qualcomm platforms like qcs6490. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Add Coresight configs to enable Coresight device drivers on mainline. Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Enable ZRAM defconfig on qcom.config. This empowers users to use the compressed block devices for usecases, eg: swap device on zram. Tested: make ARCH=arm64 menuconfig defconfig qcom.config, booted with this configuration on QEMU and verified if /dev/zram0 is exist. Signed-off-by: Charan Teja Kalla <charan.kalla@oss.qualcomm.com>
Enabled key configs for thermal management (CPU_IDLE_THERMAL, IDLE_INJECT), scheduler (SCHED_DEBUG, SCHEDSTATS, TRACE_MMIO_ACCESS), and power control (POWERCAP, UCLAMP_TASK). Also enabled KPROBES, PAN emulation and watchdog pretimeout panic governor for improved instrumentation and security. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Enabled various debug-related kernel config options to improve system diagnostics and aid in development and issue analysis. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Add STM configs to enable STM functions, like stm ftrace and stm heartbeat. Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Enable SENSOR_AMC6821 defconfig to enable fan controller support. Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Enable the config for the QCA808X ethernet PHY driver. Ethernet is non functional without this driver on Lemans and Monaco EVK. Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Enable QCOM EDAC driver support for QCOM SoCs. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Enable WLAN related debug configs. Signed-off-by: Yingying Tang <yingying.tang@oss.qualcomm.com>
Enable ATH reg setting, then user can change country code by netlink command. Signed-off-by: Yingying Tang <yingying.tang@oss.qualcomm.com>
Enable as modules the BT_BNEP and BT_RFCOMM drivers which are required for Bluetooth profiles such as PAN and SPP. Without these modules, PAN and SPP functionality will not be available. Enable UHID support to allow HID over GATT operations. Without this, user-space cannot create virtual HID devices, which impacts HID profile usage over Bluetooth. Signed-off-by: Wei Deng <wei.deng@oss.qualcomm.com>
Enable various PM configs to enable suspend-resume. Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>
Enabled various power management debug related kernel config options to improve system diagnostics and aid in development and issue analysis. Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>
CrosVM supports vCPU Stall watchdog. QEMU supports I6300 ESB watchdog. Enable corresponding drivers for Guest VM usecases. Signed-off-by: Nikhil V <nikhil.v@oss.qualcomm.com>
Removed UBSAN, KASAN, kmemleak, lock proving, and function tracing from debug.config to reduce bootup time and prevent probe deferring issues. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Added the required configs to enable host kernel accelerator for virtio net(vhost-net) and virtual socket protocol(vsock). Signed-off-by: Nikhil V <nikhil.v@oss.qualcomm.com>
Enable Gunyah watchdog driver for rb3gen2. Signed-off-by: Shivendra Pratap <shivendra.pratap@oss.qualcomm.com>
Enable UINPUT, which is required for BT AVRC profile to register the events and All passthrough commands of AVRCP will be listed in this event under /dev/input/ Signed-off-by: Raghavender Reddy Bujala <rbujala@qti.qualcomm.com>
Enable SENSOR_EMC2305 defconfig to enable fan controller support. Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Enabled PREEMPT_RT in new rt.config to enable RT kernel features. Signed-off-by: Anurag Pateriya <apateriy@qti.qualcomm.com>
On Lemans and Monaco EVK platforms the boot-from-SD-card feature requires an IO expander to be enabled at an early stage to detect the SD card. This IO expander is connected over I2C. Currently the I2C driver is built as a loadable module which resides on the SD card along with other modules. This creates a circular dependency where to detect the SD card the IO expander must be initialized the IO expander depends on the I2C driver and the I2C driver is on the SD card which cannot be accessed until detection succeeds. To break this dependency enable I2C_QCOM_GENI as built-in so that the driver is available during early boot. Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Adding config options for Kubernetes support in qcom.config Signed-off-by: Anurag Pateriya <apateriy@qti.qualcomm.com>
RB3GEN2 on v6.19-rc2 crashes in qcom_ice_probe() and fails to boot. Disable inline crypto (ICE) and UFS crypto as a temporary workaround. Disabled: - CONFIG_QCOM_INLINE_CRYPTO_ENGINE - CONFIG_SCSI_UFS_CRYPTO Will be reverted once ICE probe is fixed. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Enable Remoteproc cooling feature config. Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Enable CONFIG_CONNECTOR and CONFIG_PROC_EVENTS to allow userspace to receive process lifecycle events (fork/exec/exit) via the proc connector over netlink. Signed-off-by: Jagadeesh Pagadala <jpagadal@qti.qualcomm.com>
Enable crypto api for user test. The configs are for testapp that's why the kernel upstream team would suggest having this enabled for clients who needs it and not by default since in qcom we need this, we should be enabling ideally in qcom-next. Signed-off-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com>
Hamoa/Purwa currently requires the backlight node from the eDP device, but this macro was overridden by CONFIG_DRM_NOUVEAU. Remove it from prune.config to properly enable the BACKLIGHT_* related config. Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
For Qualcomm 4K-page based builds, explicitly enable VA_BITS_39 in the qcom.config fragment. Lower-end arm64 systems typically do not benefit from a 48/52-bit VA space, while they do benefit from smaller page tables and reduced TLB pressure. Selecting 39-bit VA sizing aligns better with constraints and performance characteristics of lower-end Qualcomm platforms. This change does not affect 64K-page builds (which retain 48/52-bit VA). Background: - With 4K pages, arm64 supports 39-bit (3-level) or 48-bit (4-level) VAs. - 52-bit VAs are only available with 64K pages and ARMv8.2-LVA, and kernels must be able to fall back to 48-bit at boot. Signed-off-by: Anurag Pateriya <apateriy@qti.qualcomm.com>
Enable CAN and virtual CAN config for RTSS CAN module used to communicate with user-space applications using SocketCAN APIs. Signed-off-by: Anup Kulkarni <anup.kulkarni@oss.qualcomm.com>
CMA memory is currently insufficient for libcamera operation at some resolutions. Switch to the community-recommended UDMA buffer allocation mechanism. Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Added required configs to enable virtio FE drivers for Guest VM's. Signed-off-by: Nikhil V <nikhil.v@oss.qualcomm.com>
Add CONFIG_VIDEO_QCOM_CAMSS_OPE=m to enable the Offline Processing Engine driver for Agatti and Shikra platforms (e.g. Arduino UNO Q). Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> Upstream-Status: Submitted [https://lore.kernel.org/all/20260915-camss-isp-ope-v7-9-77b13d131d3d@oss.qualcomm.com/]
Enable the IGC drivers to support the Intel I226 NIC card. Signed-off-by: Venkat Ramana Sugamanchi <vsugaman@qti.qualcomm.com>
Enable Qualcomm TCG support as a module in the Qualcomm arm64 config. Signed-off-by: Roopak Houji <rhouji@qti.qualcomm.com>
A SoC-specific cpufreq driver already handles CPU frequency scalinig on Qualcomm platforms. As a result, the generic cpufreq-dt driver fails to register against the same CPUs: cpufreq-dt cpufreq-dt: failed register driver: -17 cpufreq-dt cpufreq-dt: probe with driver cpufreq-dt failed with error -17 Disable CPUFREQ_DT to avoid this redundant probe/registration conflict on Qualcomm targets. Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Remove sn65dsi83 from prune.config to enable it Signed-off-by: Anand Tiwari <anand.tiwari@oss.qualcomm.com>
…boards Enable the S5KJN5 driver which is used for the camera sensor on the Qualcomm Hawi and Maili MTP boards. Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com> Upstream-Status: Submitted Link: https://lore.kernel.org/all/20260923-hawi-maili-camss-v1-15-cbbb42e534ef@oss.qualcomm.com/
Add support for dynamically adjusting the PCIe link rate of NVMe devices based on I/O activity. The link is downgraded to a configurable minimum rate during periods of low activity to save power, and upgraded to the maximum supported rate as soon as the workload exceeds a computed threshold, so that peak performance is maintained under load. Add config for NVMe speed switch Link: https://lore.kernel.org/all/9e99e007bf05a608b1b82da740c2b33935a27175.1790222172.git.liaoxuan@hygon.cn/ Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com> Signed-off-by: Hariharan Sreedhar <hariharan.sreedhar@oss.qualcomm.com>
…LI9881C panel Enable the regulator driver for the Raspberry Pi touchscreen V2 power and backlight controller, and the Ilitek ILI9881C DSI panel driver, as modules, for the Raspberry Pi 7 inch DSI panel on the 22-pin JDISP1 DSI0 connector on Qualcomm Shikra EVK, Talos Lyra EVK boards. Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com> Link: https://lore.kernel.org/all/20261021-shikra_display_overlays-v1-4-adaea735999f@oss.qualcomm.com/
… drivers Enable the Waveshare DSI touch GPIO/backlight controller driver and the Jadard JD9365DA-H3 DSI panel driver, as modules, for the Waveshare 8 inch DSI panel on the 22-pin JDISP1 DSI0 connector on the Qualcomm Shikra EVK, Talos Lyra EVK boards. Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com> Link: https://lore.kernel.org/all/20261021-shikra_display_overlays-v1-6-adaea735999f@oss.qualcomm.com/
Remove TOUCHSCREEN_GOODIX from prune.config to enable it. It is used by the touch controllers on the Raspberry Pi 7 inch (GT911) and Waveshare 8 inch (GT9271) DSI panels. Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
DRM is already enabled as a module in the base defconfig. Remove the redundant DRM entries from qcom.config. Signed-off-by: Nikhil V <nikhil.v@oss.qualcomm.com>
Enable CONFIG_PWM_CLK so the generic clock-based PWM driver is available, used by the Talos Lyra EVK LVDS panel overlay backlight. Signed-off-by: Anand Tiwari <anand.tiwari@oss.qualcomm.com> Link: https://lore.kernel.org/r/20261021-lyra-display-upstream-post-v1-5-585caa39cd7c@oss.qualcomm.com
Radxa Dragon Q6A board uses R8169 Ethernet controller. To simplify support for that board in meta-qcom ecosystem, stop disabling R8169 driver (which will be built as a module). Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Commit 2ecdf5c ("crypto: qcom-rng - Remove crypto_rng interface") removed the Qualcomm RNG implementation of stdrng. With DRBG disabled, libkcapi RNG requests for stdrng fail on affected Qualcomm systems. Enable DRBG as a module to provide stdrng for existing libkcapi users. Fixes: 2ecdf5c ("crypto: qcom-rng - Remove crypto_rng interface") Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
Keep support for "Simple DRM bridge", useful on some Snapdragon-based OEM laptops. Closes: qualcomm-linux/kernel#1148 Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Menu governor still stays as default governor when both are compiled in due to menu having higher rating than teo. Make Teo governor as default governor. Teo is proven to benefit performance use cases without any power impacts. Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
Enable CONFIG_MHI_BUS_DEBUG to expose debugfs entries for the MHI transport, useful for debugging and testing MHI controllers. Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Enable PCIe ports to act as thermal cooling devices. PCIe links operating at higher speeds (Gen4/Gen5) generate more heat. The thermal framework can reduce the link speed, lowering PCIe bandwidth, power dissipation, and heat generation, which helps reduce the operating temperature of the PCIe controller and connected devices. Signed-off-by: Hariharan Sreedhar <hariharan.sreedhar@oss.qualcomm.com>
For Qualcomm platforms with OPTEE, the OPTEE back-end driver can directly access RPMB when the in-kernel RPMB frame routing capability is enabled. Enable the RPMB config for all Qualcomm platforms so that OPTEE can use it. Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
…a DPDK Enable CONFIG_VFIO_PLATFORM=y in qcom.config to support VFIO platform binding on Shikra IQS EVK. This is required for the DPDK stmmac PMD on Shikra, where the ETHQOS MAC is handed off from qcom-ethqos driver to vfio-platform for use with the DPDK stmmac PMD. Signed-off-by: Mohan Degalwade <mdegalwa@qti.qualcomm.com>
Enable CONFIG_ARM_FFA_TRANSPORT so the kernel can communicate with secure world partitions using the Arm Firmware Framework for Armv8-A. Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
RCU callback processing on latency-sensitive CPUs can introduce unwanted interference with real-time workloads. QLI PREEMPT_RT builds use the rcu_nocbs= kernel command-line parameter to offload RCU callback processing from selected RT CPUs. However, rcu_nocbs= requires CONFIG_RCU_NOCB_CPU to be enabled. CONFIG_RCU_NOCB_CPU depends on RCU_EXPERT when NO_HZ_FULL is not enabled. Enable CONFIG_RCU_EXPERT and CONFIG_RCU_NOCB_CPU in rt.config so that rcu_nocbs= can be used to offload RCU callback processing from the selected CPUs and reduce OS jitter on latency-sensitive RT workloads. Signed-off-by: Faruque Ansari <faruque.ansari@oss.qualcomm.com>
Enable PTP_QCOM_TSC as a module to support the Timestamp Counter (TSC) synchronization functionality on Qualcomm Lemans, Monaco and QDU1000 platforms. Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com> Link: https://lore.kernel.org/r/20261108-tscss-v2-5-d5f575010427@oss.qualcomm.com
SCMI framework is currently broken and modules don't auto-load. QCOM SCMI Generic Vendor Extension protocol (=y) and the remote devfreq governor (=y) are already built-in. So, make the SCMI Memlat driver built-in as well for higher performance at boot-time itself. Link: https://lore.kernel.org/lkml/20260724-rfc_v8_scmi_memlat-v1-0-cb732bcff1f4@oss.qualcomm.com/ Signed-off-by: Pragnesh Papaniya <pragnesh.papaniya@oss.qualcomm.com>
Enable CONFIG_PSI=y to support Pressure Stall Information (PSI)
tracking for CPU, memory, and I/O resources.
PSI provides per-cgroup and system-wide pressure metrics via
/proc/pressure/{cpu,memory,io}
CRs-Fixed: 4760054
Signed-off-by: Chitti Babu Theegala <ctheegal@qti.qualcomm.com>
|
Change Requests Validation Check No CR numbers found in the pull request description. Please add CR numbers in the format: Example: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.