Re: [RFC PATCH 03/14] arm: kprobes: Use generic kretprobe trampoline handler

2020-08-26 Thread peterz
On Thu, Aug 27, 2020 at 12:04:05AM +0900, Masami Hiramatsu wrote: > > Argh, I replied to the wrong variant, I mean the one that uses > > kernel_stack_pointer(regs). > > Would you mean using kernel_stack_pointer() for the frame_pointer? > Some arch will be OK, but others can not get the

RE: [PATCH 0/2] iommu/amd: Fix IOMMUv2 devices when SME is active

2020-08-26 Thread Deucher, Alexander
[AMD Public Use] + Christian > -Original Message- > From: Kuehling, Felix > Sent: Wednesday, August 26, 2020 11:22 AM > To: Deucher, Alexander ; Joerg Roedel > ; io...@lists.linux-foundation.org; Huang, Ray > > Cc: jroe...@suse.de; Lendacky, Thomas ; > Suthikulpanit, Suravee ; linux-

Re: [PATCH v2 05/23] arm64: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Catalin Marinas
On Thu, Aug 27, 2020 at 12:52:31AM +1000, Nicholas Piggin wrote: > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-ker...@lists.infradead.org > Signed-off-by: Nicholas Piggin Acked-by: Catalin Marinas

Re: mmotm 2020-08-24-16-06 uploaded

2020-08-26 Thread Johannes Weiner
On Tue, Aug 25, 2020 at 05:30:21PM -0700, Andrew Morton wrote: > On Tue, 25 Aug 2020 10:45:48 +0200 Oscar Salvador wrote: > > > On Mon, Aug 24, 2020 at 04:07:25PM -0700, a...@linux-foundation.org wrote: > > > A full copy of the full kernel tree with the linux-next and mmotm patches > > > already

Re: [PATCH] platform: cros_ec: Add fields to command traces

2020-08-26 Thread Raul Rangel
On Fri, Aug 14, 2020 at 9:39 PM Gwendal Grignou wrote: > > In ftrace, add more fields to the cros_ec command event: > - Add size of commands to check if they are properly set. > - Add offset (in case an EC is cascaded being another EC), > to allow proper command output > > With: > echo 1 >

[PATCH v2] extcon: ptn5150: Deduplicate parts of dev_err_probe()

2020-08-26 Thread Andy Shevchenko
dev_err_probe() is designed to be used like return dev_err_probe(dev, ret, "Error message\n"); Hence no need to have a separate return statement. Besides that dev_err_probe() prints already returned error code, no need to repeat that either. Cc: Vijai Kumar K Signed-off-by: Andy

Re: [PATCH v3] lib/string.c: implement stpcpy

2020-08-26 Thread Kees Cook
On Tue, Aug 25, 2020 at 07:00:00AM -0700, Nick Desaulniers wrote: > LLVM implemented a recent "libcall optimization" that lowers calls to > `sprintf(dest, "%s", str)` where the return value is used to > `stpcpy(dest, str) - dest`. This generally avoids the machinery involved > in parsing format

Re: [PATCH 0/2] iommu/amd: Fix IOMMUv2 devices when SME is active

2020-08-26 Thread Felix Kuehling
[+Ray] Thanks for the heads up. Currently KFD won't work on APUs when IOMMUv2 is disabled. But Ray is working on fallbacks that will allow KFD to work on APUs even without IOMMUv2, similar to our dGPUs. Along with changes in ROCm user mode, those fallbacks are necessary for making ROCm on APUs

Re: [PATCH v1 4/9] powerpc/vdso: Remove unnecessary ifdefs in vdso_pagelist initialization

2020-08-26 Thread Christophe Leroy
Le 26/08/2020 à 16:58, Michael Ellerman a écrit : Christophe Leroy writes: diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index daef14a284a3..bbb69832fd46 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c @@ -718,16 +710,14 @@ static int __init

[PATCH] brd: expose number of allocated pages in debugfs

