Re: [PATCH] rcu: Fixup noinstr warnings

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 02:59:32AM -0700, Paul E. McKenney wrote: > On Wed, Jun 03, 2020 at 10:48:18AM +0200, Peter Zijlstra wrote: > > On Tue, Jun 02, 2020 at 09:38:53PM +0200, Peter Zijlstra wrote: > > > > > That said; noinstr's __no_sanitize combined with atomic_t might be > > > 'interesting',

Re: tegra124-jetson-tk1: sata doesnt work since 5.2

2020-06-03 Thread Thierry Reding
On Tue, Jun 02, 2020 at 10:19:58AM +0200, LABBE Corentin wrote: > On Mon, Jun 01, 2020 at 05:30:37PM +0300, Dmitry Osipenko wrote: > > 31.05.2020 22:31, LABBE Corentin пишет: > > > On Thu, Mar 19, 2020 at 08:44:01AM +0100, LABBE Corentin wrote: > > >> Hello > > >> > > >> sata doesnt work on

Re: linux-next: manual merge of the block tree with the rdma tree

2020-06-03 Thread Max Gurtovoy
On 6/3/2020 2:32 AM, Jason Gunthorpe wrote: On Wed, Jun 03, 2020 at 01:40:51AM +0300, Max Gurtovoy wrote: On 6/3/2020 12:37 AM, Jens Axboe wrote: On 6/2/20 1:09 PM, Jason Gunthorpe wrote: On Tue, Jun 02, 2020 at 01:02:55PM -0600, Jens Axboe wrote: On 6/2/20 1:01 PM, Jason Gunthorpe wrote:

Re: [PATCH] [RFC] clk: sprd: fix compile-testing

2020-06-03 Thread Arnd Bergmann
On Wed, Jun 3, 2020 at 11:17 AM Chunyan Zhang wrote: > On Thu, Apr 9, 2020 at 2:57 AM Arnd Bergmann wrote: > > This patch seems not been applied to next branch? I haven't seen it on > linux-next. > Arnd, can you please pick it to your tree. > In case you need my ack: > Acked-by: Chunyan Zhang

twist: allow disabling reboot request

2020-06-03 Thread Tetsuo Handa
On 2020/05/29 22:26, Tetsuo Handa wrote: > By the way, I do worry that people forget to perform these steps when > they do > their tests without asking syzbot... Here is a draft of boot-time switching. Since kconfig can handle string variable up to 2048 characters, we could hold the

arch/ia64/include/asm/page.h:42:20: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '4294967296' to '0'

