Re: [RFC v2 PATCH 0/4] speed up page allocation for __GFP_ZERO

2020-12-22 Thread Alexander Duyck
On Mon, Dec 21, 2020 at 8:25 AM Liang Li wrote: > > The first version can be found at: https://lkml.org/lkml/2020/4/12/42 > > Zero out the page content usually happens when allocating pages with > the flag of __GFP_ZERO, this is a time consuming operation, it makes > the population of a large vma

Re: [PATCH 1/3] aspeed-video: add error message for unhandled interrupts

2020-12-22 Thread Zev Weiss
On Mon, Dec 21, 2020 at 10:34:26PM CST, Joel Stanley wrote: On Tue, 15 Dec 2020 at 02:46, Zev Weiss wrote: Signed-off-by: Zev Weiss --- drivers/media/platform/aspeed-video.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/aspeed-video.c

Re: [PATCH] MAINTAINERS: include governors into CPU IDLE TIME MANAGEMENT FRAMEWORK

2020-12-22 Thread Rafael J. Wysocki
On Thu, Dec 17, 2020 at 8:16 AM Lukas Bulwahn wrote: > > The current pattern in the file entry does not make the files in the > governors subdirectory to be a part of the CPU IDLE TIME MANAGEMENT > FRAMEWORK. > > Adjust the file pattern to include files in governors. > > Signed-off-by: Lukas

Re: [RFC PATCH 0/8] x86: Support Intel Key Locker

2020-12-22 Thread Bae, Chang Seok
> On Dec 20, 2020, at 03:59, Andy Lutomirski wrote: > > On Wed, Dec 16, 2020 at 9:46 AM Chang S. Bae wrote: >> >> Key Locker [1][2] is a new security feature available in new Intel CPUs to >> protect data encryption keys for the Advanced Encryption Standard >> algorithm. The protection limits

Re: [PATCH] Documentation/submitting-patches: Add blurb about backtraces in commit messages

2020-12-22 Thread Sean Christopherson
On Tue, Dec 22, 2020, Borislav Petkov wrote: > Ok, here's the next one which I think, is also, not really controversial. Heh, are you trying to jinx yourself? > diff --git a/Documentation/process/submitting-patches.rst > b/Documentation/process/submitting-patches.rst > index

Re: [PATCH] arch: consolidate pm_power_off callback

2020-12-22 Thread Geert Uytterhoeven
Hi Enrico, On Tue, Dec 22, 2020 at 7:46 PM Enrico Weigelt, metux IT consult wrote: > Move the pm_power_off callback into one global place and also add an > function for conditionally calling it (when not NULL), in order to remove > code duplication in all individual archs. > > Signed-off-by:

Re: [PATCH v5 0/4] powercap/dtpm: Add the DTPM framework

2020-12-22 Thread Rafael J. Wysocki
On Fri, Dec 11, 2020 at 8:15 PM Rafael J. Wysocki wrote: > > On Fri, Dec 11, 2020 at 11:41 AM Daniel Lezcano > wrote: > > > > > > Hi Rafael, > > > > I believe I took into account all the comments, do you think it is > > possible to merge this series ? > > It should be, unless more changes are

Re: [PATCH v13 2/6] powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

2020-12-22 Thread Lakshmi Ramasubramanian
On 12/22/20 6:26 AM, Mimi Zohar wrote: Hi Mimi, On Sat, 2020-12-19 at 09:57 -0800, Lakshmi Ramasubramanian wrote: diff --git a/arch/powerpc/kexec/Makefile b/arch/powerpc/kexec/Makefile index 4aff6846c772..b6c52608cb49 100644 --- a/arch/powerpc/kexec/Makefile +++

[PATCH] arch: consolidate pm_power_off callback

2020-12-22 Thread Enrico Weigelt, metux IT consult
Move the pm_power_off callback into one global place and also add an function for conditionally calling it (when not NULL), in order to remove code duplication in all individual archs. Signed-off-by: Enrico Weigelt, metux IT consult --- arch/alpha/kernel/process.c| 6 --

[PATCH 6/7] spi: cadence-quadspi: Wait at least 500 ms for direct reads

2020-12-22 Thread Pratyush Yadav
When performing a direct read via DMA the timeout for completion is set equal to the read length. This is fine for larger reads. For a small read like the Read Status Register command, the timeout would be 1 or 2 milliseconds. This is not enough to cover the overhead needed in setting up DMA.

[PATCH 4/7] spi: cadence-quadspi: Fix dummy cycle calculation when buswidth > 1

2020-12-22 Thread Pratyush Yadav
SPI MEM deals with dummy bytes but the controller deals with dummy cycles. Multiplying bytes by 8 is correct if the dummy phase uses 1S mode since 1 byte will be sent in 8 cycles. But if the dummy phase uses 4S mode then 1 byte will be sent in 2 cycles. To correctly translate dummy bytes to dummy

[PATCH 7/7] spi: cadence-quadspi: Add DTR support

2020-12-22 Thread Pratyush Yadav
Double Transfer Rate (DTR) mode transfers data twice per clock cycle. Add support for parsing DTR ops and set up the registers to allow it. Most SPI NOR flashes expect 2 byte commands. Parse the 2-byte opcode from SPI MEM and set it up in the CQSPI_REG_OP_EXT_LOWER register. Increment the delay

[PATCH 1/7] spi: cadence-quadspi: Set master max_speed_hz

