From nobody Sun Jan 29 19:37:21 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P4hR60HYxz3btX1; Sun, 29 Jan 2023 19:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P4hR56y99z3GDP; Sun, 29 Jan 2023 19:37:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675021042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DM3njFhdGtHbTG7HIDyp/ZllezjDy0Zsp0ivDFL2ZMY=; b=S4VmaG0lei+TsV5+P+Jw+DAhJ54xu/0xC/frjyV0g8UNTLt/oV9iZY2rVGDH+b8E0hJXfh 4q9LawCYzd8+kg+vbUD2px9237AYDF0qApzJUTDJi5uU4EkmStfX1YxWtR9aPpo2hPV3Af VLsXoN+ZGtCL3iBp/hdbfvHSaQEZdg1xZ38XTz7XCr+rYBbWT7bRvOGxOiO0tICLBTQ7pm M+WyaldOK9FOB6FU89QNOqZbBRwmxlEWN2/NyT/9VHbbXStkWY3w2Hv+YkrljJbOn+MHJX LZJ4nPqgK5dNkuAa62tvfo68B8O/TD3IQ6o8g7eAtqiNi8bfVcyL0UoyTbHkvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675021042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DM3njFhdGtHbTG7HIDyp/ZllezjDy0Zsp0ivDFL2ZMY=; b=Mb5qCGKCJh80Zr+T6VyZHuiqJSSWgypU/DGuqvUXzNEsUQLV0MYgVBxOzs1HF/2hfJ25BF 0S8o13u5nF29jYEibqXFnK1rFKeOoiNqzH19uucslSaM+yyVg46by9TUEJeC8bZhKgKI/c slgoezfbBX0fOCX8HSw/nMmJOq7EXziLX62qM35XYyfC9KmUvzdrI6Xa4fhzu0EmRV7F28 KZ4Lw4tidnq1t34fJMFOlDvQU+DaIshJCJ/dT0gD/PeQhF+Cc4RGqg/Rbx52fOsAm7wkJP /d0NeI3hDRGGJk7iPxA0jsUyb4FKEMA2GMdZBjQX9y2rmlxzxbKhAq4VQm4T5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675021042; a=rsa-sha256; cv=none; b=LuCea3rt+XTaddx2lUXfQg6XAH9JClVojYPtYVmIfNjsgzUWMYAuw/OG1f4Wv3XlrIwJ0g xrAOKWDsP/Jpi/ma7WKuE9LsqMNdoA4zAVWobe43IGxBbFffp9uO55brTNkP1kjgChOF0T HnUtfLd6YXpk25Yg5a4EEXhc+EjmFq3j42QvVEvAzX2vVAyZMFdmC8yEm9fZyIZfGjm7/l Q6xefnG1c1Kd2xOboM7b3WA13RgWsjFGOcecB2R6tAoVv09B0AOL1V1O2O/F4NogYuULeU N2p7qT8fW1fJLXQDczuJqi2gCBMBjvaa4M9m9NrQ/rMPcUseTdb8/yS4lI+JUQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P4hR561CrzgBN; Sun, 29 Jan 2023 19:37:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30TJbL8N050180; Sun, 29 Jan 2023 19:37:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30TJbLsg050179; Sun, 29 Jan 2023 19:37:21 GMT (envelope-from git) Date: Sun, 29 Jan 2023 19:37:21 GMT Message-Id: <202301291937.30TJbLsg050179@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 7ca55fcc541b - main - Only call SMCCC init on arm64 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ca55fcc541b375c83eaf75f0658b79f250c82fd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=7ca55fcc541b375c83eaf75f0658b79f250c82fd commit 7ca55fcc541b375c83eaf75f0658b79f250c82fd Author: Andrew Turner AuthorDate: 2023-01-29 19:32:11 +0000 Commit: Andrew Turner CommitDate: 2023-01-29 19:33:41 +0000 Only call SMCCC init on arm64 We don't build the smccc code on arm so don't call into it there. --- sys/dev/psci/psci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/psci/psci.c b/sys/dev/psci/psci.c index 41a48e36dec9..65ce85572cc1 100644 --- a/sys/dev/psci/psci.c +++ b/sys/dev/psci/psci.c @@ -344,7 +344,9 @@ psci_attach(device_t dev, psci_initfn_t psci_init, int default_version) if (psci_init(dev, default_version)) return (ENXIO); +#ifdef __aarch64__ smccc_init(); +#endif psci_softc = sc;