Re: [PATCH] USB: apple-mfi-fastcharge: Use devm_kzalloc and simplify the code

2020-11-15 Thread Lucas Tanure
On Sat, Nov 14, 2020 at 3:03 PM Greg Kroah-Hartman wrote: > > On Sat, Nov 14, 2020 at 02:17:48PM +, Lucas Tanure wrote: > > On Sat, Nov 14, 2020 at 12:56 PM Greg Kroah-Hartman > > wrote: > > > > > > On Sat, Nov 14, 2020 at 12:42:49PM +, Lucas Tanure wrote: > > > > Signed-off-by: Lucas

[PATCH] bdi: Fix error return code in alloc_wbufs()

2020-11-15 Thread Wang ShaoBo
Fix to return PTR_ERR() error code from the error handling case instead fo 0 in function alloc_wbufs(), as done elsewhere in this function. Fixes: 6a98bc4614de ("ubifs: Add authentication nodes to journal") Signed-off-by: Wang ShaoBo --- fs/ubifs/super.c | 4 +++- 1 file changed, 3

[PATCH] IB/hfi1: Fix error return code in hfi1_init_dd()

2020-11-15 Thread Wang ShaoBo
Fix to return the error code from hfi1_netdev_alloc() instaed of 0 in hfi1_init_dd(), as done elsewhere in this function. Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev") Signed-off-by: Wang ShaoBo --- drivers/infiniband/hw/hfi1/chip.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH] USB: apple-mfi-fastcharge: Use devm_kzalloc and simplify the code

2020-11-15 Thread Greg Kroah-Hartman
On Sun, Nov 15, 2020 at 08:13:51AM +, Lucas Tanure wrote: > On Sat, Nov 14, 2020 at 3:03 PM Greg Kroah-Hartman > wrote: > > > > On Sat, Nov 14, 2020 at 02:17:48PM +, Lucas Tanure wrote: > > > On Sat, Nov 14, 2020 at 12:56 PM Greg Kroah-Hartman > > > wrote: > > > > > > > > On Sat, Nov 14,

Re: bpf test error: BUG: sleeping function called from invalid context in sta_info_move_state

2020-11-15 Thread Dmitry Vyukov
On Sat, Nov 14, 2020 at 9:42 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:96021828 MAINTAINERS/bpf: Update Andrii's entry. > git tree: bpf > console output: https://syzkaller.appspot.com/x/log.txt?x=102717be50 > kernel config:

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-15 Thread Mike Rapoport
On Thu, Nov 12, 2020 at 09:15:18PM +0100, David Hildenbrand wrote: > > > Am 12.11.2020 um 20:08 schrieb Mike Rapoport : > > > > On Thu, Nov 12, 2020 at 05:22:00PM +0100, David Hildenbrand wrote: > >>> On 10.11.20 19:06, Mike Rapoport wrote: > >>> On Tue, Nov 10, 2020 at 06:17:26PM +0100, David

Re: v5.10-rc3 vs. Droid 4

2020-11-15 Thread Tony Lindgren
* Pavel Machek [201114 20:59]: > Hi! > > Does anyone have Droid 4 working with 5.10-rc3? > > I tried it with the original config; I got message about culomb > counter calibration done scrolling (and boot progressing very slowly > or not at all) . So ... I disabled cpcap battery & charger >

INFO: task can't die in io_sq_thread_stop

2020-11-15 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6dd65e60 Add linux-next specific files for 20201110 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=14727d4250 kernel config: https://syzkaller.appspot.com/x/.config?x=4fab43daf5c54712 dashboard

Re: [PATCH] mfd: cpcap: Fix interrupt regression with regmap clear_ack

2020-11-15 Thread Tony Lindgren
* Tim Harvey [201113 22:07]: > 3a6f0fb7b8eb ("regmap: irq: Add support to clear ack registers") > appears to not only add the new clear_ack case it also attempts to > resolve the long standing ack_invert issue with this change: > > - ret = regmap_write(map, reg, data->status_buf[i]); > + if

