Searched hist:de752c5e73d8fa02a3cc585ca346dae0be86c14d (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/arch/x86/cpu/qemu/ |
| H A D | cpu.c | de752c5e73d8fa02a3cc585ca346dae0be86c14d Thu Jan 07 09:32:04 UTC 2016 Miao Yan <yanmiaobest@gmail.com> x86: qemu: fix cpu device in smp boot
Currently, when booting with more that one CPU enabled, U-Boot scans 'cpu' node in device tree and calculates CPU number. This does not scale well as changing CPU number also requires modifying .dts and re-compiling U-Boot.
This patch uses fw_cfg interface provided by QEMU to detect online CPU number at runtime, and dynamically adds 'cpu' device to U-Boot's driver model.
Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ |
| H A D | mp_init.c | de752c5e73d8fa02a3cc585ca346dae0be86c14d Thu Jan 07 09:32:04 UTC 2016 Miao Yan <yanmiaobest@gmail.com> x86: qemu: fix cpu device in smp boot
Currently, when booting with more that one CPU enabled, U-Boot scans 'cpu' node in device tree and calculates CPU number. This does not scale well as changing CPU number also requires modifying .dts and re-compiling U-Boot.
This patch uses fw_cfg interface provided by QEMU to detect online CPU number at runtime, and dynamically adds 'cpu' device to U-Boot's driver model.
Signed-off-by: Miao Yan <yanmiaobest@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
|