Re: [syzbot] BUG: unable to handle kernel access to user memory in schedule_tail

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 2:50 PM Ben Dooks wrote: > > On 10/03/2021 17:16, Dmitry Vyukov wrote: > > On Wed, Mar 10, 2021 at 5:46 PM syzbot > > wrote: > >> > >> Hello, > >> > >> syzbot found the following issue on: > >> > >> HEAD commit:0d7588ab riscv: process: Fix no prototype for > >> arch_d

[PATCH net] net: ipa: terminate message handler arrays

2021-03-12 Thread Alex Elder
When a QMI handle is initialized, an array of message handler structures is provided, defining how any received message should be handled based on its type and message ID. The QMI core code traverses this array when a message arrives and calls the function associated with the (type, msg_id) found

Re: [PATCH v15 5/8] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-03-12 Thread Catalin Marinas
On Fri, Mar 12, 2021 at 02:22:07PM +, Vincenzo Frascino wrote: > diff --git a/arch/arm64/include/asm/mte.h b/arch/arm64/include/asm/mte.h > index 9b557a457f24..8603c6636a7d 100644 > --- a/arch/arm64/include/asm/mte.h > +++ b/arch/arm64/include/asm/mte.h > @@ -90,5 +90,20 @@ static inline void m

Re: [PATCH v15 0/8] arm64: ARMv8.5-A: MTE: Add async mode support

2021-03-12 Thread Catalin Marinas
On Fri, Mar 12, 2021 at 02:22:02PM +, Vincenzo Frascino wrote: > Andrey Konovalov (1): > kasan, arm64: tests supports for HW_TAGS async mode > > Vincenzo Frascino (7): > arm64: mte: Add asynchronous mode support > kasan: Add KASAN mode kernel parameter > arm64: mte: Drop arch_enable_ta

Re: [PATCH] perf stat: Create '--add-default' option to append default list

2021-03-12 Thread Andi Kleen
On Tue, Dec 22, 2020 at 09:11:31AM +0800, Jin Yao wrote: > The event default list includes the most common events which are widely > used by users. But with -e option, the current perf only counts the events > assigned by -e option. Users may want to collect some extra events with > the default lis

[PATCH] xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig

2021-03-12 Thread Masahiro Yamada
Move the definition of CONFIG_CPU_*_ENDIAN to Kconfig, the best place for CONFIG options. I slightly simplified the test code. You can use the -P option to suppress linemarker generation. The grep command is unneeded. $ echo __XTENSA_EB__ | xtensa-linux-gcc -E - # 1 "" # 1 "" # 1 "" # 1

Re: [RFC PATCH v6 04/22] af_vsock: implement SEQPACKET receive loop

2021-03-12 Thread Stefano Garzarella
On Sun, Mar 07, 2021 at 08:59:45PM +0300, Arseny Krasnov wrote: This adds receive loop for SEQPACKET. It looks like receive loop for STREAM, but there is a little bit difference: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because there

Re: [PATCH 08/10] of: of_net: Demote non-conforming kernel-doc header

2021-03-12 Thread Lee Jones
On Fri, 12 Mar 2021, Andrew Lunn wrote: > On Fri, Mar 12, 2021 at 11:07:56AM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/of/of_net.c:104: warning: Function parameter or member 'np' not > > described in 'of_get_mac_address' > > drivers/of/of_net.

[PATCH v10 0/6] MTE support for KVM guest

2021-03-12 Thread Steven Price
This series adds support for using the Arm Memory Tagging Extensions (MTE) in a KVM guest. This version is rebased on v5.12-rc2. Changes since v9[1]: * Check fault_status in user_mem_abort() to avoid unnecessarily checking if tags need clearing when handling permission faults. * The MTE CPU

[PATCH v10 1/6] arm64: mte: Sync tags for pages where PTE is untagged

2021-03-12 Thread Steven Price
A KVM guest could store tags in a page even if the VMM hasn't mapped the page with PROT_MTE. So when restoring pages from swap we will need to check to see if there are any saved tags even if !pte_tagged(). However don't check pages which are !pte_valid_user() as these will not have been swapped o

[PATCH v10 2/6] arm64: kvm: Introduce MTE VM feature

2021-03-12 Thread Steven Price
Add a new VM feature 'KVM_ARM_CAP_MTE' which enables memory tagging for a VM. This will expose the feature to the guest and automatically tag memory pages touched by the VM as PG_mte_tagged (and clear the tag storage) to ensure that the guest cannot see stale tags, and so that the tags are correctl

[PATCH v10 3/6] arm64: kvm: Save/restore MTE registers

2021-03-12 Thread Steven Price
Define the new system registers that MTE introduces and context switch them. The MTE feature is still hidden from the ID register as it isn't supported in a VM yet. Signed-off-by: Steven Price --- arch/arm64/include/asm/kvm_host.h | 6 ++ arch/arm64/include/asm/kvm_mte.h | 66

[PATCH v10 4/6] arm64: kvm: Expose KVM_ARM_CAP_MTE

2021-03-12 Thread Steven Price
It's now safe for the VMM to enable MTE in a guest, so expose the capability to user space. Signed-off-by: Steven Price --- arch/arm64/kvm/arm.c | 9 + arch/arm64/kvm/sys_regs.c | 3 +++ 2 files changed, 12 insertions(+) diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c inde

[PATCH v10 6/6] KVM: arm64: Document MTE capability and ioctl

2021-03-12 Thread Steven Price
A new capability (KVM_CAP_ARM_MTE) identifies that the kernel supports granting a guest access to the tags, and provides a mechanism for the VMM to enable it. A new ioctl (KVM_ARM_MTE_COPY_TAGS) provides a simple way for a VMM to access the tags of a guest without having to maintain a PROT_MTE map

[PATCH v10 5/6] KVM: arm64: ioctl to fetch/store tags in a guest

2021-03-12 Thread Steven Price
The VMM may not wish to have it's own mapping of guest memory mapped with PROT_MTE because this causes problems if the VMM has tag checking enabled (the guest controls the tags in physical RAM and it's unlikely the tags are correct for the VMM). Instead add a new ioctl which allows the VMM to easi

Re: [PATCH] MIPS: fix memory reservation for non-usermem setups

2021-03-12 Thread Thomas Bogendoerfer
On Sun, Mar 07, 2021 at 11:40:30AM -0800, Ilya Lipnitskiy wrote: > From: Tobias Wolf > > Commit 67a3ba25aa95 ("MIPS: Fix incorrect mem=X@Y handling") introduced a new > issue for rt288x where "PHYS_OFFSET" is 0x0 but the calculated "ramstart" is > not. As the prerequisite of custom memory map has

Re: [PATCH] perf stat: Create '--add-default' option to append default list

2021-03-12 Thread Andi Kleen
> A more concise syntax would be -e +event > > The + would apply to the whole event list if there are multiple. > > and maybe -event too to remove something from the default list. Sorry that was an old email. Please ignore. -Andi

Re: [RFC PATCH v6 12/22] virtio/vsock: fetch length for SEQPACKET record

2021-03-12 Thread Stefano Garzarella
On Sun, Mar 07, 2021 at 09:02:31PM +0300, Arseny Krasnov wrote: This adds transport callback which tries to fetch record begin marker from socket's rx queue. It is called from af_vsock.c before reading data packets of record. Signed-off-by: Arseny Krasnov --- include/linux/virtio_vsock.h

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 1/7] ASoC: dt-bindings: wcd938x: add bindings for wcd938x

2021-03-12 Thread Mark Brown
On Thu, Mar 11, 2021 at 05:34:10PM +, Srinivas Kandagatla wrote: > + qcom,mbhc-hphl-switch: > +description: Indicates that HPHL switch type is normally closed! > +type: boolean > + > + qcom,mbhc-ground-switch: > +description: Indicates that Headset Gound switch type is normally c

Re: [PATCH v15 5/8] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-03-12 Thread Vincenzo Frascino
On 3/12/21 3:13 PM, Catalin Marinas wrote: > On Fri, Mar 12, 2021 at 02:22:07PM +, Vincenzo Frascino wrote: >> diff --git a/arch/arm64/include/asm/mte.h b/arch/arm64/include/asm/mte.h >> index 9b557a457f24..8603c6636a7d 100644 >> --- a/arch/arm64/include/asm/mte.h >> +++ b/arch/arm64/include/as

[PATCH] perf: build reproducibility improvements

2021-03-12 Thread Denys Zagorui
This patch helps to make perf build more reproducible It seems there is some need to have an ability to invoke perf from build directory without installation (84cfac7f05e1: perf tools: Set and pass DOCDIR to builtin-report.c) DOCDIR contains an absolute path to kernel source directory. In such cas

Re: [RFC PATCH v6 07/22] af_vsock: rest of SEQPACKET support

2021-03-12 Thread Stefano Garzarella
On Sun, Mar 07, 2021 at 09:00:47PM +0300, Arseny Krasnov wrote: This does rest of SOCK_SEQPACKET support: 1) Adds socket ops for SEQPACKET type. 2) Allows to create socket with SEQPACKET type. Signed-off-by: Arseny Krasnov --- include/net/af_vsock.h | 1 + net/vmw_vsock/af_vsock.c | 36 ++

[RFC PATCH] docs: Group arch-specific documentation under "CPU Architectures"

2021-03-12 Thread Jonathan Neuschäfer
To declutter the top-level table of contents (the side bar), this patch reduces the architecture-specfic documentation to one top-level item, "CPU Architectures". Signed-off-by: Jonathan Neuschäfer --- As a side effect, the TOC in index.html effectively gets one level of detail less. This could

Re: [RFC PATCH v6 08/22] af_vsock: update comments for stream sockets

2021-03-12 Thread Stefano Garzarella
On Sun, Mar 07, 2021 at 09:01:05PM +0300, Arseny Krasnov wrote: This replaces 'stream' to 'connection oriented' in comments as SEQPACKET is also connection oriented. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 31 +-- 1 file changed, 17 insertions(+),

Re: [PATCH v15 5/8] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-03-12 Thread Catalin Marinas
On Fri, Mar 12, 2021 at 03:23:44PM +, Vincenzo Frascino wrote: > On 3/12/21 3:13 PM, Catalin Marinas wrote: > > On Fri, Mar 12, 2021 at 02:22:07PM +, Vincenzo Frascino wrote: > >> diff --git a/arch/arm64/include/asm/mte.h b/arch/arm64/include/asm/mte.h > >> index 9b557a457f24..8603c6636a7d

Re: [PATCH] dt-bindings: media: Convert video-mux to DT schema

2021-03-12 Thread Rob Herring
On Thu, Mar 11, 2021 at 6:25 PM Laurent Pinchart wrote: > > Hi Rob, > > Thank you for the patch. > > On Thu, Mar 11, 2021 at 04:40:42PM -0700, Rob Herring wrote: > > Now that we have the graph schema, convert the video-mux binding to DT > > schema. > > > > Cc: Sakari Ailus > > Cc: Laurent Pinchar

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] tools/power/x86/intel-speed-select: drop __DATE__ and __TIME__ macros

2021-03-12 Thread Srinivas Pandruvada
On Fri, 2021-03-12 at 10:57 -0300, Antonio Terceiro wrote: > These macros introduce nondeterminism in builds, and break > reproducible > builds. Thanks. I will include this change in my pull request. -Srinivas > > Signed-off-by: Antonio Terceiro > Cc: Srinivas Pandruvada > --- > tools/power/

Re: [RFC PATCH v6 09/22] virtio/vsock: set packet's type in virtio_transport_send_pkt_info()

2021-03-12 Thread Stefano Garzarella
On Sun, Mar 07, 2021 at 09:01:22PM +0300, Arseny Krasnov wrote: This moves passing type of packet from 'info' structure to 'virtio_ transport_send_pkt_info()' function. There is no need to set type of packet which differs from type of socket. Since at current time only stream type is supported,

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 v2 3/3] iio: adc: add ADC driver for the TI TSC2046 controller

2021-03-12 Thread Andy Shevchenko
On Fri, Mar 12, 2021 at 12:57 PM Oleksij Rempel wrote: > > Basically the TI TSC2046 touchscreen controller is 8 channel ADC optimized for > the touchscreen use case. By implementing it as IIO ADC device, we can as an IIO > make use of resistive-adc-touch and iio-hwmon drivers. > > So far, this d

Re: [RFC PATCH v6 10/22] virtio/vsock: simplify credit update function API

2021-03-12 Thread Stefano Garzarella
On Sun, Mar 07, 2021 at 09:01:44PM +0300, Arseny Krasnov wrote: This function is static and 'hdr' arg was always NULL. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/virtio_transport_common.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) Reviewed-by: Stefano Garzarella

Re: [PATCH] dt-bindings: media: Convert video-mux to DT schema

2021-03-12 Thread Rob Herring
On Fri, Mar 12, 2021 at 3:06 AM Laurent Pinchart wrote: > > Hi Sakari, > > On Fri, Mar 12, 2021 at 09:29:04AM +0200, Sakari Ailus wrote: > > On Fri, Mar 12, 2021 at 03:25:11AM +0200, Laurent Pinchart wrote: > > > On Thu, Mar 11, 2021 at 04:40:42PM -0700, Rob Herring wrote: > > > > Now that we have

[PATCH v6 1/5] soc: mediatek: pwrap: use BIT() macro

2021-03-12 Thread Hsin-Hsiung Wang
Use a better BIT() marco for the bit definition. No functional changes, cleanup only. Signed-off-by: Hsin-Hsiung Wang Reviewed-by: Nicolas Boichat --- changes since v5: - no change. --- drivers/soc/mediatek/mtk-pmic-wrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH v6 3/5] dt-bindings: mediatek: add compatible for MT6873/8192 pwrap

2021-03-12 Thread Hsin-Hsiung Wang
This adds dt-binding documentation of pwrap for Mediatek MT6873/8192 SoCs Platform. Signed-off-by: Hsin-Hsiung Wang Acked-by: Rob Herring --- changes since v5: - no change. --- Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documenta

[PATCH v6 0/5] Add PMIC wrapper support for Mediatek MT6873/8192 SoC IC

2021-03-12 Thread Hsin-Hsiung Wang
This series adds support for new SoC MT6873/8192 to the pmic-wrap driver. This series is based on Weiyi's patches[1]. [1] https://patchwork.kernel.org/project/linux-mediatek/patch/1608642587-15634-7-git-send-email-weiyi...@mediatek.com/ changes since v5: - rebase to Linux 5.12 Hsin-Hsiung Wang

[PATCH v6 2/5] soc: mediatek: pwrap: add arbiter capability

2021-03-12 Thread Hsin-Hsiung Wang
Add arbiter capability for pwrap driver. The arbiter capability uses new design to judge the priority and latency for multi-channel. The design with arbiter support cannot change the watchdog timer. This patch is preparing for adding mt6873/8192 pwrap support. Signed-off-by: Hsin-Hsiung Wang ---

[PATCH v6 5/5] arm64: dts: mt8192: add pwrap node

2021-03-12 Thread Hsin-Hsiung Wang
Add pwrap node to SOC MT8192. Signed-off-by: Hsin-Hsiung Wang --- changes since v5: - no change. --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi ind

[PATCH v6 4/5] soc: mediatek: pwrap: add pwrap driver for MT6873/8192 SoCs

2021-03-12 Thread Hsin-Hsiung Wang
MT6873/8192 are highly integrated SoCs and use PMIC_MT6359 for power management. This patch adds pwrap master driver to access PMIC_MT6359. Signed-off-by: Hsin-Hsiung Wang --- changes since v5: - no change. --- drivers/soc/mediatek/mtk-pmic-wrap.c | 29 1 file change

Re: [PATCH] extcon: Provide *extcon_*_notifier_all() stubs for !CONFIG_EXTCON

2021-03-12 Thread Krzysztof Kozlowski
On 12/03/2021 15:55, Sebastian Andrzej Siewior wrote: > On 2021-03-12 15:53:53 [+0100], Krzysztof Kozlowski wrote: >> Yeah, it missed the merge window... > > Could you please send it for -rc3? I meant, the pull missed the merge window. Chanwoo already confirmed he will be sending it for rc3. ht

Re: [PATCH v2 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 4:21 PM 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 3/7] ASoC: codecs: wcd938x: add basic driver

2021-03-12 Thread Mark Brown
On Thu, Mar 11, 2021 at 05:34:12PM +, Srinivas Kandagatla wrote: > +static int wcd9380_update_status(struct sdw_slave *slave, > + enum sdw_slave_status status) > +{ > + return 0; > +} > + > +static int wcd9380_port_prep(struct sdw_slave *slave, > +

Re: kmap_local semantics

2021-03-12 Thread Ira Weiny
On Fri, Mar 12, 2021 at 07:54:13AM +0100, Christoph Hellwig wrote: > So with the new kmap_local interface is it possible / advisable to > use local kmaps over code that might schedule(), e.g. to wait for I/O? It is possible yes. "Advisable" I think so. Thomas knows better than I what performance

Re: [PATCH 1/4] KVM: x86/mmu: Fix RCU usage in handle_removed_tdp_mmu_page

2021-03-12 Thread Sean Christopherson
On Thu, Mar 11, 2021, Ben Gardon wrote: > The pt passed into handle_removed_tdp_mmu_page does not need RCU > protection, as it is not at any risk of being freed by another thread at > that point. However, the implicit cast from tdp_sptep_t to u64 * dropped > the __rcu annotation without a proper rc

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] perf-stat: introduce bperf, share hardware PMCs with BPF

