[linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Meng Li via lists.yoctoproject.org
From: Limeng 

Hi Bruce,

This patch is used alloc memory with GFP_ATOMIC parameter so that avoid 
triggering sleep in atomic context. 
Could you please help merge this patch into linux-ycoto kernel?
Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and 
v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc


diffstat info as below:

 dpa_alloc.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

thanks,
Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13079): 
https://lists.yoctoproject.org/g/linux-yocto/message/13079
Mute This Topic: https://lists.yoctoproject.org/mt/101451576/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Bruce Ashfield
I think this came through twice.

If I've missed a merge, let me know.

Bruce

In message: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace 
GFP_KERNEL with GFP_ATOMIC during allocating memory
on 19/09/2023 Meng Li wrote:

> From: Limeng 
> 
> Hi Bruce,
> 
> This patch is used alloc memory with GFP_ATOMIC parameter so that avoid 
> triggering sleep in atomic context. 
> Could you please help merge this patch into linux-ycoto kernel?
> Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and 
> v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
> 
> 
> diffstat info as below:
> 
>  dpa_alloc.c |6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> thanks,
> Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13085): 
https://lists.yoctoproject.org/g/linux-yocto/message/13085
Mute This Topic: https://lists.yoctoproject.org/mt/101451576/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Meng Li via lists.yoctoproject.org


> -Original Message-
> From: Bruce Ashfield 
> Sent: Wednesday, September 20, 2023 6:21 AM
> To: Li, Meng 
> Cc: linux-yocto@lists.yoctoproject.org
> Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: 
> replace
> GFP_KERNEL with GFP_ATOMIC during allocating memory
> 
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and
> know the content is safe.
> 
> I think this came through twice.
> 
> If I've missed a merge, let me know.
> 

Although this patch modified the same file as the last patch, it fixed the same 
issue in different function.
Because there are 2 issues reported to me separately in different days. When I 
received the second issue I had sent the first patch to you.
So, I created another patch(the second one) that also needs to be merged.

Thanks,
Limeng

> Bruce
> 
> In message: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: 
> replace
> GFP_KERNEL with GFP_ATOMIC during allocating memory on 19/09/2023
> Meng Li wrote:
> 
> > From: Limeng 
> >
> > Hi Bruce,
> >
> > This patch is used alloc memory with GFP_ATOMIC parameter so that avoid
> triggering sleep in atomic context.
> > Could you please help merge this patch into linux-ycoto kernel?
> > Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and
> > v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
> >
> >
> > diffstat info as below:
> >
> >  dpa_alloc.c |6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > thanks,
> > Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13087): 
https://lists.yoctoproject.org/g/linux-yocto/message/13087
Mute This Topic: https://lists.yoctoproject.org/mt/101451576/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Bruce Ashfield
On Tue, Sep 19, 2023 at 9:53 PM Li, Meng  wrote:
>
>
>
> > -Original Message-
> > From: Bruce Ashfield 
> > Sent: Wednesday, September 20, 2023 6:21 AM
> > To: Li, Meng 
> > Cc: linux-yocto@lists.yoctoproject.org
> > Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: 
> > replace
> > GFP_KERNEL with GFP_ATOMIC during allocating memory
> >
> > CAUTION: This email comes from a non Wind River email account!
> > Do not click links or open attachments unless you recognize the sender and
> > know the content is safe.
> >
> > I think this came through twice.
> >
> > If I've missed a merge, let me know.
> >
>
> Although this patch modified the same file as the last patch, it fixed the 
> same issue in different function.
> Because there are 2 issues reported to me separately in different days. When 
> I received the second issue I had sent the first patch to you.
> So, I created another patch(the second one) that also needs to be merged.

Aha.

to make things easier, can you re-send it as a v2 with a different
subject line ?

Bruce

>
> Thanks,
> Limeng
>
> > Bruce
> >
> > In message: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: 
> > replace
> > GFP_KERNEL with GFP_ATOMIC during allocating memory on 19/09/2023
> > Meng Li wrote:
> >
> > > From: Limeng 
> > >
> > > Hi Bruce,
> > >
> > > This patch is used alloc memory with GFP_ATOMIC parameter so that avoid
> > triggering sleep in atomic context.
> > > Could you please help merge this patch into linux-ycoto kernel?
> > > Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and
> > > v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
> > >
> > >
> > > diffstat info as below:
> > >
> > >  dpa_alloc.c |6 +++---
> > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > >
> > > thanks,
> > > Limeng



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13088): 
https://lists.yoctoproject.org/g/linux-yocto/message/13088
Mute This Topic: https://lists.yoctoproject.org/mt/101451576/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Meng Li via lists.yoctoproject.org


> -Original Message-
> From: Bruce Ashfield 
> Sent: Wednesday, September 20, 2023 12:06 PM
> To: Li, Meng 
> Cc: linux-yocto@lists.yoctoproject.org
> Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: 
> replace
> GFP_KERNEL with GFP_ATOMIC during allocating memory
> 
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and
> know the content is safe.
> 
> On Tue, Sep 19, 2023 at 9:53 PM Li, Meng  wrote:
> >
> >
> >
> > > -Original Message-
> > > From: Bruce Ashfield 
> > > Sent: Wednesday, September 20, 2023 6:21 AM
> > > To: Li, Meng 
> > > Cc: linux-yocto@lists.yoctoproject.org
> > > Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers:
> > > fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating
> > > memory
> > >
> > > CAUTION: This email comes from a non Wind River email account!
> > > Do not click links or open attachments unless you recognize the
> > > sender and know the content is safe.
> > >
> > > I think this came through twice.
> > >
> > > If I've missed a merge, let me know.
> > >
> >
> > Although this patch modified the same file as the last patch, it fixed the 
> > same
> issue in different function.
> > Because there are 2 issues reported to me separately in different days. 
> > When I
> received the second issue I had sent the first patch to you.
> > So, I created another patch(the second one) that also needs to be merged.
> 
> Aha.
> 
> to make things easier, can you re-send it as a v2 with a different subject 
> line ?
> 

