summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/pseries
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-09-27 13:12:47 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-09-27 13:12:47 +0000
commitb4b3864eb0bde04901e921f56a4c88a4884b882f (patch)
tree87940e9ff38421a0b307f5dd3cda5673012b8ada /sys/powerpc/pseries
parent40809f1aaf52ffccc4f55985e5f79ecec25ea4b9 (diff)
downloadFreeBSD-src-b4b3864eb0bde04901e921f56a4c88a4884b882f.zip
FreeBSD-src-b4b3864eb0bde04901e921f56a4c88a4884b882f.tar.gz
Rework handling of ofw_quiesce(), making it the responsibility of the
platform modules. Whether to call this function or not is highly machine dependent: on some systems, it is required, while on others it breaks everything. Platform modules are in a better position to figure this out. This is required for POWER hypervisor SCSI to work correctly. There are no functional changes on Powermac systems. Approved by: re (kib)
Diffstat (limited to 'sys/powerpc/pseries')
-rw-r--r--sys/powerpc/pseries/platform_chrp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/pseries/platform_chrp.c b/sys/powerpc/pseries/platform_chrp.c
index 1a9be4c..8d0f857 100644
--- a/sys/powerpc/pseries/platform_chrp.c
+++ b/sys/powerpc/pseries/platform_chrp.c
@@ -151,6 +151,9 @@ chrp_attach(platform_t plat)
}
#endif
+ /* Some systems (e.g. QEMU) need Open Firmware to stand down */
+ ofw_quiesce();
+
return (0);
}
OpenPOWER on IntegriCloud