2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/video
Roland Dreier 8b150478ae [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses
Change the phys_mem_access_prot() function to take a pfn instead of an
address.  This allows mmap64() to work on /dev/mem for addresses above 4G
on 32-bit architectures.  We start with a pfn in mmap_mem(), so there's no
need to convert to an address; in fact, it's actively bad, since the
conversion can overflow when the address is above 4G.

Similarly fix the ppc32 page_is_ram() function to avoid a conversion to an
address by directly comparing to max_pfn.  Working with max_pfn instead of
high_memory fixes page_is_ram() to give the right answer for highmem pages.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-10-29 14:25:49 +10:00
..
aty [PATCH] pmac/radeonfb: Add suspend support for M11 chip in new iBook 12" 2005-10-01 17:01:48 -07:00
backlight [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
console [PATCH] SVGATextMode fix 2005-10-17 08:59:10 -07:00
geode [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
i810 [PATCH] i810-i2c iomem annotations 2005-09-29 08:46:27 -07:00
intelfb [PATCH] intelfb: Fix regression (blank display) from ioremap patch 2005-09-29 08:54:20 -07:00
kyro Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
logo Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
matrox [PATCH] matroxfb adjustments 2005-09-13 08:22:32 -07:00
nvidia [PATCH] nvidiafb: Fix absence of cursor in nvidiafb 2005-09-20 17:36:38 -07:00
riva [PATCH] PCI: remove CONFIG_PCI_NAMES 2005-09-08 14:57:23 -07:00
savage [PATCH] savagefb: Fix load failure of the Twister chipset 2005-09-15 08:24:09 -07:00
sis [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
68328fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amba-clcd.c [PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555 2005-04-30 23:28:47 +01:00
amifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arcfb.c [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
asiliantfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.c [PATCH] au1100fb: convert to C99 inits. 2005-06-25 16:24:57 -07:00
au1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt431.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt455.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbcopyarea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbfillrect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbimgblt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg14.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chipsfb.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
cirrusfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clps711xfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyber2000fb.c [PATCH] ARM: Cleanup kmalloc in cyber2000fb 2005-05-03 12:23:56 +01:00
cyber2000fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyblafb.c [PATCH] cyblafb: portability fixes, sanitized work with pointers 2005-09-29 08:46:26 -07:00
dnfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
edid.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
epson1355fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcmap.c [PATCH] fbdev: update info->cmap when setting cmap from user-/kernelspace. 2005-07-27 16:26:19 -07:00
fbcvt.c [PATCH] fbdev: Fix reversed back and front porches 2005-09-20 17:36:38 -07:00
fbmem.c [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses 2005-10-29 14:25:49 +10:00
fbmon.c [PATCH] fbdev: Initialize var structure in calc_mode_timings 2005-09-09 14:03:40 -07:00
fbsysfs.c [PATCH] Return the line length via sysfs for fbdev 2005-10-24 14:08:29 -07:00
ffb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
g364fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbefb.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
hgafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hitfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
igafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
imsttfb.c [PATCH] imsttfb missing iomem annotations 2005-04-26 07:43:42 -07:00
imxfb.c [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
imxfb.h [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable 2005-07-17 20:15:36 +01:00
Kconfig [PATCH] intelfb: Fix regression (blank display) from ioremap patch 2005-09-29 08:54:20 -07:00
leo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmodes.c [PATCH] macmodes: needs a license 2005-06-14 07:19:35 -07:00
macmodes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] s3c2410fb: ARM S3C2410 framebuffer driver 2005-09-09 14:03:42 -07:00
maxinefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
modedb.c [PATCH] fbdev: Add VESA Coordinated Video Timings (CVT) support 2005-09-09 14:03:39 -07:00
neofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
offb.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
p9100.c [SPARC]: Fix p9100 framebuffer in 2.6 2005-10-07 13:05:56 -07:00
platinumfb.c [PATCH] openfirmware: generate device table for userspace 2005-07-06 12:55:20 -07:00
platinumfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm2fb.c [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
pm3fb.c [PATCH] drivers/video: Replace custom macro with isdigit() 2005-09-13 08:22:33 -07:00
pmag-aa-fb.c [PATCH] DEC PMAG AA framebuffer update 2005-09-05 00:06:03 -07:00
pmag-ba-fb.c [PATCH] DEC PMAG BA frame buffer update 2005-09-05 00:06:03 -07:00
pmagb-b-fb.c [PATCH] DEC PMAGB B framebuffer update 2005-09-05 00:06:03 -07:00
pvr2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pxafb.c [ARM] pxafb: Remove #if DEBUG, convert DPRINTK to pr_debug 2005-09-29 09:44:54 +01:00
pxafb.h [ARM] pxafb: Remove #if DEBUG, convert DPRINTK to pr_debug 2005-09-29 09:44:54 +01:00
q40fb.c [PATCH] Remove non-arch consumers of asm/segment.h 2005-09-07 16:57:34 -07:00
radeonfb.c [PATCH] disable debug info in radeonfb old driver 2005-08-18 12:53:57 -07:00
retz3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
retz3fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s1d13xxxfb.c [PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion 2005-09-05 00:06:15 -07:00
s3c2410fb.c [PATCH] s3c2410fb: Minor warning fix 2005-09-29 08:54:20 -07:00
s3c2410fb.h [PATCH] s3c2410fb: ARM S3C2410 framebuffer driver 2005-09-09 14:03:42 -07:00
S3triofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sa1100fb.c [PATCH] zaurus: fix compilation with cpufreq disabled 2005-10-14 17:10:12 -07:00
sa1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgivwfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skeletonfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softcursor.c [PATCH] fbdev: stack reduction 2005-06-21 19:07:41 -07:00
sstfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcx.c [SPARC]: TCX Framebuffer fixes 2005-04-24 20:39:15 -07:00
tdfxfb.c [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection 2005-05-01 08:59:25 -07:00
tgafb.c [PATCH] Fix tgafb.c compile failure 2005-04-21 14:09:42 -07:00
tridentfb.c [PATCH] framebuffer: new driver for cyberblade/i1 graphics core 2005-09-09 13:58:02 -07:00
tx3912fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vesafb.c [PATCH] vesafb: Fix display corruption on display blank 2005-10-18 08:43:29 -07:00
vfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vga16fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vgastate.c [PATCH] vfree and kfree cleanup in drivers/ 2005-09-10 10:06:30 -07:00
virgefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w100fb.c [PATCH] w100fb: Rewrite for platform independence 2005-09-07 16:57:53 -07:00
w100fb.h [PATCH] w100fb: Rewrite for platform independence 2005-09-07 16:57:53 -07:00