From nobody Fri Apr 07 23:29:22 2023 X-Original-To: freebsd-arm@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 4PtZMf1BQLz44Ky8; Fri, 7 Apr 2023 23:29:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtZMf0mH9z3CJD; Fri, 7 Apr 2023 23:29:34 +0000 (UTC) (envelope-from kevans@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680910174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6viBdwh71p7dnDVhyLOiyv3oFk4/Vc4yALnI0p08y68=; b=IKfKTv8Px7Uh+VuKPtj5uSaQKTBj+ZSB7yFjPxiPeD0hjfYQMAgvQqnBX8z6Z9GtKtsm6h 3Ci9pvuMUyaAOxC6/PAD8dj0lyGlnW8KDAGFb1LndhXJhnGyJ+WebzYbIAUpmWc6qpCc8K tWXTe6SG9P7chXVbUg823W5L/Q9HO8tLO0aLBN3UBPQpVGWJ6nD/CGjYn1I/iKG6v1vbti DcNMPwNrv3WS3j/h/h8b+ZYkwxeKI2HXXL4SmTe9Le0JMAiVTVpwLWlOBHOKx/zYjw/nNj R8sYuQKNyovn68KYFl855xetFEtmTFUIaztbtxwzPfPAsMUGmh5ARKSmRKmg+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680910174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6viBdwh71p7dnDVhyLOiyv3oFk4/Vc4yALnI0p08y68=; b=Hl7Dkk7wDjaSXBuzhDNPMDTzY1u1eX/VtE8oKEafR+yq0gCqtmEsI+3nbFklrlu+bQaS0E 5E7Ccno08mBBTFCbsHLEvi/n6ELkACytbU8IBinjuRjQBSDsJ8C3j9w5tI/uYxt/7w6H1W lKYgJVtNvPOv3XXs7Z+khc6wsxCLDAdlMTIDywAMX+qVcPG6evLhw2qcIMiiKwruGmVC3E zINy4FvZv/T6iqEE7XtseRambWbK/N1ezJRCKhRMg3Z8sQym5X9nKN9ahqTB/2KMSZGD39 x2m+GV6cPaMrMiQA3U5/kpdlCzLN+MLyKuHoUAssltkunsopgkxpP7POHxtN2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680910174; a=rsa-sha256; cv=none; b=FEG/GKfadgaqSrhO1ecVbKr+q59FAyVM3Ucfa0Z7aOe5cLCwNLtbTDLijdJbzJJcLHEmOg /HKm0XS8vr7izYUGzMABrwDdAjTIv8YjTCRwIHQZSM5YRG8XUhvDODLj7nzY8rSs6ba1Vh R7p9DbpTQb8a20UPMHzEC0UIM5wZEPiZy2wp4zyqvW+TFX9f0RN3ppYO1rEMJzYKNiLm/e i3ccLPHpGw68QbEkGNZbdGisCu2mtmUHkOuWecuzs00uFHW4R3F6HEJnG1StzDMIl7665Q vHqK1RF6tFWE7Xvff2haPvIIdaU26tdoE57v29GiSPDvv7DpyNiGcQjgr1C8Ww== Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PtZMd6YstzJBJ; Fri, 7 Apr 2023 23:29:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f180.google.com with SMTP id cr18so37966305qtb.0; Fri, 07 Apr 2023 16:29:33 -0700 (PDT) X-Gm-Message-State: AAQBX9cNNqVLxixodYsdGVGhXjZsBxrLW5t4VJ626e9hGKfEKvwBeBi+ s1D3QoAX+sLoS8/6Q9bYKgDKsVpxeiiUE2eZx+c= X-Google-Smtp-Source: AKy350ZK1yBvfOfY+PXr1ieWQj5Wo46efk05xNQJ2M3SU2TQtW/qbKYoKl6eLb480u6JiPNvtIcgoJmHC3EsPX0JLU4= X-Received: by 2002:a05:622a:301:b0:3dc:3eac:eddb with SMTP id q1-20020a05622a030100b003dc3eaceddbmr1176978qtw.13.1680910173245; Fri, 07 Apr 2023 16:29:33 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: <3A019D10-E520-4C11-AE9F-4EA5D99B9B07@yahoo.com> In-Reply-To: From: Kyle Evans Date: Fri, 7 Apr 2023 18:29:22 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 2a58b312b62f - main - zfs: merge openzfs/zfs@431083f75 [separate aarch64 panic for zpool import] To: Mateusz Guzik Cc: Mark Millard , dev-commits-src-main@freebsd.org, Current FreeBSD , freebsd-arm , John F Carr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N On Fri, Apr 7, 2023 at 4:54=E2=80=AFPM Mateusz Guzik wr= ote: > > On 4/7/23, Mark Millard wrote: > > On Apr 7, 2023, at 14:26, Mateusz Guzik wrote: > > > >> On 4/7/23, Mateusz Guzik wrote: > >>> can you try with this: > >>> > >>> diff --git > >>> a/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.h > >>> b/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.h > >>> index 16276b08c759..e1bca9ef140a 100644 > >>> --- a/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.= h > >>> +++ b/sys/contrib/openzfs/include/os/linux/kernel/linux/simd_aarch64.= h > >>> @@ -71,7 +71,7 @@ > >>> #define ID_AA64PFR0_EL1 sys_reg(3, 0, 0, 1, 0) > >>> #define ID_AA64ISAR0_EL1 sys_reg(3, 0, 0, 6, 0) > >>> > >>> -#define kfpu_allowed() 1 > >>> +#define kfpu_allowed() 0 > >>> #define kfpu_begin() kernel_neon_begin() > >>> #define kfpu_end() kernel_neon_end() > >>> #define kfpu_init() (0) > >>> > >>> > >> > >> ops, wrong file > >> > >> diff --git a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h > >> b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h > >> index 178fbc3b3c6e..c462220289d6 100644 > >> --- a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h > >> +++ b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_arm.h > >> @@ -46,7 +46,7 @@ > >> #include > >> #include > >> > >> -#define kfpu_allowed() 1 > >> +#define kfpu_allowed() 0 > >> #define kfpu_initialize(tsk) do {} while (0) > >> #define kfpu_begin() do {} while (0) > >> #define kfpu_end() do {} while (0) > > > > It will take me a bit to setup a separate build/install > > context for the source code vintage involved. Then more > > time to do the build, install, and test. (I'm keeping > > my normal environments completely before the mess.) > > > > FYI: > > > > I have used the artifact build just after your pair of zfs > > related updates to confirm the VFP problem is still in > > place as of that point: > > > > https://artifact.ci.freebsd.org/snapshot/main/5e2e3615d91f9c0c688987915= ff5c8de23c22bde/arm64/aarch64/kernel.txz > > > > (No artifact build was exactly at either of your commits.) > > > > =3D=3D=3D > > Mark Millard > > marklmi at yahoo.com > > > > > > I have arm64 + zfs at $job and just verified the above lets it boot > again, so I committed already. > This was a known issue that we were working on fixing properly over in https://reviews.freebsd.org/D39448... this really could have waited just a little bit longer. This problem was already brought up in response to the commit in question days ago. Thanks, Kyle Evans