Re: [RFC-PATCH 1/2] mm: Add __GFP_NO_LOCKS flag

2020-08-13 Thread Michal Hocko
On Thu 13-08-20 11:58:40, Uladzislau Rezki wrote: [...] > Sorry for jumping in. We can rely on preemptable() for sure, if > CONFIG_PREEMPT_RT > is enabled, something like below: > > if (IS_ENABLED_RT && preemptebale()) Sure. I thought this was an RT specific thing that would be noop otherwise.

[PATCH] pinctrl: mediatek: check mtk_is_virt_gpio input parameter

2020-08-13 Thread Hanks Chen
check mtk_is_virt_gpio input parameter, virtual gpio need to support eint mode. add error handler for the ko case to fix this boot fail: pc : mtk_is_virt_gpio+0x20/0x38 [pinctrl_mtk_common_v2] lr : mtk_gpio_get_direction+0x44/0xb0 [pinctrl_paris] Fixes: edd546465002 ("pinctrl: mediatek: avoid vir

Re: [PATCH v2] x86/alternatives: Let __text_poke() acquire the pte lock with enabled interrupts

2020-08-13 Thread peterz
On Thu, Aug 13, 2020 at 12:50:26PM +0200, Sebastian Andrzej Siewior wrote: > The pte lock is never acquired in-IRQ context so it does not require the > interrupts to be disabled. > > RT complains here because the spinlock_t must not be acquired with > disabled interrupts. > > use_temporary_mm() e

[PATCH] drm/amd/display: fix semicolon.cocci warnings

2020-08-13 Thread kernel test robot
From: kernel test robot drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c:470:82-83: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 7c6981e7ca74 ("drm/amd/display: populate new dml variable") CC: Dmytro Laktyushkin Signed-off-

Re: [PATCH 1/9] dt-bindings: display: renesas,du: Document r8a774e1 bindings

2020-08-13 Thread Laurent Pinchart
Hi Prabhakar, On Thu, Aug 13, 2020 at 12:08:58PM +0100, Lad, Prabhakar wrote: > On Thu, Aug 13, 2020 at 11:59 AM Laurent Pinchart wrote: > > On Thu, Aug 13, 2020 at 11:38:03AM +0100, Lad, Prabhakar wrote: > >> On Thu, Aug 13, 2020 at 10:05 AM Geert Uytterhoeven wrote: > >>> On Wed, Aug 12, 2020 at

Re: [PATCH 1/9] dt-bindings: display: renesas,du: Document r8a774e1 bindings

2020-08-13 Thread Lad, Prabhakar
Hi Laurent, On Thu, Aug 13, 2020 at 11:59 AM Laurent Pinchart wrote: > > Hello, > > On Thu, Aug 13, 2020 at 11:38:03AM +0100, Lad, Prabhakar wrote: > > On Thu, Aug 13, 2020 at 10:05 AM Geert Uytterhoeven wrote: > > > On Wed, Aug 12, 2020 at 4:02 PM Lad Prabhakar wrote: > > > > From: Marian-Cristi

Re: [PATCH v5 4/5] iio:temperature:mlx90632: Adding extended calibration option

2020-08-13 Thread Andy Shevchenko
On Thu, Aug 13, 2020 at 10:53 AM Crt Mori wrote: > > For some time the market wants medical grade accuracy in medical range, > while still retaining the declared accuracy outside of the medical range > within the same sensor. That is why we created extended calibration > which is automatically swi

RE: [PATCH v2 1/2] scsi: ufs: Cleanup completed request without interrupt notification

2020-08-13 Thread Avri Altman
> > > > Signed-off-by: Stanley Chu > > Reviewed-by: Can Guo > > Signed-off-by: Bean Huo Acked-by: Avri Altman

Re: [PATCH v5 3/5] iio:temperature:mlx90632: Convert polling while loop to do-while

2020-08-13 Thread Andy Shevchenko
On Thu, Aug 13, 2020 at 10:53 AM Crt Mori wrote: > > Reduce number of lines and improve readability to convert polling while > loops to do-while. The iopoll.h interface was not used, because we > require more than 20ms timeout, because time for sensor to perform a > measurement is around 10ms and

nvme crash - Re: linux-next: Tree for Aug 13

2020-08-13 Thread John Garry
On 13/08/2020 07:58, Stephen Rothwell wrote: Hi all, Hi guys, I have experienced this this crash below on linux-next for the last few days on my arm64 system. Linus' master branch today also has it. root@ubuntu:/home/john# insmod nvme.ko [148.254564] nvme :81:00.0: Adding to iommu group

Re: [PATCH v5 5/5] iio:temperature:mlx90632: Some stylefixing leftovers

2020-08-13 Thread Andy Shevchenko
On Thu, Aug 13, 2020 at 10:53 AM Crt Mori wrote: > > There is some inconsistency and whitespace cleanup performed in this > patch. It was done on top of my other patches, but I can rebase to head > of the togreg branch if it would go in sooner. ... > -#define MLX90632_REF_1212LL

Re: [Resend PATCH 2/6] mm/memcg: remove useless check on page->mem_cgroup

2020-08-13 Thread Michal Hocko
On Thu 13-08-20 17:45:19, Alex Shi wrote: > > > 在 2020/8/13 下午2:20, Michal Hocko 写道: > > On Wed 12-08-20 11:25:53, Alex Shi wrote: > >> >From 999b0fe5fc65865c3b59ff28500d45572a4a9570 Mon Sep 17 00:00:00 2001 > >> From: Alex Shi > >> Date: Wed, 5 Aug 2020 21:02:30 +0800 > >> Subject: [PATCH 2/6]

Re: [PATCH 1/9] dt-bindings: display: renesas,du: Document r8a774e1 bindings

2020-08-13 Thread Laurent Pinchart
Hello, On Thu, Aug 13, 2020 at 11:38:03AM +0100, Lad, Prabhakar wrote: > On Thu, Aug 13, 2020 at 10:05 AM Geert Uytterhoeven wrote: > > On Wed, Aug 12, 2020 at 4:02 PM Lad Prabhakar wrote: > > > From: Marian-Cristian Rotariu > > > > > > Document the RZ/G2H (a.k.a. r8a774e1) SoC in the R-Car DU bi

Re: [Cocci] [PATCH] scripts: coccicheck: Change default value for parallelism

2020-08-13 Thread Julia Lawall
On Thu, 13 Aug 2020, Sumera Priyadarsini wrote: > > > On Thu, 13 Aug, 2020, 1:45 AM Julia Lawall, wrote: > > > On Wed, 12 Aug 2020, Sumera Priyadarsini wrote: > > > By default, coccicheck utilizes all available threads to implement > > parallelisation. However, when hyperthrea

Re: [PATCH v5 2/5] iio:temperature:mlx90632: Add kerneldoc to the internal struct

2020-08-13 Thread Andy Shevchenko
On Thu, Aug 13, 2020 at 10:53 AM Crt Mori wrote: > > Document internal/private struct for mlx90632 device. Reviewed-by: Andy Shevchenko > Signed-off-by: Crt Mori > --- > drivers/iio/temperature/mlx90632.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/drivers

[PATCH] sched: print fields name when do sched_show_task

2020-08-13 Thread Libing Zhou
Current sysrq(t) output task fields name are not aligned with actual task fields value, e.g.: kernel: sysrq: SysRq : Show State kernel: taskPC stack pid father kernel: systemd S12456 1 0 0x kernel: Call Trace:

RE: [PATCH] regulator: da9211: add cache_type

2020-08-13 Thread Adam Thomson
On 12 August 2020 14:31, Hsin-Yi Wang wrote: > Add regmap_cache to reduce wakeups events of interrupt if regulator is > accessed frequently. This results in saving more power. > > Suggested-by: Daniel Kurtz > Signed-off-by: Hsin-Yi Wang Acked-by: Adam Thomson

Dear Valued Customer,

2020-08-13 Thread Ms. Rana Salatt
ATTN; DEAR, This is Ms. Rana Salatt ,I have registered your ATM CARD to the POST OFFICE BENIN REPUBLIC so that they will Post it to your home address and I believe your current address is still the same. Your total amount in the envelope is $3.2 Million USD and the POST OFFICE assured me that ther

[PATCH v2] x86/alternatives: Let __text_poke() acquire the pte lock with enabled interrupts

2020-08-13 Thread Sebastian Andrzej Siewior
The pte lock is never acquired in-IRQ context so it does not require the interrupts to be disabled. RT complains here because the spinlock_t must not be acquired with disabled interrupts. use_temporary_mm() expects interrupts to be off because it invokes switch_mm_irqs_off() and uses per-CPU (cur

Re: [PATCH] x86/alternatives: Let __text_poke() acquire the pte lock with enabled interrupts

2020-08-13 Thread Sebastian Andrzej Siewior
On 2020-08-12 16:39:41 [+0200], Thomas Gleixner wrote: > Sebastian, Hi tglx, > Sebastian Andrzej Siewior writes: > > > The pte lock is never acquired from an IRQ-off region so it does not > > require the interrupts to be disabled. > > I doubt that this is true. It surely is acquired within othe

Re: [PATCH v2] driver/perf: Add PMU driver for the ARM DMC-620 memory controller.

2020-08-13 Thread Mark Rutland
On Mon, May 11, 2020 at 01:44:52PM -0700, Tuan Phan wrote: > DMC-620 PMU supports 10 total counters that are independently > programmable for different events and can be individually started and > stopped. > > ACPI is only supported; device tree support is welcomed to be added and > tested for oth

[rcu:dev.2020.08.11a] BUILD SUCCESS 9030fc13639a71b15466520f09ca07b80fc30ed1

2020-08-13 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.08.11a branch HEAD: 9030fc13639a71b15466520f09ca07b80fc30ed1 squash! rcu: Report QS for outermost PREEMPT=n rcu_read_unlock() for strict GPs elapsed time: 720m configs tested: 74 configs skipped: 2 T

Re: [PATCH 4/6] drm/rockchip: dw_hdmi: Add vendor hdmi properties

2020-08-13 Thread Laurent Pinchart
On Thu, Aug 13, 2020 at 10:42:28AM +0300, Pekka Paalanen wrote: > On Wed, 12 Aug 2020 16:30:17 +0300 Laurent Pinchart wrote: > > On Wed, Aug 12, 2020 at 07:08:10PM +0800, crj wrote: > > > 在 2020/8/12 17:33, Laurent Pinchart 写道: > > > > On Wed, Aug 12, 2020 at 04:35:43PM +0800, Algea Cao wrote:

Re: [PATCH] timer: mask unnecessary set of flags in do_init_timer

2020-08-13 Thread Thomas Gleixner
Qianli Zhao writes: Please start the first word after the colon with an upper case letter. > do_init_timer can specify flags of timer_list, Please write do_init_timer() so it's entirely clear that this is about a function. > but this function does not expect to specify the CPU or idx. or idx

Re: upstream boot error: WARNING in mem_cgroup_css_alloc

2020-08-13 Thread Michal Hocko
This smells like 3e38e0aaca9e ("mm: memcg: charge memcg percpu memory to the parent cgroup"). On Thu 13-08-20 02:47:26, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:dc06fe51 Merge tag 'rtc-5.9' of git://git.kernel.org/pub/s.. > git tree: upstream > c

Re: [PATCH v2] PCI: Introduce flag for detached virtual functions

2020-08-13 Thread Niklas Schnelle
On 8/13/20 11:59 AM, Oliver O'Halloran wrote: > On Thu, Aug 13, 2020 at 7:00 PM Niklas Schnelle > wrote: >> >> >> On 8/13/20 3:55 AM, Oliver O'Halloran wrote: >>> On Thu, Aug 13, 2020 at 5:21 AM Matthew Rosato >>> wrote: *snip* diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c

Re: [PATCH 1/9] dt-bindings: display: renesas,du: Document r8a774e1 bindings

2020-08-13 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Thu, Aug 13, 2020 at 10:05 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, Laurent, Kieran, > > On Wed, Aug 12, 2020 at 4:02 PM Lad Prabhakar > wrote: > > From: Marian-Cristian Rotariu > > > > Document the RZ/G2H (a.k.a. r8a774e1) SoC in the R-Car DU bindi

Re: [PATCH] arm64: Add KRYO4XX gold CPU core to spectre-v2 safe list

2020-08-13 Thread Marc Zyngier
On 2020-08-13 10:40, Will Deacon wrote: On Thu, Aug 13, 2020 at 02:49:37PM +0530, Sai Prakash Ranjan wrote: On 2020-08-13 14:33, Will Deacon wrote: > On Thu, Aug 13, 2020 at 01:48:34PM +0530, Sai Prakash Ranjan wrote: > > KRYO4XX gold/big CPU cores are based on Cortex-A76 which has CSV2 > > bits

Re: file metadata via fs API

2020-08-13 Thread Karel Zak
On Wed, Aug 12, 2020 at 12:50:28PM -0700, Linus Torvalds wrote: > Convince me otherwise. AGAIN. This is the exact same issue I had with > the notification queues that I really wanted actual use-cases for, and > feedback from actual outside users. I thought (in last 10 years) we all agree that /pro

Re: [PATCH v2] kunit: added lockdep support

2020-08-13 Thread peterz
On Wed, Aug 12, 2020 at 07:33:32PM +, Uriel Guajardo wrote: > KUnit will fail tests upon observing a lockdep failure. Because lockdep > turns itself off after its first failure, only fail the first test and > warn users to not expect any future failures from lockdep. > > Similar to lib/locking

Re: [RFC 4/5] serial: amba-pl011: Enable NMI aware uart port

2020-08-13 Thread Sumit Garg
On Thu, 13 Aug 2020 at 05:29, Doug Anderson wrote: > > Hi, > > On Tue, Jul 21, 2020 at 5:11 AM Sumit Garg wrote: > > > > Allow serial device interrupt to be requested as an NMI during > > initialization in polling mode. If the irqchip doesn't support serial > > device interrupt as an NMI then fal

Re: [PATCH] dt-bindings: Whitespace clean-ups in schema files

2020-08-13 Thread Luca Ceresoli
Hi Rob, On 12/08/20 22:36, Rob Herring wrote: > Clean-up incorrect indentation, extra spaces, long lines, and missing > EOF newline in schema files. Most of the clean-ups are for list > indentation which should always be 2 spaces more than the preceding > keyword. > > Found with yamllint (which I

Re: POC: Alternative solution: Re: [PATCH 0/4] printk: reimplement LOG_CONT handling

2020-08-13 Thread John Ogness
On 2020-08-13, Petr Mladek wrote: > On Thu 2020-08-13 09:50:25, John Ogness wrote: >> On 2020-08-13, Sergey Senozhatsky wrote: >> > This is not an unseen pattern, I'm afraid. And the problem here can >> > be more general: >> > >> >pr_info("text"); >> >pr_cont("1"); >> >exception/IRQ/N

Re: [RFC PATCH] printk: Change timestamp to triplet as mono, boot and real

2020-08-13 Thread Thomas Gleixner
Sergey Senozhatsky writes: > On (20/08/11 15:02), Petr Mladek wrote: >> There is still the alternative to print all three timestamps regularly >> for those interested. It is less user convenient but much easier >> to maintain. > > Yes, that's a nice alternative. It's trivial on the kernel side, a

Re: [RFC PATCH] printk: Change timestamp to triplet as mono, boot and real

2020-08-13 Thread Petr Mladek
On Thu 2020-08-13 10:55:00, Sergey Senozhatsky wrote: > On (20/08/11 15:02), Petr Mladek wrote: > > On Tue 2020-08-11 14:05:12, Thomas Gleixner wrote: > > > Petr Mladek writes: > > > > At least "crash" tool would need an update anyway. AFAIK, it checks > > > > the size of struct printk_log and ref

Re: [PATCH] bfq: fix blkio cgroup leakage v4

2020-08-13 Thread Oleksandr Natalenko
Hello. On 11.08.2020 08:43, Dmitry Monakhov wrote: Changes from v1: - update commit description with proper ref-accounting justification commit db37a34c563b ("block, bfq: get a ref to a group when adding it to a service tree") introduce leak forbfq_group and blkcg_gq objects because of ge

[PATCH] mm/slub: branch optimization in free slowpath

2020-08-13 Thread wuyun.wu
From: Abel Wu The two conditions are mutually exclusive and gcc compiler will optimise this into if-else-like pattern. Given that the majority of free_slowpath is free_frozen, let's provide some hint to the compilers. Tests (perf bench sched messaging -g 20 -l 40, executed 10x after reboot)

Re: [PATCH] coresight: fix offset by one error in counting ports

2020-08-13 Thread Suzuki K Poulose
On 08/13/2020 11:04 AM, Mian Yousaf Kaukab wrote: Since port-numbers start from 0, add 1 to port-number to get the port count. Fix following crash when Coresight is enabled on ACPI based systems: [ 61.061736] Unable to handle kernel NULL pointer dereference at virtual address 000

Re: [RFC 0/5] Introduce NMI aware serial drivers

2020-08-13 Thread Daniel Thompson
On Thu, Aug 13, 2020 at 02:55:12PM +0530, Sumit Garg wrote: > On Thu, 13 Aug 2020 at 05:38, Doug Anderson wrote: > > On Wed, Aug 12, 2020 at 8:27 AM Doug Anderson wrote: > > > One > > > last worry is that I assume that most people testing (and even > > > automated testing labs) will either always

[PATCH 3/5] powerpc: Remove flush_instruction_cache() on 8xx

2020-08-13 Thread Christophe Leroy
flush_instruction_cache() is never used on 8xx, remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/nohash/8xx.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/powerpc/mm/nohash/8xx.c b/arch/powerpc/mm/nohash/8xx.c index d2b37146ae6c..231ca95f9ffb 100644 --- a/arch/pow

[PATCH 5/5] powerpc: Rewrite 4xx flush_cache_instruction() in C

2020-08-13 Thread Christophe Leroy
Nothing prevent flush_cache_instruction() from behing writen in C. Do it to improve readability and maintainability. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/misc_32.S | 13 - arch/powerpc/mm/nohash/4xx.c| 15 +++ arch/powerpc/mm/nohash/Makefile | 1

[PATCH 4/5] powerpc: Rewrite FSL_BOOKE flush_cache_instruction() in C

2020-08-13 Thread Christophe Leroy
Nothing prevent flush_cache_instruction() from behing writen in C. Do it to improve readability and maintainability. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/misc_32.S | 17 - arch/powerpc/mm/nohash/fsl_booke.c | 16 2 files changed, 16 inser

[PATCH 2/5] powerpc: Untangle flush_instruction_cache()

2020-08-13 Thread Christophe Leroy
flush_instruction_cache() is a mixup of each PPC32 sub-arch. Untangle it by making one complete function for each sub-arch. This makes it a lot more readable and maintainable. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/misc_32.S | 19 +++ 1 file changed, 11 inserti

[PATCH 1/5] powerpc: Remove flush_instruction_cache for book3s/32

2020-08-13 Thread Christophe Leroy
The only callers of flush_instruction_cache() are: arch/powerpc/kernel/swsusp_booke.S: bl flush_instruction_cache arch/powerpc/mm/nohash/40x.c: flush_instruction_cache(); arch/powerpc/mm/nohash/44x.c: flush_instruction_cache(); arch/powerpc/mm/nohash/fsl_booke.c: flush_instruction_cach

Re: [RFC PATCH 6/7] core/metricfs: expose x86-specific irq information through metricfs

2020-08-13 Thread Thomas Gleixner
Jonathan Adams writes: How is that related to core? The x86 subsys prefix is 'x86' and for this particular thing it's 'x86/irq:'. That applies to the rest of the series as well. > Add metricfs support for displaying percpu irq counters for x86. > The top directory is /sys/kernel/debug/metricfs/

Re: [PATCH 35/44] staging: regulator: hi6421v600-regulator: add a driver-specific debug macro

2020-08-13 Thread Mauro Carvalho Chehab
Em Wed, 12 Aug 2020 09:10:29 -0700 Joe Perches escreveu: > On Wed, 2020-08-12 at 17:56 +0200, Mauro Carvalho Chehab wrote: > > Using dev_dbg() is not too nice, as, instead of printing the > > name of the regulator, it prints "regulator.", making > > harder to associate what is happening with each

Re: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-13 Thread Marc Zyngier
On 2020-08-13 07:03, Jason Liu wrote: -Original Message- From: Marc Zyngier Sent: Thursday, August 6, 2020 8:26 PM To: Jason Liu Cc: Sudeep Holla ; catalin.mari...@arm.com; w...@kernel.org; sas...@kernel.org; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re

[PATCH] powerpc: Drop _nmask_and_or_msr()

2020-08-13 Thread Christophe Leroy
_nmask_and_or_msr() is only used at two places to set MSR_IP. The SYNC is unnecessary as the users are not PowerPC 601. Can be easily writen in C. Do it, and drop _nmask_and_or_msr() Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/misc_32.S | 13 - arch

Re: [RFC][PATCH] dma-heap: Add proper kref handling on dma-buf heaps

2020-08-13 Thread Brian Starkey
Hi John, On Sat, Jul 25, 2020 at 03:26:33AM +, John Stultz wrote: > Add proper refcounting on the dma_heap structure. > While existing heaps are built-in, we may eventually > have heaps loaded from modules, and we'll need to be > able to properly handle the references to the heaps I'm not 100

[PATCH] coresight: fix offset by one error in counting ports

2020-08-13 Thread Mian Yousaf Kaukab
Since port-numbers start from 0, add 1 to port-number to get the port count. Fix following crash when Coresight is enabled on ACPI based systems: [ 61.061736] Unable to handle kernel NULL pointer dereference at virtual address 0008 ... [ 61.135494] pc : acpi_coresight_parse_graph

[PATCH] coresight: fix offset by one error in counting ports

2020-08-13 Thread Mian Yousaf Kaukab
Since port-numbers start from 0, add 1 to port-number to get the port count. Fix following crash when Coresight is enabled on ACPI based systems: [ 61.061736] Unable to handle kernel NULL pointer dereference at virtual address 0008 ... [ 61.135494] pc : acpi_coresight_parse_graph

Re: [PATCH v7 6/7] iommu/uapi: Handle data and argsz filled by users

2020-08-13 Thread Auger Eric
Hi Yi, On 8/13/20 11:38 AM, Liu, Yi L wrote: >> From: Auger Eric >> Sent: Thursday, August 13, 2020 5:31 PM >> >> Hi Yi, >> >> On 8/13/20 11:25 AM, Liu, Yi L wrote: >>> Hi Eric, >>> >>> From: Auger Eric Sent: Thursday, August 13, 2020 5:12 PM Hi Jacob, On 7/30/20 2:

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-13 Thread Roger Pau Monné
Your email client seems to set 'Reply-to:' to point to everyone on the 'Cc:' field, but not yourself, which is kind of weird. I've manually fixed it on this reply by moving everyone to the 'Cc:' field and setting you on 'To:'. On Thu, Aug 13, 2020 at 11:49:46AM +0200, Daniel Vetter wrote: > On Thu

Re: [PATCH v5 0/9] Raspberry Pi 4 USB firmware initialization rework

2020-08-13 Thread Nicolas Saenz Julienne
Hi everyone. On Mon, 2020-06-29 at 18:18 +0200, Nicolas Saenz Julienne wrote: > On the Raspberry Pi 4, after a PCI reset, VL805's firmware may either be > loaded directly from an EEPROM or, if not present, by the SoC's > co-processor, VideoCore. This series reworks how we handle this. > > The pre

Re: [PATCH v17 2/3] drivers: input: keyboard: Add mtk keypad driver

2020-08-13 Thread Andy Shevchenko
On Thu, Aug 13, 2020 at 3:57 AM Dmitry Torokhov wrote: > On Mon, Aug 10, 2020 at 02:51:28PM +0800, Fengping Yu wrote: > > From: "fengping.yu" > > > > This patch adds matrix keypad support for Mediatek SoCs. ... > > +static irqreturn_t kpd_irq_handler(int irq, void *dev_id) > > +{ > > + stru

Re: [PATCH v2] PCI: Introduce flag for detached virtual functions

2020-08-13 Thread Oliver O'Halloran
On Thu, Aug 13, 2020 at 7:00 PM Niklas Schnelle wrote: > > > On 8/13/20 3:55 AM, Oliver O'Halloran wrote: > > On Thu, Aug 13, 2020 at 5:21 AM Matthew Rosato > > wrote: > >> *snip* > >> diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c > >> index 3902c9f..04ac76d 100644 > >> --- a/arch/s390/

Re: [PATCH v2 0/4] Perf tool: Enable Arm arch timer counter and arm-spe's timestamp

2020-08-13 Thread Will Deacon
On Wed, Aug 12, 2020 at 03:53:34PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 12, 2020 at 10:06:53AM -0600, Mathieu Poirier escreveu: > > On Fri, 7 Aug 2020 at 01:16, Leo Yan wrote: > > > > > > This patch set is to enable Arm arch timer counter and Arm SPE is the > > > first customer to

Re: [RFC-PATCH 1/2] mm: Add __GFP_NO_LOCKS flag

2020-08-13 Thread Uladzislau Rezki
On Thu, Aug 13, 2020 at 09:50:27AM +0200, Michal Hocko wrote: > On Wed 12-08-20 02:13:25, Thomas Gleixner wrote: > [...] > > I can understand your rationale and what you are trying to solve. So, if > > we can actually have a distinct GFP variant: > > > > GFP_I_ABSOLUTELY_HAVE_TO_DO_THAT_AND_I_KN

Re: [PATCH 00/44] SPMI patches needed by Hikey 970

2020-08-13 Thread Mauro Carvalho Chehab
Hi Lee, Em Thu, 13 Aug 2020 08:58:27 +0100 Lee Jones escreveu: > On Wed, 12 Aug 2020, Mauro Carvalho Chehab wrote: > > > Hi Greg, > > > > This patch series is part of a work I'm doing in order to be able to support > > a HiKey 970 board that I recently got on my hands. > > > > I received some

[PATCH v3] kthread: add objectdebug support

2020-08-13 Thread Qianli Zhao
From: Qianli Zhao Add debugobject support to track the life time of kthread_work which is used to detect reinitialization/free active object problems Add kthread_init_work_onstack/kthread_init_delayed_work_onstack for kthread onstack support If we reinitialize a kthread_work that has been activa

[PATCH v3] clk: samsung: Prevent potential endless loop in the PLL set_rate ops

2020-08-13 Thread Sylwester Nawrocki
In the .set_rate callback for some PLLs there is a loop polling state of the PLL lock bit and it may become an endless loop when something goes wrong with the PLL. For some PLLs there is already code for polling with a timeout but it uses the ktime API, which doesn't work in some conditions when th

Re: [PATCH v2 0/2] Try to release mmap_lock temporarily in smaps_rollup

2020-08-13 Thread Michel Lespinasse
On Wed, Aug 12, 2020 at 7:14 PM Chinwen Chang wrote: > Recently, we have observed some janky issues caused by unpleasantly long > contention on mmap_lock which is held by smaps_rollup when probing large > processes. To address the problem, we let smaps_rollup detect if anyone > wants to acquire mm

Re: [PATCH] drm/hisilicon: Fix build error of no type of module_init

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 10:03:18AM +0200, Thomas Zimmermann wrote: > Hi > > Am 13.08.20 um 05:39 schrieb Tian Tao: > > Add missing include to fix build error: > > hibmc_drm_drv.c:385:1: warning: data definition has no type or storage > > class [enabled by default] > > hibmc_drm_drv.c:385:1: error:

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 09:54:20AM +0200, Roger Pau Monné wrote: > On Thu, Aug 13, 2020 at 08:33:37AM +0100, Christoph Hellwig wrote: > > On Tue, Aug 11, 2020 at 11:44:47AM +0200, Roger Pau Monne wrote: > > > If enabled (because ZONE_DEVICE is supported) the usage of the new > > > functionality unt

Re: [Kgdb-bugreport] [PATCH] serial: qcom_geni_serial: Fix recent kdb hang

2020-08-13 Thread Daniel Thompson
On Tue, Aug 11, 2020 at 09:21:22AM -0700, Doug Anderson wrote: > Hi, > > On Tue, Aug 11, 2020 at 4:54 AM Akash Asthana wrote: > > > > > > On 8/11/2020 2:56 AM, Doug Anderson wrote: > > > Hi, > > > > > > On Mon, Aug 10, 2020 at 5:32 AM Akash Asthana > > > wrote: > > >> Hi Doug, > > >> > > >> On

linux-next boot error: WARNING in mem_cgroup_css_alloc

2020-08-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e6d113ac Add linux-next specific files for 20200813 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=11db9fd690 kernel config: https://syzkaller.appspot.com/x/.config?x=2055bd0d83d5ee16 dashboard

Re: [Resend PATCH 2/6] mm/memcg: remove useless check on page->mem_cgroup

2020-08-13 Thread Alex Shi
在 2020/8/13 下午2:20, Michal Hocko 写道: > On Wed 12-08-20 11:25:53, Alex Shi wrote: >> >From 999b0fe5fc65865c3b59ff28500d45572a4a9570 Mon Sep 17 00:00:00 2001 >> From: Alex Shi >> Date: Wed, 5 Aug 2020 21:02:30 +0800 >> Subject: [PATCH 2/6] mm/memcg: bail out early from swap accounting when memcg

upstream boot error: WARNING in mem_cgroup_css_alloc

2020-08-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dc06fe51 Merge tag 'rtc-5.9' of git://git.kernel.org/pub/s.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12d34bd690 kernel config: https://syzkaller.appspot.com/x/.config?x=9c89856ae5fc8b6 dash

RE: [PATCH v7 6/7] iommu/uapi: Handle data and argsz filled by users

2020-08-13 Thread Liu, Yi L
> From: Auger Eric > Sent: Thursday, August 13, 2020 5:31 PM > > Hi Yi, > > On 8/13/20 11:25 AM, Liu, Yi L wrote: > > Hi Eric, > > > > > >> From: Auger Eric > >> Sent: Thursday, August 13, 2020 5:12 PM > >> > >> Hi Jacob, > >> > >> On 7/30/20 2:21 AM, Jacob Pan wrote: > >>> IOMMU user APIs are

Re: [PATCH] arm64: Add KRYO4XX gold CPU core to spectre-v2 safe list

2020-08-13 Thread Will Deacon
On Thu, Aug 13, 2020 at 02:49:37PM +0530, Sai Prakash Ranjan wrote: > On 2020-08-13 14:33, Will Deacon wrote: > > On Thu, Aug 13, 2020 at 01:48:34PM +0530, Sai Prakash Ranjan wrote: > > > KRYO4XX gold/big CPU cores are based on Cortex-A76 which has CSV2 > > > bits set and are spectre-v2 safe. But o

[RESEND,v4,1/3] mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings

2020-08-13 Thread Wenbin Mei
Add description for resets/reset-names. Cc: # v5.4+ Fixes: 966580ad236e ("mmc: mediatek: add support for MT7622 SoC") Signed-off-by: Wenbin Mei Tested-by: Frank Wunderlich --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/d

[RESEND,v4,0/3] mmc: mediatek: add optional reset property

2020-08-13 Thread Wenbin Mei
Wenbin Mei (3): mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings arm64: dts: mt7622: add reset node for mmc device mmc: mediatek: add optional module reset property Documentation/devicetree/bindings/mmc/mtk-sd.txt | 2 ++ arch/arm64/boot/dts/mediatek/mt7622.dtsi |

My Dear in the lord

2020-08-13 Thread Mrs. Mina A. Brunel
My Dear in the lord My name is Mrs. Mina A. Brunel I am a Norway Citizen who is living in Burkina Faso, I am married to Mr. Brunel Patrice, a politician who owns a small gold company in Burkina Faso; He died of Leprosy and Radesyge, in the year February 2010, During his lifetime he deposite

[RESEND,v4,3/3] mmc: mediatek: add optional module reset property

2020-08-13 Thread Wenbin Mei
This patch fixs eMMC-Access on mt7622/Bpi-64. Before we got these Errors on mounting eMMC ion R64: [ 48.664925] blk_update_request: I/O error, dev mmcblk0, sector 204800 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 [ 48.676019] Buffer I/O error on dev mmcblk0p1, logical block 0, lost syn

[RESEND,v4,2/3] arm64: dts: mt7622: add reset node for mmc device

2020-08-13 Thread Wenbin Mei
This commit adds reset node for mmc device. Cc: # v5.4+ Fixes: 966580ad236e ("mmc: mediatek: add support for MT7622 SoC") Signed-off-by: Wenbin Mei Tested-by: Frank Wunderlich --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts

drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c:228:16-21: WARNING: conversion to bool not needed here

2020-08-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dc06fe51d26efc100ac74121607c01a454867c91 commit: bccbf13dadbe33452e312d828332cb9d2b553f7f drm/amd/display: Various fixes for PSR on DMCUB date: 4 months ago config: i386-randconfig-c001-20200813 (attached

Re: [PATCH V2] mm, page_alloc: fix core hung in free_pcppages_bulk()

2020-08-13 Thread David Hildenbrand
On 12.08.20 12:11, Charan Teja Kalla wrote: > > > On 8/12/2020 3:30 PM, David Hildenbrand wrote: >> On 12.08.20 11:46, Charan Teja Kalla wrote: >>> >>> Thanks David for the inputs. >>> >>> On 8/12/2020 2:35 AM, David Hildenbrand wrote: On 11.08.20 14:58, Charan Teja Reddy wrote: > The fo

Re: KMSAN: uninit-value in batadv_hard_if_event (2)

2020-08-13 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:ce8056d1 wip: changed copy_from_user where instrumented git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1015b61690 kernel config: https://syzkaller.ap

Re: [PATCH v7 3/7] iommu/uapi: Introduce enum type for PASID data format

2020-08-13 Thread Auger Eric
Hi Jacob, On 7/30/20 2:21 AM, Jacob Pan wrote: > There can be multiple vendor-specific PASID data formats used in UAPI > structures. This patch adds enum type with a last entry which makes > range checking much easier. > > Suggested-by: Alex Williamson > Signed-off-by: Jacob Pan > --- > includ

Re: [PATCH v7 6/7] iommu/uapi: Handle data and argsz filled by users

2020-08-13 Thread Auger Eric
Hi Yi, On 8/13/20 11:25 AM, Liu, Yi L wrote: > Hi Eric, > > >> From: Auger Eric >> Sent: Thursday, August 13, 2020 5:12 PM >> >> Hi Jacob, >> >> On 7/30/20 2:21 AM, Jacob Pan wrote: >>> IOMMU user APIs are responsible for processing user data. This patch >>> changes the interface such that user

Re: [PATCH v4 3/7] genirq: Introduce irq_suspend_one() and irq_resume_one() callbacks

2020-08-13 Thread Thomas Gleixner
Maulik Shah writes: > From: Douglas Anderson > > The "struct irq_chip" has two callbacks in it: irq_suspend() and > irq_resume(). These two callbacks are interesting because sometimes > an irq chip needs to know about suspend/resume, but they are a bit > awkward because: > 1. They are called onc

Aw: [v4, 0/3] mmc: mediatek: add optional reset property mmc: mediatek: add optional module reset property arm64: dts: mt7622: add reset node for mmc device Documentation/devicetree/bindings/mmc/mtk-s

2020-08-13 Thread Frank Wunderlich
Hi, it looks like you still miss a blank line between subject and your text in cover-letter regards Frank > Betreff: [v4, 0/3] mmc: mediatek: add optional reset property mmc: mediatek: > add optional module reset property arm64: dts: mt7622: add reset node for mmc > device Documentation/devic

Re: [RFC 0/5] Introduce NMI aware serial drivers

2020-08-13 Thread Sumit Garg
On Thu, 13 Aug 2020 at 05:38, Doug Anderson wrote: > > Hi, > > > On Wed, Aug 12, 2020 at 8:27 AM Doug Anderson wrote: > > > > Hi, > > > > On Wed, Aug 12, 2020 at 7:53 AM Sumit Garg wrote: > > > > > > Hi Doug, > > > > > > On Tue, 11 Aug 2020 at 22:46, Doug Anderson wrote: > > > > > > > > Hi, > >

Re: [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 5:02 PM Lad Prabhakar wrote: > Add QSPI DT node to R8A7742 SoC dtsi. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10. Gr{oetje,eeting}s, Geert -- Geert

Re: [PATCH] usb: cdns3: Removes duplicated call to the cdns3_exit_roles function

2020-08-13 Thread Peter Chen
On 20-08-13 09:10:54, Pawel Laszczak wrote: > To avoid double calling of function cdns3_exit_roles when initialization > failed need "," > patch removes invoking this function from cdns3_core_init_role. > This function is invoked again from cdns3_probe when > cdns3_core_init_role returns error cod

RE: [PATCH v7 6/7] iommu/uapi: Handle data and argsz filled by users

2020-08-13 Thread Liu, Yi L
Hi Eric, > From: Auger Eric > Sent: Thursday, August 13, 2020 5:12 PM > > Hi Jacob, > > On 7/30/20 2:21 AM, Jacob Pan wrote: > > IOMMU user APIs are responsible for processing user data. This patch > > changes the interface such that user pointers can be passed into IOMMU > > code directly. Se

Re: net/tipc/udp_media.c:743: undefined reference to `ipv6_dev_find'

2020-08-13 Thread Xin Long
On Wed, Aug 12, 2020 at 7:21 AM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: c636eef2ee3696f261a35f34989842701a107895 > commit: 5a6f6f579178dbeb33002d93b4f646c31348fac9 tipc: set ub->ifindex for > local ipv6 address >

Re: [PATCH] [v2] ALSA: echoaudio: Fix potential Oops in snd_echo_resume()

2020-08-13 Thread Takashi Iwai
On Thu, 13 Aug 2020 09:46:30 +0200, Dinghao Liu wrote: > > Freeing chip on error may lead to an Oops at the next time > the system goes to resume. Fix this by removing all > snd_echo_free() calls on error. > > Fixes: 47b5d028fdce8 ("ALSA: Echoaudio - Add suspend support #2") > Signed-off-by: Ding

Re: [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 5:01 PM Lad Prabhakar wrote: > Document RZ/G1H (R8A7742) SoC specific bindings. The R8A7742 qspi module > is identical to R-Car Gen2 family. > > No driver change is needed due to the fallback compatible value > "renesas,qspi". > > Signed-off-by: Lad Prabhakar > Reviewed-by

RE: [PATCH v4 1/4] fpga: dfl: change data type of feature id to u16

2020-08-13 Thread David Laight
From: Xu Yilun > Sent: 13 August 2020 10:04 > > On Thu, Aug 13, 2020 at 08:28:05AM +, David Laight wrote: > > From: Xu Yilun > > > Sent: 13 August 2020 08:59 > > > On Wed, Aug 12, 2020 at 08:52:39AM +, David Laight wrote: > > > > From: Moritz Fischer > > > > > Sent: 12 August 2020 04:56 >

Re: [PATCH v7 7/7] iommu/vt-d: Check UAPI data processed by IOMMU core

2020-08-13 Thread Auger Eric
Hi Jacob, On 7/30/20 2:21 AM, Jacob Pan wrote: > IOMMU generic layer already does sanity checks UAPI data for version > match and argsz range under generic information. > Remove the redundant version check from VT-d driver and check for vendor > specific data size. > > Signed-off-by: Jacob Pan

Re: [PATCH] arm64: Add KRYO4XX gold CPU core to spectre-v2 safe list

2020-08-13 Thread Sai Prakash Ranjan
On 2020-08-13 14:33, Will Deacon wrote: On Thu, Aug 13, 2020 at 01:48:34PM +0530, Sai Prakash Ranjan wrote: KRYO4XX gold/big CPU cores are based on Cortex-A76 which has CSV2 bits set and are spectre-v2 safe. But on big.LITTLE systems where they are coupled with other CPU cores such as the KRYO4X

Re: [PATCH 9/9] arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > Setup up the required clocks for the DU to be functional. > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10 (after resolving the port numbering). Gr{oetje,eeting}s,

Re: [PATCH 8/9] arm64: dts: renesas: r8a774e1: Add LVDS device node

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Add the LVDS device node to R8A774E1 to SoC dtsi and connect it with > the DU node. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will q

Re: [PATCH v3 4/5] mm: memcg: charge memcg percpu memory to the parent cgroup

2020-08-13 Thread Naresh Kamboju
The kernel warnings were noticed on linux next 20200813 while booting on arm64, arm, x86_64 and i386. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: e6d113aca646fb6a92b237340109237fd7a9c770 git describe: next

Re: [PATCH 6/9] arm64: dts: renesas: r8a774e1: Populate HDMI encoder node

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Populate HDMI node properties in R8A774E1 SoC dtsi. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10

Re: [PATCH v7 6/7] iommu/uapi: Handle data and argsz filled by users

2020-08-13 Thread Auger Eric
Hi Jacob, On 7/30/20 2:21 AM, Jacob Pan wrote: > IOMMU user APIs are responsible for processing user data. This patch > changes the interface such that user pointers can be passed into IOMMU > code directly. Separate kernel APIs without user pointers are introduced > for in-kernel users of the UAP

Re: [PATCH 5/9] dt-bindings: display: renesas,dw-hdmi: Add r8a774e1 support

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert --

Re: [PATCH v2] kunit: added lockdep support

2020-08-13 Thread Alan Maguire
On Wed, 12 Aug 2020, Uriel Guajardo wrote: > KUnit will fail tests upon observing a lockdep failure. Because lockdep > turns itself off after its first failure, only fail the first test and > warn users to not expect any future failures from lockdep. > > Similar to lib/locking-selftest [1], we ch

Re: [f2fs-dev] [PATCH v3] f2fs: change virtual mapping way for compression pages

2020-08-13 Thread Chao Yu
On 2020/8/12 13:17, Daeho Jeong wrote: From: Daeho Jeong By profiling f2fs compression works, I've found vmap() callings have unexpected hikes in the execution time in our test environment and those are bottlenecks of f2fs decompression path. Changing these with vm_map_ram(), we can enhance f2f

<    3   4   5   6   7   8   9   10   >