2020-08-26 Thread Kyle McMartin
From: Calvin Owens While the maximum size of each ramdisk is defined either as a module parameter, or compile time default, it's impossible to know how many pages have currently been allocated by each ram%d device, since they're allocated when used and never freed. This patch creates a new

Re: [PATCH 1/2] veth: Initialize dev->perm_addr

2020-08-26 Thread Mira Ressel
On Mon, Aug 24, 2020 at 10:25:45AM -0700, David Miller wrote: > From: Mira Ressel > Date: Mon, 24 Aug 2020 14:38:26 + > > > Set the perm_addr of veth devices to whatever MAC has been assigned to > > the device. Otherwise, it remains all zero, with the consequence that > >

Re: [PATCH] i2c: do not acpi/of match device in i2c_device_probe()

2020-08-26 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 11:49:20PM +0900, Sergey Senozhatsky wrote: > i2c, apparently, can match the same device twice - the first > time in ->match bus hook (i2c_device_match()), and the second > one in ->probe (i2c_device_probe()) bus hook. > > To make things more complicated, the second

[PATCH v4 3/5] coredump: Refactor page range dumping into common helper

2020-08-26 Thread Jann Horn
Both fs/binfmt_elf.c and fs/binfmt_elf_fdpic.c need to dump ranges of pages into the coredump file. Extract that logic into a common helper. Signed-off-by: Jann Horn --- fs/binfmt_elf.c | 22 ++ fs/binfmt_elf_fdpic.c| 18 +++--- fs/coredump.c

[PATCH v4 2/5] coredump: Let dump_emit() bail out on short writes

2020-08-26 Thread Jann Horn
dump_emit() has a retry loop, but there seems to be no way for that retry logic to actually be used; and it was also buggy, writing the same data repeatedly after a short write. Let's just bail out on a short write. Suggested-by: Linus Torvalds Signed-off-by: Jann Horn --- fs/coredump.c | 22

[PATCH v4 4/5] binfmt_elf, binfmt_elf_fdpic: Use a VMA list snapshot

2020-08-26 Thread Jann Horn
In both binfmt_elf and binfmt_elf_fdpic, use a new helper dump_vma_snapshot() to take a snapshot of the VMA list (including the gate VMA, if we have one) while protected by the mmap_lock, and then use that snapshot instead of walking the VMA list without locking. An alternative approach would be

[PATCH v4 5/5] mm/gup: Take mmap_lock in get_dump_page()

2020-08-26 Thread Jann Horn
Properly take the mmap_lock before calling into the GUP code from get_dump_page(); and play nice, allowing the GUP code to drop the mmap_lock if it has to sleep. As Linus pointed out, we don't actually need the VMA because __get_user_pages() will flush the dcache for us if necessary.

[PATCH v4 1/5] binfmt_elf_fdpic: Stop using dump_emit() on user pointers on !MMU

2020-08-26 Thread Jann Horn
dump_emit() is for kernel pointers, and VMAs describe userspace memory. Let's be tidy here and avoid accessing userspace pointers under KERNEL_DS, even if it probably doesn't matter much on !MMU systems - especially given that it looks like we can just use the same get_dump_page() as on MMU if we

[PATCH v4 0/5] Fix ELF / FDPIC ELF core dumping, and use mmap_lock properly in there

2020-08-26 Thread Jann Horn
new in v4: - simplify patch 4/5 by replacing the heuristic for dumping the first pages of ELF mappings with what Linus suggested At the moment, we have that rather ugly mmget_still_valid() helper to work around : ELF core dumping doesn't take the mmap_sem

