Keep architecture-neutral policy and behavior in shared code. Architecture directories should contain only mechanisms that genuinely differ, such as entry code, context switching, interrupt plumbing, and platform bring-up. A userspace-visible change must preserve equivalent behavior on x86_64 and AArch64 unless the architecture ABI requires a documented difference.
All source code, comments, commit messages, and repository documentation must be written in English.
Before submitting a change:
- Start from the appropriate defconfig and confirm generated files are not staged.
- Build both x86_64 and AArch64 when shared code is affected.
- Run the focused unit and ABI checks for the changed subsystem.
- Run the syscall inventory and cross-architecture sharing checks for ABI changes.
- Keep third-party notices intact and do not add code whose license is incompatible with the repository.
- Keep distribution images, root filesystems, local VM state, and build products out of this repository.
Prefer small, coherent commits that can be reviewed and reverted independently.