Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-03-11 Thread Borislav Petkov
On Thu, Mar 11, 2021 at 04:15:37PM -0600, Babu Moger wrote: > My host is > # cat /etc/redhat-release > Red Hat Enterprise Linux release 8.3 (Ootpa) > # uname -r > 5.12.0-rc2+ Please upload host and guest .config. Thx. -- Regards/Gruss, Boris.

Re: [PATCH v26 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2021-03-11 Thread Ben Levinsky
Hi Mathieu -Original Message- From: Mathieu Poirier Date: Tuesday, March 9, 2021 at 8:53 AM To: Ben Levinsky Cc: "devicet...@vger.kernel.org" , "linux-remotep...@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-ker...@lists.infradead.org" , Michal Simek Subject: Re:

[RFC PATCH v2 03/11] PCI/P2PDMA: Attempt to set map_type if it has not been set

2021-03-11 Thread Logan Gunthorpe
Attempt to find the mapping type for P2PDMA pages on the first DMA map attempt if it has not been done ahead of time. Previously, the mapping type was expected to be calculated ahead of time, but if pages are to come from userspace then there's no way to ensure the path was checked ahead of time.

[RFC PATCH v2 11/11] nvme-pci: Convert to using dma_map_sg for p2pdma pages

2021-03-11 Thread Logan Gunthorpe
Convert to using dma_[un]map_sg() for PCI p2pdma pages. This should be equivalent, though support will be somewhat less (only dma-direct and dma-iommu are currently supported). Signed-off-by: Logan Gunthorpe --- drivers/nvme/host/pci.c | 27 +++ 1 file changed, 7

[RFC PATCH v2 01/11] PCI/P2PDMA: Pass gfp_mask flags to upstream_bridge_distance_warn()

2021-03-11 Thread Logan Gunthorpe
In order to call this function from a dma_map function, it must not sleep. The only reason it does sleep so to allocate the seqbuf to print which devices are within the ACS path. Switch the kmalloc call to use a passed in gfp_mask and don't print that message if the buffer fails to be allocated.

[RFC PATCH v2 06/11] dma-direct: Support PCI P2PDMA pages in dma-direct map_sg

2021-03-11 Thread Logan Gunthorpe
Add PCI P2PDMA support for dma_direct_map_sg() so that it can map PCI P2PDMA pages directly without a hack in the callers. This allows for heterogeneous SGLs that contain both P2PDMA and regular pages. SGL segments that contain PCI bus addresses are marked with sg_mark_pci_p2pdma() and are

[RFC PATCH v2 00/11] Add support to dma_map_sg for P2PDMA

2021-03-11 Thread Logan Gunthorpe
Hi, This is a rework of the first half of my RFC for doing P2PDMA in userspace with O_DIRECT[1]. The largest issue with that series was the gross way of flagging P2PDMA SGL segments. This RFC proposes a different approach, (suggested by Dan Williams[2]) which uses the third bit in the page_link

[RFC PATCH v2 09/11] block: Add BLK_STS_P2PDMA

2021-03-11 Thread Logan Gunthorpe
Create a specific error code for when P2PDMA pages are passed to a block devices that cannot map them (due to no IOMMU support or ACS protections). This makes request errors in these cases more informative of as to what caused the error. Signed-off-by: Logan Gunthorpe --- block/blk-core.c

[RFC PATCH v2 05/11] lib/scatterlist: Add flag for indicating P2PDMA segments in an SGL

2021-03-11 Thread Logan Gunthorpe
Make use of the third free LSB in scatterlist's page_link on 64bit systems. The extra bit will be used by dma_[un]map_sg() to determine when a given SGL segments dma_address points to a PCI bus address. dma_unmap_sg() will need to perform different cleanup when this is the case. Using this bit

[RFC PATCH v2 04/11] PCI/P2PDMA: Introduce pci_p2pdma_should_map_bus() and pci_p2pdma_bus_offset()

2021-03-11 Thread Logan Gunthorpe
Introduce pci_p2pdma_should_map_bus() which is meant to be called by DMA map functions to determine how to map a given p2pdma page. pci_p2pdma_bus_offset() is also added to allow callers to get the bus offset if they need to map the bus address. Signed-off-by: Logan Gunthorpe ---

[RFC PATCH v2 02/11] PCI/P2PDMA: Avoid pci_get_slot() which sleeps

2021-03-11 Thread Logan Gunthorpe
In order to use upstream_bridge_distance_warn() from a dma_map function, it must not sleep. However, pci_get_slot() takes the pci_bus_sem so it might sleep. In order to avoid this, try to get the host bridge's device from bus->self, and if that is not set just get the first element in the list.

[RFC PATCH v2 07/11] dma-mapping: Add flags to dma_map_ops to indicate PCI P2PDMA support

2021-03-11 Thread Logan Gunthorpe
Add a flags member to the dma_map_ops structure with one flag to indicate support for PCI P2PDMA. Also, add a helper to check if a device supports PCI P2PDMA. Signed-off-by: Logan Gunthorpe --- include/linux/dma-map-ops.h | 3 +++ include/linux/dma-mapping.h | 5 + kernel/dma/mapping.c

[RFC PATCH v2 10/11] nvme-pci: Check DMA ops when indicating support for PCI P2PDMA

2021-03-11 Thread Logan Gunthorpe
Introduce a supports_pci_p2pdma() operation in nvme_ctrl_ops to replace the fixed NVME_F_PCI_P2PDMA flag such that the dma_map_ops flags can be checked for PCI P2PDMA support. Signed-off-by: Logan Gunthorpe --- drivers/nvme/host/core.c | 3 ++- drivers/nvme/host/nvme.h | 2 +-

[RFC PATCH v2 08/11] iommu/dma: Support PCI P2PDMA pages in dma-iommu map_sg

2021-03-11 Thread Logan Gunthorpe
When a PCI P2PDMA page is seen, set the IOVA length of the segment to zero so that it is not mapped into the IOVA. Then, in finalise_sg(), apply the appropriate bus address to the segment. The IOVA is not created if the scatterlist only consists of P2PDMA pages. Similar to dma-direct, the

Re: Errant readings on LM81 with T2080 SoC

2021-03-11 Thread Chris Packham
On 12/03/21 10:34 am, Guenter Roeck wrote: > On 3/11/21 1:17 PM, Chris Packham wrote: >> On 11/03/21 9:18 pm, Wolfram Sang wrote: Bummer. What is really weird is that you see clock stretching under CPU load. Normally clock stretching is triggered by the device, not by the host.

Re: [PATCH v26 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2021-03-11 Thread Ben Levinsky
Hi Mathieu Thanks for the feedback. I responded inline -Original Message- From: Mathieu Poirier Date: Monday, March 8, 2021 at 11:00 AM To: Ben Levinsky Cc: "devicet...@vger.kernel.org" , "linux-remotep...@vger.kernel.org" , "linux-kernel@vger.kernel.org" ,

Re: [PATCH v2 1/6] media: v4l2-ioctl: Fix check_ext_ctrls

2021-03-11 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Thu, Mar 11, 2021 at 11:19:41PM +0100, Ricardo Ribalda wrote: > Drivers that do not use the ctrl-framework use this function instead. > > - Return error when handling of REQUEST_VAL. > - Do not check for multiple classes when getting the DEF_VAL. > >

Re: [PATCH v2 4/6] media: uvcvideo: set error_idx to count on EACCESS

2021-03-11 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Thu, Mar 11, 2021 at 11:19:44PM +0100, Ricardo Ribalda wrote: > According to the doc: > The, in hindsight quite poor, solution for that is to set error_idx to > count if the validation failed. > > Fixes v4l2-compliance: > Control ioctls (Input 0): >

[PATCH] dt-bindings: media: Convert video-mux to DT schema

2021-03-11 Thread Rob Herring
Now that we have the graph schema, convert the video-mux binding to DT schema. Cc: Sakari Ailus Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/media/video-mux.txt | 60

[PATCH] dt-bindings: i3c: Fix silvaco,i3c-master-v1 compatible string

2021-03-11 Thread Rob Herring
The example for the Silvaco I3C master doesn't match the schema's compatible string. Fix it. Cc: Miquel Raynal Cc: Conor Culhane Cc: Alexandre Belloni Cc: linux-...@lists.infradead.org Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 2 +- 1 file

Re: [PATCH v2 6/6] media: uvcvideo: Set a different name for the metadata entity

2021-03-11 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Thu, Mar 11, 2021 at 11:19:46PM +0100, Ricardo Ribalda wrote: > All the entities must have a unique name. > > Fixes v4l2-compliance: > Media Controller ioctls: > fail: v4l2-test-media.cpp(205): v2_entity_names_set.find(key) > !=

Re: [RFC PATCH 15/18] virt/mshv: get and set vp state ioctls

2021-03-11 Thread Nuno Das Neves
On 2/8/2021 11:48 AM, Michael Kelley wrote: > From: Nuno Das Neves Sent: Friday, > November 20, 2020 4:31 PM >> To: linux-hyp...@vger.kernel.org >> Cc: virtualizat...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; >> Michael Kelley >> ; virem...@linux.microsoft.com; Sunil

[PATCH v4] do_wait: make PIDTYPE_PID case O(1) instead of O(n)

2021-03-11 Thread Jim Newsome
do_wait is an internal function used to implement waitpid, waitid, wait4, etc. To handle the general case, it does an O(n) linear scan of the thread group's children and tracees. This patch adds a special-case when waiting on a pid to skip these scans and instead do an O(1) lookup. This improves

Re: [PATCH 0/6] rpmsg: enable the use of the rpmsg_char device for the Virtio backend

2021-03-11 Thread Bjorn Andersson
On Thu 11 Mar 08:04 CST 2021, Arnaud Pouliquen wrote: > This series is the first step in the division of the series: > "Introduce a generic IOCTL interface for RPMsg channels management"[1] > > The main goal here is to enable the RPMsg char interface for > the virtio RPMsg backend. > > In

[PATCH 2/2] kbuild: Enable DT undocumented compatible checks

2021-03-11 Thread Rob Herring
dt-validate has an option to warn on any compatible strings which don't match any schema. The option has recently been improved to fix false positives, so let's enable the option. This is useful for tracking compatibles which are undocumented or not yet converted to DT schema. Previously, the only

[PATCH 1/2] dt-bindings: Bump dtschema version required to v2021.2.1

2021-03-11 Thread Rob Herring
There's several dependencies in dtschema since v2020.8.1 we need, so let's bump the version required to v2021.2.1. Specifically, the graph.yaml schema and improved undocumented compatible check are needed. Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/Makefile | 2 +- 1 file

Re: [PATCH tip/core/rcu 07/10] rcu: Prevent dyntick-idle until ksoftirqd has been spawned

2021-03-11 Thread Paul E. McKenney
On Fri, Mar 12, 2021 at 12:23:57AM +0100, Frederic Weisbecker wrote: > On Wed, Mar 03, 2021 at 04:00:16PM -0800, paul...@kernel.org wrote: > > From: "Paul E. McKenney" > > > > After interrupts have enabled at boot but before some random point > > in early_initcall() processing, softirq

[PATCH][next] scsi: sg: return -ENOMEM on out of memory error

2021-03-11 Thread Colin King
From: Colin Ian King The sg_proc_seq_show_debug should return -ENOMEM on an out of memory error rather than -1. Fix this. Fixes: 94cda6cf2e44 ("scsi: sg: Rework debug info") Signed-off-by: Colin Ian King --- drivers/scsi/sg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 3/6] media: uvcvideo: Return -EIO for control errors

2021-03-11 Thread Laurent Pinchart
Hi Ricardo, On Thu, Mar 11, 2021 at 11:59:27PM +0100, Ricardo Ribalda Delgado wrote: > On Thu, Mar 11, 2021 at 11:53 PM Laurent Pinchart wrote: > > On Thu, Mar 11, 2021 at 11:19:43PM +0100, Ricardo Ribalda wrote: > > > The device is doing something unspected with the control. Either because > > >

Re: [PATCHv2 2/2] iommu/arm-smmu-qcom: Move the adreno smmu specific impl earlier

2021-03-11 Thread Bjorn Andersson
On Sat 27 Feb 07:53 CST 2021, Sai Prakash Ranjan wrote: > Hi Bjorn, > > On 2021-02-27 00:44, Bjorn Andersson wrote: > > On Fri 26 Feb 12:23 CST 2021, Rob Clark wrote: > > > > > > The current logic picks one of: > > 1) is the compatible mentioned in qcom_smmu_impl_of_match[] > > 2) is the

