linux/arch/powerpc/platforms
Tseng-Hui (Frank) Lin 851d2e2fe8 powerpc: Add Initiate Coprocessor Store Word (icswx) support
Icswx is a PowerPC instruction to send data to a co-processor. On Book-S
processors the LPAR_ID and process ID (PID) of the owning process are
registered in the window context of the co-processor at initialization
time. When the icswx instruction is executed the L2 generates a cop-reg
transaction on PowerBus. The transaction has no address and the
processor does not perform an MMU access to authenticate the transaction.
The co-processor compares the LPAR_ID and the PID included in the
transaction and the LPAR_ID and PID held in the window context to
determine if the process is authorized to generate the transaction.

The OS needs to assign a 16-bit PID for the process. This cop-PID needs
to be updated during context switch. The cop-PID needs to be destroyed
when the context is destroyed.

Signed-off-by: Sonny Rao <sonnyrao@linux.vnet.ibm.com>
Signed-off-by: Tseng-Hui (Frank) Lin <thlin@linux.vnet.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-05-04 15:19:26 +10:00
..
8xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
40x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
44x powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
52xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
82xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
83xx Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
85xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
86xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
512x powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
chrp powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
embedded6xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
iseries powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
maple powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pasemi Fix common misspellings 2011-03-31 11:26:23 -03:00
powermac powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 powerpc/ps3: Update debug message for irq_set_chip_data() 2011-04-27 14:18:39 +10:00
pseries powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00
Kconfig powerpc/pci: Move IO workarounds to the common kernel dir 2011-04-27 14:18:29 +10:00
Kconfig.cputype powerpc: Add Initiate Coprocessor Store Word (icswx) support 2011-05-04 15:19:26 +10:00
Makefile powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00