From nobody Wed Oct 11 21:32:32 2023 X-Original-To: dev-commits-src-all@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 4S5QwJ3GwBz4wl1K; Wed, 11 Oct 2023 21:32:32 +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 4S5QwJ2mzvz3RGP; Wed, 11 Oct 2023 21:32:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697059952; 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=zHiBgS8R8HD8uxzr5HJNlew273QLYvdINIqpitxirsY=; b=E9GM+FUtWljF4hBxjIzL/t9CHTg5KKJFoDJSILx2TG5k9JwdMx7Ei3keWe+BflLLFYbzxs SRGE9YN0qTXTBOH1aFYai4E2Azos1XfiXnXTNPmRWDZkcwksRZbiNFIRIGAKjwDK4Rtahm oB3ICXKuPKNmpTR7VBkTt2NT7/GTH4ivPt6v44F6OZnhD6kunfYG51OWd2By9ABa1dN3Ym sqF5o0jVNpK9TdlBxpKBI0b2mtlqlrK/w5LmoZwB69yRgWBnZP1LKAm86TF2309QpusvU1 HxT3OsrkVX6Yja2lARx+8lS7BNBqlnfniKnVVn/Nk7bbK35kP9rJAX0em5IU+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697059952; a=rsa-sha256; cv=none; b=F3uH/SwMzce6oqT7T+NVZ3l8b3jM2kyq0jje8BvH+W358qJfmJQZA7zP7BOoR8tTcpU8zb 8wNJPQUrmYO+O96c1vU4XO/DZv64YzaThVOf7107QroxIue8Wcq0xcJg2HHN+9Vt6pb1Ir VPW6A6kjnS/f6Ze9NNoFy2bB88FLHWS7t4Hx6hFpsOGOVGxgOPaaHucsd3mlp+U/kWKIgy jB/qWBqJ1qy9g4wlelTsPlfaoLSnN9+f628kv+ckP14NYjDMxiYX8J/R78r/z6l57tCtem yzPHz3xVsgBqYrKy8g7CJx/GUlRCEfBLmm2cHcZ/uNRHdA9zt2yV8IQPu9YGhw== 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=1697059952; 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=zHiBgS8R8HD8uxzr5HJNlew273QLYvdINIqpitxirsY=; b=I0KCYycK5aPdVgl88opWHhglgtK8AVuGVdR48HMJIygc0nWTmWJIqqteZeU4djtuI9K51u kUcCnZdUB8mBMYqbPAcGizYuXvRZJ302O8/GpEp+qU6GucFb9LE8CG1HGiUl7e8S4YKA86 up21k83muhaq9a2V2djTb6YSDfrmH7NPaBVMUQ/R7jZNSvCCrKmt6ie2MK3zscgfJqfPcO bIaceWZietoTAD7IFhpDPhD3kdLJjSorbJXMHvBwFWvH3s3FP+7vuD6VQxAxJu0SxzKTKI ZrE6Yyc7oXyufM2edJlXgLNo+LJp9wKE5kwpyc4mslK5q+WU6GhzZ3umZ5M8HQ== 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 4S5QwJ1tF2zdGr; Wed, 11 Oct 2023 21:32:32 +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 39BLWWfj007466; Wed, 11 Oct 2023 21:32:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39BLWWX5007463; Wed, 11 Oct 2023 21:32:32 GMT (envelope-from git) Date: Wed, 11 Oct 2023 21:32:32 GMT Message-Id: <202310112132.39BLWWX5007463@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e839ebfc0dc5 - main - amd64: Remove a stale comment from cpu_setregs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: e839ebfc0dc5851d383ac38740f32e96f7bd5186 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e839ebfc0dc5851d383ac38740f32e96f7bd5186 commit e839ebfc0dc5851d383ac38740f32e96f7bd5186 Author: John Baldwin AuthorDate: 2023-10-11 21:22:17 +0000 Commit: John Baldwin CommitDate: 2023-10-11 21:22:17 +0000 amd64: Remove a stale comment from cpu_setregs Reviewed by: kib, markj, emaste Differential Revision: https://reviews.freebsd.org/D42134 --- 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 4b81f5b9671e..440c21c918be 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);