-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kernel-debug-log] Kernel debug log #25
base: master
Are you sure you want to change the base?
Commits on Jul 3, 2024
-
move cache flush from untyped reset to retype
Do not perform cache flushing in clearMemory. Instead flush the cache only for those object types where it is necessary, and only when the object is retyped, not when the untyped cap is reset. This reduces overall need for flushing and delays it to the point of use. This should speed up boot time significantly, but may impact WCET, because the largest flush is now the largest page size (e.g. 24) instead of CONFIG_RESET_CHUNK_BITS (8). The user could already request a flush of the largest page size before, though, so it this may not actually impact WCET. Remains to be investigated. Why this is safe: - Flushing is only necessary for objects that are seen by other parts of the system, not for kernel-internal object. These objects are non-device frames (including IOMMU pages) and page tables. All other objects are only read/written by the kernel. Frames need to be flushed to RAM (as clearMemory did), because they could be seen uncached by devices. Page tables only to PoU for the page table walker. - Before createNewObject in retype, these objects do not exist and cannot be seen by any part of the system. createNewObject is the point where new objects can become visible to the user. - Theoretically, we could defer flushing further to the point where frames or page tables are mapped, but it is more complex to track whether a flush has already happened when they are mapped multiple times, whereas at retype the object cannot have been flushed already. - The original implementation, before clearing memory was moved into reset untyped, also flushed at the same points. Signed-off-by: Gerwin Klein <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d48258 - Browse repository at this point
Copy the full SHA 7d48258View commit details
Commits on Jul 8, 2024
-
fix parameter for log buffer cleanup
The function expects the size in bits. Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4856e6b - Browse repository at this point
Copy the full SHA 4856e6bView commit details -
configs: add zynqmp and rpi4 to verified platforms
The AARCH64 config now also works for functional correctness on zcu102/zcu106 and rpi4. Signed-off-by: Gerwin Klein <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b7c2a3 - Browse repository at this point
Copy the full SHA 4b7c2a3View commit details -
Axel Heider committed
Jul 8, 2024 Configuration menu - View commit details
-
Copy full SHA for 0592e21 - Browse repository at this point
Copy the full SHA 0592e21View commit details -
wip remove clearMemory() wrapper, cleanup
Axel Heider committedJul 8, 2024 Configuration menu - View commit details
-
Copy full SHA for 0ca3177 - Browse repository at this point
Copy the full SHA 0ca3177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c4f43 - Browse repository at this point
Copy the full SHA 09c4f43View commit details -
benchmark: use explicit field names
Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3c5ebe - Browse repository at this point
Copy the full SHA f3c5ebeView commit details -
benchmark: unify variable definitions
- unify benchmarking across all architectures - drop global variables ksExit, ksLogIndexFinalized - improve comments Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 497a13a - Browse repository at this point
Copy the full SHA 497a13aView commit details -
- cleanup includes and guards - hide includes if features are not enabled. - improve comments Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 250f2e3 - Browse repository at this point
Copy the full SHA 250f2e3View commit details -
benchmark: move ksUserLogBuffer declaration
Remove ksUserLogBuffer declaration from the state data and declare it in the benchmark code instead. Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 806519d - Browse repository at this point
Copy the full SHA 806519dView commit details -
add ENABLE_KERNEL_TRACEPOINTS Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 406934f - Browse repository at this point
Copy the full SHA 406934fView commit details -
benchmark: move ksUserLogBuffer declaration
Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44780d3 - Browse repository at this point
Copy the full SHA 44780d3View commit details -
benchmark: rework kernel entry/exit tracing
Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85850be - Browse repository at this point
Copy the full SHA 85850beView commit details -
benchmark: make benchmark_track.h obsolete
Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4deb96 - Browse repository at this point
Copy the full SHA b4deb96View commit details -
benchmark: consolidate track and trace points
- define core specific timestampEnter - remove generic ksExit Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8e75ca - Browse repository at this point
Copy the full SHA d8e75caView commit details -
benchmark: remove benchmark_track.h
Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 185e270 - Browse repository at this point
Copy the full SHA 185e270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17665bf - Browse repository at this point
Copy the full SHA 17665bfView commit details -
introduce CONFIG_ENABLE_KERNEL_LOG_BUFFER
Rename CONFIG_KERNEL_LOG_BUFFER to CONFIG_ENABLE_KERNEL_LOG_BUFFER to follow the logic used already for other automatically generated config settings. Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3873f52 - Browse repository at this point
Copy the full SHA 3873f52View commit details -
Signed-off-by: Axel Heider <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac1b73b - Browse repository at this point
Copy the full SHA ac1b73bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68cd694 - Browse repository at this point
Copy the full SHA 68cd694View commit details