From 78d85d2d379366dabc5592a52f783b4f46ba7aac Mon Sep 17 00:00:00 2001 From: Jingyu Wang Date: Sat, 11 Jun 2022 04:32:09 +0800 Subject: [PATCH 1/2] fix CONFIG_X86_MPPAARSE to CONFIG_X86_MPPARSE. Signed-off-by: Jingyu Wang --- Initialization/linux-initialization-6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Initialization/linux-initialization-6.md b/Initialization/linux-initialization-6.md index 43fd5fa..5bfaa3e 100644 --- a/Initialization/linux-initialization-6.md +++ b/Initialization/linux-initialization-6.md @@ -128,7 +128,7 @@ int __init acpi_mps_check(void) } ``` -It checks the built-in `MPS` or [MultiProcessor Specification](http://en.wikipedia.org/wiki/MultiProcessor_Specification) table. If `CONFIG_X86_LOCAL_APIC` is set and `CONFIG_x86_MPPAARSE` is not set, `acpi_mps_check` prints warning message if the one of the command line options: `acpi=off`, `acpi=noirq` or `pci=noacpi` passed to the kernel. If `acpi_mps_check` returns `1` it means that we disable local [APIC](http://en.wikipedia.org/wiki/Advanced_Programmable_Interrupt_Controller) and clear `X86_FEATURE_APIC` bit in the of the current CPU with the `setup_clear_cpu_cap` macro. (more about CPU mask you can read in the [CPU masks](https://0xax.gitbook.io/linux-insides/summary/concepts/linux-cpu-2)). +It checks the built-in `MPS` or [MultiProcessor Specification](http://en.wikipedia.org/wiki/MultiProcessor_Specification) table. If `CONFIG_X86_LOCAL_APIC` is set and `CONFIG_x86_MPPARSE` is not set, `acpi_mps_check` prints warning message if the one of the command line options: `acpi=off`, `acpi=noirq` or `pci=noacpi` passed to the kernel. If `acpi_mps_check` returns `1` it means that we disable local [APIC](http://en.wikipedia.org/wiki/Advanced_Programmable_Interrupt_Controller) and clear `X86_FEATURE_APIC` bit in the of the current CPU with the `setup_clear_cpu_cap` macro. (more about CPU mask you can read in the [CPU masks](https://0xax.gitbook.io/linux-insides/summary/concepts/linux-cpu-2)). Early PCI dump -------------------------------------------------------------------------------- From 90f3cf49fa99e10de3a7772b5c608cb2050f6da8 Mon Sep 17 00:00:00 2001 From: Jingyu Wang Date: Tue, 14 Jun 2022 20:41:36 +0800 Subject: [PATCH 2/2] Fix typos. Signed-off-by: Jingyu Wang --- Initialization/linux-initialization-8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Initialization/linux-initialization-8.md b/Initialization/linux-initialization-8.md index 9b74cf6..62f0e64 100644 --- a/Initialization/linux-initialization-8.md +++ b/Initialization/linux-initialization-8.md @@ -340,7 +340,7 @@ The first is for case when scheduling of task groups is enabled with `completely * scheduler entity structure; * `runqueue`. -After we have calculated size, we allocate a space with the `kzalloc` function and set pointers of `sched_entity` and `runquques` there: +After we have calculated size, we allocate a space with the `kzalloc` function and set pointers of `sched_entity` and `runqueues` there: ```C ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT);