[PATCH] mm/slab: kmalloc with GFP_DMA32 allocate from SLAB_CACHE_DMA32

2021-03-12 Thread Jianqun Xu
The flag GFP_DMA32 only effect in kmalloc_large currently. This patch will create caches with GFP_DMA32 to support kmalloc with size under KMALLOC_MAX_CACHE_SIZE. Signed-off-by: Jianqun Xu --- include/linux/slab.h | 7 +++ mm/slab_common.c | 14 ++ 2 files changed, 21 inser

[PATCH] scsi: ufs-pci: Add support for Intel LKF

2021-03-12 Thread Adrian Hunter
Add PCI ID and callbacks to support Intel LKF. This includes the ability to use an ACPI device-specific method (DSM) to perform a UFS device reset. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufshcd-pci.c | 169 ++ 1 file changed, 169 insertions(+) diff --

[PATCH v27 0/4] scsi: ufs: Add Host Performance Booster Support

2021-03-12 Thread Daejun Park
Changelog: v26 -> v27 1. Fix wrong refernce of sense buffer in pre_req complete function. 2. Fix read_id error. 3. Fix chunk size checking for HPB 1.0. 4. Mute unnecessary messages before HPB initialization. v25 -> v26 1. Fix wrong chunk size checking for HPB 1.0. 2. Fix wrong max data size for H

[PATCH v27 1/4] scsi: ufs: Introduce HPB feature

2021-03-12 Thread Daejun Park
This is a patch for the HPB initialization and adds HPB function calls to UFS core driver. NAND flash-based storage devices, including UFS, have mechanisms to translate logical addresses of IO requests to the corresponding physical addresses of the flash storage. In UFS, Logical-address-to-Physica

[PATCH v27 2/4] scsi: ufs: L2P map management for HPB read

2021-03-12 Thread Daejun Park
This is a patch for managing L2P map in HPB module. The HPB divides logical addresses into several regions. A region consists of several sub-regions. The sub-region is a basic unit where L2P mapping is managed. The driver loads L2P mapping data of each sub-region. The loaded sub-region is called a

[PATCH v27 3/4] scsi: ufs: Prepare HPB read for cached sub-region

2021-03-12 Thread Daejun Park
This patch changes the read I/O to the HPB read I/O. If the logical address of the read I/O belongs to active sub-region, the HPB driver modifies the read I/O command to HPB read. It modifies the UPIU command of UFS instead of modifying the existing SCSI command. In the HPB version 1.0, the maxim

[PATCH net,v2] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-12 Thread Ilya Lipnitskiy
A recent change to MIPS ralink reset logic made it so mt7530 actually resets the switch on platforms such as mt7621 (where bit 2 is the reset line for the switch). That exposed an issue where the switch would not function properly in TRGMII mode after a reset. Reconfigure core clock in TRGMII mode

[PATCH v27 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-12 Thread Daejun Park
This patch supports the HPB 2.0. The HPB 2.0 supports read of varying sizes from 4KB to 512KB. In the case of Read (<= 32KB) is supported as single HPB read. In the case of Read (36KB ~ 512KB) is supported by as a combination of write buffer command and HPB read command to deliver more PPN. The wr

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

Re: [PATCH v7] i2c: virtio: add a virtio i2c frontend driver

2021-03-12 Thread Viresh Kumar
On 12-03-21, 15:51, Jie Deng wrote: > > On 2021/3/12 14:10, Viresh Kumar wrote: > > I saw your email about wrong version being sent, I already wrote some > > reviews. Sending them anyway for FWIW :) > > > > On 12-03-21, 21:33, Jie Deng wrote: > > > +struct virtio_i2c { > > > + struct virtio_devic

Re: [PATCH v5 2/2] tty/serial: Add rx-tx-swap OF option to stm32-usart

2021-03-12 Thread Greg Kroah-Hartman
On Thu, Mar 11, 2021 at 10:51:53PM +0100, Martin Devera wrote: > STM32 F7/H7 usarts supports RX & TX pin swapping. > Add option to turn it on. > Tested on STM32MP157. > > Signed-off-by: Martin Devera > Acked-by: Fabrice Gasnier > --- > drivers/tty/serial/stm32-usart.c | 11 ++- > driver

Re: [PATCH v18 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-03-12 Thread Michal Hocko
On Thu 11-03-21 14:53:08, Mike Kravetz wrote: > On 3/11/21 9:59 AM, Mike Kravetz wrote: > > On 3/11/21 4:17 AM, Michal Hocko wrote: > >>> Yeah per cpu preempt counting shouldn't be noticeable but I have to > >>> confess I haven't benchmarked it. > >> > >> But all this seems moot now > >> http://lk

[PATCH v28 0/4] scsi: ufs: Add Host Performance Booster Support

2021-03-12 Thread Daejun Park
Changelog: v27 -> v28 1. Fix wrong return value of ufshpb_prep. v26 -> v27 1. Fix wrong refernce of sense buffer in pre_req complete function. 2. Fix read_id error. 3. Fix chunk size checking for HPB 1.0. 4. Mute unnecessary messages before HPB initialization. v25 -> v26 1. Fix wrong chunk size

Re: [PATCH net-next v5 2/2] net: Add Qcom WWAN control driver

2021-03-12 Thread Greg KH
On Thu, Mar 11, 2021 at 09:41:04PM +0100, Loic Poulain wrote: > The MHI WWWAN control driver allows MHI QCOM-based modems to expose > different modem control protocols/ports to userspace, so that userspace > modem tools or daemon (e.g. ModemManager) can control WWAN config > and state (APN config,

[PATCH v28 1/4] scsi: ufs: Introduce HPB feature

2021-03-12 Thread Daejun Park
This is a patch for the HPB initialization and adds HPB function calls to UFS core driver. NAND flash-based storage devices, including UFS, have mechanisms to translate logical addresses of IO requests to the corresponding physical addresses of the flash storage. In UFS, Logical-address-to-Physica

[PATCH v28 2/4] scsi: ufs: L2P map management for HPB read

2021-03-12 Thread Daejun Park
This is a patch for managing L2P map in HPB module. The HPB divides logical addresses into several regions. A region consists of several sub-regions. The sub-region is a basic unit where L2P mapping is managed. The driver loads L2P mapping data of each sub-region. The loaded sub-region is called a

[PATCH v28 3/4] scsi: ufs: Prepare HPB read for cached sub-region

2021-03-12 Thread Daejun Park
This patch changes the read I/O to the HPB read I/O. If the logical address of the read I/O belongs to active sub-region, the HPB driver modifies the read I/O command to HPB read. It modifies the UPIU command of UFS instead of modifying the existing SCSI command. In the HPB version 1.0, the maxim

[PATCH v28 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-12 Thread Daejun Park
This patch supports the HPB 2.0. The HPB 2.0 supports read of varying sizes from 4KB to 512KB. In the case of Read (<= 32KB) is supported as single HPB read. In the case of Read (36KB ~ 512KB) is supported by as a combination of write buffer command and HPB read command to deliver more PPN. The wr

Re: [PATCH v3 1/3] mm: replace migrate_prep with lru_add_drain_all

2021-03-12 Thread Michal Hocko
On Wed 10-03-21 08:14:27, Minchan Kim wrote: > Currently, migrate_prep is merely a wrapper of lru_cache_add_all. > There is not much to gain from having additional abstraction. > > Use lru_add_drain_all instead of migrate_prep, which would be more > descriptive. > > note: migrate_prep_local in co

Re: [PATCH v3 2/3] mm: disable LRU pagevec during the migration temporarily

2021-03-12 Thread Michal Hocko
On Wed 10-03-21 08:14:28, Minchan Kim wrote: > LRU pagevec holds refcount of pages until the pagevec are drained. > It could prevent migration since the refcount of the page is greater > than the expection in migration logic. To mitigate the issue, > callers of migrate_pages drains LRU pagevec via

[PATCHSET] Remove 153 typedefs in staging/rtl8723bs

2021-03-12 Thread Marco Cesati
This set of patches remove 153 useless typedef instructions in the staging/rtl8723bs source code, as identified by the checkpatch.pl script. Every patch is purely syntactical: it does not change the generated machine code. Furthermore, every single patch leaves the source code fully compilable, so

[PATCH] cpuset: Modify the type of use_parent_ecpus from int to bool

2021-03-12 Thread Li Feng
Since the use_parent_ecpus in cpuset is only used as bool type, change the type from int to bool. Signed-off-by: Li Feng --- kernel/cgroup/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 5258b68153e0..ab0bf3cc7093

[PATCH 01/33] staging: rtl8723bs: remove typedefs in HalBtcOutSrc.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #47: FILE: hal/HalBtcOutSrc.h:47: +typedef enum _BTC_POWERSAVE_TYPE { WARNING: do not add new typedefs #54: FILE: hal/HalBtcOutSrc.h:54: +typedef enum _BTC_BT_REG_TYPE { WARNING:

[tip: objtool/urgent] objtool,x86: Fix uaccess PUSHF/POPF validation

2021-03-12 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the objtool/urgent branch of tip: Commit-ID: ba08abca66d46381df60842f64f70099d5482b92 Gitweb: https://git.kernel.org/tip/ba08abca66d46381df60842f64f70099d5482b92 Author:Peter Zijlstra AuthorDate:Mon, 08 Mar 2021 15:46:04 +01:00 Com

Re: [PATCH v2 25/43] powerpc/32: Replace ASM exception exit by C exception exit from ppc64

2021-03-12 Thread Christophe Leroy
Le 12/03/2021 à 00:26, Michael Ellerman a écrit : Christophe Leroy writes: Le 11/03/2021 à 14:46, Michael Ellerman a écrit : Christophe Leroy writes: This patch replaces the PPC32 ASM exception exit by C exception exit. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32

[PATCH] optee: enable apci support

2021-03-12 Thread Ran Wang
This patch add ACPI support for optee driver. Signed-off-by: Ran Wang --- drivers/tee/optee/core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c index cf4718c6d35d..8fb261f4b9db 100644 --- a/drivers/tee/optee/core.c +++ b/driv

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

Re: [PATCH] ASoC: core: Don't set platform name when of_node is set

2021-03-12 Thread Daniel Baluta
On Tue, Mar 9, 2021 at 5:38 PM Mark Brown wrote: > > On Tue, Mar 09, 2021 at 10:23:28AM +0200, Daniel Baluta wrote: > > From: Daniel Baluta > > > > Platform may be specified by either name or OF node but not > > both. > > > > For OF node platforms (e.g i.MX) we end up with both platform name > >

Re: [PATCH] drivers: tty: vt: vt.c: fix NULL dereference crash

2021-03-12 Thread Greg KH
On Sun, Mar 07, 2021 at 12:56:43PM +0200, Hassan Shahbazi wrote: > Fix a NULL deference crash on hiding the cursor. > > Reported by: syzbot > https://syzkaller.appspot.com/bug?id=defb47bf56e1c14d5687280c7bb91ce7b608b94b > > Signed-off-by: Hassan Shahbazi > --- > drivers/tty/vt/vt.c | 4 +++- >

[GIT PULL] xen: branch for v5.12-rc3

2021-03-12 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-5.12b-rc3-tag xen: branch for v5.12-rc3 It contains two patch series and a single patch: - a small cleanup patch to remove unneeded symbol exports - a series to cleanup Xen grant han

[PATCH 1/4] mfd/power: ab8500: Require device tree

2021-03-12 Thread Linus Walleij
The core AB8500 driver and the whole platform is completely dependent on being probed from device tree so remove the non-DT probe paths. Signed-off-by: Linus Walleij --- drivers/power/supply/Kconfig | 2 +- drivers/power/supply/ab8500_btemp.c| 10 -- drivers/power/supply/a

[PATCH 3/4] mfd/power: ab8500: Push algorithm to power supply code

2021-03-12 Thread Linus Walleij
The charging algorithm header is only used locally in the power supply subsystem so push this down into drivers/power/supply and rename from the confusing "ux500_chargalg.h" to "ab8500-chargalg.h" for clarity: it is only used with the AB8500. This is another remnant of non-DT code needing to pass

[PATCH 2/4] mfd/power: ab8500: Push data to power supply code

2021-03-12 Thread Linus Walleij
The global definition of platform data for the battery management code has no utility after the OF conversion, move the to be a local file in drivers/power/supply and stop defining the platform data in drivers/power/supply/ab8500_bmdata.c and broadcast to the kernel only to have it assigned as pla

Re: [PATCH] perf-stat: introduce bperf, share hardware PMCs with BPF

2021-03-12 Thread Namhyung Kim
Hi, On Fri, Mar 12, 2021 at 11:03 AM Song Liu wrote: > > perf uses performance monitoring counters (PMCs) to monitor system > performance. The PMCs are limited hardware resources. For example, > Intel CPUs have 3x fixed PMCs and 4x programmable PMCs per cpu. > > Modern data center systems use the

[PATCH 0/4] mfd/power: Push data into power supply

2021-03-12 Thread Linus Walleij
This series pushes some AB8500 power supply headers down into the power supply subsystem so the power supply code becomes independent from the other AB8500 stuff. The first patch makes the code require device tree so that the series make sense: once all data for the power supply comes from device

[PATCH 4/4] mfd/power: ab8500: Push data to power supply code

2021-03-12 Thread Linus Walleij
There is a slew of defines, structs and enums and even a function call only relevant for the charging code that still lives in . Push it down to the "ab8500-bm.h" header in the power supply subsystem where it is actually used. Signed-off-by: Linus Walleij --- drivers/power/supply/ab8500-bm.h | 2

Re: [PATCH v4] USB: serial: cp210x: Make the CP210x driver work with GPIOs of CP2108

2021-03-12 Thread Johan Hovold
On Fri, Mar 12, 2021 at 04:27:57AM +, Pho Tran wrote: > Similar to other CP210x devices, GPIO interfaces (gpiochip) should be > supported for CP2108. > > CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared > to all of those interfaces. So, just need to initialize GPIOs of CP2

Re: [PATCH v2 40/43] powerpc/64s: Make kuap_check_amr() and kuap_get_and_check_amr() generic

2021-03-12 Thread Christophe Leroy
Le 10/03/2021 à 02:37, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of March 9, 2021 10:10 pm: In preparation of porting powerpc32 to C syscall entry/exit, rename kuap_check_amr() and kuap_get_and_check_amr() as kuap_check() and kuap_get_and_check(), and move in the gene

Re: [PATCH v7] i2c: virtio: add a virtio i2c frontend driver

2021-03-12 Thread Jie Deng
On 2021/3/12 16:11, Viresh Kumar wrote: On 12-03-21, 15:51, Jie Deng wrote: On 2021/3/12 14:10, Viresh Kumar wrote: I saw your email about wrong version being sent, I already wrote some reviews. Sending them anyway for FWIW :) On 12-03-21, 21:33, Jie Deng wrote: +struct virtio_i2c { +

Re: [PATCH] leds: leds-dual-gpio: Add dual GPIO LEDs driver

2021-03-12 Thread Alexander Dahl
Hallo Hermes, thanks for your effort. Am Donnerstag, 11. März 2021, 14:04:08 CET schrieb Hermes Zhang: > From: Hermes Zhang > > Introduce a new Dual GPIO LED driver. These two GPIOs LED will act as > one LED as normal GPIO LED but give the possibility to change the > intensity in four levels: O

[PATCH] arm: plat-pxa: delete redundant printing of the error

2021-03-12 Thread Wan Jiabing
platform_get_irq() has already checked and printed the error, the printing here is not necessary at all. Signed-off-by: Wan Jiabing --- arch/arm/plat-pxa/ssp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c index 563440315

[PATCH v6 1/8] mm: Remove special swap entry functions

2021-03-12 Thread Alistair Popple
Remove the migration and device private entry_to_page() and entry_to_pfn() inline functions and instead open code them directly. This results in shorter code which is easier to understand. Signed-off-by: Alistair Popple Reviewed-by: Ralph Campbell --- v6: * Removed redundant compound_page() ca

[PATCH v6 0/8] Add support for SVM atomics in Nouveau

2021-03-12 Thread Alistair Popple
This is the sixth version of a series to add support to Nouveau for atomic memory operations on OpenCL shared virtual memory (SVM) regions. There are no significant changes for version six other than correcting a minor s390 build and bisectability issue and removing a redundant call to compound_pa

[PATCH v6 3/8] mm/rmap: Split try_to_munlock from try_to_unmap

2021-03-12 Thread Alistair Popple
The behaviour of try_to_unmap_one() is difficult to follow because it performs different operations based on a fairly large set of flags used in different combinations. TTU_MUNLOCK is one such flag. However it is exclusively used by try_to_munlock() which specifies no other flags. Therefore rather

[PATCH v6 2/8] mm/swapops: Rework swap entry manipulation code

2021-03-12 Thread Alistair Popple
Both migration and device private pages use special swap entries that are manipluated by a range of inline functions. The arguments to these are somewhat inconsitent so rework them to remove flag type arguments and to make the arguments similar for both read and write entry creation. Signed-off-by

Re: [PATCH 1/1] ARM: owl: Add Actions Semi Owl S500 SoC machine

2021-03-12 Thread Andreas Färber
Hi Cristian, On 11.03.21 20:19, Cristian Ciocaltea wrote: > Add machine entry for the S500 variant of the Actions Semi Owl SoCs > family. > > For the moment the only purpose is to provide the system serial > information which will be used by the Owl Ethernet MAC driver to > generate a stable MAC

[PATCH v6 4/8] mm/rmap: Split migration into its own function

2021-03-12 Thread Alistair Popple
Migration is currently implemented as a mode of operation for try_to_unmap_one() generally specified by passing the TTU_MIGRATION flag or in the case of splitting a huge anonymous page TTU_SPLIT_FREEZE. However it does not have much in common with the rest of the unmap functionality of try_to_unma

[PATCH v6 5/8] mm: Device exclusive memory access

2021-03-12 Thread Alistair Popple
Some devices require exclusive write access to shared virtual memory (SVM) ranges to perform atomic operations on that memory. This requires CPU page tables to be updated to deny access whilst atomic operations are occurring. In order to do this introduce a new swap entry type (SWP_DEVICE_EXCLUSIV

[PATCH v6 6/8] mm: Selftests for exclusive device memory

2021-03-12 Thread Alistair Popple
Adds some selftests for exclusive device memory. Signed-off-by: Alistair Popple Acked-by: Jason Gunthorpe Tested-by: Ralph Campbell Reviewed-by: Ralph Campbell --- lib/test_hmm.c | 124 ++ lib/test_hmm_uapi.h| 2 + tools/testing/selfte

[PATCH v6 8/8] nouveau/svm: Implement atomic SVM access

2021-03-12 Thread Alistair Popple
Some NVIDIA GPUs do not support direct atomic access to system memory via PCIe. Instead this must be emulated by granting the GPU exclusive access to the memory. This is achieved by replacing CPU page table entries with special swap entries that fault on userspace access. The driver then grants th

Re: [PATCH][next] usb: mtu3: Fix spelling mistake "disabed" -> "disabled"

2021-03-12 Thread Chunfeng Yun
On Thu, 2021-03-11 at 09:25 +, Colin King wrote: > From: Colin Ian King > > The variable u3_ports_disabed contains a spelling mistake, > rename it to u3_ports_disabled. > > Signed-off-by: Colin Ian King > --- > drivers/usb/mtu3/mtu3_host.c | 8 > 1 file changed, 4 insertions(+), 4

Re: [PATCH v2 28/43] powerpc/64e: Call bad_page_fault() from do_page_fault()

2021-03-12 Thread Christophe Leroy
Le 10/03/2021 à 02:29, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of March 9, 2021 10:09 pm: book3e/64 is the last one calling __bad_page_fault() from assembly. Save non volatile registers before calling do_page_fault() and modify do_page_fault() to call __bad_page_fa

[PATCH v6 7/8] nouveau/svm: Refactor nouveau_range_fault

2021-03-12 Thread Alistair Popple
Call mmu_interval_notifier_insert() as part of nouveau_range_fault(). This doesn't introduce any functional change but makes it easier for a subsequent patch to alter the behaviour of nouveau_range_fault() to support GPU atomic operations. Signed-off-by: Alistair Popple --- drivers/gpu/drm/nouve

Re: arm64 syzbot instances

2021-03-12 Thread Arnd Bergmann
On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > On Thu, Mar 11, 2021 at 2:30 PM Arnd Bergmann wrote: > > > > > > The instances found few arm64-specific issues that we have not > > > observed on other instances: > > > > I've had a brief look at these: > > > > > https://syzkaller.appspot.com

Re: [PATCH] perf annotate: Fix sample events lost in stdio mode

2021-03-12 Thread Namhyung Kim
On Fri, Mar 12, 2021 at 4:19 PM Yang Jihong wrote: > > > Hello, > On 2021/3/12 13:49, Namhyung Kim wrote: > > Hi, > > > > On Fri, Mar 12, 2021 at 12:24 PM Yang Jihong wrote: > >> > >> Hello, Namhyung > >> > >> On 2021/3/11 22:42, Namhyung Kim wrote: > >>> Hi, > >>> > >>> On Thu, Mar 11, 2021 at 5

Re: [PATCH 0/4] mfd/power: Push data into power supply

2021-03-12 Thread Linus Walleij
On Fri, Mar 12, 2021 at 9:36 AM Linus Walleij wrote: > - The power maintainer (Sebastian) provide an ACK Ooops I noticed actuall Sebastian already gave an ACK for these patches: https://lore.kernel.org/linux-pm/20210128001700.pkuyfpq6uzcjb5ud@earth.universe/ Sorry for keeping bad track. This m

Re: [PATCH v2 02/43] powerpc/traps: Declare unrecoverable_exception() as __noreturn

2021-03-12 Thread Christophe Leroy
Le 10/03/2021 à 02:22, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of March 9, 2021 10:09 pm: unrecoverable_exception() is never expected to return, most callers have an infiniteloop in case it returns. Ensure it really never returns by terminating it with a BUG(), and

Re: arm64 syzbot instances

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > > On Thu, Mar 11, 2021 at 2:30 PM Arnd Bergmann wrote: > > > > > > > > The instances found few arm64-specific issues that we have not > > > > observed on other instances: > > > > > > I

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

RE: [PATCH] leds: leds-dual-gpio: Add dual GPIO LEDs driver

2021-03-12 Thread Hermes Zhang
Hi Alexander, > Am Donnerstag, 11. März 2021, 14:04:08 CET schrieb Hermes Zhang: > > From: Hermes Zhang > > > > Introduce a new Dual GPIO LED driver. These two GPIOs LED will act as > > one LED as normal GPIO LED but give the possibility to change the > > intensity in four levels: OFF, LOW, MIDDL

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

fuse: kernel BUG at mm/truncate.c:763!

2021-03-12 Thread Luis Henriques
Hi Miklos, I've seen a bug report (5.10.16 kernel splat below) that seems to be reproducible in kernels as early as 5.4. The commit that caught my attention when looking at what was merged in 5.4 was e4648309b85a ("fuse: truncate pending writes on O_TRUNC") but I didn't went too deeper on that --

[PATCH v6] soc: fsl: enable acpi support in RCPM driver

2021-03-12 Thread Ran Wang
From: Peng Ma This patch enables ACPI support in RCPM driver. Signed-off-by: Peng Ma Signed-off-by: Ran Wang --- Change in v6: - Remove copyright udpate to rebase on latest mainline Change in v5: - Fix panic when dev->of_node is null Change in v4: - Make commit subject more accurate - Re

Re: [syzbot] WARNING in huge_pmd_set_accessed

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 8:07 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:05a59d79 Merge git://git.kernel.org:/pub/scm/linux/kernel/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15b8820ad0 > kernel config:

Re: [RFC 0/2] virtio-pmem: Asynchronous flush

2021-03-12 Thread David Hildenbrand
On 12.03.21 07:02, Dan Williams wrote: On Thu, Mar 11, 2021 at 8:21 PM Pankaj Gupta wrote: Hi David, Jeff reported preflush order issue with the existing implementation of virtio pmem preflush. Dan suggested[1] to implement asynchronous flush for virtio pmem using work queue as done

Re: [PATCH v3 1/3] mm: replace migrate_prep with lru_add_drain_all

2021-03-12 Thread David Hildenbrand
On 10.03.21 17:14, Minchan Kim wrote: Currently, migrate_prep is merely a wrapper of lru_cache_add_all. There is not much to gain from having additional abstraction. Use lru_add_drain_all instead of migrate_prep, which would be more descriptive. note: migrate_prep_local in compaction.c changed

Re: [PATCH v3 08/11] gpio: sim: new testing module

2021-03-12 Thread Bartosz Golaszewski
On Wed, Mar 10, 2021 at 1:28 PM Andy Shevchenko wrote: > [snip] > > + > > +static ssize_t gpio_sim_sysfs_line_show(struct device *dev, > > + struct device_attribute *attr, > > + char *buf) > > +{ > > + struct gpio_sim_at

[RFC PATCH 0/7] iommu/amd: Add Generic IO Page Table Framework Support for v2 Page Table

2021-03-12 Thread Suravee Suthikulpanit
This series introduces a new usage model for the v2 page table, where it can be used to implement support for DMA-API by adopting the generic IO page table framework. One of the target usecases is to support nested IO page tables where the guest uses the guest IO page table (v2) for translating GV

[RFC PATCH 3/7] iommu/amd: Decouple the logic to enable PPR and GT

2021-03-12 Thread Suravee Suthikulpanit
Currently, the function to enable iommu v2 (GT) assumes PPR log must also be enabled. This is no longer the case since the IOMMU v2 page table can be enabled without PRR support (for DMA-API use case). Therefore, separate the enabling logic for PPR and GT. There is no functional change. Signed-of

[RFC PATCH 5/7] iommu/amd: Add support for Guest IO protection

2021-03-12 Thread Suravee Suthikulpanit
AMD IOMMU introduces support for Guest I/O protection where the request from the I/O device without a PASID are treated as if they have PASID 0. Signed-off-by: Suravee Suthikulpanit --- drivers/iommu/amd/amd_iommu_types.h | 3 +++ drivers/iommu/amd/init.c| 8 drivers/iommu/a

[RFC PATCH 7/7] iommu/amd: Add support for using AMD IOMMU v2 page table for DMA-API

2021-03-12 Thread Suravee Suthikulpanit
Introduce init function for setting up DMA domain for DMA-API with the IOMMU v2 page table. Signed-off-by: Suravee Suthikulpanit --- drivers/iommu/amd/iommu.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/iommu/amd/iommu.c b/drivers/iommu/amd/iommu.c index e2

[RFC PATCH 6/7] iommu/amd: Introduce amd_iommu_pgtable command-line option

2021-03-12 Thread Suravee Suthikulpanit
To allow specification whether to use v1 or v2 IOMMU pagetable for DMA remapping when calling kernel DMA-API. Signed-off-by: Suravee Suthikulpanit --- Documentation/admin-guide/kernel-parameters.txt | 6 ++ drivers/iommu/amd/init.c| 15 +++ 2 files change

[RFC PATCH 4/7] iommu/amd: Initial support for AMD IOMMU v2 page table

2021-03-12 Thread Suravee Suthikulpanit
Introduce IO page table framework support for AMD IOMMU v2 page table. Signed-off-by: Suravee Suthikulpanit --- drivers/iommu/amd/Makefile | 2 +- drivers/iommu/amd/amd_iommu_types.h | 2 + drivers/iommu/amd/io_pgtable_v2.c | 239 drivers/iommu/io-pgta

[RFC PATCH 2/7] iommu/amd: Update sanity check when enable PRI/ATS

2021-03-12 Thread Suravee Suthikulpanit
Currently, PPR/ATS can be enabled only if the domain is type identity mapping. However, when we allow the IOMMU v2 page table to be used for DMA-API, the sanity check needs to be updated to only apply for the case when using AMD_IOMMU_V1 page table mode. Signed-off-by: Suravee Suthikulpanit ---

[RFC PATCH 1/7] iommu/amd: Refactor amd_iommu_domain_enable_v2

2021-03-12 Thread Suravee Suthikulpanit
The current function to enable IOMMU v2 also lock the domain. In order to reuse the same code in different code path, in which the domain has already been locked, refactor the function to separate the locking from the enabling logic. Signed-off-by: Suravee Suthikulpanit --- drivers/iommu/amd/iom

Re: [PATCH 2/2] crypto: qat: ADF_STATUS_PF_RUNNING should be set after adf_dev_init

2021-03-12 Thread Andy Shevchenko
On Fri, Mar 12, 2021 at 9:50 AM Tong Zhang wrote: > > ADF_STATUS_PF_RUNNING is (only) used and checked by adf_vf2pf_shutdown() > before calling adf_iov_putmsg()->mutex_lock(vf2pf_lock), however the > vf2pf_lock is initialized in adf_dev_init(), which can fail and when it > fail, the vf2pf_lock is

Re: [PATCH v7] i2c: virtio: add a virtio i2c frontend driver

2021-03-12 Thread Arnd Bergmann
On Fri, Mar 12, 2021 at 2:33 PM Jie Deng wrote: > + > +/** > + * struct virtio_i2c_req - the virtio I2C request structure > + * @out_hdr: the OUT header of the virtio I2C message > + * @buf: the buffer into which data is read, or from which it's written > + * @in_hdr: the IN header of the virtio

[PATCH] ata: Trivial spelling fixes in the file pata_ns87415.c

2021-03-12 Thread Bhaskar Chowdhury
Trivial spelling fixes. Signed-off-by: Bhaskar Chowdhury --- drivers/ata/pata_ns87415.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/pata_ns87415.c b/drivers/ata/pata_ns87415.c index 1532b2e3c672..f4949e704356 100644 --- a/drivers/ata/pata_ns87415.c +++ b

Re: [PATCH v3 2/3] mm: disable LRU pagevec during the migration temporarily

2021-03-12 Thread David Hildenbrand
On 10.03.21 17:14, Minchan Kim wrote: LRU pagevec holds refcount of pages until the pagevec are drained. It could prevent migration since the refcount of the page is greater than the expection in migration logic. To mitigate the issue, callers of migrate_pages drains LRU pagevec via migrate_prep

Re: [PATCH v2 2/2] usb: typec: tcpci_maxim: configure charging & data paths

2021-03-12 Thread Heikki Krogerus
Thu, Mar 11, 2021 at 09:24:43PM -0800, Badhri Jagan Sridharan kirjoitti: > The change exposes the data_role and the orientation as a extcon > interface for configuring the USB data controller. > > Signed-off-by: Badhri Jagan Sridharan > --- > Changes since V1: > - Dropped changes related to get_/

Re: 'make O=' indigestion with module signing

2021-03-12 Thread David Howells
Valdis Klētnieks wrote: > So the root cause was: 'make mrproper doesn't clean certs/' out enough, > and this chunk of certs/Makefile > ... > I admit not being sure how (or if) this should be fixed It's tricky because CONFIG_MODULE_SIG_KEY may not point to a file, let alone a file that was autoge

RE: [PATCH v2 02/10] fsdax: Factor helper: dax_fault_actor()

2021-03-12 Thread ruansy.f...@fujitsu.com
> > + /* if we are reading UNWRITTEN and HOLE, return a hole. */ > > + if (!write && > > + (iomap->type == IOMAP_UNWRITTEN || iomap->type == > IOMAP_HOLE)) { > > + if (!pmd) > > + return dax_load_hole(xas, mapping, &entry, vmf); > > + else > > +

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

[PATCH v2] dt-bindings: display: sitronix,st7789v-dbi: Add Waveshare 2inch LCD module

2021-03-12 Thread Carlis
From: "Carlis" Document support for the Waveshare 2inch LCD module display, which is a 240x320 2" TFT display driven by a Sitronix ST7789V TFT Controller. Signed-off-by: Carlis --- v2:change compatible name. --- .../display/sitronix,st7789v-dbi.yaml | 72 +++ 1 file cha

Re: [PATCH] leds: leds-dual-gpio: Add dual GPIO LEDs driver

2021-03-12 Thread Marek Behun
On Fri, 12 Mar 2021 08:48:55 + Hermes Zhang wrote: > Hi Alexander, > > > Am Donnerstag, 11. März 2021, 14:04:08 CET schrieb Hermes Zhang: > > > From: Hermes Zhang > > > > > > Introduce a new Dual GPIO LED driver. These two GPIOs LED will act as > > > one LED as normal GPIO LED but give th

Re: [PATCH v3 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-12 Thread David Hildenbrand
On 10.03.21 17:14, Minchan Kim wrote: ffer_head LRU caches will be pinned and thus cannot be migrated. This can prevent CMA allocations from succeeding, which are often used on platforms with co-processors (such as a DSP) that can only use physically contiguous memory. It can also prevent memory

Re: [PATCH] drivers: tty: vt: vt.c: fix NULL dereference crash

2021-03-12 Thread Fatih Yildirim
On Fri, 2021-03-12 at 09:33 +0100, Greg KH wrote: > On Sun, Mar 07, 2021 at 12:56:43PM +0200, Hassan Shahbazi wrote: > > Fix a NULL deference crash on hiding the cursor. > > > > Reported by: syzbot > > https://syzkaller.appspot.com/bug?id=defb47bf56e1c14d5687280c7bb91ce7b608b94b > > > > Signed-of

Re: 'make O=' indigestion with module signing

2021-03-12 Thread Valdis Klētnieks
On Fri, 12 Mar 2021 09:01:36 +, David Howells said: > Possibly I can add something like: > > clean-files := signing_key.pem x509.genkey > > inside the > > ifeq ($(CONFIG_MODULE_SIG_KEY),"certs/signing_key.pem") > ... > endif Would that remove them on a 'make clean', or

[PATCH] powerpc: memblock alloc fixes

2021-03-12 Thread Youlin Song
If the memory starts at 64MB physical address,the memblock will not be allocated.Because it was in the range of 0~64M (according to TLB) to alloc when the system was started, but the memblock calculates whether it is in this space based on the actual physical address(offset 64M). Signed-off-by: Yo

[PATCH] drm: bridge: adv7511: Support I2S IEC958 encoded PCM format

2021-03-12 Thread Sia Jee Heng
Support IEC958 encoded PCM format for ADV7511 so that ADV7511 HDMI audio driver can accept the IEC958 data from the I2S input. Signed-off-by: Sia Jee Heng --- drivers/gpu/drm/bridge/adv7511/adv7511.h | 1 + drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 6 ++ 2 files changed, 7 inser

Re: [RFC PATCH 0/6] spi: Add OSPI PHY calibration support for spi-cadence-quadspi

2021-03-12 Thread Tudor.Ambarus
On 3/11/21 9:12 PM, Pratyush Yadav wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi, > > This series adds support for OSPI PHY calibration on the Cadence OSPI > controller. This calibration procedure is needed to allow high clock > spee

Re: [PATCH mvebu v3 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz

2021-03-12 Thread Gregory CLEMENT
Hello Pali, > Hello Gregory! > > Patches are the for almost two months and more people have tested them. > They are marked with Fixed/CC-stable tags, they should go also into > stable trees as they are fixing CPU scaling and instability issues. > > Are there any issues with these patches? If not,

Re: [PATCH 06/14] bitsperlong.h: introduce SMALL_CONST() macro

2021-03-12 Thread Rasmus Villemoes
On 12/03/2021 06.28, Yury Norov wrote: > On Fri, Feb 19, 2021 at 12:07:27AM +0100, Rasmus Villemoes wrote: >> On 18/02/2021 05.05, Yury Norov wrote: >>> Many algorithms become simpler if they are passed with relatively small >>> input values. One example is bitmap operations when the whole bitmap f

Re: [RFC PATCH 4/6] spi: cadence-qspi: Use PHY for DAC reads if possible

2021-03-12 Thread Tudor.Ambarus
On 3/11/21 9:12 PM, Pratyush Yadav wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Check if a read is eligible for PHY and if it is, enable PHY and DQS. DQS as in data strobe? Shouldn't the upper layer inform the QSPI controller whether D

Re: [PATCH 14/14] MAINTAINERS: Add entry for the bitmap API

2021-03-12 Thread Rasmus Villemoes
On 18/02/2021 16.34, Yury Norov wrote: > On Thu, Feb 18, 2021 at 05:28:32PM +0200, Andy Shevchenko wrote: >> On Wed, Feb 17, 2021 at 08:05:12PM -0800, Yury Norov wrote: >>> Add myself as maintainer for bitmap API. >>> >>> I'm an author of current implementation of lib/find_bit and an >>> active con

Re: [PATCH v4 27/34] KVM: arm64: Always zero invalid PTEs

2021-03-12 Thread Quentin Perret
On Thursday 11 Mar 2021 at 17:33:38 (+), Will Deacon wrote: > On Wed, Mar 10, 2021 at 05:57:44PM +, Quentin Perret wrote: > > kvm_set_invalid_pte() currently only clears bit 0 from a PTE because > > stage2_map_walk_table_post() needs to be able to follow the anchor. In > > preparation for r

Re: [PATCH] staging: rtl8723bs: align comments

2021-03-12 Thread Fabio Aiuto
On Wed, Mar 10, 2021 at 10:27:53PM +, Eric Curtin wrote: > Hi Fabio, > > > I am sorry, I fear I don't understand, checkpatch.sh script says the patch > > is ok. > > Where have I to add a ' ' (a blank?)? > > > > thank you, > > > > fabio > > > > I'm only responding to this because this email i

[PATCH v2] drm/tiny: add support for Waveshare 2inch LCD module

2021-03-12 Thread Carlis
From: "Carlis" This adds a new module for the ST7789V controller with parameters for the Waveshare 2inch LCD module. Signed-off-by: Carlis --- v2:change compatible value. --- MAINTAINERS| 7 + drivers/gpu/drm/tiny/Kconfig | 14 ++ drivers/gpu/drm/tiny/Makefile | 1 +

Re: arm64 syzbot instances

2021-03-12 Thread Arnd Bergmann
On Fri, Mar 12, 2021 at 9:46 AM Dmitry Vyukov wrote: > On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > > a) accessing a legacy ISA/LPC port should not result in an oops, > > but should instead return values with all bits set. Th

  1   2   3   4   5   6   7   8   9   10   >