Re: 答复: [PATCH V2] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-08-26 Thread Peter Xu
On Wed, Aug 26, 2020 at 01:56:43PM +, Maoming (maoming, Cloud Infrastructure Service Product Dept.) wrote: > > + /* > > +* Unlike THP, the splitting should not happen for hugetlb pages. > > +* Since PG_reserved is not relevant for compound pages, and the pfn of > > +* PAGE_SIZE

Re: [RFC v2] perf/core: Fixes hung issue on perf stat command during cpu hotplug

2020-08-26 Thread Barret Rhoden
Hi - On 8/26/20 10:54 AM, Kajol Jain wrote: Commit 2ed6edd33a21 ("perf: Add cond_resched() to task_function_call()") added assignment of ret value as -EAGAIN in case function call to 'smp_call_function_single' fails. For non-zero ret value, it did 'ret = !ret ? data.ret : -EAGAIN;', which

Re: [PATCH] block: convert tasklets to use new tasklet_setup() API

2020-08-26 Thread Kees Cook
On Wed, Aug 26, 2020 at 12:55:28PM +0300, Dan Carpenter wrote: > On Wed, Aug 26, 2020 at 07:21:35AM +0530, Allen Pais wrote: > > On Thu, Aug 20, 2020 at 3:09 AM James Bottomley > > wrote: > > > > > > On Wed, 2020-08-19 at 21:54 +0530, Allen wrote: > > > > > [...] > > > > > > > Since both threads

RE: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Kuldip Dwivedi
> -Original Message- > From: Vladimir Oltean > Sent: Wednesday, August 26, 2020 8:18 PM > To: Mark Brown > Cc: Qiang Zhao ; kuldip dwivedi > ; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Pankaj Bansal ; Varun Sethi > ; Tanveer Alam > Subject: Re: [PATCH] spi:

Re: [PATCH 0/3] Add 3 new keycodes and use them for 3 new hotkeys on new Lenovo Thinkpads

2020-08-26 Thread Hans de Goede
Hi Dmitry, On 7/22/20 7:41 AM, Dmitry Torokhov wrote: On Sun, Jul 19, 2020 at 07:56:49PM -0300, Henrique de Moraes Holschuh wrote: On Fri, 17 Jul 2020, Hans de Goede wrote: This is a simple patch-series adding support for 3 new hotkeys found on various new Lenovo Thinkpad models. For all

Re: [PATCH 3/4] soundwire: SDCA: add helper macro to access controls

2020-08-26 Thread Pierre-Louis Bossart
+/* v1.2 device - SDCA address mapping */ Can you please add description of bits used by each field here, something like we have done for DevId were you referring to something like this? * Spec definition * Register Bit Contents * DevId_0 [7:4] 47:44

Re: [PATCH 4/4] ASoC: rt715: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Pierre-Louis Bossart
On 8/26/20 7:28 AM, Vinod Koul wrote: devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on failure which should be checked with IS_ERR. Also use PTR_ERR for returning error codes. Do you mind changing these two additional codecs that were missed in this series? Thanks!

Re: [PATCH 1/4] regmap: sdw: move to -EOPNOTSUPP

2020-08-26 Thread Pierre-Louis Bossart
checkpatch is broken. Heh, I'm not objecting it :) OTOH, it's also true that ENOTSUPP is no good error code if returned to user-space. Unfortunately many codes (including what I wrote) use this code mistakenly, and they can't be changed any longer... It's also used internally in

Re: [PATCH 5/5] power: supply: lego_ev3: Simplify with dev_err_probe()

2020-08-26 Thread David Lechner
On 8/26/20 9:48 AM, Krzysztof Kozlowski wrote: Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- Reviewed-by: David Lechner

Re: [PATCH 6/8] mm: Convert find_get_entry to return the head page

2020-08-26 Thread Johannes Weiner
On Wed, Aug 19, 2020 at 07:48:48PM +0100, Matthew Wilcox (Oracle) wrote: > There are only three callers remaining of find_get_entry(). > find_get_swap_page() is happy to get the head page instead of the subpage. > Add find_subpage() calls to find_lock_entry() and pagecache_get_page() > to avoid

Re: [PATCH 4/4] regmap: sdw: add support for SoundWire 1.2 MBQ

