Skip to contentSkip to conversation

Bad MAINTAINERS pattern in section 'ACPI'

DISCUSSION Joe Perches 3 participants 4 messages Sep 28, 2018 – Oct 1, 2018

Subsystems (2)
lore
Share & tools
lore

Joe Perches

author Acked-by Rafael J. Wysocki Reviewed-by Keith Busch
#0 lore raw

Please fix this defect appropriately.

linux-next MAINTAINERS section:

	308	ACPI
	309	M:	"Rafael J. Wysocki" <[email protected]>
	310	M:	Len Brown <[email protected]>
	311	L:	[email protected]
	312	W:	https://01.org/linux-acpi
	313	Q:	https://patchwork.kernel.org/project/linux-acpi/list/
	314	T:	git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
	315	B:	https://bugzilla.kernel.org
	316	S:	Supported
	317	F:	drivers/acpi/
	318	F:	drivers/pnp/pnpacpi/
	319	F:	include/linux/acpi.h
	320	F:	include/linux/fwnode.h
	321	F:	include/acpi/
	322	F:	Documentation/acpi/
	323	F:	Documentation/ABI/testing/sysfs-bus-acpi
	324	F:	Documentation/ABI/testing/configfs-acpi
	325	F:	drivers/pci/*acpi*
	326	F:	drivers/pci/*/*acpi*
-->	327	F:	drivers/pci/*/*/*acpi*
	328	F:	tools/power/acpi/

Commit that introduced this:

commit 15fd830dd310e6cf589478e5e1e7733caf68e777
Author: Bjorn Helgaas <[email protected]>
Date: Wed Jun 26 13:38:37 2013 -0600

MAINTAINERS: Add ACPI folks for ACPI-related things under drivers/pci

Add file patterns so get_maintainers.pl reports both PCI and ACPI folks for ACPI-related things in drivers/pci.

  MAINTAINERS | 3 +++
  1 file changed, 3 insertions(+)

Last commit with drivers/pci/*/*/*acpi*

commit 256a459370930bed087f92bb763517f8b09407eb

Author: Bjorn Helgaas <[email protected]>
Date:   Fri Jun 8 08:39:45 2018 -0500

PCI/AER: Squash aerdrv_acpi.c into aerdrv.c

Squash aerdrv_acpi.c into aerdrv.c. No functional change intended.

 drivers/pci/pcie/aer/Makefile      |   1 -
 drivers/pci/pcie/aer/aerdrv.c      | 122 ++++++++++++++++++++++++++++++++
 drivers/pci/pcie/aer/aerdrv_acpi.c | 141 -------------------------------------
 3 files changed, 122 insertions(+), 142 deletions(-)
#1 lore raw

[+cc Tony, Borislav (ACPI APEI reviewers), linux-pci]

Quoted 17 lines · Joe Perches

Please fix this defect appropriately.

linux-next MAINTAINERS section:

	308	ACPI
	309	M:	"Rafael J. Wysocki" <[email protected]>
	310	M:	Len Brown <[email protected]>
	311	L:	[email protected]
	312	W:	https://01.org/linux-acpi
	313	Q:	https://patchwork.kernel.org/project/linux-acpi/list/
	314	T:	git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
	315	B:	https://bugzilla.kernel.org
	316	S:	Supported
	317	F:	drivers/acpi/
	318	F:	drivers/pnp/pnpacpi/
	319	F:	include/linux/acpi.h
	320	F:	include/linux/fwnode.h
Quoted 8 lines
	321	F:	include/acpi/
	322	F:	Documentation/acpi/
	323	F:	Documentation/ABI/testing/sysfs-bus-acpi
	324	F:	Documentation/ABI/testing/configfs-acpi
	325	F:	drivers/pci/*acpi*
	326	F:	drivers/pci/*/*acpi*
-->	327	F:	drivers/pci/*/*/*acpi*
	328	F:	tools/power/acpi/

My proposal to fix this:

commit a99051c0d3c59fd259fd76a8bbd9837b76b509d9

Author: Bjorn Helgaas <[email protected]>
Date:   Fri Sep 28 17:34:21 2018 -0500

MAINTAINERS: Remove obsolete drivers/pci pattern from ACPI section

Prior to 256a45937093 ("PCI/AER: Squash aerdrv_acpi.c into aerdrv.c"), drivers/pci/pcie/aer/aerdrv_acpi.c contained code to parse the ACPI HEST table. That code now lives in drivers/pci/pcie/aer.c.

Remove the "F: drivers/pci/*/*/*acpi*" pattern because it matches nothing.

We could add a "F: drivers/pci/pcie/aer.c" pattern to the ACPI APEI section, but that file sees a lot of changes, almost none of which are of interest to the ACPI folks.

MAINTAINERS +0 -1
index 700408b7bc53..9babd8a0406b 100644
@@ -324,7 +324,6 @@ F:	Documentation/ABI/testing/sysfs-bus-acpi
 F:	Documentation/ABI/testing/configfs-acpi
 F:	drivers/pci/*acpi*
 F:	drivers/pci/*/*acpi*
-F:	drivers/pci/*/*/*acpi*
 F:	tools/power/acpi/
 
 ACPI APEI
maintainer Acked-by
#2 lore raw
Quoted 55 lines · Bjorn Helgaas

[+cc Tony, Borislav (ACPI APEI reviewers), linux-pci]

