2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/powerpc/platforms
Haren Myneni 0d67f0dee6 powerpc/vas: Return -EINVAL if the offset is non-zero in mmap()
The user space calls mmap() to map VAS window paste address
and the kernel returns the complete mapped page for each
window. So return -EINVAL if non-zero is passed for offset
parameter to mmap().

See Documentation/arch/powerpc/vas-api.rst for mmap()
restrictions.

Co-developed-by: Jonathan Greental <yonatan02greental@gmail.com>
Signed-off-by: Jonathan Greental <yonatan02greental@gmail.com>
Reported-by: Jonathan Greental <yonatan02greental@gmail.com>
Fixes: dda44eb29c ("powerpc/vas: Add VAS user space API")
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250610021227.361980-2-maddy@linux.ibm.com
2025-06-10 07:56:41 +05:30
..
8xx A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
44x A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
52xx A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
82xx powerpc-km82xx.c: replace of_node_put() with __free 2024-11-15 10:35:58 +11:00
83xx powerpc: 83xx/gpio: use new line value setter callbacks 2025-05-04 09:04:37 +05:30
85xx powerpc: Switch to irq_find_mapping() 2025-05-16 21:06:12 +02:00
86xx asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
512x powerpc: Switch to irq_domain_create_*() 2025-05-16 21:06:11 +02:00
amigaone irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
book3s powerpc/vas: Return -EINVAL if the offset is non-zero in mmap() 2025-06-10 07:56:41 +05:30
cell treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
chrp irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
embedded6xx powerpc: Switch to irq_find_mapping() 2025-05-16 21:06:12 +02:00
microwatt powerpc/microwatt: Add SMP support 2025-02-26 21:16:48 +05:30
pasemi irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
powermac treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
powernv powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap 2025-06-10 07:44:27 +05:30
ps3 A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
pseries A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
fsl_uli1575.c powerpc/fsl_uli1575: Mark uli_exclude_device() as static 2023-04-20 10:20:50 +10:00
Kconfig powerpc: Remove UDBG_RTAS_CONSOLE 2025-02-26 21:15:09 +05:30
Kconfig.cputype powerpc: Define config option for processors with broadcast TLBIE 2025-02-26 21:16:48 +05:30
Makefile powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00