2020-08-26 Thread Pierre-Louis Bossart
One possible objection is that this code could have been handled with regmap-sdw.c. However this is a new spec addition not handled by every SoundWire 1.1 and non-SDCA device, so there's no reason to load code that will never be used. Also in practice it's extremely unlikely that

My Dear in the lord

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

[PATCH] ASoC: fsl_spdif: Fix unnecessary check in fsl_spdif_probe()

2020-08-26 Thread Tang Bin
The function fsl_spdif_probe() is only called with an openfirmware platform device. Therefore there is no need to check that the passed in device is NULL. Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- sound/soc/fsl/fsl_spdif.c | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [PATCH 08/29] dma-buf: Avoid comma separated statements

2020-08-26 Thread Christian König
Am 25.08.20 um 06:56 schrieb Joe Perches: Use semicolons and braces. Signed-off-by: Joe Perches Acked-by: Christian König --- drivers/dma-buf/st-dma-fence.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/st-dma-fence.c

Re: [PATCH] iommu: Add support to filter non-strict/lazy mode based on device names

2020-08-26 Thread Doug Anderson
Hi, On Wed, Aug 26, 2020 at 8:01 AM Sai Prakash Ranjan wrote: > > On 2020-08-26 19:21, Robin Murphy wrote: > > On 2020-08-26 13:17, Sai Prakash Ranjan wrote: > >> On 2020-08-26 17:07, Robin Murphy wrote: > >>> On 2020-08-25 16:42, Sai Prakash Ranjan wrote: > Currently the non-strict or lazy

Re: [PATCH v2 5/7][next] printk: ringbuffer: add finalization/extension support

