Skip to contentSkip to conversation

ARM64 ACPI Maintainers

PATCH In review Graeme Gregory 7 participants 13 messages Mar 4, 2014 – Mar 7, 2014 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

Grant Likely suggested that I send this patch to formally volunteer Hanjun and myself to be the maintainers for the new arm64 acpi support.

We have been working on the arm64 port of ACPI and the patches have now reached a few reviews but there has been some questions asked by the community who the maintainers will be.

Thanks

Graeme

#1 lore raw

PATCH 1/1 MAINTAINERS: add maintainers for arm64 acpi

Add maintainers for the arm-core file for arm64 ACPI support

---
 MAINTAINERS | 7 +++++++
 1 file changed, 7 insertions(+)
MAINTAINERS +7 -0
index c6d0e93..c770d3a 100644
@@ -259,6 +259,13 @@ F:	drivers/pci/*/*acpi*
 F:	drivers/pci/*/*/*acpi*
 F:	tools/power/acpi
 
+ACPI ARM64
+M:	Hanjun Guo <[email protected]>
+M:	Graeme Gregory <[email protected]>
+S:	Supported
+L:	[email protected]
+F:	drivers/acpi/plat/arm-core.c
+
 ACPI COMPONENT ARCHITECTURE (ACPICA)
 M:	Robert Moore <[email protected]>
 M:	Lv Zheng <[email protected]>
Signature · 1 line
1.9.0
#2 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

Quoted 1 line · Graeme Gregory

Add maintainers for the arm-core file for arm64 ACPI support

Shouldn't something have to be in the kernel
tree before there's a MAINTAINERS entry?

Quoted 18 lines
MAINTAINERS +7 -0
index c6d0e93..c770d3a 100644
@@ -259,6 +259,13 @@ F:	drivers/pci/*/*acpi*
 F:	drivers/pci/*/*/*acpi*
 F:	tools/power/acpi
 
+ACPI ARM64
+M:	Hanjun Guo <[email protected]>
+M:	Graeme Gregory <[email protected]>
+S:	Supported
+L:	linux-acpi at vger.kernel.org
+F:	drivers/acpi/plat/arm-core.c
+
 ACPI COMPONENT ARCHITECTURE (ACPICA)
 M:	Robert Moore <[email protected]>
 M:	Lv Zheng <[email protected]>
#3 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

Quoted 5 lines · Joe Perches
Quoted 1 line · Graeme Gregory

Add maintainers for the arm-core file for arm64 ACPI support

Shouldn't something have to be in the kernel
tree before there's a MAINTAINERS entry?

or in linux-next and the patch can be added to linux-next (some git tree).

Quoted 18 lines
Quoted 18 lines
MAINTAINERS +7 -0
index c6d0e93..c770d3a 100644
@@ -259,6 +259,13 @@ F:	drivers/pci/*/*acpi*
 F:	drivers/pci/*/*/*acpi*
 F:	tools/power/acpi
 
+ACPI ARM64
+M:	Hanjun Guo <[email protected]>
+M:	Graeme Gregory <[email protected]>
+S:	Supported
+L:	[email protected]
+F:	drivers/acpi/plat/arm-core.c
+
 ACPI COMPONENT ARCHITECTURE (ACPICA)
 M:	Robert Moore <[email protected]>
 M:	Lv Zheng <[email protected]>
Signature · 1 line
~Randy
#9 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

In reply to Graeme Gregory
Quoted 1 line · Graeme Gregory

+ACPI ARM64

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

MAINTAINERS F: drivers/pci/*/*acpi* · line 267

Quoted 5 lines
MAINTAINERS +5 -0
+M:	Hanjun Guo <[email protected]>
+M:	Graeme Gregory <[email protected]>
+S:	Supported
+L:	[email protected]
+F:	drivers/acpi/plat/arm-core.c

This patch should be part of the series introducing the arm-core.c file and it will be ACKed (or NAKed) following review. We can't really commit maintainers to a file which does not exist in mainline and while there is still feedback to be addressed. It's like a blank cheque.

Signature · 1 line
Catalin
Acked-by
#4 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

In reply to Randy Dunlap
Quoted 8 lines · Randy Dunlap
Quoted 5 lines · Joe Perches
Quoted 1 line · Graeme Gregory

Add maintainers for the arm-core file for arm64 ACPI support

Shouldn't something have to be in the kernel
tree before there's a MAINTAINERS entry?

or in linux-next and the patch can be added to linux-next (some git tree).

Sure, it makes sense to merge this file along with the rest of the series, but I certainly appreciate that Graeme and Hanjun are willing to volunteer to do this work.

Quoted 5 lines · Catalin Marinas
Quoted 1 line · Graeme Gregory

+ACPI ARM64

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