Re: [PATCH v2] mm/mmu_notifiers: Esnure range_end() is paired with range_start()

2021-03-11 Thread Jason Gunthorpe
On Thu, Mar 11, 2021 at 10:00:57AM -0800, Sean Christopherson wrote: > If one or more notifiers fails .invalidate_range_start(), invoke > .invalidate_range_end() for "all" notifiers. If there are multiple > notifiers, those that did not fail are expecting _start() and _end() to > be paired, e.g.

Re: [PATCH V11 0/5] dt: Add fdtoverlay rule and statically build unittest

2021-03-11 Thread Frank Rowand
On 3/9/21 11:35 PM, Viresh Kumar wrote: > Hi, > > This patchset adds a generic rule for applying overlays using fdtoverlay > tool and then updates unittests to get built statically using the same. > > V10->V11: > - Update patch 4/5 to fix checkpatch warning on spaces and tabs. > - Added Acked-by

Re: [PATCH] net/mlx5: use kvfree() for memory allocated with kvzalloc()

2021-03-11 Thread Saeed Mahameed
On Wed, 2021-03-03 at 09:54 +0200, Roi Dayan wrote: > > > On 2021-03-03 4:40 AM, angkery wrote: > > From: Junlin Yang > > > > It is allocated with kvzalloc(), the corresponding release function > > should not be kfree(), use kvfree() instead. > > > > Generated by:

