mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue
Ben Hutchings authored
In Linux 4.14 and 4.19 these architectures still have their own
implementations of get_user_pages_fast().  These also need to force
the write flag on when taking the fast path.

Fixes: 407faed9 ("gup: document and work around "COW can break either way" issue")
Fixes: 5e240297

 ("gup: document and work around "COW can break either way" issue")
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
70b5928f
Name Last commit Last update
..
alpha alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
arc arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed
arm ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
arm64 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
blackfin pinctrl: adi2: Fix Kconfig build problem
c6x License cleanup: add SPDX license identifier to uapi header files with a license
cris bug.h: work around GCC PR82365 in BUG()
frv License cleanup: add SPDX license identifier to uapi header files with a license
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
hexagon hexagon: export raw I/O routines for modules
ia64 hugetlbfs: flush TLBs correctly after huge_pmd_unshare
m32r m32r: fix endianness constraints
m68k m68k: set a default value for MEMORY_RESERVE
metag .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore
microblaze microblaze: Prevent the overflow of the start
mips mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue
mn10300 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
nios2 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
openrisc openrisc: don't printk() unconditionally
parisc parisc: Avoid calling faulthandler_disabled() twice
powerpc powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
s390 mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue
score License cleanup: add SPDX license identifier to uapi header files with no license
sh mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue
sparc mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue
tile fcntl: don't cap l_start and l_end values for F_GETLK64 in compat syscall
um um: registers: Rename function names to avoid conflicts and build problems
unicore32 kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACK
x86 um: registers: Rename function names to avoid conflicts and build problems
xtensa xtensa: xtfpga: Try software restart before simulating CPU reset
.gitignore arch: Ignore arch/i386 and arch/x86_64
Kconfig x86: Make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol