From nobody Tue Oct 24 19:00:16 2023 X-Original-To: dev-commits-src-branches@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 4SFLwd2H6Gz4yNGG; Tue, 24 Oct 2023 19:00:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFLwd1hjWz4GHL; Tue, 24 Oct 2023 19:00:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698174017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lju+9oLfHhBvdeWTdl9qNoS8I+unrJQysAEtlJ4f9LU=; b=LfYyMvMmUDnN1UyWj+pCbyiQuD5cp2EE0rIe+tM6GSp0Qe2dlf2sEET9qwIX5ax7xT2088 i8/HdYYr+FcqQ+2OhIGF53xcSPz8MbJ9IIrDmnmA8Cj3mftiPNQ4II44/sDBDkNWytWxZL X91bgYEoxhjQoD1xMPCk77WsyRkAghmcsIX1bo3aph242XdpBcShbVfjbHD9KQlkObQp5w fZTu+C4N6bYcPJGRE4U9c7aqnpaaexa/LuEpyAK3IJlluXLh59wm/7mXyu6oBBVLLsL7c5 ewbQRWze/78Yey1iSXSn4Xkz0ySx3YJRlk2JE34H+RXxhXBX4K8Q/y8ZS/0F2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698174017; a=rsa-sha256; cv=none; b=FcFQly/B72FeKV2KsAC69rZHk7MCzqIwq2mtUSWiJVhkA55NIjxs/ghcseAwl71w8OJxpK fl7nWo236hIuccugGX6FXZ/bjbdDYQFY9RS/TB7PJaNfS49Jpiot5x8dggtTrkCNHRB02/ b2IVpzpBC8OYRiJBlBqgPEIFjoH8n2cEWnfrKX4A4hUxRZKcWoT1UkuXlZ8MoaGZqHqoON 4CMU0C3PepCPb/mG39Gz2Q1nFhgsIO/Qcr8kjH5wr5UxuvoxreiDOMg/Glr3nLoFUWjH60 SD9/tzzl2shr9jAO9/kJniXo/8sEglR7hCw8Z2V4aGJwR7bILI7CkmB3bw/7sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698174017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lju+9oLfHhBvdeWTdl9qNoS8I+unrJQysAEtlJ4f9LU=; b=YuUbl5Woq9coioWKlxRS1XiTmK3N9pu3q2lFB7s7+0FusC9JX6WJTObqlYajpB62GDvaCI gFsu7/owPYAlF2j5jT6um3KRDMZdnwKN+bAxGJRqv0V8hMJMdYYVGI+ahUMS3bFXFz6jIv ZgZ0t/benvrM2HPQ3xFHq0/B8aXGmctCu4nAbnStWpYboLxbCqcZkngBTkqHFoyMpXs3CK mJvLAaksy0AAVLorVbvhxwk7xeZP6HFdhboFlmLX4EdoY9EUMMRFnPE7/pn5jvI+P+QB/p rreLD33bPWONghxfoPMVYKloNGoDFI/NemfUhnaiYF095Ni5Npzb7LUUDpEa/w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SFLwd0hL8zZWZ; Tue, 24 Oct 2023 19:00:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39OJ0HCc031985; Tue, 24 Oct 2023 19:00:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39OJ0GYk031977; Tue, 24 Oct 2023 19:00:16 GMT (envelope-from git) Date: Tue, 24 Oct 2023 19:00:16 GMT Message-Id: <202310241900.39OJ0GYk031977@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: fbeb784ff471 - stable/14 - amd64: Remove a stale comment from cpu_setregs List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: fbeb784ff471375a5fa1e82bd232e335fcefbd8d Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=fbeb784ff471375a5fa1e82bd232e335fcefbd8d commit fbeb784ff471375a5fa1e82bd232e335fcefbd8d Author: John Baldwin AuthorDate: 2023-10-11 21:22:17 +0000 Commit: John Baldwin CommitDate: 2023-10-24 18:40:17 +0000 amd64: Remove a stale comment from cpu_setregs Reviewed by: kib, markj, emaste Differential Revision: https://reviews.freebsd.org/D42134 (cherry picked from commit e839ebfc0dc5851d383ac38740f32e96f7bd5186) --- sys/amd64/amd64/machdep.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 512f960926a2..f235d72519ae 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -326,10 +326,6 @@ cpu_setregs(void) TSENTER(); cr0 = rcr0(); - /* - * CR0_MP, CR0_NE and CR0_TS are also set by npx_probe() for the - * BSP. See the comments there about why we set them. - */ cr0 |= CR0_MP | CR0_NE | CR0_TS | CR0_WP | CR0_AM; TSENTER2("load_cr0"); load_cr0(cr0);