Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=G1dacOQz; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=WeeGDlhH Received: by mail.netbsd.org (Postfix, from userid 605) id 29CA684F0B; Thu, 18 Apr 2024 12:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713442585; bh=6zff8hViFpsYXN6jnF+8Js1ELWdabgpCXB/dV6YS+gU=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=G1dacOQzdfgW5xquPnHl971wLETkweIHRix0518YdkyDuzDus/1TyMmOLD0cl3lB+ npNFAGWyRh8TTBl8SIrgzI2lgttA8PKdG9Y1/UN5ynfDl1mqbmtyaeeQsN7KLRIL8h RqT3ZfOk6dzXuxtKpdlicq8dNQJVdjKe0EruW2kI= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 14BA484F03 for ; Thu, 18 Apr 2024 12:16:24 +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 xIPP7pd7JYTx for ; Thu, 18 Apr 2024 12:16:23 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 9CD1884CE2 for ; Thu, 18 Apr 2024 12:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713442583; bh=6zff8hViFpsYXN6jnF+8Js1ELWdabgpCXB/dV6YS+gU=; h=Date:From:Subject:To:Reply-To; b=WeeGDlhHi9BaOKje7sxYdq/YUUkpM1XMqzNsV0k+8FSeZJDfU+BuIBG3g/qeN9lYb y9hDQ5x9DmMY8vTY9eTFjKSfc4GCLrL6sNcNgfYLPpedv2/HK+k7ygcIeqURhe5QIQ rmHT6D8WxDir0qyql5yRy8+pxnm/DXm6CLWc4DEs= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 93BCFFA2C; Thu, 18 Apr 2024 12:16:23 +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 12:16:23 +0000 From: "Nick Hudson" Subject: CVS commit: src/sys/uvm/pmap To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240418121623.93BCFFA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Nick Hudson" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: skrll Date: Thu Apr 18 12:16:23 UTC 2024 Modified Files: src/sys/uvm/pmap: pmap.c pmap.h Log Message: Fix types in pmap_page_clear_attributes so that the top bits of the u_long mdpg_attrs aren't dropped giving atomic_cas_ulong no chance of completing if any of the top bits is set. Update pmap_page_set_attributes for consistency. An ATF test run completed for me with this fix. port-riscv/58006: ATF tests no longer complete on riscv-riscv64 To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/uvm/pmap/pmap.c cvs rdiff -u -r1.26 -r1.27 src/sys/uvm/pmap/pmap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.