RE: [PATCH v4 01/12] genirq: add IRQF_NO_AUTOEN for request_irq

2021-02-09 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Friday, January 29, 2021 11:35 AM > To: t...@linutronix.de; dmitry.torok...@gmail.com; m...@kernel.org; > gre...@linuxfoundation.org; linux-in...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: l

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-09 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Wednesday, February 10, 2021 2:54 AM > To: Song Bao Hua (Barry Song) > Cc: David Hildenbrand ; Wangzhou (B) > ; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org; linux...@k

RE: [PATCH v2] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-09 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Peter Zijlstra [mailto:pet...@infradead.org] > Sent: Wednesday, February 10, 2021 1:56 AM > To: Song Bao Hua (Barry Song) > Cc: valentin.schnei...@arm.com; vincent.guit...@linaro.org; mgor...@suse.de; > mi...@kernel.org; dietma

[PATCH v3] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-09 Thread Barry Song
6:{ span=6-7 cap=2006 }, 4:{ span=4-5 cap=1949 } [1.539048]domain-2: span=0-1,4-7 level=NUMA [1.539111] groups: 6:{ span=4-7 mask=6-7 cap=4054 }, 0:{ span=0-1 cap=1805 } [1.539571] domain-3: span=0-7 level=NUMA [1.539610] groups: 6:{ span=0-1,4-7 mask=6-7 cap=6102 }

RE: [Linuxarm] Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Tuesday, February 9, 2021 6:28 PM > To: 'Finn Thain' > Cc: tanxiaofei ; j...@linux.ibm.com; > martin.peter...@oracle.com; linux-s...@vger.kernel.org; > linux-kernel@vger.kernel.org; li

RE: [Linuxarm] Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Finn Thain [mailto:fth...@telegraphics.com.au] > Sent: Tuesday, February 9, 2021 6:06 PM > To: Song Bao Hua (Barry Song) > Cc: tanxiaofei ; j...@linux.ibm.com; > martin.peter...@oracle.com; linux-s...@vger.kernel.org; > linux-kernel@v

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Tuesday, February 9, 2021 10:30 AM > To: Song Bao Hua (Barry Song) > Cc: David Hildenbrand ; Wangzhou (B) > ; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org; linux...@k

RE: [Linuxarm] Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Finn Thain [mailto:fth...@telegraphics.com.au] > Sent: Monday, February 8, 2021 8:57 PM > To: tanxiaofei > Cc: j...@linux.ibm.com; martin.peter...@oracle.com; > linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux...@openeuler.org > Subject: [Lin

RE: [RFC PATCH 1/2] sched/topology: Get rid of NUMA overlapping groups

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Tuesday, February 9, 2021 12:48 AM > To: Song Bao Hua (Barry Song) ; > linux-kernel@vger.kernel.org > Cc: vincent.guit...@linaro.org; mgor...@suse.de; mi...@kernel.org; >

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: David Hildenbrand [mailto:da...@redhat.com] > Sent: Monday, February 8, 2021 11:37 PM > To: Song Bao Hua (Barry Song) ; Matthew Wilcox > > Cc: Wangzhou (B) ; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org; linux...@k

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-08 Thread Song Bao Hua (Barry Song)
.infradead.org; linux-...@vger.kernel.org; Andrew > Morton ; Alexander Viro ; > gre...@linuxfoundation.org; Song Bao Hua (Barry Song) > ; kevin.t...@intel.com; > jean-phili...@linaro.org; eric.au...@redhat.com; Liguozhu (Kenneth) > ; zhangfei@linaro.org; chensihang (A) > >

RE: [RFC PATCH 2/2] Revert "sched/topology: Warn when NUMA diameter > 2"

2021-02-08 Thread Song Bao Hua (Barry Song)
r.eggem...@arm.com; morten.rasmus...@arm.com; > linux...@openeuler.org; xuwei (O) ; Liguozhu (Kenneth) > ; tiantao (H) ; wanghuiqiang > ; Zengtao (B) ; Jonathan > Cameron ; guodong...@linaro.org; Song Bao Hua > (Barry Song) ; Meelis Roos > Subject: [RFC PATCH 2/2] Revert "sc

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On Behalf Of > David Hildenbrand > Sent: Monday, February 8, 2021 9:22 PM > To: Song Bao Hua (Barry Song) ; Matthew Wilcox > > Cc: Wangzhou (B) ; linux-kernel@vger.kernel.org

RE: [RFC PATCH 1/2] sched/topology: Get rid of NUMA overlapping groups

2021-02-08 Thread Song Bao Hua (Barry Song)
r.eggem...@arm.com; morten.rasmus...@arm.com; > linux...@openeuler.org; xuwei (O) ; Liguozhu (Kenneth) > ; tiantao (H) ; wanghuiqiang > ; Zengtao (B) ; Jonathan > Cameron ; guodong...@linaro.org; Song Bao Hua > (Barry Song) ; Meelis Roos > Subject: [RFC PATCH 1/2] sched/topology: Get ri

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-07 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: David Rientjes [mailto:rient...@google.com] > Sent: Monday, February 8, 2021 3:18 PM > To: Song Bao Hua (Barry Song) > Cc: Matthew Wilcox ; Wangzhou (B) > ; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org; linux...@k

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-07 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On Behalf Of > Matthew Wilcox > Sent: Monday, February 8, 2021 2:31 PM > To: Song Bao Hua (Barry Song) > Cc: Wangzhou (B) ; linux-kernel@vger.kernel.org; > io...@lists.linux-

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-07 Thread Song Bao Hua (Barry Song)
adead.org; > linux-...@vger.kernel.org; Andrew Morton ; > Alexander Viro ; gre...@linuxfoundation.org; Song > Bao Hua (Barry Song) ; j...@ziepe.ca; > kevin.t...@intel.com; jean-phili...@linaro.org; eric.au...@redhat.com; > Liguozhu (Kenneth) ; zhangfei@linaro.org; > chensihang (A) > S

[PATCH v3 2/2] dma-mapping: benchmark: pretend DMA is transmitting

2021-02-05 Thread Barry Song
ap since the socket buffers come from OS. Simple RX model eg. disk driver, is also map -> RX -> unmap, but real RX model in a NIC could be more complicated considering packets can come spontaneously and many drivers are using pre-mapped buffers pool. This is in the TBD list. Signed-off-by: Barry

[PATCH v3 1/2] dma-mapping: benchmark: use u8 for reserved field in uAPI structure

2021-02-05 Thread Barry Song
in tools, otherwise, if users use old version to run on newer kernel, the random expansion value will cause side effect on newer kernel. Signed-off-by: Barry Song --- kernel/dma/map_benchmark.c | 2 +- tools/testing/selftests/dma/dma_map_benchmark.c | 4 +++- 2 files changed

RE: [PATCH v2] dma-mapping: benchmark: pretend DMA is transmitting

2021-02-05 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Christoph Hellwig [mailto:h...@lst.de] > Sent: Friday, February 5, 2021 11:36 PM > To: Song Bao Hua (Barry Song) > Cc: Christoph Hellwig ; m.szyprow...@samsung.com; > robin.mur...@arm.com; io...@lists.linux-foundation.org; > linux-k

RE: [PATCH v2] dma-mapping: benchmark: pretend DMA is transmitting

2021-02-05 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Christoph Hellwig [mailto:h...@lst.de] > Sent: Friday, February 5, 2021 10:21 PM > To: Song Bao Hua (Barry Song) > Cc: m.szyprow...@samsung.com; h...@lst.de; robin.mur...@arm.com; > io...@lists.linux-foundation.org; linux-kernel@vger.k

[PATCH v2] dma-mapping: benchmark: pretend DMA is transmitting

2021-02-04 Thread Barry Song
ap since the socket buffers come from OS. Simple RX model eg. disk driver, is also map -> RX -> unmap, but real RX model in a NIC could be more complicated considering packets can come spontaneously and many drivers are using pre-mapped buffers pool. This is in the TBD list. Signed-off-by: Ba

RE: [PATCH] dma-mapping: benchmark: pretend DMA is transmitting

2021-02-04 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Friday, February 5, 2021 12:51 PM > To: Song Bao Hua (Barry Song) ; > m.szyprow...@samsung.com; h...@lst.de; io...@lists.linux-foundation.org > Cc: linux-kernel@vger.kernel.org; linu

[PATCH] dma-mapping: benchmark: pretend DMA is transmitting

2021-02-04 Thread Barry Song
-> transmission -> unmap. Transmission delay reduces the contention of IOMMU. Here a delay is added to simulate the transmission for TX case so that the tested result could be more accurate. RX case would be much more tricky. It is not supported yet. Signed-off-by: Barry Song --- kern

RE: [PATCH v2] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-03 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Meelis Roos [mailto:mr...@linux.ee] > Sent: Thursday, February 4, 2021 12:58 AM > To: Song Bao Hua (Barry Song) ; > valentin.schnei...@arm.com; vincent.guit...@linaro.org; mgor...@suse.de; > mi...@kernel.org; pet...@infradead.org; dietma

RE: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler

2021-02-03 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Tim Chen [mailto:tim.c.c...@linux.intel.com] > Sent: Friday, January 8, 2021 12:17 PM > To: Song Bao Hua (Barry Song) ; > valentin.schnei...@arm.com; catalin.mari...@arm.com; w...@kernel.org; > r...@rjwysocki.net; vincent.guit...@linaro.or

[PATCH v2] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-03 Thread Barry Song
s: 6:{ span=6-7 cap=2006 }, 4:{ span=4-5 cap=1949 } [1.539048]domain-2: span=0-1,4-7 level=NUMA [1.539111] groups: 6:{ span=4-7 mask=6-7 cap=4054 }, 0:{ span=0-1 cap=1805 } [1.539571] domain-3: span=0-7 level=NUMA [1.539610] groups: 6:{ span=0-1,4-7 mask=6-7

RE: [PATCH] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-03 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Wednesday, February 3, 2021 11:18 PM > To: 'Valentin Schneider' ; > vincent.guit...@linaro.org; mgor...@suse.de; mi...@kernel.org; > pet...@infradead.org; dietmar.eggem...@arm.com; morten.rasmu

RE: [PATCH] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-03 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Wednesday, February 3, 2021 4:17 AM > To: Song Bao Hua (Barry Song) ; > vincent.guit...@linaro.org; mgor...@suse.de; mi...@kernel.org; > pet...@infradead.org; dietma

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-02-01 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Tian, Kevin [mailto:kevin.t...@intel.com] > Sent: Tuesday, February 2, 2021 3:52 PM > To: Jason Gunthorpe > Cc: Song Bao Hua (Barry Song) ; chensihang (A) > ; Arnd Bergmann ; Greg > Kroah-Hartman ; linux-kernel@vger.kernel.org

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-02-01 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Tuesday, February 2, 2021 12:44 PM > To: Tian, Kevin > Cc: Song Bao Hua (Barry Song) ; chensihang (A) > ; Arnd Bergmann ; Greg > Kroah-Hartman ; linux-kernel@vger.kernel.org; > io...@li

RE: [PATCH] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-01 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Tuesday, February 2, 2021 7:11 AM > To: Song Bao Hua (Barry Song) ; > vincent.guit...@linaro.org; mgor...@suse.de; mi...@kernel.org; > pet...@infradead.org; dietma

RE: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-02-01 Thread Song Bao Hua (Barry Song)
smus...@arm.com; mgor...@suse.de; Song Bao Hua (Barry Song) > > Subject: Re: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for > the deduplicating sort > > On 22/01/2021 13:39, Valentin Schneider wrote: > > [...] > > > @@ -1705,7 +1702,7 @@ void sched_

RE: [PATCH v3 01/12] genirq: add IRQF_NO_AUTOEN for request_irq

2021-01-31 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Friday, January 29, 2021 8:55 AM > To: Song Bao Hua (Barry Song) ; > dmitry.torok...@gmail.com; m...@kernel.org; gre...@linuxfoundation.org; > linux-in...@vger.kernel.org; linux-kernel@vg

[PATCH] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-01-31 Thread Barry Song
main-2: span=0-1,4-7 level=NUMA [0.872685] groups: 6:{ span=4-7 mask=6-7 cap=4016 }, 1:{ span=0-1 cap=2048 } [0.872737] domain-3: span=0-7 level=NUMA [0.872752] groups: 6:{ span=0-1,4-7 mask=6-7 cap=6064 }, 2:{ span=0-5 mask=2-3 cap=6032 } Reported-by: Valentin Schnei

RE: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-01-28 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Friday, January 29, 2021 3:47 AM > To: Song Bao Hua (Barry Song) ; > linux-kernel@vger.kernel.org > Cc: mi...@kernel.org; pet...@infradead.org; vincent.guit...@linaro.or

[PATCH v4 03/12] Input: atmel_mxt_ts - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/atmel_mxt_ts.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v4 04/12] Input: melfas_mip4 - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/melfas_mip4.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v4 10/12] Input: cyttsp - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/cyttsp_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v4 12/12] Input: tca6416-keypad - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/keyboard/tca6416-keypad.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v4 09/12] Input: wm831x-ts - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/wm831x-ts.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v4 08/12] Input: mms114 - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/mms114.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v4 11/12] Input: tegra-kbc - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/keyboard/tegra-kbc.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v4 06/12] Input: stmfts - request_irq by IRQF_NO_AUTOEN and remove irq_set_status_flags

