Re: [PATCH v2 2/2] x86/traps: Initialize DR7 by writing its architectural reset value

From: Xin Li
Date: Tue Jun 17 2025 - 20:45:35 EST


On 6/17/2025 4:10 PM, Sohil Mehta wrote:
+/* DR7_FIXED_1 is also used as the init/reset value for DR7 */
+#define DR7_FIXED_1 0x00000400
+
Did you mean to describe what DR7_FIXED_1 is, and then say it is also
used as the init/reset value? Because the way the comment is framed
right now, it seems something is missing.

I probably should add a short version of Sean's description here.