android_kernel_xiaomi_sm8350/drivers/watchdog
Mark Nelson b6966b1be5 powerpc/wdrtas: Update wdrtas_get_interval to use rtas_data_buf
The buffer passed to the ibm,get-system-parameter RTAS call must be
in the RMA.  To ensure we pass an address in the RMA use rtas_data_buf
for the actual RTAS call and then copy the result to value.  We can't
just make it static because this can be compiled in as a module.

Also add the WDRTAS_SP_SPI_LEN so we don't litter '4' throughout the
function.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Tested-by: Adrian Reber <adrian@lisas.de>
Acked-by: Utz Bacher <utz.bacher@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2009-04-07 15:07:43 +10:00
..
acquirewdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
advantechwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
alim1535_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
alim7101_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
ar7_wdt.c
at32ap700x_wdt.c
at91rm9200_wdt.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
bfin_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
booke_wdt.c powerpc: Fix Book-E watchdog timer interval setting 2008-11-08 12:38:59 -06:00
cpu5wdt.c
cpwd.c [WATCHDOG] Fix io.h & uaccess.h includes. 2009-03-25 09:07:34 +00:00
davinci_wdt.c [WATCHDOG] davinci: convert to ioremap() + io[read|write] 2009-03-25 08:57:43 +00:00
ep93xx_wdt.c
eurotechwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
gef_wdt.c [WATCHDOG] gef_wdt.c: fsl_get_sys_freq() failure not noticed 2009-03-05 14:02:53 +00:00
geodewdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
hpwdt.c dmi: Let dmi_walk() users pass private data 2009-03-30 21:46:44 +02:00
i6300esb.c [WATCHDOG] i6300esb.c: start locking 2009-03-25 09:11:02 +00:00
ib700wdt.c [WATCHDOG] ib700wdt - add timeout parameter 2008-12-31 16:12:16 +00:00
ibmasr.c
indydog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
iop_wdt.c
it87_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
it8712f_wdt.c
iTCO_vendor_support.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
iTCO_vendor.h
iTCO_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
ixp4xx_wdt.c
ixp2000_wdt.c
Kconfig Merge commit 'origin/master' into next 2009-03-30 14:04:53 +11:00
ks8695_wdt.c [WATCHDOG] ks8695_wdt.c: 'CLOCK_TICK_RATE' undeclared 2009-03-05 13:59:05 +00:00
machzwd.c
Makefile [WATCHDOG] Pika Warp appliance watchdog timer 2009-01-12 20:08:56 +00:00
mixcomwd.c
mpc8xxx_wdt.c
mpc5200_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
mpcore_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
mtx-1_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
mv64x60_wdt.c
omap_wdt.c [ARM] omap: watchdog: provide a dummy ick for OMAP1 2009-02-08 17:50:16 +00:00
omap_wdt.h
orion5x_wdt.c [WATCHDOG] orion5x_wdt: fix compile issue by providing tclk as platform data 2009-03-25 09:02:50 +00:00
pc87413_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd_pci.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd_usb.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pika_wdt.c [WATCHDOG] Pika Warp appliance watchdog timer 2009-01-12 20:08:56 +00:00
pnx4008_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
rc32434_wdt.c [WATCHDOG] struct file_operations should be const 2009-03-25 09:06:18 +00:00
rdc321x_wdt.c x86, rdc321x: remove/move leftover files 2009-01-18 19:39:18 +01:00
riowd.c [WATCHDOG] Fix io.h & uaccess.h includes. 2009-03-25 09:07:34 +00:00
rm9k_wdt.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
s3c2410_wdt.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into s3c-moves2 2008-11-03 14:49:01 +00:00
sa1100_wdt.c Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
sb_wdog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sbc60xxwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sbc7240_wdt.c
sbc8360.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sbc_epx_c3.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sc520_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sc1200wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sch311x_wdt.c [WATCHDOG] Add SMSC SCH311x Watchdog Timer. 2008-12-31 16:12:47 +00:00
scx200_wdt.c
shwdt.c
smsc37b787_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
softdog.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
txx9wdt.c
w83627hf_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
w83697hf_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
w83697ug_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
w83877f_wdt.c
w83977f_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wafer5823wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wd501p.h [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wdrtas.c powerpc/wdrtas: Update wdrtas_get_interval to use rtas_data_buf 2009-04-07 15:07:43 +10:00
wdt285.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wdt977.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wdt_pci.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wdt.c [WATCHDOG] wdt.c: remove #ifdef CONFIG_WDT_501 2009-03-25 09:08:16 +00:00
wm8350_wdt.c [WATCHDOG] wm8350: Fix section annotations 2009-01-12 20:08:30 +00:00