2013/3/14 Linus Walleij
>
> On Mon, Mar 11, 2013 at 3:23 PM, Wei Yongjun wrote:
>
> > From: Wei Yongjun
> >
> > Using for_each_set_bit() to simplify the code.
> >
> > Signed-off-by: Wei Yongjun
>
> Barry, can I have your ACK on this?
yes. acked. thanks Yongjun, Linus.
>
> Yours,
> Linus Walle
2013/2/26 Greg Kroah-Hartman :
> On Tue, Feb 26, 2013 at 11:06:56AM +0800, Barry Song wrote:
>> Hi Greg/All,
>> we have seen 3.4 was announced to be an LTSI in Aug, 2012. I'd like to
>> know what is the next LTSI version since we might want to align our
>> next r
Hi Greg,
2013/2/26 Greg Kroah-Hartman :
> On Tue, Feb 26, 2013 at 11:46:04AM +0800, Barry Song wrote:
>> 2013/2/26 Greg Kroah-Hartman :
>> > On Tue, Feb 26, 2013 at 11:06:56AM +0800, Barry Song wrote:
>> >> Hi Greg/All,
>> >> we have seen 3.4 was announc
2013/7/10 Wolfram Sang :
> Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
> we can rely on device core for setting the default pins. Compile tested only.
>
> Acked-by: Linus Walleij (personally at LCE13)
> Signed-off-by: Wolfram Sang
> ---
> drivers/mmc/host/mvsdi
> @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void)
>
> of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data);
> }
> +CLK_OF_DECLARE(sirfsoc_clk, "sirf,prima2-clkc", sirfsoc_clk_init);
hi Sebastian,
what if the driver is compatible with multiple clk controllers and we
want
2013/9/28 Sebastian Hesselbarth :
> On 09/22/2013 12:37 PM, Barry Song wrote:
>>
>> 2013/9/22 Sebastian Hesselbarth :
>>>
>>> On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote:
>>>>
>>>>
>>>> On 09/19/13 10:45, Bar
2013/9/22 Sebastian Hesselbarth :
> On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote:
>>
>> On 09/19/13 10:45, Barry Song wrote:
>>>>
>>>> @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void)
>>>>
>>>>
#x27;SIRFSOC_GPIO_PULL_UP'
> undeclared (first use in this function)
> drivers/pinctrl/pinctrl-sirf.c:1338:7: error: 'SIRFSOC_GPIO_PULL_DOWN'
> undeclared (first use in this function)
>
> Signed-off-by: Arnd Bergmann
> Cc: Barry Song
> Cc: Linus Walleij
Acke
2012/11/5 Axel Lin :
> Staticize sirfsoc_gpio_irq_map() function.
>
> Signed-off-by: Axel Lin
Acked-by: Barry Song
> ---
> drivers/pinctrl/pinctrl-sirf.c |4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pinctrl/pinctrl-sirf.c b
> -Original Message-
> From: Stephen Boyd [mailto:sb...@codeaurora.org]
> Sent: Saturday, April 20, 2013 12:20 AM
> To: linux-arm-ker...@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org; linux-arm-...@vger.kernel.org; Mark
> Rutland; Marc Zyngier; Kukjin Kim;
2013/6/6 Alexey Khoroshilov :
> If pinctrl_get_select_default() fails, spi_sirfsoc_probe()
> returns IS_ERR(sspi->p) instead of PTR_ERR(sspi->p).
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov
Acked-by: Barry Son
2013/6/6 Barry Song <21cn...@gmail.com>:
> 2013/6/6 Alexey Khoroshilov :
>> If pinctrl_get_select_default() fails, spi_sirfsoc_probe()
>> returns IS_ERR(sspi->p) instead of PTR_ERR(sspi->p).
>>
>> Found by Linux Driver Verification project (linuxte
2013/6/7 Olof Johansson :
> On Thu, Jun 6, 2013 at 8:13 AM, jonsm...@gmail.com wrote:
>> On Wed, Jun 5, 2013 at 7:54 PM, luke.leighton
>> wrote:
>>> augh. ok. solutions. what are the solutions here?
>>
>> Luke if you really want to fix this a good solution is to have
>> Allwinner join Linaro
2013/5/31 Srinivas KANDAGATLA :
> From: Srinivas Kandagatla
>
> This patch moves sirfsoc_of_rstc_init from early_initcall to .init_early
> in machine descriptor, doing this way a multi_v7 kernel will not crash
> on non-prima2 SOCs.
>
> Without this patch the multi_v7 kernel panics if we boot it on
2013/5/31 Srinivas KANDAGATLA :
> On 31/05/13 13:24, Barry Song wrote:
>>> > Signed-off-by: Srinivas Kandagatla
>> hi Sriniva,
>> i think my "arm: prima2: move to generic reset controller driver
>> framework" fixs this too:
>> http://www.spinics.ne
hi Srinivas,
2013/5/31 Srinivas KANDAGATLA :
> From: Srinivas Kandagatla
>
> This patch moves sirfsoc_of_rstc_init from early_initcall to .init_early
> in machine descriptor, doing this way a multi_v7 kernel will not crash
> on non-prima2 SOCs.
>
> Without this patch the multi_v7 kernel panics if
hi Srinivas,
2013/5/31 Srinivas KANDAGATLA :
> From: Srinivas Kandagatla
>
> This patch moves all postcore_initcalls to very first calls in
> init_machine. This should achieve the same sequencing as done via
> postcore_initcalls.
> Without this patch a multi_v7 kernel panics if we boot it on any
her peripheral drivers.
now they are actually initialized after init_machine().
>
> Thanks,
> srini
>
> On 03/06/13 03:19, Barry Song wrote:
>> this broke SiRF by:
>> Uncompressing Linux... done, booting the kernel.
>> [0.00] Booting Linux on physical CPU 0x0
&
Hi Srinivas,
2013/6/3 Srinivas KANDAGATLA :
> On 03/06/13 04:51, Barry Song wrote:
>> did you see this one?
>>
>> [PATCH v2] arm: prima2: use of_platform_populate instead of
>> of_platform_bus_probe
>> http://www.spinics.net/lists/arm-kernel/msg243710.html
>
&
2013/6/26 Stephen Boyd :
> Olof/Arnd,
>
> These patches remove the ARM local timer API. The ARM architected
> timers have already moved away from this API so this series
> migrates the rest of the users allowing us to remove the API
> entirely. Thomas has been kind enough to take the first two
> pa
2013/7/30 Olof Johansson :
> As previous years, we are planning on hosting a ARM Kernel Summit
> attached to the main Kernel Summit, and we have graciously been given
> space to host it for two days, Oct 22-23 (Oct 23 is the track day for
> the main KS, so we're getting an extra day) in Edinburgh,
2013/7/22 Joe Perches :
> commit 3370dc916c ("pinctrl:sirf:re-arch and add support for
> new SiRFatlas6 SoC") moved the files, update the patterns.
>
> Signed-off-by: Joe Perches
> cc: Barry Song <21cn...@gmail.com>
> cc: Linus Walleij
Acked-by: Barry Song
2013/7/18 Greg KH :
> On Wed, Jul 17, 2013 at 10:57:06AM +0300, Felipe Balbi wrote:
>> Hi,
>>
>> On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote:
>> > > The question is since we default GADGET, so the g_mass_storage.ko is
>> > > installed early but connecting to a host PC
>> > > is randomly
2013/7/18 Felipe Balbi :
> On Thu, Jul 18, 2013 at 05:28:19PM +0800, Rong Wang wrote:
>> Hi Felipe,
>>
>> Thanks, I'll test the patch.
>>
>> But sysfs_notify(&gadget->dev.kobj, NULL, "status"), status or state ?
>> I notice that DEVICE_ATTR(state, S_IRUGO, usb_gadget_state_show, NULL)
>
> good eyes
> -Original Message-
> From: Julia Lawall [mailto:julia.law...@lip6.fr]
> Sent: Wednesday, August 14, 2013 5:11 PM
> To: Barry Song
> Cc: kernel-janit...@vger.kernel.org; Mark Brown;
> linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org;
> linux-kernel@vger
;
> Signed-off-by: Maxime Ripard
Acked-by: Barry Song
> ---
> arch/arm/mach-prima2/common.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c
> index 4f94cd8..52e28cf 100644
> --- a/arch/arm/mach-prim
2013/5/16 Wolfram Sang :
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
>
> Signed-off-by: Wolfram Sang
Acked-by: Barry Song
-barry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
2013/3/11 Wei Yongjun :
> From: Wei Yongjun
>
> In case of error, the function clk_get() returns ERR_PTR()
> not NULL. The NULL test in the return value check should
> be replaced with IS_ERR().
>
> Signed-off-by: Wei Yongjun
Acked. Thanks!
> ---
> drivers/clk/clk-prima2.c | 2 +-
> 1 file cha
s was found using the following semantic match:
> (http://coccinelle.lip6.fr/)
>
> //
> @@
> expression x;
> @@
>
> *x = devm_ioremap(...)
> ...
> iounmap(x);
> //
>
> Signed-off-by: Julia Lawall
Acked-by: Barry Song
thanks!
>
> ---
&
2012/8/22 Vinod Koul :
> On Sat, 2012-08-04 at 10:35 +0200, Julia Lawall wrote:
>> From: Julia Lawall
>>
>> Fix some problems with the use of devm_ functions.
> Applied, thanks
the git log "drivers/dma/sirf-dma.c: fix usage of devm functions"
should be fixed.
>
>
> --
> ~Vinod
>
-barry
--
To un
2012/8/22 Julia Lawall :
> On Wed, 22 Aug 2012, Barry Song wrote:
>
>> 2012/8/22 Vinod Koul :
>>>
>>> On Sat, 2012-08-04 at 10:35 +0200, Julia Lawall wrote:
>>>>
>>>> From: Julia Lawall
>>>>
>>>> Fix some problems
expression e;
> @@
>
> - clk_disable(e);
> - clk_unprepare(e);
> + clk_disable_unprepare(e);
> //
>
> Signed-off-by: Julia Lawall
Acked-by: Barry Song <21cn...@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord..
reset or not, and sched_clock() could return a
> bogus value. Add a suspended flag, and return the pre-suspend epoch_ns
> value during this period.
Acked-by: Barry Song <21cn...@gmail.com>
this patch should also fix the issue that:
1. launch some rt threads, rt threads sleep be
Hi Baruch,
Thanks!
> -Original Message-
> From: Baruch Siach [mailto:bar...@tkos.co.il]
> Sent: Friday, November 23, 2012 11:07 AM
> To: Barry Song
> Cc: gre...@linuxfoundation.org; DL-SHA-WorkGroupLinux;
> linux...@lists.linux-foundation.org; linux-kernel@vger.kernel.or
form and OF driver helper
[0.411871] TCP: cubic registered
[0.411926] VFP support v0.3: implementor 41 architecture 3 part 30 variant
9 rev 2
[0.417897] Freeing init memory: 856K
...
Signed-off-by: Barry Song
---
Note: This is only a RFC, after we agree about the idea, i will move
t
2015-09-29 16:55 GMT+08:00 Lee Jones :
> On Tue, 29 Sep 2015, Barry Song wrote:
>
>> 2015-09-29 15:16 GMT+08:00 Lee Jones :
>> > On Tue, 29 Sep 2015, Barry Song wrote:
>> >> >> >> +static int sirfsoc_pwrc_probe(struct platform_device *pdev)
>> &
2015-10-05 16:21 GMT+08:00 Lee Jones :
> On Sun, 04 Oct 2015, Barry Song wrote:
>> 2015-09-29 16:55 GMT+08:00 Lee Jones :
>> > On Tue, 29 Sep 2015, Barry Song wrote:
>> >
>> >> 2015-09-29 15:16 GMT+08:00 Lee Jones :
>> >> > On Tue, 29
jun in wechat regarding this patch. and
Reviewed-by: Barry Song <21cn...@gmail.com>
> ---
> drivers/tty/serial/imx.c | 21 -
> 1 file changed, 8 insertions(+), 13 deletions(-)
>
as you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: Barry Song <21cn...@gmail.com>
---
drivers/dma/mv_xor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index 969534c..7f59535 100644
as you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: Barry Song <21cn...@gmail.com>
---
drivers/dma/at_xdmac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
index 4bf7256..4e55768
On Mon, Aug 5, 2024 at 8:21 PM Jason Wang wrote:
>
> Barry said [1]:
>
> """
> mm doesn't support non-blockable __GFP_NOFAIL allocation. Because
> __GFP_NOFAIL without direct reclamation may just result in a busy
> loop within non-sleepable contexts.
> ""“
the current code will result in returnin
On Thu, Aug 8, 2024 at 5:43 PM Jason Wang wrote:
>
> Barry said [1]:
>
> """
> mm doesn't support non-blockable __GFP_NOFAIL allocation. Because
> __GFP_NOFAIL without direct reclamation may just result in a busy
> loop within non-sleepable contexts.
>
> The current code will result in returning a
2015-01-13 22:27 GMT+08:00 Daniel Lezcano :
> On 01/13/2015 03:22 PM, Arnd Bergmann wrote:
>>
>> A recent rework of the driver left an obviously unused variable
>> around, and now the compiler complains:
>>
>> clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init':
>> clocksource/timer-m
>
> -Original Message-
> From: Paul Bolle [mailto:pebo...@tiscali.nl]
> Sent: 2015年1月14日 16:52
> To: Barry Song
> Cc: Valentin Rothberg; Arnd Bergmann; Daniel Lezcano; Thomas Gleixner;
> linux-kernel@vger.kernel.org
> Subject: clocksource: marco: CONFIG
2015-01-15 17:05 GMT+08:00 kbuild test robot :
> sound/soc/sirf/sirf-atlas7-cs42xx8.c:192:3-8: No need to set .owner here. The
> core will do it.
>
> Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> CC: Yibo
2014-12-24 5:33 GMT+08:00 Fabio Estevam :
> Remove 'timer_div' variable to fix the following build warning:
>
> drivers/clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init':
> drivers/clocksource/timer-marco.c:260:6: warning: unused variable 'timer_div'
> [-Wunused-variable]
>
> Signe
arco: rename marco to atlas7"
against this commit.
can you help to apply the attached patch to your tree? i guess pulling
by arm-soc will cause conflicts.
>
> -- Daniel
>
-barry
From ffdf7a8a348cf3301fade30cc86398c80be3d1bd Mon Sep 17 00:00:00 2001
From: Barry Song
Date: Sun, 11 J
ndy Lutomirski
Cc: Catalin Marinas
Cc: Will Deacon
Signed-off-by: Barry Song
---
Documentation/features/arch-support.txt| 1 +
Documentation/features/vm/TLB/arch-support.txt | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/features/arch-support
lx_current depends on per_cpu current_task variable which exists on x86 only.
so it actually works on x86 only. the 1st patch documents this clearly; the
2nd patch adds support for arm64.
Barry Song (2):
scripts/gdb: document lx_current is only supported by x86
scripts/gdb: add lx_current
ment it.
Cc: Jan Kiszka
Signed-off-by: Barry Song
---
Documentation/dev-tools/gdb-kernel-debugging.rst | 2 +-
scripts/gdb/linux/cpus.py| 10 --
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/Documentation/dev-tools/gdb-kernel-debugging.rst
b/Doc
derefrence of current task. Otherwise, lx_current() will tell users
they are running in userspace(EL0).
While arm64 is running in EL0, it is actually pointless to print current
task as the memory of kernel space is not accessible in EL0.
Signed-off-by: Barry Song
---
Documentation/dev-tools/gdb
=6-7 cap=6102 }, 2:{ span=0-5
mask=2-3 cap=5845 }
Reported-by: Valentin Schneider
Tested-by: Meelis Roos
Reviewed-by: Valentin Schneider
Signed-off-by: Barry Song
---
-v4:
no code changed; mainly rewrote changelog:
* add Reviewed-by of Valentin;
While the grandchild approach was started
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
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
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
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/
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/
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/
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
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
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
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
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
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
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
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
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
-> 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
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
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
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 }
Zeng
Cc: Robin Murphy
Signed-off-by: Barry Song
---
drivers/base/platform.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index b27d0f6c18c9..7794b9a38d82 100644
--- a/drivers/base/platform.c
+++ b
: Ganapatrao Kulkarni
Cc: Catalin Marinas
Cc: Nicolas Saenz Julienne
Cc: Steve Capper
Cc: Andrew Morton
Cc: Mike Rapoport
Signed-off-by: Barry Song
---
arch/arm64/mm/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c
index b6881d61b818
arameter for per-numa could
make life easier.
* move dma_pernuma_cma_reserve() after hugetlb_cma_reserve() to
reuse the comment before hugetlb_cma_reserve() with respect to
Robin's comment
-v2:
* fix some issues reported by kernel test robot
* fallback to default cma while alloca
: Christoph Hellwig
Cc: Marek Szyprowski
Cc: Will Deacon
Cc: Robin Murphy
Cc: Ganapatrao Kulkarni
Cc: Catalin Marinas
Cc: Nicolas Saenz Julienne
Cc: Steve Capper
Cc: Andrew Morton
Cc: Mike Rapoport
Signed-off-by: Barry Song
---
-v5:
refine code according to Christoph Hellwig's com
e() to
reuse the comment before hugetlb_cma_reserve() with respect to
Robin's comment
-v2:
* fix some issues reported by kernel test robot
* fallback to default cma while allocation fails in per-numa cma
free memory properly
Barry Song (2):
dma-contiguous: provide the abil
: Christoph Hellwig
Cc: Marek Szyprowski
Cc: Will Deacon
Cc: Robin Murphy
Cc: Ganapatrao Kulkarni
Cc: Catalin Marinas
Cc: Nicolas Saenz Julienne
Cc: Steve Capper
Cc: Andrew Morton
Cc: Mike Rapoport
Signed-off-by: Barry Song
---
v6: rebase on top of 5.9-rc1;
doc cleanup
.../admin-guide
: Ganapatrao Kulkarni
Cc: Catalin Marinas
Cc: Nicolas Saenz Julienne
Cc: Steve Capper
Cc: Andrew Morton
Cc: Mike Rapoport
Signed-off-by: Barry Song
---
-v6: rebase on top of 5.9-rc1
arch/arm64/mm/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm
update.
Cc: John Hubbard
Cc: Keith Busch
Cc: Ira Weiny
Cc: Kirill A. Shutemov
Signed-off-by: Barry Song
---
mm/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/Kconfig b/mm/Kconfig
index 6c974888f86f..f7c9374da7b3 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
ned-off-by: Barry Song
---
-v6:
* rebase on top of 5.9-rc1;
* move to crypto_alloc_acomp_node() API to use local ZIP hardware
mm/zswap.c | 183 -
1 file changed, 138 insertions(+), 45 deletions(-)
diff --git a/mm/zswap.c b/mm/zswap.c
index fb
hinner
Cc: Jason Gunthorpe
Cc: Jonathan Corbet
Cc: Michal Hocko
Cc: Mike Kravetz
Cc: Shuah Khan
Cc: Vlastimil Babka
Signed-off-by: Barry Song
---
mm/gup.c | 37 ++---
1 file changed, 22 insertions(+), 15 deletions(-)
diff --git a/mm/gup.c b/mm/gup.c
index ae
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
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
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
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
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
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/
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/
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
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
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
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
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/
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
(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
mask is built in build_balance_mask() by for_each_cpu(i, sg_span), so
it must be a subset of sched_group_span(sg). Though cpumask_first_and
doesn't lead to a wrong result of balance cpu, it is pointless to do
cpumask_and again.
Signed-off-by: Barry Song
Reviewed-by: Valentin Schneider
---
: Jonathan Cameron
Signed-off-by: Barry Song
---
Documentation/admin-guide/cputopology.rst | 26 +++--
arch/arm64/kernel/topology.c | 2 +
drivers/acpi/pptt.c | 63 +++
drivers/base/arch_topology.c | 15
ading unrelated tasks
* avoided the iteration of sched_domain by moving to static_key(addressing
Vincent's comment
* used acpi_cpu_id for acpi_find_processor_node(addressing Masa's comment)
Barry Song (2):
scheduler: add scheduler level for clusters
scheduler: scan idle cpu i
/python
#
# selectidlecpu.py select idle cpu histogram.
#
# A Ctrl-C will print the gathered histogram then exit.
#
# 18-March-2021 Barry Song Created this.
from __future__ import print_function
from bcc import BPF
from time import sleep
# load BPF program
b = BPF(text="""
BPF
: Tim Chen
Signed-off-by: Barry Song
---
arch/x86/Kconfig| 8
arch/x86/include/asm/smp.h | 7 +++
arch/x86/include/asm/topology.h | 1 +
arch/x86/kernel/cpu/cacheinfo.c | 1 +
arch/x86/kernel/cpu/common.c| 3 +++
arch/x86/kernel/smpboot.c | 43
1 - 100 of 561 matches
Mail list logo