Re: [PATCH] [v2] i2c: stm32f7: Fix runtime PM imbalance on error

2020-05-31 Thread Alain Volmat
Hi, Reviewed-by: Alain Volmat Thanks, Alain On Wed, May 27, 2020 at 01:38:53AM +, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > the call returns an error code. Thus a pairing decrement is needed > on the error handling path to keep the counter

Re: [PATCH v2] dt-bindings: media: venus: Add an optional power domain for perf voting

2020-05-31 Thread Rajendra Nayak
On 5/28/2020 1:06 AM, Rob Herring wrote: On Wed, May 13, 2020 at 11:33:27AM +0530, Rajendra Nayak wrote: Add an optional power domain which when specified can be used for setting the performance state of Venus. Signed-off-by: Rajendra Nayak ---

sh: 1: scripts/ld-version.sh: Permission denied

2020-05-31 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 commit: 9553d16fa671b9621c5e2847d08bd90d3be3349c init/kconfig: Add LD_VERSION Kconfig date: 9 weeks ago config: x86_64-allyesconfig compiler: clang version 11.0.0

[tip:WIP.sched/core] BUILD REGRESSION 1f8db4150536431b031585ecc2a6793f69245de2

2020-05-31 Thread kbuild test robot
386 randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a

[tip:sched/core] BUILD SUCCESS 58ef57b16d9e91cce1c640a6fe8a21d53a85181d

2020-05-31 Thread kbuild test robot
386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfig-a005-20200531 i386 randconfig-a001-20200531 i386 randconfig-a

[tip:perf/core] BUILD SUCCESS 5cde265384cad739b162cf08afba6da8857778bd

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core branch HEAD: 5cde265384cad739b162cf08afba6da8857778bd perf/x86/rapl: Add AMD Fam17h RAPL support elapsed time: 5488m configs tested: 86 configs skipped: 4 The following configs have been built successfully.

[rcu:dev.2020.05.25b] BUILD SUCCESS 39d28156618fd7787f3363cf66d77918c94abc54

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.25b branch HEAD: 39d28156618fd7787f3363cf66d77918c94abc54 refperf: Output per-experiment data points i386-tinyconfig vmlinux size:

[rcu:dev.2020.05.26a] BUILD REGRESSION 63fdce1252f16032c9e1eb7244bb674ba4f84855

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.26a branch HEAD: 63fdce1252f16032c9e1eb7244bb674ba4f84855 fixup! refperf: Provide module parameter to specify number of experiments Error/Warning in current branch: m68k-linux-ld:

[PATCH v3 6/8] mtd: spi-nor: cadence-quadspi: Drop redundant WREN in erase path

2020-05-31 Thread Vignesh Raghavendra
Drop redundant WREN command in cqspi_erase() as SPI NOR core takes care of sending WREN command before sending erase command. Signed-off-by: Vignesh Raghavendra --- drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 5 - 1 file changed, 5 deletions(-) diff --git

[PATCH v3 7/8] mtd: spi-nor: Convert cadence-quadspi to use spi-mem framework

2020-05-31 Thread Vignesh Raghavendra
From: Ramuthevar Vadivel Murugan Move cadence-quadspi driver to use spi-mem framework. This is required to make the driver support for SPI NAND flashes in future. Driver is feature compliant with existing SPI NOR version. Signed-off-by: Ramuthevar Vadivel Murugan Signed-off-by: Vignesh

[PATCH v3 2/8] mtd: spi-nor: cadence-quadspi: Provide a way to disable DAC mode

2020-05-31 Thread Vignesh Raghavendra
Currently direct access mode is used on platforms that have AHB window (memory mapped window) larger than flash size. This feature is limited to TI platforms as non TI platforms have < 1MB of AHB window. Therefore introduce a driver quirk to disable DAC mode and set it for non TI compatibles. This

Re: [PATCH v3 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-05-31 Thread Greg KH
On Mon, Jun 01, 2020 at 12:47:12PM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2020-05-26 at 08:51 +0200, Greg KH wrote: > > > > And get them to sign off on it too, showing they agree with the design > > decisions here :) > > Isn't it generally frowned upon to publish a patch with internal

Re: [2/2] Coccinelle: memdup_user: Extending data processing for special tokens

