Re: [PATCH 07/18] regmap: mmio: add config option to allow relaxed MMIO accesses

2020-10-14 Thread Mark Brown
On Wed, Oct 14, 2020 at 02:51:14PM +0300, Adrian Ratiu wrote: > On Tue, 13 Oct 2020, Mark Brown wrote: > > On Mon, Oct 12, 2020 at 11:59:46PM +0300, Adrian Ratiu wrote: > > > - writeb(val, ctx->regs + reg); + if (ctx->relaxed_mmio) + > > > writeb_relaxed(val, ctx->regs + reg); + else +

KASAN: use-after-free Read in ntfs_are_names_equal

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:bbf5c979 Linux 5.9 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1359031b90 kernel config: https://syzkaller.appspot.com/x/.config?x=f3005fbc9c851d04 dashboard link:

Re: [PATCH v1 08/15] perf record: write trace data into mmap trace files

2020-10-14 Thread Alexey Budankov
Hi, On 14.10.2020 13:52, Namhyung Kim wrote: > Hi, > > On Mon, Oct 12, 2020 at 6:01 PM Alexey Budankov > wrote: >> >> >> Write trace data into per mmap trace files located >> at data directory. Streaming thread adjusts its affinity >> according to mask of the buffer being processed. >> >>

Re: [RFC]: userspace memory reaping

2020-10-14 Thread Michal Hocko
[Sorry for a late reply] On Mon 14-09-20 17:45:44, Suren Baghdasaryan wrote: > + linux-kernel@vger.kernel.org > > On Mon, Sep 14, 2020 at 5:43 PM Suren Baghdasaryan wrote: > > > > Last year I sent an RFC about using oom-reaper while killing a > > process:

Re: [PATCH drm/hisilicon 2/2] drm/hisilicon: Use the same style of variable type in hibmc_drm_drv

2020-10-14 Thread Thomas Zimmermann
Hi On Wed, 30 Sep 2020 15:13:08 +0800 Tian Tao wrote: > Consistently Use the same style of variable type in hibmc_drm_de.c and > hibmc_drm_de.h. > > Signed-off-by: Tian Tao > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 13 ++--- >

possible deadlock in snd_pcm_period_elapsed

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:029f56db Merge tag 'x86_asm_for_v5.10' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1366d60790 kernel config: https://syzkaller.appspot.com/x/.config?x=c5327fbeef7650a

kernel BUG at fs/ext4/inline.c:LINE!

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6f2f486d Merge tag 'spi-fix-v5.9-rc8' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13a8947850 kernel config: https://syzkaller.appspot.com/x/.config?x=de7f697da23057c7

general protection fault in __do_sys_io_uring_register

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:029f56db Merge tag 'x86_asm_for_v5.10' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13b5c67850 kernel config: https://syzkaller.appspot.com/x/.config?x=d4ce0764b8e2dd3f

INFO: trying to register non-static key in calculate_sigpending (2)

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:da690031 Merge branch 'i2c/for-current' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10924af050 kernel config: https://syzkaller.appspot.com/x/.config?x=de7f697da23057c7

WARNING in __rate_control_send_low

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:bbf5c979 Linux 5.9 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12dc474f90 kernel config: https://syzkaller.appspot.com/x/.config?x=3d8333c88fe898d7 dashboard link:

WARNING in __writeback_inodes_sb_nr

2020-10-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:bbf5c979 Linux 5.9 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1664b37790 kernel config: https://syzkaller.appspot.com/x/.config?x=3d8333c88fe898d7 dashboard link:

Re: [PATCH 5/9] perf tools: Pass build_id object to dso__set_build_id

2020-10-14 Thread Jiri Olsa
On Wed, Oct 14, 2020 at 08:51:44AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 13, 2020 at 09:24:37PM +0200, Jiri Olsa escreveu: > > Passing build_id object to dso__set_build_id, so it's easier > > to initialize dos's build id object. > > > > Acked-by: Ian Rogers > > Signed-off-by: Jiri

Re: [PATCH 7/9] perf tools: Add size to struct perf_record_header_build_id

2020-10-14 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 13, 2020 at 09:24:39PM +0200, Jiri Olsa escreveu: > We do not store size with build ids in perf data, > but there's enough space to do it. Adding misc bit > PERF_RECORD_MISC_BUILD_ID_SIZE to mark build id event > with size. > > With this fix the dso with md5 build id will have correct

Re: [PATCH drm/hisilicon 1/2] drm/hisilicon: Use the same style of variable type in hibmc_drm_de

2020-10-14 Thread Thomas Zimmermann
Hi, reviews take a while as I'm very busy ATM. On Wed, 30 Sep 2020 15:13:07 +0800 Tian Tao wrote: > Consistently Use the same style of variable type in hibmc_drm_de.c. > > Signed-off-by: Tian Tao > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 59 > +- 1 file

[PATCH net-next] net: ptp: get rid of IPV4_HLEN() and OFF_IHL macros

