Re: [PATCH 2/2] KVM: x86: Fix split-irqchip vs interrupt injection window request

2021-04-15 Thread Paolo Bonzini
On 15/04/21 02:59, Lai Jiangshan wrote: The next call to inject_pending_event() will reach here AT FIRST with vcpu->arch.exception.injected==false and vcpu->arch.exception.pending==false ... if (!vcpu->arch.exception.pending) { if (vcpu->arch.nmi_injected) {

RE: [PATCH v3 2/3] dt-bindings: fpga: Add binding doc for versal fpga manager

2021-04-15 Thread Nava kishore Manne
Hi Rob, Please find my response inline. > -Original Message- > From: Rob Herring > Sent: Wednesday, March 10, 2021 10:50 PM > To: Nava kishore Manne > Cc: m...@kernel.org; t...@redhat.com; Michal Simek ; > gre...@linuxfoundation.org; Jolly Shah ; Rajan Vaja > ; a...@arndb.de;

Re: [Outreachy kernel] [PATCH v3 2/2] staging: rtl8723bs: Remove everything related with LedBlink

2021-04-15 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 09:27:50PM +0200, Fabio M. De Francesco wrote: > Removed struct LedBlink_param. Removed LedBlink entries in > rtw_cmd_callback[] and in wlancmds[]. Everything related to LedBlink is > not anymore needed. Removed extra blank lines in the two mentioned > arrays and changend

Re: Linux 5.4.112

2021-04-15 Thread Samuel Zou
On 2021/4/14 14:48, Greg Kroah-Hartman wrote: I'm announcing the release of the 5.4.112 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Jie Deng
On 2021/4/15 11:51, Jason Wang wrote: +    for (i = 0; i < nr; i++) { +    /* Detach the ith request from the vq */ +    req = virtqueue_get_buf(vq, ); + +    /* + * Condition (req && req == [i]) should always meet since + * we have total nr requests in the vq.

Re: Linux 4.19.187

2021-04-15 Thread Samuel Zou
On 2021/4/14 14:40, Greg Kroah-Hartman wrote: I'm announcing the release of the 4.19.187 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can

Re: [PATCH v3 01/12] iommu: Introduce dirty log tracking framework

2021-04-15 Thread Keqian Zhu
Hi Baolu, Thanks for the review! On 2021/4/14 15:00, Lu Baolu wrote: > Hi Keqian, > > On 4/13/21 4:54 PM, Keqian Zhu wrote: >> Some types of IOMMU are capable of tracking DMA dirty log, such as >> ARM SMMU with HTTU or Intel IOMMU with SLADE. This introduces the >> dirty log tracking framework

Re: [PATCH 1/3] vDPA/ifcvf: deduce VIRTIO device ID when probe

2021-04-15 Thread Zhu Lingshan
On 4/15/2021 2:30 PM, Jason Wang wrote: 在 2021/4/15 下午1:52, Zhu Lingshan 写道: On 4/15/2021 11:30 AM, Jason Wang wrote: 在 2021/4/14 下午5:18, Zhu Lingshan 写道: This commit deduces VIRTIO device ID as device type when probe, then ifcvf_vdpa_get_device_id() can simply return the ID.

Re: [v2 PATCH 6/7] mm: migrate: check mapcount for THP instead of ref count

2021-04-15 Thread Huang, Ying
"Zi Yan" writes: > On 13 Apr 2021, at 23:00, Huang, Ying wrote: > >> Yang Shi writes: >> >>> The generic migration path will check refcount, so no need check refcount >>> here. >>> But the old code actually prevents from migrating shared THP (mapped by >>> multiple >>> processes), so bail out

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Viresh Kumar
On 23-03-21, 10:27, Arnd Bergmann wrote: > I usually recommend the use of __maybe_unused for the suspend/resume > callbacks for drivers that use SIMPLE_DEV_PM_OPS() or similar helpers > that hide the exact conditions under which the functions get called. > > In this driver, there is an explicit

bonding: 3ad: update slave arr after initialize

2021-04-15 Thread jin yiting
From 71e63af579edd15ad7f7395760a19f67d9a1d7d3 Mon Sep 17 00:00:00 2001 From: jin yiting Date: Wed, 31 Mar 2021 20:38:40 +0800 Subject: [PATCH] bonding: 3ad: update slave arr after initialize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bond works

Re: [PATCH 1/3] vDPA/ifcvf: deduce VIRTIO device ID when probe

2021-04-15 Thread Jason Wang
在 2021/4/15 下午2:36, Zhu Lingshan 写道: On 4/15/2021 2:30 PM, Jason Wang wrote: 在 2021/4/15 下午1:52, Zhu Lingshan 写道: On 4/15/2021 11:30 AM, Jason Wang wrote: 在 2021/4/14 下午5:18, Zhu Lingshan 写道: This commit deduces VIRTIO device ID as device type when probe, then

Re: [RFC] ITS fails to allocate on rk3568/rk3566

2021-04-15 Thread Kever Yang
Hi Marc, Peter,     RK356x GIC has two issues: 1. GIC only support 32bit address while rk356x supports 8GB DDR SDRAM, so we use ZONE_DMA32 to fix this issue; 2. GIC version is r1p6-00rel0, RK356x interconnect does not support GIC and CPU snoop to each other, hence the GIC does not support

[PATCH 5/7] virito_pci libray: hide vp_modern_map_capability()

2021-04-15 Thread Jason Wang
No user now and the capability should not be setup externally. Instead, every access to the capability should be done via virtio_pci_modern_device. Signed-off-by: Jason Wang --- drivers/virtio/virtio_pci_modern_dev.c | 10 -- include/linux/virtio_pci_modern.h | 5 - 2 files

[PATCH 4/7] virtio_pci_modern: hide vp_modern_get_queue_notify_off()

2021-04-15 Thread Jason Wang
All users (both virtio-pci library and vp_vdpa driver) has been switched to use vp_modern_map_vq_notify(). So there's no need to export the low level helper of vp_modern_get_queue_notify_off(). Signed-off-by: Jason Wang --- drivers/virtio/virtio_pci_modern_dev.c | 5 ++---

[PATCH 6/7] virtio-pci library: report resource address

2021-04-15 Thread Jason Wang
Sometimes it might be useful to report the capability physical address. One example is to report the physical address of the doorbell in order to be mapped by userspace. Signed-off-by: Jason Wang --- drivers/vdpa/virtio_pci/vp_vdpa.c | 3 ++- drivers/virtio/virtio_pci_modern.c | 2 +-

[PATCH 3/7] vp_vdpa: switch to use vp_modern_map_vq_notify()

2021-04-15 Thread Jason Wang
This patch switches to use vp_vdpa to use vp_modern_map_notify(). Signed-off-by: Jason Wang --- drivers/vdpa/virtio_pci/vp_vdpa.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/vdpa/virtio_pci/vp_vdpa.c b/drivers/vdpa/virtio_pci/vp_vdpa.c index

[PATCH 7/7] vp_vdpa: report doorbell address

2021-04-15 Thread Jason Wang
This patch reports the per vq doorbell location and size to vDPA bus. Userspace can then map the doorbell via mmap() via vhost-vDPA bus driver. Signed-off-by: Jason Wang --- drivers/vdpa/virtio_pci/vp_vdpa.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git

[PATCH 1/7] virtio_pci_modern: introduce helper to map vq notify area

2021-04-15 Thread Jason Wang
This patch factors out the logic of vq notify area mapping. Following patches will switch to use this common helpers for both virtio_pci library and virtio-pci vDPA driver. Signed-off-by: Jason Wang --- drivers/virtio/virtio_pci_modern_dev.c | 35 ++

[PATCH 2/7] virtio-pci library: switch to use vp_modern_map_vq_notify()

2021-04-15 Thread Jason Wang
This patch switch to use vp_modern_map_notify() for virtio-pci library. Signed-off-by: Jason Wang --- drivers/virtio/virtio_pci_modern.c | 27 ++- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/drivers/virtio/virtio_pci_modern.c

[PATCH 0/7] Doorbell mapping support for virito-pci vDPA

2021-04-15 Thread Jason Wang
Hi All: This series implements the doorbell mapping support for virtio-pci vDPA driver. Tested with page-per-vq=on in a nested guest. Please review Thanks Jason Wang (7): virtio_pci_modern: introduce helper to map vq notify area virtio-pci library: switch to use vp_modern_map_vq_notify()

Re: [PATCH v2 16/24] dt-bindings: atmel-sysreg: add bindings for sama7g5

2021-04-15 Thread Claudiu.Beznea
On 12.04.2021 19:02, Rob Herring wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Fri, Apr 09, 2021 at 02:13:37PM +0300, Claudiu Beznea wrote: >> Add RAM controller and RAM PHY controller DT bindings. >> >> Signed-off-by: Claudiu Beznea

Re: [PATCH v3 01/12] iommu: Introduce dirty log tracking framework

2021-04-15 Thread Keqian Zhu
On 2021/4/15 15:03, Lu Baolu wrote: > On 4/15/21 2:18 PM, Keqian Zhu wrote: >> Hi Baolu, >> >> Thanks for the review! >> >> On 2021/4/14 15:00, Lu Baolu wrote: >>> Hi Keqian, >>> >>> On 4/13/21 4:54 PM, Keqian Zhu wrote: Some types of IOMMU are capable of tracking DMA dirty log, such as

Re: [PATCH v2 2/8] MIPS: pci-rt2880: remove unneeded locks

2021-04-15 Thread Sergey Ryazanov
On Wed, Apr 14, 2021 at 6:12 AM Ilya Lipnitskiy wrote: > Mirror pci-rt3883 fix from commit e5067c718b3a ("MIPS: pci-rt3883: > Remove odd locking in PCI config space access code"). pci-rt2880 shares > the driver layout with pci-rt3883 and the same reasons apply. > > Caller (generic PCI code)

Re: [Outreachy patch] [PATCH v3 1/2] staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-15 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 09:27:49PM +0200, Fabio M. De Francesco wrote: > Removed useless led_blink_hdl() prototype and definition. In wlancmds[] > the slot #60 is now set to NULL using the macro GEN_MLME_EXT_HANDLER. This > change has not unwanted side effects because the code in rtw_cmd.c checks

Re: [PATCH] usb: dwc3: gadget: Avoid canceling current request for queuing error

2021-04-15 Thread Felipe Balbi
Wesley Cheng writes: > If an error is received when issuing a start or update transfer > command, the error handler will stop all active requests (including > the current USB request), and call dwc3_gadget_giveback() to notify > function drivers of the requests which have been stopped. Avoid >

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Jie Deng
On 2021/4/14 11:52, Viresh Kumar wrote: Is i2c/for-next the right tree to merge it ? It should be. Thanks Viresh. Hi Wolfram, Do you have any comments for this patch ? Your opinion will be important to improve this patch since you are the maintainer of I2C. Thanks, Jie

linux-next: manual merge of the vfio tree with the drm tree

2021-04-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the vfio tree got a conflict in: drivers/gpu/drm/i915/gvt/gvt.c between commit: 9ff06c385300 ("drm/i915/gvt: Remove references to struct drm_device.pdev") from the drm tree and commit: 383987fd15ba ("vfio/gvt: Use mdev_get_type_group_id()") from the

Re: [PATCH] uml: fix W=1 missing-include-dirs warnings

2021-04-15 Thread Randy Dunlap
On 4/14/21 11:52 PM, Masahiro Yamada wrote: > On Thu, Apr 15, 2021 at 4:27 AM Randy Dunlap wrote: >> >> Currently when using "W=1" with UML builds, there are over 700 warnings >> like so: >> >> CC arch/um/drivers/stderr_console.o >> cc1: warning: ./arch/um/include/uapi: No such file or

Re: [PATCH] m68k: Remove unneeded semicolon

2021-04-15 Thread Geert Uytterhoeven
On Thu, Apr 15, 2021 at 5:15 AM Wan Jiabing wrote: > Fix the following coccicheck warning: > > ./arch/m68k/include/asm/sun3xflop.h:109:2-3: Unneeded semicolon > > Signed-off-by: Wan Jiabing Reviewed-by: Geert Uytterhoeven i.e. will queue in the m68k for-v5.14 branch. Gr{oetje,eeting}s,

[PATCH] selftests: xfrm: put cleanup code into a exit trap

2021-04-15 Thread Po-Hsu Lin
If the xfrm_policy.sh script takes longer than the default kselftest framework 45 seconds timeout to run, it will be terminated and thus leave those netns namespace files created by the test alone. In this case a second attempt will fail with: # Cannot create namespace file "/run/netns/ns1":

Re: [PATCH bpf-next v3 3/6] bpf: Add a bpf_snprintf helper

2021-04-15 Thread Geert Uytterhoeven
Hi Andrii, On Thu, Apr 15, 2021 at 12:58 AM Andrii Nakryiko wrote: > On Wed, Apr 14, 2021 at 11:30 AM Florent Revest wrote: > > On Wed, Apr 14, 2021 at 8:02 PM Geert Uytterhoeven > > wrote: > > > On Wed, Apr 14, 2021 at 9:41 AM Andrii Nakryiko > > > wrote: > > > > On Mon, Apr 12, 2021 at

Re: [PATCH 1/1] s390/pci: expose a PCI device's UID as its index

2021-04-15 Thread Niklas Schnelle
On Wed, 2021-04-14 at 15:17 -0500, Bjorn Helgaas wrote: > On Mon, Apr 12, 2021 at 03:59:05PM +0200, Niklas Schnelle wrote: > > On s390 each PCI device has a user-defined ID (UID) exposed under > > /sys/bus/pci/devices//uid. This ID was designed to serve as the PCI > > device's primary index and to

Re: [PATCH] objtool: prevent memory leak in error paths

2021-04-15 Thread Peter Zijlstra
On Wed, Apr 14, 2021 at 11:47:09AM +0300, Dan Carpenter wrote: > On Wed, Apr 14, 2021 at 01:45:11AM +0500, Muhammad Usama Anjum wrote: > > Memory allocated by sym and sym->name isn't being freed if some error > > occurs in elf_create_undef_symbol(). Free the sym and sym->name if error > > is

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Viresh Kumar
On 15-04-21, 09:21, Wolfram Sang wrote: > > > I didn't forget this. It is a very small change. I'm not sure if the > > maintainer Wolfram > > > > has any comments so that I can address them together in one version. > > Noted. I'll have a look in the next days. Now that we were able to catch

[PATCH 1/1] dt-bindings: serial: Add label property for pl011

2021-04-15 Thread Zhen Lei
When there is more than one pl011 serial port present, the label property allows a custom name to be used for briefly describe the usage or position of each serial port. Without this "label" property, many dtbs_check warnings similar to the following are reported:

[PATCH] riscv: atomic: Using ARCH_ATOMIC in asm/atomic.h

2021-04-15 Thread guoren
From: Guo Ren The linux/atomic-arch-fallback.h has been there for a while, but only x86 & arm64 support it. Let's make riscv follow the linux/arch/* development trendy and make the codes more readable and maintainable. This patch also cleanup some codes: - Add atomic_andnot_* operation -

Re: [PATCH 09/13] Samples: Rust examples

2021-04-15 Thread Nick Desaulniers
On Thu, Apr 15, 2021 at 12:10 AM Greg Kroah-Hartman wrote: > > On Wed, Apr 14, 2021 at 04:24:45PM -0700, Nick Desaulniers wrote: > > On Wed, Apr 14, 2021 at 12:35 PM Linus Torvalds > > wrote: > > > > > > On Wed, Apr 14, 2021 at 11:47 AM wrote: > > > > > > > > From: Miguel Ojeda > > > > > > > >

Re: [PATCH 2/2] tools: do not include scripts/Kbuild.include

2021-04-15 Thread Paolo Bonzini
On 15/04/21 09:27, Masahiro Yamada wrote: Since commit d9f4ff50d2aa ("kbuild: spilt cc-option and friends to scripts/Makefile.compiler"), some kselftests fail to build. The tools/ directory opted out Kbuild, and went in a different direction. They copy any kind of files to the tools/ directory

Re: [PATCH v4 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-04-15 Thread Kevin Tang
Maxime Ripard 于2021年3月24日周三 下午7:10写道: > > Hi, > > On Mon, Feb 22, 2021 at 09:28:20PM +0800, Kevin Tang wrote: > > Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. > > It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. > > > > Cc: Orson Zhai > >

Re: [PATCH v4 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2021-04-15 Thread Kevin Tang
Maxime Ripard 于2021年4月7日周三 下午6:48写道: > > On Wed, Mar 31, 2021 at 09:47:12AM +0800, Kevin Tang wrote: > > > > diff --git a/drivers/gpu/drm/sprd/Makefile > > > b/drivers/gpu/drm/sprd/Makefile > > > > index 6c25bfa99..d49f4977b 100644 > > > > --- a/drivers/gpu/drm/sprd/Makefile > > > > +++

Re: [PATCH v2 00/16] Multigenerational LRU Framework

2021-04-15 Thread Huang, Ying
Yu Zhao writes: > On Wed, Apr 14, 2021 at 9:00 PM Andi Kleen wrote: >> >> > We fall back to the rmap when it's obviously not smart to do so. There >> > is still a lot of room for improvement in this function though, i.e., >> > it should be per VMA and NUMA aware. >> >> Okay so it's more a

Re: [PATCH] [v4] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe

2021-04-15 Thread quanyang.wang
On 4/15/21 3:46 PM, Dinghao Liu wrote: There is a PM usage counter decrement after zynqmp_qspi_init_hw() without any refcount increment, which leads to refcount leak.Add a refcount increment to balance the refcount. Also set auto_runtime_pm to resume suspended spi controller. Fixes:

Re: [Resend RFC PATCH V2 04/12] HV: Add Write/Read MSR registers via ghcb

2021-04-15 Thread Tianyu Lan
On 4/14/2021 11:41 PM, Christoph Hellwig wrote: +EXPORT_SYMBOL_GPL(hv_ghcb_msr_write); Just curious, who is going to use all these exports? These seems like extremely low-level functionality. Isn't there a way to build a more useful higher level API? Yes, will remove it.

Re: [PATCH v3 2/2] riscv: Cleanup KASAN_VMALLOC support

2021-04-15 Thread Palmer Dabbelt
On Tue, 30 Mar 2021 02:47:30 PDT (-0700), ge...@linux-m68k.org wrote: Hi Palmer, On Tue, Mar 30, 2021 at 7:08 AM Palmer Dabbelt wrote: On Sat, 13 Mar 2021 00:45:05 PST (-0800), a...@ghiti.fr wrote: > When KASAN vmalloc region is populated, there is no userspace process and > the page table in

Re: [PATCH v7 3/3] Input: add driver for the Hycon HY46XX touchpanel series

2021-04-15 Thread Peter Hutterer
On Wed, Apr 14, 2021 at 10:26:13AM -0700, Dmitry Torokhov wrote: > Hi Giulio, Peter, > > On Wed, Apr 14, 2021 at 01:22:55PM +0200, Giulio Benetti wrote: > > Hi Peter, Dmitry, > > > > On 4/14/21 8:46 AM, Peter Hutterer wrote: > > > On Tue, Apr 13, 2021 at 10:44:07PM -0700, Dmitry Torokhov wrote:

Re: Linux 5.10.30

2021-04-15 Thread Samuel Zou
On 2021/4/14 14:54, Greg Kroah-Hartman wrote: I'm announcing the release of the 5.10.30 kernel. All users of the 5.10 kernel series must upgrade. The updated 5.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y and can

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Jie Deng
On 2021/4/15 14:45, Viresh Kumar wrote: On 23-03-21, 10:27, Arnd Bergmann wrote: I usually recommend the use of __maybe_unused for the suspend/resume callbacks for drivers that use SIMPLE_DEV_PM_OPS() or similar helpers that hide the exact conditions under which the functions get called. In

[GIT PULL] memory: Second pull for v5.13

2021-04-15 Thread Krzysztof Kozlowski
Hi, On top of previous pull request - few remaining minor fixes. Best regards, Krzysztof The following changes since commit 25dcca7fedcd4e31cb368ad846bfd738c0c6307c: memory: pl353: fix mask of ECC page_size config register (2021-04-05 16:15:58 +0200) are available in the Git repository

Re: [PATCH 55/57] staging: comedi: drivers: ni_mio_common: Move 'range_ni_E_ao_ext' to where it is used

2021-04-15 Thread Uwe Kleine-König
Hello Lee, nitpick: You move range_ni_E_ao_ext to the header. However that header doesn't use range_ni_E_ao_ext, so the subject is technically wrong. On Wed, Apr 14, 2021 at 07:11:27PM +0100, Lee Jones wrote: > ... and mark it as __maybe_unused since not all users of the > header file reference

Re: [External] Re: [PATCH 4/7] mm: memcontrol: simplify lruvec_holds_page_lru_lock

2021-04-15 Thread Michal Hocko
On Wed 14-04-21 13:49:56, Johannes Weiner wrote: > On Wed, Apr 14, 2021 at 06:00:42PM +0800, Muchun Song wrote: > > On Wed, Apr 14, 2021 at 5:44 PM Michal Hocko wrote: > > > > > > On Tue 13-04-21 14:51:50, Muchun Song wrote: > > > > We already have a helper lruvec_memcg() to get the memcg from

Re: [PATCH v3 01/12] iommu: Introduce dirty log tracking framework

2021-04-15 Thread Lu Baolu
On 4/15/21 2:18 PM, Keqian Zhu wrote: Hi Baolu, Thanks for the review! On 2021/4/14 15:00, Lu Baolu wrote: Hi Keqian, On 4/13/21 4:54 PM, Keqian Zhu wrote: Some types of IOMMU are capable of tracking DMA dirty log, such as ARM SMMU with HTTU or Intel IOMMU with SLADE. This introduces the

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Viresh Kumar
On 15-04-21, 09:28, Wolfram Sang wrote: > > > Now that we were able to catch you, I will use the opportunity to > > clarify the doubts I had. > > > > - struct mutex lock in struct virtio_i2c, I don't think this is > > required since the core takes care of locking in absence of this. > > This

Re: [PATCH 1/2] x86/events/amd/iommu: Fix sysfs type mismatch

2021-04-15 Thread Christoph Hellwig
On Wed, Apr 14, 2021 at 05:11:11PM -0700, Nathan Chancellor wrote: > dev_attr_show() calls _iommu_event_show() via an indirect call but > _iommu_event_show()'s type does not currently match the type of the > show() member in 'struct device_attribute', resulting in a Control Flow > Integrity

Re: [PATCH 3/3] vDPA/ifcvf: get_config_size should return dev specific config size

2021-04-15 Thread Jason Wang
在 2021/4/15 下午4:12, Stefano Garzarella 写道: On Wed, Apr 14, 2021 at 05:18:32PM +0800, Zhu Lingshan wrote: get_config_size() should return the size based on the decected device type. Signed-off-by: Zhu Lingshan --- drivers/vdpa/ifcvf/ifcvf_main.c | 11 ++- 1 file changed, 10

Re: [PATCH v4 08/13] mm/mempolicy: Create a page allocator for policy

2021-04-15 Thread Feng Tang
On Wed, Apr 14, 2021 at 03:08:19PM +0200, Michal Hocko wrote: > On Wed 17-03-21 11:40:05, Feng Tang wrote: > > From: Ben Widawsky > > > > Add a helper function which takes care of handling multiple preferred > > nodes. It will be called by future patches that need to handle this, > >

Re: [PATCH v3 1/5] dt-bindings: media: max9286: Define 'maxim,gpio-poc'

2021-04-15 Thread Jacopo Mondi
Hi Laurent, On Thu, Apr 15, 2021 at 02:47:12AM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Wed, Apr 14, 2021 at 03:51:24PM +0200, Jacopo Mondi wrote: > > Define a new vendor property in the maxim,max9286 binding schema. > > > > The new property allows to

Re: [PATCH] uml: fix W=1 missing-include-dirs warnings

2021-04-15 Thread Masahiro Yamada
On Thu, Apr 15, 2021 at 4:27 AM Randy Dunlap wrote: > > Currently when using "W=1" with UML builds, there are over 700 warnings > like so: > > CC arch/um/drivers/stderr_console.o > cc1: warning: ./arch/um/include/uapi: No such file or directory > [-Wmissing-include-dirs] > > but arch/um/

Re: [RFC v2 PATCH 6/7] dmaengine: xilinx_dma: Use tasklet_hi_schedule for timing critical usecase

2021-04-15 Thread Lars-Peter Clausen
On 4/9/21 7:56 PM, Radhey Shyam Pandey wrote: Schedule tasklet with high priority to ensure that callback processing is prioritized. It improves throughput for netdev dma clients. Do you have specific numbers on the throughput improvement?

Re: [PATCH 09/13] Samples: Rust examples

2021-04-15 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 04:24:45PM -0700, Nick Desaulniers wrote: > On Wed, Apr 14, 2021 at 12:35 PM Linus Torvalds > wrote: > > > > On Wed, Apr 14, 2021 at 11:47 AM wrote: > > > > > > From: Miguel Ojeda > > > > > > A set of Rust modules that showcase how Rust modules look like > > > and how to

Re: [PATCH v2 5/6] kunit: mptcp: adhear to KUNIT formatting standard

2021-04-15 Thread Matthieu Baerts
Hi David, Thank you for your very clear reply! On 15/04/2021 08:01, David Gow wrote: On Wed, Apr 14, 2021 at 5:25 PM Matthieu Baerts wrote: Up to the KUnit maintainers to decide ;-) To summarise my view: personally, I'd prefer things the way this patch works: have everything end in

Re: High kmalloc-32 slab cache consumption with 10k containers

2021-04-15 Thread Bharata B Rao
On Thu, Apr 15, 2021 at 08:54:43AM +0200, Michal Hocko wrote: > On Thu 15-04-21 10:53:00, Bharata B Rao wrote: > > On Wed, Apr 07, 2021 at 08:28:07AM +1000, Dave Chinner wrote: > > > > > > Another approach may be to identify filesystem types that do not > > > need memcg awareness and feed that

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Wolfram Sang
> I didn't forget this. It is a very small change. I'm not sure if the > maintainer Wolfram > > has any comments so that I can address them together in one version. Noted. I'll have a look in the next days. signature.asc Description: PGP signature

Re: [RFC v2 PATCH 7/7] dmaengine: xilinx_dma: Program interrupt delay timeout

2021-04-15 Thread Lars-Peter Clausen
On 4/9/21 7:56 PM, Radhey Shyam Pandey wrote: Program IRQDelay for AXI DMA. The interrupt timeout mechanism causes the DMA engine to generate an interrupt after the delay time period has expired. It enables dmaengine to respond in real-time even though interrupt coalescing is configured. It also

[PATCH] [v3] clk: renesas: rcar-usb2-clock-sel: Fix error handling in rcar_usb2_clock_sel_probe

2021-04-15 Thread Dinghao Liu
The error handling paths after pm_runtime_get_sync() has no refcount decrement, which leads to refcount leak. Signed-off-by: Dinghao Liu --- Changelog: v2: - Move the position of pm_runtime_enable,_get_sync(). Use devm_clk_register() to simplify error handling. v2: - Use

Re: [PATCH v2] serial: omap: fix rs485 half-duplex filtering

2021-04-15 Thread Greg Kroah-Hartman
On Sun, Apr 11, 2021 at 11:38:55AM +0200, Dario Binacchi wrote: > Data received during half-duplex transmission must be filtered. > If the target device responds quickly, emptying the FIFO at the end of > the transmission can erase not only the echo characters but also part of > the response

Re: [Resend RFC PATCH V2 03/12] x86/Hyper-V: Add new hvcall guest address host visibility support

2021-04-15 Thread Tianyu Lan
Hi Christoph: Thanks for your review. On 4/14/2021 11:40 PM, Christoph Hellwig wrote: +/* + * hv_set_mem_host_visibility - Set host visibility for specified memory. + */ I don't think this comment really clarifies anything over the function name. What is 'host visibility' OK. Will

Re: [PATCH] serial: omap: don't disable rs485 if rts gpio is missing

2021-04-15 Thread Greg Kroah-Hartman
On Sun, Apr 11, 2021 at 10:57:43AM +0200, Dario Binacchi wrote: > There are rs485 transceivers (e.g. MAX13487E/MAX13488E) which > automatically disable or enable the driver and receiver to keep the bus > in the correct state. > In these cases we don't need a GPIO for flow control. > >

Re: [PATCH] Documentation/submitting-patches: Document RESEND tag on patches

2021-04-15 Thread Borislav Petkov
On Tue, Apr 13, 2021 at 03:02:21PM -0600, Jonathan Corbet wrote: > For future installments, could you send them in their own thread as an > ordinary patch so I don't need to edit in the changelog after applying > them? Ok, sure but I might not need to anymore because, AFAICT, what is left is

Re: [PATCH v3 2/4] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC

2021-04-15 Thread Krzysztof Kozlowski
On 15/04/2021 06:05, dillon.min...@gmail.com wrote: > From: dillon min > > The DaSheng Com-9xx is and ARM based signle board computer (SBC) > featuring: > - i.MX6Q > - 2GiB LPDDR3 DRAM > - 8GiB eMMC 5.0 FLASH > - 4MiB SPI Flash > - USB 2.0 Host/Device > - Multiple multi-protocol RS232/RS485

Re: [PATCH v3 1/5] dt-bindings: media: max9286: Define 'maxim,gpio-poc'

2021-04-15 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Apr 15, 2021 at 8:53 AM Jacopo Mondi wrote: > On Thu, Apr 15, 2021 at 02:47:12AM +0300, Laurent Pinchart wrote: > > On Wed, Apr 14, 2021 at 03:51:24PM +0200, Jacopo Mondi wrote: > > > Define a new vendor property in the maxim,max9286 binding schema. > > > > > > The new

[PATCH][resend] perf x86 kvm-stat: support to analyze kvm msr

2021-04-15 Thread Li RongQing
From: Lei Zhao usage: - kvm stat run a command and gather performance counter statistics - show the result: perf kvm stat report --event=msr See the msr events: Analyze events for all VMs, all VCPUs: MSR Access Samples Samples% Time% Min Time Max Time Avg time

Re: [PATCH 1/5] KVM: arm64: Divorce the perf code from oprofile helpers

2021-04-15 Thread Keqian Zhu
Hi Marc, On 2021/4/14 21:44, Marc Zyngier wrote: > KVM/arm64 is the sole user of perf_num_counters(), and really > could do without it. Stop using the obsolete API by relying on > the existing probing code. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/kvm/perf.c | 7 +-- >

Re: [PATCH v3 4/5] arm64: dts: renesas: eagle: Add GMSL .dtsi

2021-04-15 Thread Jacopo Mondi
Hi Laurent, On Thu, Apr 15, 2021 at 02:53:17AM +0300, Laurent Pinchart wrote: > Hi Jacopo and Kieran, > > Thank you for the patch. > > On Wed, Apr 14, 2021 at 03:51:27PM +0200, Jacopo Mondi wrote: > > From: Kieran Bingham > > > > Describe the FAKRA connector available on Eagle board that allows

[PATCH v3] kconfig: nconf: stop endless search loops

2021-04-15 Thread Mihai Moldovan
If the user selects the very first entry in a page and performs a search-up operation, or selects the very last entry in a page and performs a search-down operation that will not succeed (e.g., via [/]asdfzzz[Up Arrow]), nconf will never terminate searching the page. The reason is that in this

Re: [PATCH] [v3] spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe

2021-04-15 Thread quanyang.wang
Hi Dinghao, On 4/15/21 3:17 PM, Dinghao Liu wrote: There is a PM usage counter decrement after zynqmp_qspi_init_hw() without any refcount increment, which leads to refcount leak.Add a refcount increment to balance the refcount. Also set auto_runtime_pm to resume suspended spi controller.

Re: [Outreachy kernel] [PATCH v4] staging: rtl8723bs: Remove led_blink_hdl() and everything related

2021-04-15 Thread Greg Kroah-Hartman
On Thu, Apr 15, 2021 at 09:17:31AM +0200, Fabio M. De Francesco wrote: > Removed useless led_blink_hdl() prototype and definition. > Removed struct LedBlink_param. Removed LedBlink entries in > rtw_cmd_callback[] and in wlancmds[]. Everything related to LedBlink is > not anymore needed. Index of

[PATCH 1/2] kbuild: remove TMPO from try-run

2021-04-15 Thread Masahiro Yamada
TMPO is only used by arch/x86/Makefile. Change arch/x86/Makefile to use $$TMPO.o and remove TMPO from scripts/Makefile.compiler. Signed-off-by: Masahiro Yamada --- arch/x86/Makefile | 4 ++-- scripts/Makefile.compiler | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Wolfram Sang
> Now that we were able to catch you, I will use the opportunity to > clarify the doubts I had. > > - struct mutex lock in struct virtio_i2c, I don't think this is > required since the core takes care of locking in absence of this. This is likely correct. > - Use of I2C_CLASS_DEPRECATED

Re: [PATCH 2/2] tools: do not include scripts/Kbuild.include

2021-04-15 Thread Christian Borntraeger
On 15.04.21 09:27, Masahiro Yamada wrote: Since commit d9f4ff50d2aa ("kbuild: spilt cc-option and friends to scripts/Makefile.compiler"), some kselftests fail to build. The tools/ directory opted out Kbuild, and went in a different direction. They copy any kind of files to the tools/

Re: [PATCH 15/57] staging: rtl8723bs: core: rtw_security: Demote non-conformant kernel-doc header

2021-04-15 Thread Fabio Aiuto
On Wed, Apr 14, 2021 at 07:10:47PM +0100, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > from drivers/staging/rtl8188eu/core/rtw_security.c:10: > drivers/staging/rtl8188eu/core/rtw_security.c:478: warning: Function > parameter or member 'p1k' not described in 'phase1'

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Wolfram Sang
On Thu, Apr 15, 2021 at 04:15:07PM +0800, Jie Deng wrote: > On 2021/4/15 15:28, Wolfram Sang wrote: > > > > Now that we were able to catch you, I will use the opportunity to > > > clarify the doubts I had. > > > > > > - struct mutex lock in struct virtio_i2c, I don't think this is > > >

Re: [PATCH] i2c: I2C_HISI should depend on ARCH_HISI && ACPI

2021-04-15 Thread Yicong Yang
On 2021/4/15 2:06, Geert Uytterhoeven wrote: > Hi Yicong, > > On Wed, Apr 14, 2021 at 11:24 AM Yicong Yang wrote: >> On 2021/4/13 20:26, Geert Uytterhoeven wrote: >>> The HiSilicon Kunpeng I2C controller is only present on HiSilicon >>> Kunpeng SoCs, and its driver relies on ACPI to probe for

[PATCH v3 0/2] Fix binfmt_flat loader for RISC-V

2021-04-15 Thread Damien Le Moal
RISC-V NOMMU flat binaries cannot tolerate a gap between the text and data section as the toolchain fully resolves at compile time the PC relative global pointer (__global_pointer$ value loaded in gp register). Without a relocation entry provided, the flat bin loader cannot fix the value if a gap

[PATCH v3 1/2] binfmt_flat: allow not offsetting data start

2021-04-15 Thread Damien Le Moal
Commit 2217b9826246 ("binfmt_flat: revert "binfmt_flat: don't offset the data start"") restored offsetting the start of the data section by a number of words defined by MAX_SHARED_LIBS. As a result, since MAX_SHARED_LIBS is never 0, a gap between the text and data sections always exists. For

[PATCH v3 2/2] riscv: Disable text-data gap in flat binaries

2021-04-15 Thread Damien Le Moal
uclibc/gcc combined with elf2flt riscv linker file fully resolve the PC relative __global_pointer$ value at compile time and do not generate a relocation entry to set a runtime gp value. As a result, if the flatbin loader introduces a gap between the text and data sections, the gp value becomes

Re: [PATCH v2 0/2] Fix binfmt_flat loader for RISC-V

2021-04-15 Thread Damien Le Moal
On 2021/04/15 14:56, Christoph Hellwig wrote: > binfmt_flat tends to go through Greg's uclinux tree, adding him and > the list. Thanks Christoph. I resent the series adding Gerg and uclinux-dev. MAINTAINERS file needs an update may be ? > > On Wed, Apr 14, 2021 at 10:46:36PM -0700, Palmer

Re: High kmalloc-32 slab cache consumption with 10k containers

2021-04-15 Thread Michal Hocko
On Thu 15-04-21 10:53:00, Bharata B Rao wrote: > On Wed, Apr 07, 2021 at 08:28:07AM +1000, Dave Chinner wrote: > > > > Another approach may be to identify filesystem types that do not > > need memcg awareness and feed that into alloc_super() to set/clear > > the SHRINKER_MEMCG_AWARE flag. This

Re: [PATCH][next] habanalabs/gaudi: Fix uninitialized return code rc when read size is zero

2021-04-15 Thread Greg Kroah-Hartman
On Thu, Apr 15, 2021 at 10:08:26AM +0300, Oded Gabbay wrote: > On Mon, Apr 12, 2021 at 9:41 PM Arnd Bergmann wrote: > > > > On Mon, Apr 12, 2021 at 6:11 PM Colin King wrote: > > > > > > From: Colin Ian King > > > > > > In the case where size is zero the while loop never assigns rc and the > > >

[PATCH 2/2] tools: do not include scripts/Kbuild.include

2021-04-15 Thread Masahiro Yamada
Since commit d9f4ff50d2aa ("kbuild: spilt cc-option and friends to scripts/Makefile.compiler"), some kselftests fail to build. The tools/ directory opted out Kbuild, and went in a different direction. They copy any kind of files to the tools/ directory in order to do whatever they want to do in

Re: [Outreachy kernel] [PATCH v4] staging: rtl8723bs: Remove led_blink_hdl() and everything related

2021-04-15 Thread Fabio M. De Francesco
On Thursday, April 15, 2021 9:28:46 AM CEST Greg Kroah-Hartman wrote: > On Thu, Apr 15, 2021 at 09:17:31AM +0200, Fabio M. De Francesco wrote: > > Removed useless led_blink_hdl() prototype and definition. > > Removed struct LedBlink_param. Removed LedBlink entries in > > rtw_cmd_callback[] and in

Re: [PATCH v2 4/6] phy: phy-can-transceiver: Add support for generic CAN transceiver driver

2021-04-15 Thread kernel test robot
-next.git testing config: arm64-randconfig-r012-20210415 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6a18cc23efad410db48a3ccfc233d215de7d4cb9) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: [RFC][PATCH] locking: Generic ticket-lock

2021-04-15 Thread Peter Zijlstra
On Thu, Apr 15, 2021 at 05:47:34AM +0900, Stafford Horne wrote: > > How's this then? Compile tested only on openrisc/simple_smp_defconfig. > > I did my testing with this FPGA build SoC: > > https://github.com/stffrdhrn/de0_nano-multicore > > Note, the CPU timer sync logic uses mb() and is a

[GIT PULL] interconnect changes for 5.13

2021-04-15 Thread Georgi Djakov
Hello Greg, This is the pull request with the interconnect changes for the 5.13-rc1 merge window. These include two new drivers. Patches have been in linux-next without any reported issues. Please pull into char-misc-next. Thanks, Georgi The following changes since commit

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Jie Deng
On 2021/4/15 15:28, Wolfram Sang wrote: Now that we were able to catch you, I will use the opportunity to clarify the doubts I had. - struct mutex lock in struct virtio_i2c, I don't think this is required since the core takes care of locking in absence of this. This is likely correct.

Re: [PATCH 2/3] vDPA/ifcvf: enable Intel C5000X-PL virtio-block for vDPA

2021-04-15 Thread Jason Wang
在 2021/4/15 下午1:55, Zhu Lingshan 写道: On 4/15/2021 11:34 AM, Jason Wang wrote: 在 2021/4/14 下午5:18, Zhu Lingshan 写道: This commit enabled Intel FPGA SmartNIC C5000X-PL virtio-block for vDPA. Signed-off-by: Zhu Lingshan ---   drivers/vdpa/ifcvf/ifcvf_base.h | 17 -  

Re: [PATCH v2 2/2] iommu/sva: Remove mm parameter from SVA bind API

2021-04-15 Thread Christoph Hellwig
> * > * Returns 0 on success and < 0 on error. > @@ -28,6 +28,9 @@ int iommu_sva_alloc_pasid(struct mm_struct *mm, ioasid_t > min, ioasid_t max) > int ret = 0; > ioasid_t pasid; > > + if (mm != current->mm) > + return -EINVAL; > + Why not remove the parameter

Re: [PATCH] uml: fix W=1 missing-include-dirs warnings

2021-04-15 Thread Masahiro Yamada
On Thu, Apr 15, 2021 at 4:02 PM Randy Dunlap wrote: > > On 4/14/21 11:52 PM, Masahiro Yamada wrote: > > On Thu, Apr 15, 2021 at 4:27 AM Randy Dunlap wrote: > >> > >> Currently when using "W=1" with UML builds, there are over 700 warnings > >> like so: > >> > >> CC

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-04-15 Thread Viresh Kumar
On 15-04-21, 14:56, Jie Deng wrote: > > On 2021/4/15 14:45, Viresh Kumar wrote: > > On 23-03-21, 10:27, Arnd Bergmann wrote: > > > I usually recommend the use of __maybe_unused for the suspend/resume > > > callbacks for drivers that use SIMPLE_DEV_PM_OPS() or similar helpers > > > that hide the

Fair Pay: Non-synesthesia is where it is at!

2021-04-15 Thread Ywe Cærlyn
After some thinkings on this, I think it is where it is at. I am trying a de-synesthesia version of 'god', Ko, on my primary channel. My secondary channels deals with the synesthesia remain, and humour videos related to Rhumba blip 800, or other things. The related OS could be: LXe - The

  1   2   3   4   5   6   7   8   9   10   >