On 06.12.23 09:44, Jan Beulich wrote:
On 06.12.2023 08:10, Juergen Gross wrote:As the hypervisor is disabling unaligned accesses for Arm32, set the -mno-unaligned-access compiler option for building. This will prohibit unaligned accesses when e.g. accessing 2- or 4-byte data items in packed data structures.Signed-off-by: Juergen Gross <jgr...@suse.com>Assuming this will want backporting, should it have some Fixes: tag?
IMHO this might not be needed, but the Arm maintainers should have the final say. This option is especially important after the whole series has been applied, as get_unaligned() and put_unaligned() can then be used in Arm32 code, too. And without the added option this could cause crashes. Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature