Browse Source

Documentation: Fix early-microcode.txt references after file rename

The file Documentation/x86/early-microcode.txt was renamed to
Documentation/x86/microcode.txt in 0e3258753f81, but it was still
referenced by its old name in a three places:

* Documentation/x86/00-INDEX
* arch/x86/Kconfig
* arch/x86/kernel/cpu/microcode/amd.c

This commit updates these references accordingly.

Fixes: 0e3258753f81 ("x86/microcode: Document the three loading methods")
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Jaak Ristioja 7 years ago
parent
commit
1897a9691e
3 changed files with 4 additions and 4 deletions
  1. 2 2
      Documentation/x86/00-INDEX
  2. 1 1
      arch/x86/Kconfig
  3. 1 1
      arch/x86/kernel/cpu/microcode/amd.c

+ 2 - 2
Documentation/x86/00-INDEX

@@ -2,14 +2,14 @@
 	- this file
 	- this file
 boot.txt
 boot.txt
 	- List of boot protocol versions
 	- List of boot protocol versions
-early-microcode.txt
-	- How to load microcode from an initrd-CPIO archive early to fix CPU issues.
 earlyprintk.txt
 earlyprintk.txt
 	- Using earlyprintk with a USB2 debug port key.
 	- Using earlyprintk with a USB2 debug port key.
 entry_64.txt
 entry_64.txt
 	- Describe (some of the) kernel entry points for x86.
 	- Describe (some of the) kernel entry points for x86.
 exception-tables.txt
 exception-tables.txt
 	- why and how Linux kernel uses exception tables on x86
 	- why and how Linux kernel uses exception tables on x86
+microcode.txt
+	- How to load microcode from an initrd-CPIO archive early to fix CPU issues.
 mtrr.txt
 mtrr.txt
 	- how to use x86 Memory Type Range Registers to increase performance
 	- how to use x86 Memory Type Range Registers to increase performance
 pat.txt
 pat.txt

+ 1 - 1
arch/x86/Kconfig

@@ -1306,7 +1306,7 @@ config MICROCODE
 	  the Linux kernel.
 	  the Linux kernel.
 
 
 	  The preferred method to load microcode from a detached initrd is described
 	  The preferred method to load microcode from a detached initrd is described
-	  in Documentation/x86/early-microcode.txt. For that you need to enable
+	  in Documentation/x86/microcode.txt. For that you need to enable
 	  CONFIG_BLK_DEV_INITRD in order for the loader to be able to scan the
 	  CONFIG_BLK_DEV_INITRD in order for the loader to be able to scan the
 	  initrd for microcode blobs.
 	  initrd for microcode blobs.
 
 

+ 1 - 1
arch/x86/kernel/cpu/microcode/amd.c

@@ -58,7 +58,7 @@ static u8 amd_ucode_patch[PATCH_MAX_SIZE];
 
 
 /*
 /*
  * Microcode patch container file is prepended to the initrd in cpio
  * Microcode patch container file is prepended to the initrd in cpio
- * format. See Documentation/x86/early-microcode.txt
+ * format. See Documentation/x86/microcode.txt
  */
  */
 static const char
 static const char
 ucode_path[] __maybe_unused = "kernel/x86/microcode/AuthenticAMD.bin";
 ucode_path[] __maybe_unused = "kernel/x86/microcode/AuthenticAMD.bin";