2020-10-14 Thread Christian Eggers
Both macros are already marked for removal. IPV4_HLEN(data) is misleading as it expects an Ethernet header instead of an IPv4 header as argument. Because it is defined (and only used) within PTP, it should be named PTP_IPV4_HLEN or similar. As the whole rest of the IPv4 stack has no problems

Re: [PATCH v2 1/2] efi: add secure boot get helper

2020-10-14 Thread Mimi Zohar
On Wed, 2020-10-14 at 13:00 +0200, Ard Biesheuvel wrote: > Hello Chester, > > Thanks for looking into this. > > Some comments below. > > On Wed, 14 Oct 2020 at 12:41, Chester Lin wrote: > > > > Separate the get_sb_mode() from arch/x86 and treat it as a common function > > [rename to

Re: using one gpio for multiple dht22 sensors

2020-10-14 Thread Rasmus Villemoes
On 14/10/2020 11.12, Peter Rosin wrote: > Hi Rasnus, > > On 2020-10-13 23:34, Rasmus Villemoes wrote: >> Hi Peter >> >> I'm going to hook up a bunch of dht22 humidity (and temperature) sensors >> [1] (drivers/iio/humidity/dht11.c), but partly due to limited number of >> available gpios, I'm also

Re: [PATCH 07/23] wfx: add bus_sdio.c

2020-10-14 Thread Jérôme Pouiller
Hello Pali, On Tuesday 13 October 2020 22:11:56 CEST Pali Rohár wrote: > Hello! > > On Monday 12 October 2020 12:46:32 Jerome Pouiller wrote: > > +#define SDIO_VENDOR_ID_SILABS0x > > +#define SDIO_DEVICE_ID_SILABS_WF200 0x1000 > > +static const struct sdio_device_id wfx_sdio_ids[] =

Re: [PATCH AUTOSEL 5.8 17/20] i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()

2020-10-14 Thread Kieran Bingham
Hi Hans, On 14/10/2020 12:23, Hans de Goede wrote: > Hi, > > On 10/14/20 1:09 PM, Kieran Bingham wrote: >> Hi Hans, Sasha, >> >> As mentioned on https://github.com/linux-surface/kernel/issues/63, I'm >> afraid I've bisected a boot time issue on the Microsoft Surface Go 2 to >> this commit on the

Re: [PATCH v2 2/5] of/address: Introduce of_dma_lower_bus_limit()

2020-10-14 Thread Nicolas Saenz Julienne
Hi Rob, On Mon, 2020-10-12 at 10:25 -0500, Rob Herring wrote: > On Sat, Oct 10, 2020 at 10:12 AM Nicolas Saenz Julienne > wrote: > > The function provides the CPU physical address addressable by the most > > constrained bus in the system. It might be useful in order to > > dynamically set up

Re: [PATCH 5/9] perf tools: Pass build_id object to dso__set_build_id

2020-10-14 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 13, 2020 at 09:24:37PM +0200, Jiri Olsa escreveu: > Passing build_id object to dso__set_build_id, so it's easier > to initialize dos's build id object. > > Acked-by: Ian Rogers > Signed-off-by: Jiri Olsa > --- > tools/perf/util/dso.c| 4 ++-- > tools/perf/util/dso.h

Re: [PATCH 07/18] regmap: mmio: add config option to allow relaxed MMIO accesses

2020-10-14 Thread Adrian Ratiu
Hello Mark, On Tue, 13 Oct 2020, Mark Brown wrote: On Mon, Oct 12, 2020 at 11:59:46PM +0300, Adrian Ratiu wrote: - writeb(val, ctx->regs + reg); + if (ctx->relaxed_mmio) + writeb_relaxed(val, ctx->regs + reg); + else + writeb(val, ctx->regs + reg); There is no point in doing a

Re: [PATCH v2] perf bench: Use condition variables in numa.

2020-10-14 Thread Jiri Olsa
On Mon, Oct 12, 2020 at 09:16:11AM -0700, Ian Rogers wrote: SNIP > @@ -483,6 +484,18 @@ static void init_global_mutex(pthread_mutex_t *mutex) > pthread_mutex_init(mutex, ); > } > > +/* > + * Return a process-shared (global) condition variable: > + */ > +static void

Re: [PATCH v3 2/2] vhost-vdpa: fix page pinning leakage in error path

2020-10-14 Thread Jason Wang
On 2020/10/14 下午2:52, Michael S. Tsirkin wrote: On Tue, Oct 13, 2020 at 04:42:59PM -0700, si-wei liu wrote: On 10/9/2020 7:27 PM, Jason Wang wrote: On 2020/10/3 下午1:02, Si-Wei Liu wrote: Pinned pages are not properly accounted particularly when mapping error occurs on IOTLB update. Clean up

Re: [PATCH v2 2/5] of/address: Introduce of_dma_lower_bus_limit()

2020-10-14 Thread Nicolas Saenz Julienne
On Sun, 2020-10-11 at 09:47 +0200, Ard Biesheuvel wrote: > Hi Nicolas, > > $SUBJECT is out of sync with the patch below. Also, for legibility, it > helps if the commit log is intelligible by itself, rather than relying > on $SUBJECT being the first line of the first paragraph. Noted, I'll update

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