2020-05-31 Thread Markus Elfring
> Unfortunately, the Coccinelle software does not like the following > SmPL code variant so far. > > to = > ( > - \( kmalloc \| kzalloc \) > + memdup_user > | > - \( kvmalloc \| kvzalloc \) > + vmemdup_user > ) > ( > - size, \( GFP_KERNEL \|

[PATCH v3 1/8] mtd: spi-nor: cadence-quadspi: Make driver independent of flash geometry

2020-05-31 Thread Vignesh Raghavendra
Drop configuration of Flash size, erase size and page size configuration. Flash size is needed only if using AHB decoder (BIT 23 of CONFIG_REG) which is not used by the driver. Erase size and page size are needed if IP is configured to send WREN automatically. But since SPI NOR layer takes care of

[PATCH v3 4/8] mtd: spi-nor: cadence-quadspi: Fix error path on failure to acquire reset lines

2020-05-31 Thread Vignesh Raghavendra
Make sure to undo the prior changes done by the driver when exiting due to failure to acquire reset lines. Signed-off-by: Vignesh Raghavendra Reviewed-by: Tudor Ambarus --- drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH v3 5/8] mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel

2020-05-31 Thread Vignesh Raghavendra
dma_request_chan_by_mask() can throw EPROBE_DEFER if DMA provider is not yet probed. Currently driver just falls back to using PIO mode (which is less efficient) in this case. Instead return probe deferral error as is so that driver will be re probed once DMA provider is available. Signed-off-by:

[PATCH v3 8/8] spi: Move cadence-quadspi driver to drivers/spi/

2020-05-31 Thread Vignesh Raghavendra
From: Ramuthevar Vadivel Murugan Now that cadence-quadspi has been converted to use spi-mem framework, move it under drivers/spi/ Update license header to match SPI subsystem style Signed-off-by: Ramuthevar Vadivel Murugan Signed-off-by: Vignesh Raghavendra ---

[PATCH v3 3/8] mtd: spi-nor: cadence-quadspi: Don't initialize rx_dma_complete on failure

2020-05-31 Thread Vignesh Raghavendra
If driver fails to acquire DMA channel then don't initialize rx_dma_complete struct as it won't be used. Signed-off-by: Vignesh Raghavendra Reviewed-by: Tudor Ambarus --- drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 0/8] mtd: spi-nor: Move cadence-qaudspi to spi-mem framework

2020-05-31 Thread Vignesh Raghavendra
This series is a subset of "[PATCH v12 0/4] spi: cadence-quadspi: Add support for the Cadence QSPI controller" by Ramuthevar,Vadivel MuruganX that intended to move cadence-quadspi driver to spi-mem framework Those patches were trying to accomplish too many things in a single set of patches and

Re: [PATCH] drivers/dax/bus: Use kobj_to_dev() API

2020-05-31 Thread Ira Weiny
On Fri, May 29, 2020 at 11:42:57AM +0800, Shuai He wrote: > Use kobj_to_dev() API instead of container_of(). > > Signed-off-by: Shuai He Seems reasonable: Reviewed-by: Ira Weiny > --- > drivers/dax/bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH] iommu: amd: Fix IO_PAGE_FAULT due to __unmap_single() size overflow

2020-05-31 Thread Suravee Suthikulpanit
Currently, an integer is used to specify the size in unmap_sg(). With 2GB worth of pages (512k 4k pages), it requires 31 bits (i.e. (1 << 19) << 12), which overflows the integer, and ends up unmapping more pages than intended. Subsequently, this results in IO_PAGE_FAULT. Uses size_t instead of

Re: [PATCH] soundwire: clarify SPDX use of GPL-2.0

2020-05-31 Thread Greg KH
On Mon, Jun 01, 2020 at 01:28:07AM +0800, Bard Liao wrote: > From: Pierre-Louis Bossart > > Change SPDX from GPL-2.0 to GPL-2.0-only for Intel-contributed > code. This was explicit before the transition to SPDX and lost in > translation. It is also explicit in the "GPL-2.0" lines as well, did

[tip:x86/build] BUILD SUCCESS 38f3e775e9c242f5430a9c08c11be7577f63a41c

2020-05-31 Thread kbuild test robot
-a004-20200529 i386 randconfig-a001-20200529 i386 randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386

[PATCH v2 2/2] vhost: convert get_user_pages() --> pin_user_pages()

2020-05-31 Thread John Hubbard
This code was using get_user_pages*(), in approximately a "Case 5" scenario (accessing the data within a page), using the categorization from [1]. That means that it's time to convert the get_user_pages*() + put_page() calls to pin_user_pages*() + unpin_user_pages() calls. There is some helpful

[PATCH v2 0/2] vhost, docs: convert to pin_user_pages(), new "case 5"

2020-05-31 Thread John Hubbard
This is based on Linux 5.7, plus one prerequisite patch: "mm/gup: update pin_user_pages.rst for "case 3" (mmu notifiers)" [1] Changes since v1: removed references to set_page_dirty*(), in response to Souptick Joarder's review (thanks!). Cover letter for v1, edited/updated slightly: It

[PATCH v2 1/2] docs: mm/gup: pin_user_pages.rst: add a "case 5"

2020-05-31 Thread John Hubbard
There are four cases listed in pin_user_pages.rst. These are intended to help developers figure out whether to use get_user_pages*(), or pin_user_pages*(). However, the four cases do not cover all the situations. For example, drivers/vhost/vhost.c has a "pin, write to page, set page dirty, unpin"

Re: [PATCH 2/3] mfd: madera: Fix minor formatting issues

2020-05-31 Thread Lee Jones
On Fri, 29 May 2020, Charles Keepax wrote: Still needs a commit log. > Signed-off-by: Charles Keepax > --- > drivers/mfd/madera-core.c| 12 ++-- > drivers/mfd/madera-i2c.c | 1 - > include/linux/mfd/madera/pdata.h | 1 - > 3 files changed, 6 insertions(+), 8

[PATCH] soundwire: clarify SPDX use of GPL-2.0

2020-05-31 Thread Bard Liao
From: Pierre-Louis Bossart Change SPDX from GPL-2.0 to GPL-2.0-only for Intel-contributed code. This was explicit before the transition to SPDX and lost in translation. No change to the dual-license parts, the only clarification is to the GPL-2.0 term. Signed-off-by: Pierre-Louis Bossart

Re: Re: Re: [PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new

2020-05-31 Thread dinghao . liu
> > If there's *any* error, it'll check the pointer, if it's non-NULL, > > it'll call the destructor. If kzalloc() fails, the pointer will be > > NULL, there's no double-free bug. *every* subdev is written this way > > to avoid duplicating cleanup logic. > Actually, gm20b_clk_new_speedo0() may

[tip:auto-latest] BUILD SUCCESS 4e052965f46b6fd9641d79bf10208eac2631475f

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git auto-latest branch HEAD: 4e052965f46b6fd9641d79bf10208eac2631475f Merge branch 'efi/core' elapsed time: 5276m configs tested: 114 configs skipped: 8 The following configs have been built successfully. More configs

[PATCH V4] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-31 Thread Sandipan Patra
Added support for dynamic clock freq configuration in pwm kernel driver. Earlier the pwm driver used to cache boot time clock rate by pwm clock parent during probe. Hence dynamically changing pwm frequency was not possible for all the possible ranges. With this change, dynamic calculation is

Re: [PATCH] staging: qlge: qlge_main.c: fixed spaces coding style issues

2020-05-31 Thread Benjamin Poirier
On 2020-05-29 17:17 +0200, Jil Rouceau wrote: > Fixed the missing spaces before and after binary operators. > > Signed-off-by: Jil Rouceau This patch does not apply cleanly. I think your base tree is missing commit ec269f1250c6 ("staging: qlge: Remove unnecessary spaces in qlge_main.c").

[tip:master] BUILD SUCCESS 14bf8733b3c1887abab08371c47e68f2afbc0b93

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: 14bf8733b3c1887abab08371c47e68f2afbc0b93 Merge branch 'x86/urgent' elapsed time: 3625m configs tested: 118 configs skipped: 6 The following configs have been built successfully. More configs may be

[tip:efi/urgent] BUILD SUCCESS 9bb4cbf4862dfa139f73e12912129e5b76baea1a

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git efi/urgent branch HEAD: 9bb4cbf4862dfa139f73e12912129e5b76baea1a Merge tag 'efi-fixes-for-v5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/urgent elapsed time: 13521m configs tested: 103

[tip:irq/core] BUILD SUCCESS 76fe06c1e68b8f8dfb63d5b268623830dcb16ed0

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: 76fe06c1e68b8f8dfb63d5b268623830dcb16ed0 Merge tag 'irqchip-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core elapsed time: 2567m configs tested: 146 configs

[tip:WIP.locking/core] BUILD SUCCESS 19f545b6e07f753c4dc639c2f0ab52345733b6a8

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git WIP.locking/core branch HEAD: 19f545b6e07f753c4dc639c2f0ab52345733b6a8 zram: Use local lock to protect per-CPU data elapsed time: 5454m configs tested: 126 configs skipped: 7 The following configs have been built

[tip:x86/cleanups] BUILD SUCCESS 2ca41f555e857ec5beef6063bfa43a17ee76d7ec

2020-05-31 Thread kbuild test robot
randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006

[tip:locking/kcsan] BUILD SUCCESS f05e1242fbb2d149ceaa87310cf67d03fe007a25

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/kcsan branch HEAD: f05e1242fbb2d149ceaa87310cf67d03fe007a25 compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse i386-tinyconfig vmlinux size:

[rcu:dev.2020.05.29a] BUILD SUCCESS f088eeb5bd99e97a2e8cea15279bbab273f2d7c8

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.29a branch HEAD: f088eeb5bd99e97a2e8cea15279bbab273f2d7c8 refperf: Work around 64-bit division i386-tinyconfig vmlinux size:

[tip:efi/core] BUILD SUCCESS e9524fb97ab5b41b85e1d3408f8e513433798f3c

2020-05-31 Thread kbuild test robot
randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfig-a005

[tip:x86/urgent] BUILD SUCCESS aa61b7bb00f7c0738823237a06161d568442b93c

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent branch HEAD: aa61b7bb00f7c0738823237a06161d568442b93c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into x86/urgent i386-tinyconfig vmlinux size:

[rcu:master] BUILD SUCCESS 8747b07d19443724745de86964e8818404112220

2020-05-31 Thread kbuild test robot
-a004-20200529 x86_64 randconfig-a003-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfig-a005-20200531 i386

[tip:x86/entry] BUILD REGRESSION 5980d208e5ef28455e9e8b08f6250b443a2f0893

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry branch HEAD: 5980d208e5ef28455e9e8b08f6250b443a2f0893 x86/idt: Consolidate idt functionality Error/Warning in current branch: arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token

[tip:x86/splitlock] BUILD SUCCESS 429ac8b75a0b1c3478ffd584de8a63075cbe25e7

2020-05-31 Thread kbuild test robot
randconfig-a001-20200529 i386 randconfig-a002-20200529 i386 randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig

[tip:core/rcu] BUILD SUCCESS 806f04e9fd2c6ad1e39bc2dba77155be0e4becde

2020-05-31 Thread kbuild test robot
defconfig i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531 i386 randconfig-a005-20200531 i386 randconfig-a001-20200531 i386

[PATCH v7 4/4] kasan: update documentation for generic kasan

2020-05-31 Thread Walter Wu
Generic KASAN will support to record the last two call_rcu() call stacks and print them in KASAN report. So that need to update documentation. Signed-off-by: Walter Wu Reviewed-and-tested-by: Dmitry Vyukov Reviewed-by: Andrey Konovalov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Jonathan

Re: [PATCH 1/2] docs: mm/gup: pin_user_pages.rst: add a "case 5"

2020-05-31 Thread John Hubbard
On 2020-05-31 00:11, Souptick Joarder wrote: ... diff --git a/Documentation/core-api/pin_user_pages.rst b/Documentation/core-api/pin_user_pages.rst index 4675b04e8829..b9f2688a2c67 100644 --- a/Documentation/core-api/pin_user_pages.rst +++ b/Documentation/core-api/pin_user_pages.rst @@ -171,6

[PATCH v7 3/4] kasan: add tests for call_rcu stack recording

2020-05-31 Thread Walter Wu
Test call_rcu() call stack recording and verify whether it correctly is printed in KASAN report. Signed-off-by: Walter Wu Reviewed-and-tested-by: Dmitry Vyukov Reviewed-by: Andrey Konovalov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Matthias Brugger --- Changes since v6: - renamed the

[PATCH v7 2/4] kasan: record and print the free track

2020-05-31 Thread Walter Wu
Move free track from kasan_alloc_meta to kasan_free_meta in order to make struct kasan_alloc_meta and kasan_free_meta size are both 16 bytes. It is a good size because it is the minimal redzone size and a good number of alignment. For free track, we make some modifications as shown below: 1)

