soc: fsl: Correct MAINTAINERS database (QUICC ENGINE LIBRARY)
Subsystems (2)
PATCH v2 3/3 soc: fsl: Replace kernel.h with the necessary inclusions
In reply to Andy ShevchenkoWhen kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.
Replace kernel.h inclusion with the list of what is really being used.
---
v2: updated Cc list based on previous changes to MAINTAINERS
include/soc/fsl/dpaa2-fd.h | 3 ++- include/soc/fsl/qe/immap_qe.h | 3 ++- include/soc/fsl/qe/qe_tdm.h | 4 +++- include/soc/fsl/qe/ucc_fast.h | 2 +- include/soc/fsl/qe/ucc_slow.h | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-)
include/soc/fsl/dpaa2-fd.h +2 -1
@@ -7,7 +7,8 @@#ifndef __FSL_DPAA2_FD_H#define __FSL_DPAA2_FD_H -#include <linux/kernel.h> +#include <linux/byteorder/generic.h> +#include <linux/types.h> /** * DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2
include/soc/fsl/qe/immap_qe.h +2 -1
@@ -13,7 +13,8 @@#define _ASM_POWERPC_IMMAP_QE_H#ifdef __KERNEL__ -#include <linux/kernel.h> +#include <linux/types.h> +#include <asm/io.h> #define QE_IMMAP_SIZE (1024 * 1024)/* 1MB from 1MB+IMMR */
include/soc/fsl/qe/qe_tdm.h +3 -1
@@ -10,8 +10,8 @@#ifndef _QE_TDM_H_#define _QE_TDM_H_ -#include <linux/kernel.h> #include <linux/list.h> +#include <linux/types.h> #include <soc/fsl/qe/immap_qe.h> #include <soc/fsl/qe/qe.h>
@@ -19,6 +19,8 @@#include <soc/fsl/qe/ucc.h> #include <soc/fsl/qe/ucc_fast.h> +struct device_node ; +/* SI RAM entries */ #define SIR_LAST 0x0001#define SIR_BYTE 0x0002
include/soc/fsl/qe/ucc_fast.h +1 -1
@@ -10,7 +10,7 @@#ifndef __UCC_FAST_H__#define __UCC_FAST_H__ -#include <linux/kernel.h> +#include <linux/types.h> #include <soc/fsl/qe/immap_qe.h> #include <soc/fsl/qe/qe.h>
include/soc/fsl/qe/ucc_slow.h +1 -1
@@ -11,7 +11,7 @@#ifndef __UCC_SLOW_H__#define __UCC_SLOW_H__ -#include <linux/kernel.h> +#include <linux/types.h> #include <soc/fsl/qe/immap_qe.h> #include <soc/fsl/qe/qe.h>
Signature · 1 line
2.33.0
PATCH v2 2/3 soc: fsl: Correct MAINTAINERS database (SOC)
In reply to Andy ShevchenkoMAINTAINERS lacks of proper coverage for FSL headers. Fix it accordingly.
---
v2: new patch
MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -7689,6 +7689,7 @@ F: Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml F: Documentation/devicetree/bindings/soc/fsl/ F: drivers/soc/fsl/ F: include/linux/fsl/ +F: include/soc/fsl/ FREESCALE SOC FS_ENET DRIVER M: Pantelis Antoniou <[email protected]>
Signature · 1 line
2.33.0
PATCH v2 1/3 soc: fsl: Correct MAINTAINERS database (QUICC ENGINE LIBRARY)
MAINTAINERS lacks of proper coverage for FSL headers. Fix it accordingly.
---
v2: new patch
MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +1 -2
@@ -7658,8 +7658,7 @@ M: Qiang Zhao <[email protected]> L: [email protected] S: Maintained F: drivers/soc/fsl/qe/ -F: include/soc/fsl/*qe*.h -F: include/soc/fsl/*ucc*.h +F: include/soc/fsl/qe/ FREESCALE QUICC ENGINE UCC ETHERNET DRIVER M: Li Yang <[email protected]>
Signature · 1 line
2.33.0
Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
In reply to Andy ShevchenkoQuoted 8 lines · Andy Shevchenko
When
kernel.his used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.Replace
kernel.hinclusion with the list of what is really being used.Signed-off-by Andy Shevchenko <[email protected]>---
v2: updated Cc list based on previous changes toMAINTAINERS
Any comments on this, please?
I really want to decrease amount of kernel.h usage in the common headers. So others won't copy'n'paste bad example.
Signature · 9 lines
With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
RE: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 17 lines
-----Original Message-----
From: Andy Shevchenko <[email protected]>
Sent: Monday, November 15, 2021 5:30 AM
To: [email protected]; [email protected]; linux-arm- [email protected]
Cc: Leo Li <[email protected]>; Qiang Zhao <[email protected]>
Subject: Re: [PATCH v2 3/3] soc: fsl: Replacekernel.hwith the necessary inclusionsQuoted 5 lines · Andy Shevchenko
When
kernel.his used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.Replace
kernel.hinclusion with the list of what is really being used.
Quoted 8 lines
Quoted 3 lines
Signed-off-by Andy Shevchenko <[email protected]>---
v2: updated Cc list based on previous changes toMAINTAINERSAny comments on this, please?
I really want to decrease amount of
kernel.husage in the common headers. So others won't copy'n'paste bad example.
There seems to be no problem with the patch although I didn't get time to really compile with it applied.
Will pick them up later after build test.
Regards,
Leo
Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 3 lines · Leo Li
Quoted 3 lines
From: Andy Shevchenko <[email protected]>
Sent: Monday, November 15, 2021 5:30 AM
On Wed, Nov 10, 2021 at 12:59:52PM +0200, Andy Shevchenko wrote:
...
Quoted 10 lines
Quoted 6 lines
Quoted 1 line
v2: updated Cc list based on previous changes to
MAINTAINERSAny comments on this, please?
I really want to decrease amount of
kernel.husage in the common headers. So others won't copy'n'paste bad example.There seems to be no problem with the patch although I didn't get time to really compile with it applied.
Will pick them up later after build test.
Thank you!
Note, it has two fixes against MAINTAINERS which may be sent, I believe, sooner than later to Linus.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 14 lines · Andy Shevchenko
Quoted 3 lines · Leo Li
Quoted 3 lines
From: Andy Shevchenko <[email protected]>
Sent: Monday, November 15, 2021 5:30 AM
On Wed, Nov 10, 2021 at 12:59:52PM +0200, Andy Shevchenko wrote:...
Quoted 7 lines
Quoted 6 lines
Quoted 1 line
v2: updated Cc list based on previous changes to
MAINTAINERSAny comments on this, please?
I really want to decrease amount of
kernel.husage in the common headers. So others won't copy'n'paste bad example.
Quoted 8 lines
Quoted 3 lines
There seems to be no problem with the patch although I didn't get time to really compile with it applied.
Will pick them up later after build test.
Thank you!
Note, it has two fixes against
MAINTAINERSwhich may be sent, I believe, sooner than later to Linus.
Any new so far?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 18 lines · Andy Shevchenko
Quoted 16 lines · Andy Shevchenko
Quoted 3 lines · Leo Li
Quoted 3 lines
From: Andy Shevchenko <[email protected]>
Sent: Monday, November 15, 2021 5:30 AM
On Wed, Nov 10, 2021 at 12:59:52PM +0200, Andy Shevchenko wrote:...
Quoted 9 lines
Quoted 6 lines
Quoted 1 line
v2: updated Cc list based on previous changes to
MAINTAINERSAny comments on this, please?
I really want to decrease amount of
kernel.husage in the common headers. So others won't copy'n'paste bad example.There seems to be no problem with the patch although I didn't get time to really compile with it applied.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Will pick them up later after build test.
Thank you!
Note, it has two fixes against
MAINTAINERSwhich may be sent, I believe, sooner than later to Linus.Any new so far?
The build test is good. I have applied it for next. Thanks.
Regards,
Leo
Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 22 lines · Li Yang
Quoted 20 lines · Andy Shevchenko
Quoted 18 lines · Andy Shevchenko
Quoted 3 lines · Leo Li
Quoted 3 lines
From: Andy Shevchenko <[email protected]>
Sent: Monday, November 15, 2021 5:30 AM
On Wed, Nov 10, 2021 at 12:59:52PM +0200, Andy Shevchenko wrote:...
Quoted 10 lines
Quoted 6 lines
Quoted 1 line
v2: updated Cc list based on previous changes to
MAINTAINERSAny comments on this, please?
I really want to decrease amount of
kernel.husage in the common headers. So others won't copy'n'paste bad example.There seems to be no problem with the patch although I didn't get time to really compile with it applied.
Will pick them up later after build test.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Thank you!
Note, it has two fixes against
MAINTAINERSwhich may be sent, I believe, sooner than later to Linus.Any new so far?
The build test is good. I have applied it for next. Thanks.
Thanks, what about MAINTAINERS updates? I don't see them neither in next nor in your tree.
Signature · 2 lines
With Best Regards, Andy Shevchenko
RE: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 41 lines
-----Original Message-----
From: Andy Shevchenko <[email protected]>
Sent: Thursday, December 2, 2021 3:33 AM
To: Leo Li <[email protected]>
Cc: [email protected]; [email protected]; linux-arm- [email protected]; Qiang Zhao <[email protected]>
Subject: Re: [PATCH v2 3/3] soc: fsl: Replacekernel.hwith the necessary inclusionsQuoted 9 lines · Li Yang
Quoted 7 lines · Andy Shevchenko
Quoted 5 lines · Andy Shevchenko
Quoted 3 lines · Leo Li
Quoted 3 lines
From: Andy Shevchenko <[email protected]>
Sent: Monday, November 15, 2021 5:30 AM On Wed, Nov 10, 2021 at 12:59:52PM +0200, Andy Shevchenko wrote:Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
...
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
v2: updated Cc list based on previous changes to
MAINTAINERSAny comments on this, please?
I really want to decrease amount of
kernel.husage in the commonheaders.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
So others won't copy'n'paste bad example.
There seems to be no problem with the patch although I didn't get
time to really compile with it applied.
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Will pick them up later after build test.
Thank you!
Note, it has two fixes against
MAINTAINERSwhich may be sent, I believe, sooner than later to Linus.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Any new so far?
The build test is good. I have applied it for next. Thanks.
Thanks, what about
MAINTAINERSupdates? I don't see them neither in next nor in your tree.
I am ok with these MAINTAINERS updates. I thought you want to send them directly to Linus. I can take them if you like.
Regards,
Leo
Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 5 lines · Leo Li
Quoted 5 lines
From: Andy Shevchenko <[email protected]>
Sent: Thursday, December 2, 2021 3:33 AMQuoted 2 lines · Li Yang
On Tue, Nov 23, 2021 at 10:32 AM Andy Shevchenko
<[email protected]> wrote:
...
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
The build test is good. I have applied it for next. Thanks.
Thanks, what about
MAINTAINERSupdates? I don't see them neither in next nor in your tree.I am ok with these
MAINTAINERSupdates. I thought you want to send them directly to Linus. I can take them if you like.
I was just pointing out that it would be good that you (as a maintainer of SOC FSL) have them applied and pushed for the current cycle, but they are not code fixes anyway, so it's not critical.
TL;DR: Yes, please take them, thanks!
Signature · 2 lines
With Best Regards, Andy Shevchenko
Re: [PATCH v2 3/3] soc: fsl: Replace kernel.h with the necessary inclusions
Quoted 15 lines · Andy Shevchenko
Quoted 5 lines · Leo Li
Quoted 5 lines
From: Andy Shevchenko <[email protected]>
Sent: Thursday, December 2, 2021 3:33 AMQuoted 2 lines · Li Yang
On Tue, Nov 23, 2021 at 10:32 AM Andy Shevchenko
<[email protected]> wrote:...
Quoted 5 lines
Quoted 4 lines
Quoted 1 line
The build test is good. I have applied it for next. Thanks.
Thanks, what about
MAINTAINERSupdates? I don't see them neither in next nor in your tree.
Quoted 7 lines
Quoted 1 line
I am ok with these
MAINTAINERSupdates. I thought you want to send them directly to Linus. I can take them if you like.I was just pointing out that it would be good that you (as a maintainer of SOC FSL) have them applied and pushed for the current cycle, but they are not code fixes anyway, so it's not critical.
TL;DR: Yes, please take them, thanks!
Got it. Both applied for next. Thanks.
Regards,
Leo