2020-10-14 Thread Daniel Thompson
On Tue, Oct 13, 2020 at 09:28:38AM -0700, Doug Anderson wrote: > Hi, > > On Tue, Oct 13, 2020 at 1:01 AM Alexandru Stan wrote: > > > > Now that we have better interpolation for the backlight > > ("backlight: pwm_bl: Fix interpolation"), we can now add the curve to > > the trogdor boards, being

Re: [PATCH 1/2] x86: Remove led/gpio setup from pcengines platform driver

2020-10-14 Thread Hans de Goede
Hi, On 10/14/20 1:21 PM, Ed W wrote: On 14/10/2020 09:41, Hans de Goede wrote: So I have a suggested compromise: Keep the current LED/gpio setup code, but make executing it conditional on the BIOS version and skip the LED/gpio setup when the new BIOS is present to avoid having duplicate LED

Re: [PATCH v2 1/3] backlight: pwm_bl: Fix interpolation

2020-10-14 Thread Daniel Thompson
On Tue, Oct 13, 2020 at 01:01:01AM -0700, Alexandru Stan wrote: > Whenever num-interpolated-steps was larger than the distance > between 2 consecutive brightness levels the table would get really > discontinuous. The slope of the interpolation would stick with > integers only and if it was 0 the

Re: [PATCH net-next v5 09/10] bridge: cfm: Netlink GET status Interface.

2020-10-14 Thread Nikolay Aleksandrov
On Mon, 2020-10-12 at 14:04 +, Henrik Bjoernlund wrote: > This is the implementation of CFM netlink status > get information interface. > > Add new nested netlink attributes. These attributes are used by the > user space to get status information. > > GETLINK: > Request filter

Re: [PATCH AUTOSEL 5.8 17/20] i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()

2020-10-14 Thread Hans de Goede
Hi, On 10/14/20 1:09 PM, Kieran Bingham wrote: Hi Hans, Sasha, As mentioned on https://github.com/linux-surface/kernel/issues/63, I'm afraid I've bisected a boot time issue on the Microsoft Surface Go 2 to this commit on the stable 5.8 tree. The effect as reported there is that the boot

Re: [PATCH v2 0/3] Clarify abstract scale usage for power values in Energy Model, EAS and IPA

2020-10-14 Thread Daniel Lezcano
On 14/10/2020 11:08, Lukasz Luba wrote: > Hi Daniel, > > On 10/14/20 9:22 AM, Daniel Lezcano wrote: >> >> Hi Lukasz, >> >> On 09/10/2020 11:16, Lukasz Luba wrote: >>> Hi Rafael, >>> >>> On 10/2/20 12:44 PM, Lukasz Luba wrote: Hi all, The Energy Model supports power values expressed

Re: [PATCH 1/2] x86: Remove led/gpio setup from pcengines platform driver

2020-10-14 Thread Ed W
On 14/10/2020 09:41, Hans de Goede wrote: > > So I have a suggested compromise: > > Keep the current LED/gpio setup code, but make executing it conditional > on the BIOS version and skip the LED/gpio setup when the new BIOS is > present to avoid having duplicate LED entries, etc. in that case. > >

Re: [PATCH RFC v4 00/13] perf pmu-events: Support event aliasing for system PMUs

2020-10-14 Thread Jiri Olsa
On Thu, Oct 08, 2020 at 12:49:15PM +0100, John Garry wrote: > On 08/10/2020 12:27, kajoljain wrote: > > Hi John, > >I am looking into these patches, it seems they are not re-based on top of > > latest Arnaldo's perf/core branch. Can you rebase these changes. I think we > > are missing > >

Re: [RFC PATCH v2] checkpatch: add shebang check to EXECUTE_PERMISSIONS

2020-10-14 Thread Ujjwal Kumar
On 14/10/20 11:16 am, Lukas Bulwahn wrote: > > > On Tue, 13 Oct 2020, Ujjwal Kumar wrote: > >> checkpatch.pl checks for invalid EXECUTE_PERMISSIONS on source >> files. The script leverages filename extensions and its path in >> the repository to decide whether to allow execute permissions on >>

[PATCH v5 4/5] arm64: kgdb: Round up cpus using IPI as NMI

2020-10-14 Thread Sumit Garg
arm64 platforms with GICv3 or later supports pseudo NMIs which can be leveraged to round up CPUs which are stuck in hard lockup state with interrupts disabled that wouldn't be possible with a normal IPI. So instead switch to round up CPUs using IPI turned as NMI. And in case a particular arm64

[PATCH v5 3/5] arm64: smp: Allocate and setup IPI as NMI

2020-10-14 Thread Sumit Garg
Allocate an unused IPI that can be turned as NMI using ipi_nmi framework. Also, invoke corresponding NMI setup/teardown APIs. Signed-off-by: Sumit Garg --- arch/arm64/kernel/smp.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index

[PATCH v5 5/5] arm64: ipi_nmi: Add support for NMI backtrace

