[PATCH V5] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-28 Thread Paras Sharma
For QUP IP versions 2.5 and above the oversampling rate is halved from 32 to 16. Commit ce734600545f ("tty: serial: qcom_geni_serial: Update the oversampling rate") is pushed to handle this scenario.But the existing logic is failing to classify QUP Version 3.0 into the correct group ( 2.5 and above

Re: [PATCH V5] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-28 Thread Greg Kroah-Hartman
On Mon, Sep 28, 2020 at 12:29:38PM +0530, Paras Sharma wrote: > For QUP IP versions 2.5 and above the oversampling rate is > halved from 32 to 16. > Commit ce734600545f ("tty: serial: qcom_geni_serial: Update > the oversampling rate") is pushed to handle this scenario.But > the existing logic is fa

Re: [RFC PATCH v2] tools/x86: add kcpuid tool to show raw CPU features

2020-09-28 Thread Feng Tang
On Fri, Sep 25, 2020 at 07:24:37PM +0200, Borislav Petkov wrote: > On Tue, Sep 22, 2020 at 01:27:50PM +0800, Feng Tang wrote: > > +++ b/tools/arch/x86/kcpuid/cpuid.txt > > @@ -0,0 +1,58 @@ > > +# Leaf 00H > > + > > +LEAF[],SUBLEAF[00],EAX[ 31:0],max_basic_leafs, Max input value for > > sup

Re:Re: [PATCH] Documentation: Chinese translation of Documentation/arm64/perf.rst

2020-09-28 Thread 林白鹭
>在 2020/9/27 上午4:15, Jonathan Corbet 写道: >> On Sat, 26 Sep 2020 22:35:51 +0800 >> Alex Shi wrote: >> >>> Why your patch repeatly has encoding issue which fails on 'git am' >>> Could you like to check the problem before send out? >>> Could you please fix your editor issue by >>> Documentation/pro

Re: [PATCH 1/5] iommu/tegra-smmu: Unwrap tegra_smmu_group_get

2020-09-28 Thread Thierry Reding
On Sat, Sep 26, 2020 at 01:07:15AM -0700, Nicolin Chen wrote: > The tegra_smmu_group_get was added to group devices in different > SWGROUPs and it'd return a NULL group pointer upon a mismatch at > tegra_smmu_find_group(), so for most of clients/devices, it very > likely would mismatch and need a f

Re: [PATCH v17 06/12] soc: mediatek: Add support for hierarchical scpsys device node

2020-09-28 Thread Nicolas Boichat
On Thu, Aug 6, 2020 at 5:22 PM Weiyi Lu wrote: > > Try to list all the power domains of under power controller > node to show the dependency between each power domain directly > instead of filling the dependency in scp_soc_data. > And could be more clearly to group subsys clocks into power domain

INFO: task hung in tcindex_partial_destroy_work

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:05943249 net: atlantic: fix build when object tree is sepa.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1343b90990 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 dashboar

INFO: task hung in nbd_ioctl (3)

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a1bffa48 Merge tag 'scsi-fixes' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1106c3d390 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 das

possible deadlock in io_write

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:eeddbe68 Merge tag 's390-5.9-7' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=148c13d390 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 das

possible deadlock in do_fcntl

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1d2220c Add linux-next specific files for 20200924 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17a0b98d90 kernel config: https://syzkaller.appspot.com/x/.config?x=254e028a642027c dashboard l

general protection fault in io_poll_double_wake (2)

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1d2220c Add linux-next specific files for 20200924 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1550b60990 kernel config: https://syzkaller.appspot.com/x/.config?x=254e028a642027c dashboard l

[PATCH] net: ethernet: ixgbe: don't propagate -ENODEV from ixgbe_mii_bus_init()

2020-09-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski It's a valid use-case for ixgbe_mii_bus_init() to return -ENODEV - we still want to finalize the registration of the ixgbe device. Check the error code and don't bail out if err == -ENODEV. This fixes an issue on C3000 family of SoCs where four ixgbe devices share a sin

[PATCH 1/1] clk: aspeed: modify some default clks are critical

2020-09-28 Thread Ryan Chen
In ASPEED SoC LCLK is LPC clock for all SuperIO device, UART1/UART2 are default for Host SuperIO UART device, eSPI clk for Host eSPI bus access eSPI slave channel, those clks can't be disable should keep default, otherwise will affect Host side access SuperIO and SPI slave device. Signed-off-by: R

[PATCH 0/1] Modify ASPEED SoC some default clks are critical

2020-09-28 Thread Ryan Chen
This patch is modify for ASPEED SoC some default clks can't disable need keep default clk on. Ryan Chen (1): clk: aspeed: modify some default clks are critical drivers/clk/clk-aspeed.c | 8 drivers/clk/clk-ast2600.c | 8 2 files changed, 8 insertions(+), 8 deletions(-) --

[PATCH v2 2/2] regulator: rtmv20: Add DT-binding document for Richtek RTMV20

2020-09-28 Thread cy_huang
From: ChiYuan Huang Add DT-binding document for Richtek RTMV20 Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rtmv20-regulator.yaml| 168 + 1 file changed, 168 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rtmv20-regu

[PATCH v2 1/2] regulator: rtmv20: Adds support for Richtek RTMV20 load switch regulator

2020-09-28 Thread cy_huang
From: ChiYuan Huang Add support for Richtek RTMV20 load switch regulator. Signed-off-by: ChiYuan Huang --- v1 to v2 1. Use regcache related APIs when HW disable and enable. 2. Because of regcache, refine the initial properties flow. 3. Change all propertiy name to use dash, not underline. 4. Re

[PATCH v3 1/2] arm64/mm: Introduce zero PGD table

2020-09-28 Thread Gavin Shan
The zero PGD table is used when TTBR_EL1 is changed. It's exactly the zero page. As the zero page(s) will be allocated dynamically when colored zero page feature is enabled in subsequent patch. the zero page(s) aren't usable during early boot stage. This introduces zero PGD table, which is decoupl

[PATCH v3 0/2] arm64/mm: Enable color zero pages

2020-09-28 Thread Gavin Shan
The feature of color zero pages isn't enabled on arm64, meaning all read-only (anonymous) VM areas are backed up by same zero page. It leads pressure to data cache on reading data from them. In extreme case, the same data cache set could be experiencing high pressure and thrashing. This tries to en

Re: [PATCH v4 2/2] ovl: introduce new "uuid=off" option for inodes index feature

2020-09-28 Thread Pavel Tikhomirov
On 9/25/20 7:42 PM, Amir Goldstein wrote: Apart from some typos, looks good to me. Amir, Thanks a lot for your review! > you should wait for more feedback from others Sure, will wait. -- Best regards, Tikhomirov Pavel Software Developer, Virtuozzo.

[PATCH v3 2/2] arm64/mm: Enable color zero pages

2020-09-28 Thread Gavin Shan
This enables color zero pages by allocating contiguous page frames for it. The number of pages for this is determined by L1 dCache (or iCache) size, which is probbed from the hardware. * Export cache_setup_of_node() so that the cache topology could be parsed from device-tree. * Add cac

Re: general protection fault in perf_misc_flags

2020-09-28 Thread Marco Elver
On Mon, 28 Sep 2020 at 07:18, Dmitry Vyukov wrote: > > On Sun, Sep 27, 2020 at 4:57 PM Borislav Petkov wrote: > > > > On Sat, Sep 19, 2020 at 01:32:14AM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:92ab97ad Merge tag 'sh-for-5.9-pa

Re: [PATCH v2] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-09-28 Thread Geert Uytterhoeven
Hi Prabhakar, On Sun, Sep 27, 2020 at 10:04 PM Laurent Pinchart wrote: > On Sun, Sep 27, 2020 at 02:01:50PM +0100, Lad, Prabhakar wrote: > > On Mon, Aug 24, 2020 at 1:48 AM Laurent Pinchart wrote: > > > On Thu, Aug 13, 2020 at 03:00:41PM +0100, Lad Prabhakar wrote: > > > > The iwg21d comes with a

kernel BUG at fs/erofs/inode.c:LINE!

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1d2220c Add linux-next specific files for 20200924 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=166cb7d990 kernel config: https://syzkaller.appspot.com/x/.config?x=254e028a642027c dashboard l

general protection fault in io_uring_flush

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1d2220c Add linux-next specific files for 20200924 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=150e718d90 kernel config: https://syzkaller.appspot.com/x/.config?x=254e028a642027c dashboard l

KASAN: use-after-free Read in tcf_action_init

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:171d4ff7 Merge tag 'mmc-v5.9-rc4-2' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=105fbac590 kernel config: https://syzkaller.appspot.com/x/.config?x=af502ec9a451c9fc das

INFO: trying to register non-static key in exfat_cache_inval_inode

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:171d4ff7 Merge tag 'mmc-v5.9-rc4-2' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=160cf3c390 kernel config: https://syzkaller.appspot.com/x/.config?x=6184b75aa6d48d66 das

INFO: task hung in tcf_action_init_1

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:5e46e43c MAINTAINERS: Add Vladimir as a maintainer for DSA git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=168d5a8790 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 dashboard

Re: sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match'

2020-09-28 Thread Peter Ujfalusi
On 27/09/2020 10.27, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: a1bffa48745afbb54cb4f873bba783b2ae8be042 > commit: 6748d05590594837e42dfa975879fb275099f0b2 ASoC: ti: Add custom machine > driver for j721e EVM (CPB and

[PATCH v6] kernel/trace: Add DISALLOW_TRACE_PRINTK make option

2020-09-28 Thread Nicolas Boichat
trace_printk is meant as a debugging tool, and should not be compiled into production code without specific debug Kconfig options enabled, or source code changes, as indicated by the warning that shows up on boot if any trace_printk is called: ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE

Re: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-09-28 Thread Krzysztof Kozlowski
On Mon, 28 Sep 2020 at 01:28, Vladimir Oltean wrote: > > On Mon, Sep 28, 2020 at 12:43:36AM +0200, Michael Walle wrote: > > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in remove > > path") this driver causes a kernel oops: > > > > [1.891065] Unable to handle kernel NULL point

Re: [PATCH V5 1/3] percpu_ref: add percpu_ref_is_initialized for MD

2020-09-28 Thread Christoph Hellwig
On Sun, Sep 27, 2020 at 02:26:52PM +0800, Ming Lei wrote: > MD code uses perpcu-refcount internal to check if this percpu-refcount > variable is initialized, this way is a hack. > > Add percpu_ref_is_initialized for MD so that the hack can be avoided. > > Acked-by: Song Liu > Suggested-by: Jens

[RFC PATCH 2/2] kvm/x86: allow guest to toggle X86_CR4_FSGSBASE

2020-09-28 Thread Lai Jiangshan
From: Lai Jiangshan There is no reason to force VM-Exit on toggling X86_CR4_FSGSBASE. Cc: Paolo Bonzini Signed-off-by: Lai Jiangshan --- arch/x86/kvm/kvm_cache_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/kvm_cache_regs.h b/arch/x86/kvm/kvm_cache_reg

[RFC PATCH 1/2] kvm/x86: intercept guest changes to X86_CR4_LA57

2020-09-28 Thread Lai Jiangshan
From: Lai Jiangshan When shadowpaping is enabled, guest should not be allowed to toggle X86_CR4_LA57. And X86_CR4_LA57 is a rarely changed bit, so we can just intercept all the attempts to toggle it no matter shadowpaping is in used or not. Fixes: fd8cb433734ee ("KVM: MMU: Expose the LA57 featur

Re: [PATCH 3/5] iommu/tegra-smmu: Use iommu_fwspec in .probe_/.attach_device()

2020-09-28 Thread Thierry Reding
On Sat, Sep 26, 2020 at 05:48:17PM +0300, Dmitry Osipenko wrote: > 26.09.2020 11:07, Nicolin Chen пишет: > ... > > + /* NULL smmu pointer means that SMMU driver is not probed yet */ > > + if (unlikely(!smmu)) > > + return ERR_PTR(-EPROBE_DEFER); > > Hello, Nicolin! > > Please don't

Re: [External] Re: [PATCH v2] stackleak: Fix a race between stack erasing sysctl handlers

2020-09-28 Thread Muchun Song
On Mon, Sep 28, 2020 at 2:32 PM Alexander Popov wrote: > > On 22.09.2020 08:59, Muchun Song wrote: > > On Mon, Sep 14, 2020 at 9:56 PM Alexander Popov > > wrote: > >> > >> On 07.09.2020 16:53, Muchun Song wrote: > >>> On Mon, Sep 7, 2020 at 7:24 PM Alexander Popov > >>> wrote: > > On

Re: [PATCH 2/2] sched: mark PRINTK_DEFERRED_CONTEXT_MASK in __schedule()

2020-09-28 Thread Peter Zijlstra
On Mon, Sep 28, 2020 at 12:11:30AM +0800, Chengming Zhou wrote: > The WARN_ON/WARN_ON_ONCE with rq lock held in __schedule() should be > deferred by marking the PRINTK_DEFERRED_CONTEXT_MASK, or will cause > deadlock on rq lock in the printk path. It also shouldn't happen in the first place, so who

Re: [PATCH v4 06/17] virt: acrn: Introduce VM management interfaces

2020-09-28 Thread Shuo A Liu
Hi Greg, On Sun 27.Sep'20 at 12:47:02 +0200, Greg Kroah-Hartman wrote: On Tue, Sep 22, 2020 at 07:43:00PM +0800, shuo.a@intel.com wrote: From: Shuo Liu The VM management interfaces expose several VM operations to ACRN userspace via ioctls. For example, creating VM, starting VM, destroying

Re: [PATCH v4 06/17] virt: acrn: Introduce VM management interfaces

2020-09-28 Thread Shuo A Liu
Hi Greg, On Sun 27.Sep'20 at 12:45:38 +0200, Greg Kroah-Hartman wrote: On Tue, Sep 22, 2020 at 07:43:00PM +0800, shuo.a@intel.com wrote: From: Shuo Liu The VM management interfaces expose several VM operations to ACRN userspace via ioctls. For example, creating VM, starting VM, destroying

general protection fault in tcf_generic_walker

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:ad2b9b0f tcp: skip DSACKs with dubious sequence ranges git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=13baee3d90 kernel config: https://syzkaller.appspot.com/x/.config?x=5f4c828c9e3cef97 dashboard link

Re: [patch 24/35] net: brcmfmac: Replace in_interrupt()

2020-09-28 Thread Arend Van Spriel
+ Uffe On 9/27/2020 9:49 PM, Thomas Gleixner wrote: @@ -85,7 +85,7 @@ static void brcmf_sdiod_ib_irqhandler(st brcmf_dbg(INTR, "IB intr triggered\n"); - brcmf_sdio_isr(sdiodev->bus); + brcmf_sdio_isr(sdiodev->bus, false); } Hi Uffe, I assume the above code is okay, but want

Re: [PATCH] drm/stm: dsi: Use dev_ based logging

2020-09-28 Thread Yannick FERTRE
On 9/25/20 2:02 PM, Joe Perches wrote: > On Fri, 2020-09-25 at 12:22 +0200, Yannick Fertre wrote: >> Standardize on the dev_ based logging and drop the include of drm_print.h. >> Remove useless dsi_color_from_mipi function. > [] >> diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c >> b/drivers/

BUG: unable to handle kernel paging request in tcf_action_dump_terse

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:307eea32 dt-bindings: net: renesas,ravb: Add support for r.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=13b7e29d90 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 dashboar

Re: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-09-28 Thread Krzysztof Kozlowski
On Mon, 28 Sep 2020 at 09:29, Krzysztof Kozlowski wrote: > > > > > > This is because since this commit, the allocation of the drivers private > > > data is done explicitly and in this case spi_alloc_master() won't set the > > > correct pointer. > > > > > > Fixes: 530b5affc675 ("spi: fsl-dspi: fix

BUG: unable to handle kernel NULL pointer dereference in __lookup_slow

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7c7ec322 Merge tag 'for-linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1728977390 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 das

RE: [PATCH 2/3] exfat: remove useless check in exfat_move_file()

2020-09-28 Thread Sungjong Seo
> >> --- a/fs/exfat/namei.c > >> +++ b/fs/exfat/namei.c > >> @@ -1095,11 +1095,6 @@ static int exfat_move_file(struct inode > >> *inode, struct exfat_chain *p_olddir, > >>if (!epmov) > >>return -EIO; > >> > >> - /* check if the source and target directory is the same */ > >> - if

KASAN: null-ptr-deref Read in tcf_idrinfo_destroy

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:05943249 net: atlantic: fix build when object tree is sepa.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1505450990 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 dashboar

general protection fault in mac80211_hwsim_tx_frame_no_nl

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:171d4ff7 Merge tag 'mmc-v5.9-rc4-2' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15d1a80990 kernel config: https://syzkaller.appspot.com/x/.config?x=240e2ebab67245c7 das

KASAN: use-after-free Read in __proc_create

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7c7ec322 Merge tag 'for-linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1375b14b90 kernel config: https://syzkaller.appspot.com/x/.config?x=6184b75aa6d48d66 das

Re: [PATCH][next] net/mlx5e: Fix potential null pointer dereference

2020-09-28 Thread Leon Romanovsky
On Fri, Sep 25, 2020 at 11:49:13AM -0500, Gustavo A. R. Silva wrote: > Calls to kzalloc() and kvzalloc() should be null-checked > in order to avoid any potential failures. In this case, > a potential null pointer dereference. > > Fix this by adding null checks for _parse_attr_ and _flow_ > right af

Re: [PATCH v2] mm: cma: indefinitely retry allocations in cma_alloc

2020-09-28 Thread Christoph Hellwig
On Tue, Sep 15, 2020 at 09:53:30AM +0200, David Hildenbrand wrote: > Two thoughts: > > 1. Most (all?) alloc_contig_range() users are interested in handling > short-term pinnings in a nice way (IOW, make the allocation succeed). > I'd much rather want to see this being handled in a nice fashion ins

Re: [PATCH] drm/stm: dsi: Use dev_ based logging

2020-09-28 Thread Yannick FERTRE
On 9/25/20 4:51 PM, Sam Ravnborg wrote: > Hi Yannick. > > On Fri, Sep 25, 2020 at 12:22:33PM +0200, Yannick Fertre wrote: >> Standardize on the dev_ based logging and drop the include of drm_print.h. > The patchs filas to drop the include mentioned here. > >> Remove useless dsi_color_from_mipi

[PATCH] gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-09-28 Thread Mike Looijmans
The NXP PCAL9554B is a variant of the PCA953x GPIO expander, with 8 GPIOs, latched interrupts and some advanced configuration options. The "C" version only differs in I2C address. Signed-off-by: Mike Looijmans --- Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + drivers/gpio/gpio-p

Re: [PATCH 2/3] net/mlx5e: Clean up error handling in mlx5e_alloc_flow()

2020-09-28 Thread Leon Romanovsky
On Sun, Sep 27, 2020 at 12:32:52PM +0100, Alex Dewar wrote: > The variable flow is used after being allocated but before being > null-checked, which will cause a null pointer dereference if the > allocation failed. Fix this and tidy up the error-checking logic in this > function. > > Addresses-Cove

Re: [PATCH 0/2] measure latency of cpu hotplug path

2020-09-28 Thread Peter Zijlstra
On Sun, Sep 27, 2020 at 07:41:45PM -0700, psoda...@codeaurora.org wrote: > On 2020-09-24 07:58, Steven Rostedt wrote: > > On Thu, 24 Sep 2020 10:34:14 +0200 > > pet...@infradead.org wrote: > > > > > On Wed, Sep 23, 2020 at 04:37:44PM -0700, Prasad Sodagudi wrote: > > > > There are all changes rela

[PATCH v6 3/4] Bluetooth: Handle active scan case

2020-09-28 Thread Howard Chung
This patch adds code to handle the active scan during interleave scan. The interleave scan will be canceled when users start active scan, and it will be restarted after active scan stopped. Signed-off-by: Howard Chung Reviewed-by: Alain Michaud Reviewed-by: Manish Mandlik --- (no changes since

[PATCH v6 2/4] Bluetooth: Handle system suspend resume case

2020-09-28 Thread Howard Chung
This patch adds code to handle the system suspension during interleave scan. The interleave scan will be canceled when the system is going to sleep, and will be restarted after waking up. Signed-off-by: Howard Chung Reviewed-by: Alain Michaud Reviewed-by: Manish Mandlik Reviewed-by: Abhishek Pa

[PATCH v6 4/4] Bluetooth: Add toggle to switch off interleave scan

2020-09-28 Thread Howard Chung
This patch add a configurable parameter to switch off the interleave scan feature. Signed-off-by: Howard Chung Reviewed-by: Alain Michaud --- Changes in v6: - Change the type of enable_advmon_interleave_scan to u8 Changes in v4: - Set EnableAdvMonInterleaveScan default to Disable - Fix 80 char

[PATCH v6 1/4] Bluetooth: Interleave with allowlist scan

2020-09-28 Thread Howard Chung
This patch implements the interleaving between allowlist scan and no-filter scan. It'll be used to save power when at least one monitor is registered and at least one pending connection or one device to be scanned for. The durations of the allowlist scan and the no-filter scan are controlled by MG

Re: [PATCH 3/3] net/mlx5e: Fix use of freed pointer

2020-09-28 Thread Leon Romanovsky
On Sun, Sep 27, 2020 at 12:32:53PM +0100, Alex Dewar wrote: > If the call to mlx5_fc_create() fails, then shared_counter will be freed > before its member, shared_counter->counter, is accessed to retrieve the > error code. Fix by using an intermediate variable. > > Addresses-Coverity: CID 1497153:

RE: [PATCH 0/4] Remove LPC register partitioning

2020-09-28 Thread Ryan Chen
Hello Joel & Andrew, Those patches are more organize for ASPEED SOC LPC register layout. Does those patches have any feedback? Ryan > -Original Message- > From: ChiaWei Wang > Sent: Friday, September 11, 2020 4:21 PM > To: Andrew Jeffery ; Joel Stanley > Cc: Rob

Re: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-09-28 Thread Michael Walle
Am 2020-09-28 09:29, schrieb Krzysztof Kozlowski: On Mon, 28 Sep 2020 at 01:28, Vladimir Oltean wrote: On Mon, Sep 28, 2020 at 12:43:36AM +0200, Michael Walle wrote: > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in remove > path") this driver causes a kernel oops: > > [1.

possible deadlock in f_getown

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d1d2220c Add linux-next specific files for 20200924 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=174e41e390 kernel config: https://syzkaller.appspot.com/x/.config?x=254e028a642027c dashboard l

WARNING: proc registration bug in afs_manage_cell

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c9c9e6a4 Merge tag 'trace-v5.9-rc5-2' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13a34b1d90 kernel config: https://syzkaller.appspot.com/x/.config?x=5f4c828c9e3cef97 das

WARNING: filesystem loop0 was created with 512 inodes, the real maximum is 511, mounting anyway

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c9c9e6a4 Merge tag 'trace-v5.9-rc5-2' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12e98c8d90 kernel config: https://syzkaller.appspot.com/x/.config?x=5f4c828c9e3cef97 das

BUG: unable to handle kernel paging request in diFree

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:805c6d3c Merge branch 'fixes' of git://git.kernel.org/pub/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15dfd07590 kernel config: https://syzkaller.appspot.com/x/.config?x=af502ec9a451c9fc das

RE: [PATCH 2/3] exfat: remove useless check in exfat_move_file()

2020-09-28 Thread Namjae Jeon
> > >> --- a/fs/exfat/namei.c > > >> +++ b/fs/exfat/namei.c > > >> @@ -1095,11 +1095,6 @@ static int exfat_move_file(struct inode > > >> *inode, struct exfat_chain *p_olddir, > > >> if (!epmov) > > >> return -EIO; > > >> > > >> -/* check if the source and target di

Re: WARNING: filesystem loop0 was created with 512 inodes, the real maximum is 511, mounting anyway

2020-09-28 Thread Dmitry Vyukov
On Mon, Sep 28, 2020 at 9:48 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:c9c9e6a4 Merge tag 'trace-v5.9-rc5-2' of git://git.kernel... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=12e98c8d90 > kernel config:

[PATCHSET v3 0/6] perf inject: Speed build-id injection

2020-09-28 Thread Namhyung Kim
Hello, This is the new version of speed up build-id injection. As this is to improve performance, I've added a benchmark for it. Please look at the usage in the first commit. By default, it measures average processing time of 100 MMAP2 events and 1 SAMPLE events. Below is the current resul

Re: [PATCH net-next] net: vlan: Fixed signedness in vlan_group_prealloc_vid()

2020-09-28 Thread David Miller
From: Florian Fainelli Date: Sun, 27 Sep 2020 19:31:50 -0700 > After commit d0186842ec5f ("net: vlan: Avoid using BUG() in > vlan_proto_idx()"), vlan_proto_idx() was changed to return a signed > integer, however one of its called: vlan_group_prealloc_vid() was still > using an unsigned integer fo

Re: [PATCH 3/5] iommu/tegra-smmu: Use iommu_fwspec in .probe_/.attach_device()

2020-09-28 Thread Thierry Reding
On Sat, Sep 26, 2020 at 01:07:17AM -0700, Nicolin Chen wrote: > The tegra_smmu_probe_device() function searches in DT for the iommu > phandler to get "smmu" pointer. This works for most of SMMU clients > that exist in the DTB. But a PCI device will not be added to iommu, > since it doesn't have a D

Re: [PATCH 2/2] sched: mark PRINTK_DEFERRED_CONTEXT_MASK in __schedule()

2020-09-28 Thread Joe Perches
On Mon, 2020-09-28 at 09:32 +0200, Peter Zijlstra wrote: > On Mon, Sep 28, 2020 at 12:11:30AM +0800, Chengming Zhou wrote: > > The WARN_ON/WARN_ON_ONCE with rq lock held in __schedule() should be > > deferred by marking the PRINTK_DEFERRED_CONTEXT_MASK, or will cause > > deadlock on rq lock in the

[PATCH 1/6] perf bench: Add build-id injection benchmark

2020-09-28 Thread Namhyung Kim
Sometimes I can see perf record piped with perf inject take long time processing build-id. So add inject-build-id benchmark to the internals benchmark suite to measure its overhead regularly. It runs perf inject command internally and feeds the given number of synthesized events (MMAP2 + SAMPLE b

RE: [PATCH v2] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-09-28 Thread Prabhakar Mahadev Lad
Hi Geert, > -Original Message- > From: Geert Uytterhoeven > Sent: 28 September 2020 08:26 > To: Lad, Prabhakar > Cc: Prabhakar Mahadev Lad ; Magnus > Damm ; Rob Herring > ; DRI Development ; > Linux-Renesas ; open > list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > ; LKML ; > La

[PATCH 6/6] perf bench: Run inject-build-id with --buildid-all option too

2020-09-28 Thread Namhyung Kim
For comparison, it now runs the benchmark twice - one if regular -b and another for --buildid-all. $ perf bench internals inject-build-id # Running 'internals/inject-build-id' benchmark: Average build-id injection took: 18.112 msec (+- 0.034 msec) Average time per event: 1.776 usec (+-

[PATCH 5/6] perf inject: Add --buildid-all option

2020-09-28 Thread Namhyung Kim
Like perf record, we can even more speedup build-id processing by just using all DSOs. Then we don't need to look at all the sample events anymore. The following patch will update perf bench to show the result of the --buildid-all option too. Original-patch-by: Stephane Eranian Acked-by: Jiri O

[PATCH 3/6] perf inject: Enter namespace when reading build-id

2020-09-28 Thread Namhyung Kim
It should be in a proper mnt namespace when accessing the file. I think this had no problem since the build-id was actually read from map__load() -> dso__load() already. But I'd like to change it in the following commit. Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/builtin-i

[PATCH 2/6] perf inject: Add missing callbacks in perf_tool

2020-09-28 Thread Namhyung Kim
I found some events (like PERF_RECORD_CGROUP) are not copied by perf inject due to the missing callbacks. Let's add them. While at it, I've changed the order of the callbacks to match with struct perf_tool so that we can compare them easily. Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim ---

[PATCH 4/6] perf inject: Do not load map/dso when injecting build-id

2020-09-28 Thread Namhyung Kim
No need to load symbols in a DSO when injecting build-id. I guess the reason was to check the DSO is a special file like anon files. Use some helper functions in map.c to check them before reading build-id. Also pass sample event's cpumode to a new build-id event. It brought a speedup in the ben

Re: [PATCH 1/8] arm64: dts: meson: update spifc node on Khadas VIM2 meson-gxm-khadas-vim2

2020-09-28 Thread Neil Armstrong
On 25/09/2020 09:51, Martin Blumenstingl wrote: > Hi Artem, > > On Fri, Sep 25, 2020 at 5:30 AM Artem Lapkin wrote: >> >> 1) The VIM2 Boards use w25q128 spi chip only not w25q32 or w25q16 >>it's not really seriously becouse have 'jedec,spi-nor' which >>have auto chips identifications > ac

Re: [PATCH 2/2] irqchip/ti-sci-inta: Add support for unmapped event handling

2020-09-28 Thread Peter Ujfalusi
On 28/09/2020 9.39, Peter Ujfalusi wrote: > The DMA (BCDMA/PKTDMA and their rings/flows) events are under the INTA's > supervision as unmapped events in AM64. > > In order to keep the current SW stack working, the INTA driver must replace > the dev_id with it's own when a request comes for BCDM

[PATCH v3] drm/hisilicon: Deleted the drm_device declaration

2020-09-28 Thread Tian Tao
drm_framebuffer.h already declares struct drm_device, so there's no need to declare it in hibm_drm_drv.h v2: fixed spelling errors in commit message. v3: rewrite the commit message. Signed-off-by: Tian Tao Acked-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 --

Re: [PATCH] arm64: dts: amlogic: meson-g12: use the G12A specific dwmac compatible

2020-09-28 Thread Neil Armstrong
On 25/09/2020 23:17, Martin Blumenstingl wrote: > We have a dedicated "amlogic,meson-g12a-dwmac" compatible string for the > Ethernet controller since commit 3efdb92426bf4 ("dt-bindings: net: > dwmac-meson: Add a compatible string for G12A onwards"). > Using the AXG compatible string worked fine so

Re: [PATCH 4/5] iommu/tegra-smmu: Add PCI support

2020-09-28 Thread Thierry Reding
On Sat, Sep 26, 2020 at 01:07:18AM -0700, Nicolin Chen wrote: > This patch simply adds support for PCI devices. > > Signed-off-by: Nicolin Chen > --- > drivers/iommu/tegra-smmu.c | 17 - > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/drivers/iommu/tegra-smmu.

Re: WARNING in print_bfs_bug

2020-09-28 Thread Peter Zijlstra
On Sun, Sep 27, 2020 at 10:57:24AM +0200, Dmitry Vyukov wrote: > On Thu, Oct 31, 2019 at 9:39 PM syzbot > wrote: > > > > syzbot has found a reproducer for the following crash on: > > > > HEAD commit:49afce6d Add linux-next specific files for 20191031 > > git tree: linux-next > > console

Re: linux-next: Signed-off-by missing for commit in the rcu tree

2020-09-28 Thread Peter Zijlstra
On Thu, Sep 17, 2020 at 11:00:05AM -0700, Paul E. McKenney wrote: > On Thu, Sep 17, 2020 at 01:26:52PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > Commit > > > > 903c5302fa2d ("sched/core: Allow try_invoke_on_locked_down_task() with > > irqs disabled") > > > > is missing a Signed-off-b

BUG: unable to handle kernel paging request in wait_consider_task (2)

2020-09-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:92ab97ad Merge tag 'sh-for-5.9-part2' of git://git.libc.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13d29c0390 kernel config: https://syzkaller.appspot.com/x/.config?x=ffe85b197a57c180 das

Dear friend

2020-09-28 Thread Umar Bello
-- Dear friend I am contacting you on a business of $17.5 Million US Dollars/950 KG of gold valued at $28.5 Million US Dollars ready for transfer into your account if we make this claim, we will share it 60%/40%. 100% risk free and it will be legally backed up with government approved If you are

Re: [PATCH RFC 4/4] mm/page_alloc: place pages to tail in __free_pages_core()

2020-09-28 Thread Oscar Salvador
On Wed, Sep 16, 2020 at 08:34:11PM +0200, David Hildenbrand wrote: > @@ -1523,7 +1524,13 @@ void __free_pages_core(struct page *page, unsigned int > order) > > atomic_long_add(nr_pages, &page_zone(page)->managed_pages); > set_page_refcounted(page); > - __free_pages(page, order);

Re: [PATCH 2/2] sched: mark PRINTK_DEFERRED_CONTEXT_MASK in __schedule()

2020-09-28 Thread Peter Zijlstra
On Mon, Sep 28, 2020 at 12:52:44AM -0700, Joe Perches wrote: > On Mon, 2020-09-28 at 09:32 +0200, Peter Zijlstra wrote: > > On Mon, Sep 28, 2020 at 12:11:30AM +0800, Chengming Zhou wrote: > > > The WARN_ON/WARN_ON_ONCE with rq lock held in __schedule() should be > > > deferred by marking the PRINTK

Re: [PATCH] KVM: SVM: Initialize ir_list and ir_list_lock regardless of AVIC enablement

2020-09-28 Thread Paolo Bonzini
On 28/09/20 07:53, Suravee Suthikulpanit wrote: > Hi, > > Are there any issues or concerns about this patch? Yes, sorry I haven't replied yet. Looks like Linus is doing an -rc8 so there's plenty of time to have it in 5.9. The thing I'm wondering is, why is svm_update_pi_irte doing anything if y

[tip:x86/irq] BUILD SUCCESS d27e623ace6af259075b6e0437380ee8d6268c5d

2020-09-28 Thread kernel test robot
-20200927 x86_64 randconfig-a014-20200927 x86_64 randconfig-a015-20200927 x86_64 randconfig-a012-20200927 x86_64 randconfig-a016-20200927 i386 randconfig-a012-20200928 i386 randconfig-a016-20200928 i386

Re: [PATCH] lockdep: Optimize the memory usage of circular queue

2020-09-28 Thread Dmitry Vyukov
On Thu, Sep 24, 2020 at 5:13 PM Boqun Feng wrote: > > Ping ;-) > > Regards, > Boqun Hi Boqun, Peter says this may also fix this issue: https://syzkaller.appspot.com/bug?extid=62ebe501c1ce9a91f68c please add the following tag to the patch so that the bug report will be closed on merge: Reported-b

Re: [PATCH leds v2 05/50] leds: various: guard of_match_table member value with of_match_ptr

2020-09-28 Thread Lee Jones
On Fri, 18 Sep 2020, Sakari Ailus wrote: > On Fri, Sep 18, 2020 at 11:20:58AM +0200, Marek Behun wrote: > > On Fri, 18 Sep 2020 09:15:00 +0300 > > Sakari Ailus wrote: > > > > > Hi Marek, > > > > > > On Fri, Sep 18, 2020 at 12:32:53AM +0200, Marek Behún wrote: > > > > Change > > > > .of_match_

Re: [patch 25/35] net: brcmfmac: Use netif_rx_any_context().

2020-09-28 Thread Arend Van Spriel
On 9/27/2020 9:49 PM, Thomas Gleixner wrote: From: Sebastian Andrzej Siewior The usage of in_interrupt() in non-core code is phased out. Ideally the information of the calling context should be passed by the callers or the functions be split as appropriate. brcmfmac uses in_interupt() to selec

Re: [PATCH] spi: fsl-dspi: fix NULL pointer dereference

2020-09-28 Thread Sascha Hauer
On Mon, Sep 28, 2020 at 02:27:47AM +0300, Vladimir Oltean wrote: > On Mon, Sep 28, 2020 at 12:43:36AM +0200, Michael Walle wrote: > > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in remove > > path") this driver causes a kernel oops: > > > > [1.891065] Unable to handle kernel

Re: [PATCH 2/2] sched: mark PRINTK_DEFERRED_CONTEXT_MASK in __schedule()

2020-09-28 Thread Peter Zijlstra
On Mon, Sep 28, 2020 at 10:00:22AM +0200, Peter Zijlstra wrote: > On Mon, Sep 28, 2020 at 12:52:44AM -0700, Joe Perches wrote: > > On Mon, 2020-09-28 at 09:32 +0200, Peter Zijlstra wrote: > > > On Mon, Sep 28, 2020 at 12:11:30AM +0800, Chengming Zhou wrote: > > > > The WARN_ON/WARN_ON_ONCE with rq

RE: [PATCH 3/6] arm64: dts: imx8mm-evk: fix missing PMIC's interrupt line pull-up

2020-09-28 Thread Robin Gong
On 2020/09/28 1:00 Krzysztof Kozlowski wrote: > The PMIC's interrupt is level low and should be pulled up. The PMIC's device > node had pinctrl-0 property but it lacked pinctrl-names which is required to > apply the pin configuration. > > Fixes: 5f67317bd967 ("arm64: dts: imx8mm: correct interru

Re: [PATCH v4] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-09-28 Thread Punit Agrawal
Yazen Ghannam writes: > On Fri, Sep 25, 2020 at 09:54:06AM +0900, Punit Agrawal wrote: >> Borislav Petkov writes: >> >> > On Thu, Sep 24, 2020 at 12:23:27PM -0500, Smita Koralahalli Channabasappa >> > wrote: >> >> > Even though it's not defined in the UEFI spec, it doesn't mean a >> >> > struc

Re: [PATCH] lockdep: Optimize the memory usage of circular queue

2020-09-28 Thread Boqun Feng
On Mon, Sep 28, 2020 at 10:03:19AM +0200, Dmitry Vyukov wrote: > On Thu, Sep 24, 2020 at 5:13 PM Boqun Feng wrote: > > > > Ping ;-) > > > > Regards, > > Boqun > > Hi Boqun, > > Peter says this may also fix this issue: > https://syzkaller.appspot.com/bug?extid=62ebe501c1ce9a91f68c > please add th

Re: [PATCH] ASoC: tegra20-spdif: remove "default m"

2020-09-28 Thread Thierry Reding
On Sat, Sep 26, 2020 at 09:42:40PM +0200, Michał Mirosław wrote: > Make tegra20-spdif default to N as all other drivers do. > > Signed-off-by: Michał Mirosław > Fixes: 774fec338bfc ("ASoC: Tegra: Implement SPDIF CPU DAI") I don't think this is warranted. This doesn't fix a bug or anything. It's

  1   2   3   4   5   6   7   8   9   10   >