mtk_scp_ipi.c:undefined reference to `__iowrite32_copy'

2020-11-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e28c0d7c92c89016c12a677616668957351e7542 commit: cbd2dca74926c0e4610c40923cc786b732c9e8ef remoteproc: scp: add COMPILE_TEST dependency date: 7 weeks ago config: s390-randconfig-p002-20201115 (attached

Re: [RFC PATCH v3 9/9] ipu3-cio2: Add functionality allowing software_node connections to sensors on platforms designed for Windows

2020-11-15 Thread Daniel Scally
On 13/11/2020 19:45, Andy Shevchenko wrote: > On Fri, Nov 13, 2020 at 6:22 PM Laurent Pinchart > wrote: >> On Fri, Nov 13, 2020 at 10:02:30AM +, Dan Scally wrote: >>> On 29/10/2020 22:51, Laurent Pinchart wrote: On Fri, Oct 30, 2020 at 12:22:15AM +0200, Andy Shevchenko wrote: > On

Re: [PATCH v8 4/9] mm: introduce memfd_secret system call to create "secret" memory areas

2020-11-15 Thread Mike Rapoport
On Fri, Nov 13, 2020 at 01:58:48PM +, Matthew Wilcox wrote: > On Tue, Nov 10, 2020 at 05:14:39PM +0200, Mike Rapoport wrote: > > +static vm_fault_t secretmem_fault(struct vm_fault *vmf) > > +{ > > + struct address_space *mapping = vmf->vma->vm_file->f_mapping; > > + struct inode *inode =

Re: [PATCH v8 4/9] mm: introduce memfd_secret system call to create "secret" memory areas

2020-11-15 Thread Mike Rapoport
On Fri, Nov 13, 2020 at 02:06:56PM +, Matthew Wilcox wrote: > On Tue, Nov 10, 2020 at 05:14:39PM +0200, Mike Rapoport wrote: > > diff --git a/mm/Kconfig b/mm/Kconfig > > index c89c5444924b..d8d170fa5210 100644 > > --- a/mm/Kconfig > > +++ b/mm/Kconfig > > @@ -884,4 +884,7 @@ config

Re: [PATCH v8 8/9] arch, mm: wire up memfd_secret system call were relevant

2020-11-15 Thread Mike Rapoport
On Fri, Nov 13, 2020 at 12:25:08PM +, Catalin Marinas wrote: > Hi Mike, > > On Tue, Nov 10, 2020 at 05:14:43PM +0200, Mike Rapoport wrote: > > diff --git a/arch/arm64/include/asm/unistd32.h > > b/arch/arm64/include/asm/unistd32.h > > index 6c1dcca067e0..c71c3fe0b6cd 100644 > > ---

Re: [PATCH net-next] net: mvneta: Fix validation of 2.5G HSGMII without comphy

2020-11-15 Thread Marek Behún
On Sun, 15 Nov 2020 03:26:01 +0100 Andreas Färber wrote: > Hi Russell, > > On 15.11.20 02:02, Russell King - ARM Linux admin wrote: > > On Sun, Nov 15, 2020 at 01:41:51AM +0100, Andreas Färber wrote: > >> Commit 1a642ca7f38992b086101fe204a1ae3c90ed8016 (net: ethernet: mvneta: > >> Add

Re: [PATCH net-next] net: mvneta: Fix validation of 2.5G HSGMII without comphy

2020-11-15 Thread Marek Behún
On Sun, 15 Nov 2020 01:41:51 +0100 Andreas Färber wrote: > - if (pp->comphy || state->interface == PHY_INTERFACE_MODE_2500BASEX) { > + if (pp->comphy || state->interface == PHY_INTERFACE_MODE_2500BASEX > +|| state->interface == PHY_INTERFACE_MODE_NA) { >

Re: [PATCH v7 1/2] kunit: Support for Parameterized Testing

2020-11-15 Thread Marco Elver
On Sat, 14 Nov 2020 at 13:38, Arpitha Raghunandan <98.a...@gmail.com> wrote: > Implementation of support for parameterized testing in KUnit. This > approach requires the creation of a test case using the > KUNIT_CASE_PARAM() macro that accepts a generator function as input. > > This generator

Re: linux-next: build failure after merge of the akpm tree

2020-11-15 Thread Mike Rapoport
On Fri, Nov 13, 2020 at 05:14:52PM -0800, Andrew Morton wrote: > On Fri, 13 Nov 2020 18:02:39 +1100 Stephen Rothwell > wrote: > > > Hi all, > > > > After merging the akpm tree, today's linux-next build (i386 defconfig) > > failed like this: > > > > mm/secretmem.c: In function

[PATCH] soc/tegra: fuse: Fix build with Tegra234 configuration

2020-11-15 Thread Wang ShaoBo
If only Tegra234 support is enabled, the tegra30_fuse_read() and tegra30_fuse_init() function are not declared and cause a build failure. drivers/soc/tegra/fuse/fuse-tegra30.c:376:10: error: ‘tegra30_fuse_read’ undeclared here (not in a function); did you mean ‘tegra_fuse_readl’? .read =

Re: [PATCH v8 6/9] secretmem: add memcg accounting

2020-11-15 Thread Mike Rapoport
On Fri, Nov 13, 2020 at 03:42:25PM -0800, Roman Gushchin wrote: > вт, 10 нояб. 2020 г. в 07:16, Mike Rapoport : > > > > From: Mike Rapoport > > > > Account memory consumed by secretmem to memcg. The accounting is updated > > when the memory is actually allocated and freed. > > > > Signed-off-by:

Re: [PATCH RFC v1 1/4] dt-bindings: net: dwmac-meson: use picoseconds for the RGMII RX delay

2020-11-15 Thread Martin Blumenstingl
Hi Andrew, On Sat, Nov 14, 2020 at 11:32 PM Andrew Lunn wrote: [...] > > +amlogic,rgmii-rx-delay-ps: > > + default: 0 > >description: > > The internal RGMII RX clock delay (provided by this IP block) > > in > > -nanoseconds. When phy-mode is

Re: [PATCH v8 08/26] memory: tegra30-emc: Continue probing if timings are missing in device-tree

2020-11-15 Thread Dmitry Osipenko
14.11.2020 18:42, Krzysztof Kozlowski пишет: > On Wed, Nov 11, 2020 at 04:14:38AM +0300, Dmitry Osipenko wrote: >> EMC driver will become mandatory after turning it into interconnect >> provider because interconnect users, like display controller driver, will >> fail to probe using newer

Re: [PATCH] IB/hfi1: Fix error return code in hfi1_init_dd()

2020-11-15 Thread Leon Romanovsky
On Sun, Nov 15, 2020 at 04:25:48PM +0800, Wang ShaoBo wrote: > Fix to return the error code from hfi1_netdev_alloc() instaed of 0 > in hfi1_init_dd(), as done elsewhere in this function. > > Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev") > Signed-off-by: Wang ShaoBo > --- >

Re: [PATCH net-next] net: mvneta: Fix validation of 2.5G HSGMII without comphy

2020-11-15 Thread Russell King - ARM Linux admin
On Sun, Nov 15, 2020 at 03:26:01AM +0100, Andreas Färber wrote: > Hi Russell, > > On 15.11.20 02:02, Russell King - ARM Linux admin wrote: > > On Sun, Nov 15, 2020 at 01:41:51AM +0100, Andreas Färber wrote: > >> Commit 1a642ca7f38992b086101fe204a1ae3c90ed8016 (net: ethernet: mvneta: > >> Add

[PATCH] net: lantiq: Wait for the GPHY firmware to be ready

2020-11-15 Thread Martin Blumenstingl
A user reports (slightly shortened from the original message): libphy: lantiq,xrx200-mdio: probed mdio_bus 1e108000.switch-mii: MDIO device at address 17 is missing. gswip 1e108000.switch lan: no phy at 2 gswip 1e108000.switch lan: failed to connect to port 2: -19 lantiq,xrx200-net

Re: [RFC PATCH v2 00/26] Make reporting-bugs easier to grasp and yet more detailed & helpful

2020-11-15 Thread Thorsten Leemhuis
Am 13.11.20 um 23:33 schrieb Jonathan Corbet: On Thu, 12 Nov 2020 18:58:37 +0100 Thorsten Leemhuis wrote: This series rewrites the "how to report bugs to the Linux kernel maintainers" document to make it more straight forward and its essence easier to grasp. At the same time make the text

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

2020-11-15 Thread Rui Salvaterra
>From the beginning, the zram block device always enabled CRYPTO_LZO, since lzo-rle is hardcoded as the fallback compression algorithm. As a consequence, on systems where another compression algorithm is chosen (e.g. CRYPTO_ZSTD), the lzo kernel module becomes unused, while still having to be

Re: Has the linux-kernel already implemented the functions in apollo-kernel?

2020-11-15 Thread Greg KH
On Sat, Oct 31, 2020 at 02:44:07PM +0800, Hongyi Zhao wrote: > Hi, > > The apollo-kernel (https://github.com/ApolloAuto/apollo-kernel) is a > patched Linux Kernel based on official Linux Kernel 4.4.32 with some > modifications on the kernel level, especially for the scenario > necessary to run

Re: pl353-smc.c:undefined reference to `amba_driver_register'