[PATCH v7 1/4] rcu: kasan: record and print call_rcu() call stack

2020-05-31 Thread Walter Wu
This feature will record the last two call_rcu() call stacks and prints up to 2 call_rcu() call stacks in KASAN report. When call_rcu() is called, we store the call_rcu() call stack into slub alloc meta-data, so that the KASAN report can print rcu stack.

[PATCH v7 0/4] kasan: memorize and print call_rcu stack

2020-05-31 Thread Walter Wu
This patchset improves KASAN reports by making them to have call_rcu() call stack information. It is useful for programmers to solve use-after-free or double-free memory issue. The KASAN report was as follows(cleaned up slightly): BUG: KASAN: use-after-free in kasan_rcu_reclaim+0x58/0x60 Freed

[PATCH v2] RISC-V: Don't mark init section as non-executable

2020-05-31 Thread Anup Patel
The head text section (i.e. _start, secondary_start_sbi, etc) and the init section fall under same page table level-1 mapping. Currently, the runtime CPU hotplug is broken because we are marking init section as non-executable which in-turn marks head text section as non-executable. Further

Re: [PATCH 2/2] USB: PHY: JZ4770: Add support for Ingenic X1000 and X1830.

2020-05-31 Thread kbuild test robot
Hi "周琰杰, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on balbi-usb/testing/next] [also build test WARNING on v5.7] [cannot apply to usb/usb-testing next-20200529] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system.

Re: [PATCH v2 5/6] mtd: spi-nor: Convert cadence-quadspi to use spi-mem framework

2020-05-31 Thread Vignesh Raghavendra
On 30/05/20 7:20 pm, tudor.amba...@microchip.com wrote: > Hi, Vignesh, > > On Tuesday, May 26, 2020 12:36:03 PM EEST Vignesh Raghavendra wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> From: Ramuthevar Vadivel Murugan >> >> >> Move

