zephyr/arch
Nicolas Pitre abb50e1605 arch/arm64/mmu: fix table discarding code
First, we have commit 7d27bd0b85 ("arch: arm64: Disable infinite
recursion warning for `discard_table`") that blindly shut up a compiler
warning that did actually highlighted a real bug. Revert that and fix
the bug properly. And yes, mea culpa for having been the first to
approve that commit, or even creating the bug in the first place.

Then let's add proper table usage cound handling for discard_table() to
work properly and avoid leaking table pages.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-03-07 08:33:05 +01:00
..
arc treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
arm arch: arm: aarch32: Add ability to generate zImage header 2023-02-27 17:34:12 +01:00
arm64 arch/arm64/mmu: fix table discarding code 2023-03-07 08:33:05 +01:00
common linker: rom_start_offset: add to address instead of set 2023-02-22 08:46:52 -05:00
mips include: types: remove ulong_t 2022-09-06 18:16:33 +02:00
nios2 arch: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-20 09:28:38 -05:00
posix arch: posix: Remove unused offset symbols 2023-02-23 16:44:07 +01:00
riscv arch: riscv: Remove unused offset symbols 2023-02-23 16:44:07 +01:00
sparc arch: sparc: Remove unused offset symbols 2023-02-23 16:44:07 +01:00
x86 arch: x86: Remove unused offset symbols 2023-02-23 16:44:07 +01:00
xtensa xtensa: stop execution under simulator for double exception 2023-01-23 10:09:18 +00:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig arch: riscv enable flash config 2023-02-28 10:29:03 +01:00