2020-10-14 Thread Sumit Garg
Enable NMI backtrace support on arm64 using IPI turned as an NMI leveraging pseudo NMIs support. It is now possible for users to get a backtrace of a CPU stuck in hard-lockup using magic SYSRQ. Signed-off-by: Sumit Garg --- arch/arm64/include/asm/irq.h | 6 ++ arch/arm64/kernel/ipi_nmi.c

[PATCH v5 2/5] irqchip/gic-v3: Enable support for SGIs to act as NMIs

2020-10-14 Thread Sumit Garg
Add support to handle SGIs as regular NMIs. As SGIs or IPIs defaults to a special flow handler: handle_percpu_devid_fasteoi_ipi(), so skip NMI handler update in case of SGIs. Also, enable NMI support prior to gic_smp_init() as allocation of SGIs as IRQs/NMIs happen as part of this routine.

Re: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops

2020-10-14 Thread Lorenzo Pieralisi
On Wed, Sep 16, 2020 at 01:41:30PM +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > On NXP Layerscape platforms, it results in SError in the > enumeration of the PCIe controller, which is not connecting > with an Endpoint device. And it doesn't make sense to > enumerate the Endpoints when the

[PATCH v5 0/5] arm64: Add framework to turn an IPI as NMI

2020-10-14 Thread Sumit Garg
With pseudo NMIs support available its possible to configure SGIs to be triggered as pseudo NMIs running in NMI context. And kernel features such as: - NMI backtrace can leverage IPI turned as NMI to get a backtrace of CPU stuck in hard lockup using magic SYSRQ. - kgdb relies on NMI support to

[PATCH v5 1/5] arm64: Add framework to turn IPI as NMI

2020-10-14 Thread Sumit Garg
Introduce framework to turn an IPI as NMI using pseudo NMIs. In case a particular platform doesn't support pseudo NMIs, then request IPI as a regular IRQ. The main motivation for this feature is to have an IPI that can be leveraged to invoke NMI functions on other CPUs. And current prospective

fw_devlink on will break all snps,dw-apb-gpio users

2020-10-14 Thread Jisheng Zhang
Hi, If set fw_devlink as on, any consumers of dw apb gpio won't probe. The related dts looks like: gpio0: gpio@2400 { compatible = "snps,dw-apb-gpio"; #address-cells = <1>; #size-cells = <0>; porta: gpio-port@0 { compatible = "snps,dw-apb-gpio-port";

Re: [PATCH 5/8] x86/clear_page: add clear_page_uncached()

2020-10-14 Thread kernel test robot
patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ankur-Arora/Use-uncached-writes-while-clearing-gigantic-pages/20201014-163720 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

[PATCH] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Maciej W. Rozycki
Fix a crash on DEC platforms starting with: VFS: Mounted root (nfs filesystem) on device 0:11. Freeing unused PROM memory: 124k freed BUG: Bad page state in process swapper pfn:1 page:(ptrval) refcount:0 mapcount:-128 mapping: index:0x1 pfn:0x1 flags: 0x0() raw: 0100

Re: [PATCH AUTOSEL 5.8 17/20] i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()

2020-10-14 Thread Kieran Bingham
Hi Hans, Sasha, As mentioned on https://github.com/linux-surface/kernel/issues/63, I'm afraid I've bisected a boot time issue on the Microsoft Surface Go 2 to this commit on the stable 5.8 tree. The effect as reported there is that the boot process stalls just after loading the usbhid module.

RE: [PATCH] i2c: designware: fix slave omitted IC_INTR_STOP_DET

2020-10-14 Thread Michael.Wu
On 10/14/20 6:53 PM, jarkko.nik...@linux.intel.com wrote: > Thanks for the patch. I was thinking this too after your report but > haven't found actually time to look at implementing it. > > But what I was thinking it is probably good to have two patches. First > patch that changes only

Re: [PATCH v4 4/9] libperf: Add libperf_evsel__mmap()