2021-01-28 Thread Barry Song
Right now, irq core supports requesting irq with IRQF_NO_AUTOEN, this means the driver doesn't need to call irq_set_status_flags any more. Signed-off-by: Barry Song --- drivers/input/touchscreen/stmfts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/

[PATCH v4 01/12] genirq: add IRQF_NO_AUTOEN for request_irq

2021-01-28 Thread Barry Song
ither irq_set_status_flags() nor disable_irq(). Hundreds of drivers with this problem will be handled afterwards. Cc: Dmitry Torokhov Signed-off-by: Barry Song --- -v4: remove the irq_settings magic for NOAUTOEN include/linux/interrupt.h | 3 +++ kernel/irq/manage.c | 8 +++- 2 files change

[PATCH v4 07/12] Input: zinitix - request_irq by IRQF_NO_AUTOEN and remove irq_set_status_flags

2021-01-28 Thread Barry Song
Right now, irq core supports requesting irq with IRQF_NO_AUTOEN, this means the driver doesn't need to call irq_set_status_flags any more. Signed-off-by: Barry Song --- drivers/input/touchscreen/zinitix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH v4 02/12] Input: ar1021 - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-28 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/ar1021_i2c.c | 5 + 1 file changed, 1 insertion(+), 4

[PATCH v4 05/12] Input: bu21029_ts - request_irq by IRQF_NO_AUTOEN and remove irq_set_status_flags

2021-01-28 Thread Barry Song
Right now, irq core supports requesting irq with IRQF_NO_AUTOEN, this means the driver doesn't need to call irq_set_status_flags any more. Signed-off-by: Barry Song --- drivers/input/touchscreen/bu21029_ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH v4 00/12] add IRQF_NO_AUTOEN for request_irq

2021-01-28 Thread Barry Song
This patchset added IRQF_NO_AUTOEN for request_irq() and converted drivers/input to this new API. Other drivers will be handled afterwards. -v4: remove the irq_settings magic for NOAUTOEN Barry Song (12): genirq: add IRQF_NO_AUTOEN for request_irq Input: ar1021 - request_irq by

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-27 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Wednesday, January 27, 2021 7:20 AM > To: Song Bao Hua (Barry Song) > Cc: Wangzhou (B) ; Greg Kroah-Hartman > ; Arnd Bergmann ; Zhangfei Gao > ; linux-accelerat...@lists.ozlab

[RFC PATCH v2] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-01-27 Thread Barry Song
.872662]domain-2: span=0-1,4-7 level=NUMA [0.872685] groups: 6:{ span=4-7 mask=6-7 cap=4016 }, 1:{ span=0-1 cap=2048 } [0.872737] domain-3: span=0-7 level=NUMA [0.872752] groups: 6:{ span=0-1,4-7 mask=6-7 cap=6064 }, 2:{ span=0-5 mask=2-3 cap=6032 } Reported-by: Valentin Sch

RE: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Dietmar Eggemann [mailto:dietmar.eggem...@arm.com] > Sent: Wednesday, January 13, 2021 1:53 AM > To: Song Bao Hua (Barry Song) ; Morten Rasmussen > ; Tim Chen > Cc: valentin.schnei...@arm.com; catalin.mari...@arm.com; w...@kernel.org; &g

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Tuesday, January 26, 2021 2:13 PM > To: Song Bao Hua (Barry Song) > Cc: Wangzhou (B) ; Greg Kroah-Hartman > ; Arnd Bergmann ; Zhangfei Gao > ; linux-accelerat...@lists.ozlabs.org; > linu

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On Behalf Of > Jason Gunthorpe > Sent: Tuesday, January 26, 2021 12:16 PM > To: Song Bao Hua (Barry Song) > Cc: Wangzhou (B) ; Greg Kroah-Hartman > ; Arnd Bergmann ; Zhangfei Ga

