Skip to content

Conversation

@apateriy-qcom
Copy link

No description provided.

Komal Bajaj and others added 30 commits December 17, 2025 15:56
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>
Introduce `qcom.config`, a Qualcomm-specific kernel configuration
fragment that enables features required by Qualcomm SoCs. It includes
CONFIGs not acceptable under the community's common defconfig and
ensures essential features and subsystems required by Qualcomm
platforms are enbaled.

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>
…nfig

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>
…or Qualcomm Kaanapali

Enable necessary drivers for booting Qualcomm Kaanapali QRD and MTP
boards. The serial engine must be properly setup before kernel reach
"init", so UART driver and its dependencies needs to be built in, enable
its dependency GCC, interconnect and pinctrl as built-in meanwhile enable
TCSRCC as module.

Link: https://lore.kernel.org/r/20251215-knp-dts-v4-2-1541bebeb89f@oss.qualcomm.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
Enabled key config of Crypto (CONFIG_CRYPTO_USER_API,
CONFIG_CRYPTO_USER_API_HASH, CONFIG_CRYPTO_USER_API_SKCIPHER,
CONFIG_CRYPTO_USER_API_AEAD). And else for support ICE config.

Signed-off-by: Wenjia Zhang <wenjia.zhang@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>
Lontium LT8713sx DP bridge hub can be found in monaco-evk
for converting 1 DP to 3 DP output.

Co-developed-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
Signed-off-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
Link: https://lore.kernel.org/all/20251120-lt8713sx-bridge-linux-for-next-v1-2-2246fc5fb490@qti.qualcomm.com/
…nfigs"

Revert commit 68f6c9a.
Enabling ICE-related configurations causes crashes on the lemans-evk
device, so this change is being reverted until the issue is resolved.

Signed-off-by: Komal Bajaj <komal.bajaj@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>
… for Qualcomm TEE (QTEE)

We are planning to replace QPTEE with QCOMTEE on all QCOM-released kernel
versions. QTEE allows Trusted Applications (TAs) and services to run
securely and offers the same functionality as OPTEE.

Signed-off-by: Jiaxing Li <jiaxing.li@oss.qualcomm.com>
Link: qualcomm-linux#121
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 CONFIG_SND_SOC_DMIC as a module in the arm64 defconfig
to support digital microphone functionality on Qualcomm's
Monaco and Lemans platforms.

Link: https://lore.kernel.org/all/20251218084604.2054971-1-ravi.hothi@oss.qualcomm.com/
Signed-off-by: Ravi Hothi <ravi.hothi@oss.qualcomm.com>
Enable Gunyah watchdog driver for rb3gen2.

Signed-off-by: Shivendra Pratap <shivendra.pratap@oss.qualcomm.com>
The serial engine must be properly setup before kernel reaches
"init",so UART driver and its dependencies needs to be built in.
Enable its dependency clocks,interconnect and pinctrl as built-in
to boot Glymur CRD board to UART console with full USB support.

Link: https://lore.kernel.org/lkml/20250925-v3_glymur_introduction-v1-2-24b601bbecc0@oss.qualcomm.com/
Signed-off-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
Nacked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Sibi Sankar <sibi.sankar@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>
apateriy-qcom and others added 7 commits December 18, 2025 17:33
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>
…n SM8750

Enable the SM8750 video, camera clock controller for their respective
functionalities on the Qualcomm SM8750 MTP platform.

Link: https://lore.kernel.org/all/20260113-enable_mmcc_defconfig-v1-1-4b709daadd1f@oss.qualcomm.com/
Signed-off-by: Taniya Das <taniya.das@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>
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. Make 39-bit the default for 4K-page builds (3-level tables).

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.