2020-11-15 Thread Krzysztof Kozlowski
esting for most of the drivers > date: 3 months ago > config: arm-randconfig-p002-20201115 (attached as .config) > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/

[PATCH] USB: apple-mfi-fastcharge: Fix kfree after failed kzalloc

2020-11-15 Thread Lucas Tanure
kfree don't need to be called after a failed kzalloc Signed-off-by: Lucas Tanure --- Follow up patch from "USB: apple-mfi-fastcharge: Use devm_kzalloc and simplify the code" drivers/usb/misc/apple-mfi-fastcharge.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff

Re: [PATCH v2 1/6] ARM: dts: exynos: Fix Ethernet interface description for Odroid XU3

2020-11-15 Thread Krzysztof Kozlowski
On Tue, Nov 03, 2020 at 07:44:07PM +0100, Łukasz Stelmach wrote: > Assign appropriate compatible properties. > > Signed-off-by: Łukasz Stelmach > --- > arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks, applied. Best regards,

Re: [PATCH v2 2/6] ARM: dts: exynos: Add an alias for the Ethernet interface on Odroid XU3

2020-11-15 Thread Krzysztof Kozlowski
On Tue, Nov 03, 2020 at 07:44:08PM +0100, Łukasz Stelmach wrote: > Add an alias to enable bootloaders to find the Ethernet > interface and assign a MAC address. > > Signed-off-by: Łukasz Stelmach > --- > arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 > 1 file changed, 4 insertions(+) >

[PATCH bpf-next] libbpf: bpf__find_by_name[_kind] should use btf__get_nr_types()

2020-11-15 Thread Alan Maguire
When operating on split BTF, btf__find_by_name[_kind] will not iterate over all types since they use btf->nr_types to show the number of types to iterate over. For split BTF this is the number of types _on top of base BTF_, so it will underestimate the number of types to iterate over, especially

Re: [RFC bpf-next 1/3] bpf: add module support to btf display helpers

2020-11-15 Thread Alan Maguire
On Sat, 14 Nov 2020, Yonghong Song wrote: > > > On 11/14/20 8:04 AM, Alexei Starovoitov wrote: > > On Fri, Nov 13, 2020 at 10:59 PM Andrii Nakryiko > > wrote: > >> > >> On Fri, Nov 13, 2020 at 10:11 AM Alan Maguire > >> wrote: > >>> > >>> bpf_snprintf_btf and bpf_seq_printf_btf use a "struct

[tip:irq/core] BUILD SUCCESS f296dcd629aa412a80a53215e46087f53af87f08

2020-11-15 Thread kernel test robot
randconfig-a006-20201115 i386 randconfig-a005-20201115 i386 randconfig-a001-20201115 i386 randconfig-a002-20201115 i386 randconfig-a004-20201115 i386 randconfig-a003-20201115 x86_64 randconfig-a015

[tip: irq/core] genirq/irqdomain: Make irq_domain_disassociate() static