That's a good point. Graeme, it would be good if you could put some text in the patch describing how you propose the maintainership to work. Unfortunately the maintainers file doesn't have any kind of comments field, otherwise I'd suggest you make those comments directly there.

Given that ACPI can touch a lot of subsystems I would expect you and Hanjun not to be merging much code directly, but being listed in maintainers means that you will be kept in the loop when it comes to merging ARM ACPI changes. I would also expect that anything that does go through you (instead of merely acked) would be merged via Rafael and Len's tree.

Quoted 11 lines

MAINTAINERS F: drivers/pci/*/*acpi* · line 267

Quoted 6 lines
MAINTAINERS +5 -0
+M:   Hanjun Guo <[email protected]>
+M:   Graeme Gregory <[email protected]>
+S:   Supported
+L:   linux-acpi at vger.kernel.org
+F:   drivers/acpi/plat/arm-core.c

This patch should be part of the series introducing the arm-core.c file and it will be ACKed (or NAKed) following review. We can't really commit maintainers to a file which does not exist in mainline and while there is still feedback to be addressed. It's like a blank cheque.

I agree with merging it with the rest of the series, but comparing it to a blank cheque is not appropriate. Merely having an entry in MAINTAINERS doesn't immediately confer trust or ability to merge code, but it does tell people who to talk to when looking at ACPI on ARM. You can bet that neither Linus, Len or Rafael will merge ARM ACPI trees from them if you disagree. (And even if they did, you would yell, and Linus would revert it).

Quoted 3 lines

--
Catalin

Graeme, you can add my a-b line:

#5 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

Quoted 5 lines · Grant Likely
Quoted 4 lines · Randy Dunlap
Quoted 3 lines · Joe Perches
Quoted 1 line · Graeme Gregory

Add maintainers for the arm-core file for arm64 ACPI support

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Shouldn't something have to be in the kernel
tree before there's a MAINTAINERS entry?

or in linux-next and the patch can be added to linux-next (some git tree).

Sure, it makes sense to merge this file along with the rest of the series, but I certainly appreciate that Graeme and Hanjun are willing to volunteer to do this work.

Well, to put it another way, it makes no sense at all to merge this patch independently.

Quoted 32 lines · Catalin Marinas
Quoted 5 lines · Graeme Gregory
Quoted 1 line

+ACPI ARM64

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

That's a good point. Graeme, it would be good if you could put some text in the patch describing how you propose the maintainership to work. Unfortunately the maintainers file doesn't have any kind of comments field, otherwise I'd suggest you make those comments directly there.

Given that ACPI can touch a lot of subsystems I would expect you and Hanjun not to be merging much code directly, but being listed in maintainers means that you will be kept in the loop when it comes to merging ARM ACPI changes. I would also expect that anything that does go through you (instead of merely acked) would be merged via Rafael and Len's tree.

Quoted 11 lines

MAINTAINERS F: drivers/pci/*/*acpi* · line 267

Quoted 6 lines
MAINTAINERS +5 -0
+M:   Hanjun Guo <[email protected]>
+M:   Graeme Gregory <[email protected]>
+S:   Supported
+L:   linux-acpi at vger.kernel.org
+F:   drivers/acpi/plat/arm-core.c

This patch should be part of the series introducing the arm-core.c file and it will be ACKed (or NAKed) following review. We can't really commit maintainers to a file which does not exist in mainline and while there is still feedback to be addressed. It's like a blank cheque.

Quoted 7 lines

I agree with merging it with the rest of the series, but comparing it to a blank cheque is not appropriate. Merely having an entry in MAINTAINERS doesn't immediately confer trust or ability to merge code, but it does tell people who to talk to when looking at ACPI on ARM. You can bet that neither Linus, Len or Rafael will merge ARM ACPI trees from them if you disagree. (And even if they did, you would yell, and Linus would revert it).

If you want to know who to talk to regarding a subsystem then you use get_maintainer.pl and/or git blame. Regardless of this patch, neither of those tools will identify Graeme or Hanjun as the contacts for ACPI on ARM.

I think we're in agreement, but just to spell it out: this patch should be included at the end of a series adding the files which will be maintained.

Will

#6 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

Quoted 9 lines · Will Deacon
Quoted 7 lines · Grant Likely

I agree with merging it with the rest of the series, but comparing it to a blank cheque is not appropriate. Merely having an entry in MAINTAINERS doesn't immediately confer trust or ability to merge code, but it does tell people who to talk to when looking at ACPI on ARM. You can bet that neither Linus, Len or Rafael will merge ARM ACPI trees from them if you disagree. (And even if they did, you would yell, and Linus would revert it).

Quoted 6 lines

If you want to know who to talk to regarding a subsystem then you use get_maintainer.pl and/or git blame. Regardless of this patch, neither of those tools will identify Graeme or Hanjun as the contacts for ACPI on ARM.

I think we're in agreement, but just to spell it out: this patch should be included at the end of a series adding the files which will be maintained.

