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