Re: [PATCH v2 25/43] powerpc/32: Replace ASM exception exit by C exception exit from ppc64

2021-03-11 Thread Michael Ellerman
Christophe Leroy writes: > Le 11/03/2021 à 14:46, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> This patch replaces the PPC32 ASM exception exit by C exception exit. >>> >>> Signed-off-by: Christophe Leroy >>> --- >>> arch/powerpc/kernel/entry_32.S | 481

Re: [PATCH] net/mlx5: remove unneeded semicolon

2021-03-11 Thread Saeed Mahameed
On Wed, 2021-03-03 at 08:52 +, Parav Pandit wrote: > Hi Saeed, > > > From: Parav Pandit > > Sent: Monday, February 22, 2021 3:32 PM > > > > > > > From: Jiapeng Chong > > > Sent: Monday, February 22, 2021 3:27 PM > > > > > > Fix the following coccicheck warnings: > > > > > >

Re: [PATCH] arm64: dts: sc7280: Add qspi, qupv3_0 and qupv3_1 nodes

2021-03-11 Thread Bjorn Andersson
On Thu 11 Mar 15:54 CST 2021, Doug Anderson wrote: > Hi, > > On Wed, Mar 10, 2021 at 7:41 PM Roja Rani Yarubandi > wrote: > > > > +_cs0 { > > + pinconf { > > + pins = "gpio15"; > > + bias-disable; > > + }; > > The "pinconf" / "pinmux" subnode shouldn't

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH tip/core/rcu 07/10] rcu: Prevent dyntick-idle until ksoftirqd has been spawned

