History

powerpc/64s: Remove PROT_SAO support

ISA v3.1 does not support the SAO storage control attribute required to implement PROT_SAO. PROT_SAO was used by specialised system software (Lx86) that has been discontinued for about 7 years, and is not thought to be used elsewhere, so removal should not cause problems. We rather remove it than keep support for older processors, because live migrating guest partitions to newer processors may not be possible if SAO is in use (or worse allowed with silent races). - PROT_SAO stays in the uapi header so code using it would still build. - arch_validate_prot() is removed, the generic version rejects PROT_SAO so applications would get a failure at mmap() time.

Nicholas Piggin committed 6 years ago

Commit 5c9fa161 parent f4ac17713 files · +17 −90Browse files

Showing the changes to include/linux (1 of 13 files). Show all

Unified · Split

include/linux/mm.h+0−2
@@ -317,8 +317,6 @@ extern unsigned int kobjsize(const void *objp); · 316 unmodified lines
317317
318318 #if defined(CONFIG_X86)
319319 # define VM_PAT VM_ARCH_1 /* PAT reserves whole VMA at once (x86) */
320−#elif defined(CONFIG_PPC)
321−# define VM_SAO VM_ARCH_1 /* Strong Access Ordering (powerpc) */
322320 #elif defined(CONFIG_PARISC)
323321 # define VM_GROWSUP VM_ARCH_1
324322 #elif defined(CONFIG_IA64)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t