2020-08-26 Thread Petr Mladek
On Wed 2020-08-26 14:43:22, John Ogness wrote: > On 2020-08-26, Sergey Senozhatsky wrote: > >>> @@ -1157,6 +1431,14 @@ bool prb_reserve(struct prb_reserved_entry *e, > >>> struct printk_ringbuffer *rb, > >>> goto fail; > >>> } > >>> > >>> + /* > >>> + * New data is about to be

RE: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-08-26 Thread David Laight
From: Lukasz Stelmach > Sent: 26 August 2020 15:59 > > It was <2020-08-25 wto 20:44>, when Krzysztof Kozlowski wrote: > > On Tue, Aug 25, 2020 at 07:03:09PM +0200, Łukasz Stelmach wrote: > >> ASIX AX88796[1] is a versatile ethernet adapter chip, that can be > >> connected to a CPU with a 8/16-bit

Re: [PATCH v2] mm: memcg: Fix memcg reclaim soft lockup

2020-08-26 Thread Michal Hocko
On Wed 26-08-20 21:47:02, Xunlei Pang wrote: > We've met softlockup with "CONFIG_PREEMPT_NONE=y", when > the target memcg doesn't have any reclaimable memory. > > It can be easily reproduced as below: > watchdog: BUG: soft lockup - CPU#0 stuck for 111s![memcg_test:2204] > CPU: 0 PID: 2204 Comm:

Re: [RFC PATCH] selinux: Add denied trace with permssion filter

2020-08-26 Thread peter enderborg
On 8/26/20 4:45 PM, Paul Moore wrote: > On Wed, Aug 26, 2020 at 10:34 AM peter enderborg > wrote: >> On 8/26/20 3:42 PM, Paul Moore wrote: >>> On Mon, Aug 24, 2020 at 9:23 AM Peter Enderborg >>> wrote: This adds tracing of all denies. They are grouped with trace_seq for each audit.

KASAN: stack-out-of-bounds Write in i801_isr

2020-08-26 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fffe3ae0 Merge tag 'for-linus-hmm' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=158e1f1990 kernel config: https://syzkaller.appspot.com/x/.config?x=50463ec6729f9706

Re: [PATCH v2] v4l2-ctrl: Add VP9 codec levels

2020-08-26 Thread Nicolas Dufresne
Le lundi 17 août 2020 à 11:58 +0300, Stanimir Varbanov a écrit : > Add menu control for VP9 codec levels. A total of 14 levels are > defined for Profile 0 (8bit) and Profile 2 (10bit). Each level > is a set of constrained bitstreams coded with targeted resolutions, > frame rates, and bitrates. >

Re: [RFC PATCH 03/14] arm: kprobes: Use generic kretprobe trampoline handler

2020-08-26 Thread Masami Hiramatsu
On Wed, 26 Aug 2020 16:10:25 +0200 pet...@infradead.org wrote: > On Wed, Aug 26, 2020 at 04:08:52PM +0200, pet...@infradead.org wrote: > > On Wed, Aug 26, 2020 at 10:46:43PM +0900, Masami Hiramatsu wrote: > > > static __used __kprobes void *trampoline_handler(struct pt_regs *regs) > > > { > > >

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-26 Thread Marek Szyprowski
ocera (2): >USB: Also match device drivers using the ->match vfunc >USB: Fix device driver race > > Brooke Basile (2): >USB: gadget: u_f: add overflow checks to VLA macros Sorry, but the above patch breaks USB Ethernet Gadget operation. It also didn't g

Re: [PATCH] iommu: Add support to filter non-strict/lazy mode based on device names

2020-08-26 Thread Sai Prakash Ranjan
On 2020-08-26 19:21, Robin Murphy wrote: On 2020-08-26 13:17, Sai Prakash Ranjan wrote: On 2020-08-26 17:07, Robin Murphy wrote: On 2020-08-25 16:42, Sai Prakash Ranjan wrote: Currently the non-strict or lazy mode of TLB invalidation can only be set for all or no domains. This works well for

Re: [PATCH v2 1/2] ath10k: Keep track of which interrupts fired, don't poll them

2020-08-26 Thread Doug Anderson
Hi, On Wed, Aug 26, 2020 at 7:51 AM Kalle Valo wrote: > > Douglas Anderson wrote: > > > If we have a per CE (Copy Engine) IRQ then we have no summary > > register. Right now the code generates a summary register by > > iterating over all copy engines and seeing if they have an interrupt > >

Re: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-08-26 Thread Lukasz Stelmach
It was <2020-08-25 wto 20:44>, when Krzysztof Kozlowski wrote: > On Tue, Aug 25, 2020 at 07:03:09PM +0200, Łukasz Stelmach wrote: >> ASIX AX88796[1] is a versatile ethernet adapter chip, that can be >> connected to a CPU with a 8/16-bit bus or with an SPI. This driver >> supports SPI connection.

[PATCH] padata: add a reviewer

2020-08-26 Thread Daniel Jordan
I volunteer to review padata changes for the foreseeable future. Signed-off-by: Daniel Jordan Cc: Herbert Xu Cc: Steffen Klassert Cc: linux-cry...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS

Re: [PATCH] iio: dpot-dac: fix code comment in dpot_dac_read_raw()

2020-08-26 Thread Gustavo A. R. Silva
Hi, On 8/26/20 02:04, Peter Rosin wrote: > Hi! > > On 2020-08-26 02:08, Gustavo A. R. Silva wrote: >> After the replacement of the /* fall through */ comment with the >> fallthrough pseudo-keyword macro, the natural reading of a code >> comment was broken. >> >> Fix the natural reading of such a

Re: [PATCH v1 4/9] powerpc/vdso: Remove unnecessary ifdefs in vdso_pagelist initialization

2020-08-26 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c > index daef14a284a3..bbb69832fd46 100644 > --- a/arch/powerpc/kernel/vdso.c > +++ b/arch/powerpc/kernel/vdso.c > @@ -718,16 +710,14 @@ static int __init vdso_init(void) ... > > - > -#ifdef