2021-03-11 Thread Frederic Weisbecker
On Wed, Mar 03, 2021 at 04:00:16PM -0800, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > After interrupts have enabled at boot but before some random point > in early_initcall() processing, softirq processing is unreliable. > If softirq sees a need to push softirq-handler invocation to

Re: [PATCH] tools/power/x86/turbostat: Fix TCC offset bit mask

2021-03-11 Thread Len Brown
Thanks for the close read, Doug. This field size actually varies from system to system, but the reality is that the offset is never that big, and so the smaller mask is sufficient. Finally, this may all be moot, because there is discussion that using the offset this way is simply erroneous.

Re: [PATCH v2] usb: dwc3: gadget: Prevent EP queuing while stopping transfers

2021-03-11 Thread Thinh Nguyen
Wesley Cheng wrote: > In the situations where the DWC3 gadget stops active transfers, once > calling the dwc3_gadget_giveback(), there is a chance where a function > driver can queue a new USB request in between the time where the dwc3 > lock has been released and re-aquired. This occurs after

[PATCH 4/4] KVM: x86/mmu: Factor out tdp_iter_return_to_root

2021-03-11 Thread Ben Gardon
In tdp_mmu_iter_cond_resched there is a call to tdp_iter_start which causes the iterator to continue its walk over the paging structure from the root. This is needed after a yield as paging structure could have been freed in the interim. The tdp_iter_start call is not very clear and something of

[PATCH 3/4] KVM: x86/mmu: Fix RCU usage when atomically zapping SPTEs

2021-03-11 Thread Ben Gardon
Fix a missing rcu_dereference in tdp_mmu_zap_spte_atomic. Reported-by: kernel test robot Signed-off-by: Ben Gardon --- arch/x86/kvm/mmu/tdp_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/mmu/tdp_mmu.c b/arch/x86/kvm/mmu/tdp_mmu.c index

[PATCH 2/4] KVM: x86/mmu: Fix RCU usage for tdp_iter_root_pt

2021-03-11 Thread Ben Gardon
The root page table in the TDP MMU paging structure is not protected with RCU, but rather by the root_count in the associated SP. As a result it is safe for tdp_iter_root_pt to simply return a u64 *. This sidesteps the complexities assoicated with propagating the __rcu annotation around.

[PATCH 1/4] KVM: x86/mmu: Fix RCU usage in handle_removed_tdp_mmu_page

2021-03-11 Thread Ben Gardon
The pt passed into handle_removed_tdp_mmu_page does not need RCU protection, as it is not at any risk of being freed by another thread at that point. However, the implicit cast from tdp_sptep_t to u64 * dropped the __rcu annotation without a proper rcu_derefrence. Fix this by passing the pt as a

[PATCH 0/4] Fix RCU warnings in TDP MMU

2021-03-11 Thread Ben Gardon
The Linux Test Robot found a few RCU warnings in the TDP MMU: https://www.spinics.net/lists/kernel/msg3845500.html https://www.spinics.net/lists/kernel/msg3845521.html Fix these warnings and cleanup a hack in tdp_mmu_iter_cond_resched. Tested by compiling as suggested in the test robot report

[PATCH v3 4/6] soc/tegra: Introduce core power domain driver

2021-03-11 Thread Dmitry Osipenko
NVIDIA Tegra SoCs have multiple power domains, each domain corresponds to an external SoC power rail. Core power domain covers vast majority of hardware blocks within a Tegra SoC. The voltage of a power domain should be set to a value which satisfies all devices within a power domain. Add driver

[PATCH v3 6/6] soc/tegra: pmc: Link children power domains to the parent domain

2021-03-11 Thread Dmitry Osipenko
The Core domain is a parent of PMC power domains, hence PMC domains should be set up as a sub-domains of the parent (Core) domain if "power-domains" phandle presents in a device-tree node of PMC domain. This allows to propagate GENPD performance changes to the parent Core domain if performance

[PATCH v3 2/6] soc/tegra: Add CONFIG_SOC_TEGRA_COMMON and select PM_OPP by default

2021-03-11 Thread Dmitry Osipenko
Add new Kconfig SOC_TEGRA_COMMON option which selects configuration options that are common for all Tegra SoCs. Select PM_OPP by default since from now on OPPs will be used by Tegra drivers which present on all SoC generations, like display controller driver for example. Tested-by: Peter Geis #

[PATCH v3 5/6] soc/tegra: regulators: Support Core domain state syncing

2021-03-11 Thread Dmitry Osipenko
The core voltage shall not drop until state of Core domain is synced, i.e. all device drivers that use Core domain are loaded and ready. Support Core domain state syncing. The Core domain driver invokes the core-regulator voltage syncing once the state of domain is synced, at this point the Core

[PATCH v3 3/6] dt-bindings: power: tegra: Add binding for core power domain

2021-03-11 Thread Dmitry Osipenko
All NVIDIA Tegra SoCs have a core power domain where majority of hardware blocks reside. Add binding for the core power domain. Signed-off-by: Dmitry Osipenko --- .../power/nvidia,tegra20-core-domain.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644

[PATCH v3 0/6] NVIDIA Tegra core power domain driver and OPP helper

2021-03-11 Thread Dmitry Osipenko
Hello, This series adds Core power domain driver for NVIDIA Tegra SoCs and a common OPP helper which initializes OPP table specifically for Tegra drivers. The patches depend on the ongoing series [1] which adds resource-managed OPP API. [1]

[PATCH v3 1/6] soc/tegra: Add devm_tegra_core_dev_init_opp_table()

2021-03-11 Thread Dmitry Osipenko
Add common helper which initializes OPP table for Tegra SoC core devices. Tested-by: Peter Geis # Ouya T30 Tested-by: Paul Fertser # PAZ00 T20 Tested-by: Nicolas Chauvet # PAZ00 T20 and TK1 T124 Tested-by: Matt Merhar # Ouya T30 Signed-off-by: Dmitry Osipenko --- drivers/soc/tegra/common.c

Re: [PATCH 0/9] qcom/sc7280: Enable various hardware blocks on SC7280 SoC

2021-03-11 Thread Bjorn Andersson
On Thu 25 Feb 03:30 CST 2021, Sai Prakash Ranjan wrote: > This series enables various hardware blocks such as LLCC, IPCC, AOSS QMP > and Coresight on SC7280 SoC. > > This series is dependent on the base support added for SC7280 in [1]. > I've picked some of these patches... It would be

Re: [PATCH net] net: lapbether: Prevent racing when checking whether the netif is running

2021-03-11 Thread Xie He
On Thu, Mar 11, 2021 at 2:52 PM Jakub Kicinski wrote: > > Normally driver's ndo_stop() calls netif_tx_disable() which takes TX > locks, so unless your driver is lockless (LLTX) there should be no xmit > calls after that point. Do you mean I should call "netif_tx_disable" inside my "ndo_stop"

[PATCH] MAINTAINERS: Add DT bindings directory to mailbox

2021-03-11 Thread Bjorn Andersson
DT bindings related to mailbox drivers are typically picked by the mailbox maintainer, so add the binding folder to the maintainers entry to make sure get_maintainer finds it. Signed-off-by: Bjorn Andersson --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS

[PATCH v2 2/2] afs: Stop listxattr() from listing "afs.*" attributes

2021-03-11 Thread David Howells
afs_listxattr() lists all the available special afs xattrs (i.e. those in the "afs.*" space), no matter what type of server we're dealing with. But OpenAFS servers, for example, cannot deal with some of the extra-capable attributes that AuriStor (YFS) servers provide. Unfortunately, the presence

[PATCH v2 1/2] afs: Fix accessing YFS xattrs on a non-YFS server

2021-03-11 Thread David Howells
If someone attempts to access YFS-related xattrs (e.g. afs.yfs.acl) on a file on a non-YFS AFS server (such as OpenAFS), then the kernel will jump to a NULL function pointer because the afs_fetch_acl_operation descriptor doesn't point to a function for issuing an operation on a non-YFS server[1].

[PATCH v2 0/2] AFS metadata xattr fixes

2021-03-11 Thread David Howells
Here's a pair of fixes for AFS. (1) Fix an oops in AFS that can be triggered by accessing one of the afs.yfs.* xattrs against a yfs server[1][2] - for instance by "cp -a" or "rsync -X". These try and copy all of the xattrs. They should pay attention to the list in

Re: [PATCH -next] ASoC: rt715-sdca: Remove unused including

2021-03-11 Thread bin 5alaf
م مب نقول ‫أُرسلت من الـ iPhone‬