Re: [PATCH net-next v4] hinic: add set_channels ethtool_ops support

2020-05-31 Thread Michal Kubecek
On Mon, Jun 01, 2020 at 09:42:06AM +, Luo bin wrote: > add support to change TX/RX queue number with ethtool -L ethx combined > > Signed-off-by: Luo bin > --- [...] The patch looks correct but I'm not sure how is this change > diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.c >

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

2020-05-31 Thread Sumit Garg
/0day-ci/linux/commits/Sumit-Garg/kdb-Improve-console-handling/20200531-075431 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git > tty-testing > config: x86_64-allyesconfig (attached as .config) > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project

Wohltätigkeitsspende von 2.000.000 Millionen Euro

2020-05-31 Thread ''Tayeb Souami''
Lieber Freund, Ich bin Herr Tayeb Souami, New Jersey, Vereinigte Staaten von Amerika, der Mega-Gewinner von $ 315million In Mega Millions Jackpot, spende ich an 5 zufällige Personen, wenn Sie diese E-Mail erhalten, dann wurde Ihre E-Mail nach einem Spinball ausgewählt.Ich habe den größten Teil

Re: [RFC PATCH -rcu lkmm] tools/memory-model/README: Expand dependency of klitmus7

2020-05-31 Thread Andrea Parri
On Mon, Jun 01, 2020 at 12:37:20AM +0900, Akira Yokosawa wrote: > From 87048d7212f6cb16b0a2b85fa6d2f34c28b078c0 Mon Sep 17 00:00:00 2001 > From: Akira Yokosawa > Date: Sun, 31 May 2020 20:04:32 +0900 > Subject: [PATCH RFC] tools/memory-model/README: Expand dependency of klitmus7 > > klitmus7 is

Re: [PATCH] RDMA/hns: Uninitialized variable in modify_qp_init_to_rtr()

2020-05-31 Thread Leon Romanovsky
On Fri, May 29, 2020 at 11:39:18AM +0300, Dan Carpenter wrote: > The "dmac" variable is used before it is initialized. > > Fixes: 494c3b312255 ("RDMA/hns: Refactor the QP context filling process > related to WQE buffer configure") > Signed-off-by: Dan Carpenter > --- >

Re: [PATCH v5 02/11] dt-bindings: dma: dw: Add max burst transaction length property

2020-05-31 Thread Viresh Kumar
On 29-05-20, 17:40, Serge Semin wrote: > This array property is used to indicate the maximum burst transaction > length supported by each DMA channel. > > Signed-off-by: Serge Semin > Cc: Alexey Malahov > Cc: Thomas Bogendoerfer > Cc: Arnd Bergmann > Cc: Andy Shevchenko > Cc:

Re: [PATCH v5 01/11] dt-bindings: dma: dw: Convert DW DMAC to DT binding

2020-05-31 Thread Viresh Kumar
On 29-05-20, 17:40, Serge Semin wrote: > Modern device tree bindings are supposed to be created as YAML-files > in accordance with dt-schema. This commit replaces the Synopsis > Designware DMA controller legacy bare text bindings with YAML file. > The only required prorties are "compatible",

Re: [PATCH] RISC-V: Don't mark init section as non-executable

2020-05-31 Thread Anup Patel
On Sun, May 31, 2020 at 3:28 PM Anup Patel wrote: > > The head text section (i.e. _start, secondary_start_sbi, etc) and the > init section fall under same page table level-1 mapping. > > Currently, the runtime CPU hotplug is broken because we are marking > init section as non-executable which

