OSDN Git Service

powerpc/pseries: Add PFO support to the VIO bus
authorKent Yoder <key@linux.vnet.ibm.com>
Thu, 12 Apr 2012 05:08:22 +0000 (05:08 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 14 May 2012 00:49:09 +0000 (10:49 +1000)
commitf2ab6219969fcb79dca6792a484b0bdc95ab1f81
treeb3ce8198d1d0fa36f68544278a16cacda1e103c0
parent4726b7b5e5a0a3d11a3c80ae8e2d5395003c51af
powerpc/pseries: Add PFO support to the VIO bus

Add support for the Platform Facilities Option (PFO) to the VIO bus.
These devices have a separate root node in OpenFirmware which
requires additional parsing to map into the existing VIO device
structure fields. This adds the interface for PFO device drivers to
make synchronous hypervisor calls.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/vio.h
arch/powerpc/kernel/vio.c