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 regulator

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 C

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 C

[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 sim

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 > all

[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 b/drivers/staging/rtl8188

[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, 2

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 and

[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 282d0f

[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 --- a/drivers/soc/ti

[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 L

[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, and

[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 --- b

[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 a/bl

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 ag

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 >> wel

[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 drivers/clk

[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(+) dif

[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 de

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 running

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 corre

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 management.

[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 ++-- ker

[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 Ca

[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. U

[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 follow

[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 runs.

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 cl

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 consists

[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: https://lore.kernel.org/lkml/alpine.deb.

[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 requests

[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 bein

[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 --

Re: Kernel compression benchmarks

2020-07-02 Thread Kees Cook
On Wed, Jul 01, 2020 at 10:35:48AM -0400, Alex Xu (Hello71) wrote: > ZSTD compression patches have been sent in a number of times over the > past few years. Every time, someone asks for benchmarks. Every time, > someone is concerned about compression time. Sometimes, someone provides > benchmark

[PATCH net-next v2 1/2] net: dsa: microchip: split adjust_link() in phylink_mac_link_{up|down}()

2020-07-02 Thread Codrin Ciubotariu
The DSA subsystem moved to phylink and adjust_link() became deprecated in the process. This patch removes adjust_link from the KSZ DSA switches and adds phylink_mac_link_up() and phylink_mac_link_down(). Signed-off-by: Codrin Ciubotariu Reviewed-by: Russell King --- Changes in v2: - added revi

Re: [RFC] Bypass filesystems for reading cached pages

2020-07-02 Thread Andreas Gruenbacher
On Wed, Jun 24, 2020 at 2:35 PM Andreas Gruenbacher wrote: > On Mon, Jun 22, 2020 at 8:13 PM Matthew Wilcox wrote: > > On Mon, Jun 22, 2020 at 04:35:05PM +0200, Andreas Gruenbacher wrote: > > > I'm fine with not moving that functionality into the VFS. The problem > > > I have in gfs2 is that taki

Re: [PATCH net] net: dsa: microchip: set the correct number of ports

2020-07-02 Thread Codrin.Ciubotariu
On 02.07.2020 16:50, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Thu, Jul 02, 2020 at 12:44:50PM +0300, Codrin Ciubotariu wrote: >> The number of ports is incorrectly set to the maximum available for a DSA >> switch. Eve

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

2020-07-02 Thread Christoph Hellwig
On Thu, Jul 02, 2020 at 10:10:10AM -0400, Qian Cai wrote: > On Mon, Jun 29, 2020 at 09:39:45PM +0200, Christoph Hellwig wrote: > > Split out a __submit_bio_noacct helper for the actual de-recursion > > algorithm, and simplify the loop by using a continue when we can't > > enter the queue for a bio.

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

2020-07-02 Thread Naresh Kamboju
gt; enter the queue for a bio. > > > > Signed-off-by: Christoph Hellwig Kernel BUG: on arm64 and x86_64 devices running linux next-rc3-next-20200702 with KASAN config enabled. While running mkfs -t ext4. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/ke

Re: [RFC PATCH 10/10] timer: Lower base clock forwarding threshold

2020-07-02 Thread Thomas Gleixner
Frederic Weisbecker writes: > On Thu, Jul 02, 2020 at 03:21:35PM +0200, Thomas Gleixner wrote: >> Frederic Weisbecker writes: >> > @@ -883,7 +883,7 @@ static inline void forward_timer_base(struct >> > timer_base *base) >> > * Also while executing timers, base->clk is 1 offset ahead >> >

Re: [PATCH v13 03/11] KVM: VMX: Set guest CET MSRs per KVM and host configuration

2020-07-02 Thread Xiaoyao Li
On 7/1/2020 4:04 PM, Yang Weijiang wrote: CET MSRs pass through guest directly to enhance performance. CET runtime control settings are stored in MSR_IA32_{U,S}_CET, Shadow Stack Pointer(SSP) are stored in MSR_IA32_PL{0,1,2,3}_SSP, SSP table base address is stored in MSR_IA32_INT_SSP_TAB, these M

Re: objtool clac/stac handling change..

2020-07-02 Thread Christophe Leroy
Le 02/07/2020 à 15:34, Michael Ellerman a écrit : Linus Torvalds writes: On Wed, Jul 1, 2020 at 12:59 PM Al Viro wrote: On Wed, Jul 01, 2020 at 12:04:36PM -0700, Linus Torvalds wrote: That's actually for the access granting. Shutting the access down ends up always doing the same thing an

Re: [PATCH v8 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-02 Thread Neil Armstrong
Hi, On 02/07/2020 16:15, Daniel Vetter wrote: > On Thu, Jul 2, 2020 at 3:34 PM Neil Armstrong wrote: >> >> On 02/07/2020 15:18, Daniel Vetter wrote: >>> On Thu, Jul 02, 2020 at 09:23:11AM +, Simon Ser wrote: On Thursday, July 2, 2020 9:47 AM, Neil Armstrong wrote: > Final

[GIT PULL] nfsd bugfixes for 5.8

2020-07-02 Thread J. Bruce Fields
Please pull git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.8-1 Fixes for a umask bug on exported filesystems lacking ACL support, a leak and a module unloading bug in the /proc/fs/nfsd/clients/ code, and a compile warning. --b. -

Re: [PATCH v4 04/18] nitro_enclaves: Init PCI device driver

2020-07-02 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: The Nitro Enclaves PCI device is used by the kernel driver as a means of communication with the hypervisor on the host where the primary VM and the enclaves run. It handles requests with regard to enclave lifetime. Setup the PCI device driver and add

[PATCH net-next 1/7] devlink: Refactor devlink health reporter constructor

2020-07-02 Thread Moshe Shemesh
From: Vladyslav Tarasiuk Prepare a common routine in devlink_health_reporter_create() for usage in similar functions for devlink port health reporters. Signed-off-by: Vladyslav Tarasiuk Reviewed-by: Moshe Shemesh Reviewed-by: Jiri Pirko --- net/core/devlink.c | 45 +++

[PATCH net-next 5/7] devlink: Add devlink health port reporters API

2020-07-02 Thread Moshe Shemesh
From: Vladyslav Tarasiuk In order to use new devlink port health reporters infrastructure, add corresponding constructor and destructor functions. Signed-off-by: Vladyslav Tarasiuk Reviewed-by: Moshe Shemesh Reviewed-by: Jiri Pirko --- include/net/devlink.h | 9 + net/core/devlink.c

[PATCH net-next 7/7] net/mlx5e: Move devlink-health rx and tx reporters to devlink port

2020-07-02 Thread Moshe Shemesh
From: Vladyslav Tarasiuk Utilize new devlink-health port reporters API to move rx and tx reporters from device to port. Signed-off-by: Vladyslav Tarasiuk Reviewed-by: Moshe Shemesh Reviewed-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c | 9 +++-- drivers/ne

[PATCH net-next 2/7] devlink: Rework devlink health reporter destructor

2020-07-02 Thread Moshe Shemesh
From: Vladyslav Tarasiuk Devlink keeps its own reference to every reporter in a list and inits refcount to 1 upon reporter's creation. Existing destructor waits to free the memory indefinitely using msleep() until all references except devlink's own are put. Rework this mechanism by moving memor

[PATCH net-next 6/7] net/mlx5e: Move devlink port register and unregister calls

2020-07-02 Thread Moshe Shemesh
From: Vladyslav Tarasiuk Register devlink ports upon NIC init. TX and RX health reporters handle errors which may occur early on at driver initialization. And because these reporters are to be moved to port context, they require devlink ports to be already registered. Signed-off-by: Vladyslav Ta

[PATCH net-next 4/7] devlink: Implement devlink health reporters on per-port basis

2020-07-02 Thread Moshe Shemesh
From: Vladyslav Tarasiuk Add devlink-health reporter support on per-port basis. The main difference existing devlink-health is that port reporters are stored in per-devlink_port lists. Upon creation of such health reporter the reference to a port it belongs to is stored in reporter struct. Fill

[PATCH net-next 0/7] Add devlink-health support for devlink ports

2020-07-02 Thread Moshe Shemesh
Implement support for devlink health reporters on per-port basis. First part in the series prepares common functions parts for health reporter implementation. Second introduces required API to devlink-health and mlx5e ones demonstrate its usage and effectively implement the feature for mlx5 driver.

[PATCH net-next 3/7] devlink: Create generic devlink health reporter search function

2020-07-02 Thread Moshe Shemesh
From: Vladyslav Tarasiuk Add a generic __devlink_health_reporter_find_by_name() that can be used with arbitrary devlink health reporter list. Signed-off-by: Vladyslav Tarasiuk Reviewed-by: Moshe Shemesh Reviewed-by: Jiri Pirko --- net/core/devlink.c | 18 ++ 1 file changed, 1

Re: [PATCH] perf header: Fix possible memory leak when using do_read_string

2020-07-02 Thread Markus Elfring
> In the header.c file, some functions allocate memory after using > do_read_string, but the corresponding memory is not released after > subsequent processing errors, causing memory leaks. I suggest to choose an imperative wording for this change description. https://git.kernel.org/pub/scm/linux/

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

2020-07-02 Thread Mark Brown
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 attach sensors, etc. with > userspace

Re: [PATCH 04/18] alpha: Override READ_ONCE() with barriered implementation

2020-07-02 Thread Joel Fernandes
On Thu, Jul 2, 2020 at 10:55 AM Will Deacon wrote: > On Thu, Jul 02, 2020 at 10:43:55AM -0400, Joel Fernandes wrote: > > On Tue, Jun 30, 2020 at 1:38 PM Will Deacon wrote: > > > diff --git a/arch/alpha/include/asm/barrier.h > > > b/arch/alpha/include/asm/barrier.h > > > index 92ec486a4f9e..2ecd0

Re: [RFC PATCH] ALSA: compress: add support to change codec profile in gapless playback

2020-07-02 Thread Pierre-Louis Bossart
On 7/2/20 6:11 AM, Srinivas Kandagatla wrote: For gapless playback its possible that each track can have different codec profile with same decoder, for example we have WMA album, we may have different tracks as WMA v9, WMA v10 and so on Existing code does not allow to change this profile whil

Re: Perf: WARNING: arch/x86/entry/common.c:624 idtentry_exit_cond_rcu+0x92/0xc0

2020-07-02 Thread Peter Zijlstra
On Thu, Jul 02, 2020 at 07:57:54PM +0530, Naresh Kamboju wrote: > I have reported this warning on linux-next and now it is happening on > linux mainline tree. > May I know , are we missing a fix patch on linus 's tree ? > > - Naresh > --- > While running selftest x86 single_step_syscall_32 on > i3

Re: [PATCH 7/9] soundwire: intel/cadence: merge Soundwire interrupt handlers/threads

2020-07-02 Thread Pierre-Louis Bossart
On 7/2/20 2:35 AM, Liao, Bard wrote: -Original Message- From: Vinod Koul Sent: Wednesday, July 1, 2020 1:42 PM To: Pierre-Louis Bossart Cc: Bard Liao ; alsa-de...@alsa-project.org; ti...@suse.de; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; ranjani.sridha...@linux.intel.

Re: [PATCH] riscv: asm/gdb_xml.h: use __maybe_used to make W=1 warnings go away

2020-07-02 Thread Pierre-Louis Bossart
On 7/1/20 9:04 PM, Vincent Chen wrote: On Thu, Jul 2, 2020 at 2:48 AM Pierre-Louis Bossart wrote: 0day/kbuild reports warnings with the ASoC codecs compiled with W=1. In file included from arch/riscv/include/asm/kgdb.h:109, from include/linux/kgdb.h:20,

Re: [PATCH][next] ASoC: Intel: bxt-da7219-max98357a: return -EINVAL on unrecognized speaker amplifier

2020-07-02 Thread Pierre-Louis Bossart
On 7/2/20 6:48 AM, Colin King wrote: From: Colin Ian King Currently if the ctx->spkamp is not recognized an error message is reported but the code continues to set up the device with uninitialized variables such as the number of widgets. Fix this by returning -EINVAL for unrecognized speake

[PATCH -next] dm zoned: fix unused but set variable warnings

2020-07-02 Thread Wei Yongjun
Fix unused but set variable warnings: drivers/md/dm-zoned-reclaim.c:504:42: warning: variable nr_rnd set but not used [-Wunused-but-set-variable] 504 | unsigned int p_unmap, nr_unmap_rnd = 0, nr_rnd = 0; | ^~ drivers/md/dm-zoned-reclaim.c:504:

Re: [PATCH v4 02/14] irqchip/csky-apb-intc: Fix potential resource leaks

2020-07-02 Thread Dan Carpenter
On Wed, Jul 01, 2020 at 05:35:35PM +0800, Tiezhu Yang wrote: > On 07/01/2020 04:40 PM, Markus Elfring wrote: > > > … were not released in a few error cases. … > > Another small wording adjustment: > >… in two error cases. … > > OK A lot of people have told Marcus over and over not to comment

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

2020-07-02 Thread Geert Uytterhoeven
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 boards to use the spidev driver. > > > > I'd h

Re: [PATCH 04/18] alpha: Override READ_ONCE() with barriered implementation

2020-07-02 Thread Will Deacon
Hi Joel, On Thu, Jul 02, 2020 at 10:43:55AM -0400, Joel Fernandes wrote: > On Tue, Jun 30, 2020 at 1:38 PM Will Deacon wrote: > > diff --git a/arch/alpha/include/asm/barrier.h > > b/arch/alpha/include/asm/barrier.h > > index 92ec486a4f9e..2ecd068d91d1 100644 > > --- a/arch/alpha/include/asm/barr

[PATCH v5 06/10] arm64: dts: actions: Add DMA Controller for S700

2020-07-02 Thread Amit Singh Tomar
This commit adds DMA controller present on Actions S700, it differs from S900 in terms of number of dma channels and requests. Signed-off-by: Amit Singh Tomar --- Changes since v4: * No change. Changes since v3: * Fixed typo in commit message. * Placed owl-s700-powergate.h

[PATCH v5 04/10] clk: actions: Add MMC clock-register reset bits

2020-07-02 Thread Amit Singh Tomar
This commit adds reset bits needed for MMC clock registers present on Actions S700 SoC. Signed-off-by: Amit Singh Tomar --- Changes from v4: * Reordered it from 03/10 to 04/10. Changes from v3: * NO change. Changes from v2: * No change. Changes from v1: * No change

[PATCH v5 08/10] dt-bindings: mmc: owl: add compatible string actions,s700-mmc

2020-07-02 Thread Amit Singh Tomar
The commit adds a new SoC specific compatible string "actions,s700-mmc" in combination with more generic string "actions,owl-mmc". Placement order of these strings should abide by the principle of "from most specific to most general". Reviewed-by: Rob Herring Signed-off-by: Amit Singh Tomar ---

[PATCH v5 05/10] arm64: dts: actions: limit address range for pinctrl node

2020-07-02 Thread Amit Singh Tomar
After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions Semi S700") following error has been observed while booting Linux on Cubieboard7-lite(based on S700 SoC). [0.257415] pinctrl-s700 e01b.pinctrl: can't request region for resource [mem 0xe01b-0xe01b0fff] [0

[PATCH v5 01/10] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml

2020-07-02 Thread Amit Singh Tomar
Converts the device tree bindings for the Actions Semi Owl SoCs DMA Controller over to YAML schemas. It also adds new compatible string "actions,s700-dma". Reviewed-by: Rob Herring Signed-off-by: Amit Singh Tomar --- Changes since v4: * Added Rob's Reviewed-by tag. * Re-order it

[PATCH v5 07/10] dt-bindings: reset: s700: Add binding constants for mmc

2020-07-02 Thread Amit Singh Tomar
This commit adds device tree binding reset constants for mmc controller present on Actions S700 Soc. Acked-by: Rob Herring Signed-off-by: Amit Singh Tomar --- Changes since v4: * No change. Changes since v3: * No change. Changes since v2: * No change. Changes since v1:

[PATCH v5 09/10] arm64: dts: actions: Add MMC controller support for S700

2020-07-02 Thread Amit Singh Tomar
This commits adds support for MMC controllers present on Actions S700 SoC, there are 3 MMC controllers in this SoC which can be used for accessing SD/EMMC/SDIO cards. Signed-off-by: Amit Singh Tomar --- Changes since v4: * No change. Changes since v3: * No change. Changes since v2

[PATCH -next] lib/test_bits: make some functions static

2020-07-02 Thread Wei Yongjun
Fix sparse build warnings: lib/test_bits.c:10:6: warning: symbol 'genmask_test' was not declared. Should it be static? lib/test_bits.c:27:6: warning: symbol 'genmask_ull_test' was not declared. Should it be static? lib/test_bits.c:42:6: warning: symbol 'genmask_input_check_test' was not declare

[PATCH v5 10/10] arm64: dts: actions: Add uSD support for Cubieboard7

2020-07-02 Thread Amit Singh Tomar
This commit adds uSD support for Cubieboard7 board based on Actions Semi S700 SoC. SD0 is connected to uSD slot. Since there is no PMIC support added yet, fixed regulator has been used as a regulator node. Signed-off-by: Amit Singh Tomar --- Changes since v4: * No change. Changes since v3

[PATCH v5 02/10] dmaengine: Actions: get rid of bit fields from dma descriptor

2020-07-02 Thread Amit Singh Tomar
At the moment, Driver uses bit fields to describe registers of the DMA descriptor structure that makes it less portable and maintainable, and Andre suugested(and even sketched important bits for it) to make use of array to describe this DMA descriptors instead. It gives the flexibility while extend

[PATCH v5 00/10] Add MMC and DMA support for Actions S700

2020-07-02 Thread Amit Singh Tomar
This Series(v5) addressed the review comments provided by Vinod, and patch 05/10 is moved to 01/10 so that documentation patch comes before driver. Apart from it, changes are made in patch 03/10(earlier it was 02/10) to replace of_match_device() with of_device_get_match_data() and removed uintptr_

[PATCH v5 03/10] dmaengine: Actions: Add support for S700 DMA engine

2020-07-02 Thread Amit Singh Tomar
DMA controller present on S700 SoC is compatible with the one on S900 (as most of registers are same), but it has different DMA descriptor structure where registers "fcnt" and "ctrlb" uses different encoding. For instance, on S900 "fcnt" starts at offset 0x0c and uses upper 12 bits whereas on S700

Re: [PATCH RFC] leds: Add support for per-LED device triggers

2020-07-02 Thread Ondřej Jirman
Hi, On Thu, Jul 02, 2020 at 04:47:11PM +0200, megous hlavni wrote: > Some LED controllers may come with an internal HW triggering mechanism > for the LED and an ability to switch between user control of the LED, > or the internal control. One such example is AXP20X PMIC, that allows > wither for u

Re: [PATCH 17/20] block: rename generic_make_request to submit_bio_noacct

2020-07-02 Thread Coly Li
On 2020/7/1 16:59, Christoph Hellwig wrote: > generic_make_request has always been very confusingly misnamed, so rename > it to submit_bio_noacct to make it clear that it is submit_bio minus > accounting and a few checks. > > Signed-off-by: Christoph Hellwig I will miss generic_make_request(). A

[PATCH 07/30] usb: common: ulpi: Fix a few kerneldoc related issues

2020-07-02 Thread Lee Jones
Firstly, demote function header to standard comment block as they are not suitable for kerneldoc. Then provide description for ulpi_register_driver()'s argument 'module'. Finally rename description for ulpi_unregister_interface()'s 'ulpi' arg. Fixes the following W=1 warnings: drivers/usb/comm

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