From nobody Fri Jul 08 18:53:31 2022 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 1751417FC82A; Fri, 8 Jul 2022 18:53:32 +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 4Lfj9803ynz3MJ3; Fri, 8 Jul 2022 18:53:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657306412; 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=a0ESBFxfkHTQ0EAkE/h43LFgmWojOhsCl+ZQ5X4OKIY=; b=hfFeq0pQg0X6QmJxyExaIkGGPHmI0EXddK7Ic07t8fBL1lJyfEUHzTP7Jf03wK9ZjoWlZ2 FtZBY6W7s9uKRd1r1E2P2kbC7dKetx+XrA0i4/gqWBh+xmzS0NQbhedN8mMBZeNxP9Ukxg RdXpTbPV4VxZeIp9iw+Nf9x63YsGgBEh8MEWnoG4eSKhDy00mgPN7osaJE5PjQp0SwFLsL yW4jdjxDMOh4SPWAbhRslSiSMUxl+rfsJt6RaTj2H269LYSKM5h7jtHTABczUYIfzD+u9P Md6+xrv9eQoV5HF1gPtr9S7CQfAQApVuYRVYgmUgPBFIZBFOTEUu0d6cV6ALHg== 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 4Lfj976DsBzHgs; Fri, 8 Jul 2022 18:53:31 +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 268IrVgJ060306; Fri, 8 Jul 2022 18:53:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 268IrVpL060305; Fri, 8 Jul 2022 18:53:31 GMT (envelope-from git) Date: Fri, 8 Jul 2022 18:53:31 GMT Message-Id: <202207081853.268IrVpL060305@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alfredo Dal'Ava Junior" Subject: git: 56e8444a1709 - main - zfs: fixup build on powerpc64le 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: alfredo X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 56e8444a170934a09e200ee8ced1feccb1d32225 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657306412; 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=a0ESBFxfkHTQ0EAkE/h43LFgmWojOhsCl+ZQ5X4OKIY=; b=dy7UVIG3SkqqQ44Lk4il5lsydLbG5DTrFXzqfBNSwnEn9FPiVUT/p1T5ReQhfCHC3QEOMS 1JpvnAS45qusrKuLkpTGCdBJ1gB6ODksMlYBfea+M+Tj1nEnNSL5TiIrurupXNRcBdKrTO 6Q/8eqUYi8pFjVAkUQsmHA+RUDQu4PnJQmOgNXsKLFsvlPUqObDa7G77lNJ2fVQMZHwRLp BsZ+KMQDa/8FTFbBP2EBuL6eCMVaa0fX367lf10R1SJOKG/IMaczGTPSb8yd1+xU3yGSm4 2jx5sUfDXTn5QRc/2rVevH4xWX1LxnHp5uZDp1ABewZ7cl+U47hYBCuuPIwLBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657306412; a=rsa-sha256; cv=none; b=bpg1/7bdAgYnp5Xqr/0DReBiew9KqIiRmDyjD9hcePW5hhDpnp369jZtClJIph9AvwJxOJ QTRIrH2TpsRiNk90IJu88xRxuX55f43xqA0jwjrLqhGYFNOHbB/00m255RZH7VLWOcoAWl hVx4oW/imMvLUtciHuGs812G5oEJh6b6vNk0wHJkLfk5f0H7ZHG0ZkV7Yje3Ewd7aKUjyR 6zSfWk37rssH5cBs4he+UxK3MgjGHHv+zVxNGRljTtxemvcGsY2P0PaklQwYEK5O0puLgf DYQpoBEOtySf8qX13STl8d1KteXN2tw7AOVruqKM78g8nL8aRJ6fTB6rDidBWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by alfredo: URL: https://cgit.FreeBSD.org/src/commit/?id=56e8444a170934a09e200ee8ced1feccb1d32225 commit 56e8444a170934a09e200ee8ced1feccb1d32225 Author: Alfredo Dal'Ava Junior AuthorDate: 2022-07-08 21:42:53 +0000 Commit: Alfredo Dal'Ava Junior CommitDate: 2022-07-08 21:52:14 +0000 zfs: fixup build on powerpc64le This complements 0a7fa9d11b2007331857c9575bd9b77d86c88fe4 removing a #warning added intentionally, replacing it by a "TODO" comment. PR: 265003 --- sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c b/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c index 505439565069..47070e7a6395 100644 --- a/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c +++ b/sys/contrib/openzfs/module/icp/algs/blake3/blake3_x86-64.c @@ -75,11 +75,9 @@ static boolean_t blake3_is_sse2_supported(void) #if defined(__x86_64) return (kfpu_allowed() && zfs_sse2_available()); #elif defined(__PPC64__) && defined(__linux__) + /* TODO: implement vsx handler or FreeBSD */ return (kfpu_allowed() && zfs_vsx_available()); #else -#if defined(__PPC64__) && defined(__FreeBSD__) -#warning FIXME: implement vsx handler for FreeBSD -#endif return (kfpu_allowed()); #endif } @@ -144,11 +142,9 @@ static boolean_t blake3_is_sse41_supported(void) #if defined(__x86_64) return (kfpu_allowed() && zfs_sse4_1_available()); #elif defined(__PPC64__) && defined(__linux__) + /* TODO: implement vsx handler or FreeBSD */ return (kfpu_allowed() && zfs_vsx_available()); #else -#if defined(__PPC64__) && defined(__FreeBSD__) -#warning FIXME: implement vsx handler for FreeBSD -#endif return (kfpu_allowed()); #endif }