Re: [PATCH v11 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-05-31 Thread Hsin-Yi Wang
On Fri, May 15, 2020 at 2:53 PM Xin Ji wrote: > + > +static int anx7625_bridge_attach(struct drm_bridge *bridge) Latest drm_bridge api: int (*attach)(struct drm_bridge *bridge, enum drm_bridge_attach_flags flags);

Can i trust you?

2020-05-31 Thread Mr Suleman Bello
Dear Friend, Please i want you to read this letter very carefully and i must apologize for berging this message into your mail box without any formal introduction due to the urgency and confidential of this issue and i know that this message will come to you as a surprise, Please this is not a

Re: [PATCH] usb: cdns3: fix possible buffer overflow caused by bad DMA value

2020-05-31 Thread Peter Chen
On 20-05-30 11:24:00, Jia-Ju Bai wrote: > In cdns3_ep0_setup_phase(): > struct usb_ctrlrequest *ctrl = priv_dev->setup_buf; > > Because priv_dev->setup_buf (allocated in cdns3_gadget_start) is stored > in DMA memory, and thus ctrl is a DMA value. > > cdns3_ep0_setup_phase() >

Re: [PATCH v6 3/6] irqchip: RISC-V per-HART local interrupt controller driver

2020-05-31 Thread Anup Patel
On Sun, May 31, 2020 at 4:23 PM Marc Zyngier wrote: > > On 2020-05-31 11:06, Anup Patel wrote: > > On Sun, May 31, 2020 at 3:03 PM Marc Zyngier wrote: > >> > >> On 2020-05-31 06:36, Anup Patel wrote: > >> > On Sat, May 30, 2020 at 5:31 PM Marc Zyngier wrote: > >> > >> [...] > >> > >> >> >

Re: [PATCH] OPP: Check for bandwidth values before creating icc paths

2020-05-31 Thread Viresh Kumar
On 29-05-20, 19:47, Sibi Sankar wrote: > opp_np needs to be subjected > to NULL check as well. No, it isn't. It should already be valid and is set by the OPP core. Actually we don't need to do of_node_get(opp_table->np) and just use np, I did that to not have a special case while putting the

Re: [RFC][PATCH 0/2] Add support for using reserved memory for ima buffer pass

2020-05-31 Thread Prakhar Srivastava
On 5/22/20 9:08 PM, Thiago Jung Bauermann wrote: Hello Prakhar, Prakhar Srivastava writes: On 5/12/20 4:05 PM, Rob Herring wrote: On Wed, May 06, 2020 at 10:50:04PM -0700, Prakhar Srivastava wrote: Hi Mark, Please don't top post. This patch set currently only address the Pure DT

Re: [PATCH] input: tablet: aiptek: fix possible buffer overflow caused by bad DMA value in aiptek_irq()

2020-05-31 Thread kbuild test robot
/linux/kernel/git/dtor/input.git next config: mips-randconfig-r032-20200531 (attached as .config) compiler: mipsel-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: [PATCH] i2c: sh_mobile: Fix compilation warning

2020-05-31 Thread Viresh Kumar
On 29-05-20, 14:12, Wolfram Sang wrote: > On Thu, May 09, 2019 at 10:13:46AM +0530, Viresh Kumar wrote: > > This currently generates a warning: > > > > drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': > > drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used

[PATCH V2] mailbox: imx: Add context save/restore for suspend/resume

2020-05-31 Thread Anson Huang
From: Dong Aisheng For "mem" mode suspend on i.MX8 SoCs, MU settings could be lost because its power is off, so save/restore is needed for MU settings during suspend/resume. However, the restore can ONLY be done when MU settings are actually lost, for the scenario of settings NOT lost in

WARNING in snd_usbmidi_submit_urb/usb_submit_urb

2020-05-31 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:bdc48fa1 checkpatch/coding-style: deprecate 80-column warn.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15d6458610 kernel config: https://syzkaller.appspot.com/x/.config?x=129ea1e5950835e5

[PATCH] riscv: fix build warning of missing prototypes

2020-05-31 Thread Zong Li
Add the missing header in file, it was losed in original implementation. The warning message as follows: - no previous prototype for 'patch_text_nosync' [-Wmissing-prototypes] - no previous prototype for 'patch_text' [-Wmissing-prototypes] Signed-off-by: Zong Li Reported-by: kbuild test robot

[PATCH V2 3/3] clk: imx8mp: add mu root clk

2020-05-31 Thread peng . fan
From: Peng Fan Add mu root clk for mu mailbox usage. Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng --- drivers/clk/imx/clk-imx8mp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index b4d9db9d5bf1..ca747712400f 100644 ---

[PATCH V2 2/3] arm64: dts: imx8m: add mu node

2020-05-31 Thread peng . fan
From: Peng Fan Add mu node to let A53 could communicate with M Core. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 9 + arch/arm64/boot/dts/freescale/imx8mn.dtsi | 9 + arch/arm64/boot/dts/freescale/imx8mp.dtsi | 9 +

[PATCH V2 1/3] dt-bindings: mailbox: imx-mu: support i.MX8M

2020-05-31 Thread peng . fan
From: Peng Fan Add i.MX8MQ/M/N/P compatible string to support i.MX8M SoCs Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/mailbox/fsl,mu.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.txt

[PATCH V2 0/3] imx8m: add mu support

2020-05-31 Thread peng . fan
From: Peng Fan V2: Add dt-bindings Merge dts changes into one patch, since all is to add mu node Add mu dt bindings Add mu node Add i.MX8MP mu root clk Peng Fan (3): dt-bindings: mailbox: imx-mu: support i.MX8M arm64: dts: imx8m: add mu node clk: imx8mp: add mu root clk

Re: [PATCH] usb: gadget: f_acm: don't disable disabled EP

2020-05-31 Thread Peter Chen
On 20-05-30 19:15:52, Michał Mirosław wrote: > On Sat, May 30, 2020 at 01:03:17AM +, Peter Chen wrote: > > > > > > > @@ -425,9 +425,11 @@ static int acm_set_alt(struct usb_function *f, > > > > > unsigned > > > intf, unsigned alt) > > > > > /* we know alt == 0, so this is an activation

[PATCH] misc: atmel-ssc: lock with mutex instead of spinlock

2020-05-31 Thread Michał Mirosław
Uninterruptible context is not needed in the driver and causes lockdep warning because of mutex taken in of_alias_get_id(). Convert the lock to mutex to avoid the issue. Cc: sta...@vger.kernel.org Signed-off-by: Michał Mirosław --- drivers/misc/atmel-ssc.c | 24 1 file

[PATCH V2] dt-bindings: thermal: Convert qoriq to json-schema

2020-05-31 Thread Anson Huang
Convert the qoriq thermal binding to DT schema format using json-schema Signed-off-by: Anson Huang --- Changes since V1: - add 'maxItems' for 'fsl,tmu-range' property; - add 'minItems'/'maxItems' and items descriptions for 'fsl,tmu-calibration' property; - remove

Re: Re: [PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new

2020-05-31 Thread Ben Skeggs
On Mon, 1 Jun 2020 at 13:37, Ben Skeggs wrote: > > On Mon, 1 Jun 2020 at 13:27, wrote: > > > > > > Hi Ben, > > > > > > When gk20a_clk_ctor() returns an error code, pointer "clk" > > > > should be released. It's the same when gm20b_clk_new() > > > > returns from elsewhere following this call. > >

Re: Re: [PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new

2020-05-31 Thread Ben Skeggs
On Mon, 1 Jun 2020 at 13:27, wrote: > > > Hi Ben, > > > > When gk20a_clk_ctor() returns an error code, pointer "clk" > > > should be released. It's the same when gm20b_clk_new() > > > returns from elsewhere following this call. > > This shouldn't be necessary. If a subdev constructor fails, and

Re: [PATCH] opp: avoid uninitialized-variable use

2020-05-31 Thread Viresh Kumar
On 30-05-20, 14:40, Arnd Bergmann wrote: > On Sat, May 30, 2020 at 11:21 AM Viresh Kumar wrote: > > On 29-05-20, 22:17, Arnd Bergmann wrote: > > > An uninitialized pointer is passed into another function but > > > --- a/drivers/opp/core.c > > > +++ b/drivers/opp/core.c > > > @@ -872,7 +872,7 @@

Re: Re: [PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new

2020-05-31 Thread dinghao . liu
Hi Ben, > > When gk20a_clk_ctor() returns an error code, pointer "clk" > > should be released. It's the same when gm20b_clk_new() > > returns from elsewhere following this call. > This shouldn't be necessary. If a subdev constructor fails, and > returns a pointer, the core will call the

Re: [PATCH RFC] KVM: arm64: Sidestep stage2_unmap_vm() on vcpu reset when S2FWB is supported

2020-05-31 Thread Zenghui Yu
Hi Alex, On 2020/5/30 18:46, Alexandru Elisei wrote: Hi, On 4/20/20 5:10 PM, Alexandru Elisei wrote: [ For some unknown reasons, I had missed your reply one month ago. Sorry, I'm going to fix my email settings ... ] Hi, On 4/15/20 8:28 AM, Zenghui Yu wrote: stage2_unmap_vm() was

[PATCH] shmem, memcg: enable memcg aware shrinker

2020-05-31 Thread Greg Thelen
Since v4.19 commit b0dedc49a2da ("mm/vmscan.c: iterate only over charged shrinkers during memcg shrink_slab()") a memcg aware shrinker is only called when the per-memcg per-node shrinker_map indicates that the shrinker may have objects to release to the memcg and node. shmem_unused_huge_count and

[PATCH RESEND] mm, swap: delete meaningless __add_to_swap_cache() declaration

2020-05-31 Thread linmiaohe
From: Miaohe Lin Since commit 8d93b41c09d1 ("mm: Convert add_to_swap_cache to XArray"), __add_to_swap_cache and add_to_swap_cache are combined into one function. There is no __add_to_swap_cache() anymore. CC: Matthew Wilcox Reviewed-by: "Huang, Ying" Signed-off-by: Miaohe Lin ---

[PATCH] soundwire: bus: clock_stop: don't deal with UNATTACHED Slave devices

2020-05-31 Thread Bard Liao
We don't need to do anything for the slave if it is unattached during clock stop prepare and exit sequences. Signed-off-by: Bard Liao --- drivers/soundwire/bus.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/soundwire/bus.c

Re: [PATCH V2] mm, memory_failure: don't send BUS_MCEERR_AO for action required error

2020-05-31 Thread 堀口 直也
On Sat, May 30, 2020 at 09:08:43AM +0200, Pankaj Gupta wrote: > > Some processes dont't want to be killed early, but in "Action Required" > > case, those also may be killed by BUS_MCEERR_AO when sharing memory > > with other which is accessing the fail memory. > > And sending SIGBUS with

Re: [PATCH v3 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-05-31 Thread Benjamin Herrenschmidt
On Thu, 2020-05-28 at 15:12 +0200, Greg KH wrote: > So at runtime, after all is booted and up and going, you just ripped > cores out from under someone's feet? :) > > And the code really handles writing to that value while the module is > already loaded and up and running? At a quick glance, it

Re: [PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-31 Thread Rich Felker
On Sun, May 31, 2020 at 12:43:11PM +0200, Geert Uytterhoeven wrote: > Hi Adrian, > > On Sun, May 31, 2020 at 11:59 AM John Paul Adrian Glaubitz > wrote: > > On 5/31/20 11:54 AM, John Paul Adrian Glaubitz wrote: > > > On 5/31/20 11:52 AM, Geert Uytterhoeven wrote: > > >> As this is the 64-bit

[PATCH] f2fs: protect new segment allocation in expand_inode_data

2020-05-31 Thread Daeho Jeong
From: Daeho Jeong Found a new segemnt allocation without f2fs_lock_op() in expand_inode_data(). So, when we do fallocate() for a pinned file and trigger checkpoint very frequently and simultaneously. F2FS gets stuck in the below code of do_checkpoint() forever. f2fs_sync_meta_pages(sbi, META,

Re: [PATCH v3 01/18] nitro_enclaves: Add ioctl interface definition

2020-05-31 Thread Benjamin Herrenschmidt
On Wed, 2020-05-27 at 09:49 +0100, Stefan Hajnoczi wrote: > > What about feature bits or a API version number field? If you add > features to the NE driver, how will userspace detect them? > > Even if you intend to always compile userspace against the exact kernel > headers that the program will

Re: [PATCH v3 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-05-31 Thread Benjamin Herrenschmidt
On Wed, 2020-05-27 at 00:24 +0200, Greg KH wrote: > > Would you want random users to get the ability to hot unplug CPUs from your > > system? At unlimited quantity? I don't :). > > A random user, no, but one with admin rights, why not? They can do that > already today on your system, this isn't

Re: [PATCH v3 02/18] nitro_enclaves: Define the PCI device interface

2020-05-31 Thread Benjamin Herrenschmidt
On Wed, 2020-05-27 at 00:21 +0200, Greg KH wrote: > > There are a couple of data structures with more than one member and multiple > > field sizes. And for the ones that are not, gathered as feedback from > > previous rounds of review that should consider adding a "flags" field in > > there for

[GIT PULL] pstore updates for v5.8-rc1

2020-05-31 Thread Kees Cook
Hi Linus, Please pull these pstore updates for v5.8-rc1. This is a pretty big set of changes (relative to past pstore pulls), but they've lived in -next for a while. The biggest change here is the ability to support a block device as a pstore backend, which has been desired for a while. A lot of

Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-31 Thread Benjamin Herrenschmidt
On Tue, 2020-05-26 at 21:35 +0300, Paraschiv, Andra-Irina wrote: > This was needed to have an identifier for the overall NE logic - PCI > dev, ioctl and misc dev. > > The ioctl and misc dev logic has pr_* logs, but I can update them to > dev_* with misc dev, then remove this prefix. Or #define

Re: [GIT PULL] sh: remove sh5 support

2020-05-31 Thread Rich Felker
On Sun, May 31, 2020 at 10:03:13AM +0200, John Paul Adrian Glaubitz wrote: > On 5/31/20 5:20 AM, Rob Landley wrote: > > On 5/30/20 3:08 AM, John Paul Adrian Glaubitz wrote: > >> On 5/29/20 7:53 PM, Rich Felker wrote: > >>> Frustratingly, I _still_ don't have an official tree on kernel.org for >

Re: [PATCH v3 02/18] nitro_enclaves: Define the PCI device interface

2020-05-31 Thread Benjamin Herrenschmidt
On Tue, 2020-05-26 at 20:01 +0300, Paraschiv, Andra-Irina wrote: > > On 26/05/2020 09:44, Greg KH wrote: > > On Tue, May 26, 2020 at 01:13:18AM +0300, Andra Paraschiv wrote: > > > +struct enclave_get_slot_req { > > > + /* Context ID (CID) for the enclave vsock device. */ > > > + u64 enclave_cid;

Re: [PATCH v3 07/18] nitro_enclaves: Init misc device providing the ioctl interface

2020-05-31 Thread Benjamin Herrenschmidt
On Tue, 2020-05-26 at 14:44 +0200, Alexander Graf wrote: > So I really don't think an ioctl would be a great user experience. Same > for a sysfs file - although that's probably slightly better than the ioctl. What would be wrong with a sysfs file ? Another way to approach that makes sense from

  1   2   3   4   5   >