Received: by mail.netbsd.org (Postfix, from userid 605) id 5DEE484F1E; Thu, 18 Apr 2024 15:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713453719; bh=1KsEVJE20bZvJ+iHHJouRZKRKIJfeLdDdTBzyJmIsd4=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=Qw20gibrEqDbRiHLdNFgdtQUePzMAZ4tH+rVWDOPoxPdkEcIeTCBGBheQLVH9bAA7 3gsqkEaMYyZ9cBsQsYuv+ze/dP8CLyScj/NyrJA8ReB+LN7gp95JnfDYDNx4k19g5M 0UtDa5Tr6MgDUSCVe6lYuSVx3H7eUOykppprELk8= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3086584D2D for ; Thu, 18 Apr 2024 15:21:57 +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 wXg2dlH_FTeY for ; Thu, 18 Apr 2024 15:21:56 +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 1A20484CC8 for ; Thu, 18 Apr 2024 15:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713453716; bh=1KsEVJE20bZvJ+iHHJouRZKRKIJfeLdDdTBzyJmIsd4=; h=Date:From:Subject:To:Reply-To; b=MvI8O/H0J/n+tubFHriKc+5t/hxKXfX4qr/jVxon4lsa5wRR7iJoWMrDv8uKZxxy5 dXIJkXmQQZVBA7OYajizoPZSSNENMTZilZlyot5mzkJvPKJ/H9fxJ7HjyoGpSKvAEX bxBMpxOPGMJIeO+X7/82aExF2CUlYGHIU6MDP2bM= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0E531FA2C; Thu, 18 Apr 2024 15:21:56 +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:21:56 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-10] src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240418152156.0E531FA2C@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:21:55 UTC 2024 Modified Files: src/share/mk [netbsd-10]: bsd.own.mk src/sys/arch/aarch64/include [netbsd-10]: sljit_machdep.h src/sys/external/bsd/sljit/dist/sljit_src [netbsd-10]: sljitNativeARM_64.c src/sys/modules [netbsd-10]: 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 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.1289.2.2 -r1.1289.2.3 src/share/mk/bsd.own.mk cvs rdiff -u -r1.3 -r1.3.18.1 src/sys/arch/aarch64/include/sljit_machdep.h cvs rdiff -u -r1.4 -r1.4.30.1 \ src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c cvs rdiff -u -r1.274.2.2 -r1.274.2.3 src/sys/modules/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.