[PATCH 12/16] iio: dac: dpot-dac: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/dac/dpot-dac.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH v2 02/23] alpha: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: linux-al...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/alpha/include/asm/mmu_context.h | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/alpha/include/asm/mmu_context.h

[PATCH 10/16] iio: amplifiers: hmc425a: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/amplifiers/hmc425a.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH v2 00/23] Use asm-generic for mmu_context no-op functions

2020-08-26 Thread Nicholas Piggin
It would be nice to be able to modify mmu_context functions or add a hook without updating all architectures, many of which will be no-ops. The motivation for this series is a change to lazy mmu handling, but this series stands on its own as a good cleanup whether or not we end up making that

[PATCH v2 05/23] arm64: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Nicholas Piggin --- arch/arm64/include/asm/mmu_context.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm64/include/asm/mmu_context.h

[PATCH v2 03/23] arc: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Vineet Gupta Cc: linux-snps-...@lists.infradead.org Signed-off-by: Nicholas Piggin --- arch/arc/include/asm/mmu_context.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arc/include/asm/mmu_context.h b/arch/arc/include/asm/mmu_context.h index

[PATCH v2 04/23] arm: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Nicholas Piggin --- arch/arm/include/asm/mmu_context.h | 26 +++--- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/arch/arm/include/asm/mmu_context.h

[PATCH 14/16] iio: light: isl29018: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/light/isl29018.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH v2 07/23] hexagon: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: linux-hexa...@vger.kernel.org Acked-by: Brian Cain Signed-off-by: Nicholas Piggin --- arch/hexagon/include/asm/mmu_context.h | 33 -- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/arch/hexagon/include/asm/mmu_context.h

[PATCH v2 06/23] csky: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: linux-c...@vger.kernel.org Acked-by: Guo Ren Signed-off-by: Nicholas Piggin --- arch/csky/include/asm/mmu_context.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/csky/include/asm/mmu_context.h b/arch/csky/include/asm/mmu_context.h index

[PATCH v2 17/23] riscv: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou Cc: linux-ri...@lists.infradead.org Acked-by: Palmer Dabbelt Signed-off-by: Nicholas Piggin --- arch/riscv/include/asm/mmu_context.h | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git

[PATCH v2 15/23] parisc: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: "James E.J. Bottomley" Cc: Helge Deller Cc: linux-par...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/parisc/include/asm/mmu_context.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/parisc/include/asm/mmu_context.h

[PATCH v2 08/23] ia64: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/ia64/include/asm/mmu_context.h | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/arch/ia64/include/asm/mmu_context.h b/arch/ia64/include/asm/mmu_context.h

[PATCH v2 10/23] microblaze: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Michal Simek Signed-off-by: Nicholas Piggin --- arch/microblaze/include/asm/mmu_context_mm.h | 8 arch/microblaze/include/asm/processor.h | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/microblaze/include/asm/mmu_context_mm.h

[PATCH 1/2] drm/exynos: dsi: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v1 1/1] power: supply: add wireless power_supply_type

2020-08-26 Thread Sebastian Reichel
Hi, On Thu, Aug 13, 2020 at 11:34:08AM -0700, Guru Das Srinagesh wrote: > From: Subbaraman Narayanamurthy > > Currently, power_supply framework supports only Battery, UPS, > Mains and USB power_supply_type. Add wireless power_supply_type > so that the drivers which supports wireless can

[PATCH v2 18/23] s390: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: linux-s...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/s390/include/asm/mmu_context.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/s390/include/asm/mmu_context.h

[PATCH v2 22/23] x86: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x...@kernel.org Cc: "H. Peter Anvin" Acked-by: Peter Zijlstra (Intel) Signed-off-by: Nicholas Piggin --- arch/x86/include/asm/mmu_context.h | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 2/2] drm/exynos: hdmi: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/exynos/exynos_hdmi.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[RFC v2] perf/core: Fixes hung issue on perf stat command during cpu hotplug

