diff options
| author | Vegard Nossum <[email protected]> | 2023-12-19 15:12:00 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2023-12-20 09:57:51 +0000 |
| commit | bc90aefa99f74452d549d503a3f1cbf3adc9c6bb (patch) | |
| tree | bec0e959b88282d31132cec1ed2154921815a725 /drivers/net/netkit.c | |
| parent | x86/asm: Always set A (accessed) flag in GDT descriptors (diff) | |
| download | kernel-bc90aefa99f74452d549d503a3f1cbf3adc9c6bb.tar.gz kernel-bc90aefa99f74452d549d503a3f1cbf3adc9c6bb.zip | |
x86/asm: Add DB flag to 32-bit percpu GDT entry
The D/B size flag for the 32-bit percpu GDT entry was not set.
The Intel manual (vol 3, section 3.4.5) only specifies the meaning of
this flag for three cases:
1) code segments used for %cs -- doesn't apply here
2) stack segments used for %ss -- doesn't apply
3) expand-down data segments -- but we don't have the expand-down flag
set, so it also doesn't apply here
The flag likely doesn't do anything here, although the manual does also
say: "This flag should always be set to 1 for 32-bit code and data
segments [...]" so we should probably do it anyway.
Signed-off-by: Vegard Nossum <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions
