android_kernel_xiaomi_sm8350/arch/ia64/sn/pci
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
..
pcibr [IA64-SGI] Fix sn_flush_device_kernel & spinlock initialization 2006-01-13 14:13:08 -08:00
Makefile [IA64-SGI] sn pci provider for TIOCE (pci 2005-08-11 15:56:31 -07:00
pci_dma.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2005-10-28 21:09:26 -07:00
tioca_provider.c [PATCH] ia64 sn __iomem annotations 2005-12-15 10:04:31 -08:00
tioce_provider.c [IA64] Replace kcalloc(1, with kzalloc. 2005-11-10 11:28:20 -08:00