Re: [PATCH v2 3/6] media: uvcvideo: Return -EIO for control errors

2021-03-11 Thread Ricardo Ribalda Delgado
Hi Laurent On Thu, Mar 11, 2021 at 11:53 PM Laurent Pinchart wrote: > > Hi Ricardo, > > Thank you for the patch. Thank you :) > > On Thu, Mar 11, 2021 at 11:19:43PM +0100, Ricardo Ribalda wrote: > > The device is doing something unspected with the control. Either because > > the protocol is not

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH v18 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-03-11 Thread Mike Kravetz
On 3/11/21 9:59 AM, Mike Kravetz wrote: > On 3/11/21 4:17 AM, Michal Hocko wrote: >>> Yeah per cpu preempt counting shouldn't be noticeable but I have to >>> confess I haven't benchmarked it. >> >> But all this seems moot now >>

Re: [RFC PATCH 18/18] ioasid: Add /dev/ioasid for userspace

2021-03-11 Thread Jacob Pan
Hi Jason, Thanks for the review. On Wed, 10 Mar 2021 15:23:01 -0400, Jason Gunthorpe wrote: > On Sat, Feb 27, 2021 at 02:01:26PM -0800, Jacob Pan wrote: > > > +/* IOCTLs for IOASID file descriptor (/dev/ioasid) */ > > + > > +/** > > + * IOASID_GET_API_VERSION -

Re: [PATCH net] net: lapbether: Prevent racing when checking whether the netif is running

2021-03-11 Thread Jakub Kicinski
On Thu, 11 Mar 2021 13:12:25 -0800 Xie He wrote: > On Thu, Mar 11, 2021 at 12:43 PM Jakub Kicinski wrote: > > > > Is this a theoretical issues or do you see a path where it triggers? > > > > Who are the callers sending frames to a device which went down? > > This is a theoretical issue. I

Re: [PATCH] net: mellanox: mlx5: fix error return code in mlx5_fpga_device_start()

2021-03-11 Thread Saeed Mahameed
On Sun, 2021-03-07 at 10:50 +0200, Leon Romanovsky wrote: > On Thu, Mar 04, 2021 at 06:18:14AM -0800, Jia-Ju Bai wrote: > > When mlx5_is_fpga_lookaside() returns a non-zero value, no error > > return code is assigned. > > To fix this bug, err is assigned with -EINVAL as error return code. > > > >

Re: [PATCH v2 3/6] media: uvcvideo: Return -EIO for control errors

2021-03-11 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Thu, Mar 11, 2021 at 11:19:43PM +0100, Ricardo Ribalda wrote: > The device is doing something unspected with the control. Either because > the protocol is not properly implemented or there has been a HW error. > > Fixes v4l2-compliance: > > Control

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH] net/mlx5e: allocate 'indirection_rqt' buffer dynamically

2021-03-11 Thread Saeed Mahameed
On Mon, 2021-03-08 at 18:28 +0200, Tariq Toukan wrote: > > > On 3/8/2021 5:32 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > Increasing the size of the indirection_rqt array from 128 to 256 > > bytes > > pushed the stack usage of the mlx5e_hairpin_fill_rqt_rqns() > > function > >

Re: [PATCH] net/mlx5e: include net/nexthop.h where needed

2021-03-11 Thread Saeed Mahameed
On Mon, 2021-03-08 at 20:23 +0200, Roi Dayan wrote: > > > On 2021-03-08 5:31 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:1510:12: > > error: implicit declaration of function 'fib_info_nh' [-Werror,- > >

Re: [PATCH v3 12/15] fpga: altera: use ARCH_INTEL_SOCFPGA also for 32-bit ARM SoCs

2021-03-11 Thread Moritz Fischer
Hi Krzysztof, On Thu, Mar 11, 2021 at 04:27:35PM +0100, Krzysztof Kozlowski wrote: > ARCH_SOCFPGA is being renamed to ARCH_INTEL_SOCFPGA so adjust the > 32-bit ARM drivers to rely on new symbol. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Moritz Fischer > --- > drivers/fpga/Kconfig | 6

Re: [PATCH] net: mellanox: mlx5: fix error return code of mlx5e_stats_flower()

2021-03-11 Thread Saeed Mahameed
On Tue, 2021-03-09 at 11:44 +0200, Roi Dayan wrote: > > > On 2021-03-09 10:32 AM, Jia-Ju Bai wrote: > > > > > > On 2021/3/9 16:24, Roi Dayan wrote: > > > > > > > > > On 2021-03-09 10:20 AM, Roi Dayan wrote: > > > > > > > > > > > > On 2021-03-06 3:47 PM, Jia-Ju Bai wrote: > > > > > When

Re: [PATCH v3 2/3] mm: disable LRU pagevec during the migration temporarily

2021-03-11 Thread Chris Goldsworthy
On 2021-03-10 08:14, Minchan Kim wrote: LRU pagevec holds refcount of pages until the pagevec are drained. It could prevent migration since the refcount of the page is greater than the expection in migration logic. To mitigate the issue, callers of migrate_pages drains LRU pagevec via

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH 1/4] dt-bindings: at25: add Fujitsu MB85RS4MT

2021-03-11 Thread Tim Harvey
'On Tue, Mar 9, 2021 at 9:34 PM wrote: > > On 3/10/21 12:59 AM, Michael Walle wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hi Tim, > > > > Am 2021-03-09 23:00, schrieb Tim Harvey: > >> Document the compatible value for the

Re: [PATCH v2] mm: huge_memory: a new debugfs interface for splitting THP tests.

2021-03-11 Thread Yang Shi
On Thu, Mar 11, 2021 at 7:52 AM Zi Yan wrote: > > On 10 Mar 2021, at 20:12, Yang Shi wrote: > > > On Wed, Mar 10, 2021 at 7:36 AM Zi Yan wrote: > >> > >> From: Zi Yan > >> > >> We do not have a direct user interface of splitting the compound page > >> backing a THP and there is no need unless

Re: [PATCH 2/2] dm verity: allow only one verify mode

2021-03-11 Thread Sami Tolvanen
On Thu, Mar 11, 2021 at 4:19 AM JeongHyeon Lee wrote: > > If there are multiple verity mode when parsing the verity mode of dm > verity table, it will be set as the last one. > So set to 'allow only once' to prevent it. I agree that we shouldn't allow this, at least not without a warning, but

[PATCH v2] usb: dwc3: gadget: Prevent EP queuing while stopping transfers

2021-03-11 Thread Wesley Cheng
In the situations where the DWC3 gadget stops active transfers, once calling the dwc3_gadget_giveback(), there is a chance where a function driver can queue a new USB request in between the time where the dwc3 lock has been released and re-aquired. This occurs after we've already issued an

[PATCH v5 1/2] dt-bindings: serial: Add rx-tx-swap to stm32-usart

2021-03-11 Thread Martin Devera
Add new rx-tx-swap property to allow for RX & TX pin swapping. Signed-off-by: Martin Devera Acked-by: Fabrice Gasnier --- .../devicetree/bindings/serial/st,stm32-uart.yaml | 29 ++ 1 file changed, 19 insertions(+), 10 deletions(-) diff --git

[PATCH v5 2/2] tty/serial: Add rx-tx-swap OF option to stm32-usart

2021-03-11 Thread Martin Devera
STM32 F7/H7 usarts supports RX & TX pin swapping. Add option to turn it on. Tested on STM32MP157. Signed-off-by: Martin Devera Acked-by: Fabrice Gasnier --- drivers/tty/serial/stm32-usart.c | 11 ++- drivers/tty/serial/stm32-usart.h | 4 2 files changed, 14 insertions(+), 1

drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c:361 mlx5e_ipsec_handle_tx_skb() error: uninitialized symbol 'mdata'.

2021-03-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 28806e4d9b97865b450d72156e9ad229f2067f0b commit: 5be019040cb7bab4caf152cacadffee91a78b506 net/mlx5e: IPsec: Add Connect-X IPsec Tx data path offload date: 5 months ago config: arc-randconfig-m031-20210311

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

[PATCH v11 2/2] ufs: sysfs: Resume the proper scsi device

2021-03-11 Thread Asutosh Das
Resumes the actual scsi device the unit descriptor of which is being accessed instead of the hba alone. Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufs-sysfs.c | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/ufs/ufs-sysfs.c

[PATCH v11 1/2] scsi: ufs: Enable power management for wlun

2021-03-11 Thread Asutosh Das
During runtime-suspend of ufs host, the scsi devices are already suspended and so are the queues associated with them. But the ufs host sends SSU to wlun during its runtime-suspend. During the process blk_queue_enter checks if the queue is not in suspended state. If so, it waits for the queue to

[PATCH v2 4/6] media: uvcvideo: set error_idx to count on EACCESS

2021-03-11 Thread Ricardo Ribalda
According to the doc: The, in hindsight quite poor, solution for that is to set error_idx to count if the validation failed. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(645): invalid error index write only control test

[PATCH v2 5/6] media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS

2021-03-11 Thread Ricardo Ribalda
Create all the class controls for the device defined controls. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(216): missing control class for class 0098 fail: v4l2-test-controls.cpp(216): missing control tclass for class

[PATCH v2 6/6] media: uvcvideo: Set a different name for the metadata entity

2021-03-11 Thread Ricardo Ribalda
All the entities must have a unique name. Fixes v4l2-compliance: Media Controller ioctls: fail: v4l2-test-media.cpp(205): v2_entity_names_set.find(key) != v2_entity_names_set.end() test MEDIA_IOC_G_TOPOLOGY: FAIL fail: v4l2-test-media.cpp(394):

[PATCH v2 3/6] media: uvcvideo: Return -EIO for control errors

2021-03-11 Thread Ricardo Ribalda
The device is doing something unspected with the control. Either because the protocol is not properly implemented or there has been a HW error. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(448): s_ctrl returned an error (22) test

[PATCH v2 2/6] media: uvcvideo: Set capability in s_param

2021-03-11 Thread Ricardo Ribalda
Fixes v4l2-compliance: Format ioctls (Input 0): warn: v4l2-test-formats.cpp(1339): S_PARM is supported but doesn't report V4L2_CAP_TIMEPERFRAME fail: v4l2-test-formats.cpp(1241): node->has_frmintervals && !cap->capability Reviewed-by: Laurent Pinchart

[PATCH v2 0/6] uvcvideo: Fix v4l2-compliance errors

2021-03-11 Thread Ricardo Ribalda
In my computer I am getting this output for v4l2-compliance -m /dev/media0 -a -f Total for uvcvideo device /dev/media0: 8, Succeeded: 6, Failed: 2, Warnings: 0 Total for uvcvideo device /dev/video0: 54, Succeeded: 50, Failed: 4, Warnings: 2 Total for uvcvideo device /dev/video1: 46, Succeeded:

[PATCH v2 1/6] media: v4l2-ioctl: Fix check_ext_ctrls

2021-03-11 Thread Ricardo Ribalda
Drivers that do not use the ctrl-framework use this function instead. - Return error when handling of REQUEST_VAL. - Do not check for multiple classes when getting the DEF_VAL. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(813): doioctl(node,

Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-03-11 Thread Babu Moger
On 3/11/21 4:04 PM, Babu Moger wrote: > > > On 3/11/21 3:40 PM, Borislav Petkov wrote: >> On Thu, Mar 11, 2021 at 02:57:04PM -0600, Babu Moger wrote: >>> It is related PCID and INVPCID combination. Few more details. >>> 1. System comes up fine with "noinvpid". So, it happens when invpcid is

Re: [PATCH 1/3] ASoC: simple-card-utils: Fix device module clock

2021-03-11 Thread Michael Walle
Am 2021-03-11 17:15, schrieb Mark Brown: On Wed, Mar 10, 2021 at 08:20:28PM +0530, Sameer Pujar wrote: If I read this correctly below is the configuration you need, SoC -> MCLK(fixed rate) -> PLL(wm8904) -> PLL output (256 * fs) -> sysclk For this device for integration with something like

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-03-11 Thread Babu Moger
On 3/11/21 3:40 PM, Borislav Petkov wrote: > On Thu, Mar 11, 2021 at 02:57:04PM -0600, Babu Moger wrote: >> It is related PCID and INVPCID combination. Few more details. >> 1. System comes up fine with "noinvpid". So, it happens when invpcid is >> enabled. > > Which system, host or guest? >

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH v3 2/2] hwmon: (pmbus/stpddc60) Add ST STPDDC60 pmbus driver

2021-03-11 Thread Guenter Roeck
On Thu, Feb 18, 2021 at 12:52:49PM +0100, Erik Rosen wrote: > Add hardware monitoring support for ST STPDDC60 Unversal Digital > Multicell Controller. > > Signed-off-by: Erik Rosen Applied but ... > --- a/drivers/hwmon/pmbus/Makefile > +++ b/drivers/hwmon/pmbus/Makefile > @@ -28,9 +28,11 @@

Re: [PATCH v2 2/4] arm64: dts: ti: k3: squelch warnings regarding no #address-cells for interrupt-controller

2021-03-11 Thread Nishanth Menon
Andre, Rob, On 16:38-20210126, Andre Przywara wrote: > > Now that I look back at the dtc change, I'm now confused why this > > check got applied. Both David and I wanted changes in regards to > > #address-cells. Either a separate check or part of interrupt-map checks. > > And the interrupt-map

Re: [PATCH v3 1/2] hwmon: (pmbus) Add pmbus_set_update() function to set update flag

2021-03-11 Thread Guenter Roeck
On Thu, Feb 18, 2021 at 12:52:48PM +0100, Erik Rosen wrote: > For the STPDDC60 chip, the vout alarm-limits are represented as an offset > relative to the commanded output voltage. This means that the limits are > dynamic and must not be cached by the pmbus driver. This patch adds a >

Re: [PATCH v1] mm, hwpoison: enable error handling on shmem thp

2021-03-11 Thread Hugh Dickins
On Thu, 11 Mar 2021, Jue Wang wrote: > On Thu, Mar 11, 2021 at 7:14 AM HORIGUCHI NAOYA(堀口 直也) > wrote: > > On Wed, Mar 10, 2021 at 11:22:18PM -0800, Hugh Dickins wrote: > > > > > > I'm not much into memory-failure myself, but Jue discovered that the > > > SIGBUS never arrives: because

<    1   2   3   4   5   6   7   8   9   10   >