mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-22 19:33:24 +00:00
As of today we enable unaligned access unconditionally on ARCv2.
Do this under a Kconfig option to allow disable it for test, benchmarking
etc. Also while at it
- Select HAVE_EFFICIENT_UNALIGNED_ACCESS
- Although gcc defaults to unaligned access (since GNU 2018.03), add the
right toggles for enabling or disabling as appropriate
- update bootlog to prints both HW feature status (exists, enabled/disabled)
and SW status (used / not used).
- wire up the relaxed memcpy for unaligned access
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[vgupta: squashed patches, handle gcc -mno-unaligned-access quick]
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| memcmp.S | ||
| memcpy-700.S | ||
| memcpy-archs-unaligned.S | ||
| memcpy-archs.S | ||
| memset-archs.S | ||
| memset.S | ||
| strchr-700.S | ||
| strcmp-archs.S | ||
| strcmp.S | ||
| strcpy-700.S | ||
| strlen.S | ||