[PATCH v2 0/3] pci: enforce usage of 'pci_channel_state_t'

2020-07-02 Thread Luc Van Oostenryck
The definition of pci_channel_io_normal and friends is relatively complicated and ugly: typedef unsigned int __bitwise pci_channel_state_t; enum pci_channel_state { pci_channel_io_normal = (__force pci_channel_state_t) 1, ... }; This is

[PATCH v2 3/3] pci: update to doc to use 'pci_channel_state_t'

2020-07-02 Thread Luc Van Oostenryck
The type used to describe the PCI channel state is a combination of a bitwise typedef 'pci_channel_state_t' and an enumeration of constant __force casted to this typedef: enum pci_channel_state. It's a bit complex and quite ugly because: * in C enums are weakly typed (they're essentially the same

[GIT PULL] Kselftest fixes update for Linux 5.8-rc4

2020-07-02 Thread Shuah Khan
Hi Linus, Please pull the following Kselftest fixes update for Linux 5.8-rc4. This kselftest fixes update for Linux 5.8-rc4 consists of tpm test fixes from Jarkko Sakkinen. diff is attached. thanks, -- Shuah The following

Re: [PATCHv3 6/6] irqchip/irq-pruss-intc: Add event mapping support

2020-07-02 Thread Suman Anna
Hi Greg, On 7/2/20 9:17 AM, Grzegorz Jaszczyk wrote: The PRUSS INTC receives a number of system input interrupt source events and supports individual control configuration and hardware prioritization. These input events can be mapped to some output host interrupts through 2 levels of

[PATCH RFT] iio: adc: xilinx-xadc: use devm_krealloc()

2020-07-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the managed variant of krealloc() and shrink the code a bit. Signed-off-by: Bartosz Golaszewski --- NOTE: this patch depends on the series adding devm_krealloc() which is not yet accepted. Greg, here's just a quick example of a second user of devm_krealloc().

Re: [PATCH v3 2/7] sched/topology: Define and assign sched_domain flag metadata

2020-07-02 Thread Valentin Schneider
On 02/07/20 16:45, Quentin Perret wrote: > On Thursday 02 Jul 2020 at 15:31:07 (+0100), Valentin Schneider wrote: >> There an "interesting" quirk of asym_cpu_capacity_level() in that it does >> something slightly different than what it says on the tin: it detects >> the lowest topology level

Re: [PATCH] spi: spidev: Add compatible for external SPI ports on Kontron boards

2020-07-02 Thread Frieder Schrempf
On 02.07.20 17:07, Mark Brown wrote: On Thu, Jul 02, 2020 at 04:46:09PM +0200, Frieder Schrempf wrote: My intention is to use the spidev driver in the default board DT for an interface that is routed to an extension connector and has no dedicated slave device attached onboard. So users can

Re: [PATCH v2 08/16] spi: davinci: Remove uninitialized_var() usage

2020-07-02 Thread Joe Perches
On Thu, 2020-07-02 at 08:42 -0700, Kees Cook wrote: > On Thu, Jul 02, 2020 at 04:23:35PM +0100, Mark Brown wrote: > > On Thu, Jul 02, 2020 at 08:21:40AM -0700, Kees Cook wrote: > > > On Wed, Jul 01, 2020 at 09:39:20PM +0100, Mark Brown wrote: > > > > Please copy maintainers on patches :( > > > Hi!

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Michal Hocko
On Wed 01-07-20 11:45:52, Roman Gushchin wrote: [...] > >From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > From: Roman Gushchin > Date: Wed, 1 Jul 2020 11:05:32 -0700 > Subject: [PATCH] mm: kmem: make memcg_kmem_enabled() irreversible > > Historically the kernel memory

[PATCH] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-02 Thread Abhishek Bhardwaj
This change adds a new kernel configuration that sets the l1d cache flush setting at compile time rather than at run time. Signed-off-by: Abhishek Bhardwaj --- arch/x86/kernel/cpu/bugs.c | 8 arch/x86/kvm/Kconfig | 17 + 2 files changed, 25 insertions(+) diff

Re: [PATCH 6/8] powerpc/pseries: implement paravirt qspinlocks for SPLPAR

2020-07-02 Thread kernel test robot
Hi Nicholas, I love your patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on tip/locking/core v5.8-rc3 next-20200702] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented

Re: [PATCH v3 3/8] mm/hugetlb: unify migration callbacks

2020-07-02 Thread Vlastimil Babka
On 6/26/20 6:02 AM, Joonsoo Kim wrote: > 2020년 6월 25일 (목) 오후 8:26, Michal Hocko 님이 작성: >> >> On Tue 23-06-20 15:13:43, Joonsoo Kim wrote: >> > From: Joonsoo Kim >> > >> > There is no difference between two migration callback functions, >> > alloc_huge_page_node() and alloc_huge_page_nodemask(),

Re: [PATCH] sched/fair: handle case of task_h_load() returning 0

2020-07-02 Thread Valentin Schneider
On 02/07/20 15:42, Vincent Guittot wrote: > task_h_load() can return 0 in some situations like running stress-ng > mmapfork, which forks thousands of threads, in a sched group on a 224 cores > system. The load balance doesn't handle this correctly because > env->imbalance never decreases and it

