OpenCloudOS-Kernel/arch
Mike Rapoport 5c279c4cf2 Revert "x86/setup: don't remove E820_TYPE_RAM for pfn 0"
This reverts commit bde9cfa3af.

Changing the first memory page type from E820_TYPE_RESERVED to
E820_TYPE_RAM makes it a part of "System RAM" resource rather than a
reserved resource and this in turn causes devmem_is_allowed() to treat
is as area that can be accessed but it is filled with zeroes instead of
the actual data as previously.

The change in /dev/mem output causes lilo to fail as was reported at
slakware users forum, and probably other legacy applications will
experience similar problems.

Link: https://www.linuxquestions.org/questions/slackware-14/slackware-current-lilo-vesa-warnings-after-recent-updates-4175689617/#post6214439
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-02-04 10:26:53 -08:00
..
alpha local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
arc ARC: [hsdk]: Enable FPU_SAVE_RESTORE 2021-01-08 13:46:58 -08:00
arm ARM: SoC fixes for v5.11, part 3 2021-02-03 09:50:59 -08:00
arm64 Fix the arm64 linear map range detection for tagged addresses and 2021-02-03 11:03:40 -08:00
c6x tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
csky local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
h8300 local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
hexagon local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
ia64 asm-generic/ia64 fixes, mark as orphaned 2021-01-28 10:00:26 -08:00
m68k local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
microblaze local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
mips mips/mm/highmem: use set_pte() for kmap_local() 2021-01-24 10:34:52 -08:00
nds32 local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
nios2 tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
openrisc openrisc: io: Add missing __iomem annotation to iounmap() 2021-01-20 06:14:26 +09:00
parisc parisc: Enable -mlong-calls gcc option by default when !CONFIG_MODULES 2021-01-26 20:16:21 +01:00
powerpc powerpc fixes for 5.11 #6 2021-01-31 11:37:43 -08:00
riscv riscv: Fixup pfn_valid error with wrong max_mapnr 2021-01-22 20:18:03 -08:00
s390 s390: uv: Fix sysfs max number of VCPUs reporting 2021-01-27 13:00:04 +01:00
sh Cleanup and warning fixes. 2021-01-24 13:52:02 -08:00
sparc sparc/mm/highmem: flush cache and TLB 2021-01-24 10:34:52 -08:00
um um: time: fix initialization in time-travel mode 2021-01-26 22:11:38 +01:00
x86 Revert "x86/setup: don't remove E820_TYPE_RAM for pfn 0" 2021-02-04 10:26:53 -08:00
xtensa local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
.gitignore
Kconfig fanotify: Fix sys_fanotify_mark() on native x86-32 2020-12-28 11:58:59 +01:00