Re: [PATCH] staging: atomisp: Fix fallthrough keyword warning

2020-08-31 Thread Dan Carpenter
On Mon, Aug 31, 2020 at 04:30:12PM +0300, Cengiz Can wrote: > commit df561f6688fe ("treewide: Use fallthrough pseudo-keyword") from > Gustavo A. R. Silva replaced and standardized /* fallthrough */ comments > with 'fallthrough' pseudo-keyword. > > However, in one of the switch-case statements, Cov

Re: [PATCH 1/2] Input: i8042 - Prevent intermixing i8042 commands

2020-08-31 Thread Raul Rangel
On Sat, Aug 29, 2020 at 1:48 AM Pavel Machek wrote: > > On Thu 2020-08-27 13:52:22, Raul E Rangel wrote: > > The i8042_mutex must be held by writers of the AUX and KBD ports, as > > well as users of i8042_command. There were a lot of users of > > i8042_command that were not calling i8042_lock_chip

Hallo

2020-08-31 Thread Wilson Davidson
Hallo, bitte beachten Sie, dass diese E-Mail, die an Ihre Mailbox gesendet wurde, kein Fehler ist, sondern speziell an Sie gerichtet wurde. Ich habe einen Vorschlag von ($7.500.000,00 USD) von meinem verstorbenen Kundeningenieur Carlos, der mit Ihnen den gleichen Nachnamen trägt und früher hier in

Re: [PATCH] drm/vkms: add support for gamma_set interface

2020-08-31 Thread Sidong Yang
On Mon, Aug 31, 2020 at 11:39:10AM +, Simon Ser wrote: > On Saturday, August 29, 2020 4:06 PM, Sidong Yang wrote: > > > Currently vkms module doesn't support gamma function for userspace. so igt > > subtests in kms_plane(pixel-format-pipe-A-plan) failed for calling > > drmModeCrtcSetGamma().

"scheduling while atomic" BUG in iscsid since commit 1b66d253610c7

2020-08-31 Thread Marc Dionne
The issue reported here: https://lkml.org/lkml/2020/7/28/1085 is still present as of 5.9-rc3; it was introduced in the 5.8 cycle. When the problem occurs, iscsid crashes and iscsi volumes fail to come up, which makes the machine quite sad if the volumes are critical to its function. Added CCs

Re: [PATCH 4/6] perf tools: Add FIFO file names as alternative options to --control

2020-08-31 Thread Adrian Hunter
On 31/08/20 4:19 pm, Jiri Olsa wrote: > On Sat, Aug 29, 2020 at 01:50:13PM +0300, Adrian Hunter wrote: > > SNIP > >> +*p = '\0'; >> + >> +/* >> + * O_RDWR avoids POLLHUPs which is necessary to allow the other >> + * end of a FIFO to be repeatedly opened and closed. >> +

[PATCH] staging: atomisp: Fix fallthrough keyword warning

2020-08-31 Thread Cengiz Can
commit df561f6688fe ("treewide: Use fallthrough pseudo-keyword") from Gustavo A. R. Silva replaced and standardized /* fallthrough */ comments with 'fallthrough' pseudo-keyword. However, in one of the switch-case statements, Coverity Static Analyzer throws a warning that 'fallthrough' is unreachab

Hello

2020-08-31 Thread Miss Maris Avis
My Dear, My name is Miss Marie Avis the only daughter of Mr. Gabriel Avis, my Father was dealing in Cocoa and Timber in this country before his death, It is my pleasure to contact you for a business venture which I intend to establish in your country. Though I have not met with you before but I b

Re: [PATCH v2] module: Harden STRICT_MODULE_RWX

2020-08-31 Thread Ard Biesheuvel
On Mon, 31 Aug 2020 at 13:43, Masahiro Yamada wrote: > > On Mon, Aug 31, 2020 at 6:47 PM Jessica Yu wrote: > > > > +++ Will Deacon [21/08/20 13:30 +0100]: > > [snipped] > > >> > > > So module_enforce_rwx_sections() is already called after > > >> > > > module_frob_arch_sections() - which really ba

How to Migrate Wordpress Website from 32-bit CentOS Linux 6.3 to 64-bit CentOS Linux 8.2 (2004)

2020-08-31 Thread Turritopsis Dohrnii Teo En Ming
Subject: How to Migrate Wordpress Website from 32-bit CentOS Linux 6.3 to 64-bit CentOS Linux 8.2 (2004) Author of this Guide: Mr. Turritopsis Dohrnii Teo En Ming (TARGETED INDIVIDUAL) Country: Singapore Date: 31 August 2020 Monday Singapore Time Type of Publication: Plain Text Document Ve

Re: [PATCH 4/6] perf tools: Add FIFO file names as alternative options to --control