Yes, agreed.

g.

#10 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

In reply to Catalin Marinas
Quoted 6 lines · Catalin Marinas
Quoted 1 line · Graeme Gregory

+ACPI ARM64

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

Hi Catalin would changing the title to ACPI ARM64 Core Support be better in your mind. I do intend for the maintainership to cover just the plat/arm-core.c file.

Graeme

Quoted 18 lines

MAINTAINERS F: drivers/pci/*/*acpi* · line 267

Quoted 5 lines
MAINTAINERS +5 -0
+M:	Hanjun Guo <[email protected]>
+M:	Graeme Gregory <[email protected]>
+S:	Supported
+L:	[email protected]
+F:	drivers/acpi/plat/arm-core.c

This patch should be part of the series introducing the arm-core.c file and it will be ACKed (or NAKed) following review. We can't really commit maintainers to a file which does not exist in mainline and while there is still feedback to be addressed. It's like a blank cheque.

Signature · 6 lines
Catalin

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#7 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

In reply to Grant Likely
Quoted 27 lines · Grant Likely
Quoted 8 lines · Randy Dunlap
Quoted 5 lines · Joe Perches
Quoted 1 line · Graeme Gregory

Add maintainers for the arm-core file for arm64 ACPI support

Shouldn't something have to be in the kernel
tree before there's a MAINTAINERS entry?

or in linux-next and the patch can be added to linux-next (some git tree).

Sure, it makes sense to merge this file along with the rest of the series, but I certainly appreciate that Graeme and Hanjun are willing to volunteer to do this work.

Quoted 5 lines · Catalin Marinas
Quoted 1 line · Graeme Gregory

+ACPI ARM64

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

That's a good point. Graeme, it would be good if you could put some text in the patch describing how you propose the maintainership to work. Unfortunately the maintainers file doesn't have any kind of comments field, otherwise I'd suggest you make those comments directly there.

Quoted 7 lines

Given that ACPI can touch a lot of subsystems I would expect you and Hanjun not to be merging much code directly, but being listed in maintainers means that you will be kept in the loop when it comes to merging ARM ACPI changes. I would also expect that anything that does go through you (instead of merely acked) would be merged via Rafael and Len's tree.

Ok, I will update the commit decision when we add this patch to the current upstreaming series.

I would like if Rafael/Len are happy with the that the plat/arm-core.c file is handled via their linux-pm tree.

Catalini/Will would obviously still maintain control over changes in arch/arm64 and I think it would be good if they were willing to also Ack changes to plat/arm-core.c

The individual driver changes would be like they are for DT be pushed through the appropriate subsystem, or with appropriate Acks if this is not possible in combined patchsets.

Quoted 12 lines
Quoted 11 lines

MAINTAINERS F: drivers/pci/*/*acpi* · line 267

Quoted 6 lines
MAINTAINERS +5 -0
+M:   Hanjun Guo <[email protected]>
+M:   Graeme Gregory <[email protected]>
+S:   Supported
+L:   [email protected]
+F:   drivers/acpi/plat/arm-core.c

This patch should be part of the series introducing the arm-core.c file and it will be ACKed (or NAKed) following review. We can't really commit maintainers to a file which does not exist in mainline and while there is still feedback to be addressed. It's like a blank cheque.

Quoted 8 lines

I agree with merging it with the rest of the series, but comparing it to a blank cheque is not appropriate. Merely having an entry in MAINTAINERS doesn't immediately confer trust or ability to merge code, but it does tell people who to talk to when looking at ACPI on ARM. You can bet that neither Linus, Len or Rafael will merge ARM ACPI trees from them if you disagree. (And even if they did, you would yell, and Linus would revert it).

We have absolutely no intention of pushing patches that arm64 maintainers are unhappy with. As Grant says this is purely to indicate who people should come and talk to. We really appreciate the feedback given on patches so far and wish to continue with this process.

Graeme

#8 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

In reply to Grant Likely
Quoted 4 lines · Grant Likely
Quoted 3 lines · Catalin Marinas
Quoted 1 line · Graeme Gregory

+ACPI ARM64

Quoted 8 lines
Quoted 2 lines

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

That's a good point. Graeme, it would be good if you could put some text in the patch describing how you propose the maintainership to work. Unfortunately the maintainers file doesn't have any kind of comments field, otherwise I'd suggest you make those comments directly there.

I would actually go for something that can be used as a reference like Documentation/arm64/acpi.txt. This will be a document that evolves in time but pretty much sets the direction for what it means to support ACPI on the arm64 kernel. Yesterday's talk at Linaro Connect about clocks and voltage regulators on ACPI platforms is a clear example that needs to be captured in a kernel document.