2021-03-12 Thread Song Liu
> On Mar 12, 2021, at 12:36 AM, Namhyung Kim wrote: > > 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 an

RE: slow boot with 7fef431be9c9 ("mm/page_alloc: place pages to tail in __free_pages_core()")

2021-03-12 Thread Deucher, Alexander
[AMD Public Use] > -Original Message- > From: David Hildenbrand > Sent: Friday, March 12, 2021 9:12 AM > To: Deucher, Alexander ; linux- > ker...@vger.kernel.org; amd-gfx list ; > Andrew Morton > Cc: Huang, Ray ; Koenig, Christian > ; Liang, Liang (Leo) ; > Mike Rapoport ; Rafael J. Wyso

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

2021-03-12 Thread Martin Devera
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 --- v6: - add version changelog v4: - delete superfluous has_swap=false v3: - add has_swap to stm32_usart_info (because F4 line does

[PATCH v7 1/2] dt-bindings: serial: Add rx-tx-swap to stm32-usart

2021-03-12 Thread Martin Devera
Add new rx-tx-swap property to allow for RX & TX pin swapping. Signed-off-by: Martin Devera Acked-by: Fabrice Gasnier --- v7: - fix yaml linter warning v6: - add version changelog v5: - yaml fixes based on Rob Herring comments - add serial.yaml reference - move compatible from 't

Re: [PATCH 1/4] KVM: x86/mmu: Fix RCU usage in handle_removed_tdp_mmu_page

2021-03-12 Thread Paolo Bonzini
On 12/03/21 16:37, Sean Christopherson wrote: On Thu, Mar 11, 2021, Ben Gardon wrote: The pt passed into handle_removed_tdp_mmu_page does not need RCU protection, as it is not at any risk of being freed by another thread at that point. However, the implicit cast from tdp_sptep_t to u64 * dropped

[PATCH 2/7] mm/page_alloc: Rename alloced to allocated

2021-03-12 Thread Mel Gorman
Review feedback of the bulk allocator twice found problems with "alloced" being a counter for pages allocated. The naming was based on the API name "alloc" and was based on the idea that verbal communication about malloc tends to use the fake word "malloced" instead of the fake word mallocated. To

[PATCH 1/7] mm/page_alloc: Move gfp_allowed_mask enforcement to prepare_alloc_pages

2021-03-12 Thread Mel Gorman
__alloc_pages updates GFP flags to enforce what flags are allowed during a global context such as booting or suspend. This patch moves the enforcement from __alloc_pages to prepare_alloc_pages so the code can be shared between the single page allocator and a new bulk page allocator. When moving, i

[PATCH 3/7] mm/page_alloc: Add a bulk page allocator

2021-03-12 Thread Mel Gorman
This patch adds a new page allocator interface via alloc_pages_bulk, and __alloc_pages_bulk_nodemask. A caller requests a number of pages to be allocated and added to a list. They can be freed in bulk using free_pages_bulk(). The API is not guaranteed to return the requested number of pages and ma

[PATCH 5/7] SUNRPC: Refresh rq_pages using a bulk page allocator

2021-03-12 Thread Mel Gorman
From: Chuck Lever Reduce the rate at which nfsd threads hammer on the page allocator. This improves throughput scalability by enabling the threads to run more independently of each other. Signed-off-by: Chuck Lever Signed-off-by: Mel Gorman --- net/sunrpc/svc_xprt.c | 43 +

[PATCH 7/7] net: page_pool: use alloc_pages_bulk in refill code path

2021-03-12 Thread Mel Gorman
From: Jesper Dangaard Brouer There are cases where the page_pool need to refill with pages from the page allocator. Some workloads cause the page_pool to release pages instead of recycling these pages. For these workload it can improve performance to bulk alloc pages from the page-allocator to r

[PATCH 0/7 v4] Introduce a bulk order-0 page allocator with two in-tree users

2021-03-12 Thread Mel Gorman
This series is based on top of Matthew Wilcox's series "Rationalise __alloc_pages wrapper" and does not apply to 5.12-rc2. If you want to test and are not using Andrew's tree as a baseline, I suggest using the following git tree git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git mm-bulk-r

[PATCH 4/7] SUNRPC: Set rq_page_end differently

2021-03-12 Thread Mel Gorman
From: Chuck Lever Refactor: I'm about to use the loop variable @i for something else. As far as the "i++" is concerned, that is a post-increment. The value of @i is not used subsequently, so the increment operator is unnecessary and can be removed. Also note that nfsd_read_actor() was renamed

[PATCH 6/7] net: page_pool: refactor dma_map into own function page_pool_dma_map

2021-03-12 Thread Mel Gorman
From: Jesper Dangaard Brouer In preparation for next patch, move the dma mapping into its own function, as this will make it easier to follow the changes. V2: make page_pool_dma_map return boolean (Ilias) Signed-off-by: Jesper Dangaard Brouer Signed-off-by: Mel Gorman Reviewed-by: Ilias Apalo

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

2021-03-12 Thread Du Cheng
Hi Fatih, I just found out that the section [Patch testing requests] on https://syzkaller.appspot.com/bug?id=defb47bf56e1c14d5687280c7bb91ce7b608b94b, indicates that you did not attach the patch when sending email to syzbot. syzbot was simply testing the vallina upstream with repro.c, so it failed

[PATCH 04/38] dt-bindings: power: supply: bq25890: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/bq25890.txt | 60 - .../bindings/power/supply/bq25890.yaml| 125 ++ 2 files changed, 125 insertions(+), 60 deletions(-) delete mode 100644 Documentati

[PATCH 02/38] dt-bindings: power: supply: cpcap-battery: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. I also added the missing bits used by the only in-tree user and implemented in the driver. Cc: Tony Lindgren Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/cpcap-battery.txt | 31 --- .../bindings/power/supply/cpcap-battery.yaml |

[PATCH 05/38] dt-bindings: power: supply: bq24257: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/bq24257.txt | 62 - .../bindings/power/supply/bq24257.yaml| 124 ++ 2 files changed, 124 insertions(+), 62 deletions(-) delete mode 100644 Documentati

[PATCH 14/38] dt-bindings: power: supply: sc2731-charger: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/sc2731-charger.yaml | 53 +++ .../bindings/power/supply/sc2731_charger.txt | 40 -- 2 files changed, 53 insertions(+), 40 deletions(-) create mode 100644 Documen

[PATCH 00/38] Convert power-supply DT bindings to YAML

2021-03-12 Thread Sebastian Reichel
Hi, I keep getting patches for existing drivers, that modify DT behaviour without updating the binding file. Let's move everything to DT schema files, so that this can easily be cached automatically by dtbs_check. After this series only three bindings are left unconverted: 1. max8925_battery.txt

[PATCH 12/38] dt-bindings: power: supply: ds2760: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/maxim,ds2760.txt| 26 --- .../bindings/power/supply/maxim,ds2760.yaml | 45 +++ 2 files changed, 45 insertions(+), 26 deletions(-) delete mode 100644 Documentat

[PATCH 07/38] dt-bindings: power: supply: bq2415x: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/bq2415x.txt | 47 - .../bindings/power/supply/bq2415x.yaml| 98 +++ 2 files changed, 98 insertions(+), 47 deletions(-) delete mode 100644 Documentation

[PATCH 03/38] dt-bindings: power: supply: cpcap-charger: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. I also added the missing bits used by the only in-tree user and implemented in the driver. Cc: Tony Lindgren Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/cpcap-charger.txt | 40 --- .../bindings/power/supply/cpcap-charger.yaml |

[PATCH 11/38] dt-bindings: power: supply: sbs-manager: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/sbs,sbs-manager.txt | 66 --- .../power/supply/sbs,sbs-manager.yaml | 111 ++ 2 files changed, 111 insertions(+), 66 deletions(-) delete mode 100644 Document

[PATCH 09/38] dt-bindings: power: supply: isp1704: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/isp1704.txt | 17 .../bindings/power/supply/isp1704.yaml| 42 +++ 2 files changed, 42 insertions(+), 17 deletions(-) delete mode 100644 Documentation/

[PATCH 13/38] dt-bindings: power: supply: sc27xx-fg: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/sc27xx-fg.txt | 59 --- .../bindings/power/supply/sc27xx-fg.yaml | 98 +++ 2 files changed, 98 insertions(+), 59 deletions(-) delete mode 100644 Documentati

[PATCH 10/38] dt-bindings: power: supply: sbs-charger: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/sbs,sbs-charger.yaml | 55 +++ .../bindings/power/supply/sbs_sbs-charger.txt | 21 --- 2 files changed, 55 insertions(+), 21 deletions(-) create mode 100644 Documentation/

[PATCH 06/38] dt-bindings: power: supply: bq24190: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/bq24190.txt | 61 .../bindings/power/supply/bq24190.yaml| 92 +++ 2 files changed, 92 insertions(+), 61 deletions(-) delete mode 100644 Documentat

[PATCH 15/38] dt-bindings: power: supply: tps65090: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/tps65090-charger.yaml| 36 +++ .../bindings/power/supply/tps65090.txt| 17 - 2 files changed, 36 insertions(+), 17 deletions(-) create mode 100644 Documentatio

[PATCH 17/38] dt-bindings: power: supply: twl4030: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/twl-charger.txt | 30 .../power/supply/twl4030-charger.yaml | 68 +++ 2 files changed, 68 insertions(+), 30 deletions(-) delete mode 100644 Documentation

[PATCH 20/38] dt-bindings: power: supply: max17040: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/max17040_battery.txt | 52 -- .../bindings/power/supply/maxim,max17040.yaml | 95 +++ 2 files changed, 95 insertions(+), 52 deletions(-) delete mode 100644 Documentati

[PATCH 35/38] dt-bindings: power: supply: ab8500: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Note: The battery node does not have a compatible value and needs to be described from the binding file for the PMIC. That has not yet been converted, so I kept the information in plaintext for now. Signed-off-by: Sebastian Reichel --- .../bindings/power

[PATCH 26/38] dt-bindings: power: supply: pm8941-coincell: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/qcom,coincell-charger.txt| 48 --- .../power/supply/qcom,pm8941-coincell.yaml| 58 +++ 2 files changed, 58 insertions(+), 48 deletions(-) delete mode 100644 Docume

[PATCH 19/38] dt-bindings: power: supply: lego-ev3-battery: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Cc: David Lechner Signed-off-by: Sebastian Reichel --- .../power/supply/lego,ev3-battery.yaml| 55 +++ .../power/supply/lego_ev3_battery.txt | 21 --- 2 files changed, 55 insertions(+), 21 deletions(-) create mode 100

[PATCH 22/38] dt-bindings: power: supply: max17042: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/max17042_battery.txt | 35 - .../bindings/power/supply/maxim,max17042.yaml | 78 +++ 2 files changed, 78 insertions(+), 35 deletions(-) delete mode 100644 Documentatio

[PATCH 23/38] dt-bindings: power: supply: max8903: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/max8903-charger.txt | 24 --- .../bindings/power/supply/maxim,max8903.yaml | 67 +++ 2 files changed, 67 insertions(+), 24 deletions(-) delete mode 100644 Documentation/

[PATCH 08/38] dt-bindings: power: supply: bq24735: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/bq24735.yaml| 88 +++ .../bindings/power/supply/ti,bq24735.txt | 39 2 files changed, 88 insertions(+), 39 deletions(-) create mode 100644 Documentation/

[PATCH 01/38] ARM: dts: motorola-cpcap-mapphone: Prepare for dtbs_check parsing

2021-03-12 Thread Sebastian Reichel
'<&gpio1 parameters &gpio2 parameters>' and '<&gpio1 parameters>, <&gpio2 parameters>' result in the same DTB, but second format has better source code readability. Also 'dtbs_check' currently uses this format to determine the amount of items specified, so using this syntax is needed to successfull

[PATCH 16/38] dt-bindings: power: supply: tps65217: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/tps65217-charger.yaml| 43 +++ .../power/supply/tps65217_charger.txt | 17 2 files changed, 43 insertions(+), 17 deletions(-) create mode 100644 Documentation

[PATCH 18/38] dt-bindings: power: supply: n900-battery: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Cc: Pali Rohár Signed-off-by: Sebastian Reichel --- .../power/supply/nokia,n900-battery.yaml | 49 +++ .../bindings/power/supply/rx51-battery.txt| 25 -- 2 files changed, 49 insertions(+), 25 deletions(-) create mode 100

[PATCH 37/38] dt-bindings: power: supply: Fix remaining battery.txt links

2021-03-12 Thread Sebastian Reichel
Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/power/supply/battery.txt | 3 --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml| 2 +- .../devicetree/bindings/power/supply/rohm,bd99954.yaml | 2 +- 3 files changed, 2 insertions(+), 5 deletions(

[PATCH 36/38] dt-bindings: power: supply: sbs-battery: Fix dtbs_check

2021-03-12 Thread Sebastian Reichel
Existing in-tree users make use of '"ti,bq20z45", "sbs,sbs-battery"', so add it to the list of known compatible strings. Also add missing support for the generic 'power-supplies' property by importing power-supply.yaml and setting unevaluatedProperties instead of additionalProperties. Signed-off-

[PATCH 34/38] dt-bindings: power: supply: olpc-battery: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../bindings/power/supply/olpc-battery.yaml | 27 +++ .../bindings/power/supply/olpc_battery.txt| 5 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 Documentation/devi

[PATCH 27/38] dt-bindings: power: supply: act8945a: Convert to DT schema format

2021-03-12 Thread Sebastian Reichel
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/act8945a-charger.txt | 44 --- .../supply/active-semi,act8945a-charger.yaml | 77 +++ 2 files changed, 77 insertions(+), 44 deletions(-) delete mode 100644 Documentat

[PATCH 38/38] dt-bindings: power: supply: Drop power_supply.txt

2021-03-12 Thread Sebastian Reichel
The file has been replaced by power-supply.yaml and all links have been updated to the new file. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/power/supply/power_supply.txt | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 Documentation/devicetree/bindings/powe

Re: [PATCH v15 5/8] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-03-12 Thread Vincenzo Frascino
On 3/12/21 3:29 PM, Catalin Marinas wrote: > On Fri, Mar 12, 2021 at 03:23:44PM +, Vincenzo Frascino wrote: >> On 3/12/21 3:13 PM, Catalin Marinas wrote: >>> On Fri, Mar 12, 2021 at 02:22:07PM +, Vincenzo Frascino wrote: diff --git a/arch/arm64/include/asm/mte.h b/arch/arm64/include

[PATCH v7 0/3] block device interposer

2021-03-12 Thread Sergei Shtepa
Hi all. I'm joyful to suggest the block device interposer (bdev_interposer) v7. bdev_interposer allows to redirect bio requests to other block devices. In this series of patches I suggest a different implementation of the bio interception mechanism. Now the interposer is a different block device.

[PATCH v7 2/3] block: add bdev_interposer

2021-03-12 Thread Sergei Shtepa
bdev_interposer allows to redirect bio requests to another devices. Signed-off-by: Sergei Shtepa --- block/bio.c | 2 ++ block/blk-core.c | 57 +++ block/genhd.c | 54 + include/linux/blk_

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

2021-03-12 Thread Song Liu
> On Mar 12, 2021, at 4:12 AM, Jiri Olsa wrote: > > On Thu, Mar 11, 2021 at 06:02:57PM -0800, 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 prog

[PATCH v7 1/3] block: add blk_mq_is_queue_frozen()

2021-03-12 Thread Sergei Shtepa
blk_mq_is_queue_frozen() allow to assert that the queue is frozen. Signed-off-by: Sergei Shtepa --- block/blk-mq.c | 13 + include/linux/blk-mq.h | 1 + 2 files changed, 14 insertions(+) diff --git a/block/blk-mq.c b/block/blk-mq.c index d4d7c1caa439..2f188a865024 100644 --

[PATCH v7 3/3] dm: add DM_INTERPOSED_FLAG

2021-03-12 Thread Sergei Shtepa
DM_INTERPOSED_FLAG allow to create DM targets on "the fly". Underlying block device opens without a flag FMODE_EXCL. DM target receives bio from the original device via bdev_interposer. Signed-off-by: Sergei Shtepa --- drivers/md/dm-core.h | 3 ++ drivers/md/dm-ioctl.c | 13 +++

[PATCH] RISC-V: Fix out-of-bounds accesses in init_resources()

2021-03-12 Thread Geert Uytterhoeven
init_resources() allocates an array of resources, based on the current total number of memory regions and reserved memory regions. However, allocating this array using memblock_alloc() might increase the number of reserved memory regions. If that happens, populating the array later based on the n

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: slow boot with 7fef431be9c9 ("mm/page_alloc: place pages to tail in __free_pages_core()")

2021-03-12 Thread David Hildenbrand
8G (with some carve out for the integrated GPU). [0.044181] Memory: 6858688K/7200304K available (14345K kernel code, 9659K rwdata, 4980K rodata, 2484K init, 12292K bss, 341360K reserved, 0K cma-reserved) Nothing particularly special about these systems that I am aware of. I'll see if we ca

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

2021-03-12 Thread Tong Zhang
Hi Andy, Complete newbie here, could you please remind me of the tag you are referring to? I am not really familiar with the process. Thanks, - Tong On Fri, Mar 12, 2021 at 10:35 AM Andy Shevchenko wrote: > > On Fri, Mar 12, 2021 at 4:21 PM Tong Zhang wrote: > > > > ADF_STATUS_PF_RUNNING is (on

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