2020-11-15 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/core branch of tip: Commit-ID: e906a546bd8653ed2e7a14cb300fd17952d7f862 Gitweb: https://git.kernel.org/tip/e906a546bd8653ed2e7a14cb300fd17952d7f862 Author:Thomas Gleixner AuthorDate:Sat, 14 Nov 2020 23:36:28 +01:00

Re: [PATCH] MAINTAINERS: rectify file patterns for NETFILTER

2020-11-15 Thread Pablo Neira Ayuso
On Mon, Nov 09, 2020 at 10:19:42AM +0100, Lukas Bulwahn wrote: > The two file patterns in the NETFILTER section: > > F: include/linux/netfilter* > F: include/uapi/linux/netfilter* > > intended to match the directories: > > ./include{/uapi}/linux/netfilter_{arp,bridge,ipv4,ipv6}

Re: [PATCH v4 06/17] PCI: add SIOV and IMS capability detection

2020-11-15 Thread Thomas Gleixner
On Sat, Nov 14 2020 at 13:18, Ashok Raj wrote: > On Sat, Nov 14, 2020 at 10:34:30AM +, Christoph Hellwig wrote: >> On Thu, Nov 12, 2020 at 11:42:46PM +0100, Thomas Gleixner wrote: >> Which is why I really think we need explicit opt-ins for "native" >> SIOV handling and for paravirtualized SIOV

Re: [PATCH v6] can: usb: etas_es58X: add support for ETAS ES58X CAN USB interfaces

2020-11-15 Thread Vincent MAILHOL
X-add-support-for-ETAS-ES58X-CAN-USB-interfaces/20201114-232854 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1 > config: x86_64-randconfig-a005-20201115 (attached as .config) > compiler: clang vers

