WSL2-Linux-Kernel/drivers/staging/gasket
Ira Weiny 73b0140bf0 mm/gup: change GUP fast to use flags rather than a write 'bool'
To facilitate additional options to get_user_pages_fast() change the
singular write parameter to be gup_flags.

This patch does not change any functionality.  New functionality will
follow in subsequent patches.

Some of the get_user_pages_fast() call sites were unchanged because they
already passed FOLL_WRITE or 0 for the write parameter.

NOTE: It was suggested to change the ordering of the get_user_pages_fast()
arguments to ensure that callers were converted.  This breaks the current
GUP call site convention of having the returned pages be the final
parameter.  So the suggestion was rejected.

Link: http://lkml.kernel.org/r/20190328084422.29911-4-ira.weiny@intel.com
Link: http://lkml.kernel.org/r/20190317183438.2057-4-ira.weiny@intel.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marshall <hubcap@omnibond.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-05-14 09:47:46 -07:00
..
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO staging: gasket: TODO: re-implement using UIO 2018-09-10 18:08:06 +02:00
apex.h staging: gasket: apex: move driver-private defines out of apex.h 2018-08-01 20:07:03 +02:00
apex_driver.c staging: gasket: apex: Prefer using the BIT macro 2019-03-29 17:15:55 +01:00
gasket.h staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
gasket_constants.h staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
gasket_core.c staging: gasket: remove debug logs for callback invocation 2018-10-19 21:12:28 +02:00
gasket_core.h staging: gasket: Fix sparse "incorrect type in assignment" warnings. 2018-10-19 21:12:29 +02:00
gasket_interrupt.c staging: gasket: gasket_interuppt.c: Fix string split issue. 2019-03-18 07:49:45 +01:00
gasket_interrupt.h staging: gasket: interrupt: simplify interrupt init parameters 2018-08-27 19:43:44 +02:00
gasket_ioctl.c staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
gasket_ioctl.h staging: gasket: common ioctl dispatcher add __user annotations 2018-07-21 08:50:36 +02:00
gasket_page_table.c mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
gasket_page_table.h staging: gasket: page table: fix header file include guard symbol 2018-08-01 20:07:03 +02:00
gasket_sysfs.c Staging: gasket: gasket_sysfs.c: Fix string split issue. 2019-03-18 18:53:17 +01:00
gasket_sysfs.h staging: gasket: Replace macro __ATTR with __ATTR_NULL 2019-03-18 07:05:58 +01:00