2020-12-22 Thread Pratyush Yadav
As of commit 9326e4f1e5dd ("spi: Limit the spi device max speed to controller's max speed"), the SPI device max speed is set to the controller's max speed if it is larger. The Cadence QSPI controller does not set the controller's max speed so it is left at its initial value of 0. This means the

[PATCH 2/7] spi: cadence-quadspi: Abort read if dummy cycles required are too many

2020-12-22 Thread Pratyush Yadav
The controller can only support up to 31 dummy cycles. If the command requires more it falls back to using 31. This command is likely to fail because the correct number of cycles are not waited upon. Rather than silently issuing an incorrect command, fail loudly so the caller can get a chance to

[PATCH 3/7] spi: cadence-quadspi: Set dummy cycles from STIG commands

2020-12-22 Thread Pratyush Yadav
If a command does not have an address phase it goes via the STIG path. The dummy cycles are not initialized for the STIG commands. As a result, STIG commands with dummy cycles will not work. Initialize the dummy cycle field before issuing the STIG command to make sure it is sent correctly. Move

[PATCH 5/7] spi: cadence-quadspi: Implement a simple supports_op hook

2020-12-22 Thread Pratyush Yadav
The default SPI MEM supports_op hook rejects DTR ops by default. Add a simple supports_op hook that very closely imitates the SPI MEM one. It will be extended in later commits to allow DTR ops. Signed-off-by: Pratyush Yadav --- drivers/spi/spi-cadence-quadspi.c | 61

RE: [PATCH 1/1] mm:improve the performance during fork

2020-12-22 Thread David Laight
From: qianjun > Sent: 22 December 2020 12:19 > > In our project, Many business delays come from fork, so > we started looking for the reason why fork is time-consuming. > I used the ftrace with function_graph to trace the fork, found > that the vm_normal_page will be called tens of thousands and

[PATCH 0/7] spi: cadence-quadspi: Add Octal DTR support

2020-12-22 Thread Pratyush Yadav
Hi, This series adds support for Octal DTR mode now that SPI NOR supports these flashes. Patches 1/7 to 4/7 and 6/7 fix some minor bugs and issues. Patche 5/7 lays some groundwork by implementing the supports_op() hook. Patch 7/7 adds the Octal DTR mode support. While the main aim of this series

Re: [PATCH] net/ncsi: Use real net-device for response handler

2020-12-22 Thread Samuel Mendoza-Jonas
On Tue, 2020-12-22 at 06:13 +, Joel Stanley wrote: > On Sun, 20 Dec 2020 at 12:40, John Wang < > wangzhiqiang...@bytedance.com> wrote: > > > > When aggregating ncsi interfaces and dedicated interfaces to bond > > interfaces, the ncsi response handler will use the wrong net device > > to > >

Re: [PATCH v5 07/12] media: uvcvideo: Implement UVC_EXT_GPIO_UNIT

2020-12-22 Thread Ricardo Ribalda
Hi Laurent Thanks for your review! On Tue, Dec 22, 2020 at 9:34 AM Laurent Pinchart wrote: > > Hi Ricardo, > > Thank you for the patch. > > On Mon, Dec 21, 2020 at 05:48:14PM +0100, Ricardo Ribalda wrote: > > Some devices can implement a physical switch to disable the input of the > > camera on

RE: [PATCH] KVM: x86: fix shift out of bounds reported by UBSAN

2020-12-22 Thread David Laight
From: Sean Christopherson > Sent: 22 December 2020 18:13 > > On Tue, Dec 22, 2020, Paolo Bonzini wrote: > > Since we know that e >= s, we can reassociate the left shift, > > changing the shifted number from 1 to 2 in exchange for > > decreasing the right hand side by 1. > > I assume the edge

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-22 Thread Yu Zhao
On Tue, Dec 22, 2020 at 04:40:32AM -0800, Nadav Amit wrote: > > On Dec 21, 2020, at 1:24 PM, Yu Zhao wrote: > > > > On Mon, Dec 21, 2020 at 12:26:22PM -0800, Linus Torvalds wrote: > >> On Mon, Dec 21, 2020 at 12:23 PM Nadav Amit wrote: > >>> Using mmap_write_lock() was my initial fix and there

Re: [PATCH v2 2/6] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Mini C.TOUCH 2.0

2020-12-22 Thread Jagan Teki
On Mon, Dec 21, 2020 at 8:17 PM Jagan Teki wrote: > > On Mon, Dec 21, 2020 at 8:12 PM Krzysztof Kozlowski wrote: > > > > On Mon, Dec 21, 2020 at 08:09:47PM +0530, Jagan Teki wrote: > > > On Mon, Dec 21, 2020 at 7:35 PM Krzysztof Kozlowski > > > wrote: > > > > > > > > On Mon, Dec 21, 2020 at

[ANNOUNCE] libtracefs 1.0.0

2020-12-22 Thread Steven Rostedt
libtracefs has finally been officially released. The code that interacts with the tracefs file system in trace-cmd has been extracted out into its own library. This will facilitate other applications that need to manipulate or simply read the trace event file formats.

[PATCH] Bluetooth: btrtl: Enable central-peripheral role

2020-12-22 Thread Abhishek Pandit-Subedi
Enable the central-peripheral role on RTL8822CE. This enables creating connections while there is an existing connection in the slave role. This change can be confirmed in userspace via `bluetoothctl show` which will now show "Roles: central-peripheral". Reviewed-by: Daniel Winkler

Re: general protection fault in ext4_commit_super