Re: [PATCH] MAINTAINERS: Change Maintainer for some at91 drivers

2020-07-02 Thread Sebastian Reichel
Hi, On Thu, Jul 02, 2020 at 03:39:09PM +0100, Mark Brown wrote: > On Thu, Jul 02, 2020 at 03:42:24PM +0200, nicolas.fe...@microchip.com wrote: > > > I kept these entries together as it may generate conflicts if handled > > separately. I suggest that Mark take the chunk as maintainer of SPI and >

Re: [PATCH AUTOSEL 5.7 37/53] cifs: Fix double add page to memcg when cifs_readpages

2020-07-02 Thread Pavel Shilovsky
ср, 1 июл. 2020 г. в 18:35, Sasha Levin : > > From: Zhang Xiaoxu > > [ Upstream commit 95a3d8f3af9b0d63b43f221b630beaab9739d13a ] > > When xfstests generic/451, there is an BUG at mm/memcontrol.c: > page:ea000560f2c0 refcount:2 mapcount:0 mapping:8544e0ea >index:0xf >

Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-07-02 Thread Eric W. Biederman
Tetsuo Handa writes: > On 2020/07/02 22:08, Eric W. Biederman wrote: >> Tetsuo Handa writes: >> >>> On 2020/06/30 21:29, Eric W. Biederman wrote: Hmm. The wake up happens just of tgid->wait_pidfd happens just before release_task is called so there is a race. As it is possible to

Re: [PATCH AUTOSEL 5.7 15/53] ASoC: SOF: Intel: add PCI IDs for ICL-H and TGL-H

2020-07-02 Thread Mark Brown
On Thu, Jul 02, 2020 at 10:42:21AM -0500, Pierre-Louis Bossart wrote: > On 7/2/20 6:18 AM, Mark Brown wrote: > > On Wed, Jul 01, 2020 at 09:21:24PM -0400, Sasha Levin wrote: > > > From: Pierre-Louis Bossart > > > [ Upstream commit c8d2e2bfaeffa0f914330e8b4e45b986c8d30b58 ] > > > Usually the DSP

[PATCH] fbdev: da8xx-fb: go to proper label on error handling paths in probe

2020-07-02 Thread Evgeny Novikov
fb_probe() can successfully allocate a new frame buffer, but then fail to perform some operations with regulator. In these cases fb_probe() goes to label err_pm_runtime_disable where the frame buffer is not released. The patch makes fb_probe() to go to label err_release_fb on corresponding error

Re: [PATCH v8 2/3] dt-bindings: arm-smmu: Add binding for Tegra194 SMMU

2020-07-02 Thread Robin Murphy
On 2020-07-01 20:39, Krishna Reddy wrote: On 01/07/2020 20:00, Krishna Reddy wrote: +items: + - enum: + - nvdia,tegra194-smmu + - const: arm,mmu-500 Is the fallback compatible appropriate here? If software treats this as a standard MMU-500 it will only

Re: UART/TTY console deadlock

2020-07-02 Thread Tony Lindgren
* Sergey Senozhatsky [200702 05:13]: > On (20/06/30 11:02), Tony Lindgren wrote: > > This conditional disable for irq_shared does not look nice to me > > from the other device point of view :) > > > > Would it be possible to just set up te dummy interrupt handler > > for the startup, then change

Re: [PATCH] vmlinux.lds.h: Coalesce transient LLVM dead code elimination sections

2020-07-02 Thread Nathan Chancellor
On Thu, Jul 02, 2020 at 08:54:53AM -0700, Kees Cook wrote: > On Thu, Jul 02, 2020 at 01:54:00AM -0700, Danny Lin wrote: > > A recent LLVM 11 commit [1] made LLD stop implicitly coalescing some > > temporary LLVM sections, namely .{data,bss}..compoundliteral.XXX: > > > > [30] .data..compoundli

Re: [PATCH] spi: spidev: Add compatible for external SPI ports on Kontron boards

2020-07-02 Thread Frieder Schrempf
Hi Geert, On 02.07.20 16:57, Geert Uytterhoeven wrote: Hi Frieder, On Thu, Jul 2, 2020 at 4:46 PM Frieder Schrempf wrote: On 02.07.20 16:25, Mark Brown wrote: On Thu, Jul 02, 2020 at 04:18:46PM +0200, Schrempf Frieder wrote: From: Frieder Schrempf Allow external SPI ports on Kontron

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Shakeel Butt
On Wed, Jul 1, 2020 at 11:46 AM Roman Gushchin wrote: ... > -- > > From c97afecd32c0db5e024be9ba72f43d22974f5bcd Mon Sep 17 00:00:00 2001 > From: Roman Gushchin > Date: Wed, 1 Jul 2020 11:05:32 -0700 > Subject: [PATCH] mm: kmem: make memcg_kmem_enabled() irreversible > > Historically the kernel

Re: [PATCH AUTOSEL 5.7 15/53] ASoC: SOF: Intel: add PCI IDs for ICL-H and TGL-H

