Approved version. Approved on: 07:59, 13 October 2021
Difference between revisions of "How to configure uniprocessor mode"
[unchecked revision] | [quality revision] |
m
|
m
|
[unchecked revision] | [quality revision] |
m
|
m
|
Applicable for | STM32MP15x lines |
This article explains how to switch from a SMP (symmetric multiprocessing) Linux® kernel configuration to a UP (uniprocessor) Linux kernel configuration.
Considering that STMicroelectronics Linux kernel is configured in SMP mode by default, single Arm Cortex-A core users may wish to disable this configuration in order to avoid trying to start the second core at every boot. Please note that keeping the SMP mode enabled on a single processor does not have any performance impact on the kernel in most use cases, so this change is not mandatory.
To switch to UP configuration, disable SMP configuration. To do that, search SMP in kernel menuconfig and disable the option.
<noinclude>{{ApplicableFor |MPUs list=STM32MP15x |MPUs checklist=STM32MP13x, STM32MP15x }}</noinclude> ==Purpose== This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>®</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration. ==Rationale== Considering that STMicroelectronics [[STM32MP15 Linux kernel overview|Linux kernel]] is configured in SMP mode by default, single Arm Cortex-A core users may wish to disable this configuration in order to avoid trying to start the second core at every boot. Please note that keeping the SMP mode enabled on a single processor does not have any performance impact on the kernel in most use cases, so this change is not mandatory. ==Modify kernel configuration== To switch to UP configuration, disable SMP configuration. To do that, search '''SMP''' in [[Menuconfig_or_how_to_configure_kernel|kernel menuconfig]] and disable the option. <noinclude> [[Category:How to customize software]] {{PublicationRequestId | 8901 | 2018-10-05 | AnneJ}}</noinclude>
Line 1: | Line 1: | ||
− | {{ApplicableFor |
+ |
<noinclude>{{ApplicableFor |
|MPUs list=STM32MP15x |
|MPUs list=STM32MP15x |
||
|MPUs checklist=STM32MP13x, STM32MP15x |
|MPUs checklist=STM32MP13x, STM32MP15x |
||
− | }} |
+ | }}</noinclude>
|
==Purpose== |
==Purpose== |
||
This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>®</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration. |
This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>®</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration. |