|
888 | 888 | memory region [offset, offset + size] for that kernel |
889 | 889 | image. If '@offset' is omitted, then a suitable offset |
890 | 890 | is selected automatically. |
891 | | - [KNL, X86-64, ARM64, RISCV] Select a region under 4G first, and |
892 | | - fall back to reserve region above 4G when '@offset' |
893 | | - hasn't been specified. |
| 891 | + [KNL, X86-64, ARM64, RISCV, LoongArch] Select a region |
| 892 | + under 4G first, and fall back to reserve region above |
| 893 | + 4G when '@offset' hasn't been specified. |
894 | 894 | See Documentation/admin-guide/kdump/kdump.rst for further details. |
895 | 895 |
|
896 | 896 | crashkernel=range1:size1[,range2:size2,...][@offset] |
|
901 | 901 | Documentation/admin-guide/kdump/kdump.rst for an example. |
902 | 902 |
|
903 | 903 | crashkernel=size[KMG],high |
904 | | - [KNL, X86-64, ARM64, RISCV] range could be above 4G. |
| 904 | + [KNL, X86-64, ARM64, RISCV, LoongArch] range could be |
| 905 | + above 4G. |
905 | 906 | Allow kernel to allocate physical memory region from top, |
906 | 907 | so could be above 4G if system have more than 4G ram |
907 | 908 | installed. Otherwise memory region will be allocated |
908 | 909 | below 4G, if available. |
909 | 910 | It will be ignored if crashkernel=X is specified. |
910 | 911 | crashkernel=size[KMG],low |
911 | | - [KNL, X86-64, ARM64, RISCV] range under 4G. When crashkernel=X,high |
912 | | - is passed, kernel could allocate physical memory region |
913 | | - above 4G, that cause second kernel crash on system |
914 | | - that require some amount of low memory, e.g. swiotlb |
915 | | - requires at least 64M+32K low memory, also enough extra |
916 | | - low memory is needed to make sure DMA buffers for 32-bit |
917 | | - devices won't run out. Kernel would try to allocate |
| 912 | + [KNL, X86-64, ARM64, RISCV, LoongArch] range under 4G. |
| 913 | + When crashkernel=X,high is passed, kernel could allocate |
| 914 | + physical memory region above 4G, that cause second kernel |
| 915 | + crash on system that require some amount of low memory, |
| 916 | + e.g. swiotlb requires at least 64M+32K low memory, also |
| 917 | + enough extra low memory is needed to make sure DMA buffers |
| 918 | + for 32-bit devices won't run out. Kernel would try to allocate |
918 | 919 | default size of memory below 4G automatically. The default |
919 | 920 | size is platform dependent. |
920 | 921 | --> x86: max(swiotlb_size_or_default() + 8MiB, 256MiB) |
921 | 922 | --> arm64: 128MiB |
922 | 923 | --> riscv: 128MiB |
| 924 | + --> loongarch: 128MiB |
923 | 925 | This one lets the user specify own low range under 4G |
924 | 926 | for second kernel instead. |
925 | 927 | 0: to disable low allocation. |
|
0 commit comments