From nobody Tue May 03 14:09:35 2022 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 76F2C1ABD56B; Tue, 3 May 2022 14:09:43 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 (2048 bits) client-digest SHA256) (Client CN "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kt2054TH9z3lLX; Tue, 3 May 2022 14:09:41 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from [IPV6:2001:470:71:d47:4c06:dff6:5a69:7c54] ([IPv6:2001:470:71:d47:4c06:dff6:5a69:7c54]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPSA id 243E9ZNZ091945 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 3 May 2022 16:09:36 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1651586976; bh=sbU+D8vc69kzOtQsmtkqJvuT48xz+hFgrwURDpSTp+U=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=KCWVJHBDpl1Q3UIMc4Atj55Z/32FB6P2RsSuPa6f9ghNkmYqASU3jeBU4O7eADP8J nAACqUS1kHt2A7+ZVY92djoVhmjkFspsYMbu638ZOvxHutA0SvrPq10vm/+5KzTtgd AJsWSrDeb4VvcWHeUYhiUyx9EyTQrdRqQ9hPHmbHEE4LK/KIJJ/BAJ5gKBuFJ7SlN8 C7UTsRMEJmHVewJEFcRh01ZYNlWyni6g58Q2clDfpq2N4bVN3rPiQk5TcmS+LFfEJq NCJd1gU2g8+6LIoQR//l8gl/zqt/4NfQRrDhVL2uPBzLiNKBT5D0AZXgjZe0qIQJTb S98CVDYjEjD0g== Message-ID: Date: Tue, 3 May 2022 16:09:35 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: pl To: Kristof Provost , qroxana Cc: freebsd-current@freebsd.org, freebsd-arm@freebsd.org References: From: Marek Zarychta Subject: Re: Kernel panic on armv7 when PF is enabled In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------Lg0N7bEEfhhztaGlbQeZa0qv" X-Rspamd-Queue-Id: 4Kt2054TH9z3lLX X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=KCWVJHBD; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-5.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; HAS_ATTACHMENT(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MLMMJ_DEST(0.00)[freebsd-arm,freebsd-current]; FREEMAIL_TO(0.00)[FreeBSD.org,protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------Lg0N7bEEfhhztaGlbQeZa0qv Content-Type: multipart/mixed; boundary="------------snUu1J87zM0pGEKwNJnUWVep"; protected-headers="v1" From: Marek Zarychta To: Kristof Provost , qroxana Cc: freebsd-current@freebsd.org, freebsd-arm@freebsd.org Message-ID: Subject: Re: Kernel panic on armv7 when PF is enabled References: In-Reply-To: --------------snUu1J87zM0pGEKwNJnUWVep Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 VyBkbml1IDIuMDUuMjAyMiBvwqAxMTowMiwgS3Jpc3RvZiBQcm92b3N0IHBpc3plOg0KPiBP biAxIE1heSAyMDIyLCBhdCA1OjEzLCBxcm94YW5hIHdyb3RlOg0KPiANCj4gICAgIEFmdGVy IGdpdCBiaXNlY3RpbmcgdGhlIHBhbmljIHN0YXJ0ZWQgc2luY2UgdGhpcyBjb21taXQuDQo+ IA0KPiAgICAgY29tbWl0IDc4YmMzZDVlMTcxMmJjMTY0OWFhNTU3NGQyYjhkMTUzZjk2NjUx MTMNCj4gDQo+ICAgICBBdXRob3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jb29raWUuZmxhZ3Mub2RkZXZlbl0pIA0KPiA9PSAwKSB8DQo+IA0KPiBUaGF0IHNo b3VsZG7igJl0IGJlIHJlcXVpcmVkIHRob3VnaC4NCj4gDQo+IEJyLA0KPiBLcmlzdG9mDQo+ IA0KDQoNCi0tIA0KTWFyZWsgWmFyeWNodGENCg== --------------snUu1J87zM0pGEKwNJnUWVep-- --------------Lg0N7bEEfhhztaGlbQeZa0qv Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEnjwyTmqn2oNX6C8qHZW8vIFppoIFAmJxN58FAwAAAAAACgkQHZW8vIFppoKj ZwgAhhfGV0nHZDLk9AMkfsmvUDKMH9CqikEAtFaQccrVdpqoY4AjaJsmaR/Kz1WyAOVj0IfhzZXb 4QAUyO1IajHp1+z98mt3Gp0s1B69VbsInlRGFOzCyD8nCXT4MPSAG0rU2KX9iU9T70K5TgkaGIsq v4EQVHu6KuoXXh8Bk1FK4xdmzzoZ8FD5QSsWCYfN7ianb06ShLcn/K8+C3rH88ZN8GDlPuJ5aQtT vYGM9dP+vyWvGLEJSWU1twGBulbsZfEWPN9NUEi42Xq3i8Uuev7tSX4AYahmyvNsrOzwj0CF6jRu a1xLEuoo45bN4R4mJBO67mT+EhVbJw+VhbQ5wcDWtA== =E5na -----END PGP SIGNATURE----- --------------Lg0N7bEEfhhztaGlbQeZa0qv--