RE: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Tuesday, January 26, 2021 5:46 AM > To: Song Bao Hua (Barry Song) ; > linux-kernel@vger.kernel.org > Cc: mi...@kernel.org; pet...@infradead.org; vincent.guit...@linaro.or

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-25 Thread Song Bao Hua (Barry Song)
; > io...@lists.linux-foundation.org; linux...@kvack.org; Song Bao Hua (Barry > Song) > ; Liguozhu (Kenneth) ; > chensihang (A) > Subject: Re: [RFC PATCH v2] uacce: Add uacce_ctrl misc device > > On Mon, Jan 25, 2021 at 04:34:56PM +0800, Zhou Wang wrote: > > > +static

RE: [RFC PATCH] sched/fair: first try to fix the scheduling impact of NUMA diameter > 2

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Tuesday, January 26, 2021 1:11 AM > To: Song Bao Hua (Barry Song) ; Vincent Guittot > ; Mel Gorman > Cc: Ingo Molnar ; Peter Zijlstra ; > Dietmar Eggemann ; Morten Rasmu

RE: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler

2021-01-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Dietmar Eggemann [mailto:dietmar.eggem...@arm.com] > Sent: Wednesday, January 13, 2021 12:00 AM > To: Morten Rasmussen ; Tim Chen > > Cc: Song Bao Hua (Barry Song) ; > valentin.schnei...@arm.com; catalin.mari...@arm.com; w...@kernel.org;

RE: [RFC PATCH] sched/fair: first try to fix the scheduling impact of NUMA diameter > 2

2021-01-24 Thread Song Bao Hua (Barry Song)
> > > > > > Hi, > > > > On 18/01/21 11:25, Song Bao Hua wrote: > > >> -Original Message- > > >> From: Vincent Guittot [mailto:vincent.guit...@linaro.org] > > >> Sent: Tuesday, January 19, 2021 12:14 AM > > &

RE: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort

2021-01-24 Thread Song Bao Hua (Barry Song)
.rasmus...@arm.com; mgor...@suse.de; Song Bao > Hua (Barry Song) > Subject: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the > deduplicating sort > > The deduplicating sort in sched_init_numa() assumes that the first line in > the distance table contains a

[PATCH RESEND] dma-mapping: benchmark: fix kernel crash when dma_map_single fails

2021-01-24 Thread Barry Song
(f8626802) [ 48.112884] ---[ end trace d4890e21e75419d5 ]--- Signed-off-by: Barry Song --- kernel/dma/map_benchmark.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/dma/map_benchmark.c b/kernel/dma/map_benchmark.c index b1496e744c68..1b1b8ff875cb 100644 --- a

RE: 5.11-rc4+git: Shortest NUMA path spans too many nodes

2021-01-22 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Dietmar Eggemann [mailto:dietmar.eggem...@arm.com] > Sent: Friday, January 22, 2021 11:05 PM > To: Song Bao Hua (Barry Song) ; Valentin Schneider > ; Meelis Roos ; LKML > > Cc: Peter Zijlstra ; Vincent Guittot > ; Mel Gorman >

RE: [RFC PATCH] sched/fair: first try to fix the scheduling impact of NUMA diameter > 2

2021-01-21 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Valentin Schneider [mailto:valentin.schnei...@arm.com] > Sent: Friday, January 22, 2021 7:15 AM > To: Song Bao Hua (Barry Song) ; Vincent Guittot > > Cc: Ingo Molnar ; Peter Zijlstra ; > Dietmar Eggemann ; Morten Rasmussen > ; lin

RE: [PATCH v3 00/12] add IRQF_NO_AUTOEN for request_irq

2021-01-21 Thread Song Bao Hua (Barry Song)
Hi Thomas, Greg, Dmitry, Marc, Any further comment on this new API? Thanks Barry > -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Friday, January 8, 2021 11:39 AM > To: dmitry.torok...@gmail.com; t...@linutronix.de; m...@kernel.org; > gre...@linuxfoundatio

RE: 5.11-rc4+git: Shortest NUMA path spans too many nodes

