android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Michael Ellerman 83f34df4e7 Add dcr_host_t.base in dcr_read()/dcr_write()
Now that all users of dcr_read()/dcr_write() add the dcr_host_t.base, we
can save them the trouble and do it in dcr_read()/dcr_write().

As some background to why we just went through all this jiggery-pokery,
benh sayeth:

 Initially the goal of the dcr_read/dcr_write routines was to operate like
 mfdcr/mtdcr which take absolute DCR numbers. The reason is that on 4xx
 hardware, indirect DCR access is a pain (goes through a table of
 instructions) and it's useful to have the compiler resolve an absolute DCR
 inline.

 We decided that wasn't worth the API bastardisation since most places
 where absolute DCR values are used are low level 4xx-only code which may
 as well continue using mfdcr/mtdcr, while the new API is designed for
 device "instances" that can exist on 4xx and Axon type platforms and may
 be located at variable DCR offsets.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-15 14:29:49 -04:00
..
8xx [POWERPC] 8xx/wrapper: Embedded Planet EP88xC support 2007-10-04 11:02:40 -05:00
40x [POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x 2007-10-11 15:01:50 -05:00
44x Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-10-11 21:55:47 -07:00
52xx Lite5200 shouldn't mess with ROOT_DEV 2007-10-14 08:56:33 -07:00
82xx [POWERPC] mpc82xx: Add pq2fads board support. 2007-10-04 11:02:47 -05:00
83xx [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
85xx [POWERPC] 85xx: Killed <asm/mpc85xx.h> 2007-10-11 09:14:31 -05:00
86xx [POWERPC] 85xx/86xx: refactor RSTCR reset code 2007-10-08 08:38:47 -05:00
cell Add dcr_host_t.base in dcr_read()/dcr_write() 2007-10-15 14:29:49 -04:00
celleb [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
chrp [POWERPC] Platforms shouldn't mess with ROOT_DEV 2007-10-11 20:40:43 +10:00
embedded6xx [POWERPC] Use for_each_ matching routinues for pci PHBs 2007-10-08 08:38:40 -05:00
iseries [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
maple
pasemi Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
powermac Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
prep
ps3 PS3 system bus add_uevent_var() fallout 2007-10-15 08:16:26 -07:00
pseries [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
fsl_uli1575.c
Kconfig [POWERPC] Add early debug console for CPM serial ports. 2007-10-03 20:35:43 -05:00
Kconfig.cputype [POWERPC] add Kconfig option for optimizing for cell 2007-09-22 14:49:22 +10:00
Makefile