Skip to content

acrn_ehl_crb does not work with CPUs >1  #35076

@jenmwms

Description

@jenmwms

Describe the bug
The new APIC TSC Deadline Timer supports SMP=y configuration, which allows us to start working with number CPUs >1. With Initial tests of CPUS=2, Zephyr fails to boot as the pre-launched guest VM on ACRN. hello_world even fails to boot.

To Reproduce
Steps to reproduce the behavior:

  1. Configure acrn_ehl_crb_defconfig with CONFIG_MP_NUM_CPUs=2
  2. west build -p -b acrn_ehl_crb zephyr/tests/kernel/smp (hello_world even fails to boot)
  3. Flash and observe console.

Expected behavior
Build successfully and use CONFIG_MP_NUM_CPUs >1 without issue, platform-wide tests. This is just example.

Impact
cannot use SMP with more than 1 CPU with APIC timer. showstopper.

Logs and console output

DEBUG   - DEVICE: ACRN:\>vm_console 0
DEBUG   - DEVICE: VM is not valid
DEBUG   - DEVICE: 
DEBUG   - DEVICE: Error: Invalid parameters.
DEBUG   - Timed out while monitoring serial output on acrn_ehl_crb

Environment (please complete the following information):

  • OS: Linux
  • Toolchain Zephyr SDK 2.4
  • Commit SHA 4ee6130

Metadata

Metadata

Labels

area: SMPSymmetric multiprocessingbugThe issue is a bug, or the PR is fixing a bugplatform: X86x86 and x86-64priority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions