[PATCH v3 03/10] ASoC: SOF: Create client driver for IPC test

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Create an SOF client driver for IPC flood test. This driver is used to set up the debugfs entries and the read/write ops for initiating the IPC flood test that would be used to measure the min/max/avg response times for sending IPCs to the DSP. The debugfs ops definitions

[PATCH v3 08/10] ASoC: SOF: compress: move and export sof_probe_compr_ops

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan sof_probe_compr_ops are not platform-specific. So move it to common compress code and export the symbol. The compilation of the common compress code is already dependent on the selection of CONFIG_SND_SOC_SOF_DEBUG_PROBES, so no need to check the Kconfig section for defini

[PATCH v3 02/10] ASoC: SOF: Introduce descriptors for SOF client

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan A client in the SOF (Sound Open Firmware) context is a device that needs to communicate with the DSP via IPC messages. The SOF core is responsible for serializing the IPC messages to the DSP from the different clients. One example of an SOF client would be an IPC test clie

[PATCH v3 09/10] ASoC: SOF: Add new client driver for probes support

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Add a new client driver for probes support and move all the probes-related code from the core to the client driver. The probes client driver registers a component driver with one CPU DAI driver for extraction and creates a new sound card with one DUMMY DAI link with a dum

[PATCH v3 06/10] ASoC: SOF: Intel: Remove IPC flood test support in SOF core

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Remove the IPC flood test support in the SOF core as it is now added in the IPC flood test client. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/Kconfig| 8 -- sound/soc/so

[PATCH v3 07/10] ASoC: SOF: sof-client: Add client APIs to access probes ops

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Add client APIs to invoke the platform-specific DSP probes ops. Also, add a new API to get the SOF core device pointer which will be used for DMA buffer allocation. Reviewed-by: Pierre-Louis Bossart Tested-by: Fred Oh Signed-off-by: Ranjani Sridharan Signed-off-by: Dav

[PATCH v3 10/10] ASoC: SOF: Intel: CNL: register probes client

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Register the client device for probes support on the CNL platform. Creating this client device alleviates the need for modifying the sound card definitions in the existing machine drivers to add support for the new probes feature in the FW. This will result in the creation

[PATCH v3 04/10] ASoC: SOF: ops: Add ops for client registration

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Add new ops for registering/unregistering clients based on DSP capabilities and/or DT information. Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Signed-off-by: Dave Ertman --- sound/soc/sof/core.c | 10 ++ sound/soc/sof/ops.h | 14

[PATCH v3 05/10] ASoC: SOF: Intel: Define ops for client registration

2020-10-22 Thread Dave Ertman
From: Ranjani Sridharan Define client ops for Intel platforms. For now, we only add 2 IPC test clients that will be used for run tandem IPC flood tests for. For ACPI platforms, change the Kconfig to select SND_SOC_SOF_PROBE_WORK_QUEUE to allow the ancillary driver to probe when the client is reg

[PATCH v3 01/10] Add auxiliary bus support

2020-10-22 Thread Dave Ertman
Add support for the Auxiliary Bus, auxiliary_device and auxiliary_driver. It enables drivers to create an auxiliary_device and bind an auxiliary_driver to it. The bus supports probe/remove shutdown and suspend/resume callbacks. Each auxiliary_device has a unique string based id; driver binds to an

[PATCH v3 00/10] Auxiliary bus implementation and SOF multi-client support

2020-10-22 Thread Dave Ertman
Brief history of Auxiliary Bus == The auxiliary bus code was originally submitted upstream as virtual bus, and was submitted through the netdev tree.  This process generated up to v4.  This discussion can be found here: https://lore.kernel.org/netdev/2019192219.30259

Re: [RFC 1/2] printk: Add kernel parameter: mute_console

2020-10-22 Thread Sergey Senozhatsky
On (20/10/22 13:42), Petr Mladek wrote: > +static bool mute_console; > + > +static int __init mute_console_setup(char *str) > +{ > + mute_console = true; > + pr_info("All consoles muted.\n"); > + > + return 0; > +} First of all, thanks a lot for picking this up and for the patch set!

[tip:x86/urgent] BUILD SUCCESS abee7c494d8c41bb388839bccc47e06247f0d7de

2020-10-22 Thread kernel test robot
werpc allnoconfig i386 randconfig-a002-20201022 i386 randconfig-a005-20201022 i386 randconfig-a003-20201022 i386 randconfig-a001-20201022 i386 randconfig-a006-20201022 i386 randc

Re: mmstress[1309]: segfault at 7f3d71a36ee8 ip 00007f3d77132bdf sp 00007f3d71a36ee8 error 4 in libc-2.27.so[7f3d77058000+1aa000]

2020-10-22 Thread Linus Torvalds
On Thu, Oct 22, 2020 at 5:11 PM Linus Torvalds wrote: > > In particular, I wonder if it's that KASAN causes some reload pattern, > and the whole > > register __typeof__(*(ptr)) __val_pu asm("%"_ASM_AX); > .. > asm volatile(.. "r" (__val_pu) ..) > > thing causes problems. That pattern is

Re: linux-next: build warning after merge of the block tree

2020-10-22 Thread Jens Axboe
On 10/22/20 5:48 PM, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (KCONFIG_NAME) > produced this warning: > > fs/io_uring.c: In function 'loop_rw_iter': > fs/io_uring.c:3141:21: warning: cast to pointer from integer of different > size [-Wint-to-po

Re: [PATCH] KVM: X86: Expose KVM_HINTS_REALTIME in KVM_GET_SUPPORTED_CPUID

2020-10-22 Thread Wanpeng Li
On Thu, 22 Oct 2020 at 21:02, Paolo Bonzini wrote: > > On 22/10/20 03:34, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Per KVM_GET_SUPPORTED_CPUID ioctl documentation: > > > > This ioctl returns x86 cpuid features which are supported by both the > > hardware and kvm in its default configuration

Re: [PATCH/RFC net] net: dec: tulip: de2104x: Add shutdown handler to stop NIC

2020-10-22 Thread Moritz Fischer
On Thu, Oct 22, 2020 at 04:04:16PM -0700, James Bottomley wrote: > On Thu, 2020-10-22 at 15:06 -0700, Moritz Fischer wrote: > > The driver does not implement a shutdown handler which leads to > > issues > > when using kexec in certain scenarios. The NIC keeps on fetching > > descriptors which gets

Re: mmstress[1309]: segfault at 7f3d71a36ee8 ip 00007f3d77132bdf sp 00007f3d71a36ee8 error 4 in libc-2.27.so[7f3d77058000+1aa000]

2020-10-22 Thread Linus Torvalds
On Thu, Oct 22, 2020 at 4:43 PM Linus Torvalds wrote: > > Thanks. Very funky, but thanks. I've been running that commit on my > machine for over half a year, and it still looks "trivially correct" > to me, but let me go look at it one more time. Can't argue with a > reliable bisect and revert.. H

[git pull] drm fixes part 2 for 5.10-rc1

2020-10-22 Thread Dave Airlie
Hi Linus, This should be the last round of things for rc1, a bunch of i915 fixes, some amdgpu, more font OOB fixes and one ttm fix just found reading code. Dave. drm-next-2020-10-23: drm fixes (round two) for 5.10-rc1 fbcon/fonts: - Two patches to prevent OOB access ttm: - fix for eviction val

Re: [PATCH v2 2/2] net: phy: adin: implement cable-test support

2020-10-22 Thread Jakub Kicinski
On Thu, 22 Oct 2020 10:45:51 +0300 Alexandru Ardelean wrote: > The ADIN1300/ADIN1200 support cable diagnostics using TDR. > > The cable fault detection is automatically run on all four pairs looking at > all combinations of pair faults by first putting the PHY in standby (clear > the LINK_EN bit,

Re: [PATCH v4] mm: memcg/slab: Stop reparented obj_cgroups from charging root

2020-10-22 Thread Shakeel Butt
On Thu, Oct 22, 2020 at 10:25 AM Roman Gushchin wrote: > [snip] > > > > Since bf4f059954dc ("mm: memcg/slab: obj_cgroup API") is in 5.9, I > > think we can take this patch for 5.9 and 5.10 but keep Roman's cleanup > > for 5.11. > > > > What does everyone think? > > I think we should use the link t

Re: [PATCH] ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it

2020-10-22 Thread Brendan Higgins
On Wed, Oct 21, 2020 at 3:36 PM Theodore Y. Ts'o wrote: > > On Wed, Oct 21, 2020 at 02:16:56PM -0700, Randy Dunlap wrote: > > On 10/21/20 2:15 PM, Brendan Higgins wrote: > > > On Tue, Oct 20, 2020 at 12:37 AM Geert Uytterhoeven > > > wrote: > > >> > > >> EXT4_KUNIT_TESTS selects EXT4_FS, thus ena

Re: mmstress[1309]: segfault at 7f3d71a36ee8 ip 00007f3d77132bdf sp 00007f3d71a36ee8 error 4 in libc-2.27.so[7f3d77058000+1aa000]

2020-10-22 Thread Linus Torvalds
On Thu, Oct 22, 2020 at 1:55 PM Naresh Kamboju wrote: > > The bad commit points to, > > commit d55564cfc222326e944893eff0c4118353e349ec > x86: Make __put_user() generate an out-of-line call > > I have reverted this single patch and confirmed the reported > problem is not seen anymore. Thanks. Ver

linux-next: build warning after merge of the block tree

2020-10-22 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (KCONFIG_NAME) produced this warning: fs/io_uring.c: In function 'loop_rw_iter': fs/io_uring.c:3141:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3141 |iovec.iov_base = (void __user *) req->

Re: [PATCH v1 0/2] mm: cma: introduce a non-blocking version of cma_release()

2020-10-22 Thread Zi Yan
On 22 Oct 2020, at 18:53, Roman Gushchin wrote: > This small patchset introduces a non-blocking version of cma_release() > and simplifies the code in hugetlbfs, where previously we had to > temporarily drop hugetlb_lock around the cma_release() call. > > It should help Zi Yan on his work on 1 GB T

Re: [PATCH v4 seccomp 5/5] seccomp/cache: Report cache data through /proc/pid/seccomp_cache

2020-10-22 Thread YiFei Zhu
On Thu, Oct 22, 2020 at 5:32 PM Kees Cook wrote: > I've been going back and forth on this, and I think what I've settled > on is I'd like to avoid new CONFIG dependencies just for this feature. > Instead, how about we just fill in SECCOMP_NATIVE and SECCOMP_COMPAT > for all the HAVE_ARCH_SECCOMP_F

Re: [PATCH 3/6] fs: Convert block_read_full_page to be synchronous

2020-10-22 Thread Eric Biggers
On Thu, Oct 22, 2020 at 10:22:25PM +0100, Matthew Wilcox (Oracle) wrote: > +static int readpage_submit_bhs(struct page *page, struct blk_completion > *cmpl, > + unsigned int nr, struct buffer_head **bhs) > +{ > + struct bio *bio = NULL; > + unsigned int i; > + int err; > +

Spende: 2 Millionen Euro

2020-10-22 Thread Manuel Franco
-- Mein Name ist Manuel Franco, ich bin der Gewinner des Powerball Mega Jackpot-Gewinners in Höhe von 768 Millionen US-Dollar aus New Jersey, USA, und ich freue mich, Ihnen zu gratulieren, dass Sie zufällig unter den 5 glücklichen Menschen ausgewählt wurden, denen ich jeweils 2 Millionen Euro

Re: [PATCH 3/6] fs: Convert block_read_full_page to be synchronous

2020-10-22 Thread Eric Biggers
On Thu, Oct 22, 2020 at 10:22:25PM +0100, Matthew Wilcox (Oracle) wrote: > Use the new blk_completion infrastructure to wait for multiple I/Os. > Also coalesce adjacent buffer heads into a single BIO instead of > submitting one BIO per buffer head. This doesn't work for fscrypt yet, > so keep the

Re: [PATCH v2] usb: typec: Expose Product Type VDOs via sysfs

2020-10-22 Thread Benson Leung
Hi Heikki, On Thu, Oct 22, 2020 at 5:43 AM Heikki Krogerus wrote: > > On Thu, Oct 22, 2020 at 12:25:07AM -0700, Prashant Malani wrote: > > Hi Greg, > > > > On Thu, Oct 22, 2020 at 12:17 AM Greg KH wrote: > > > > > > > > > +What: > > > > > > /sys/class/typec/-partner/identity/prod

Re: [PATCH v8 4/4] bus: mhi: Add userspace client interface driver

2020-10-22 Thread Hemant Kumar
Hi Loic, On 10/22/20 3:20 AM, Loic Poulain wrote: Hi Hemant, A few comments inline. On Thu, 22 Oct 2020 at 10:22, Hemant Kumar wrote: This MHI client driver allows userspace clients to transfer raw data between MHI device and host using standard file operations. Driver instantiates UCI devi

Re: [PATCH v3 1/3] ARM: dts: rockchip: veyron: Remove 0 point from brightness-levels

2020-10-22 Thread Doug Anderson
Hi, On Wed, Oct 21, 2020 at 10:05 PM Alexandru Stan wrote: > > The extra 0 only adds one point in the userspace visible range, > so this change is almost a noop with the current driver behavior. > > We don't need the 0% point, userspace seems to handle this just fine > because it uses the bl_powe

Re: [PATCH 2/2] venus: venc: fix handlig of S_SELECTION and G_SELECTION

2020-10-22 Thread Tomasz Figa
On Thu, Oct 22, 2020 at 6:37 AM wrote: > > Hi Tomasz, > > On 2020-10-13 19:09, Tomasz Figa wrote: > > Hi Vikash, > > > > On Tue, Oct 13, 2020 at 02:56:21PM +0530, vgaro...@codeaurora.org > > wrote: > >> > >> On 2020-10-08 19:51, Tomasz Figa wrote: > >> > On Wed, Oct 7, 2020 at 9:33 PM wrote: > >>

Re: [PATCH v3 2/3] arm64: dts: qcom: trogdor: Add brightness-levels

2020-10-22 Thread Doug Anderson
Hi, On Wed, Oct 21, 2020 at 10:05 PM Alexandru Stan wrote: > > We want userspace to represent the human perceived brightness. > Since the led drivers and the leds themselves don't have a > linear response to the value we give them in terms of perceived > brightness, we'll bake the curve into the

Re: [PATCH/RFC net] net: dec: tulip: de2104x: Add shutdown handler to stop NIC

2020-10-22 Thread James Bottomley
On Thu, 2020-10-22 at 15:06 -0700, Moritz Fischer wrote: > The driver does not implement a shutdown handler which leads to > issues > when using kexec in certain scenarios. The NIC keeps on fetching > descriptors which gets flagged by the IOMMU with errors like this: > > DMAR: DMAR:[DMA read] Requ

[PATCH v1 2/2] mm: hugetlb: don't drop hugetlb_lock around cma_release() call

2020-10-22 Thread Roman Gushchin
Replace blocking cma_release() with a non-blocking cma_release_nowait() call, so there is no more need to temporarily drop hugetlb_lock. Signed-off-by: Roman Gushchin --- mm/hugetlb.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c inde

[PATCH v1 0/2] mm: cma: introduce a non-blocking version of cma_release()

2020-10-22 Thread Roman Gushchin
This small patchset introduces a non-blocking version of cma_release() and simplifies the code in hugetlbfs, where previously we had to temporarily drop hugetlb_lock around the cma_release() call. It should help Zi Yan on his work on 1 GB THPs: splitting a gigantic THP under a memory pressure requ

[PATCH v1 1/2] mm: cma: introduce cma_release_nowait()

2020-10-22 Thread Roman Gushchin
cma_release() has to lock the cma_lock mutex to clear the cma bitmap. It makes it a blocking function, which complicates its usage from non-blocking contexts. For instance, hugetlbfs code is temporarily dropping the hugetlb_lock spinlock to call cma_release(). This patch introduces a non-blocking

Re: [PATCH v2] checkpatch: fix false positives in REPEATED_WORD warning

2020-10-22 Thread Joe Perches
On Fri, 2020-10-23 at 02:35 +0530, Aditya wrote: > On 23/10/20 1:03 am, Joe Perches wrote: > > On Fri, 2020-10-23 at 00:44 +0530, Aditya wrote: > > > On 22/10/20 9:40 pm, Joe Perches wrote: > > > > On Thu, 2020-10-22 at 20:20 +0530, Aditya Srivastava wrote: > > > > > Presence of hexadecimal address

Re: [PATCH v4 4/4] PCI: Limit pci_alloc_irq_vectors() to housekeeping CPUs

2020-10-22 Thread Thomas Gleixner
On Thu, Oct 22 2020 at 09:28, Marcelo Tosatti wrote: > On Wed, Oct 21, 2020 at 10:25:48PM +0200, Thomas Gleixner wrote: >> The right answer to this is to utilize managed interrupts and have >> according logic in your network driver to handle CPU hotplug. When a CPU >> goes down, then the queue whic

Re: [PATCH 2/2] arm64: scs: use vmapped IRQ and SDEI shadow stacks

2020-10-22 Thread Kees Cook
On Thu, Oct 22, 2020 at 01:23:55PM -0700, Sami Tolvanen wrote: > Use scs_alloc() to allocate also IRQ and SDEI shadow stacks instead of > using statically allocated stacks. > > Signed-off-by: Sami Tolvanen Reviewed-by: Kees Cook -- Kees Cook

Re: [PATCH 1/2] scs: switch to vmapped shadow stacks

2020-10-22 Thread Kees Cook
On Thu, Oct 22, 2020 at 01:23:54PM -0700, Sami Tolvanen wrote: > The kernel currently uses kmem_cache to allocate shadow call stacks, > which means an overflow may not be immediately detected and can > potentially result in another task's shadow stack to be overwritten. > > This change switches SC

Spende: 2 Millionen Euro

2020-10-22 Thread Manuel Franco
-- Mein Name ist Manuel Franco, ich bin der Gewinner des Powerball Mega Jackpot-Gewinners in Höhe von 768 Millionen US-Dollar aus New Jersey, USA, und ich freue mich, Ihnen zu gratulieren, dass Sie zufällig unter den 5 glücklichen Menschen ausgewählt wurden, denen ich jeweils 2 Millionen Euro

Re: [PATCH v4 5/6] IMA: add hook to measure critical data from kernel components

2020-10-22 Thread Mimi Zohar
Hi Tushar, On Wed, 2020-09-23 at 12:20 -0700, Tushar Sugandhi wrote: > Currently, IMA does not provide a generic function for kernel components > to measure their data. A generic function provided by IMA would > enable various parts of the kernel with easier and faster on-boarding to > use IMA inf

Re: [PATCH v4 seccomp 5/5] seccomp/cache: Report cache data through /proc/pid/seccomp_cache

2020-10-22 Thread Kees Cook
On Thu, Oct 22, 2020 at 03:52:20PM -0500, YiFei Zhu wrote: > On Mon, Oct 12, 2020 at 7:31 PM YiFei Zhu wrote: > > > > On Mon, Oct 12, 2020 at 5:57 PM Kees Cook wrote: > > > I think it's fine to just have this "dangle" with a help text update of > > > "if seccomp action caching is supported by the

[PATCH] call_rcu: Fix race between rcu_barrier() and call_rcu_data_free()

2020-10-22 Thread Paul E. McKenney
The current code can lose RCU callbacks at shutdown time, which can result in hangs. This lossage can happen as follows: o A thread invokes call_rcu_data_free(), which executes up through the wake_call_rcu_thread(). At this point, the call_rcu_data structure has been draine

[PATCH 06/10] x86/entry: Move nmi entry/exit into common code

2020-10-22 Thread ira . weiny
From: Thomas Gleixner Lockdep state handling on NMI enter and exit is nothing specific to X86. It's not any different on other architectures. Also the extra state type is not necessary, irqentry_state_t can carry the necessary information as well. Move it to common code and extend irqentry_state

[PATCH 05/10] x86/pks: Add PKS kernel API

2020-10-22 Thread ira . weiny
From: Fenghua Yu PKS allows kernel users to define domains of page mappings which have additional protections beyond the paging protections. Add an API to allocate, use, and free a protection key which identifies such a domain. Export 5 new symbols pks_key_alloc(), pks_mknoaccess(), pks_mkread(

[PATCH 09/10] x86/fault: Report the PKRS state on fault

2020-10-22 Thread ira . weiny
From: Ira Weiny When only user space pkeys are enabled faulting within the kernel was an unexpected condition which should never happen. Therefore a WARN_ON in the kernel fault handler would detect if it ever did. Now this is no longer the case if PKS is enabled and supported. Report a Pkey fa

[PATCH 01/10] x86/pkeys: Create pkeys_common.h

2020-10-22 Thread ira . weiny
From: Ira Weiny Protection Keys User (PKU) and Protection Keys Supervisor (PKS) work in similar fashions and can share common defines. Specifically PKS and PKU each have: 1. A single control register 2. The same number of keys 3. The same number of bits in the register p

[PATCH 04/10] x86/pks: Preserve the PKRS MSR on context switch

2020-10-22 Thread ira . weiny
From: Ira Weiny The PKRS MSR is defined as a per-logical-processor register. This isolates memory access by logical CPU. Unfortunately, the MSR is not managed by XSAVE. Therefore, tasks must save/restore the MSR value on context switch. Define a saved PKRS value in the task struct, as well as

[PATCH 03/10] x86/pks: Enable Protection Keys Supervisor (PKS)

2020-10-22 Thread ira . weiny
From: Fenghua Yu Protection Keys for Supervisor pages (PKS) enables fast, hardware thread specific, manipulation of permission restrictions on supervisor page mappings. It uses the same mechanism of Protection Keys as those on User mappings but applies that mechanism to supervisor mappings using

[PATCH 10/10] x86/pks: Add PKS test code

2020-10-22 Thread ira . weiny
From: Ira Weiny The core PKS functionality provides an interface for kernel users to reserve keys to their domains set up the page tables with those keys and control access to those domains when needed. Define test code which exercises the core functionality of PKS via a debugfs entry. Basic ch

[PATCH 00/10] PKS: Add Protection Keys Supervisor (PKS) support

2020-10-22 Thread ira . weiny
From: Ira Weiny Changes from RFC V3[3] Rebase to TIP master Update test error output Standardize on 'irq_state' for state variables From Dave Hansen Update commit messages Add/clean up comments Add X86_FEATURE_PKS to

[PATCH 07/10] x86/entry: Pass irqentry_state_t by reference

2020-10-22 Thread ira . weiny
From: Ira Weiny In preparation for adding PKS information to struct irqentry_state_t change all call sites and usages to pass the struct by reference instead of by value. While we are editing the call sites it is a good time to standardize on the name 'irq_state'. Signed-off-by: Ira Weiny ---

[PATCH 02/10] x86/fpu: Refactor arch_set_user_pkey_access() for PKS support

2020-10-22 Thread ira . weiny
From: Ira Weiny Define a helper, update_pkey_val(), which will be used to support both Protection Key User (PKU) and the new Protection Key for Supervisor (PKS) in subsequent patches. Co-developed-by: Peter Zijlstra Signed-off-by: Peter Zijlstra Signed-off-by: Ira Weiny --- Changes from RFC

[PATCH 08/10] x86/entry: Preserve PKRS MSR across exceptions

2020-10-22 Thread ira . weiny
From: Ira Weiny The PKRS MSR is not managed by XSAVE. It is preserved through a context switch but this support leaves exception handling code open to memory accesses during exceptions. 2 possible places for preserving this state were considered, irqentry_state_t or pt_regs.[1] pt_regs was muc

Re: [PATCH blktests v3 00/11] NVMe Target Passthru Block Tests

2020-10-22 Thread Logan Gunthorpe
On 2020-10-22 4:04 p.m., Omar Sandoval wrote: > On Thu, Oct 22, 2020 at 12:45:25PM -0600, Logan Gunthorpe wrote: >> >> On 2020-10-08 10:40 a.m., Logan Gunthorpe wrote: >>> Hi, >>> >>> This series adds blktests for the nvmet passthru feature that was merged >>> for 5.9. It's been reconciled with

[PATCH v2] mmc: sdhci-of-esdhc: set timeout to max before tuning

2020-10-22 Thread Michael Walle
On rare occations there is the following error: mmc0: Tuning timeout, falling back to fixed sampling clock There are SD cards which takes a significant longer time to reply to the first CMD19 command. The eSDHC takes the data timeout value into account during the tuning period. The SDHCI core d

Re: BTI interaction between seccomp filters in systemd and glibc mprotect calls, causing service failures

2020-10-22 Thread Topi Miettinen
On 22.10.2020 23.02, Kees Cook wrote: On Thu, Oct 22, 2020 at 01:39:07PM +0300, Topi Miettinen wrote: But I think SELinux has a more complete solution (execmem) which can track the pages better than is possible with seccomp solution which has a very narrow field of view. Maybe this facility coul

[GIT PULL] vfs: move the clone/dedupe/remap helpers to a single file

2020-10-22 Thread Darrick J. Wong
Hi Linus, Please pull this small refactoring series that moves all the support functions for file range remapping (aka reflink and dedupe) out of mm/filemap.c and fs/read_write.c and into fs/remap_range.c. It's been a full week since the initial discussion[1] on fsdevel, and in that time, nobody

Spende: 2 Millionen Euro

2020-10-22 Thread Manuel Franco
-- Mein Name ist Manuel Franco, ich bin der Gewinner des Powerball Mega Jackpot-Gewinners in Höhe von 768 Millionen US-Dollar aus New Jersey, USA, und ich freue mich, Ihnen zu gratulieren, dass Sie zufällig unter den 5 glücklichen Menschen ausgewählt wurden, denen ich jeweils 2 Millionen Euro

Re: [PATCH][next] docs/vm: trivial fixes to several spelling mistakes

2020-10-22 Thread Jonathan Corbet
On Thu, 22 Oct 2020 15:26:53 +0100 Colin King wrote: > From: Colin Ian King > > Fix several spelling mistakes in vm documentation. > > Signed-off-by: Colin Ian King > --- > Documentation/vm/mmu_notifier.rst | 2 +- > Documentation/vm/page_migration.rst | 2 +- > Documentation/vm/page_owner

Re: [PATCH v2 8/8] x86/ioapic: Generate RTE directly from parent irqchip's MSI message

2020-10-22 Thread Thomas Gleixner
On Thu, Oct 22 2020 at 23:43, Thomas Gleixner wrote: > On Fri, Oct 09 2020 at 11:46, David Woodhouse wrote: > Aside of that it works magically because polarity,trigger and mask bit > have been set up before. But of course a comment about this is > completely overrated. Also this part: > -static v

[PATCH/RFC net] net: dec: tulip: de2104x: Add shutdown handler to stop NIC

2020-10-22 Thread Moritz Fischer
The driver does not implement a shutdown handler which leads to issues when using kexec in certain scenarios. The NIC keeps on fetching descriptors which gets flagged by the IOMMU with errors like this: DMAR: DMAR:[DMA read] Request device [5e:00.0]fault addr f000 DMAR: DMAR:[DMA read] Request

RE: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread David Laight
From: Al Viro > Sent: 22 October 2020 20:25 > > On Thu, Oct 22, 2020 at 12:04:52PM -0700, Nick Desaulniers wrote: > > > Passing an `unsigned long` as an `unsigned int` does no such > > narrowing: https://godbolt.org/z/TvfMxe (same vice-versa, just tail > > calls, no masking instructions). > > So

[PATCH] smp: Add bootcpus parameter to boot subset of CPUs

2020-10-22 Thread Elliot Berman
In a heterogeneous multiprocessor system, specifying the 'maxcpus' parameter on kernel command line does not provide sufficient control over which CPUs are brought online at kernel boot time, since CPUs may have nonuniform performance characteristics. Thus, add bootcpus kernel parameter to control

RE: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread David Laight
From: Nick Desaulniers > Sent: 22 October 2020 20:05 > ... > Passing an `unsigned long` as an `unsigned int` does no such > narrowing: https://godbolt.org/z/TvfMxe (same vice-versa, just tail > calls, no masking instructions). Right but is the called function going to use 32bit ops and/or mask th

Re: [PATCH blktests v3 00/11] NVMe Target Passthru Block Tests

2020-10-22 Thread Omar Sandoval
On Thu, Oct 22, 2020 at 12:45:25PM -0600, Logan Gunthorpe wrote: > > On 2020-10-08 10:40 a.m., Logan Gunthorpe wrote: > > Hi, > > > > This series adds blktests for the nvmet passthru feature that was merged > > for 5.9. It's been reconciled with Sagi's blktest series that Omar > > recently merged

Re: [PATCH 07/13] remoteproc: Introduce function rproc_detach()

2020-10-22 Thread Mathieu Poirier
On Thu, Oct 15, 2020 at 01:52:16AM +, Peng Fan wrote: > > Subject: [PATCH 07/13] remoteproc: Introduce function rproc_detach() > > > > Introduce function rproc_detach() to enable the remoteproc core to release > > the resources associated with a remote processor without stopping its > > operat

Re: [PATCH 05/13] remoteproc: Add new detach() remoteproc operation

2020-10-22 Thread Mathieu Poirier
Hi Peng - I restarting work on this topic. On Thu, Oct 15, 2020 at 01:37:42AM +, Peng Fan wrote: > > Subject: [PATCH 05/13] remoteproc: Add new detach() remoteproc operation > > > > Add an new detach() operation in order to support scenarios where the > > remoteproc core is going away but the

[GIT PULL] Networking

2020-10-22 Thread Jakub Kicinski
Hi Linus! Latest fixes from the networking tree. Experimenting with the format of the description further, I'll find out if you liked it based on how it ends up looking in the tree :) The following changes since commit 9ff9b0d392ea08090cd1780fb196f36dbb586529: Merge tag 'net-next-5.10' of g

[PATCH v3 1/2] bindings: pm8941-misc: Convert to YAML and add support for VBUS detection

2020-10-22 Thread Guru Das Srinagesh
From: Anirudh Ghayal Convert bindings to YAML. Also add compatible string that adds support for reporting the VBUS status that can be detected via a dedicated PMIC pin. Signed-off-by: Anirudh Ghayal Signed-off-by: Guru Das Srinagesh --- .../bindings/extcon/qcom,pm8941-misc.txt | 41

[PATCH v3 0/2] Add support for VBUS detection

2020-10-22 Thread Guru Das Srinagesh
Add support to enable VBUS detection in the pm8941 extcon driver. Changes from v2: - Fix YAML errors in dt binding document. Changes from v1: - Change bindings from txt to YAML. Anirudh Ghayal (2): bindings: pm8941-misc: Convert to YAML and add support for VBUS detection extcon: qcom-spm

[PATCH v3 2/2] extcon: qcom-spmi: Add support for VBUS detection

2020-10-22 Thread Guru Das Srinagesh
From: Anirudh Ghayal VBUS can be detected via a dedicated PMIC pin. Add support for reporting the VBUS status. Signed-off-by: Anirudh Ghayal Signed-off-by: Kavya Nunna Signed-off-by: Guru Das Srinagesh --- drivers/extcon/extcon-qcom-spmi-misc.c | 100 ++--- 1 file

Re: [PATCH v2 8/8] x86/ioapic: Generate RTE directly from parent irqchip's MSI message

2020-10-22 Thread Thomas Gleixner
On Fri, Oct 09 2020 at 11:46, David Woodhouse wrote: @@ -45,12 +45,11 @@ enum irq_alloc_type { }; > +static void mp_swizzle_msi_dest_bits(struct irq_data *irq_data, void *_entry) > +{ > + struct msi_msg msg; > + u32 *entry = _entry; Why is this a void * argument and then converting it t

[PATCH] fs/dcache: optimize start_dir_add()

2020-10-22 Thread Davidlohr Bueso
Considering both end_dir_add() and d_alloc_parallel(), the dir->i_dir_seq wants acquire/release semantics, therefore micro-optimize for ll/sc archs and use finer grained barriers to provide (load)-ACQUIRE ordering (L->S + L->L). This comes at no additional cost for most of x86, as sane tso models w

[PATCH v2 3/3] mfd: Add PM8008 driver

2020-10-22 Thread Guru Das Srinagesh
PM8008 is a PMIC that contains 7 LDOs, 2 GPIOs, temperature monitoring, and can be interfaced over I2C. This driver uses the regmap-irq framework to handle interrupts, creates a regmap and uses it to instantiate all the child nodes under it in the device tree. Only four peripherals have been added

[PATCH v2 2/3] dt-bindings: mfd: Add QCOM PM8008 MFD bindings

2020-10-22 Thread Guru Das Srinagesh
Add device tree bindings for the driver for Qualcomm Technology Inc.'s PM8008 MFD PMIC. Signed-off-by: Guru Das Srinagesh --- .../bindings/mfd/qcom,pm8008-irqchip.yaml | 102 + 1 file changed, 102 insertions(+) create mode 100644 Documentation/devicetree/bindings/m

[PATCH v2 0/3] Add support for Qualcomm MFD PMIC register layout

2020-10-22 Thread Guru Das Srinagesh
Changes from v1: - Fixed YAML errors in dt binding document. This is a follow-up as promised [1] to the earlier attempts [2] [3] to upstream the driver that has been hitherto used to handle IRQs for Qualcomm's PMICs that have multiple on-board peripherals when they are interfaced over the I2C inte

[PATCH v2 1/3] regmap-irq: Add support for peripheral offsets

2020-10-22 Thread Guru Das Srinagesh
Some MFD chips do not have the register space for their peripherals mapped out with a fixed stride. Add peripheral address offsets to the framework to support such address spaces. In this new scheme, the regmap-irq client registering with the framework shall have to define the *_base registers (e.

[PATCH v2] zram: break the strict dependency from lzo

2020-10-22 Thread Rui Salvaterra
There's nothing special about zram and lzo. It works just fine without it, so as long as at least one of the other supported compression algorithms is selected. Signed-off-by: Rui Salvaterra --- v2: fix the dependency on CRYPTO. drivers/block/zram/Kconfig | 6 +- drivers/block/zram/zcomp.c

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Al Viro
On Thu, Oct 22, 2020 at 01:59:32PM -0700, Eric Biggers wrote: > Also note the following program succeeds on Linux 5.9 on x86_64. On kernels > that have this bug, it should fail. (I couldn't get it to actually fail, so > it > must depend on the compiler and/or the kernel config...) It doesn't.

[GIT PULL] chrome-platform changes for v5.10

2020-10-22 Thread Benson Leung
Hello Linus, The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v5.10 for you to

[PATCH 5/6] fs: Turn decrypt_bh into decrypt_bio

2020-10-22 Thread Matthew Wilcox (Oracle)
Pass a bio to decrypt_bio instead of a buffer_head to decrypt_bh. Another step towards doing decryption per-BIO instead of per-BH. Signed-off-by: Matthew Wilcox (Oracle) --- fs/buffer.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/fs/buffer.c b/fs/b

[PATCH 6/6] fs: Convert block_read_full_page to be synchronous with fscrypt enabled

2020-10-22 Thread Matthew Wilcox (Oracle)
Use the new decrypt_end_bio() instead of readpage_end_bio() if fscrypt needs to be used. Remove the old end_buffer_async_read() now that all BHs go through readpage_end_bio(). Signed-off-by: Matthew Wilcox (Oracle) --- fs/buffer.c | 198 1 fi

[PATCH 1/6] block: Add blk_completion

2020-10-22 Thread Matthew Wilcox (Oracle)
This new data structure allows a task to wait for N things to complete. Usually the submitting task will handle cleanup, but if it is killed, the last completer will take care of it. Signed-off-by: Matthew Wilcox (Oracle) --- block/blk-core.c| 61 +

[PATCH 2/6] fs: Return error from block_read_full_page

2020-10-22 Thread Matthew Wilcox (Oracle)
If the filesystem returns an error from get_block, report it instead of ineffectually setting PageError. Don't bother starting any I/Os in this case since they won't bring the page Uptodate. Signed-off-by: Matthew Wilcox (Oracle) --- fs/buffer.c | 24 ++-- 1 file changed, 10

[PATCH 0/6] Make block_read_full_page synchronous

2020-10-22 Thread Matthew Wilcox (Oracle)
This patchset does I/Os in larger chunks, if the blocks are adjacent. More importantly, it returns the actual error from ->readpage for filesystems which use block_read_full_page(). Unless fscrypt returns an error, in which case it turns into EIO because it has to roundtrip through bi_status. I d

[PATCH 3/6] fs: Convert block_read_full_page to be synchronous

2020-10-22 Thread Matthew Wilcox (Oracle)
Use the new blk_completion infrastructure to wait for multiple I/Os. Also coalesce adjacent buffer heads into a single BIO instead of submitting one BIO per buffer head. This doesn't work for fscrypt yet, so keep the old code around for now. Signed-off-by: Matthew Wilcox (Oracle) --- fs/buffer.

[PATCH 4/6] fs: Hoist fscrypt decryption to bio completion handler

2020-10-22 Thread Matthew Wilcox (Oracle)
This is prep work for doing decryption at the BIO level instead of the BH level. It still works on one BH at a time for now. Signed-off-by: Matthew Wilcox (Oracle) --- fs/buffer.c | 45 + 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a

Re: [PATCH] lib: add basic KUnit test for lib/math

2020-10-22 Thread Brendan Higgins
On Thu, Oct 22, 2020 at 12:04 PM Andy Shevchenko wrote: > > On Thu, Oct 22, 2020 at 11:53:50AM -0700, Brendan Higgins wrote: > > On Thu, Oct 22, 2020 at 8:06 AM Andy Shevchenko > > wrote: > > > On Wed, Oct 21, 2020 at 10:47:50AM -0700, Daniel Latypov wrote: > > ... > > > > You need to put detaile

Re: [PATCHv2 2/4] coresight: tmc-etf: Fix NULL ptr dereference in tmc_enable_etf_sink_perf()

2020-10-22 Thread Mathieu Poirier
Hi Peter, On Thu, Oct 22, 2020 at 04:32:36PM +0100, Suzuki Poulose wrote: > On 10/22/20 4:06 PM, Peter Zijlstra wrote: > > On Thu, Oct 22, 2020 at 02:30:21PM +0100, Suzuki Poulose wrote: > > > On 10/22/20 12:32 PM, Peter Zijlstra wrote: > > > > On Thu, Oct 22, 2020 at 04:27:52PM +0530, Sai Prakash

Re: [PATCH] zram: break the strict dependency from lzo

2020-10-22 Thread Rui Salvaterra
Oops, this is broken, I'll send a v2 soon. On Thu, 22 Oct 2020 at 17:11, Rui Salvaterra wrote: > > There's nothing special about zram and lzo. It works just fine without it, so > as long as at least one of the other supported compression algorithms is > selected. > > Additionally, drop the explic

Re: [PATCH v11 12/14] s390/vfio-ap: handle host AP config change notification

2020-10-22 Thread kernel test robot
Hi Tony, I love your patch! Perhaps something to improve: [auto build test WARNING on s390/features] [also build test WARNING on linus/master next-20201022] [cannot apply to kvms390/next linux/master v5.9] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [PATCH v4 4/6] IMA: add policy to measure critical data from kernel components

2020-10-22 Thread Mimi Zohar
Hi Tushar, The above Subject line should be truncated to "IMA: add policy to measure critical data". On Wed, 2020-09-23 at 12:20 -0700, Tushar Sugandhi wrote: > There would be several candidate kernel components suitable for IMA > measurement. Not all of them would have support for IMA measur

[PATCH] arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node

2020-10-22 Thread Jernej Skrabec
According to board schematic, PHY provides both, RX and TX delays. However, according to "fix" Realtek provided for this board, only TX delay should be provided by PHY. Tests show that both variants work but TX only PHY delay works slightly better. Update ethernet node to reflect the fact that PHY

Re: [PATCH v2] checkpatch: fix false positives in REPEATED_WORD warning

2020-10-22 Thread Aditya
On 23/10/20 1:03 am, Joe Perches wrote: > On Fri, 2020-10-23 at 00:44 +0530, Aditya wrote: >> On 22/10/20 9:40 pm, Joe Perches wrote: >>> On Thu, 2020-10-22 at 20:20 +0530, Aditya Srivastava wrote: Presence of hexadecimal address or symbol results in false warning message by checkpatch.pl

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Eric Biggers
On Thu, Oct 22, 2020 at 10:00:44AM -0700, Nick Desaulniers wrote: > On Thu, Oct 22, 2020 at 9:40 AM Matthew Wilcox wrote: > > > > On Thu, Oct 22, 2020 at 04:35:17PM +, David Laight wrote: > > > Wait... > > > readv(2) defines: > > > ssize_t readv(int fd, const struct iovec *iov, int iovcn

Re: [PATCH] tty: serial: fsl_lpuart: LS1021A has a FIFO size of 32 datawords

2020-10-22 Thread Vladimir Oltean
On Thu, Oct 22, 2020 at 06:12:50PM +0300, Vladimir Oltean wrote: > From: Vladimir Oltean > > Similar to the workaround applied by Michael Walle in commit > c2f448cff22a ("tty: serial: fsl_lpuart: add LS1028A support"), it turns > out that the LPUARTx_FIFO encoding for fields TXFIFOSIZE and RXFIFO

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