2020-10-14 Thread Jiri Olsa
On Thu, Oct 01, 2020 at 09:01:11AM -0500, Rob Herring wrote: SNIP > > +void *perf_evsel__mmap(struct perf_evsel *evsel, int pages) > +{ > + int ret; > + struct perf_mmap *map; > + struct perf_mmap_param mp = { > + .prot = PROT_READ | PROT_WRITE, > + }; > + > +

[GIT PULL] LEDs changes for v5.10-rc1

2020-10-14 Thread Pavel Machek
The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git/ tags/leds-5.10-rc1 for you to fetch changes up to

[PATCH] Only add -fno-var-tracking-assignments workaround for old GCC versions.

2020-10-14 Thread Mark Wielaard
Some old GCC versions between 4.5.0 and 4.9.1 might miscompile code with -fvar-tracking-assingments (which is enabled by default with -g -O2). commit 2062afb4f added -fno-var-tracking-assignments unconditionally to work around this. But newer versions of GCC no longer have this bug, so only add it

Re: [PATCH v2 1/2] efi: add secure boot get helper

2020-10-14 Thread Ard Biesheuvel
Hello Chester, Thanks for looking into this. Some comments below. On Wed, 14 Oct 2020 at 12:41, Chester Lin wrote: > > Separate the get_sb_mode() from arch/x86 and treat it as a common function > [rename to efi_get_secureboot_mode] so all EFI-based architectures can > reuse the same logic. > >

Re: [PATCH] powerpc/features: Remove CPU_FTR_NODSISRALIGN

2020-10-14 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > On 10/13/20 3:45 PM, Michael Ellerman wrote: >> Christophe Leroy writes: >>> Le 13/10/2020 à 09:23, Aneesh Kumar K.V a écrit : Christophe Leroy writes: > CPU_FTR_NODSISRALIGN has not been used since > commit 31bfdb036f12 ("powerpc: Use instruction

Re: [PATCH net-next v5 08/10] bridge: cfm: Netlink GET configuration Interface.

2020-10-14 Thread Nikolay Aleksandrov
On Mon, 2020-10-12 at 14:04 +, Henrik Bjoernlund wrote: > This is the implementation of CFM netlink configuration > get information interface. > > Add new nested netlink attributes. These attributes are used by the > user space to get configuration information. > > GETLINK: > Request

Re: [PATCH v1 08/15] perf record: write trace data into mmap trace files

2020-10-14 Thread Namhyung Kim
Hi, On Mon, Oct 12, 2020 at 6:01 PM Alexey Budankov wrote: > > > Write trace data into per mmap trace files located > at data directory. Streaming thread adjusts its affinity > according to mask of the buffer being processed. > > Signed-off-by: Alexey Budankov > --- [SNIP] > @@ -1184,8 +1203,12

Re: [PATCH v2 1/2] efi: add secure boot get helper

2020-10-14 Thread Chester Lin
Hi Ard and Mimi, On Wed, Oct 14, 2020 at 06:40:31PM +0800, Chester Lin wrote: > Separate the get_sb_mode() from arch/x86 and treat it as a common function > [rename to efi_get_secureboot_mode] so all EFI-based architectures can > reuse the same logic. > > Signed-off-by: Chester Lin > --- >

Re: [PATCH net-next v5 01/10] net: bridge: extend the process of special frames

2020-10-14 Thread Nikolay Aleksandrov
On Mon, 2020-10-12 at 14:04 +, Henrik Bjoernlund wrote: > This patch extends the processing of frames in the bridge. Currently MRP > frames needs special processing and the current implementation doesn't > allow a nice way to process different frame types. Therefore try to > improve this by

BUG: KASAN: global-out-of-bounds in vprintk_store on x86_64

2020-10-14 Thread Naresh Kamboju
While testing LTP controllers testing on x86_64 KASAN enabled linux next 20201013 tag kernel this kernel BUG noticed. The oom-killer log also noticed while running tests. metadata: git branch: master git repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git commit:

[PATCH v2 7/7] staging: qlge: add documentation for debugging qlge

2020-10-14 Thread Coiby Xu
Instructions and examples on kernel data structures dumping and coredump. Signed-off-by: Coiby Xu --- .../networking/device_drivers/index.rst | 1 + .../device_drivers/qlogic/index.rst | 18 +++ .../networking/device_drivers/qlogic/qlge.rst | 118 ++

[PATCH v2 5/7] staging: qlge: remove mpi_core_to_log which sends coredump to the kernel ring buffer

2020-10-14 Thread Coiby Xu
devlink health could be used to get coredump. No need to send so much data to the kernel ring buffer. Signed-off-by: Coiby Xu --- drivers/staging/qlge/TODO | 2 -- drivers/staging/qlge/qlge.h | 3 --- drivers/staging/qlge/qlge_dbg.c | 11 ---

[PATCH v2 6/7] staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land

2020-10-14 Thread Coiby Xu
The debugging code in the following ifdef land - QL_ALL_DUMP - QL_REG_DUMP - QL_DEV_DUMP - QL_CB_DUMP - QL_IB_DUMP - QL_OB_DUMP becomes unnecessary because, - Device status and general registers can be obtained by ethtool. - Coredump can be done via devlink health reporter. - Structure

Re: [PATCH] i2c: designware: fix slave omitted IC_INTR_STOP_DET

2020-10-14 Thread Jarkko Nikula
Hi On 10/14/20 8:25 AM, Michael Wu wrote: When an I2C slave works, sometimes both IC_INTR_RX_FULL and IC_INTR_STOP_DET are rising during an IRQ handle, especially when system is busy or too late to handle interrupts. If IC_INTR_RX_FULL is rising and the system doesn't handle immediately,

[PATCH v2 4/7] staging: qlge: support force_coredump option for devlink health dump

2020-10-14 Thread Coiby Xu
With force_coredump module parameter set, devlink health dump will reset the MPI RISC first which takes 5 secs to be finished. Signed-off-by: Coiby Xu --- drivers/staging/qlge/qlge_devlink.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/staging/qlge/qlge_devlink.c

[PATCH v2 2/7] staging: qlge: Initialize devlink health dump framework

2020-10-14 Thread Coiby Xu
Initialize devlink health dump framework for the qlge driver so the coredump could be done via devlink. struct qlge_adapter is now used as the private data struct of struct devlink so it could exist independently of struct net_device and devlink reload could be supported in the future.

[PATCH v2 3/7] staging: qlge: coredump via devlink health reporter

2020-10-14 Thread Coiby Xu
$ devlink health dump show DEVICE reporter coredump -p -j { "Core Registers": { "segment": 1, "values": [

Re: [RFC PATCH 13/22] x86/fpu/xstate: Expand dynamic user state area on first use

2020-10-14 Thread Peter Zijlstra
On Tue, Oct 13, 2020 at 03:43:59PM -0700, Dave Hansen wrote: > On 10/13/20 3:31 PM, Brown, Len wrote: > > vmalloc() does not fail, and does not return an error, and so there is no > > concept > > of returning a signal. > > Well, the order-0 allocations are no-fail, as are the vmalloc kernel >

[PATCH v2 0/2] add ima_arch support for ARM64

2020-10-14 Thread Chester Lin
Add IMA arch dependent support for ARM64. Some IMA functions can check arch-specific status before running. For example, the ima_load_data function or the boot param "ima_appraise=" should not be executed when UEFI secure boot is enabled. We want to fill the gap in order to complete the IMA

[PATCH v2 1/2] efi: add secure boot get helper

2020-10-14 Thread Chester Lin
Separate the get_sb_mode() from arch/x86 and treat it as a common function [rename to efi_get_secureboot_mode] so all EFI-based architectures can reuse the same logic. Signed-off-by: Chester Lin --- arch/x86/kernel/ima_arch.c | 47 ++

[PATCH v2 2/2] arm64/ima: add ima_arch support

2020-10-14 Thread Chester Lin
Add arm64 IMA arch support. The code and arch policy is mainly inherited from x86. Signed-off-by: Chester Lin --- arch/arm64/Kconfig | 1 + arch/arm64/kernel/Makefile | 2 ++ arch/arm64/kernel/ima_arch.c | 46 3 files changed, 49 insertions(+)

Re: WARNING: at net/netfilter/nf_tables_api.c:622 lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]

2020-10-14 Thread Naresh Kamboju
On Wed, 14 Oct 2020 at 12:20, Naresh Kamboju wrote: > > While running kselftest netfilter on arm64 hikey device on Linux next > 20201013 the following > kernel warning noticed. Same issue noticed on i386. # selftests: netfilter: nft_trans_stress.sh [ 1092.615814] [ cut here

Re: [PATCH v1 03/15] perf data: open data directory in read access mode

2020-10-14 Thread Alexey Budankov
On 13.10.2020 19:22, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 12, 2020 at 07:52:33PM +0300, Alexey Budankov escreveu: >> >> On 12.10.2020 19:03, Andi Kleen wrote: >>> On Mon, Oct 12, 2020 at 11:55:07AM +0300, Alexey Budankov wrote: Open files located at data directory in case of

Re: [PATCH 2/2] power: supply: mt6360_charger: add MT6360 charger support

2020-10-14 Thread Gene Chen
Dear Reviewers, Does any comment about this patch? Gene Chen 於 2020年9月23日 週三 下午7:18寫道: > > From: Gene Chen > > Add basic support for the battery charger for MT6360 PMIC > > Signed-off-by: Gene Chen > --- > drivers/power/supply/Kconfig | 11 + > drivers/power/supply/Makefile

Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name

2020-10-14 Thread Krzysztof Kozlowski
On Wed, 14 Oct 2020 at 12:23, Serge Semin wrote: > > In accordance with the DWC USB3 bindings the corresponding node name is > suppose to comply with Generic USB HCD DT schema, which requires the USB > nodes to have the name acceptable by the regexp: "^usb(@.*)?" . But a lot > of the DWC

Re: [PATCH 6/6] arm64: dts: r8a779a0: Add VIN nodes

2020-10-14 Thread Jacopo Mondi
Hi Niklas, On Wed, Oct 14, 2020 at 12:19:50PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your work. > > On 2020-10-14 11:44:43 +0200, Jacopo Mondi wrote: > > Add VIN nodes to R8A779A0 R-Car V3U SoC. > > > > Signed-off-by: Jacopo Mondi > > --- > >

Re: [PATCH v5 2/2] PCI/ERR: Split the fatal and non-fatal error recovery handling

2020-10-14 Thread kernel test robot
' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Kuppuswamy-Sathyanarayanan/PCI-ERR-Call-pci_bus_reset-before-calling-slot_reset-callback/20201014-172736 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: xtensa

Re: [PATCH 5/6] dt-bindings: media: renesas,vin: Add V3U support

2020-10-14 Thread Jacopo Mondi
Hi Niklas, On Wed, Oct 14, 2020 at 12:11:52PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your patch. > > On 2020-10-14 11:44:42 +0200, Jacopo Mondi wrote: > > Add compatible string definition for R-Car V3U. > > > > Signed-off-by: Jacopo Mondi > > --- > >

Re: [RT] 5.9-rt14 softirq_ctrl.lock vs listening_hash[i].lock lockdep splat

2020-10-14 Thread Sebastian Andrzej Siewior
On 2020-10-13 05:00:18 [+0200], Mike Galbraith wrote: > Well, I do have a gripe from 5.6-rt, which I just took a moment to > confirm in virgin source, but that kernel is probably EOL. Yes. But I you patch for v5.9 so this should also work on v5.6. Sebastian

Re: [PATCH 6/6] arm64: dts: r8a779a0: Add VIN nodes

2020-10-14 Thread Niklas Söderlund
Hi Jacopo, Thanks for your work. On 2020-10-14 11:44:43 +0200, Jacopo Mondi wrote: > Add VIN nodes to R8A779A0 R-Car V3U SoC. > > Signed-off-by: Jacopo Mondi > --- > arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 320 ++ > 1 file changed, 320 insertions(+) > > diff --git

Re: [mm/writeback] 8d92890bd6: will-it-scale.per_process_ops -15.3% regression

2020-10-14 Thread Jan Kara
On Wed 14-10-20 16:47:06, kernel test robot wrote: > Greeting, > > FYI, we noticed a -15.3% regression of will-it-scale.per_process_ops due > to commit: > > commit: 8d92890bd6b8502d6aee4b37430ae6444ade7a8c ("mm/writeback: discard > NR_UNSTABLE_NFS, use NR_WRITEBACK instead") >

Re: [PATCH 4.4 00/39] 4.4.239-rc1 review

2020-10-14 Thread Pavel Machek
On Wed 2020-10-14 09:47:04, Greg Kroah-Hartman wrote: > On Tue, Oct 13, 2020 at 08:11:55PM +0200, Pavel Machek wrote: > > On Mon 2020-10-12 15:26:30, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.4.239 release. > > > There are 39 patches in this series, all

Re: [PATCH v2 0/9] rpmsg: Make RPMSG name service modular

2020-10-14 Thread Guennadi Liakhovetski
On Tue, Oct 13, 2020 at 05:25:10PM -0600, Mathieu Poirier wrote: > Good afternoon, > > This set starts by making the RPMSG protocol transport agnostic by > moving the headers it uses to generic types and using those in the > current implementation. From there it re-uses the work that Arnaud >

Re: [PATCH] [PATCH] [v3] wireless: Initial driver submission for pureLiFi STA devices

2020-10-14 Thread kernel test robot
us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Srinivasan-Raju/wireless-Initial-driver-submission-for-pureLiFi-STA-devices/20201014-142216 base: https://git.kernel.org

[PATCH 02/20] dt-bindings: usb: usb-hcd: Add "otg-rev" property restriction

2020-10-14 Thread Serge Semin
There are only four OTG revisions are currently supported by the kernel: 0x0100, 0x0120, 0x0130, 0x0200. Any another value is considered as invalid. Signed-off-by: Serge Semin --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] i2c: designware: fix slave omitted IC_INTR_STOP_DET

2020-10-14 Thread Andy Shevchenko
On Wed, Oct 14, 2020 at 09:58:54AM +, michael...@vatics.com wrote: > On 10/14/20 4:53 PM, andriy.shevche...@linux.intel.com wrote: > > > > Wondering if you compile this at all... > > > I'm very sorry that I did not compile it because I only have ARM SoC with my > linux 4.9.170, but I've

[PATCH] Fix invalid reference to index variable of the iterator

2020-10-14 Thread Reppenhagen
From: Marco Reppenhagen Fixing the invalid reference to index variable ot the iterator. Signed-off-by: Marco Reppenhagen --- drivers/mailbox/mailbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c index

[PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name

2020-10-14 Thread Serge Semin
In accordance with the DWC USB3 bindings the corresponding node name is suppose to comply with Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . But a lot of the DWC USB3-compatible nodes defined in the ARM/ARM64 DTS files have name

[PATCH 17/20] dt-bindings: usb: qcom,dwc3: Validate DWC3 sub-node

2020-10-14 Thread Serge Semin
Qualcomm msm8996/sc7180/sdm845 DWC3 compatible DT nodes are supposed to have a DWC USB3 compatible sub-node to describe a fully functioning USB interface. Let's use the available DWC USB3 DT schema to validate the Qualcomm DWC3 sub-nodes. Note since the generic DWC USB3 DT node is supposed to be

[PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-14 Thread Serge Semin
In accordance with the Generic EHCI/OHCI bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Let's fix the DTS files, which have the nodes defined with incompatible

[PATCH 15/20] dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodes

2020-10-14 Thread Serge Semin
Amlogic G12A USB DT sub-nodes are supposed to be compatible with the generic DWC USB2 and USB3 devices. Since now we've got DT schemas for both of the later IP cores let's make sure that the Amlogic G12A USB DT nodes are fully evaluated including the DWC sub-nodes. Signed-off-by: Serge Semin

[PATCH 00/20] dt-bindings: usb: Add generic USB HCD, xHCI, DWC USB3 DT schema

2020-10-14 Thread Serge Semin
We've performed some work on the Generic USB HCD, xHCI and DWC USB3 DT bindings in the framework of the Baikal-T1 SoC support integration into the kernel. This patchset is a result of that work. First of all we moved the generic USB properties from the legacy text bindings into the USB HCD DT

[PATCH 05/20] dt-bindings: usb: usb-hcd: Add generic "usb-phy" property

2020-10-14 Thread Serge Semin
Even though the Generic PHY framework is the more preferable way of setting the USB PHY up, there are still many dts-files and DT bindings which rely on having the legacy "usb-phy" specified to attach particular USB PHYs to USB cores. Let's have the "usb-phy" property described in the generic USB

[PATCH 14/20] dt-bindings: usb: meson-g12a-usb: Fix FL-adj property value

2020-10-14 Thread Serge Semin
An empty snps,quirk-frame-length-adjustment won't cause any change performed by the driver. Moreover the DT schema validation will fail, since it expects the property being assigned with some value. So set fix the example by setting a valid FL-adj value in accordance with Neil Armstrong comment.

[PATCH 07/20] dt-bindings: usb: xhci: Add Broadcom STB v2 compatible device

2020-10-14 Thread Serge Semin
For some reason the "brcm,xhci-brcm-v2" compatible string has been missing in the original bindings file. Add it to the Generic xHCI Controllers DT schema since the controller driver expects it to be supported. Signed-off-by: Serge Semin ---

[PATCH 19/20] arch: dts: Fix xHCI DT nodes name

2020-10-14 Thread Serge Semin
In accordance with the Generic xHCI bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Let's fix the DTS files, which have the xHCI-nodes defined with incompatible

[PATCH 08/20] dt-bindings: usb: renesas-xhci: Refer to the usb-xhci.yaml file

2020-10-14 Thread Serge Semin
With minor peculiarities (like uploading some vendor-specific firmware) these are just Generic xHCI controllers fully compatible with its properties. Make sure the Renesas USB xHCI DT nodes are also validated against the Generic xHCI DT schema. Signed-off-by: Serge Semin ---

[PATCH 01/20] dt-bindings: usb: usb-hcd: Convert generic USB properties to DT schema

2020-10-14 Thread Serge Semin
The generic USB HCD properties have been described in the legacy bindings text file: Documentation/devicetree/bindings/usb/generic.txt . Let's convert it' content into the USB HCD DT schema properties so all USB DT nodes would be validated to have them properly utilized. Signed-off-by: Serge

[PATCH 09/20] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-10-14 Thread Serge Semin
DWC USB3 DT node is supposed to be compliant with the Generic xHCI Controller schema, but with additional vendor-specific properties, the controller-specific reference clocks and PHYs. So let's convert the currently available legacy text-based DWC USB3 bindings to the DT schema and make sure the

[PATCH 06/20] dt-bindings: usb: Convert xHCI bindings to DT schema

2020-10-14 Thread Serge Semin
Currently the DT bindings of Generic xHCI Controllers are described by means of the legacy text file. Since such format is deprecated in favor of the DT schema, let's convert the Generic xHCI Controllers bindings file to the corresponding yaml files. There will be two of them: a DT schema for the

[PATCH 16/20] dt-bindings: usb: keystone-dwc3: Validate DWC3 sub-node

2020-10-14 Thread Serge Semin
TI Keystone DWC3 compatible DT node is supposed to have a DWC USB3 compatible sub-node to describe a fully functioning USB interface. Since DWC USB3 has now got a DT schema describing its DT node, let's make sure the TI Keystone DWC3 sub-node passes validation against it. Signed-off-by: Serge

[PATCH 03/20] dt-bindings: usb: usb-hcd: Add "ulpi/serial/hsic" PHY types

2020-10-14 Thread Serge Semin
Aside from the UTMI+ there are also ULPI, Serial and HSIC PHY types that can be specified in the phy_type HCD property. Add them to the enumeration of the acceptable values. Signed-off-by: Serge Semin --- Changelog v2: - Grammar fix: "s/PHY types can be/PHY types that can be" - Drop quotes

[PATCH 10/20] dt-bindings: usb: dwc3: Add interrupt-names property support

2020-10-14 Thread Serge Semin
The controller driver supports two types of DWC USB3 devices: with a common interrupt lane and with individual interrupts for each mode. Add support for both these cases to the DWC USB3 DT schema. Signed-off-by: Serge Semin --- Changelog v2: - Grammar fix: "s/both of these cases

[PATCH 12/20] dt-bindings: usb: dwc3: Add Tx De-emphasis restrictions

2020-10-14 Thread Serge Semin
In accordance with the driver comments the PIPE3 de-emphasis can be tuned to be either -6dB, -2.5dB or disabled. Let's add the de-emphasis property restriction so the DT schema would make sure the controller DT node is equipped with correct value. Signed-off-by: Serge Semin --- Changelog v2: -

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