2020-07-02 Thread Pierre-Louis Bossart
On 7/2/20 6:18 AM, Mark Brown wrote: On Wed, Jul 01, 2020 at 09:21:24PM -0400, Sasha Levin wrote: From: Pierre-Louis Bossart [ Upstream commit c8d2e2bfaeffa0f914330e8b4e45b986c8d30b58 ] Usually the DSP is not traditionally enabled on H skews but this might be used moving forward. "This

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Roman Gushchin
On Thu, Jul 02, 2020 at 09:25:08PM +0530, Naresh Kamboju wrote: > On Thu, 2 Jul 2020 at 21:19, Roman Gushchin wrote: > > > > On Thu, Jul 02, 2020 at 12:22:03PM +0530, Naresh Kamboju wrote: > > > On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > > > > > > > On Wed, Jul 01, 2020 at 10:29:04AM

Re: PANIC: mm: memcg/slab: percpu_ref_put_many - Unable to handle kernel paging request at virtual address ffff80096d78f000

2020-07-02 Thread Naresh Kamboju
On Wed, 1 Jul 2020 at 13:49, Michal Hocko wrote: > > On Wed 01-07-20 13:24:54, Naresh Kamboju wrote: > > While running LTP mm test suite on arm64 Juno device the kernel panic > > noticed on linux-next 20200630 tag. > > Can you try to bisect? The new memcg slab allocator series sounds like a >

Re: [PATCH v2] vmlinux.lds: add PGO and AutoFDO input sections

2020-07-02 Thread Kees Cook
On Thu, Jul 02, 2020 at 10:19:40AM +0200, Arnd Bergmann wrote: > On Wed, Jul 1, 2020 at 11:54 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > Hi Arnd, > > I usually wait longer to bump threads for review, but we have a > > holiday in the US so we're off tomorrow and Friday. > >

Re: [RFC PATCH 01/10] timer: Prevent base->clk from moving backward

2020-07-02 Thread Juri Lelli
On 02/07/20 16:32, Frederic Weisbecker wrote: > On Thu, Jul 02, 2020 at 11:59:59AM +0200, Juri Lelli wrote: > > On 02/07/20 01:20, Frederic Weisbecker wrote: > > > On Wed, Jul 01, 2020 at 06:35:04PM +0200, Juri Lelli wrote: > > > > Guess you might be faster to understand what I'm missing. :-) > >

Re: [PATCH net-next 0/4] net: ethtool: Untangle PHYLIB dependency

2020-07-02 Thread Michal Kubecek
On Wed, Jul 01, 2020 at 09:29:38PM -0700, Florian Fainelli wrote: > Hi all, > > This patch series untangles the ethtool netlink dependency with PHYLIB > which exists because the cable test feature calls directly into PHY > library functions. The approach taken here is to utilize a new set of >

[PATCH v2] Remove __init from padata_do_multithreaded and padata_mt_helper.

2020-07-02 Thread Nico Pache
Allow padata_do_multithreaded function to be called after bootstrap. v2: removed __init from padata_work_alloc_mt and padata_works_free Signed-off-by: Nico Pache --- include/linux/padata.h | 2 +- kernel/padata.c| 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Naresh Kamboju
On Thu, 2 Jul 2020 at 21:19, Roman Gushchin wrote: > > On Thu, Jul 02, 2020 at 12:22:03PM +0530, Naresh Kamboju wrote: > > On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > > > > > On Wed, Jul 01, 2020 at 10:29:04AM +0200, Michal Hocko wrote: > > > > Smells like a different observable

Re: [PATCH] vmlinux.lds.h: Coalesce transient LLVM dead code elimination sections

2020-07-02 Thread Kees Cook
On Thu, Jul 02, 2020 at 01:54:00AM -0700, Danny Lin wrote: > A recent LLVM 11 commit [1] made LLD stop implicitly coalescing some > temporary LLVM sections, namely .{data,bss}..compoundliteral.XXX: > > [30] .data..compoundli PROGBITS 9ac9a000 19e9a000 >cea0

Re: [PATCH 18/20] block: refator submit_bio_noacct

2020-07-02 Thread Naresh Kamboju
_list[1] in a totally > undocumented way. But even with that the problem should only show > up with "block: shortcut __submit_bio_noacct for blk-mq drivers". > > Can you try this patch? Applied your patch on top of linux-next 20200702 and tested on arm64 and x86_64 devices and the

[PATCH v2 8/8] ARM: dts: exynos: Define fixed regulators in root node for consistency in SMDK5420

2020-07-02 Thread Krzysztof Kozlowski
Remove the regulators node and define fixed regulators directly under the root node. This makes SMDK5420 board consistent with other Exynos boards. Name the fixed regulator nodes consistently. Suggested-by: Marek Szyprowski Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New

[PATCH v2 2/8] arm64: dts: exynos: Describe PWM interrupts on Exynos7

2020-07-02 Thread Krzysztof Kozlowski
Add interrupts property to PWM node on Exynos7 to describe the hardware fully. No functional change as the interrupts are not used by drivers. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Correct the interrupts, change message. Not tested ---