Quoted 17 lines · Joe Perches

Please fix this defect appropriately.

linux-next MAINTAINERS section:

      308     ACPI
      309     M:      "Rafael J. Wysocki" <[email protected]>
      310     M:      Len Brown <[email protected]>
      311     L:      [email protected]
      312     W:      https://01.org/linux-acpi
      313     Q:      https://patchwork.kernel.org/project/linux-acpi/list/
      314     T:      git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
      315     B:      https://bugzilla.kernel.org
      316     S:      Supported
      317     F:      drivers/acpi/
      318     F:      drivers/pnp/pnpacpi/
      319     F:      include/linux/acpi.h
      320     F:      include/linux/fwnode.h
Quoted 8 lines
      321     F:      include/acpi/
      322     F:      Documentation/acpi/
      323     F:      Documentation/ABI/testing/sysfs-bus-acpi
      324     F:      Documentation/ABI/testing/configfs-acpi
      325     F:      drivers/pci/*acpi*
      326     F:      drivers/pci/*/*acpi*
-->   327     F:      drivers/pci/*/*/*acpi*
      328     F:      tools/power/acpi/

My proposal to fix this:

commit a99051c0d3c59fd259fd76a8bbd9837b76b509d9

Author: Bjorn Helgaas <[email protected]>
Date:   Fri Sep 28 17:34:21 2018 -0500

MAINTAINERS: Remove obsolete drivers/pci pattern from ACPI section

Prior to 256a45937093 ("PCI/AER: Squash aerdrv_acpi.c into aerdrv.c"), drivers/pci/pcie/aer/aerdrv_acpi.c contained code to parse the ACPI HEST table. That code now lives in drivers/pci/pcie/aer.c.

Remove the "F: drivers/pci/*/*/*acpi*" pattern because it matches nothing.

We could add a "F: drivers/pci/pcie/aer.c" pattern to the ACPI APEI section, but that file sees a lot of changes, almost none of which are of interest to the ACPI folks.

MAINTAINERS +0 -0
index 700408b7bc53..9babd8a0406b 100644

MAINTAINERS F: Documentation/ABI/testing/sysfs-bus-acpi · line 327

Quoted 5 lines
MAINTAINERS +0 -1
@@ -324,7 +324,6 @@ F:  Documentation/ABI/testing/sysfs-bus-acpi
 F:     Documentation/ABI/testing/configfs-acpi
 F:     drivers/pci/*acpi*
 F:     drivers/pci/*/*acpi*
-F:     drivers/pci/*/*/*acpi*
 F:     tools/power/acpi/

Looks good to me.

#3 lore raw
In reply to Bjorn Helgaas
Quoted 54 lines · Bjorn Helgaas

[+cc Tony, Borislav (ACPI APEI reviewers), linux-pci]

Quoted 17 lines · Joe Perches

Please fix this defect appropriately.

linux-next MAINTAINERS section:

	308	ACPI
	309	M:	"Rafael J. Wysocki" <[email protected]>
	310	M:	Len Brown <[email protected]>
	311	L:	[email protected]
	312	W:	https://01.org/linux-acpi
	313	Q:	https://patchwork.kernel.org/project/linux-acpi/list/
	314	T:	git git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
	315	B:	https://bugzilla.kernel.org
	316	S:	Supported
	317	F:	drivers/acpi/
	318	F:	drivers/pnp/pnpacpi/
	319	F:	include/linux/acpi.h
	320	F:	include/linux/fwnode.h
Quoted 8 lines
	321	F:	include/acpi/
	322	F:	Documentation/acpi/
	323	F:	Documentation/ABI/testing/sysfs-bus-acpi
	324	F:	Documentation/ABI/testing/configfs-acpi
	325	F:	drivers/pci/*acpi*
	326	F:	drivers/pci/*/*acpi*
-->	327	F:	drivers/pci/*/*/*acpi*
	328	F:	tools/power/acpi/

My proposal to fix this:

commit a99051c0d3c59fd259fd76a8bbd9837b76b509d9

Author: Bjorn Helgaas <[email protected]>
Date:   Fri Sep 28 17:34:21 2018 -0500

MAINTAINERS: Remove obsolete drivers/pci pattern from ACPI section

Prior to 256a45937093 ("PCI/AER: Squash aerdrv_acpi.c into aerdrv.c"), drivers/pci/pcie/aer/aerdrv_acpi.c contained code to parse the ACPI HEST table. That code now lives in drivers/pci/pcie/aer.c.

Remove the "F: drivers/pci/*/*/*acpi*" pattern because it matches nothing.

We could add a "F: drivers/pci/pcie/aer.c" pattern to the ACPI APEI section, but that file sees a lot of changes, almost none of which are of interest to the ACPI folks.

MAINTAINERS +0 -0
index 700408b7bc53..9babd8a0406b 100644

MAINTAINERS F: Documentation/ABI/testing/sysfs-bus-acpi · line 329

Quoted 7 lines
MAINTAINERS +0 -1
@@ -324,7 +324,6 @@ F:	Documentation/ABI/testing/sysfs-bus-acpi
 F:	Documentation/ABI/testing/configfs-acpi
 F:	drivers/pci/*acpi*
 F:	drivers/pci/*/*acpi*
-F:	drivers/pci/*/*/*acpi*
 F:	tools/power/acpi/
 
 ACPI APEI

Applied with Rafael's ack to for-linus for v4.19.