Re: [Linux-kernel-mentees] [PATCH v4 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-15 Thread Anmol Karn
On Sat, Nov 14, 2020 at 11:18:38AM -0800, Jakub Kicinski wrote: > On Wed, 11 Nov 2020 22:29:54 +0530 Anmol Karn wrote: > > rose_send_frame() dereferences `neigh->dev` when called from > > rose_transmit_clear_request(), and the first occurrence of the > > `neigh` is in rose_loopback_timer() as

[PATCH rdma-next v1 0/7] Use ib_umem_find_best_pgsz() for all umems

2020-11-15 Thread Leon Romanovsky
From: Leon Romanovsky Changelog: v1: * Added patch for raw QP * Fixed commit messages v0: https://lore.kernel.org/lkml/20201026132635.1337663-1-l...@kernel.org - >From Jason: Move the remaining cases working with umems to use versions of ib_umem_find_best_pgsz()

[PATCH] remoteproc: Add module parameter 'auto_boot'

2020-11-15 Thread Paul Cercueil
Until now the remoteproc core would always default to trying to boot the remote processor at startup. The various remoteproc drivers could however override that setting. Whether or not we want the remote processor to boot, really depends on the nature of the processor itself - a processor built

j721e-evm.c:undefined reference to `clk_set_parent'

2020-11-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e28c0d7c92c89016c12a677616668957351e7542 commit: 6748d05590594837e42dfa975879fb275099f0b2 ASoC: ti: Add custom machine driver for j721e EVM (CPB and IVI) date: 5 months ago config:

Re: [PATCH] sched/core: Add missing completion for affine_move_task() waiters

2020-11-15 Thread Tao Zhou
Hi, On Fri, Nov 13, 2020 at 11:24:14AM +, Valentin Schneider wrote: > Qian reported that some fuzzer issuing sched_setaffinity() ends up stuck on > a wait_for_completion(). The problematic pattern seems to be: > affine_move_task() > // task_running() case > stop_one_cpu(); >

Re: [PATCH] perf test: Fix dwarf unwind for optimized builds.

2020-11-15 Thread Miguel Ojeda
On Sat, Nov 14, 2020 at 9:14 PM Ian Rogers wrote: > > Unfortunately no GCC version actually has this fixed. Then we can say GCC <= 11 does not support it yet or something like that. > This seems overly complex and unnecessary. How is 1 condition more complex than 3 different ones? Cheers,

Re: PCI: Race condition in pci_create_sysfs_dev_files

2020-11-15 Thread Pali Rohár
On Sunday 15 November 2020 07:19:36 Krzysztof Wilczyński wrote: > Hello Pali! > > Sincere apologies for taking a long time to get back to you. > > On 20-11-04 17:29:31, Pali Rohár wrote: > > [...] > > > > Krzysztof, as Bjorn wrote, do you want to take this issue? > > > [...] > > Yes. I

[PATCH] staging: rtl8188eu: clean up the useless code

2020-11-15 Thread xiakaixu1987
From: Kaixu Xia The two bool variables singletone and carrier_sup are always false and the following if statement can't be true, these code are useless, so remove them. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- drivers/staging/rtl8188eu/hal/phy.c | 7 --- 1 file changed, 7

[PATCH rdma-next 0/2] Enable querying AH for XRC QP types

2020-11-15 Thread Leon Romanovsky
From: Leon Romanovsky Update mlx4 and mlx5 drivers to support querying AH for XRC QP types. Thanks Avihai Horon (2): RDMA/mlx5: Enable querying AH for XRC QP types RDMA/mlx4: Enable querying AH for XRC QP types drivers/infiniband/hw/mlx4/qp.c | 4 +++- drivers/infiniband/hw/mlx5/qp.c | 4

Re: [PATCH v2 1/1] page_frag: Recover from memory pressure

2020-11-15 Thread Matthew Wilcox
On Sat, Nov 14, 2020 at 10:51:06PM -0800, Dongli Zhang wrote: > + if (nc->pfmemalloc) { You missed the unlikely() change that Eric recommended.

[PATCH v3 3/4] ASoC: pcm512x: Move format check into `set_fmt()`

2020-11-15 Thread Kirill Marinushkin
I would like to describe the reasoning by quoting Peter Ujfalusi from his review of this patch series v1 [1]: > When you bind a link you will use set_fmt for the two sides to see if > they can agree, that both can support what has been asked. > > The pcm512x driver just saves the fmt and say

Re: [PATCH v7 1/2] kunit: Support for Parameterized Testing

2020-11-15 Thread Arpitha Raghunandan
On 15/11/20 2:28 pm, Marco Elver wrote: > On Sat, 14 Nov 2020 at 13:38, Arpitha Raghunandan <98.a...@gmail.com> wrote: >> Implementation of support for parameterized testing in KUnit. This >> approach requires the creation of a test case using the >> KUNIT_CASE_PARAM() macro that accepts a

[PATCH v3 0/4] ASoC: pcm512x: Patch series to set fmt from `set_fmt()`

2020-11-15 Thread Kirill Marinushkin
Set format from `set_fmt()` func instead of `hw_params()`, plus supportive commits Kirill Marinushkin (4): ASoC: pcm512x: Fix not setting word length if DAIFMT_CBS_CFS ASoC: pcm512x: Rearrange operations in `hw_params()` ASoC: pcm512x: Move format check into `set_fmt()` ASoC: pcm512x: Add

[PATCH v3 1/4] ASoC: pcm512x: Fix not setting word length if DAIFMT_CBS_CFS

2020-11-15 Thread Kirill Marinushkin
In `pcm512x_hw_params()`, the following switch-case: switch (pcm512x->fmt & SND_SOC_DAIFMT_MASTER_MASK) { case SND_SOC_DAIFMT_CBS_CFS: returns 0, which was preventing word length from being written into codecs register. Fixed by writing it into register before checking

[PATCH v3 2/4] ASoC: pcm512x: Rearrange operations in `hw_params()`

2020-11-15 Thread Kirill Marinushkin
This commit is a preparation for the next patch in the series. It's goal is to make format check easy-to-move-out. Theoretically, more butifications are possile in `hw_params()` func, but my intention in this commit is to keep behaviour unchanged. Signed-off-by: Kirill Marinushkin Cc: Mark Brown

Re: [PATCH] phy: phylink: Fix CuSFP issue in phylink

2020-11-15 Thread Russell King - ARM Linux admin
On Wed, Nov 11, 2020 at 09:52:18AM +0100, Bjarni Jonasson wrote: > > Russell King - ARM Linux admin writes: > > > On Tue, Nov 10, 2020 at 03:16:34PM +0100, Bjarni Jonasson wrote: > >> > >> Russell King - ARM Linux admin writes: > >> > >> > On Tue, Nov 10, 2020 at 11:06:42AM +0100, Bjarni

[PATCH v3 4/4] ASoC: pcm512x: Add support for more data formats

2020-11-15 Thread Kirill Marinushkin
Currently, pcm512x driver supports only I2S data format. This commit adds RJ, LJ, DSP_A and DSP_B as well. I don't expect regression WRT existing sound cards, because: * default value in corresponding register of pcm512x codec is 0 == I2S * existing in-tree sound cards with pcm512x codec are

Re: [Fonts] 9522750c66: fio.read_iops 7.5% improvement

2020-11-15 Thread Feng Tang
On Sat, Nov 14, 2020 at 01:25:44PM +0100, Greg Kroah-Hartman wrote: > On Sat, Nov 14, 2020 at 03:19:17PM +0800, Feng Tang wrote: > > Hi Greg, > > > > On Fri, Nov 13, 2020 at 07:46:57AM +0100, Greg Kroah-Hartman wrote: > > > On Thu, Nov 12, 2020 at 10:06:25PM +0800, kernel test robot wrote: > > >

Re: [PATCH] PCI: Add sysfs attribute for PCI device power state

2020-11-15 Thread Maximilian Luz
On 11/15/20 7:08 AM, Krzysztof Wilczyński wrote: Hi Maximilian, On 20-11-02 15:15:20, Maximilian Luz wrote: While most PCI power-states can be queried from user-space via lspci, this has some limits. Specifically, lspci fails to provide an accurate value when the device is in D3cold as it has

Re: [PATCH RFC v3] ipvs: add genetlink cmd to dump all services and destinations

2020-11-15 Thread Julian Anastasov
Hello, On Tue, 10 Nov 2020, Cezar Sa Espinola wrote: > A common operation for userspace applications managing ipvs is to dump all > services and all destinations and then sort out what needs to be done. > Previously this could only be accomplished by issuing 1 netlink >

[GIT pull] perf/urgent for v5.10-rc4

2020-11-15 Thread Thomas Gleixner
Linus, please pull the latest perf/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-2020-11-15 up to: 1a8cfa24e21c: perf/x86/intel/uncore: Fix Add BW copypasta A set of fixes for perf: - A set of commits which reduce the stack usage of various

[GIT pull] x86/urgent for v5.10-rc4

2020-11-15 Thread Thomas Gleixner
Linus, please pull the latest x86/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2020-11-15 up to: ff828729be44: iommu/vt-d: Cure VF irqdomain hickup A small set of fixes for x86: - Cure the fallout from the MSI irqdomain overhaul which missed

[GIT pull] locking/urgent for v5.10-rc4

2020-11-15 Thread Thomas Gleixner
Linus, please pull the latest locking/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2020-11-15 up to: d61fc96a3760: lockdep: Avoid to modify chain keys in validate_chain() Two fixes for the locking subsystem: - Prevent an unconditional

[GIT pull] sched/urgent for v5.10-rc4

2020-11-15 Thread Thomas Gleixner
Linus, please pull the latest sched/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-2020-11-15 up to: 8d4d9c7b4333: sched/debug: Fix memory corruption caused by multiple small reads of flags A set of scheduler fixes: - Address a load balancer

Re: [PATCH] perf stat: Take cgroups into account for shadow stats

2020-11-15 Thread Andi Kleen
> @@ -57,6 +59,9 @@ static int saved_value_cmp(struct rb_node *rb_node, const > void *entry) > if (a->ctx != b->ctx) > return a->ctx - b->ctx; > > + if (a->cgrp != b->cgrp) > + return (char *)a->cgrp < (char *)b->cgrp ? -1 : +1; This means the sort order

Re: [PATCH] perf stat: Take cgroups into account for shadow stats

2020-11-15 Thread Andi Kleen
Actually thinking about it more you should probably pass around ctx/cgroup in a single abstract argument. Otherwise have to change all the metrics functions for the next filter too.

Re: [PATCH v2 5/5] crypto: hisilicon/hpre - add 'CURVE25519' algorithm

2020-11-15 Thread kernel test robot
Hi Meng, Thank you for the patch! Yet something to improve: [auto build test ERROR on cryptodev/master] [also build test ERROR on crypto/master v5.10-rc3 next-20201113] [cannot apply to sparc-next/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH] perf vendor events: Update Skylake client events to v50

2020-11-15 Thread Andi Kleen
> Can I get ACK for this patch? > > It's mainly for fixing the perf-test issue and MEM_Parallel_Reads issue. Acked-by: Andi Kleen The JSON updates should be imho just merged automatically. Not much point in doing code review on them. If there's a problem it has to be fixed JSON upstream

Re: [PATCH v5 2/6] fpga: m10bmc-sec: create max10 bmc secure update driver

2020-11-15 Thread Tom Rix
On 11/13/20 4:55 PM, Russ Weight wrote: > Create a platform driver that can be invoked as a sub > driver for the Intel MAX10 BMC in order to support > secure updates. This sub-driver will invoke an > instance of the FPGA Security Manager class driver > in order to expose sysfs interfaces for

Re: [PATCH 1/3] x86/quirks: Scan all busses for early PCI quirks

2020-11-15 Thread Eric W. Biederman
Bjorn Helgaas writes: > [+cc Rafael for question about ACPI method for PCI host bridge reset] > > On Sat, Nov 14, 2020 at 09:58:08PM +0100, Thomas Gleixner wrote: >> On Sat, Nov 14 2020 at 14:39, Bjorn Helgaas wrote: >> > On Sat, Nov 14, 2020 at 12:40:10AM +0100, Thomas Gleixner wrote: >> >> On

Re: [PATCH v1] clk: tegra30: Use 300MHz for video decoder by default

2020-11-15 Thread Dmitry Osipenko
15.11.2020 00:16, Stephen Boyd пишет: > Quoting Dmitry Osipenko (2020-11-04 05:48:10) >> The 600MHz is a too high clock rate for some SoC versions for the video >> decoder hardware and this may cause stability issues. Use 300MHz for the >> video decoder by default, which is supported by all

Re: rmk/for-next bisection: baseline.login on bcm2836-rpi-2-b

2020-11-15 Thread Ard Biesheuvel
On Fri, 13 Nov 2020 at 17:25, Ard Biesheuvel wrote: > > On Fri, 13 Nov 2020 at 17:15, Ard Biesheuvel wrote: > > > > On Fri, 13 Nov 2020 at 16:58, Russell King - ARM Linux admin > > wrote: > > > > > > On Fri, Nov 13, 2020 at 03:43:27PM +, Guillaume Tucker wrote: > > > > On 13/11/2020 10:35,

[PATCH] mm: remove the filename in the top of file comment in vmscan.c

2020-11-15 Thread logic.yu
No point in having the filename inside the file. Signed-off-by: logic.yu --- mm/vmscan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 1b8f0e059767..16b9d82a7941 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1,7 +1,5 @@ // SPDX-License-Identifier:

Re: [PATCH v5 5/6] fpga: m10bmc-sec: add max10 secure update functions

2020-11-15 Thread Tom Rix
On 11/13/20 4:55 PM, Russ Weight wrote: > Extend the MAX10 BMC Secure Update driver to include > the functions that enable secure updates of BMC images, > FPGA images, etc. > > Signed-off-by: Russ Weight > --- > v5: > - No change > v4: > - No change > v3: > - Changed: iops -> sops, imgr

Re: [PATCH v5 6/6] fpga: m10bmc-sec: add max10 get_hw_errinfo callback func

2020-11-15 Thread Tom Rix
On 11/13/20 4:55 PM, Russ Weight wrote: > Extend the MAX10 BMC Secure Update driver to include > a function that returns 64 bits of additional HW specific > data for errors that require additional information. > This callback function enables the hw_errinfo sysfs > node in the Intel Security

undefined reference to `devm_mux_control_get'

2020-11-15 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e28c0d7c92c89016c12a677616668957351e7542 commit: abf00907538e21c469a10809dc2991982673fcbf spi: dw: Add Baikal-T1 SPI Controller glue driver date: 5 weeks ago config: parisc-randconfig-s032-20201115

[GIT PULL] Char/Misc driver fixes for 5.10-rc4

2020-11-15 Thread Greg KH
The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891: Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.10-rc4 for you to fetch changes up to

[GIT PULL] USB/Thunderbolt driver fixes for 5.10-rc4

2020-11-15 Thread Greg KH
The following changes since commit f8394f232b1eab649ce2df5c5f15b0e528c92091: Linux 5.10-rc3 (2020-11-08 16:10:16 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.10-rc4 for you to fetch changes up to

Re: [PATCH 1/3] x86/quirks: Scan all busses for early PCI quirks

2020-11-15 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Bjorn Helgaas writes: > >> [+cc Rafael for question about ACPI method for PCI host bridge reset] >> >> On Sat, Nov 14, 2020 at 09:58:08PM +0100, Thomas Gleixner wrote: >>> On Sat, Nov 14 2020 at 14:39, Bjorn Helgaas wrote: >>> > On Sat, Nov 14,

Re: [PATCH v2 0/8] Fork brute force attack mitigation

2020-11-15 Thread John Wood
On Tue, Nov 10, 2020 at 04:10:49PM -0800, Kees Cook wrote: > On Sun, Oct 25, 2020 at 02:45:32PM +0100, John Wood wrote: > > Attacks against vulnerable userspace applications with the purpose to break > > ASLR or bypass canaries traditionaly use some level of brute force with the > > help of the

Re: [PATCH 1/3] x86/quirks: Scan all busses for early PCI quirks

2020-11-15 Thread Thomas Gleixner
On Sun, Nov 15 2020 at 08:29, Eric W. Biederman wrote: > ebied...@xmission.com (Eric W. Biederman) writes: > For ordinary irqs you can have this with level triggered irqs > and the kernel has code that will shutdown the irq at the ioapic > level. Then the kernel continues by polling the irq

Re: [PATCH v2] counter: microchip-tcb-capture: Fix CMR value check

2020-11-15 Thread Kamel Bouhara
On Sat, Nov 14, 2020 at 06:28:05PM -0500, William Breathitt Gray wrote: > The ATMEL_TC_ETRGEDG_* defines are not masks but rather possible values > for CMR. This patch fixes the action_get() callback to properly check > for these values rather than mask them. > > Fixes: 106b104137fd ("counter: Add

[PATCH] kvm: mmu: fix is_tdp_mmu_check when the TDP MMU is not in use

2020-11-15 Thread Paolo Bonzini
In some cases where shadow paging is in use, the root page will be either mmu->pae_root or vcpu->arch.mmu->lm_root. Then it will not have an associated struct kvm_mmu_page, because it is allocated with alloc_page instead of kvm_mmu_alloc_page. Just return false quickly from is_tdp_mmu_root if

[GIT PULL] More KVM fixes for 5.10-rc4

2020-11-15 Thread Paolo Bonzini
Linus, The following changes since commit 585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba: Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt (2020-11-12 16:39:58 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git

Re: [PATCH] counter: microchip-tcb-capture: Fix CMR value check

2020-11-15 Thread Kamel Bouhara
On Sat, Nov 14, 2020 at 05:58:28PM -0500, William Breathitt Gray wrote: > On Sat, Nov 14, 2020 at 11:51:13PM +0100, Alexandre Belloni wrote: > > On 14/11/2020 23:48:28+0100, Alexandre Belloni wrote: > > > On 11/11/2020 11:38:07-0500, William Breathitt Gray wrote: > > > > The ATMEL_TC_ETRGEDG_*

Re: [PATCH RFC v1 1/4] dt-bindings: net: dwmac-meson: use picoseconds for the RGMII RX delay

2020-11-15 Thread Andrew Lunn
On Sun, Nov 15, 2020 at 10:22:06AM +0100, Martin Blumenstingl wrote: > Hi Andrew, > > On Sat, Nov 14, 2020 at 11:32 PM Andrew Lunn wrote: > [...] > > > +amlogic,rgmii-rx-delay-ps: > > > + default: 0 > > >description: > > > The internal RGMII RX clock

[PATCH] ALSA: usb-audio: Use ALC1220-VB-DT mapping for ASUS ROG Strix TRX40 mobo

2020-11-15 Thread Kai-Heng Feng
ASUS ROG Strix also uses ALC1220-VB-DT, so adjust the mapping and add profile name to let userspace pick correct UCM profile. BugLink: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1031 Signed-off-by: Kai-Heng Feng --- sound/usb/card.c | 4 sound/usb/mixer_maps.c | 3

Re: [PATCH v1 net-next] net: dsa: qca: ar9331: add ethtool stats support

2020-11-15 Thread Andrew Lunn
On Sun, Nov 15, 2020 at 08:35:33AM +0100, Oleksij Rempel wrote: > Add stats support for the ar9331 switch. > > Signed-off-by: Oleksij Rempel Reviewed-by: Andrew Lunn Andrew

[PATCH] tracing: clean up after filter logic rewriting

2020-11-15 Thread Lukas Bulwahn
The functions event_{set,clear,}_no_set_filter_flag were only used in replace_system_preds() [now, renamed to process_system_preds()]. Commit 80765597bc58 ("tracing: Rewrite filter logic to be simpler and faster") removed the use of those functions in replace_system_preds(). Since then, the

Re: [PATCH 1/6] seq_file: add seq_read_iter

2020-11-15 Thread Al Viro
On Sat, Nov 14, 2020 at 08:50:00PM +, Al Viro wrote: OK, I think I understand what's going on. Could you check if reverting the variant in -next and applying the following instead fixes what you are seeing? diff --git a/fs/seq_file.c b/fs/seq_file.c index 3b20e21604e7..35667112bbd1 100644

Re: [PATCH v1] drivers: make struct device_driver::remove return void

2020-11-15 Thread kernel test robot
Hi "Uwe, I love your patch! Yet something to improve: [auto build test ERROR on 407ab579637ced6dc32cfb2295afb7259cca4b22] url: https://github.com/0day-ci/linux/commits/Uwe-Kleine-K-nig/drivers-make-struct-device_driver-remove-return-void/20201110-230939 base:

Re: [PATCH] net: lantiq: Wait for the GPHY firmware to be ready

2020-11-15 Thread Andrew Lunn
> Add a 300ms delay after initializing all GPHYs to ensure that the GPHY > firmware had enough time to initialize and to appear on the MDIO bus. > Unfortunately there is no (known) documentation on what the minimum time > to wait after releasing the reset on an internal PHY so play safe and > take

Re: WARNING: can't access registers at asm_common_interrupt

2020-11-15 Thread Andy Lutomirski
> On Nov 14, 2020, at 10:33 PM, Jürgen Groß wrote: > > On 14.11.20 19:10, Andy Lutomirski wrote: >>> On Sat, Nov 14, 2020 at 1:16 AM Jürgen Groß wrote: >>> >>> On 13.11.20 18:34, Andy Lutomirski wrote: On Wed, Nov 11, 2020 at 12:25 PM Andrew Cooper wrote: So I think

Re: WARNING: can't access registers at asm_common_interrupt

2020-11-15 Thread Jürgen Groß
On 15.11.20 17:05, Andy Lutomirski wrote: On Nov 14, 2020, at 10:33 PM, Jürgen Groß wrote: On 14.11.20 19:10, Andy Lutomirski wrote: On Sat, Nov 14, 2020 at 1:16 AM Jürgen Groß wrote: On 13.11.20 18:34, Andy Lutomirski wrote: On Wed, Nov 11, 2020 at 12:25 PM Andrew Cooper wrote: So I

Re: [PATCH v2] mm/shmem.c: make shmem_mapping() inline

2020-11-15 Thread Hui Su
On Sat, Nov 14, 2020 at 10:50:39AM -0800, Andrew Morton wrote: > On Sat, 14 Nov 2020 13:51:34 +0800 Hui Su wrote: > > > inline the shmem_mapping(), and use shmem_mapping() > > instead of 'inode->i_mapping->a_ops == _aops' > > in shmem_evict_inode(). > > > > ... > > > > --- a/mm/shmem.c > > +++

Re: [PATCH v1 00/30] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs

2020-11-15 Thread Dmitry Osipenko
13.11.2020 19:35, Thierry Reding пишет: > On Fri, Nov 13, 2020 at 01:14:45AM +0300, Dmitry Osipenko wrote: >> 12.11.2020 23:43, Thierry Reding пишет: The difference in comparison to using voltage regulator directly is minimal, basically the core-supply phandle is replaced is replaced

Corporate and Personal Loan *

2020-11-15 Thread Investment Corporate
Hello linux-kernel@vger.kernel.org We are Base Investment Company offering Corporate and Personal Loan at 3% Interest Rate for a duration of 10Years. We also pay 1% commission to brokers, who introduce project owners for finance or other opportunities. Please get back to me if you are

[PATCH v3] mm/shmem.c: make shmem_mapping() inline

2020-11-15 Thread Hui Su
shmem_mapping() isn't worth an out-of-line call from any callsite. So make it inline by - make shmem_aops global - export shmem_aops - inline the shmem_mapping() and replace the direct call 'shmem_aops' with shmem_mapping() in shmem.c. v1->v2: remove the inline for func declaration in

Re: [PATCH 1/6] seq_file: add seq_read_iter

2020-11-15 Thread Linus Torvalds
On Sun, Nov 15, 2020 at 7:54 AM Al Viro wrote: > > OK, I think I understand what's going on. Could you check if > reverting the variant in -next and applying the following instead > fixes what you are seeing? Side note: if this ends up working, can you add a lot of comments about this thing

Re: [PATCH] net: lantiq: Wait for the GPHY firmware to be ready

2020-11-15 Thread Martin Blumenstingl
Hi Andrew, On Sun, Nov 15, 2020 at 4:57 PM Andrew Lunn wrote: > > > Add a 300ms delay after initializing all GPHYs to ensure that the GPHY > > firmware had enough time to initialize and to appear on the MDIO bus. > > Unfortunately there is no (known) documentation on what the minimum time > > to

[PATCH v2] net: lantiq: Wait for the GPHY firmware to be ready

2020-11-15 Thread Martin Blumenstingl
A user reports (slightly shortened from the original message): libphy: lantiq,xrx200-mdio: probed mdio_bus 1e108000.switch-mii: MDIO device at address 17 is missing. gswip 1e108000.switch lan: no phy at 2 gswip 1e108000.switch lan: failed to connect to port 2: -19 lantiq,xrx200-net

  1   2   3   4   5   >