2020-06-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d6f9469a03d832dcd17041ed67774ffb5f3e73b3 commit: 416d82204df44ef727de6eafafeaa4d12fdc78dc crypto: hisilicon - add HiSilicon SEC V2 driver date: 6 months ago config: ia64-randconfig-r026-20200603 (attached

linux-next: Tree for Jun 3

2020-06-03 Thread Stephen Rothwell
Hi all, News: The merge window has opened, so please do *not* add v5.9 material to your linux-next included branches until after v5.8-rc1 has been released. Changes since 20200602: New tree: sh-rf My fixes tree contains: 4cb4bfffe2c1 ("device_cgroup: Fix RCU list debugging warning") The

Re: [PATCH] crypto: DRBG - always try to free Jitter RNG instance

2020-06-03 Thread Dan Carpenter
On Wed, Jun 03, 2020 at 10:08:56AM +0200, Stephan Müller wrote: > The Jitter RNG is unconditionally allocated as a seed source follwoing > the patch 97f2650e5040. Thus, the instance must always be deallocated. > > Reported-by: syzbot+2e635807decef724a...@syzkaller.appspotmail.com > Fixes:

Re: [PATCH] mm/vmstat: Add events for PMD based THP migration without split

2020-06-03 Thread Matthew Wilcox
On Wed, Jun 03, 2020 at 10:28:41AM +0530, Anshuman Khandual wrote: > On 06/03/2020 08:27 AM, Matthew Wilcox wrote: > > On Wed, Jun 03, 2020 at 06:56:57AM +0530, Anshuman Khandual wrote: > >> On 06/02/2020 08:31 PM, Matthew Wilcox wrote: > >>> On Fri, May 22, 2020 at 09:04:04AM +0530, Anshuman

Re: Security Random Number Generator support

2020-06-03 Thread Marc Zyngier
On 2020-06-03 08:54, Neal Liu wrote: On Wed, 2020-06-03 at 08:40 +0100, Marc Zyngier wrote: On 2020-06-03 08:29, Neal Liu wrote: [...] > Could you give us a hint how to make this SMC interface more generic in > addition to my approach? > There is no (easy) way to get platform-independent

[rcu:rcu/test] BUILD SUCCESS f5978744fd874b7775e73958d64f3e0b2082957b

2020-06-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test branch HEAD: f5978744fd874b7775e73958d64f3e0b2082957b torture: Remove qemu dependency on EFI firmware elapsed time: 481m configs tested: 105 configs skipped: 3 The following configs have been built

Re: [RFC 02/16] x86/kvm: Introduce KVM memory protection feature

2020-06-03 Thread Vitaly Kuznetsov
"Huang, Kai" writes: > On Wed, 2020-05-27 at 10:39 +0200, Vitaly Kuznetsov wrote: >> Sean Christopherson writes: >> >> > On Mon, May 25, 2020 at 06:15:25PM +0300, Kirill A. Shutemov wrote: >> > > On Mon, May 25, 2020 at 04:58:51PM +0200, Vitaly Kuznetsov wrote: >> > > > > @@ -727,6 +734,15 @@

Re: [PATCH] soc: imx: scu: use devm_kasprintf

2020-06-03 Thread Daniel Baluta
On 03.06.2020 12:29, peng@nxp.com wrote: From: Peng Fan Use devm_kasprintf to simplify code Signed-off-by: Peng Fan Reviewed-by: Daniel Baluta

Re: [PATCH v3 1/6] PCI: dwc: Add msi_host_isr() callback

2020-06-03 Thread Marc Zyngier
On 2020-06-03 09:54, Kunihiko Hayashi wrote: This adds msi_host_isr() callback function support to describe SoC-dependent service triggered by MSI. For example, when AER interrupt is triggered by MSI, the callback function reads SoC-dependent registers and detects that the interrupt is from

Re: [PATCH] mm: thp: Add new kernel parameters transparent_hugepage_defrag/khugepaged_defrag

2020-06-03 Thread Vlastimil Babka
On 6/3/20 8:50 AM, Gavin Guo wrote: > There is no way to set up the defrag options in boot time. And it's > useful to set it up by default instead of making it work by a > systemd/upstart service or put the command to set up defrag inside > /etc/rc.local. > > Signed-off-by: Gavin Guo Well,

[PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Steve Lee
malformed firmware file can cause out-of-bound access and crash during dsm_param bin loading. - add MIN/MAX param size to avoid out-of-bound access. - read start addr and size of param and check bound. Signed-off-by: Steve Lee --- sound/soc/codecs/max98390.c | 23 ++-

RE: [PATCH v6 2/2] arm64/crash_core: Export TCR_EL1.T1SZ in vmcoreinfo

2020-06-03 Thread Kamlakant Patel
Hi Bhupesh, > -Original Message- > From: kexec On Behalf Of Bhupesh > Sharma > Sent: Thursday, May 14, 2020 12:23 AM > To: linux-arm-ker...@lists.infradead.org; x...@kernel.org > Cc: Mark Rutland ; Kazuhito Hagio ha...@ab.jp.nec.com>; Steve Capper ; Catalin > Marinas ;

Re: [PATCH] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-03 Thread Masahiro Yamada
On Wed, Jun 3, 2020 at 6:16 PM Ard Biesheuvel wrote: > > On Wed, 3 Jun 2020 at 11:15, Masahiro Yamada wrote: > > > > On Wed, Jun 3, 2020 at 6:02 PM Ard Biesheuvel wrote: > > > > > > On Wed, 3 Jun 2020 at 10:59, Masahiro Yamada wrote: > > > > > > > > On Wed, Jun 3, 2020 at 5:45 PM Ard

Re: ARCH=arm64 build breakage for Kbuild for-next branch

2020-06-03 Thread Stephen Rothwell
Hi all, On Wed, 3 Jun 2020 14:24:04 +1000 Stephen Rothwell wrote: > > On Wed, 3 Jun 2020 13:11:59 +0900 Masahiro Yamada > wrote: > > > > If you pull the latest kbuild for-next branch, > > ARCH=arm64 will fail to build. > > > > I will fix it soon. > > > > For today's linux-next, you can

Re: [PATCH v3 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-03 Thread Marc Zyngier
On 2020-06-03 09:54, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. This adds the function uniphier_pcie_misc_isr() that handles misc intterupts, which is called

Mr. Turritopsis Dohrnii Teo En Ming is a Singaporean Targeted Individual

2020-06-03 Thread Turritopsis Dohrnii Teo En Ming
Mr. Turritopsis Dohrnii Teo En Ming is a Singaporean Targeted Individual -BEGIN EMAIL SIGNATURE- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link:

Re: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Takashi Iwai
On Wed, 03 Jun 2020 13:18:19 +0200, Steve Lee wrote: > > @@ -847,7 +861,6 @@ static int max98390_probe(struct snd_soc_component > *component) > > /* Dsm Setting */ > regmap_write(max98390->regmap, DSM_VOL_CTRL, 0x94); > - regmap_write(max98390->regmap, DSMIG_EN, 0x19); Is this

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Mike Leach
Hi, On Wed, 3 Jun 2020 at 11:24, Sai Prakash Ranjan wrote: > > Hi Mike, > > Thanks again for looking at this. > > On 2020-06-03 03:42, Mike Leach wrote: > [...] > > >> > >> SMMU/IOMMU won't be able to do much here as it is the client's > >> responsiblity to > >> properly shutdown and SMMU device

Re: [PATCH v4 2/4] iio: chemical: scd30: add I2C interface driver

2020-06-03 Thread Andy Shevchenko
On Wed, Jun 3, 2020 at 11:47 AM Tomasz Duszynski wrote: > > Add I2C interface driver for the SCD30 sensor. > FWIW, Reviewed-by: Andy Shevchenko > Signed-off-by: Tomasz Duszynski > --- > MAINTAINERS | 1 + > drivers/iio/chemical/Kconfig | 11 +++ >

RE: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Steve Lee
> -Original Message- > From: Takashi Iwai > Sent: Wednesday, June 3, 2020 8:24 PM > To: Steve Lee > Cc: lgirdw...@gmail.com; broo...@kernel.org; pe...@perex.cz; > ti...@suse.com; ckee...@opensource.cirrus.com; ge...@linux-m68k.org; > r...@opensource.wolfsonmicro.com;

Re: [PATCH v4 3/4] iio: chemical: scd30: add serial interface driver

2020-06-03 Thread Andy Shevchenko
On Wed, Jun 3, 2020 at 11:47 AM Tomasz Duszynski wrote: > > Add serial interface driver for the SCD30 sensor. FWIW, Reviewed-by: Andy Shevchenko > Signed-off-by: Tomasz Duszynski > --- > MAINTAINERS | 1 + > drivers/iio/chemical/Kconfig| 11 ++ >

[PATCH] Documentation: tee: Document TEE kernel interface

2020-06-03 Thread Sumit Garg
Update documentation with TEE bus infrastructure which provides an interface for kernel client drivers to communicate with corresponding Trusted Application. Signed-off-by: Sumit Garg --- Documentation/tee.txt | 30 ++ 1 file changed, 30 insertions(+) diff --git

Re: [PATCH v2] tools build: Check libasan and libubsan in Makefile.feature

2020-06-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 03, 2020 at 02:10:04PM +0800, Tiezhu Yang escreveu: > When build perf with ASan or UBSan, if libasan or libubsan can not find, > the feature-glibc is 0 and there exists the following error log which is > wrong, because we can find gnu/libc-version.h in /usr/include, glibc-devel > is

Re: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Mark Brown
On Wed, Jun 03, 2020 at 08:18:19PM +0900, Steve Lee wrote: > + param_start_addr = (dsm_param[0] & 0xff) | (dsm_param[1] & 0xff) << 8; > + param_size = (dsm_param[2] & 0xff) | (dsm_param[3] & 0xff) << 8; > + if (param_size > MAX98390_DSM_PARAM_MAX_SIZE || > +

Re: [PATCH] cxl: Fix kobject memleak

2020-06-03 Thread Andrew Donnellan
On 2/6/20 10:07 pm, Wang Hai wrote: Currently the error return path from kobject_init_and_add() is not followed by a call to kobject_put() - which means we are leaking the kobject. Fix it by adding a call to kobject_put() in the error path of kobject_init_and_add(). Fixes: b087e6190ddc ("cxl:

Re: [PATCH] usb: dwc3: Add support for VBUS power control

2020-06-03 Thread Mike Looijmans
Oh darn, the "devm_get_regulator..." call in probe got lost in the rebase+merge. I'll add that in v2. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E:

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Robin Murphy
On 2020-06-01 22:28, Mathieu Poirier wrote: That being said I'm sure that dependencies on an IOMMU isn't a problem confined to coresight. I am adding Robin Murphy, who added this commit [1], to the thread in the hope that he can provide guidance on the right way to do this. Right, it's not

Re: [PATCH] powerpc/nvram: Replace kmalloc with kzalloc in the error message

2020-06-03 Thread Michael Ellerman
Dan Carpenter writes: > On Tue, Jun 02, 2020 at 09:23:57PM +1000, Michael Ellerman wrote: >> Markus Elfring writes: >> Please just remove the message instead, it's a tiny allocation that's >> unlikely to ever fail, and the caller will print an error anyway. >> >>> >> >>> How do you

kernel/trace/blktrace.c:347:12: sparse: sparse: incorrect type in assignment (different address spaces)

2020-06-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d6f9469a03d832dcd17041ed67774ffb5f3e73b3 commit: c780e86dd48ef6467a1146cf7d0fe1e05a635039 blktrace: Protect q->blk_trace with RCU date: 3 months ago config: arc-randconfig-s031-20200603 (attac

RE: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Steve Lee
> -Original Message- > From: Mark Brown > Sent: Wednesday, June 3, 2020 8:32 PM > To: Steve Lee > Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; > ckee...@opensource.cirrus.com; ge...@linux-m68k.org; > r...@opensource.wolfsonmicro.com; shumi...@realtek.com; >

Re: [PATCH v6 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-03 Thread Adrian Hunter
On 1/06/20 11:05 pm, Alexey Budankov wrote: > > Implement adding of file descriptors by fdarray__add_stat() to > fix-sized (currently 1) stat_entries array located at struct fdarray. > Append added file descriptors to the array used by poll() syscall > during fdarray__poll() call. Copy poll()

[PATCH v2 1/6] iio: core: pass parent device as parameter during allocation

2020-06-03 Thread Alexandru Ardelean
The change passes the parent device to the iio_device_alloc() call. This also updates the devm_iio_device_alloc() call to consider the device object as the parent device by default. Having it passed like this, should ensure that any IIO device object already has a device object as parent,

[PATCH v2 0/6] iio: core: pass parent device as parameter during allocation

2020-06-03 Thread Alexandru Ardelean
This patch updates the {devm_}iio_device_alloc() functions to automatically assign the parent device on allocation. For iio_device_alloc() this means a new parameter. For devm_iio_device_alloc() this means a new behavior; the device object is the parent. For this one, this is the common case for

[PATCH v2 5/6] iio: light: lm3533-als: use iio_device_set_parent() to assign parent

2020-06-03 Thread Alexandru Ardelean
This assignment is the more peculiar as it assigns the parent of the platform-device's device (i.e. pdev->dev.parent) as the IIO device's parent. Since the devm_iio_device_alloc() [now] assigns the device argument as the default parent (and since this is the more common case), for cases where the

[PATCH v2 4/6] iio: remove left-over comments about parent assignment

2020-06-03 Thread Alexandru Ardelean
These were obtained by doing a 'git diff | grep \/\*', in the previous diff to find comments. These needed a bit more manual review, as the semantic patch isn't great for catching these. The result is: /* Initialize Counter device and driver data */ /* Initialize IIO device */

[PATCH v2 2/6] iio: core: add iio_device_set_parent() helper

2020-06-03 Thread Alexandru Ardelean
By default, the device allocation will also assign a parent device to the IIO device object. In cases where devm_iio_device_alloc() is used, sometimes the parent device must be different than the device used to manage the allocation. In that case, this helper should be used to change the parent,

Re: [PATCH] crypto: DRBG - always try to free Jitter RNG instance

2020-06-03 Thread Stephan Mueller
Am Mittwoch, 3. Juni 2020, 13:09:19 CEST schrieb Dan Carpenter: Hi Dan, > On Wed, Jun 03, 2020 at 10:08:56AM +0200, Stephan Müller wrote: > > The Jitter RNG is unconditionally allocated as a seed source follwoing > > the patch 97f2650e5040. Thus, the instance must always be deallocated. > > > >

[PATCH v2 6/6] iio: remove left-over parent assignments

2020-06-03 Thread Alexandru Ardelean
These were found by doing some shell magic: for file in $(git grep -w devm_iio_device_alloc | cut -d: -f1 | sort | uniq) ; do if grep 'parent =' $file | grep -v trig | grep -vq devm_; then echo "$file -> $(grep "parent =" $file)" fi done ---

Re: [PATCH v2 0/6] iio: core: pass parent device as parameter during allocation

2020-06-03 Thread Ardelean, Alexandru
On Wed, 2020-06-03 at 14:40 +0300, Alexandru Ardelean wrote: > This patch updates the {devm_}iio_device_alloc() functions to automatically > assign the parent device on allocation. > For iio_device_alloc() this means a new parameter. > For devm_iio_device_alloc() this means a new behavior; the

[PATCH 2/9] rcu: Fixup noinstr warnings

2020-06-03 Thread Peter Zijlstra
A KCSAN build revealed we have explicit annoations through atomic_*() usage, switch to arch_atomic_*() for the respective functions. vmlinux.o: warning: objtool: rcu_nmi_exit()+0x4d: call to __kcsan_check_access() leaves .noinstr.text section vmlinux.o: warning: objtool:

[PATCH 3/9] x86/entry: __always_inline debugreg for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_debug()+0x21: call to native_get_debugreg() leaves .noinstr.text section Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/debugreg.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/x86/include/asm/debugreg.h +++

[PATCH 0/9] x86/entry fixes

2020-06-03 Thread Peter Zijlstra
The first patch is a fix for x86/entry, I'm quicky runing out of brown paper bags again :/ The rest goes on top of these: https://lkml.kernel.org/r/20200602173103.931412...@infradead.org https://lkml.kernel.org/r/20200602184409.22142-1-el...@google.com patches from myself and Marco that

[PATCH net] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-03 Thread Michal Vokáč
Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA drivers. Unfortunately it introduced a typo in qca8k.c driver and wrong argument is passed to the devm_kzalloc function. This fix mitigates the following kernel

[PATCH 6/9] x86/entry: Re-order #DB handler to avoid *SAN instrumentation

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_debug()+0xbb: call to clear_ti_thread_flag.constprop.0() leaves .noinstr.text section vmlinux.o: warning: objtool: noist_exc_debug()+0x55: call to clear_ti_thread_flag.constprop.0() leaves .noinstr.text section Rework things so that handle_debug() looses the

[PATCH 7/9] lockdep: __always_inline more for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: debug_locks_off()+0xd: call to __debug_locks_off() leaves .noinstr.text section vmlinux.o: warning: objtool: match_held_lock()+0x6a: call to look_up_lock_class.isra.0() leaves .noinstr.text section vmlinux.o: warning: objtool: lock_is_held_type()+0x90: call to

[PATCH 8/9] x86/entry: __always_inline CR2 for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_page_fault()+0x9: call to read_cr2() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_page_fault()+0x24: call to prefetchw() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_page_fault()+0x21: call to kvm_handle_async_pf.isra.0() leaves

Re: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Mark Brown
On Wed, Jun 03, 2020 at 11:37:44AM +, Steve Lee wrote: > > This is now reading the size out of the header of the file which is good > > but it > > should also validate that the file is big enough to have this much data in > > it, > > otherwise it's possible to read beyond the end of the

[PATCH 9/9] x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_nmi()+0x12: call to cpumask_test_cpu.constprop.0() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_check_crashing_cpu()+0x12: call to cpumask_test_cpu.constprop.0()leaves .noinstr.text section cpumask_test_cpu() test_bit()

Re: [PATCH v5 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-06-03 Thread Daniel Thompson
On Wed, Jun 03, 2020 at 03:02:02PM +0530, Sumit Garg wrote: > On Wed, 3 Jun 2020 at 13:55, Petr Mladek wrote: > > > > On Wed 2020-06-03 12:52:15, Sumit Garg wrote: > > > In kgdb context, calling console handlers aren't safe due to locks used > > > in those handlers which could in turn lead to a

[PATCH 5/9] x86/entry: __always_inline arch_atomic_* for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0x33: call to arch_atomic_and.constprop.0() leaves .noinstr.text section Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/atomic.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) ---

[PATCH 1/9] x86/entry: Fix irq_exit()

2020-06-03 Thread Peter Zijlstra
Because if you rename a function, you should also rename the users. Fixes: b614345f52bc ("x86/entry: Clarify irq_{enter,exit}_rcu()") Reported-by: Qian Cai Signed-off-by: Peter Zijlstra (Intel) Tested-by: Qian Cai Link:

[PATCH 4/9] x86/entry: __always_inline irqflags for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: lockdep_hardirqs_on()+0x65: call to arch_local_save_flags() leaves .noinstr.text section vmlinux.o: warning: objtool: lockdep_hardirqs_off()+0x5d: call to arch_local_save_flags() leaves .noinstr.text section vmlinux.o: warning: objtool: lock_is_held_type()+0x35: call

Re: [PATCH] usb: host: xhci-mtk: avoid runtime suspend when removing hcd

2020-06-03 Thread Mathias Nyman
On 29.5.2020 7.29, Macpaul Lin wrote: > When runtime suspend was enabled, runtime suspend might happened > when xhci is removing hcd. This might cause kernel panic when hcd > has been freed but runtime pm suspend related handle need to > reference it. > > Change-Id:

Re: [PATCH v5 0/4] Introduce TEE based Trusted Keys support

2020-06-03 Thread Sumit Garg
On Wed, 3 Jun 2020 at 14:20, Luke Hinds wrote: > > > > On Wed, Jun 3, 2020 at 9:08 AM Sumit Garg wrote: >> >> On Tue, 2 Jun 2020 at 20:14, James Bottomley wrote: >> > >> > On Tue, 2020-06-02 at 19:48 +0530, Sumit Garg wrote: >> > > Add support for TEE based trusted keys where TEE provides the

[PATCH v2 01/15] PCI/MSI: Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity()

2020-06-03 Thread Piotr Stankiewicz
When debugging an issue where I was asking the PCI machinery to enable a set of MSI-X vectors, without falling back on MSI, I ran across a behaviour which seems odd. The pci_alloc_irq_vectors_affinity() will always return -ENOSPC on failure, when allocating MSI-X vectors only, whereas with MSI

arm64 build issue and mainline crash (was Re: linux-next: Tree for Jun 3)

2020-06-03 Thread John Garry
On 03/06/2020 12:06, Stephen Rothwell wrote: JFYI, I am finding the vanilla defconfig build broken for arm64: LD vmlinux.o /home/john/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: cannot find ./drivers/firmware/efi/libstub/lib.abuilt-in.a: No such file

[PATCH v2 04/15] ahci: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/ata/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 05/15] crypto: inside-secure - Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko Reviewed-by: Antoine Tenart Acked-by: Herbert Xu ---

[PATCH v2 03/15] PCI: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko Reviewed-by: Logan Gunthorpe --- drivers/pci/msi.c | 3 +--

Re: [PATCH v8 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-06-03 Thread Prabhakar Kushwaha
Hi Chen, On Tue, Jun 2, 2020 at 8:12 PM John Donnelly wrote: > > > > > On Jun 2, 2020, at 12:38 AM, Prabhakar Kushwaha > > wrote: > > > > On Tue, Jun 2, 2020 at 3:29 AM John Donnelly > > wrote: > >> > >> Hi . See below ! > >> > >>> On Jun 1, 2020, at 4:02 PM, Bhupesh Sharma wrote: > >>> >

[PATCH v2 06/15] dmaengine: dw-edma: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/dma/dw-edma/dw-edma-pcie.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 07/15] drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 9 ++--- 1 file changed, 2

[PATCH v2 08/15] IB/qib: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/infiniband/hw/qib/qib_pcie.c | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH v2 09/15] media: ddbridge: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/media/pci/ddbridge/ddbridge-main.c | 2 +- 1 file changed, 1 insertion(+), 1

[GIT PULL REQUEST] watchdog - v5.8 Merge window

2020-06-03 Thread Wim Van Sebroeck
Hi Linus, Please pull the watchdog changes for the v5.8 release cycle. This series contains: * Add new arm_smc_wdt watchdog driver * da9062 and da9063 improvements * Clarify documentation about stop() that became optional * Document r8a7742 support * some overall fixes and improvements Please

[PATCH v2 10/15] vmw_vmci: Use PCI_IRQ_ALL_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/misc/vmw_vmci/vmci_guest.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v2 12/15] amd-xgbe: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 11/15] mmc: sdhci: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko Acked-by: Ulf Hansson Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-pci-gli.c |

[PATCH v2 14/15] net: hns3: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 3 +--

Re: [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family

2020-06-03 Thread Matthias Schiffer
On Wed, 2020-06-03 at 09:50 +, Robin Gong wrote: > On 2020/06/03 Matthias Schiffer > wrote: > > On Thu, 2020-05-21 at 04:34 +0800, Robin Gong wrote: > > > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > > > transfer to be send twice in DMA mode. Please get more > > >

[PATCH v2 13/15] aquantia: atlantic: Use PCI_IRQ_ALL_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c | 4 +--- 1 file changed, 1

[PATCH v2 15/15] scsi: Use PCI_IRQ_MSI_TYPES and PCI_IRQ_ALL_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/scsi/ipr.c| 5 +++-- drivers/scsi/vmw_pvscsi.c | 2 +- 2 files

Re: sys/sysinfo.h clash with linux/kernel.h

2020-06-03 Thread Szabolcs Nagy
i think the linux-api list is the right place for this so adding it on cc. * Rich Felker [2020-06-02 17:37:05 -0400]: > linux/kernel.h is a uapi header that does almost nothing but define > some internal-use alignment macros and -- oddly -- include > linux/sysinfo.h to provide a definition of

Re: [PATCH v4 3/4] mm/util.c: remove the VM_WARN_ONCE for vm_committed_as underflow check

2020-06-03 Thread Qian Cai
> On Jun 3, 2020, at 5:48 AM, Feng Tang wrote: > > This check was added by 82f71ae4a2b8 ("mm: catch memory commitment underflow") > in 2014 to have a safety check for issues which have been fixed. > And there has been few report caught by it, as described in its > commit log: > > : This

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-03 Thread Rajat Jain
Hello, > > > Thanks for the pointer! I'm still looking at the details yet, but a > > quick look (usb_dev_authorized()) seems to suggest that this API is > > "device based". The multiple levels of "authorized" seem to take shape > > from either how it is wired or from userspace choice. Once

Re: [PATCH V1 1/2] mmc: sdhci-msm: Add interconnect bandwidth scaling support

2020-06-03 Thread Sibi Sankar
Hey Pradeep, Thanks for the patch. On 2020-06-03 14:39, Pradeep P V K wrote: Interconnect bandwidth scaling support is now added as a part of OPP [1]. So, make sure interconnect driver is ready before handling interconnect scaling. This change is based on [1] [Patch v8] Introduce OPP bandwidth

Re: [PATCH 0/4] sched: Remove some redundancy

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 10:03:00AM +0200, Dietmar Eggemann wrote: > Remove redundant functions, parameters and macros from the task > scheduler code. > > Dietmar Eggemann (4): > sched/pelt: Remove redundant cap_scale() definition > sched/core: Remove redundant 'preempt' param from >

RE: [PATCH v2 06/15] dmaengine: dw-edma: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Gustavo Pimentel
On Wed, Jun 3, 2020 at 12:47:42, Piotr Stankiewicz wrote: > Seeing as there is shorthand available to use when asking for any type > of interrupt, or any type of message signalled interrupt, leverage it. > > Signed-off-by: Piotr Stankiewicz > Reviewed-by: Andy Shevchenko > --- >

[PATCH] media: omap3isp: Add missed v4l2_ctrl_handler_free() for preview_init_entities()

2020-06-03 Thread Chuhong Yuan
preview_init_entities() does not call v4l2_ctrl_handler_free() when it fails. Add the missed function to fix it. Fixes: de1135d44f4f ("[media] omap3isp: CCDC, preview engine and resizer]") Signed-off-by: Chuhong Yuan --- drivers/media/platform/omap3isp/isppreview.c | 4 +++- 1 file changed, 3

[PATCH] media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()

2020-06-03 Thread Chuhong Yuan
mccic_register() forgets to cleanup the notifier in its error handler. Add the missed call to fix it. Fixes: 3eefe36cc00c ("media: marvell-ccic: use async notifier to get the sensor") Signed-off-by: Chuhong Yuan --- drivers/media/platform/marvell-ccic/mcam-core.c | 1 + 1 file changed, 1

Re: [PATCH] cxl: Fix kobject memleak

2020-06-03 Thread wanghai (M)
在 2020/6/3 19:33, Andrew Donnellan 写道: On 2/6/20 10:07 pm, Wang Hai wrote: Currently the error return path from kobject_init_and_add() is not followed by a call to kobject_put() - which means we are leaking the kobject. Fix it by adding a call to kobject_put() in the error path of

[PATCH] dt-bindings: rtc: Convert imxdi rtc to json-schema

2020-06-03 Thread Anson Huang
Convert the i.MXDI RTC binding to DT schema format using json-schema Signed-off-by: Anson Huang --- .../devicetree/bindings/rtc/imxdi-rtc.txt | 20 --- .../devicetree/bindings/rtc/imxdi-rtc.yaml | 42 ++ 2 files changed, 42 insertions(+), 20

Re: [PATCH v5 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-06-03 Thread Petr Mladek
On Wed 2020-06-03 10:18:30, Daniel Thompson wrote: > On Wed, Jun 03, 2020 at 10:25:04AM +0200, Petr Mladek wrote: > > On Wed 2020-06-03 12:52:15, Sumit Garg wrote: > > > In kgdb context, calling console handlers aren't safe due to locks used > > > in those handlers which could in turn lead to a

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Sai Prakash Ranjan
Hi Robin, Mathieu On 2020-06-03 17:07, Robin Murphy wrote: On 2020-06-01 22:28, Mathieu Poirier wrote: That being said I'm sure that dependencies on an IOMMU isn't a problem confined to coresight. I am adding Robin Murphy, who added this commit [1], to the thread in the hope that he can

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-06-03 Thread Daniel Thompson
On Tue, Jun 02, 2020 at 03:56:33PM -0700, Doug Anderson wrote: > > > 2. Perhaps remove the whole irq saving / restoring in kgdb_cpu_enter(). > > > > Are you feeling lucky? > > > > I think there will come a time when bravery is called for but I'd rather > > see this as part of a bigger rewrite

Re: [PATCH 1/1] blk-mq: get ctx in order to handle BLK_MQ_S_INACTIVE in blk_mq_get_tag()

2020-06-03 Thread John Garry
On 02/06/2020 07:17, Dongli Zhang wrote: When scheduler is set, we hit below page fault when we offline cpu. [ 1061.007725] BUG: kernel NULL pointer dereference, address: 0040 [ 1061.008710] #PF: supervisor read access in kernel mode [ 1061.009492] #PF: error_code(0x) -

Re: [PATCH 0/9] x86/entry fixes

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 01:40:14PM +0200, Peter Zijlstra wrote: > The first patch is a fix for x86/entry, I'm quicky runing out of brown paper > bags again :/ > > The rest goes on top of these: > > https://lkml.kernel.org/r/20200602173103.931412...@infradead.org >

Re: Linux 4.9.226

2020-06-03 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index d17a2ad3cc4d..b0e1162fddfa 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 225 +SUBLEVEL = 226 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/boot/dts/imx6q-b450v3.dts

Re: Linux 4.4.226

2020-06-03 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 4e5362707405..1b8bc1f294db 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 225 +SUBLEVEL = 226 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index

Linux 4.9.226

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.226 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v6 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-03 Thread Alexey Budankov
Hi, On 03.06.2020 14:38, Adrian Hunter wrote: > On 1/06/20 11:05 pm, Alexey Budankov wrote: >> >> Implement adding of file descriptors by fdarray__add_stat() to >> fix-sized (currently 1) stat_entries array located at struct fdarray. >> Append added file descriptors to the array used by poll()

Re: [PATCH v8 04/10] drm: bridge: dw_mipi_dsi: allow bridge daisy chaining

2020-06-03 Thread Adrian Ratiu
On Wed, 03 Jun 2020, Laurent Pinchart wrote: Hi Adrian, Hi Laurent, Thank you for the patch. On Mon, Apr 27, 2020 at 11:19:46AM +0300, Adrian Ratiu wrote: Up until now the assumption was that the synopsis dsi bridge will directly connect to an encoder provided by the platform driver,

Linux 4.4.226

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.226 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.19.126

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.126 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: Linux 4.19.126

2020-06-03 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 93c63bda7115..f8da10c40271 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 125 +SUBLEVEL = 126 EXTRAVERSION = NAME = "People's Front" diff --git

<    1   2   3   4   5   6   7   8   9   10   >