Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=p1llls0J; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=GjKW5KpC Received: by mail.netbsd.org (Postfix, from userid 605) id 5355984F19; Thu, 18 Apr 2024 15:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713453863; bh=e+wJje/qBxoUpcoeqtfNm7i0kBU8EFgW0r7NemCMv0A=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=p1llls0JKZW69/SZ5ITGqdIq1hDFfT0KsbBotvP283FZMAeY1APBPlBzaSKNnKD2k g+ksaQqcapRlxTkYC5vuC8e+STOAqGKB7PCKFoXdBH0SaTMo7O/W45SL3ZWrqtk0PR 8KnNV3ZgjX0AQufNd6VPTgd9olzc0ZF9ARIYcbdA= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3F71A84D8A for ; Thu, 18 Apr 2024 15:24:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id VzTDMkYgMtbl for ; Thu, 18 Apr 2024 15:24:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5B5F384CC8 for ; Thu, 18 Apr 2024 15:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713453861; bh=e+wJje/qBxoUpcoeqtfNm7i0kBU8EFgW0r7NemCMv0A=; h=Date:From:Subject:To:Reply-To; b=GjKW5KpCndDiYT4UbNXBzTpzYZEuNAVb20bHIeXDrwWaDYULoOGtObURKHaBRmNCC SpOuvRiHDAEwf6ncLKR84HEdoNmVRp/x+d7IijlGdJ/5+rFOIHapjestmYyJ272vnU pXGmffeOTFwx9lU21t1/NE1MFSMJ738ZOfIo3mKE= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4FB08FA2C; Thu, 18 Apr 2024 15:24:21 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 18 Apr 2024 15:24:21 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-9] src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240418152421.4FB08FA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Martin Husemann" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: martin Date: Thu Apr 18 15:24:21 UTC 2024 Modified Files: src/share/mk [netbsd-9]: bsd.own.mk src/sys/arch/aarch64/include [netbsd-9]: sljit_machdep.h src/sys/external/bsd/sljit/dist/sljit_src [netbsd-9]: sljitNativeARM_64.c src/sys/modules [netbsd-9]: Makefile Log Message: Pull up following revision(s) (requested by riastradh in ticket #655): sys/modules/Makefile: revision 1.285 share/mk/bsd.own.mk: revision 1.1365 share/mk/bsd.own.mk: revision 1.1366 sys/arch/aarch64/include/sljit_machdep.h: revision 1.4 sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c: revision 1.5 (all via patch) sljit: Pacify -Wsign-compare. If these sizes are negative, we're probably in trouble anyway, so assert nonnegative here. Needed to resolve PR 58103. bsd.own.mk: Enable MKLSJIT on aarch64. Make sure there's only one copy of the conditional, in bsd.own.mk; just make sys/modules/Makefile conditional on MKSLJIT so we don't have to keep these in sync. As a workaround for PR 58106, tweak the conditional definition of SLJIT_CACHE_FLUSH to use cpu_icache_sync_range only in _HARDKERNEL, and use __builtin___clear_cache in userland and in rump kernels. PR 58103: bpfjit.kmod is not built on aarch64 bsd.own.mk: No need for MKSLJIT to be set differently from others. - Use ?=, not =, so mk.conf setting wins. - Write out per-architecture tabular settings, not a conditional. - Add comments for the architectures that look like they should have sljit but don't. (XXX Missing comments about powerpc and mips -- not sure why, is this because modules don't yet work on those architectures, or what?) Tidying for PR 58103: bpfjit.kmod is not built on aarch64. To generate a diff of this commit: cvs rdiff -u -r1.1149.2.6 -r1.1149.2.7 src/share/mk/bsd.own.mk cvs rdiff -u -r1.2 -r1.2.6.1 src/sys/arch/aarch64/include/sljit_machdep.h cvs rdiff -u -r1.4 -r1.4.4.1 \ src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c cvs rdiff -u -r1.222.2.1 -r1.222.2.2 src/sys/modules/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.