linux-stable-rt/arch/powerpc/sysdev
Jared Hulbert 30afcb4bd2 return pfn from direct_access, for XIP
Alter the block device ->direct_access() API to work with the new
get_xip_mem() API (that requires both kaddr and pfn are returned).

Some architectures will not do the right thing in their virt_to_page() for use
by XIP (to translate from the kernel virtual address returned by
direct_access(), to a user mappable pfn in XIP's page fault handler.

However, we can't switch it to just return the pfn and not the kaddr, because
we have no good way to get a kva from a pfn, and XIP requires the kva for its
read(2) and write(2) handlers.  So we have to return both.

Signed-off-by: Jared Hulbert <jaredeh@gmail.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Carsten Otte <cotte@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-mm@kvack.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:23 -07:00
..
bestcomm
qe_lib [POWERPC] QE: fix sparse warnings 2008-04-17 01:01:39 -05:00
Kconfig
Makefile [POWERPC] fsl_lbc: implement few UPM routines 2008-04-17 01:01:38 -05:00
axonram.c return pfn from direct_access, for XIP 2008-04-28 08:58:23 -07:00
cpm1.c [POWERPC] CPM: Always use new binding. 2008-04-17 01:01:40 -05:00
cpm2.c [POWERPC] CPM: Always use new binding. 2008-04-17 01:01:40 -05:00
cpm2_pic.c
cpm2_pic.h
cpm_common.c [POWERPC] CPM: Always use new binding. 2008-04-17 01:01:40 -05:00
dart.h
dart_iommu.c
dcr-low.S
dcr.c
fsl_lbc.c [POWERPC] fsl_lbc: implement few UPM routines 2008-04-17 01:01:38 -05:00
fsl_pci.c
fsl_pci.h
fsl_rio.c
fsl_rio.h
fsl_soc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-04-21 15:50:49 -07:00
fsl_soc.h [POWERPC] fsl_soc: Factor fsl_get_sys_freq() out of the wdt and spi inits. 2008-04-17 01:01:40 -05:00
grackle.c
i8259.c
indirect_pci.c
ipic.c
ipic.h
micropatch.c
mmio_nvram.c
mpc8xx_pic.c
mpc8xx_pic.h
mpic.c
mpic.h
mpic_msi.c
mpic_pasemi_msi.c
mpic_u3msi.c
mv64x60.h
mv64x60_dev.c [POWERPC] Initialize all mv64x60 devices even if one fails 2008-04-24 20:57:34 +10:00
mv64x60_pci.c
mv64x60_pic.c
mv64x60_udbg.c [POWERPC] Fix mv64x60 early console code to use cell-index property 2008-04-24 20:57:34 +10:00
of_rtc.c
pmi.c
ppc4xx_pci.c
ppc4xx_pci.h
ppc4xx_soc.c
rtc_cmos_setup.c
tsi108_dev.c
tsi108_pci.c
uic.c
xilinx_intc.c