diff options
| author | Huacai Chen <[email protected]> | 2025-09-18 11:44:01 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-09-18 11:44:01 +0000 |
| commit | a9d13433fe17be0e867e51e71a1acd2731fbef8d (patch) | |
| tree | a9794c6999096d3c37dcde61b1fa8cd03cd97768 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | LoongArch: Update help info of ARCH_STRICT_ALIGN (diff) | |
| download | kernel-a9d13433fe17be0e867e51e71a1acd2731fbef8d.tar.gz kernel-a9d13433fe17be0e867e51e71a1acd2731fbef8d.zip | |
LoongArch: Align ACPI structures if ARCH_STRICT_ALIGN enabled
ARCH_STRICT_ALIGN is used for hardware without UAL, now it only control
the -mstrict-align flag. However, ACPI structures are packed by default
so will cause unaligned accesses.
To avoid this, define ACPI_MISALIGNMENT_NOT_SUPPORTED in asm/acenv.h to
align ACPI structures if ARCH_STRICT_ALIGN enabled.
Cc: [email protected]
Reported-by: Binbin Zhou <[email protected]>
Suggested-by: Xi Ruoyao <[email protected]>
Suggested-by: Jiaxun Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
