tests: Update ipi_optimize for x86_64 directed IPIs
Updates the ipi_optimize test to use 4 CPUs for qemu_x86_64. This provides enough CPUs for the test to verify the recently added directed IPI support for x86_64. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
This commit is contained in:
parent
427f2c60da
commit
abb5f11134
2 changed files with 23 additions and 0 deletions
4
tests/kernel/ipi_optimize/boards/qemu_x86_64.conf
Normal file
4
tests/kernel/ipi_optimize/boards/qemu_x86_64.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2022 Carlo Caione <ccaione@baylibre.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_MP_MAX_NUM_CPUS=4
|
19
tests/kernel/ipi_optimize/boards/qemu_x86_64.overlay
Normal file
19
tests/kernel/ipi_optimize/boards/qemu_x86_64.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* Copyright 2022 Carlo Caione <ccaione@baylibre.com>
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
cpu@2 {
|
||||
device_type = "cpu";
|
||||
compatible = "intel,x86_64";
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
cpu@3 {
|
||||
device_type = "cpu";
|
||||
compatible = "intel,x86_64";
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue