This series contains a set of boot time optimizations for Qualcomm SoCs,
targeting unnecessary initialization and device probing paths observed
during boot.

The changes reduce time spent in memory initialization, filesystem
probing, and redundant SCSI rescans, resulting in measurable boot KPI
improvements across Qualcomm platforms.

Boot time savings observed:

  - Disable malloc pool zero-initialization: ~74 ms
  - Skip redundant SCSI rescan for capsule updates: ~34 ms
  - Skip filesystem probe for non-ESP GPT partitions: ~170 ms

Combined, these optimizations save approximately 278 ms during boot on
Qualcomm SoCs while preserving existing functionality.

Changes in v2:
- Address review comment by adding scsi_scan_new() to discover new SCSI
  devices without removing existing ones, improving boot-time KPI by
  avoiding unnecessary rescans and replacing the uclass_id_count()
  guard in capsule update paths.

Link to v1: https://marc.info/?l=u-boot&m=178781570076393&w=2

Aswin Murugan (4):
  efi_loader: skip fs probe for non-ESP GPT partitions
  configs: qcom: disable malloc pool zero-init on boot
  scsi: Add scsi_scan_new() to scan only new devices
  mach-snapdragon: rescan only newly added SCSI devices for capsule
    update

 arch/arm/mach-snapdragon/capsule_update.c |  2 +-
 configs/qcom_defconfig                    |  1 +
 drivers/scsi/scsi.c                       | 27 +++++++++++++++++++++++
 include/scsi.h                            |  8 +++++++
 lib/efi_loader/efi_disk.c                 |  4 ++++
 5 files changed, 41 insertions(+), 1 deletion(-)

-- 
2.34.1

Reply via email to