svn commit: r324754 - head/sys/dev/psci
Andrew Turner
andrew at FreeBSD.org
Thu Oct 19 13:22:54 UTC 2017
Author: andrew
Date: Thu Oct 19 13:22:52 2017
New Revision: 324754
URL: https://svnweb.freebsd.org/changeset/base/324754
Log:
Allow later PSCI revisions to also work. The latest ARM Trusted Firmware
reports version 1.1 so the check was failing. As thjis is a minor change
from 1.0, and future 1.x revisions are also expected to be backwards
compatible just ignore the minor revision in the init handler.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/psci/psci.c
Modified: head/sys/dev/psci/psci.c
==============================================================================
--- head/sys/dev/psci/psci.c Thu Oct 19 12:55:11 2017 (r324753)
+++ head/sys/dev/psci/psci.c Thu Oct 19 13:22:52 2017 (r324754)
@@ -493,7 +493,7 @@ psci_v0_2_init(device_t dev)
return (1);
if ((PSCI_VER_MAJOR(version) == 0 && PSCI_VER_MINOR(version) == 2) ||
- (PSCI_VER_MAJOR(version) == 1 && PSCI_VER_MINOR(version) == 0)) {
+ PSCI_VER_MAJOR(version) == 1) {
if (bootverbose)
device_printf(dev, "PSCI version 0.2 available\n");
More information about the svn-src-head
mailing list