Yes! 
In order to distinguish the 2 patches, I create different subject.
The first patch subject that you have merged is "drivers: fsl_qbman: alloc 
memory with GFP_ATOMIC parameter"
This patch(the second one) subject is " drivers: fsl_qbman: replace GFP_KERNEL 
with GFP_ATOMIC during allocating memory"
If you think they are still similar, I will re-create subject for the second 
patch, and send V2.

Thanks,
LImeng

> Bruce
> 
> >
> > Thanks,
> > Limeng
> >
> > > Bruce
> > >
> > > In message: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers:
> > > fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating
> > > memory on 19/09/2023 Meng Li wrote:
> > >
> > > > From: Limeng 
> > > >
> > > > Hi Bruce,
> > > >
> > > > This patch is used alloc memory with GFP_ATOMIC parameter so that
> > > > avoid
> > > triggering sleep in atomic context.
> > > > Could you please help merge this patch into linux-ycoto kernel?
> > > > Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and
> > > > v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
> > > >
> > > >
> > > > diffstat info as below:
> > > >
> > > >  dpa_alloc.c |6 +++---
> > > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > > >
> > > > thanks,
> > > > Limeng
> 
> 
> 
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee at
> its end
> - "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13089): 
https://lists.yoctoproject.org/g/linux-yocto/message/13089
Mute This Topic: https://lists.yoctoproject.org/mt/101451576/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-20 Thread Bruce Ashfield
On Wed, Sep 20, 2023 at 12:29 AM Li, Meng  wrote:
>
>
>
> > -Original Message-
> > From: Bruce Ashfield 
> > Sent: Wednesday, September 20, 2023 12:06 PM
> > To: Li, Meng 
> > Cc: linux-yocto@lists.yoctoproject.org
> > Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: 
> > replace
> > GFP_KERNEL with GFP_ATOMIC during allocating memory
> >
> > CAUTION: This email comes from a non Wind River email account!
> > Do not click links or open attachments unless you recognize the sender and
> > know the content is safe.
> >
> > On Tue, Sep 19, 2023 at 9:53 PM Li, Meng  wrote:
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Bruce Ashfield 
> > > > Sent: Wednesday, September 20, 2023 6:21 AM
> > > > To: Li, Meng 
> > > > Cc: linux-yocto@lists.yoctoproject.org
> > > > Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers:
> > > > fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating
> > > > memory
> > > >
> > > > CAUTION: This email comes from a non Wind River email account!
> > > > Do not click links or open attachments unless you recognize the
> > > > sender and know the content is safe.
> > > >
> > > > I think this came through twice.
> > > >
> > > > If I've missed a merge, let me know.
> > > >
> > >
> > > Although this patch modified the same file as the last patch, it fixed 
> > > the same
> > issue in different function.
> > > Because there are 2 issues reported to me separately in different days. 
> > > When I
> > received the second issue I had sent the first patch to you.
> > > So, I created another patch(the second one) that also needs to be merged.
> >
> > Aha.
> >
> > to make things easier, can you re-send it as a v2 with a different subject 
> > line ?
> >
>
> Yes!
> In order to distinguish the 2 patches, I create different subject.
> The first patch subject that you have merged is "drivers: fsl_qbman: alloc 
> memory with GFP_ATOMIC parameter"
> This patch(the second one) subject is " drivers: fsl_qbman: replace 
> GFP_KERNEL with GFP_ATOMIC during allocating memory"
> If you think they are still similar, I will re-create subject for the second 
> patch, and send V2.

It looks like that 2nd series didn't come through fully on my end. Let
me check the archives and let you know.

Bruce

>
> Thanks,
> LImeng
>
> > Bruce
> >
> > >
> > > Thanks,
> > > Limeng
> > >
> > > > Bruce
> > > >
> > > > In message: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers:
> > > > fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating
> > > > memory on 19/09/2023 Meng Li wrote:
> > > >
> > > > > From: Limeng 
> > > > >
> > > > > Hi Bruce,
> > > > >
> > > > > This patch is used alloc memory with GFP_ATOMIC parameter so that
> > > > > avoid
> > > > triggering sleep in atomic context.
> > > > > Could you please help merge this patch into linux-ycoto kernel?
> > > > > Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and
> > > > > v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
> > > > >
> > > > >
> > > > > diffstat info as below:
> > > > >
> > > > >  dpa_alloc.c |6 +++---
> > > > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > > > >
> > > > > thanks,
> > > > > Limeng
> >
> >
> >
> > --
> > - Thou shalt not follow the NULL pointer, for chaos and madness await thee 
> > at
> > its end
> > - "Use the force Harry" - Gandalf, Star Trek II



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13093): 
https://lists.yoctoproject.org/g/linux-yocto/message/13093
Mute This Topic: https://lists.yoctoproject.org/mt/101451576/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[v2][linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-20 Thread Meng Li via lists.yoctoproject.org
From: Limeng 

Hi Bruce,

This patch is used to replace GFP_KERNEL with GFP_ATOMIC during allocating 
memory so that avoid triggering sleep in atomic context. 
Could you please help merge this patch into linux-ycoto kernel?
Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and 
v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc


diffstat info as below:

 dpa_alloc.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

thanks,
Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13094): 
https://lists.yoctoproject.org/g/linux-yocto/message/13094
Mute This Topic: https://lists.yoctoproject.org/mt/101491801/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-