On Thu, 2026-10-29 at 19:33 -0700, Borislav Petkov wrote:
From: "Borislav Petkov (AMD)" <[bp@alien8.de](mailto:bp@alien8.de)>
Date: Thu, 29 Oct 2026 19:25:27 -0700
A K: is a content regex file pattern which matches any text in a patch
so if a commit message contains "TDx" as in
the TDxE (Transmit Data Empty) flag
for example, see
[https://lore.kernel.org/r/20261026-g2ul_sci-v3-3-b3097163edd5@bp.renesas.com](https://lore.kernel.org/r/20261026-g2ul_sci-v3-3-b3097163edd5@bp.renesas.com)
get_maintainer.pl erroneously adds the x86 gang to the Cc list for what
obviously is a completely unrelated patch.
The same happens when someone uses it to check
drivers/power/reset/tdx-ec-poweroff.c
patches.
So switch the x86 TDX patterns to files and directories (N:) type
patterns and group them by path, for less false positives.
It's probably better to use F: and not N:
quoted hunk ↗ jump to hunk
diff --git a/MAINTAINERS b/MAINTAINERS
index 7a162e9bcab1..6aaeb7df83c8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -30347,8 +30347,11 @@ L: [linux-coco@lists.linux.dev](mailto:linux-coco@lists.linux.dev)
L: [kvm@vger.kernel.org](mailto:kvm@vger.kernel.org)
S: Supported
T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/tdx
-N: tdx
-K: \b(tdx)
+N: arch/x86/.*tdx
F: arch/x86/**/*tdx*
+N: Documentation/.*tdx
F: Documentation/**/*tdx*
+N: drivers/virt/coco/.*tdx
F: drivers/virt/coco/tdx*/
+N: include/uapi/linux/.*tdx
F: include/uapi/linux/tdx-guest.h
+N: tools/testing/selftests/tdx
F: tools/testing/selftests/tdx/