Re: [PATCH -v2] MAINTAINERS: Fix Intel TDX kernel file patterns

From: Joe Perches

Date: Sat Oct 31 2026 - 12:45:19 EST


On Fri, 2026-10-30 at 20:01 -0700, Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>
>
> A K: is a content regex file pattern which matches any text in a patch
> so if a commit message contains "tdx" as in
>
> has_tdxe_auto_clear
>
> for example, see
>
> https://lore.kernel.org/r/20261026-g2ul_sci-v3-3-b3097163edd5@xxxxxxxxxxxxxx
>
> get_maintainer.pl erroneously adds the x86 gang to the Cc list for what
> obviously is a completely unrelated patch.

It's not an error in get_maintainer.pl
and V2: no changelog


> So switch the x86 TDX patterns to files and directories (F:) wildcard
> type patterns and group them by path, for less false positives.
>
> Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
> Link: https://lore.kernel.org/r/20261027055750.GBauA9XlPykc1c1Xhv@fat_crate.local

nack. Bad file pattern below


> diff --git a/MAINTAINERS b/MAINTAINERS
[]
> @@ -30347,8 +30347,11 @@ L: linux-coco@xxxxxxxxxxxxxxx
> L: kvm@xxxxxxxxxxxxxxx
> S: Supported
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/tdx
> -N: tdx
> -K: \b(tdx)
> +F: arch/x86/**/*tdx*
> +F: Documentation/**/*tdx*
> +F: drivers/virt/coco/tdx*/
> +F: include/uapi/linux/tdx

No file match. Probably should be:

F: include/uapi/linux/tdx*

but as far as I can see there's only a single file there.

F: include/uapi/linux/tdx-guest.h

> +F: tools/testing/selftests/tdx/
>
> X86 VDSO
> M: Andy Lutomirski <luto@xxxxxxxxxx>
> --
> 2.53.0
>