2020-12-22 Thread Theodore Y. Ts'o
On Tue, Dec 22, 2020 at 12:28:53PM +0100, Jan Kara wrote: > > Fix e810c942a325 ("ext4: save error info to sb through journal if > > available") > > by flushing work as part of rollback. > > Thanks for having a look. I don't think the fix is quite correct though. The > flush_work() should be at

Re: [PATCH] KVM: x86: fix shift out of bounds reported by UBSAN

2020-12-22 Thread Sean Christopherson
On Tue, Dec 22, 2020, Paolo Bonzini wrote: > Since we know that e >= s, we can reassociate the left shift, > changing the shifted number from 1 to 2 in exchange for > decreasing the right hand side by 1. I assume the edge case is that this ends up as `(1ULL << 64) - 1` and overflows SHL's max

[PATCH] thermal/core: Remove pointless thermal_zone_device_reset() function

2020-12-22 Thread Daniel Lezcano
The function thermal_zone_device_reset() is called in the thermal_zone_device_register() which allocates and initialize the structure. The passive field is already zero-ed by the allocation, the function is useless. Call directly thermal_zone_device_init() instead and thermal_zone_device_reset().

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-22 Thread Babu Moger
On 12/22/20 11:41 AM, Sean Christopherson wrote: > On Tue, Dec 22, 2020, Babu Moger wrote: >> >> On 12/9/20 5:11 PM, Jim Mattson wrote: >>> On Wed, Dec 9, 2020 at 2:39 PM Babu Moger wrote: On 12/7/20 5:22 PM, Jim Mattson wrote: > On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote:

Re: [PATCH 2/2] EDAC/amd64: Merge error injection sysfs facilities

2020-12-22 Thread Borislav Petkov
On Tue, Dec 15, 2020 at 10:11:20AM -0600, Yazen Ghannam wrote: > Related to the comment above, can this be changed to the following? > > if (pvt->fam < 0x10 || pvt->fam >= 0x17) I made that a "positive" list so that it is explicit which do support it out of the box: --- From: Borislav

[PATCH net 3/3] net: ipa: use state to determine event ring command success

2020-12-22 Thread Alex Elder
This patch implements the same basic fix for event rings as the previous one does for channels. The result of issuing an event ring control command should be that the event ring changes state. If enabled, a completion interrupt signals that the event ring state has changed. This interrupt is

[PATCH net 2/3] net: ipa: use state to determine channel command success

2020-12-22 Thread Alex Elder
The result of issuing a channel control command should be that the channel changes state. If enabled, a completion interrupt signals that the channel state has changed. This interrupt is enabled by gsi_channel_command() and disabled again after the command has completed (or we time out). There

Re: [PATCH] writeback: add warning messages for not registered bdi

2020-12-22 Thread Jan Kara
On Thu 17-12-20 19:28:01, Yanjun Zhang wrote: > The device name is only printed for the warning case, that bdi is not > registered detected by the function __mark_inode_dirty. Besides, the > device name returned by bdi_dev_name may be "(unknown)" in some cases. > > This patch add printed messages

[PATCH net 0/3] net: ipa: GSI interrupt handling fixes

2020-12-22 Thread Alex Elder
This series implements fixes for some issues related to handling interrupts when GSI channel and event ring commands complete. The first issue is that the completion condition for an event ring or channel command could occur while the associated interrupt is disabled. This would cause the

[PATCH net 1/3] net: ipa: clear pending interrupts before enabling

2020-12-22 Thread Alex Elder
We enable the completion interrupt for channel or event ring commands only when we issue them. The interrupt is disabled after the interrupt has fired, or after we have timed out waiting for it. If we time out, the command could complete after the interrupt has been disabled, causing a state

sparc32: Init process fails to load with generic kmap atomic

2020-12-22 Thread Andreas Larsson
Unfortunately I did not see this problem before I encountered it in master. Commit 3293efa9780712ad8504689e0c296d2bd33827d5 sparc/mm/highmem: Switch to generic kmap atomic No reason having the same code in every architecture Signed-off-by: Thomas Gleixner Cc: "David S.

Re: [PATCH 3/3] ARM: dts: imx28: Add DTS description of imx28 based XEA board

2020-12-22 Thread Fabio Estevam
Hi Lukasz, On Wed, Nov 25, 2020 at 1:19 PM Lukasz Majewski wrote: > diff --git a/arch/arm/boot/dts/imx28-lwe.dtsi > b/arch/arm/boot/dts/imx28-lwe.dtsi > new file mode 100644 > index ..cb2eb4377d9c > --- /dev/null > +++ b/arch/arm/boot/dts/imx28-lwe.dtsi > @@ -0,0 +1,185 @@ > +//

Re: [PATCH 3/3] overlayfs: Report writeback errors on upper

2020-12-22 Thread Vivek Goyal
On Tue, Dec 22, 2020 at 05:46:37PM +, Matthew Wilcox wrote: > On Tue, Dec 22, 2020 at 11:29:25AM -0500, Vivek Goyal wrote: > > On Tue, Dec 22, 2020 at 04:20:27PM +, Matthew Wilcox wrote: > > > On Mon, Dec 21, 2020 at 02:50:55PM -0500, Vivek Goyal wrote: > > > > +static int

[GIT PULL REQUEST] watchdog - v5.11 Merge window