2021-01-21 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Dietmar Eggemann [mailto:dietmar.eggem...@arm.com] > Sent: Friday, January 22, 2021 7:54 AM > To: Valentin Schneider ; Meelis Roos > ; LKML > Cc: Peter Zijlstra ; Vincent Guittot > ; Song Bao Hua (Barry Song) > ; Mel Gorman >

RE: [PATCH] uacce: Add uacce_ctrl misc device

2021-01-21 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Friday, January 22, 2021 12:19 AM > To: Song Bao Hua (Barry Song) > Cc: Wangzhou (B) ; Zhangfei Gao > ; Arnd Bergmann ; > linux-accelerat...@lists.ozlabs.org; linux-k

RE: [PATCH] uacce: Add uacce_ctrl misc device

2021-01-21 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Thursday, January 21, 2021 10:46 PM > To: Wangzhou (B) > Cc: Zhangfei Gao ; Arnd Bergmann ; > linux-accelerat...@lists.ozlabs.org; linux-kernel@vger.kernel.org; > chensihang (A) > Subject: Re: [

Re: [PATCH 2/2] mmc: remove sirf prima/atlas driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午3:28写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../devicetr

Re: [PATCH] hwspinlock: remove sirf driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午2:22写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Link: > https://lore.kernel.org/linux-arm-kernel/20210120124812.2800027-1-a...@ke

Re: [PATCH 1/3] i2c: remove sirf bus driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午2:28写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../device

Re: [PATCH 1/5] watchdog: remove sirf prima driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午5:27写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../bin

Re: [PATCH 2/2] irqchip: remove sirfsoc driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午2:30写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > drivers/irqchip/Ma

Re: [PATCH] Input: remove sirfsoc power button driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午2:31写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > drivers/in

Re: [PATCH 1/3] dmaengine: remove sirfsoc driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午2:19写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../devicetre

Re: [PATCH 3/4] timer: remove sirf atlas driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午2:16写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > drivers/cl

Re: [PATCH 1/3] rtc: remove sirfsoc driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午4:42写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../bindi

Re: [PATCH] spi: remove sirf prima/atlas driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午5:17写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../device

Re: [PATCH 1/2] ASoC: remove sirf prima/atlas drivers

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午5:26写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > .../bindi

Re: [PATCH 2/5] watchdog: remove sirf atlas driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午5:27写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > drivers/watchdog/Kc

Re: [PATCH 4/4] timer: remove sirf prima driver

2021-01-20 Thread Barry Song
Arnd Bergmann 于2021年1月21日周四 上午2:16写道: > > From: Arnd Bergmann > > The CSR SiRF prima2/atlas platforms are getting removed, so this driver > is no longer needed. > > Cc: Barry Song > Signed-off-by: Arnd Bergmann Acked-by: Barry Song > --- > drivers/cl

RE: [RFC PATCH] sched/fair: first try to fix the scheduling impact of NUMA diameter > 2

2021-01-18 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Vincent Guittot [mailto:vincent.guit...@linaro.org] > Sent: Tuesday, January 19, 2021 12:14 AM > To: Song Bao Hua (Barry Song) > Cc: Ingo Molnar ; Peter Zijlstra ; > Dietmar Eggemann ; Morten Rasmussen > ; Valentin Schneider ; > l

[RFC PATCH] sched/fair: first try to fix the scheduling impact of NUMA diameter > 2

2021-01-15 Thread Barry Song
ched_group though sched_group isn't a subset of sched_domain. So they can result in picking an idle cpu outside the sched_domain but inside the sched_group. This patch moved to only scan cpus within the sched_domain, which would be similar with load_balance(). For this moment, this i

RE: Old platforms: bring out your dead

2021-01-11 Thread Song Bao Hua (Barry Song)
e > Kleine-König ; Jamie Iles > ; Song Bao Hua (Barry Song) ; > Viresh Kumar ; Linus Walleij > ; Jonas Jensen ; Marc > Gonzalez ; Hartley Sweeten > ; Lubomir Rintel ; Neil > Armstrong ; Shawn Guo ; Alex > Elder ; Alexander Shiyan ; Koen Vandeputte > ; Hans Ulli Kroll ;

RE: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler

2021-01-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Morten Rasmussen [mailto:morten.rasmus...@arm.com] > Sent: Saturday, January 9, 2021 4:13 AM > To: Tim Chen > Cc: Song Bao Hua (Barry Song) ; > valentin.schnei...@arm.com; catalin.mari...@arm.com; w...@kernel.org; > r...@rjwyso

[PATCH] dma-mapping: benchmark: fix kernel crash when dma_map_single fails

2021-01-07 Thread Barry Song
(f8626802) [ 48.112884] ---[ end trace d4890e21e75419d5 ]--- Signed-off-by: Barry Song --- kernel/dma/map_benchmark.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/dma/map_benchmark.c b/kernel/dma/map_benchmark.c index b1496e744c68..1b1b8ff875cb 100644 --- a

[PATCH v3 12/12] Input: tca6416-keypad - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/keyboard/tca6416-keypad.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v3 08/12] Input: mms114 - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/mms114.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v3 11/12] Input: tegra-kbc - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/keyboard/tegra-kbc.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v3 10/12] Input: cyttsp - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/cyttsp_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v3 09/12] Input: wm831x-ts - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/wm831x-ts.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v3 05/12] Input: bu21029_ts - request_irq by IRQF_NO_AUTOEN and remove irq_set_status_flags

