Commit 31fb6f4
arm64: mm: Handle alignment faults
Allow kernel/user space code to perform unaligned accesses to memory
regions that do not normally support them (e.g. device mappings) by
trapping alignment faults on common load/store instructions and
breaking up the offending accesses into naturally aligned ones.
Signed-off-by: Mario Bălănică <mariobalanica02@gmail.com>1 parent 0deed8f commit 31fb6f4
File tree
5 files changed
+1046
-2
lines changed- arch/arm64
- include/asm
- kernel
- mm
5 files changed
+1046
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
1699 | 1708 | | |
1700 | 1709 | | |
1701 | 1710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments