From nobody Wed Jan 25 07:29:18 2023 X-Original-To: dev-commits-src-all@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 4P1wSv0K1Wz3bwM8; Wed, 25 Jan 2023 07:29:19 +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 4P1wSt6wvNz3LC7; Wed, 25 Jan 2023 07:29:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674631759; 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=J/HvG7K1aUcpBZ5HE5swGccLx7QO4aEM3aAOfhUtdZk=; b=nruNmd8MPBUyLPqU6vmndiaGi85mCfexq2IkAvCt8+w2li+HqSvMU3Gj7033oLQNNeOQ15 O/AJ5zP7B6uY55yfXpTaGIlC3P8M1e7jLJuDZ5F0zUhUTVL/Pi2+tH/nLE4/4qeeud4sAq mbjzTjdnAq/f/tT2sRRvUUjvifBP48v/x4moje/nhPqIYb4UfTgiNPn14+Zg3juarAcr+D /oDydtwptz3UmkBPIRceGXs4PUNih4znZ5LEiSWlqPGYxRS5cKwLmDEGNBzUHxXBwVgbap 2F/OetoWu1YjZW9iCAVm1Y9NJ8UqJi+wfJjuTaUUXoWtdP1HsQrDBTeca8+jEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674631759; 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=J/HvG7K1aUcpBZ5HE5swGccLx7QO4aEM3aAOfhUtdZk=; b=WjlDrBMDIMnGPT9FwQmlxDdyMtqcBt3ToFxf30L/kFoW36VYZs5WSz9shsFvBPp2AANgSf HNOssJYgaFRec7wKokI5ueERFgPzsVsvk3kfxgtnmoNCRmqTnwOKWAU2h83r5djLgzpnH6 9NlpkmVxAVgzqztTkvhjpt9UQmb2C5DJplxYkBXzKSK/6V3DOVHY/6WiZ6G8x6cgVqYypd 4lR8DSVgInMWIRhthLU5vGnQXDwjvNNt9OAN+D4S/BUaQC2Xsaup7dO+lHjpC2NmfsmJIV sDjJSDGAX61ksBMXl472Lqi0BUqD+3AtiFPPDQkpcDyMwqMAPhNU3EKzSvrV6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674631759; a=rsa-sha256; cv=none; b=sYq9+6oL+GybcWbFXE/A1/xFrG1DO83RE6G07Hm+68CYLVAc51D2j1reTVMLjnMcM07CEA 0rh8r//qwY/efVZCM53SHBbIRMqCVxpCLqekWuVNJGfrMKZXVXEKYl1kMoZoVBnNfkd0aA g71ekhgJrd9AUjDNYfGOmbG3a9UsmFaK12C6+Bqn2bUPKs5PjQEzjBL17/GLL5Jv9d/Bjn B+r5q65Z4NIKxNzQqn3hK+2hMp/HzO7+mEQeipzhPHR1H7zmH8nAOoVB4mI819yVKNsmTR SdhsaaPKi/UUD+uNDJ5A5Xv5yo/Qj2edGEcOSyuC7mmCmlCV3o+HlApbSdVbmg== 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 4P1wSt5z7NzgRx; Wed, 25 Jan 2023 07:29:18 +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 30P7TIQq084369; Wed, 25 Jan 2023 07:29:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30P7TIOW084368; Wed, 25 Jan 2023 07:29:18 GMT (envelope-from git) Date: Wed, 25 Jan 2023 07:29:18 GMT Message-Id: <202301250729.30P7TIOW084368@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 5a0061214930 - main - arm64: Move device scmi to std.arm List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5a00612149308403ecbf26f56a46f11190211911 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=5a00612149308403ecbf26f56a46f11190211911 commit 5a00612149308403ecbf26f56a46f11190211911 Author: Emmanuel Vadot AuthorDate: 2023-01-25 07:28:22 +0000 Commit: Emmanuel Vadot CommitDate: 2023-01-25 07:28:22 +0000 arm64: Move device scmi to std.arm The scmi driver in its current form requires the arm_doorbell driver to communicate with the firmware. The arm_doorbell is only found in ARM Juno reference board (and apparently on Morello too). If we want to use scmi on other platform (like some rockchip or imx soc), the driver needs to be updated to support svc/shmem communication with the firmware. For now since it can be only used with arm_doorbell move the device to std.arm otherwise kernel configs like ALLWINNER or ROCKCHIP fails to build. Reviewed by: br, imp Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D37953 --- sys/arm64/conf/std.arm | 3 +++ sys/arm64/conf/std.dev | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arm64/conf/std.arm b/sys/arm64/conf/std.arm index d17c80b78fff..2b40fd7b0eb8 100644 --- a/sys/arm64/conf/std.arm +++ b/sys/arm64/conf/std.arm @@ -11,6 +11,9 @@ device pl061 # Arm PL061 GPIO controller # Serial (COM) ports device pl011 +# Firmware +device scmi # System Control Management Interface + device arm_doorbell # ARM Message Handling Unit (MHU) options FDT diff --git a/sys/arm64/conf/std.dev b/sys/arm64/conf/std.dev index affe3d3014a3..1725cec626e4 100644 --- a/sys/arm64/conf/std.dev +++ b/sys/arm64/conf/std.dev @@ -109,6 +109,4 @@ options HID_DEBUG # enable debug msgs device hid # Generic HID support # Firmware -device scmi # System Control Management Interface - device mmio_sram # Generic on-chip SRAM