2020-12-22 Thread Wim Van Sebroeck
Hi Linus, Please pull the watchdog changes for the v5.11 release cycle. This series contains: * Removal of the pnx83xx driver * Add a binding for A100's watchdog controller. * Add Rockchip compatibles to snps,dw-wdt.yaml * hpwdt: Disable NMI in Crash Kernel * Fix potential dereferencing of null

Re: [PATCH 1/2] mm/madvise: allow process_madvise operations on entire memory range

2020-12-22 Thread Suren Baghdasaryan
On Tue, Dec 22, 2020 at 5:44 AM Christoph Hellwig wrote: > > On Fri, Dec 11, 2020 at 09:27:46PM +0100, Jann Horn wrote: > > > Can we just use one element in iovec to indicate entire address rather > > > than using up the reserved flags? > > > > > > struct iovec { > > >

[PATCH] vdpa_sim: use iova module to allocate IOVA addresses

2020-12-22 Thread Stefano Garzarella
The identical mapping used until now created issues when mapping different virtual pages with the same physical address. To solve this issue, we can use the iova module, to handle the IOVA allocation. For semplicity we use an IOVA allocator with byte granularity. We add two new functions,

Re: [PATCH 3/3] overlayfs: Report writeback errors on upper

2020-12-22 Thread Matthew Wilcox
On Tue, Dec 22, 2020 at 11:29:25AM -0500, Vivek Goyal wrote: > On Tue, Dec 22, 2020 at 04:20:27PM +, Matthew Wilcox wrote: > > On Mon, Dec 21, 2020 at 02:50:55PM -0500, Vivek Goyal wrote: > > > +static int ovl_errseq_check_advance(struct super_block *sb, struct file > > > *file) > > > +{ > >

Re: [PATCH] powerpc:Don't print raw EIP/LR hex values in dump_stack() and show_regs()

2020-12-22 Thread Christophe Leroy
Le 22/12/2020 à 18:29, Segher Boessenkool a écrit : On Tue, Dec 22, 2020 at 09:45:03PM +0800, Xiaoming Ni wrote: On 2020/12/22 1:12, Segher Boessenkool wrote: On Mon, Dec 21, 2020 at 04:42:23PM +, David Laight wrote: From: Segher Boessenkool Sent: 21 December 2020 16:32 On Mon, Dec

Re: [PATCH 3/3] ARM: dts: imx28: Add DTS description of imx28 based XEA board

2020-12-22 Thread Lukasz Majewski
Hi Shawn, > Dear Community, > > > This patch adds DTS definition of the imx278 based XEA board. > > > > Signed-off-by: Lukasz Majewski > > --- > > arch/arm/boot/dts/Makefile | 3 +- > > arch/arm/boot/dts/imx28-lwe.dtsi | 185 > > +++

Re: [PATCH v2] ARM: dts: imx28: add pinmux for USB1 overcurrent on pwm2

2020-12-22 Thread Fabio Estevam
On Wed, Dec 9, 2020 at 7:10 PM Lukasz Majewski wrote: > > From: Mans Rullgard > > Add pinmux setting for USB1 overcurrent on pwm2 pad. > > Signed-off-by: Mans Rullgard > Signed-off-by: Lukasz Majewski Reviewed-by: Fabio Estevam

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-22 Thread Sean Christopherson
On Tue, Dec 22, 2020, Babu Moger wrote: > > On 12/9/20 5:11 PM, Jim Mattson wrote: > > On Wed, Dec 9, 2020 at 2:39 PM Babu Moger wrote: > >> > >> On 12/7/20 5:22 PM, Jim Mattson wrote: > >>> On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: > diff --git a/arch/x86/include/asm/cpufeatures.h

Re: [PATCH v2] ARM: dts: imx28: add pinmux for USB1 overcurrent on pwm2

2020-12-22 Thread Lukasz Majewski
Hi Shawn, > From: Mans Rullgard > > Add pinmux setting for USB1 overcurrent on pwm2 pad. > Gentle ping on this patch. > Signed-off-by: Mans Rullgard > Signed-off-by: Lukasz Majewski > --- > Changes for v2: > - Add S-o-B > --- > arch/arm/boot/dts/imx28.dtsi | 10 ++ > 1 file

Re: [RFC][PATCH 1/3] dma-buf: heaps: Add deferred-free-helper library code

2020-12-22 Thread Suren Baghdasaryan
Hi John, Just a couple nits, otherwise looks sane to me. On Thu, Dec 17, 2020 at 3:06 PM John Stultz wrote: > > This patch provides infrastructure for deferring buffer frees. > > This is a feature ION provided which when used with some form > of a page pool, provides a nice performance boost in

[ANNOUNCE] libtraceevent 1.1.1

2020-12-22 Thread Steven Rostedt
I'm pleased to announce the new version of libtraceevent library has been released: libtraceevent: 1.1.1 https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-1.1.1.tar.gz https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ Changes since

Re: [PATCH 3/3] ibmvfc: use correlation token to tag commands

2020-12-22 Thread Tyrel Datwyler
On 12/21/20 10:24 PM, Nathan Chancellor wrote: > On Tue, Nov 17, 2020 at 12:50:31PM -0600, Tyrel Datwyler wrote: >> The vfcFrame correlation field is 64bit handle that is intended to trace >> I/O operations through both the client stack and VIOS stack when the >> underlying physical FC adapter

Re: [PATCH] powerpc:Don't print raw EIP/LR hex values in dump_stack() and show_regs()

2020-12-22 Thread Segher Boessenkool
On Tue, Dec 22, 2020 at 09:45:03PM +0800, Xiaoming Ni wrote: > On 2020/12/22 1:12, Segher Boessenkool wrote: > >On Mon, Dec 21, 2020 at 04:42:23PM +, David Laight wrote: > >>From: Segher Boessenkool > >>>Sent: 21 December 2020 16:32 > >>> > >>>On Mon, Dec 21, 2020 at 04:17:21PM +0100,

Re: Does uaccess_kernel() work for detecting kernel thread?

2020-12-22 Thread Eric W. Biederman
Tetsuo Handa writes: > Commit db68ce10c4f0a27c ("new helper: uaccess_kernel()") replaced > segment_eq(get_fs(), KERNEL_DS) > with uaccess_kernel(). But uaccess_kernel() became an unconditional "false" > for some architectures > due to commit 5e6e9852d6f76e01 ("uaccess: add infrastructure for

Re: [RFC v3 1/2] vfio/platform: add support for msi

2020-12-22 Thread Auger Eric
Hi Vikas, On 12/14/20 6:45 PM, Vikas Gupta wrote: > MSI support for platform devices.The MSI block > is added as an extended IRQ which exports caps > VFIO_IRQ_INFO_CAP_TYPE and VFIO_IRQ_INFO_CAP_MSI_DESCS. > > Signed-off-by: Vikas Gupta > --- > drivers/vfio/platform/vfio_platform_common.c |

Re: amd-pmc s2idle driver issues

2020-12-22 Thread Shyam Sundar S K
On 12/22/2020 10:14 PM, Deucher, Alexander wrote: > [AMD Public Use] > >> -Original Message- >> From: Alexander Monakov >> Sent: Tuesday, December 22, 2020 10:57 AM >> To: Deucher, Alexander >> Cc: platform-driver-...@vger.kernel.org; S-k, Shyam-sundar > sundar@amd.com>; Hans de

Re: DM's filesystem lookup in dm_get_dev_t() [was: Re: linux-next: manual merge of the device-mapper tree with Linus' tree]

2020-12-22 Thread Hannes Reinecke
On 12/22/20 3:53 PM, Mike Snitzer wrote: [added linux-block and dm-devel, if someone replies to this email to continue "proper discussion" _please_ at least drop sfr and linux-next from Cc] On Tue, Dec 22 2020 at 8:15am -0500, Christoph Hellwig wrote: Mike, Hannes, I think this patch is

[ANNOUNCE] 5.4.84-rt47

2020-12-22 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 5.4.84-rt47 stable release. This release is just an update to the new stable 5.4.84 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [PATCH v2] Documentation: process: Correct numbering

2020-12-22 Thread Randy Dunlap
On 12/22/20 9:11 AM, Lukas Bulwahn wrote: > On Tue, Dec 22, 2020 at 5:36 PM Randy Dunlap wrote: >> >> On 12/22/20 8:23 AM, Lukas Bulwahn wrote: >>> On Mon, Dec 21, 2020 at 5:52 PM Jonathan Corbet wrote: On Tue, 15 Dec 2020 20:42:36 + Milan Lakhani wrote: > Renumber

Re: [PATCH] dt-bindings: Drop unnecessary *-supply schemas properties

2020-12-22 Thread Mark Brown
On Mon, Dec 21, 2020 at 04:46:59PM -0700, Rob Herring wrote: > *-supply properties are always a single phandle, so binding schemas > don't need a type $ref nor 'maxItems'. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [RFC v2 PATCH 0/4] speed up page allocation for __GFP_ZERO

2020-12-22 Thread Daniel Jordan
Liang Li writes: > The first version can be found at: https://lkml.org/lkml/2020/4/12/42 > > Zero out the page content usually happens when allocating pages with > the flag of __GFP_ZERO, this is a time consuming operation, it makes > the population of a large vma area very slowly. This patch

Re: [PATCH] dt-bindings: Drop redundant maxItems/items

2020-12-22 Thread Mark Brown
On Mon, Dec 21, 2020 at 09:06:45PM -0700, Rob Herring wrote: > 'maxItems' equal to the 'items' list length is redundant. 'maxItems' is > preferred for a single entry while greater than 1 should have an 'items' > list. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH -next] misc: use DIV_ROUND_UP macro to do calculation

2020-12-22 Thread Daniel Thompson
On Tue, Dec 22, 2020 at 09:33:44PM +0800, Zheng Yongjun wrote: > Don't open-code DIV_ROUND_UP() kernel macro. > > Signed-off-by: Zheng Yongjun > --- > drivers/misc/kgdbts.c | 5 ++--- Arguably this patch should have kgdbts in the Subject line. > 1 file changed, 2 insertions(+), 3

Re: [PATCH v2] Documentation: process: Correct numbering

2020-12-22 Thread Lukas Bulwahn
On Tue, Dec 22, 2020 at 5:36 PM Randy Dunlap wrote: > > On 12/22/20 8:23 AM, Lukas Bulwahn wrote: > > On Mon, Dec 21, 2020 at 5:52 PM Jonathan Corbet wrote: > >> > >> On Tue, 15 Dec 2020 20:42:36 + > >> Milan Lakhani wrote: > >> > >>> Renumber the steps in submit-checklist.rst as some

Re: [PATCH 1/6] thermal/core: Remove the 'forced_passive' option

2020-12-22 Thread Daniel Lezcano
On 15/12/2020 00:38, Daniel Lezcano wrote: > The code was reorganized in 2012 with the commit 0c01ebbfd3caf1. > > The main change is a loop on the trip points array and a unconditional > call to the throttle() ops of the governors for each of them even if > the trip temperature is not reached

Re: [RFC PATCH v2 2/8] net: sparx5: add the basic sparx5 driver

2020-12-22 Thread Alexandre Belloni
On 22/12/2020 16:01:22+0100, Andrew Lunn wrote: > > The problem is that the switch core reset also affects (reset) the > > SGPIO controller. > > > > We tried to put this in the reset driver, but it was rejected. If the > > reset is done at probe time, the SGPIO driver may already have > >

[GIT PULL 2/2] Kconfig updates for v5.11-rc1

2020-12-22 Thread Masahiro Yamada
Hi Linus, Please pull Kconfig updates for v5.11 Thanks. The following changes since commit 0477e92881850d44910a7e94fc2c46f96faa131f: Linux 5.10-rc7 (2020-12-06 14:25:12 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git

[GIT PULL 1/2] Kbuild updates for v5.11-rc1

2020-12-22 Thread Masahiro Yamada
Hi Linus, Please pull Kbuild updates for v5.11 Thanks. The following changes since commit 0477e92881850d44910a7e94fc2c46f96faa131f: Linux 5.10-rc7 (2020-12-06 14:25:12 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git

Re: [PATCH 2/2] ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G

2020-12-22 Thread Takashi Iwai
On Tue, 22 Dec 2020 16:04:59 +0100, Chris Chiu wrote: > > This Acer Veriton N4640G/N6640G/N2510G desktops have 2 headphone > jacks(front and rear), and a separate Mic In jack. > > The rear headphone jack is actually a line out jack but always silent > while playing audio. The front 'Mic In' also

Re: [PATCH v2 01/16] rpmsg: introduce RPMsg control driver for channel creation

2020-12-22 Thread Randy Dunlap
On 12/22/20 2:57 AM, Arnaud Pouliquen wrote: > diff --git a/drivers/rpmsg/Kconfig b/drivers/rpmsg/Kconfig > index 0b4407abdf13..c9e602016c3b 100644 > --- a/drivers/rpmsg/Kconfig > +++ b/drivers/rpmsg/Kconfig > @@ -23,6 +23,14 @@ config RPMSG_NS > channel that probes the associated RPMsg

Re: [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3

2020-12-22 Thread Takashi Iwai
On Tue, 22 Dec 2020 16:04:58 +0100, Chris Chiu wrote: > > The Quanta NL3 laptop has both a headphone output jack and a headset > jack, on the right edge of the chassis. > > The pin information suggests that both of these are at the Front. > The PulseAudio is confused to differentiate them so one

RE: amd-pmc s2idle driver issues

2020-12-22 Thread Deucher, Alexander
[AMD Public Use] > -Original Message- > From: Alexander Monakov > Sent: Tuesday, December 22, 2020 10:57 AM > To: Deucher, Alexander > Cc: platform-driver-...@vger.kernel.org; S-k, Shyam-sundar sundar@amd.com>; Hans de Goede ; linux- > ker...@vger.kernel.org > Subject: RE: amd-pmc

Re: [PATCH] HID: Add Wireless Radio Control feature for Chicony devices

2020-12-22 Thread Chris Chiu
On Tue, Dec 22, 2020 at 3:41 PM Jian-Hong Pan wrote: > > Some Chicony's keyboards support airplane mode hotkey (Fn+F2) with > "Wireless Radio Control" feature. For example, the wireless keyboard > [04f2:1236] shipped with ASUS all-in-one desktop. > > After consulting Chicony for this hotkey,

[PATCH] iommu/iova: fix 'domain' typos

2020-12-22 Thread Stefano Garzarella
Replace misspelled 'doamin' with 'domain' in several comments. Signed-off-by: Stefano Garzarella --- drivers/iommu/iova.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c index 4bb3293ae4d7..d20b8b333d30 100644 ---

Re: [PATCH] dt-bindings: Drop redundant maxItems/items

2020-12-22 Thread Jassi Brar
On Mon, Dec 21, 2020 at 10:10 PM Rob Herring wrote: > > 'maxItems' equal to the 'items' list length is redundant. 'maxItems' is > preferred for a single entry while greater than 1 should have an 'items' > list. > > A meta-schema check for this is pending once these existing cases are > fixed. > >

Re: [PATCH v2] Documentation: process: Correct numbering

2020-12-22 Thread Randy Dunlap
On 12/22/20 8:23 AM, Lukas Bulwahn wrote: > On Mon, Dec 21, 2020 at 5:52 PM Jonathan Corbet wrote: >> >> On Tue, 15 Dec 2020 20:42:36 + >> Milan Lakhani wrote: >> >>> Renumber the steps in submit-checklist.rst as some numbers were skipped. >>> >>> Fixes: 72deb455b5ec ("block: remove

Re: [PATCH v3] net: neighbor: fix a crash caused by mod zero

2020-12-22 Thread Eric Dumazet
On 12/22/20 1:38 PM, weichenchen wrote: > pneigh_enqueue() tries to obtain a random delay by mod > NEIGH_VAR(p, PROXY_DELAY). However, NEIGH_VAR(p, PROXY_DELAY) > migth be zero at that point because someone could write zero > to /proc/sys/net/ipv4/neigh/[device]/proxy_delay after the > callers

Re: [PATCH v11 03/11] mm/hugetlb: Free the vmemmap pages associated with each HugeTLB page

2020-12-22 Thread Oscar Salvador
On Tue, Dec 22, 2020 at 10:24:32PM +0800, Muchun Song wrote: > diff --git a/include/linux/mmdebug.h b/include/linux/mmdebug.h > index 5d0767cb424a..eff5b13a6945 100644 > --- a/include/linux/mmdebug.h > +++ b/include/linux/mmdebug.h > @@ -37,6 +37,13 @@ void dump_mm(const struct mm_struct *mm); >

Re: [PATCH 3/3] overlayfs: Report writeback errors on upper

2020-12-22 Thread Vivek Goyal
On Tue, Dec 22, 2020 at 04:20:27PM +, Matthew Wilcox wrote: > On Mon, Dec 21, 2020 at 02:50:55PM -0500, Vivek Goyal wrote: > > +static int ovl_errseq_check_advance(struct super_block *sb, struct file > > *file) > > +{ > > + struct ovl_fs *ofs = sb->s_fs_info; > > + struct super_block

Re: [PATCH v11 10/11] mm/hugetlb: Gather discrete indexes of tail page

2020-12-22 Thread Oscar Salvador
On Tue, Dec 22, 2020 at 10:24:39PM +0800, Muchun Song wrote: > +#else > +static inline void hwpoison_subpage_deliver(struct hstate *h, struct page > *head) > +{ > +} > + > +static inline void hwpoison_subpage_set(struct hstate *h, struct page *head, > + struct

Re: [PATCH] dt-bindings: Drop redundant maxItems/items

2020-12-22 Thread Vinod Koul
On 21-12-20, 21:06, Rob Herring wrote: > 'maxItems' equal to the 'items' list length is redundant. 'maxItems' is > preferred for a single entry while greater than 1 should have an 'items' > list. > > A meta-schema check for this is pending once these existing cases are > fixed. > --- >

Re: [PATCH 2/3] vfs: Add a super block operation to check for writeback errors

2020-12-22 Thread Vivek Goyal
On Tue, Dec 22, 2020 at 04:19:00PM +, Matthew Wilcox wrote: > On Mon, Dec 21, 2020 at 02:50:54PM -0500, Vivek Goyal wrote: > > - ret2 = errseq_check_and_advance(>s_wb_err, >f_sb_err); > > + if (sb->s_op->errseq_check_advance) > > + ret2 = sb->s_op->errseq_check_advance(sb,

Re: [PATCH] riscv: return -ENOSYS for syscall -1

2020-12-22 Thread Tycho Andersen
On Mon, Dec 21, 2020 at 11:52:00PM +0100, Andreas Schwab wrote: > Properly return -ENOSYS for syscall -1 instead of leaving the return value > uninitialized. This fixes the strace teststuite. > > Fixes: 5340627e3fe0 ("riscv: add support for SECCOMP and SECCOMP_FILTER") > Signed-off-by: Andreas

Re: [PATCH v2] Documentation: process: Correct numbering

2020-12-22 Thread Lukas Bulwahn
On Mon, Dec 21, 2020 at 5:52 PM Jonathan Corbet wrote: > > On Tue, 15 Dec 2020 20:42:36 + > Milan Lakhani wrote: > > > Renumber the steps in submit-checklist.rst as some numbers were skipped. > > > > Fixes: 72deb455b5ec ("block: remove CONFIG_LBDAF") > > Signed-off-by: Milan Lakhani > > ---

[GIT PULL] hwmon updates for v5.11-take2

2020-12-22 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux v5.11-take2 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-v5.11-take2 Thanks, Guenter -- The following changes since commit 8653b778e454a7708847aeafe689bce07aeeb94e: Merge tag

Re: [PATCH] checkpatch: make the line length warnings match the coding style document

2020-12-22 Thread Joe Perches
On Tue, 2020-12-22 at 14:12 +0100, Christoph Hellwig wrote: > On Mon, Dec 21, 2020 at 08:08:20PM -0800, Joe Perches wrote: > > On Thu, 2020-12-10 at 13:27 -0800, Joe Perches wrote: > > > On Thu, 2020-12-10 at 20:09 +, Matthew Wilcox wrote: > > > > On Thu, Dec 10, 2020 at 12:05:04PM -0800, Joe

Re: [PATCH 3/3] overlayfs: Report writeback errors on upper

2020-12-22 Thread Matthew Wilcox
On Mon, Dec 21, 2020 at 02:50:55PM -0500, Vivek Goyal wrote: > +static int ovl_errseq_check_advance(struct super_block *sb, struct file > *file) > +{ > + struct ovl_fs *ofs = sb->s_fs_info; > + struct super_block *upper_sb; > + int ret; > + > + if (!ovl_upper_mnt(ofs)) > +

Re: [PATCH 0/4] sched/idle: Fix missing need_resched() checks after rcu_idle_enter()

2020-12-22 Thread Rafael J. Wysocki
On 12/22/2020 2:37 AM, Frederic Weisbecker wrote: With Paul, we've been thinking that the idle loop wasn't twisted enough yet to deserve 2020. rcutorture, after some recent parameter changes, has been complaining about a hung task. It appears that rcu_idle_enter() may wake up a NOCB kthread

Re: [PATCH v6] drm/bridge: add it6505 driver

2020-12-22 Thread Laurent Pinchart
Hi Allen, On Tue, Dec 22, 2020 at 11:29:34AM +, allen.c...@ite.com.tw wrote: > Hi > > It has been about two weeks since I posted v6 and haven't heard anything. > Consider this a gentle ping. > > Just wondering if the set needs additional work and I will fix and > upstream again. I'm afraid

Re: [RFC 0/4] vfio-pci/zdev: Fixing s390 vfio-pci ISM support

2020-12-22 Thread Cornelia Huck
On Thu, 17 Dec 2020 11:04:48 -0500 Matthew Rosato wrote: > On 12/17/20 7:59 AM, Cornelia Huck wrote: > > The basic question I have is whether it makes sense to specialcase the > > ISM device (can we even find out that we're dealing with an ISM device > > here?) to force the non-MIO instructions,

Re: [PATCH 2/3] vfs: Add a super block operation to check for writeback errors

2020-12-22 Thread Matthew Wilcox
On Mon, Dec 21, 2020 at 02:50:54PM -0500, Vivek Goyal wrote: > - ret2 = errseq_check_and_advance(>s_wb_err, >f_sb_err); > + if (sb->s_op->errseq_check_advance) > + ret2 = sb->s_op->errseq_check_advance(sb, f.file); What a terrible name for an fs operation. You don't seem to

Re: [PATCH net] net: ipa: fix interconnect enable bug

2020-12-22 Thread Georgi Djakov
On 12/22/20 17:16, Alex Elder wrote: When the core clock rate and interconnect bandwidth specifications were moved into configuration data, a copy/paste bug was introduced, causing the memory interconnect bandwidth to be set three times rather than enabling the three different interconnects.

Re: [RFC PATCH v2 2/2] blk-mq: Lockout tagset iter when freeing rqs

2020-12-22 Thread Bart Van Assche
On 12/22/20 3:15 AM, John Garry wrote: So then we could have something like this: ---8<---  -435,9 +444,13 @@ void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, if (!blk_mq_hw_queue_mapped(hctx))     continue; +    while

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

2020-12-22 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 22, 2020 at 09:11:31AM +0800, Jin Yao escreveu: > 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

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-22 Thread Babu Moger
On 12/7/20 5:06 PM, Jim Mattson wrote: > On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: >> >> Newer AMD processors have a feature to virtualize the use of the >> SPEC_CTRL MSR. When supported, the SPEC_CTRL MSR is automatically >> virtualized and no longer requires hypervisor intervention.

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-22 Thread Babu Moger
On 12/9/20 5:11 PM, Jim Mattson wrote: > On Wed, Dec 9, 2020 at 2:39 PM Babu Moger wrote: >> >> >> >> On 12/7/20 5:22 PM, Jim Mattson wrote: >>> On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: Newer AMD processors have a feature to virtualize the use of the SPEC_CTRL MSR. This

[PATCH 2/2] crypto: x86/aes-ni-xts - rewrite and drop indirections via glue helper

2020-12-22 Thread Ard Biesheuvel
The AES-NI driver implements XTS via the glue helper, which consumes a struct with sets of function pointers which are invoked on chunks of input data of the appropriate size, as annotated in the struct. Let's get rid of this indirection, so that we can perform direct calls to the assembler

[PATCH 1/2] crypto: x86/aes-ni-xts - use direct calls to and 4-way stride

2020-12-22 Thread Ard Biesheuvel
The XTS asm helper arrangement is a bit odd: the 8-way stride helper consists of back-to-back calls to the 4-way core transforms, which are called indirectly, based on a boolean that indicates whether we are performing encryption or decryption. Given how costly indirect calls are on x86, let's

[PATCH 0/2] crypto: x86/aes-ni-xts - recover and improve performance

2020-12-22 Thread Ard Biesheuvel
The AES-NI implementation of XTS was impacted significantly by the retpoline changes, which is due to the fact that both its asm helper and the chaining mode glue library use indirect calls for processing small quantitities of data So let's fix this, by: - creating a minimal, backportable fix

Re: [PATCH 0/6] Fixes and cleanups of PSCI relay for kvmarm/next

2020-12-22 Thread Marc Zyngier
On Tue, 8 Dec 2020 14:24:46 +, David Brazdil wrote: > Small batch of improvements for the 'Opt-in always-on nVHE hypervisor' > series, now merged in kvmarm/next. > > Patch #1 fixes potential use of invalid v0.1 functions IDs reported > by Mark Rutland, patch #2 fixes a warning reported by

Re: [PATCH v7 04/17] misc/habana: Use FOLL_LONGTERM for userptr

2020-12-22 Thread Oded Gabbay
On Fri, Nov 27, 2020 at 6:42 PM Daniel Vetter wrote: > > These are persistent, not just for the duration of a dma operation. > > Reviewed-by: Oded Gabbay > Signed-off-by: Daniel Vetter > Cc: Jason Gunthorpe > Cc: Andrew Morton > Cc: John Hubbard > Cc: Jérôme Glisse > Cc: Jan Kara > Cc: Dan

Re: [PATCH 1/6] kvm: arm64: Prevent use of invalid PSCI v0.1 function IDs

2020-12-22 Thread Marc Zyngier
On Tue, 08 Dec 2020 17:26:28 +, Mark Rutland wrote: > > On Tue, Dec 08, 2020 at 03:56:39PM +, Marc Zyngier wrote: > > On 2020-12-08 14:24, David Brazdil wrote: > > > PSCI driver exposes a struct containing the PSCI v0.1 function IDs > > > configured in the DT. However, the struct does

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