2021-01-07 Thread Barry Song
Right now, irq core supports requesting irq with IRQF_NO_AUTOEN, this means the driver doesn't need to call irq_set_status_flags any more. Signed-off-by: Barry Song --- drivers/input/touchscreen/bu21029_ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH v3 06/12] Input: stmfts - request_irq by IRQF_NO_AUTOEN and remove irq_set_status_flags

2021-01-07 Thread Barry Song
Right now, irq core supports requesting irq with IRQF_NO_AUTOEN, this means the driver doesn't need to call irq_set_status_flags any more. Signed-off-by: Barry Song --- drivers/input/touchscreen/stmfts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/

[PATCH v3 07/12] Input: zinitix - request_irq by IRQF_NO_AUTOEN and remove irq_set_status_flags

2021-01-07 Thread Barry Song
Right now, irq core supports requesting irq with IRQF_NO_AUTOEN, this means the driver doesn't need to call irq_set_status_flags any more. Signed-off-by: Barry Song --- drivers/input/touchscreen/zinitix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH v3 03/12] Input: atmel_mxt_ts - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/atmel_mxt_ts.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v3 01/12] genirq: add IRQF_NO_AUTOEN for request_irq

2021-01-07 Thread Barry Song
ither irq_set_status_flags() nor disable_irq(). Hundreds of drivers with this problem will be handled afterwards. Cc: Dmitry Torokhov Signed-off-by: Barry Song --- include/linux/interrupt.h | 3 +++ kernel/irq/manage.c | 8 kernel/irq/settings.h | 10 ++ 3 files changed, 21 inser

[PATCH v3 04/12] Input: melfas_mip4 - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/melfas_mip4.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH v3 02/12] Input: ar1021 - request_irq by IRQF_NO_AUTOEN and remove disable_irq

2021-01-07 Thread Barry Song
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Barry Song --- drivers/input/touchscreen/ar1021_i2c.c | 5 + 1 file changed, 1 insertion(+), 4

[PATCH v3 00/12] add IRQF_NO_AUTOEN for request_irq

2021-01-07 Thread Barry Song
This patchset added IRQF_NO_AUTOEN for request_irq() and converted drivers/input to this new API. Other drivers will be handled afterwards. -v3: added examples with respect to Greg's comment Barry Song (12): genirq: add IRQF_NO_AUTOEN for request_irq Input: ar1021 - request_i

RE: [PATCH v2] genirq: add IRQF_NO_AUTOEN for request_irq

2021-01-07 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, January 8, 2021 7:58 AM > To: Song Bao Hua (Barry Song) > Cc: t...@linutronix.de; m...@kernel.org; linux-in...@vger.kernel.org; > linux-kernel@vger.kernel.org; linux...@ope

RE: [RFC PATCH v3 2/2] scheduler: add scheduler level for clusters

2021-01-06 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Vincent Guittot [mailto:vincent.guit...@linaro.org] > Sent: Thursday, January 7, 2021 5:29 AM > To: Song Bao Hua (Barry Song) > Cc: Valentin Schneider ; Catalin Marinas > ; Will Deacon ; Rafael J. Wysocki > ; Cc: Len Brown ; > gr

<    1   2   3   4   5   6   >