[PATCH v2 7/8] ARM: dts: exynos: Define fixed regulators in root node for consistency in Arndale

2020-07-02 Thread Krzysztof Kozlowski
Remove the regulators node and define fixed regulators directly under the root node. This makes Exynos5250 Arndale board consistent with other Exynos boards. Suggested-by: Marek Szyprowski Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch ---

[PATCH v2 5/8] ARM: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings

2020-07-02 Thread Krzysztof Kozlowski
There is no need to keep DMA controller nodes under AMBA bus node. Remove the "amba" node to fix dtschema warnings like: amba: $nodename:0: 'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Remove the bus, as

[PATCH v2 6/8] ARM: dts: exynos: Define fixed regulators in root node for consistency in Origen

2020-07-02 Thread Krzysztof Kozlowski
Remove the regulators node and define fixed regulators directly under the root node. This makes Exynos4412 Origen board consistent with other Exynos boards. Suggested-by: Marek Szyprowski Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch ---

[PATCH v2 3/8] arm64: dts: exynos: Remove generic arm,armv8-pmuv3 compatible

2020-07-02 Thread Krzysztof Kozlowski
The ARM PMU node is described enough with first compatible so remove the arm,armv8-pmuv3 to fix dtschema warnings like: arm-pmu: compatible: Additional items are not allowed ('arm,armv8-pmuv3' was unexpected) arm-pmu: compatible: ['arm,cortex-a57-pmu', 'arm,armv8-pmuv3'] is too long

[PATCH v2 4/8] arm64: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings

2020-07-02 Thread Krzysztof Kozlowski
There is no need to keep DMA controller nodes under AMBA bus node. Remove the "amba" node to fix dtschema warnings like: amba: $nodename:0: 'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Remove the bus, as

Re: [PATCH 17/26] mm/riscv: Use general page fault accounting

2020-07-02 Thread Peter Xu
On Wed, Jul 01, 2020 at 02:46:24PM +0300, Pekka Enberg wrote: > Hi Peter, Hi, Pekka, > > On Sat, Jun 27, 2020 at 1:36 AM Peter Xu wrote: > > Use the general page fault accounting by passing regs into > > handle_mm_fault(). > > It naturally solve the issue of multiple page fault accounting

[PATCH v2 1/8] dt-bindings: pwm: samsung: Do not require interrupts on Exynos SoCs

2020-07-02 Thread Krzysztof Kozlowski
The bindings required interrupts for all SoCs but actually only the PWM timer clocksource (for S3C/S5P SoCs) was using them. This PWM timer clocksource driver is not used on Exynos SoCs thus the interrupts can be marked as optional. Reported-by: Alim Akhtar Signed-off-by: Krzysztof Kozlowski

Re: [PATCH v4 0/3] Drivers: hv: vmbus: vmbus_requestor data structure for VMBus hardening

2020-07-02 Thread Andrea Parri
> Andres Beltran (3): > Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus > hardening > scsi: storvsc: Use vmbus_requestor to generate transaction IDs for > VMBus hardening > hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus > hardening

Re: [RFC PATCH 3/7] SUNRPC: remove RC4-HMAC-MD5 support from KerberosV

2020-07-02 Thread J. Bruce Fields
Acked-by: J. Bruce Fields On Thu, Jul 02, 2020 at 12:19:43PM +0200, Ard Biesheuvel wrote: > The RC4-HMAC-MD5 KerberosV algorithm is based on RFC 4757 [0], which > was specifically issued for interoperability with Windows 2000, but was > never intended to receive the same level of support. The

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-02 Thread Roman Gushchin
On Thu, Jul 02, 2020 at 12:22:03PM +0530, Naresh Kamboju wrote: > On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > > > On Wed, Jul 01, 2020 at 10:29:04AM +0200, Michal Hocko wrote: > > > Smells like a different observable problem with the same/similar culprit > > > as > > >

Re: [PATCH][next] regulator: fix null pointer check on regmap

2020-07-02 Thread Mark Brown
On Thu, 2 Jul 2020 12:56:59 +0100, Colin King wrote: > The null pointer check on regmap that checks for a dev_get_regmap failure > is currently returning -ENOENT if the regmap succeeded. Fix this by adding > in the missing ! operator. Applied to

Re: [PATCH] regulator: mp886x: use .probe_new

2020-07-02 Thread Mark Brown
On Thu, 2 Jul 2020 10:02:00 +0800, Jisheng Zhang wrote: > Use the new .probe_new for mp886x. It does not use the const > struct i2c_device_id * argument, so convert it to utilise the > simplified i2c driver registration. Applied to

Re: [PATCH 0/2] regulator: add support for SY8827N regulator

2020-07-02 Thread Mark Brown
On Thu, 2 Jul 2020 17:13:04 +0800, Jisheng Zhang wrote: > The SY8827N from Silergy Corp is a single output DC/DC converter. The > voltage can be controlled via I2C. > > Jisheng Zhang (2): > dt-bindings: regulator: add document bindings for sy8827n > regulator: add support for SY8827N

Re: [PATCH 0/4] regulator: da9211: support changing modes

