android_kernel_xiaomi_sm8350/arch/ia64/sn/kernel
Prarit Bhargava 6d6e420005 [IA64-SGI] Fix sn_flush_device_kernel & spinlock initialization
This patch separates the sn_flush_device_list struct into kernel and
common (both kernel and PROM accessible) structures.  As it was, if the
size of a spinlock_t changed (due to additional CONFIG options, etc.) the
sal call which populated the sn_flush_device_list structs would erroneously
write data (and cause memory corruption and/or a panic).

This patch does the following:

1.  Removes sn_flush_device_list and adds sn_flush_device_common and
sn_flush_device_kernel.

2.  Adds a new SAL call to populate a sn_flush_device_common struct per
device, not per widget as previously done.

3.  Correctly initializes each device's sn_flush_device_kernel spinlock_t
struct (before it was only doing each widget's first device).

Signed-off-by: Prarit Bhargava <prarit@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2006-01-13 14:13:08 -08:00
..
sn2 [IA64-SGI] Missed TLB flush 2005-12-16 10:46:25 -08:00
bte_error.c [IA64-SGI] Altix BTE error handling fixes 2006-01-13 14:06:53 -08:00
bte.c [IA64-SGI] bte_copy nasid_index fix 2005-11-21 14:19:36 -08:00
huberror.c [IA64-SGI] Altix BTE error handling fixes 2006-01-13 14:06:53 -08:00
idle.c
io_init.c [IA64-SGI] Fix sn_flush_device_kernel & spinlock initialization 2006-01-13 14:13:08 -08:00
iomv.c
irq.c Merge linux-2.6 into linux-acpi-2.6 test 2005-09-03 02:44:09 -04:00
klconflib.c
machvec.c
Makefile
mca.c
setup.c [IA64-SGI] set altix preferred console 2005-11-11 11:24:26 -08:00
tiocx.c [PATCH] capable/capability.h (arch/) 2006-01-11 18:42:14 -08:00
xp_main.c
xp_nofault.S
xpc_channel.c [IA64-SGI] move xpc.h to include/asm-ia64/sn (cleanup) 2006-01-13 10:40:23 -08:00
xpc_main.c [IA64-SGI] move xpc.h to include/asm-ia64/sn (cleanup) 2006-01-13 10:40:23 -08:00
xpc_partition.c [IA64-SGI] move xpc.h to include/asm-ia64/sn (cleanup) 2006-01-13 10:40:23 -08:00
xpnet.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00