2020-08-26 Thread Kajol Jain
Commit 2ed6edd33a21 ("perf: Add cond_resched() to task_function_call()") added assignment of ret value as -EAGAIN in case function call to 'smp_call_function_single' fails. For non-zero ret value, it did 'ret = !ret ? data.ret : -EAGAIN;', which always assign -EAGAIN to ret and make second if

[PATCH v2 16/23] powerpc: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/mmu_context.h | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git

[PATCH v2 21/23] um: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org Signed-off-by: Nicholas Piggin --- arch/um/include/asm/mmu_context.h | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/um/include/asm/mmu_context.h

Re: [PATCH] ath10k: Add interrupt summary based CE processing

2020-08-26 Thread Doug Anderson
Hi, On Wed, Aug 26, 2020 at 7:44 AM Kalle Valo wrote: > > (Guys, PLEASE edit your quotes. These long emails my use of patchwork > horrible.) > > "Rakesh Pillai" writes: > > >> -Original Message- > >> From: Peter Oh > >> Sent: Tuesday, July 21, 2020 7:03 AM > >> To: Kalle Valo > >> Cc:

[PATCH v2 14/23] openrisc: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Jonas Bonn Cc: Stefan Kristiansson Cc: Stafford Horne Cc: openr...@lists.librecores.org Signed-off-by: Nicholas Piggin --- arch/openrisc/include/asm/mmu_context.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/openrisc/include/asm/mmu_context.h

[PATCH v2 23/23] xtensa: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Chris Zankel Cc: Max Filippov Cc: linux-xte...@linux-xtensa.org Signed-off-by: Nicholas Piggin --- arch/xtensa/include/asm/mmu_context.h | 11 +++ arch/xtensa/include/asm/nommu_context.h | 26 + 2 files changed, 4 insertions(+), 33 deletions(-) diff --git

[PATCH v2 19/23] sh: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Yoshinori Sato Cc: Rich Felker Cc: linux...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/sh/include/asm/mmu_context.h| 5 ++--- arch/sh/include/asm/mmu_context_32.h | 9 - 2 files changed, 2 insertions(+), 12 deletions(-) diff --git

[PATCH v2 20/23] sparc: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: "David S. Miller" Cc: sparcli...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/sparc/include/asm/mmu_context_32.h | 10 -- arch/sparc/include/asm/mmu_context_64.h | 10 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git

Re: [PATCH 2/8] mm: Use find_get_swap_page in memcontrol

2020-08-26 Thread Matthew Wilcox
On Wed, Aug 26, 2020 at 10:20:02AM -0400, Johannes Weiner wrote: > On Wed, Aug 19, 2020 at 07:48:44PM +0100, Matthew Wilcox (Oracle) wrote: > > + return find_get_swap_page(vma->vm_file->f_mapping, > > + linear_page_index(vma, addr)); > > The refactor makes sense to me, but the

[PATCH v2 13/23] nios2: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Ley Foon Tan Signed-off-by: Nicholas Piggin --- arch/nios2/include/asm/mmu_context.h | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/arch/nios2/include/asm/mmu_context.h b/arch/nios2/include/asm/mmu_context.h index 78ab3dacf579..4f99ed09b5a7

[PATCH v2 12/23] nds32: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Nick Hu Cc: Greentime Hu Cc: Vincent Chen Signed-off-by: Nicholas Piggin --- arch/nds32/include/asm/mmu_context.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/nds32/include/asm/mmu_context.h b/arch/nds32/include/asm/mmu_context.h index

Re: [PATCH 5.7 00/15] 5.7.19-rc1 review

2020-08-26 Thread Greg KH
On Wed, Aug 26, 2020 at 05:49:15PM +0300, David K. Kahurani wrote: > On Wed, Aug 26, 2020 at 02:02:28PM +0200, Greg Kroah-Hartman wrote: > > --- > > Note, ok, this is really going to be the final 5.7.y kernel release. I > > mean it this time > > --- > > Hello,

[PATCH v2 09/23] m68k: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Geert Uytterhoeven Cc: linux-m...@lists.linux-m68k.org Signed-off-by: Nicholas Piggin --- arch/m68k/include/asm/mmu_context.h | 47 + 1 file changed, 8 insertions(+), 39 deletions(-) diff --git a/arch/m68k/include/asm/mmu_context.h

[PATCH v2 11/23] mips: use asm-generic/mmu_context.h for no-op implementations

2020-08-26 Thread Nicholas Piggin
Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/mips/include/asm/mmu_context.h | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/mips/include/asm/mmu_context.h b/arch/mips/include/asm/mmu_context.h index

[PATCH 13/16] iio: imu: inv_mpu6050: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff

[PATCH 16/16] iio: magnetometer: ak8974: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/magnetometer/ak8974.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git

[PATCH 11/16] iio: chemical: scd30: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/chemical/scd30_core.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH v2 01/23] asm-generic: add generic MMU versions of mmu context functions

2020-08-26 Thread Nicholas Piggin
Many of these are no-ops on many architectures, so extend mmu_context.h to cover MMU and NOMMU, and split the NOMMU bits out to nommu_context.h Cc: Arnd Bergmann Cc: linux-a...@vger.kernel.org Signed-off-by: Nicholas Piggin --- arch/microblaze/include/asm/mmu_context.h | 2 +-

[PATCH 15/16] iio: light: tsl2772: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/light/tsl2772.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

[PATCH 09/16] iio: afe: iio-rescale: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/afe/iio-rescale.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH 08/16] iio: adc: stm32: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/adc/stm32-adc-core.c | 62 --- drivers/iio/adc/stm32-adc.c | 10 ++---

Re: [PATCH v36 12/24] x86/sgx: Add SGX_IOC_ENCLAVE_CREATE

2020-08-26 Thread Borislav Petkov
On Thu, Jul 16, 2020 at 04:52:51PM +0300, Jarkko Sakkinen wrote: > diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst > b/Documentation/userspace-api/ioctl/ioctl-number.rst > index 59472cd6a11d..35f713e3a267 100644 > --- a/Documentation/userspace-api/ioctl/ioctl-number.rst > +++

[PATCH 07/16] iio: adc: rcar-gyroadc: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/adc/rcar-gyroadc.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH 06/16] iio: adc: meson_saradc: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/adc/meson_saradc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 04/16] iio: adc: exynos_adc: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/adc/exynos_adc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

Re: [PATCH 17/19] z2ram: reindent

2020-08-26 Thread Joe Perches
On Wed, 2020-08-26 at 11:49 +0200, John Paul Adrian Glaubitz wrote: > > On Aug 26, 2020, at 11:21 AM, Joe Perches wrote: > > > > On Wed, 2020-08-26 at 08:24 +0200, Christoph Hellwig wrote: > > > reindent the driver using Lident as the code style was far away from > > > normal Linux code. > > >

[PATCH 03/16] iio: adc: envelope-detector: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/adc/envelope-detector.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH 05/16] iio: adc: ltc2497: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/adc/ltc2497-core.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH 01/16] iio: accel: bma180: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/accel/bma180.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git

[PATCH 02/16] iio: accel: mma8452: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/accel/mma8452.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git

[PATCH 4/5] power: supply: ingenic: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/power/supply/ingenic-battery.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH 3/5] power: supply: gpio-charger: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/power/supply/gpio-charger.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v2 1/2] ath10k: Keep track of which interrupts fired, don't poll them

2020-08-26 Thread Kalle Valo
Douglas Anderson wrote: > If we have a per CE (Copy Engine) IRQ then we have no summary > register. Right now the code generates a summary register by > iterating over all copy engines and seeing if they have an interrupt > pending. > > This has a problem. Specifically if _none_ if the Copy

[PATCH 5/5] power: supply: lego_ev3: Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski --- drivers/power/supply/lego_ev3_battery.c | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) diff

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