2020-07-02 Thread Mark Brown
On Thu, 2 Jul 2020 13:15:21 +1000, Anand K Mistry wrote: > This patchset adds support for being able to change regulator modes for > the da9211 regulator. This is needed to allow the voltage scaling > support in the MT8173 SoC to be used in the elm (Acer Chromebook R13) > and hana (several Lenovo

Re: [PATCH v2 0/4] regulator: mt6397: Implement of_map_mode regulator_desc function

2020-07-02 Thread Mark Brown
On Thu, 2 Jul 2020 16:23:16 +1000, Anand K Mistry wrote: > This patchset adds support for being able to change regulator modes for > the mt6397 regulator. This is needed to allow the voltage scaling > support in the MT8173 SoC to be used on the elm (Acer Chromebook R13) > and hana (several Lenovo

[RFC PATCH v2] fs/namespace: use percpu_rw_semaphore for writer holding

2020-07-02 Thread Sebastian Andrzej Siewior
From: John Ogness The MNT_WRITE_HOLD flag is used to manually implement a rwsem. Remove that flag and instead use a percpu_rw_semaphore, which effectively provides the same functionality. This allows lockdep to be used for the writer holding, allows CONFIG_PREEMPT to preempt held writers, and

Re: [PATCH v3 2/7] sched/topology: Define and assign sched_domain flag metadata

2020-07-02 Thread Quentin Perret
On Thursday 02 Jul 2020 at 15:31:07 (+0100), Valentin Schneider wrote: > There an "interesting" quirk of asym_cpu_capacity_level() in that it does > something slightly different than what it says on the tin: it detects > the lowest topology level where *the biggest* CPU capacity is visible by >

[PATCH 2/2] staging: rtl8188eu: Fix WARNINGs of Block comments

2020-07-02 Thread Simon Fong
Fixed 5 WARNINGs of Block comments use * on subsequent lines. Signed-off-by: Simon Fong --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 62 +++ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c

[PATCHv4 0/6] Add initial genpd support for omap PRM driver

2020-07-02 Thread Tony Lindgren
Hi all, Here's v4 set of patches to add genpd support to the PRM (Power and Reset Module) driver. Initially we just add one hardware accelerator power domain for sgx, and one interconnect instance for l4_abe. The rest of the SoC specific domain data is probably best added one SoC at a time based

[PATCH 1/6] dt-bindings: omap: Update PRM binding for genpd

2020-07-02 Thread Tony Lindgren
The PRM (Power and Reset Module) has a register to enable and disable the related power domain, so let's update the binding for that. Cc: devicet...@vger.kernel.org Cc: Rob Herring Signed-off-by: Tony Lindgren --- Documentation/devicetree/bindings/arm/omap/prm-inst.txt | 2 ++ 1 file changed,

Re: [PATCH v2 0/4] Remove 32-bit Xen PV guest support

2020-07-02 Thread Jürgen Groß
On 02.07.20 16:48, Brian Gerst wrote: On Wed, Jul 1, 2020 at 7:07 AM Juergen Gross wrote: The long term plan has been to replace Xen PV guests by PVH. The first victim of that plan are now 32-bit PV guests, as those are used only rather seldom these days. Xen on x86 requires 64-bit support

[PATCH 1/2] staging: rtl8188eu: Fix CHECK of coding style

2020-07-02 Thread Simon Fong
Fixed a CHECK of Lines should not end with a '('. Signed-off-by: Simon Fong --- drivers/staging/rtl8188eu/core/rtw_recv.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_recv.c b/drivers/staging/rtl8188eu/core/rtw_recv.c index

[PATCH 3/6] soc: ti: omap-prm: Configure sgx power domain for am3 and am4

2020-07-02 Thread Tony Lindgren
Let's configure only sgx power domain for am3 and am4 to start with. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c ---

[PATCH 4/6] soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain

2020-07-02 Thread Tony Lindgren
Let's add omap4 and 5 l4_abe interconnect instance for the power domain. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c --- a/drivers/soc/ti/omap_prm.c

[PATCH 5/6] ARM: dts: Configure am3 and am4 sgx for genpd and drop platform data

2020-07-02 Thread Tony Lindgren
We can power off the SGX power domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 2 + arch/arm/boot/dts/am4372.dtsi

[PATCH 6/6] ARM: dts: Configure omap4 and 5 l4_abe for genpd and drop platform data

2020-07-02 Thread Tony Lindgren
We can power off l4_abe domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Note that we also need to now use "simple-pm-bus" instead of "simple-bus" for PM runtime to get enabled for the bus. Signed-off-by: Tony

[PATCH 2/6] soc: ti: omap-prm: Add basic power domain support

2020-07-02 Thread Tony Lindgren
The PRM controller has currently only support for resets while the power domains are still handled in the platform code. Let's add basic power domain support to enable and disable a PRM controlled power domain if configured in the devicetree. This can be used for various hardware accelerators,

[PATCH 0/2] Patchset of coding style fixes

2020-07-02 Thread Simon Fong
This patchset fixed CHECK and WARNINGs of coding style. Simon Fong (2): staging: rtl8188eu: Fix CHECK of coding style staging: rtl8188eu: Fix WARNINGs of Block comments drivers/staging/rtl8188eu/core/rtw_recv.c | 7 ++- drivers/staging/rtl8188eu/core/rtw_xmit.c | 62 +++

Re: [PATCH 1/2] dt-bindings: sound: fsl-asoc-card: add new compatible for I2S slave

2020-07-02 Thread Mark Brown
On Thu, Jul 02, 2020 at 05:28:03PM +0200, Arnaud Ferraris wrote: > Le 02/07/2020 à 16:31, Mark Brown a écrit : > > Why require that the CODEC be clock master here - why not make this > > configurable, reusing the properties from the generic and audio graph > > cards? > This is partly because I'm

[PATCH 2/2] block: enable zone-append for iov_iter of bvec type

2020-07-02 Thread Kanchan Joshi
zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. Add new helper to process such iov_iter and add pages in bio honoring zone-append specific constraints. Signed-off-by: Kanchan Joshi Signed-off-by: Selvakumar S Signed-off-by: Nitesh Shetty Signed-off-by: Javier Gonzalez ---

[PATCH 1/2] block: fix error code for zone-append

2020-07-02 Thread Kanchan Joshi
avoid returning success when it should report failure, preventing odd behavior in caller. Signed-off-by: Kanchan Joshi Signed-off-by: Selvakumar S Signed-off-by: Nitesh Shetty Signed-off-by: Javier Gonzalez --- block/bio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 08/16] spi: davinci: Remove uninitialized_var() usage

2020-07-02 Thread Kees Cook
On Thu, Jul 02, 2020 at 04:23:35PM +0100, Mark Brown wrote: > On Thu, Jul 02, 2020 at 08:21:40AM -0700, Kees Cook wrote: > > On Wed, Jul 01, 2020 at 09:39:20PM +0100, Mark Brown wrote: > > > > Please copy maintainers on patches :( > > > Hi! Sorry about that; the CC list was giant, so I had opted

[PATCH 0/2] fix/extend zone-append in block-layer

2020-07-02 Thread Kanchan Joshi
First patch is about returning failure (rather than success) when max_append_sectors is 0. This prevents bio_iov_iter_get_pages() from getting into an endless loop. Second patch enables issuing zone-append with iov_iter of bvec type. It adds a helper which is similar to __bio_iov_bvec_add_pages()

Re: [PATCH 3/6] soc: ti: omap-prm: Configure sgx power domain for am3 and am4

2020-07-02 Thread Tony Lindgren
* kernel test robot [200629 19:24]: > >> drivers/soc/ti/omap_prm.c:98:21: warning: attribute declaration must > >> precede definition [-Wignored-attributes] >static const struct __maybe_unused omap_prm_domain_map omap_prm_noinact = { Thanks no more need for __maybe_unused with these patches

arch/s390/include/asm/bitops.h:112:4: error: invalid operand in inline asm: 'xi $0,${1:b}'

2020-07-02 Thread kernel test robot
Hi Nikolay, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: cd77006e01b3198c75fb7819b3d0ff89709539bb commit: e0458d9a733ba71a2821d0c3fc0745baac697db0 net: bridge: fdb: convert is_sticky to bitops date: 8 months

Re: [PATCH v2] arm64/module: Optimize module load time by optimizing PLT counting

2020-07-02 Thread Ard Biesheuvel
On Tue, 23 Jun 2020 at 03:27, Saravana Kannan wrote: > > When loading a module, module_frob_arch_sections() tries to figure out > the number of PLTs that'll be needed to handle all the RELAs. While > doing this, it tries to dedupe PLT allocations for multiple > R_AARCH64_CALL26 relocations to the

Re: [PATCH 1/2] dt-bindings: sound: fsl-asoc-card: add new compatible for I2S slave

2020-07-02 Thread Arnaud Ferraris
Hi Mark, Le 02/07/2020 à 16:31, Mark Brown a écrit : > On Thu, Jul 02, 2020 at 04:11:14PM +0200, Arnaud Ferraris wrote: >> fsl-asoc-card currently doesn't support generic codecs with the SoC >> acting as I2S slave. >> >> This commit adds a new `fsl,imx-audio-i2s-slave` for this use-case, as >>

[PATCH v4] mm, slab: Check GFP_SLAB_BUG_MASK before alloc_pages in kmalloc_order

2020-07-02 Thread Long Li
kmalloc cannot allocate memory from HIGHMEM. Allocating large amounts of memory currently bypasses the check and will simply leak the memory when page_address() returns NULL. To fix this, factor the GFP_SLAB_BUG_MASK check out of slab & slub, and call it from kmalloc_order() as well. In order to

[PATCH V5 5/6] clk: imx8m: Support module build

2020-07-02 Thread Anson Huang
Change configuration to "tristate", add module author, description and license to support building i.MX8M SoCs clock driver as module. Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng --- drivers/clk/imx/Kconfig | 16 drivers/clk/imx/clk-imx8mm.c | 4

[PATCH V5 3/6] clk: imx: Support building i.MX common clock driver as module

2020-07-02 Thread Anson Huang
There are more and more requirements of building SoC specific drivers as modules, add support for building i.MX common clock driver as module to meet the requirement. Signed-off-by: Anson Huang --- Changes since V4: - add empty function of imx_register_uart_clocks() for MODULE build, and

[PATCH V5 4/6] clk: imx: Add clock configuration for ARMv7 platforms

2020-07-02 Thread Anson Huang
Add CONFIG_CLK_xxx for i.MX ARMv7 platforms, and use it as build option instead of CONFIG_SOC_xxx, the CONFIG_CLK_xxx will be selected by default according to CONFIG_SOC_xxx, COMPILE_TEST will be also supported. Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng --- Changes since V4:

[PATCH V5 1/6] clk: composite: Export clk_hw_register_composite()

2020-07-02 Thread Anson Huang
Export clk_hw_register_composite() to support user built as module. ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko] undefined! Signed-off-by: Anson Huang Reviewed-by: Stephen Boyd --- No change. --- drivers/clk/clk-composite.c | 1 + 1 file changed, 1 insertion(+)

[PATCH V5 6/6] clk: imx8qxp: Support building i.MX8QXP clock driver as module

2020-07-02 Thread Anson Huang
Change configuration to "tristate", add module author, description and license to support building i.MX8QXP clock drivers as module. Signed-off-by: Anson Huang --- Changes since V4: - keep using builtin_platform_driver(); - add COMPILE_TEST support. --- drivers/clk/imx/Kconfig

[PATCH V5 2/6] clk: imx: Support module build for i.MX5/6/7 and vf610

2020-07-02 Thread Anson Huang
Add module author, description and license to support module build for i.MX5/6/7 and vf610 SoCs. Signed-off-by: Anson Huang --- New patch. --- drivers/clk/imx/clk-imx5.c| 5 + drivers/clk/imx/clk-imx6q.c | 5 + drivers/clk/imx/clk-imx6sl.c | 5 + drivers/clk/imx/clk-imx6sll.c

[PATCH V5 0/6] Support building i.MX ARMv7/ARMv8 platforms clock driver as module

2020-07-02 Thread Anson Huang
Nowdays, there are more and more requirements of building SoC specific drivers as modules, such as Android GKI (generic kernel image), this patch set supports building i.MX ARMv6/ARMv7 SoCs clock drivers as modules, The CLK_IMXxxx is introduced for i.MX ARMv7 platforms in order to support various

Re: [PATCH v4 02/18] nitro_enclaves: Define the PCI device interface

2020-07-02 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves (NE) driver communicates with a new PCI device, that is exposed to a virtual machine (VM) and handles commands meant for handling enclaves lifetime e.g. creation, termination, setting memory regions. The communication with the PCI

Re: [PATCH v4 01/18] nitro_enclaves: Add ioctl interface definition

2020-07-02 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves driver handles the enclave lifetime management. This includes enclave creation, termination and setting up its resources such as memory and CPU. An enclave runs alongside the VM that spawned it. It is abstracted as a process

Re: [PATCH v4 06/18] nitro_enclaves: Handle out-of-band PCI device events

2020-07-02 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: In addition to the replies sent by the Nitro Enclaves PCI device in response to command requests, out-of-band enclave events can happen e.g. an enclave crashes. In this case, the Nitro Enclaves driver needs to be aware of the event and notify the

Re: [PATCH v4 03/18] nitro_enclaves: Define enclave info for internal bookkeeping

2020-07-02 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves driver keeps an internal info per each enclave. This is needed to be able to manage enclave resources state, enclave notifications and have a reference of the PCI device that handles command requests for enclave lifetime

[PATCH RFC 1/7] x86: cpu: bugs.c: remove init attribute from functions and variables

2020-07-02 Thread Mihai Carabas
in order to be able to call them after the system has booted. Signed-off-by: Mihai Carabas --- arch/x86/kernel/cpu/bugs.c | 76 ++-- arch/x86/kernel/cpu/common.c | 4 +-- arch/x86/kernel/cpu/cpu.h| 4 +-- arch/x86/kernel/cpu/tsx.c| 6 ++--

[PATCH RFC 4/7] x86: cpu: bugs.c: update cpu_smt_disable to be callable at runtime

2020-07-02 Thread Mihai Carabas
If the microcode late loading and bug mitigation logic needs to turn off SMT, it must use the hot plug infrastructure, not the boot time call "cpu_smt_disable". Update "cpu_smt_disable" to use the hot plug infrastructure to turn off SMT when the system is in state running. Signed-off-by: Mihai

[PATCH RFC 3/7] x86: kernel: cpu: bugs.c: modify static_cpu_has to boot_cpu_has

2020-07-02 Thread Mihai Carabas
The usage of static_cpu_has in bugs.c file is counter-productive since the code is executed once but there is extra effort to patch it and keep alternatives in a special section --- so there is both space and time cost. Quote from _static_cpu_has definition: /* * Static testing of CPU features.

[PATCH RFC 5/7] x86: microcode: late loading feature and bug evaluation

2020-07-02 Thread Mihai Carabas
While doing microcode late loading, need to probe again all the CPU features after the microcode has been loaded. Before probing the CPU features and bug, need to clear the current bug bits. The new function, cpu_clear_bug_bits, will clear all the bug bits and then set them. The logic is as

[GIT PULL] Kunit fixes update for Linux 5.8-rc4

2020-07-02 Thread Shuah Khan
Hi Linus, Please pull the following Kunit fixes update for Linux 5.8-rc4. This kunit fixes update for Linux 5.8-rc4 consists of fixes to build and run-times failures. Also includes troubleshooting tips updates to kunit user documentation. These tips in the doc patch helped me with my test

Re: [RFC][PATCH] sched: Better document ttwu()

2020-07-02 Thread Peter Zijlstra
On Thu, Jul 02, 2020 at 09:13:19AM -0400, Phil Auld wrote: > On Thu, Jul 02, 2020 at 02:52:11PM +0200 Peter Zijlstra wrote: > > + * p->on_cpu <- { 0, 1 }: > > + * > > + * is set by prepare_task() and cleared by finish_task() such that it > > will be > > + * set before p is scheduled-in and

Re: [PATCH v2 08/16] spi: davinci: Remove uninitialized_var() usage

2020-07-02 Thread Mark Brown
On Thu, Jul 02, 2020 at 08:21:40AM -0700, Kees Cook wrote: > On Wed, Jul 01, 2020 at 09:39:20PM +0100, Mark Brown wrote: > > Please copy maintainers on patches :( > Hi! Sorry about that; the CC list was giant, so I had opted for using > subsystem mailing lists where possible. If you're going to

[RFC PROPOSAL] memcg: per-memcg user space reclaim interface

2020-07-02 Thread Shakeel Butt
This is a proposal to expose an interface to the user space to trigger memory reclaim on a memory cgroup. The proposal contains potential use cases, benefits of the user space interface and potential implementation choices. Use cases: -- 1) Per-memcg uswapd: Usually applications

[PATCH RFC 2/7] x86: cpu: modify boot_command_line to saved_command_line

2020-07-02 Thread Mihai Carabas
as boot_command_line has the __initdata attribute and cannot be used after booting the kernel. command_line evaluation needs to be used on microcode late loading in order to enforce the proper mitigations for different CPU bugs. Signed-off-by: Mihai Carabas --- arch/x86/kernel/cpu/bugs.c | 11

[PATCH RFC 0/7] CPU feature evaluation after microcode late loading

2020-07-02 Thread Mihai Carabas
This RFC patch set aims to provide the ability to re-evaluate all CPU features and take proper bug mitigation in place after a microcode late loading. This was debated last year and this patch set implements a subset of point #2 from Thomas Gleixner's idea:

[PATCH RFC 7/7] x86: cpu: update blacklist spec features for late loading

2020-07-02 Thread Mihai Carabas
If we have loaded a broken microcode at boot time, all the speculation features will be blacklisted. Created a new function for Intel CPUs to verify if we have a broken microcode loaded or not and whitelist/blacklist features as needed. This has to be done before get_cpu_cap because it uses these

[PATCH RFC 6/7] x86: cpu: bugs.c: reprobe bugs at runtime

2020-07-02 Thread Mihai Carabas
Adapt check_bugs to be callable at runtime after the microcode late loading has been done. Also update SRBDS to reset the default value for srbds_mitigation and call update_srbds_msr on all CPUs. Signed-off-by: Mihai Carabas --- arch/x86/kernel/cpu/bugs.c | 37

Re: [PATCH v2 08/16] spi: davinci: Remove uninitialized_var() usage

2020-07-02 Thread Kees Cook
On Wed, Jul 01, 2020 at 09:39:20PM +0100, Mark Brown wrote: > On Fri, Jun 19, 2020 at 08:29:59PM -0700, Kees Cook wrote: > > Using uninitialized_var() is dangerous as it papers over real bugs[1] > > (or can in the future), and suppresses unrelated compiler warnings (e.g. > > "unused variable"). If

Re: [PATCH v4 05/18] nitro_enclaves: Handle PCI device command requests

2020-07-02 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves PCI device exposes a MMIO space that this driver uses to submit command requests and to receive command replies e.g. for enclave creation / termination or setting enclave resources. Add logic for handling PCI device command

[PATCH] ubifs: Fix wrong orphan node deletion in ubifs_jnl_update()

2020-07-02 Thread Zhihao Cheng
There a wrong orphan node deleting in error handling path in ubifs_jnl_update(), which may cause following error msg: UBIFS error (ubi0:0 pid 1522): ubifs_delete_orphan [ubifs]: missing orphan ino 65 Fix this by checking whether the node has been operated for adding to orphan list before

[PATCH net-next v2 2/2] net: dsa: microchip: remove unused private members

2020-07-02 Thread Codrin Ciubotariu
Private structure members live_ports, on_ports, rx_ports, tx_ports are initialized but not used anywhere. Let's remove them. Suggested-by: Russell King Signed-off-by: Codrin Ciubotariu --- Changes in v2: - new patch, there was no v1 drivers/net/dsa/microchip/ksz8795.c| 18 --

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