2020-08-31 Thread Jiri Olsa
On Sat, Aug 29, 2020 at 01:50:13PM +0300, Adrian Hunter wrote: SNIP > + *p = '\0'; > + > + /* > + * O_RDWR avoids POLLHUPs which is necessary to allow the other > + * end of a FIFO to be repeatedly opened and closed. > + */ > + fd = open(s, O_RDWR | O_NONBLOCK |

Re: [PATCHv2 net-next] dropwatch: Support monitoring of dropped frames

2020-08-31 Thread Michal Schmidt
Dne 04. 08. 20 v 18:09 izabela.bakoll...@gmail.com napsala: From: Izabela Bakollari Dropwatch is a utility that monitors dropped frames by having userspace record them over the dropwatch protocol over a file. This augument allows live monitoring of dropped frames using tools like tcpdump. With

Re: [PATCH 4/4] arm64: dts: exynos: Use newer S3FWRN5 GPIO properties in Exynos5433 TM2

2020-08-31 Thread Marek Szyprowski
On 29.08.2020 16:29, Krzysztof Kozlowski wrote: > Since "s3fwrn5" is not a valid vendor prefix, use new GPIO properties > instead of the deprecated. > > Signed-off-by: Krzysztof Kozlowski Tested-by: Marek Szyprowski > --- > arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 4 ++-- > 1

Re: [RFT 3/4] nfc: s3fwrn5: Remove wrong vendor prefix from GPIOs

2020-08-31 Thread Marek Szyprowski
On 29.08.2020 16:29, Krzysztof Kozlowski wrote: > The device tree property prefix describes the vendor, which in case of > S3FWRN5 chip is Samsung. Therefore the "s3fwrn5" prefix for "en-gpios" > and "fw-gpios" is not correct and should be deprecated. Introduce > properly named properties for t

[PATCH] mmc: mmc_spi: Don't use dma mappings unless CONFIG_HAS_DMA is set

2020-08-31 Thread Ulf Hansson
The commit cd57d07b1e4e ("sh: don't allow non-coherent DMA for NOMMU") made CONFIG_NO_DMA to be set for some platforms, for good reasons. Consequentially, CONFIG_HAS_DMA doesn't get set, which makes the DMA mapping interface to be built as stub functions. For weird reasons this causes the mmc_spi

Re: [RESEND PATCH] vfs: add RWF_NOAPPEND flag for pwritev2

2020-08-31 Thread Jann Horn
On Mon, Aug 31, 2020 at 2:57 PM Rich Felker wrote: > On Mon, Aug 31, 2020 at 11:15:57AM +0200, Jann Horn wrote: > > On Mon, Aug 31, 2020 at 3:46 AM Rich Felker wrote: > > > On Mon, Aug 31, 2020 at 03:15:04AM +0200, Jann Horn wrote: > > > > On Sun, Aug 30, 2020 at 10:00 PM Rich Felker wrote: > >

Re: [RFT 10/10] arm64: dts: exynos: Enable Arizona interrupt controller in Exynos5433 TM2

2020-08-31 Thread Marek Szyprowski
On 29.08.2020 16:25, Krzysztof Kozlowski wrote: > The Wolfson Arizona codec is interrupt controller which is required by > bindings. This fixes dtbs_check warnings like: > >arch/arm64/boot/dts/exynos/exynos5433-tm2e.dt.yaml: wm5110-codec@0: > 'interrupt-controller' is a required property >

Re: [PATCH] kvm x86/mmu: use KVM_REQ_MMU_SYNC to sync when needed

2020-08-31 Thread Vitaly Kuznetsov
Lai Jiangshan writes: > Ping @Sean Christopherson > Let's try 'Beetlejuice' instead :-) > On Mon, Aug 24, 2020 at 5:18 PM Lai Jiangshan wrote: >> >> From: Lai Jiangshan >> >> 8c8560b83390("KVM: x86/mmu: Use KVM_REQ_TLB_FLUSH_CURRENT for MMU specific >> flushes) >> changed it without giving a

Re: [PATCH v1 2/2] mmc: mediatek: add pre_enable() and post_disable() hook function

2020-08-31 Thread Adrian Hunter
On 27/08/20 12:33 pm, Chun-Hung Wu wrote: > CQHCI_ENABLE bit in CQHCI_CFG should be disabled > after msdc_cqe_disable(), and should be enabled before > msdc_ceq_enable() for MTK platform. > Add hook functions for cqhci_host_ops->pre_enable() and > cqhci_host_ops->post_disable(). > > Signed-off-by:

Re: INFO: task hung in usb_bulk_msg

2020-08-31 Thread Andrey Konovalov
On Sat, Aug 29, 2020 at 3:24 AM Alan Stern wrote: > > On Fri, Aug 28, 2020 at 05:52:16AM -0700, syzbot wrote: > > syzbot has found a reproducer for the following issue on: > > > > HEAD commit:15bc20c6 Merge tag 'tty-5.9-rc3' of git://git.kernel.org/p.. > > git tree: upstream > > console

Re: [PATCH v1 1/2] mmc: cqhci: add new cqhci_host_ops pre_enable() and post_disable()

2020-08-31 Thread Adrian Hunter
On 27/08/20 12:33 pm, Chun-Hung Wu wrote: > Add pre_enable() and post_disable() for cqhci_host_ops. > Add hook functions before cqhci enable and > after cqhci disable for platforms need them. > > Signed-off-by: Chun-Hung Wu Acked-by: Adrian Hunter > --- > drivers/mmc/host/cqhci.c |6 +

[PATCH v2] spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads

2020-08-31 Thread Vignesh Raghavendra
Buffers need to mapped to DMA channel's device pointer instead of SPI controller's device pointer as its system DMA that actually does data transfer. Data inconsistencies have been reported when reading from flash without this fix. Fixes: ffa639e069fb ("mtd: spi-nor: cadence-quadspi: Add DMA suppo

Re: [PATCH v2 0/4] Support of MIPI CSI-2 for A83T

2020-08-31 Thread Maxime Ripard
Hi Paul, On Fri, Aug 28, 2020 at 04:12:03PM +0200, Paul Kocialkowski wrote: > Hi everyone, > > On Fri 28 Aug 20, 15:17, Kévin L'hôpital wrote: > > This series adds the support for the MIPI CSI-2 controller for the A83T SoC. > > The CSI controller is the same as the V3s SoC that's why I put the A8

Re: [PATCH v5 2/2] drm: panel: Add novatek nt36672a panel driver

2020-08-31 Thread Sumit Semwal
Hi Sam, On Sun, 30 Aug 2020 at 03:01, Sam Ravnborg wrote: > > Hi Sumit. > > On Wed, Aug 26, 2020 at 09:33:08PM +0530, Sumit Semwal wrote: > > Novatek NT36672a is a generic DSI IC that drives command and video mode > > panels. Add the driver for it. > > > > Right now adding support for some Poco

[PATCH v6 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a

2020-08-31 Thread Sumit Semwal
Novatek nt36672a is a display driver IC that can drive DSI panel. It is also present in the Tianma video mode panel, which is a FHD+ panel with a resolution of 1080x2246 and 6.18 inches size. It is found in some of the Poco F1 phones. This patch adds the display driver for the IC, with support add

[PATCH v6 2/2] drm: panel: Add novatek nt36672a panel driver

2020-08-31 Thread Sumit Semwal
Novatek NT36672a is a generic DSI IC that drives command and video mode panels. Add the driver for it. Right now adding support for some Poco F1 phones that have an LCD panel from Tianma connected with this IC, with a resolution of 1080x2246 that operates in DSI video mode. During testing, Benni

[PATCH v6 0/2] Add support for Tianma nt36672a video mode panel

2020-08-31 Thread Sumit Semwal
Some Poco F1 phones from Xiaomi have a FHD+ video mode panel based on the Novatek NT36672A display controller; Add support for the same. Most of the panel data is taken from downstream panel dts, and is converted to drm-panel based driver by me. It has been validated with v5.9-rc1 based drm-misc-

Re: [PATCH 08/10] arm64: dts: exynos: Add compatibles to sysreg nodes

2020-08-31 Thread Sylwester Nawrocki
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > System register nodes, implementing syscon binding, should use > appropriate compatible. This fixes dtbs_check warnings: > > arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: syscon@13b8: > compatible: ['syscon'] is not valid under any

Re: [RFC PATCH v7 08/23] sched: Add core wide task selection and scheduling.

2020-08-31 Thread Vineeth Pillai
On 8/29/20 3:47 AM, pet...@infradead.org wrote: During hotplug stress test, we have noticed that while a sibling is in pick_next_task, another sibling can go offline or come online. What we have observed is smt_mask get updated underneath us even if we hold the lock. From reading the code, loo

Re: [PATCH] spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads

2020-08-31 Thread Vignesh Raghavendra
On 8/28/20 1:56 PM, Jan Kiszka wrote: > On 28.08.20 09:47, Vignesh Raghavendra wrote: >> Buffers need to mapped to DMA channel's device pointer instead of SPI >> controller's device pointer as its system DMA that actually does data >> transfer. >> Data inconsistencies have been reported when rea

[git pull] habanalabs fixes pull request for kernel 5.9-rc4

2020-08-31 Thread Oded Gabbay
Hello Greg, This is the pull request for habanalabs driver fixes for 5.9-rc4. Two small fixes, details are in the tag. Thanks, Oded The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b: Linux 5.9-rc3 (2020-08-30 16:01:54 -0700) are available in the Git repository at:

Re: [PATCH] phy: Move phy-rockchip-dphy-rx0 out of staging

2020-08-31 Thread Vinod Koul
On 25-08-20, 19:07, Ezequiel Garcia wrote: > There is no need for this driver to be in staging. > Let's promote it! Applied, thanks -- ~Vinod

Re: [RESEND PATCH] vfs: add RWF_NOAPPEND flag for pwritev2

2020-08-31 Thread Rich Felker
On Mon, Aug 31, 2020 at 11:15:57AM +0200, Jann Horn wrote: > On Mon, Aug 31, 2020 at 3:46 AM Rich Felker wrote: > > On Mon, Aug 31, 2020 at 03:15:04AM +0200, Jann Horn wrote: > > > On Sun, Aug 30, 2020 at 10:00 PM Rich Felker wrote: > > > > On Sun, Aug 30, 2020 at 09:02:31PM +0200, Jann Horn wrot

Re: [PATCH 07/10] arm64: dts: exynos: Replace deprecated "gpios" i2c-gpio property in Exynos5433

2020-08-31 Thread Sylwester Nawrocki
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > "gpios" property is deprecated. Update the Exynos5433 DTS to fix > dtbs_checks warnings like: > > arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: i2c-gpio-0: 'sda-gpios' > is a required property > arch/arm64/boot/dts/exynos/exynos5433-tm2.

Re: [PATCH] ftrace: Free the trampoline when ftrace_startup() fails

2020-08-31 Thread Miroslav Benes
I used Masami's address which did not work. Sorry about that. Should be ok now. On Mon, 31 Aug 2020, Miroslav Benes wrote: > Commit fc0ea795f53c ("ftrace: Add symbols for ftrace trampolines") > missed to remove ops from new ftrace_ops_trampoline_list in > ftrace_startup() if ftrace_hash_ipmodify

Re: [PATCH next v3 6/8] printk: ringbuffer: add finalization/extension support

2020-08-31 Thread John Ogness
This critical piece was missing from patch 6... >From 0b745d507f0c38e6d1612ed9468aa52845ca025b Mon Sep 17 00:00:00 2001 From: John Ogness Date: Mon, 31 Aug 2020 14:45:40 +0206 Subject: [PATCH] printk: ringbuffer: allow reading consistent descriptors desc_read() will fail to read if a descriptor

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-31 Thread Feng Tang
On Mon, Aug 31, 2020 at 09:55:17AM +0100, Mel Gorman wrote: > On Mon, Aug 31, 2020 at 04:23:06PM +0800, Feng Tang wrote: > > On Mon, Aug 31, 2020 at 08:56:11AM +0100, Mel Gorman wrote: > > > On Mon, Aug 31, 2020 at 10:16:38AM +0800, Feng Tang wrote: > > > > > So why don't you define both variables

Re: [PATCH 07/10] arm64: dts: exynos: Replace deprecated "gpios" i2c-gpio property in Exynos5433

2020-08-31 Thread Marek Szyprowski
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > "gpios" property is deprecated. Update the Exynos5433 DTS to fix > dtbs_checks warnings like: > >arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: i2c-gpio-0: 'sda-gpios' > is a required property >arch/arm64/boot/dts/exynos/exynos5433-t

Re: [RFT 09/10] arm64: dts: exynos: Correct port of USB-C connector node on Exynos5433 TM2

2020-08-31 Thread Marek Szyprowski
Hi Krzysztof, On 29.08.2020 16:25, Krzysztof Kozlowski wrote: > The USB-C connector bindings require port@0. Such port was already > described in DTS but outside of the connector itself. Put it into > proper place to fix dtbs_check warnings like: > >arch/arm64/boot/dts/exynos/exynos5433-tm2.

Re: [PATCH v2 12/12] xhci: tegra: enable ELPG for runtime/system PM

2020-08-31 Thread Thierry Reding
On Mon, Aug 31, 2020 at 12:40:43PM +0800, JC Kuo wrote: > This commit implements the complete programming sequence for ELPG > entry and exit. > > 1. At ELPG entry, invokes tegra_xusb_padctl_enable_phy_sleepwalk() > and tegra_xusb_padctl_enable_phy_wake() to configure XUSB PADCTL > sleepwa

Re: [PATCH] KVM: LAPIC: Reset timer_advance_ns if timer mode switch

2020-08-31 Thread Vitaly Kuznetsov
Wanpeng Li writes: > From: Wanpeng Li > > per-vCPU timer_advance_ns should be set to 0 if timer mode is not tscdeadline > otherwise we waste cpu cycles in the function lapic_timer_int_injected(), lapic_timer_int_injected is just a test, kvm_wait_lapic_expire() (__kvm_wait_lapic_expire()) mayb

[Question] About SECCOMP issue for ILP32

2020-08-31 Thread Xiongfeng Wang
Hi Yury, We were testing the ILP32 feature and came accross a problem. Very apperaciate it if you could give us some help ! We compile the LTP testsuite with '-mabi=ilp32' and run it on a machine with kernel and glibc applied with ILP32 patches. But we failed on one testcase, prctl04. It print th

Re: [PATCH V2 0/6] Support PCIe3 uncore PMU on Snow Ridge

2020-08-31 Thread Liang, Kan
Hi Peter, Could you please share the comments for this patch set? Thanks, Kan On 8/5/2020 4:24 PM, kan.li...@linux.intel.com wrote: From: Kan Liang Changes since V1: - Drop the platform device solution - A new uncore PCI sub driver solution is introduced which searches the PCIe Root Port

Re: [PATCH] iio: dac: ad5593r: Dynamically set AD5593R channel modes

2020-08-31 Thread Andy Shevchenko
On Mon, Aug 31, 2020 at 3:45 PM Andy Shevchenko wrote: > On Mon, Aug 31, 2020 at 2:28 PM AceLan Kao wrote: > > This patch is mainly for Advantech's UNO-420[1] which is a x86-based > > platform. > > This platform is more like a development platform for customers to > > customize their products, >

Re: [PATCH] iio: dac: ad5593r: Dynamically set AD5593R channel modes

2020-08-31 Thread Andy Shevchenko
On Mon, Aug 31, 2020 at 2:28 PM AceLan Kao wrote: > This patch is mainly for Advantech's UNO-420[1] which is a x86-based platform. > This platform is more like a development platform for customers to > customize their products, > so, specify the channel modes in ACPI table is not generic enough, >

[PATCH 1/6] kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot

2020-08-31 Thread Masami Hiramatsu
Since kprobe_event= cmdline option allows user to put kprobes on the functions in initmem, kprobe has to make such probes gone after boot. Currently the probes on the init functions in modules will be handled by module callback, but the kernel init text isn't handled. Without this, kprobes may acce

[PATCH 5/6] Documentation: tracing: Add %return suffix description

2020-08-31 Thread Masami Hiramatsu
Add a description of the %return suffix option for kprobe tracer. Signed-off-by: Masami Hiramatsu --- Documentation/trace/kprobetrace.rst |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/trace/kprobetrace.rst b/Documentation/trace/kprobetrace.rst index c1709165c553..d29d1f

[PATCH 3/6] Documentation: tracing: Add tracing_on option to boot-time tracer

2020-08-31 Thread Masami Hiramatsu
Add tracing_on option description to the boot-time tracer. Signed-off-by: Masami Hiramatsu --- Documentation/trace/boottime-trace.rst |4 1 file changed, 4 insertions(+) diff --git a/Documentation/trace/boottime-trace.rst b/Documentation/trace/boottime-trace.rst index dcb390075ca1..13

[PATCH 6/6] Documentation: tracing: boot: Add an example of tracing function-calls

2020-08-31 Thread Masami Hiramatsu
Add an example of tracing function calls on a specific function. Signed-off-by: Masami Hiramatsu --- Documentation/trace/boottime-trace.rst | 20 1 file changed, 20 insertions(+) diff --git a/Documentation/trace/boottime-trace.rst b/Documentation/trace/boottime-trace.rst

[PATCH 2/6] tracing/boot: Add per-instance tracing_on option support

2020-08-31 Thread Masami Hiramatsu
Add per-instance tracing_on option, which will be useful with traceon/traceoff event trigger actions. For example, if we disable tracing_on by default and set traceon and traceoff on a pair of events, we can trace functions between the pair of events. Signed-off-by: Masami Hiramatsu --- kernel/t

[PATCH 4/6] tracing/kprobes: Support perf-style return probe

2020-08-31 Thread Masami Hiramatsu
Support perf-style return probe ("SYMBOL%return") in kprobe events. This will allow boot-time tracing user to define a return probe event. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/k

[PATCH 0/6] tracing/boot: Add new options for tracing specific period

2020-08-31 Thread Masami Hiramatsu
Hi, Here is a series of patches to improve the boot-time tracing to support kretprobe and tracing_on option. The combination of these options allows us to trace events while a specific function call period. This also includes a bugfix about boot-time kprobe event as [1/6]. For example, this boot

RE: [PATCH] nvme-pci: check req to prevent crash in nvme_handle_cqe()

2020-08-31 Thread Tianxianting
y-ci/linux/commits/Xianting-Tian/nvme-pci-check-req-to-prevent-crash-in-nvme_handle_cqe/20200831-155653 base:d012a7190fc1fd72ed48911e77ca97ba4521bccd config: parisc-randconfig-r004-20200831 (attached as .config) compiler: hppa-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): w

Re: [PATCH v2 11/12] usb: host: xhci-tegra: unlink power domain devices

2020-08-31 Thread Thierry Reding
On Mon, Aug 31, 2020 at 12:40:42PM +0800, JC Kuo wrote: > This commit unlinks xhci-tegra platform device with ss/host power > domain devices. Reasons for this change is - at elpg entry, phy > sleepwalk and wake configuration need to be done before powering > down ss/host partitions, and phy need be

Re: [PATCH v2] drm/sun4i: Fix dsi dcs long write function

2020-08-31 Thread Maxime Ripard
On Fri, Aug 28, 2020 at 02:50:32PM +0200, Ondrej Jirman wrote: > It's writing too much data. regmap_bulk_write expects number of > register sized chunks to write, not a byte sized length of the > bounce buffer. Bounce buffer needs to be padded too, so that > regmap_bulk_write will not read past the

[PATCH v14 00/17] KVM RISC-V Support

2020-08-31 Thread Anup Patel
This series adds initial KVM RISC-V support. Currently, we are able to boot Linux on RV64/RV32 Guest with multiple VCPUs. Key aspects of KVM RISC-V added by this series are: 1. No RISC-V specific KVM IOCTL 2. Minimal possible KVM world-switch which touches only GPRs and few CSRs 3. Both RV64 and R

[PATCH v14 05/17] RISC-V: KVM: Implement KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls

2020-08-31 Thread Anup Patel
For KVM RISC-V, we use KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls to access VCPU config and registers from user-space. We have three types of VCPU registers: 1. CONFIG - these are VCPU config and capabilities 2. CORE - these are VCPU general purpose registers 3. CSR- these are VCPU control and s

Re: [PATCH 1/2] ARM: multi_v7_defconfig: enable CONFIG_PCIE_RCAR_HOST

2020-08-31 Thread Geert Uytterhoeven
On Wed, Aug 26, 2020 at 11:32 AM Lad Prabhakar wrote: > config option PCIE_RCAR internally selects PCIE_RCAR_HOST which builds the > same driver. So this patch renames CONFIG_PCIE_RCAR to > CONFIG_PCIE_RCAR_HOST so that PCIE_RCAR can be safely dropped from Kconfig > file. > > Signed-off-by: Lad Pr

[PATCH v14 09/17] RISC-V: KVM: Implement VMID allocator

2020-08-31 Thread Anup Patel
We implement a simple VMID allocator for Guests/VMs which: 1. Detects number of VMID bits at boot-time 2. Uses atomic number to track VMID version and increments VMID version whenever we run-out of VMIDs 3. Flushes Guest TLBs on all host CPUs whenever we run-out of VMIDs 4. Force updates HW S

[PATCH v14 08/17] RISC-V: KVM: Handle WFI exits for VCPU

2020-08-31 Thread Anup Patel
We get illegal instruction trap whenever Guest/VM executes WFI instruction. This patch handles WFI trap by blocking the trapped VCPU using kvm_vcpu_block() API. The blocked VCPU will be automatically resumed whenever a VCPU interrupt is injected from user-space or from in-kernel IRQCHIP emulation.

Re: [PATCH] clk: renesas: cpg-mssr: Add clk entry for VSPR

2020-08-31 Thread Geert Uytterhoeven
Hi Prabhakar, Thanks for your patch! On Tue, Aug 25, 2020 at 3:48 PM Lad Prabhakar wrote: > Add clock entry 130 for VSPR module, so that this module can be used VSPR ("VSP for Resizing") > on R8A7742 (RZ/G1H) SoC. > > Note: The entry for VSPR clock was accidentally dropped from RZ/G manual > w

Re: [PATCH v2 09/12] phy: tegra: xusb: t186: support wake and sleepwalk

2020-08-31 Thread Thierry Reding
On Mon, Aug 31, 2020 at 12:40:40PM +0800, JC Kuo wrote: > This commit implements Tegra186/Tegra194 XUSB PADCTL/AO wake and > sleepwalk operations. > > Signed-off-by: JC Kuo > --- > drivers/phy/tegra/xusb-tegra186.c | 656 ++ > 1 file changed, 656 insertions(+) Same c

drivers/net/dsa/sja1105/sja1105_main.c:1608 sja1105_static_config_reload() warn: bitwise AND condition is false here

2020-08-31 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4d41ead6ead97c3730bbd186a601a64828668f01 commit: ffe10e679cec9a99f19049459cb27c2fbb1e913a net: dsa: sja1105: Add support for the SGMII port config: arm-randconfig-m031-20200829 (attached as .config) compiler

[PATCH v14 14/17] RISC-V: KVM: Implement ONE REG interface for FP registers

2020-08-31 Thread Anup Patel
From: Atish Patra Add a KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctl interface for floating point registers such as F0-F31 and FCSR. This support is added for both 'F' and 'D' extensions. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewe

Re: [PATCH v2 08/12] phy: tegra: xusb: t210: support wake and sleepwalk

2020-08-31 Thread Thierry Reding
On Mon, Aug 31, 2020 at 12:40:39PM +0800, JC Kuo wrote: > This commit implements Tegra210 XUSB PADCTL wake and sleepwalk > routines. Sleepwalk logic is in PMC (always-on) hardware block. > PMC driver provides managed access to the sleepwalk registers > via regmap framework. > > Signed-off-by: JC K

drivers/net/dsa/sja1105/sja1105_main.c:2342 sja1105_best_effort_vlan_filtering_set() error: uninitialized symbol 'rc'.

2020-08-31 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4d41ead6ead97c3730bbd186a601a64828668f01 commit: 2cafa72e516f61b6d82c2416b4f5963fb48fd9ce net: dsa: sja1105: add a new best_effort_vlan_filtering devlink parameter config: arm-randconfig-m031-20200829 (attac

Re: Warning on Kernel 5.9.0-rc1 on PowerBook G4 (ppc32), bisected to a5c3b9ffb0f4

2020-08-31 Thread Christophe Leroy
Le 31/08/2020 à 12:46, Anshuman Khandual a écrit : On 08/29/2020 06:40 AM, Larry Finger wrote: In kernel 5.9.0-rc1 on a PowerBook G4 (ppc32), several warnings of the following type are logged:  [ cut here ]  WARNING: CPU: 0 PID: 1 at arch/powerpc/mm/pgtable.c:185

[PATCH v14 17/17] RISC-V: KVM: Add MAINTAINERS entry

2020-08-31 Thread Anup Patel
Add myself as maintainer for KVM RISC-V and Atish as designated reviewer. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINT

Re: [PATCH 04/10] dt-bindings: mfd: syscon: Document Samsung Exynos compatibles

2020-08-31 Thread Krzysztof Kozlowski
On Mon, Aug 31, 2020 at 02:30:52PM +0200, Sylwester Nawrocki wrote: > On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > > Samsung Exynos SoCs use syscon for system registers so document its > > compatibles. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > Documentation/devicetree/bindings/

Re: fsl_espi errors on v5.7.15

2020-08-31 Thread Heiner Kallweit
On 30.08.2020 23:59, Chris Packham wrote: > > On 31/08/20 9:41 am, Heiner Kallweit wrote: >> On 30.08.2020 23:00, Chris Packham wrote: >>> On 31/08/20 12:30 am, Nicholas Piggin wrote: Excerpts from Chris Packham's message of August 28, 2020 8:07 am: >>> >>> > I've also now seen the R

[PATCH v14 12/17] RISC-V: KVM: Add timer functionality

2020-08-31 Thread Anup Patel
From: Atish Patra The RISC-V hypervisor specification doesn't have any virtual timer feature. Due to this, the guest VCPU timer will be programmed via SBI calls. The host will use a separate hrtimer event for each guest VCPU to provide timer functionality. We inject a virtual timer interrupt to

[PATCH v14 15/17] RISC-V: KVM: Add SBI v0.1 support

2020-08-31 Thread Anup Patel
From: Atish Patra The KVM host kernel is running in HS-mode needs so we need to handle the SBI calls coming from guest kernel running in VS-mode. This patch adds SBI v0.1 support in KVM RISC-V. Almost all SBI v0.1 calls are implemented in KVM kernel module except GETCHAR and PUTCHART calls which

[PATCH v14 16/17] RISC-V: KVM: Document RISC-V specific parts of KVM API

2020-08-31 Thread Anup Patel
Document RISC-V specific parts of the KVM API, such as: - The interrupt numbers passed to the KVM_INTERRUPT ioctl. - The states supported by the KVM_{GET,SET}_MP_STATE ioctls. - The registers supported by the KVM_{GET,SET}_ONE_REG interface and the encoding of those register ids. - The exit

[PATCH v14 13/17] RISC-V: KVM: FP lazy save/restore

2020-08-31 Thread Anup Patel
From: Atish Patra This patch adds floating point (F and D extension) context save/restore for guest VCPUs. The FP context is saved and restored lazily only when kernel enter/exits the in-kernel run loop and not during the KVM world switch. This way FP save/restore has minimal impact on KVM perfor

Re: [PATCH 06/10] dt-bindings: sound: samsung-i2s: Use unevaluatedProperties

2020-08-31 Thread Sylwester Nawrocki
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > Additional properties actually might appear (e.g. power-domains) so use > unevaluatedProperties to fix dtbs_check warnings like: > > arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: i2s@1144: > Additional properties are not allowed ('po

[PATCH v14 11/17] RISC-V: KVM: Implement MMU notifiers

2020-08-31 Thread Anup Patel
This patch implements MMU notifiers for KVM RISC-V so that Guest physical address space is in-sync with Host physical address space. This will allow swapping, page migration, etc to work transparently with KVM RISC-V. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini

[PATCH v14 10/17] RISC-V: KVM: Implement stage2 page table programming

2020-08-31 Thread Anup Patel
This patch implements all required functions for programming the stage2 page table for each Guest/VM. At high-level, the flow of stage2 related functions is similar from KVM ARM/ARM64 implementation but the stage2 page table format is quite different for KVM RISC-V. [jiangyifei: stage2 dirty log

[PATCH v14 06/17] RISC-V: KVM: Implement VCPU world-switch

2020-08-31 Thread Anup Patel
This patch implements the VCPU world-switch for KVM RISC-V. The KVM RISC-V world-switch (i.e. __kvm_riscv_switch_to()) mostly switches general purpose registers, SSTATUS, STVEC, SSCRATCH and HSTATUS CSRs. Other CSRs are switched via vcpu_load() and vcpu_put() interface in kvm_arch_vcpu_load() and

[PATCH v14 04/17] RISC-V: KVM: Implement VCPU interrupts and requests handling

2020-08-31 Thread Anup Patel
This patch implements VCPU interrupts and requests which are both asynchronous events. The VCPU interrupts can be set/unset using KVM_INTERRUPT ioctl from user-space. In future, the in-kernel IRQCHIP emulation will use kvm_riscv_vcpu_set_interrupt() and kvm_riscv_vcpu_unset_interrupt() functions t

[PATCH v14 07/17] RISC-V: KVM: Handle MMIO exits for VCPU

2020-08-31 Thread Anup Patel
We will get stage2 page faults whenever Guest/VM access SW emulated MMIO device or unmapped Guest RAM. This patch implements MMIO read/write emulation by extracting MMIO details from the trapped load/store instruction and forwarding the MMIO read/write to user-space. The actual MMIO emulation will

Re: [PATCH 04/10] dt-bindings: mfd: syscon: Document Samsung Exynos compatibles

2020-08-31 Thread Sylwester Nawrocki
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > Samsung Exynos SoCs use syscon for system registers so document its > compatibles. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/mfd/syscon.yaml | 4 > 1 file changed, 4 insertions(+) > > diff --git a/Docu

[PATCH v14 02/17] RISC-V: Add initial skeletal KVM support

2020-08-31 Thread Anup Patel
This patch adds initial skeletal KVM RISC-V support which has: 1. A simple implementation of arch specific VM functions except kvm_vm_ioctl_get_dirty_log() which will implemeted in-future as part of stage2 page loging. 2. Stubs of required arch specific VCPU functions except kvm_arch_vcpu_

[PATCH v14 03/17] RISC-V: KVM: Implement VCPU create, init and destroy functions

2020-08-31 Thread Anup Patel
This patch implements VCPU create, init and destroy functions required by generic KVM module. We don't have much dynamic resources in struct kvm_vcpu_arch so these functions are quite simple for KVM RISC-V. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by

[PATCH v14 01/17] RISC-V: Add hypervisor extension related CSR defines

2020-08-31 Thread Anup Patel
This patch extends asm/csr.h by adding RISC-V hypervisor extension related defines. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- arch/riscv/include/asm/csr.h | 89 1 file changed, 89 insertion

Re: [PATCH v14 00/18] KVM RISC-V Support

2020-08-31 Thread Anup Patel
On Mon, Aug 31, 2020 at 5:56 PM Anup Patel wrote: > > This series adds initial KVM RISC-V support. Currently, we are able to boot > Linux on RV64/RV32 Guest with multiple VCPUs. > > Key aspects of KVM RISC-V added by this series are: > 1. No RISC-V specific KVM IOCTL > 2. Minimal possible KVM worl

drivers/staging/media/ipu3/ipu3-css-params.c:1211:1: warning: the frame size of 2500 bytes is larger than 1024 bytes

2020-08-31 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f75aef392f869018f78cfedf3c320a6b3fcfda6b commit: 0887a7ebc97770c7870abf3075a2e8cd502a7f52 ubsan: add trap instrumentation option date: 5 months ago config: i386-randconfig-r026-20200831 (attached as

[PATCH v14 00/18] KVM RISC-V Support

2020-08-31 Thread Anup Patel
This series adds initial KVM RISC-V support. Currently, we are able to boot Linux on RV64/RV32 Guest with multiple VCPUs. Key aspects of KVM RISC-V added by this series are: 1. No RISC-V specific KVM IOCTL 2. Minimal possible KVM world-switch which touches only GPRs and few CSRs 3. Both RV64 and R

[PATCH] ftrace: Free the trampoline when ftrace_startup() fails

2020-08-31 Thread Miroslav Benes
Commit fc0ea795f53c ("ftrace: Add symbols for ftrace trampolines") missed to remove ops from new ftrace_ops_trampoline_list in ftrace_startup() if ftrace_hash_ipmodify_enable() fails there. It may lead to BUG if such ops come from a module which may be removed. Moreover, the trampoline itself is n

Re: [PATCH v10 2/2] s390: virtio: PV needs VIRTIO I/O device protection

2020-08-31 Thread kernel test robot
-base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Pierre-Morel/s390-virtio-let-arch-validate-VIRTIO-features/20200831-171552 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds

Re: [PATCH 03/10] dt-bindings: timer: exynos4210-mct: Use unevaluatedProperties

2020-08-31 Thread Sylwester Nawrocki
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > Additional properties actually might appear (e.g. clocks) so use > unevaluatedProperties to fix dtbs_check warnings like: > > arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: timer@101c: > 'clock-names', 'clocks' do not match any of the

Re: [PATCH 02/10] dt-bindings: gpu: arm,mali-midgard: Use unevaluatedProperties

2020-08-31 Thread Sylwester Nawrocki
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > Additional properties or nodes actually might appear (e.g. operating > points table) so use unevaluatedProperties to fix dtbs_check warnings > like: > > arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: gpu@14ac: > 'opp_table' does not m

general protection fault in line6_midibuf_write

2020-08-31 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3ed8e1c2 usb: typec: tcpm: Migrate workqueue to RT priorit.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=137be05690 kernel conf

Re: [PATCH net-next RFC v3 01/14] devlink: Add reload action option to devlink reload command

2020-08-31 Thread Jiri Pirko
Sun, Aug 30, 2020 at 05:27:21PM CEST, mo...@mellanox.com wrote: >Add devlink reload action to allow the user to request a specific reload >action. The action parameter is optional, if not specified then devlink >driver re-init action is used (backward compatible). >Note that when required to do fir

Re: [PATCH 01/10] dt-bindings: arm: samsung: pmu: Use unevaluatedProperties

2020-08-31 Thread Sylwester Nawrocki
On 29.08.2020 16:24, Krzysztof Kozlowski wrote: > Additional properties actually might appear (e.g. assigned-clocks) so > use unevaluatedProperties to fix dtbs_check warnings like: > > arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: > system-controller@105c: > 'assigned-clock-parents

Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-08-31 Thread Viresh Kumar
On 26-08-20, 11:33, Stephan Gerhold wrote: > dev_pm_opp_attach_genpd() allows attaching an arbitrary number of > power domains to an OPP table. In that case, the genpd core will > create a virtual device for each of the power domains. > > At the moment, the OPP core only calls > dev_pm_genpd_set_p

[PATCH] [v2] nvme-pci: check req to prevent crash in nvme_handle_cqe()

2020-08-31 Thread Xianting Tian
We met a crash issue when hot-insert a nvme device, blk_mq_tag_to_rq() returned null(req=null), then crash happened in nvme_end_request(): struct nvme_request *rq = nvme_req(req); rq->result = result; <==crash here The test env is, a server is configured with 2 backplanes, each ba

Re: [PATCH v2 06/12] soc/tegra: pmc: provide usb sleepwalk register map

2020-08-31 Thread Thierry Reding
On Mon, Aug 31, 2020 at 12:40:37PM +0800, JC Kuo wrote: > This commit implements a register map which grants USB (UTMI and HSIC) > sleepwalk registers access to USB phy drivers. The USB sleepwalk logic > is in PMC hardware block but USB phy drivers have the best knowledge > of proper programming se

Re: [PATCH v2] i2c: npcm7xx: bug fix timeout (usec instead of msec)

2020-08-31 Thread Avi Fishman
Please ignore my last mail, Tali already sent v3. On Mon, Aug 31, 2020 at 10:57 AM Avi Fishman wrote: > > On Sun, Aug 30, 2020 at 9:01 PM Andy Shevchenko > wrote: > > > > On Sun, Aug 30, 2020 at 3:23 PM Tali Perry wrote: > > > > > > > > i2c: npcm7xx: bug fix timeout (usec instead of msec) > > >

Re: [PATCH 3/3] KVM: nSVM: more strict SMM checks when returning to nested guest

2020-08-31 Thread Dan Carpenter
Hi Maxim, url: https://github.com/0day-ci/linux/commits/Maxim-Levitsky/Few-nSVM-bugfixes/20200828-003025 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next config: x86_64-randconfig-m001-20200827 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issu

Re: [PATCH v2 3/3] riscv: Add cache information in AUX vector

2020-08-31 Thread Dan Carpenter
Hi Zong, url: https://github.com/0day-ci/linux/commits/Zong-Li/Get-cache-information-from-userland/20200827-162439 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 15bc20c6af4ceee97a1f90b43c0e386643c071b4 config: riscv-randconfig-m031-20200828 (attached as .config) c

<    5   6   7   8   9   10   11   12   13   >