android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Mark Nutter 6df10a82f8 [PATCH] spufs: enable SPE problem state MMIO access.
This patch is layered on top of CONFIG_SPARSEMEM
and is patterned after direct mapping of LS.

This patch allows mmap() of the following regions:
"mfc", which represents the area from [0x3000 - 0x3fff];
"cntl", which represents the area from [0x4000 - 0x4fff];
"signal1" which begins at offset 0x14000; "signal2" which
begins at offset 0x1c000.

The signal1 & signal2 files may be mmap()'d by regular user
processes.  The cntl and mfc file, on the other hand, may
only be accessed if the owning process has CAP_SYS_RAWIO,
because they have the potential to confuse the kernel
with regard to parallel access to the same files with
regular file operations: the kernel always holds a spinlock
when accessing registers in these areas to serialize them,
which can not be guaranteed with user mmaps,

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-27 14:48:28 +11:00
..
4xx
8xx
83xx powerpc: Fix mpc83xx restart bug 2006-02-16 14:32:08 -06:00
85xx powerpc: Add PCI support for 8540 ADS to powerpc tree 2006-02-21 23:48:59 -06:00
apus
cell [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
chrp [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
embedded6xx [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
iseries [PATCH] powerpc: iseries: Add bootargs to /chosen 2006-03-22 15:04:27 +11:00
maple Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00
powermac [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
prep
pseries [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature 2006-03-22 15:04:17 +11:00
Makefile [PATCH] powerpc: Updated Initial MPC8540 ADS port with OF Flat Dev 2006-01-20 16:11:06 +11:00