For DT we have documented bindings and I was too lazy for a broader arm64 soc.txt document but I plan send an RFC across the lines of
https://plus.google.com/103785593327310749350/posts/dZF3zf7z2v4 (unless the arm-soc guys beat me to it ;)).

I really don't see much point in an ACPI ARM64 maintainers entry that only covers a 200 lines long file without guidelines on what else is going into other parts of the kernel related to ARM ACPI.

Quoted 6 lines

Given that ACPI can touch a lot of subsystems I would expect you and Hanjun not to be merging much code directly, but being listed in maintainers means that you will be kept in the loop when it comes to merging ARM ACPI changes. I would also expect that anything that does go through you (instead of merely acked) would be merged via Rafael and Len's tree.

No issues here.

Quoted 11 lines
Quoted 10 lines

MAINTAINERS F: drivers/pci/*/*acpi* · line 267

Quoted 5 lines
MAINTAINERS +5 -0
+M:   Hanjun Guo <[email protected]>
+M:   Graeme Gregory <[email protected]>
+S:   Supported
+L:   [email protected]
+F:   drivers/acpi/plat/arm-core.c

This patch should be part of the series introducing the arm-core.c file and it will be ACKed (or NAKed) following review. We can't really commit maintainers to a file which does not exist in mainline and while there is still feedback to be addressed. It's like a blank cheque.

Quoted 7 lines

I agree with merging it with the rest of the series, but comparing it to a blank cheque is not appropriate. Merely having an entry in MAINTAINERS doesn't immediately confer trust or ability to merge code, but it does tell people who to talk to when looking at ACPI on ARM. You can bet that neither Linus, Len or Rafael will merge ARM ACPI trees from them if you disagree. (And even if they did, you would yell, and Linus would revert it).

The point is that I don't have to follow all the developments closely and feel the need to yell, so I have to rely on (trust) the newly appointed maintainers to do the right thing. The recent example with me asking Rafael to drop the GIC patch shouldn't have really happened. It's not for Rafael to decide on how many acks to be on a patch before being merged (absolutely no complaints to Rafael here) but rather for the patch contributors to reach out to relevant kernel developers and ask for review/ack before sending the patch upstream (especially when there is an ongoing conversation).

As I already stated, I'm not bothered with the ACPI clean-up patches, that's up to Rafael/Len to merge. But those involving the ARM IP like GIC and timers need wider review before going upstream. For something of such importance to us like ARM ACPI, I really feel uneasy about patches going into mainline with just a Signed-off-by (hint: your ack adds significant weight to a patch ;)). Who/how many acks, I leave it to the ARM64 ACPI maintainers to figure out but it must be non-zero to be able to build up trust over time.

And there is the wider issue of which platforms go for ACPI and which stay with DT. Here the key agreement should come from the arm64 and arm-soc maintainers and captured in a kernel document. That's a kernel decision based on technical merits and *not* driven by "artificial" distro policies (sorry jcm).

Signature · 1 line
Catalin
#11 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

In reply to Graeme Gregory
Quoted 10 lines · Graeme Gregory
Quoted 6 lines · Catalin Marinas
Quoted 1 line · Graeme Gregory

+ACPI ARM64

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

Hi Catalin would changing the title to ACPI ARM64 Core Support be better in your mind. I do intend for the maintainership to cover just the plat/arm-core.c file.

See my reply to Grant. If that's the only thing you guys are aiming for, who's in charge of the other bits? Face-to-face meeting in 3 hours anyway, so we can get back here with the conclusion.

Signature · 1 line
Catalin
#12 lore raw

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

Quoted 8 lines · Catalin Marinas
Quoted 7 lines · Graeme Gregory
Quoted 6 lines · Catalin Marinas
Quoted 1 line · Graeme Gregory

+ACPI ARM64

That's a pretty broad statement for a single file. Is it core support, architected peripherals, SoC?

Quoted 7 lines
Quoted 3 lines

Hi Catalin would changing the title to ACPI ARM64 Core Support be better in your mind. I do intend for the maintainership to cover just the plat/arm-core.c file.

See my reply to Grant. If that's the only thing you guys are aiming for, who's in charge of the other bits? Face-to-face meeting in 3 hours anyway, so we can get back here with the conclusion.

Update for the benefit of those who weren't at Connect. I really think Hanjun and Graeme can do an excellent job here, but I appreciate that they are new to maintainership. To help them along, I'll mentor them in the maintainer process. I'm encouraging them to take the lead, but I'll be reading all the patches and I'll jump into the conversation if I think it is going off the rails. I'll also ack patches when I think they are in good shape and there is it is well defined what the boundaries need to be.

We all agree that the current patches are not ready to be merged and there is feedback to be addressed before the next merge request. We will not attempt to merge without acks from Catalin.

Also missing is a clear statement of how ACPI works on ARM. There needs to be a straight forward description of how ACPI PM works and how it is different from using FDT. That document will be written in short order and posted for review.

g.