Date: Thu, 19 Oct 2017 13:22:53 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324754 - head/sys/dev/psci Message-ID: <201710191322.v9JDMrMO055754@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710191322.v9JDMrMO055754>