Re: [PATCH v5 10/10] vfio/fsl-mc: Add support for device reset

2020-10-02 Thread Alex Williamson
On Tue, 29 Sep 2020 12:03:39 +0300 Diana Craciun wrote: > Currently only resetting the DPRC container is supported which > will reset all the objects inside it. Resetting individual > objects is possible from the userspace by issueing commands > towards MC firmware. > > Signed-off-by: Diana

Re: [RFC Patch 0/2] KVM: SVM: Cgroup support for SVM SEV ASIDs

2020-10-02 Thread Vipin Sharma
On Fri, Sep 25, 2020 at 03:22:20PM -0700, Vipin Sharma wrote: > On Thu, Sep 24, 2020 at 02:55:18PM -0500, Tom Lendacky wrote: > > On 9/24/20 2:21 PM, Sean Christopherson wrote: > > > On Tue, Sep 22, 2020 at 02:14:04PM -0700, Vipin Sharma wrote: > > > > On Mon, Sep 21, 2020 at 06:48:38PM -0700,

Re: Issue of metrics for multiple uncore PMUs (was Re: [RFC PATCH v2 23/23] perf metricgroup: remove duped metric group events)

2020-10-02 Thread Ian Rogers
On Fri, Oct 2, 2020 at 5:00 AM John Garry wrote: > > On 07/05/2020 15:08, Ian Rogers wrote: > > Hi Ian, > > I was wondering if you ever tested commit 2440689d62e9 ("perf > metricgroup: Remove duped metric group events") for when we have a > metric which aliases multiple instances of the same

Re: [PATCH 2/2] drm/bridge: ti-sn65dsi86: Expose backlight controls

2020-10-02 Thread Doug Anderson
Hi, On Wed, Sep 30, 2020 at 3:40 PM Bjorn Andersson wrote: > > The TI SN65DSI86 can be configured to generate a PWM pulse on GPIO4, > to be used to drive a backlight driver. > > Signed-off-by: Bjorn Andersson > --- > drivers/gpu/drm/bridge/Kconfig| 1 + >

Re: [PATCH net-next v2 5/6] bonding: update Documentation for port/bond terminology

2020-10-02 Thread Andrew Lunn
On Fri, Oct 02, 2020 at 04:17:34PM -0400, Jarod Wilson wrote: > On Fri, Oct 2, 2020 at 2:09 PM Andrew Lunn wrote: > > > > On Fri, Oct 02, 2020 at 01:40:00PM -0400, Jarod Wilson wrote: > > > Point users to the new interface names instead of the old ones, where > > > appropriate. Userspace bits

Re: [PATCH 1/2] dt-bindings: drm/bridge: ti-sn65dsi86: Replace #pwm-cells

2020-10-02 Thread Doug Anderson
Hi, On Wed, Sep 30, 2020 at 3:40 PM Bjorn Andersson wrote: > > While the signal on GPIO4 to drive the backlight controller indeed is > pulse width modulated its purpose is specifically to control the > brightness of a backlight. I'm a bit on the fence about this. I guess you're doing this

Re: [PATCH v2 2/4] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-10-02 Thread Andrew Lunn
> +static u32 ax88796c_get_link(struct net_device *ndev) > +{ > + struct ax88796c_device *ax_local = to_ax88796c_device(ndev); > + > + mutex_lock(_local->spi_lock); > + > + phy_read_status(ndev->phydev); > + > + mutex_unlock(_local->spi_lock); Why do you take this mutux before

Re: [PATCH net-next 0/4] net: dsa: Improve dsa_untag_bridge_pvid()

2020-10-02 Thread David Miller
From: Florian Fainelli Date: Thu, 1 Oct 2020 19:42:11 -0700 > Hi David, Jakub, > > This patch series is based on the recent discussions with Vladimir: > > https://lore.kernel.org/netdev/20201001030623.343535-1-f.faine...@gmail.com/ > > the simplest way forward was to call

Re: [PATCH 2/3] x86/cpu: Describe hybrid CPUs in cpuinfo_x86

2020-10-02 Thread Borislav Petkov
On Fri, Oct 02, 2020 at 01:19:30PM -0700, Ricardo Neri wrote: > diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c > index 35ad8480c464..0778b3ad26b3 100644 > --- a/arch/x86/kernel/cpu/common.c > +++ b/arch/x86/kernel/cpu/common.c > @@ -932,6 +932,11 @@ void

Re: [PATCH 0/4] Mediatek DRM driver detect CMDQ execution timeout by vblank IRQ

2020-10-02 Thread Jassi Brar
On Sun, Sep 27, 2020 at 6:04 PM Chun-Kuang Hu wrote: > > CMDQ helper provide timer to detect execution timeout, but DRM driver > could have a better way to detect execution timeout by vblank IRQ. > For DRM, CMDQ command should execute in vblank, so if it fail to > execute in next 2 vblank,

Re: [PATCH v1] of: platform: Batch fwnode parsing in the init_machine() path

2020-10-02 Thread Rob Herring
On Fri, Oct 2, 2020 at 12:52 PM Saravana Kannan wrote: > > On Fri, Oct 2, 2020 at 7:08 AM Rob Herring wrote: > > > > On Thu, Oct 1, 2020 at 5:59 PM Saravana Kannan wrote: > > > > > > When commit 93d2e4322aa7 ("of: platform: Batch fwnode parsing when > > > adding all top level devices")

Re: [PATCH v5 08/10] vfio/fsl-mc: trigger an interrupt via eventfd

2020-10-02 Thread Alex Williamson
On Tue, 29 Sep 2020 12:03:37 +0300 Diana Craciun wrote: > This patch allows to set an eventfd for fsl-mc device interrupts > and also to trigger the interrupt eventfd from userspace for testing. > > All fsl-mc device interrupts are MSIs. The MSIs are allocated from > the MSI domain only once

Re: [PATCH v4 1/2] system_data_types.7: Add 'void *'

2020-10-02 Thread Alejandro Colomar
Hi Paul, On 2020-10-02 22:14, Paul Eggert wrote: > On 10/2/20 11:38 AM, Alejandro Colomar wrote: > >> .I void * >> >> renders with a space in between. > > That's odd, as "man(7)" says "All of the arguments will be printed next > to each other without intervening spaces". I'd play it safe and

Re: [PATCH net-next v2 6/6] bonding: make Kconfig toggle to disable legacy interfaces

2020-10-02 Thread Jarod Wilson
On Fri, Oct 2, 2020 at 3:13 PM Stephen Hemminger wrote: > > On Fri, 2 Oct 2020 13:40:01 -0400 > Jarod Wilson wrote: > > > By default, enable retaining all user-facing API that includes the use of > > master and slave, but add a Kconfig knob that allows those that wish to > > remove it entirely

Re: [PATCH] phy: usb: Fix incorrect clearing of tca_drv_sel bit in SETUP reg for 7211

2020-10-02 Thread Florian Fainelli
On 10/2/2020 12:01 PM, Al Cooper wrote: The 7211a0 has a tca_drv_sel bit in the USB SETUP register that should never be enabled. This feature is only used if there is a USB Type-C PHY, and the 7211 does not have one. If the bit is enabled, the VBUS signal will never be asserted. In the

Re: [PATCH net-next v2 3/6] bonding: rename slave to port where possible

2020-10-02 Thread Miguel Ojeda
Hi Jarod, On Fri, Oct 2, 2020 at 7:44 PM Jarod Wilson wrote: > > .clang-format |4 +-> #ifdef > CONFIG_NET_POLL_CONTROLLER Acked-by: Miguel Ojeda Cheers, Miguel

Re: [PATCH blk-next 1/2] blk-mq-rdma: Delete not-used multi-queue RDMA map queue code

2020-10-02 Thread Sagi Grimberg
Yes, basically usage of managed affinity caused people to report regressions not being able to change irq affinity from procfs. Well, why would they change it? The whole point of the infrastructure is that there is a single sane affinity setting for a given setup. Now that setting needed

Re: [PATCH net-next v2 5/6] bonding: update Documentation for port/bond terminology

2020-10-02 Thread Jarod Wilson
On Fri, Oct 2, 2020 at 2:09 PM Andrew Lunn wrote: > > On Fri, Oct 02, 2020 at 01:40:00PM -0400, Jarod Wilson wrote: > > Point users to the new interface names instead of the old ones, where > > appropriate. Userspace bits referenced still include use of master/slave, > > but those can't be

Re: [PATCH v2 0/5] Pass zPCI hardware information via VFIO

2020-10-02 Thread Matthew Rosato
On 10/2/20 4:00 PM, Matthew Rosato wrote: This patchset provides a means by which hardware information about the underlying PCI device can be passed up to userspace (ie, QEMU) so that this hardware information can be used rather than previously hard-coded assumptions. A new VFIO region type is

[PATCH 2/3] x86/cpu: Describe hybrid CPUs in cpuinfo_x86

2020-10-02 Thread Ricardo Neri
When Linux runs on Intel hybrid parts (i.e., having more than one type of CPU in the same package), subsystems that deal with specific CPU features may need to know the type of CPU in which they run. Instead of having each subsystem to inspect CPUID leaves on its own, add a new member to

[PATCH 3/3] x86/mce: include type of core when reporting a machine check error

2020-10-02 Thread Ricardo Neri
In hybrid parts, each type of core reports different types of machine check errors as the machine check error blocks are tied to different parts of the hardware. Furthermore, errors may be different across micro-architecture versions. Thus, in order to decode errors, userspace tools need to know

[PATCH 1/3] x86/cpufeatures: Enumerate hybrid CPU feature bit

2020-10-02 Thread Ricardo Neri
Add feature enumeration to identify a hybrid part: one in which CPUs with more than one type of micro-architecture exists in the same package. Cc: Andi Kleen Cc: Kan Liang Cc: Len Brown Cc: "Peter Zijlstra (Intel)" Cc: "Rafael J. Wysocki" Cc: "Ravi V. Shankar" Cc: Srinivas Pandruvada Cc:

Re: [PATCH] vdpa/mlx5: should keep avail_index despite device status

2020-10-02 Thread Si-Wei Liu
+ Eli. On Thu, Oct 1, 2020 at 2:02 PM Si-Wei Liu wrote: > > A VM with mlx5 vDPA has below warnings while being reset: > > vhost VQ 0 ring restore failed: -1: Resource temporarily unavailable (11) > vhost VQ 1 ring restore failed: -1: Resource temporarily unavailable (11) > > We should allow

[PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-02 Thread Ricardo Neri
Add support to discover and enumerate CPUs in Intel hybrid parts. A hybrid part has CPUs with more than one type of micro-architecture. Thus, certain features may only be present in a specific CPU type. It is useful to know the type of CPUs present in a system. For instance, perf may need to

Re: [PATCH 3/3] task_work: use TIF_TASKWORK if available

2020-10-02 Thread Jens Axboe
On 10/2/20 1:10 PM, Thomas Gleixner wrote: > On Fri, Oct 02 2020 at 09:52, Jens Axboe wrote: >> On 10/2/20 9:31 AM, Thomas Gleixner wrote: This way task_work_run() doesn't need to clear TIF_NOTIFY_SIGNAL and it can have more users. >>> >>> I think it's fundamentaly wrong that we have

Re: [PATCH v4 1/2] system_data_types.7: Add 'void *'

2020-10-02 Thread Paul Eggert
On 10/2/20 11:38 AM, Alejandro Colomar wrote: .I void * renders with a space in between. That's odd, as "man(7)" says "All of the arguments will be printed next to each other without intervening spaces". I'd play it safe and quote the arg anyway. > %p works with any object pointer type

Re: [PATCH net-next v2 5/6] bonding: update Documentation for port/bond terminology

2020-10-02 Thread Jarod Wilson
On Fri, Oct 2, 2020 at 3:11 PM Stephen Hemminger wrote: > > On Fri, 2 Oct 2020 13:40:00 -0400 > Jarod Wilson wrote: > > > @@ -265,7 +265,7 @@ ad_user_port_key > > This parameter has effect only in 802.3ad mode and is available > > through > > SysFs interface. > > > >

Re: [PATCH v3 02/21] spi: dw: Add DWC SSI capability

2020-10-02 Thread Serge Semin
On Fri, Oct 02, 2020 at 11:08:29PM +0300, Serge Semin wrote: > On Fri, Oct 02, 2020 at 10:46:09PM +0300, Serge Semin wrote: > > On Fri, Oct 02, 2020 at 09:26:07PM +0300, Andy Shevchenko wrote: > > > On Fri, Oct 2, 2020 at 8:18 PM Serge Semin > > > wrote: > > > > > > > > On Fri, Oct 02, 2020 at

Re: [PATCH v4 1/3] iommu/tegra-smmu: Use fwspec in tegra_smmu_(de)attach_dev

2020-10-02 Thread Dmitry Osipenko
02.10.2020 22:45, Nicolin Chen пишет: > On Fri, Oct 02, 2020 at 05:41:50PM +0300, Dmitry Osipenko wrote: >> 02.10.2020 09:08, Nicolin Chen пишет: >>> static int tegra_smmu_attach_dev(struct iommu_domain *domain, >>> struct device *dev) >>> { >>> + struct

Re: [PATCH] ext4: flag as supporting buffered async reads

2020-10-02 Thread Jens Axboe
On 10/2/20 2:08 PM, Theodore Y. Ts'o wrote: > On Mon, Aug 03, 2020 at 05:02:11PM -0600, Jens Axboe wrote: >> ext4 uses generic_file_read_iter(), which already supports this. >> >> Cc: Theodore Ts'o >> Signed-off-by: Jens Axboe > > Applied, thanks. (And apologies for the delay.) Well, the

Re: [PATCH] ext4: flag as supporting buffered async reads

2020-10-02 Thread Theodore Y. Ts'o
On Mon, Aug 03, 2020 at 05:02:11PM -0600, Jens Axboe wrote: > ext4 uses generic_file_read_iter(), which already supports this. > > Cc: Theodore Ts'o > Signed-off-by: Jens Axboe Applied, thanks. (And apologies for the delay.) - Ted

Re: [PATCH v3 02/21] spi: dw: Add DWC SSI capability

2020-10-02 Thread Serge Semin
On Fri, Oct 02, 2020 at 10:46:09PM +0300, Serge Semin wrote: > On Fri, Oct 02, 2020 at 09:26:07PM +0300, Andy Shevchenko wrote: > > On Fri, Oct 2, 2020 at 8:18 PM Serge Semin > > wrote: > > > > > > On Fri, Oct 02, 2020 at 01:19:29PM +0300, Andy Shevchenko wrote: > > > > On Fri, Oct 02, 2020 at

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Heinrich Schuchardt
On 10/2/20 9:21 PM, Ard Biesheuvel wrote: > On Fri, 2 Oct 2020 at 21:14, Heinrich Schuchardt wrote: >> >> On 10/2/20 7:21 PM, Ard Biesheuvel wrote: >>> Hi Heinrich, >>> >>> Thanks for documenting this. >>> >>> >>> On Fri, 2 Oct 2020 at 19:11, Heinrich Schuchardt wrote: Describe how a

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-02 Thread Vivek Goyal
On Fri, Oct 02, 2020 at 12:45:18PM -0700, Sean Christopherson wrote: > On Fri, Oct 02, 2020 at 03:27:34PM -0400, Vivek Goyal wrote: > > On Fri, Oct 02, 2020 at 11:30:37AM -0700, Sean Christopherson wrote: > > > On Fri, Oct 02, 2020 at 11:38:54AM -0400, Vivek Goyal wrote: > > > > On Thu, Oct 01,

Re: [PATCH v4 1/3] iommu/tegra-smmu: Use fwspec in tegra_smmu_(de)attach_dev

2020-10-02 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 05:52:00PM +0300, Dmitry Osipenko wrote: > 02.10.2020 17:22, Dmitry Osipenko пишет: > > 02.10.2020 09:08, Nicolin Chen пишет: > >> static int tegra_smmu_attach_dev(struct iommu_domain *domain, > >> struct device *dev) > >> { > >> + struct

[PATCH v2 2/5] s390/pci: track whether util_str is valid in the zpci_dev

2020-10-02 Thread Matthew Rosato
We'll need to keep track of whether or not the byte string in util_str is valid and thus needs to be passed to a vfio-pci passthrough device. Signed-off-by: Matthew Rosato Acked-by: Niklas Schnelle Acked-by: Christian Borntraeger --- arch/s390/include/asm/pci.h | 3 ++-

[PATCH v2 1/5] s390/pci: stash version in the zpci_dev

2020-10-02 Thread Matthew Rosato
In preparation for passing the info on to vfio-pci devices, stash the supported PCI version for the target device in the zpci_dev. Signed-off-by: Matthew Rosato Acked-by: Niklas Schnelle Acked-by: Christian Borntraeger Acked-by: Cornelia Huck --- arch/s390/include/asm/pci.h | 1 +

[PATCH v2 4/5] vfio-pci/zdev: use a device region to retrieve zPCI information

2020-10-02 Thread Matthew Rosato
Define a new configuration entry VFIO_PCI_ZDEV for VFIO/PCI. When this s390-only feature is configured we initialize a new device region, VFIO_REGION_SUBTYPE_IBM_ZPCI_CLP, to hold information provided by the underlying hardware. This patch is based on work previously done by Pierre Morel.

[PATCH v2 3/5] vfio-pci/zdev: define the vfio_zdev header

2020-10-02 Thread Matthew Rosato
We define a new device region in vfio.h to be able to get the ZPCI CLP information by reading this region from userspace. We create a new file, vfio_zdev.h to define the structure of the new region defined in vfio.h Signed-off-by: Matthew Rosato --- include/uapi/linux/vfio.h | 5 ++

[PATCH v2 5/5] MAINTAINERS: Add entry for s390 vfio-pci

2020-10-02 Thread Matthew Rosato
Add myself to cover s390-specific items related to vfio-pci. Signed-off-by: Matthew Rosato --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 190c7fa..389c4ad 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15162,6 +15162,14 @@ F:

[PATCH v2 0/5] Pass zPCI hardware information via VFIO

2020-10-02 Thread Matthew Rosato
This patchset provides a means by which hardware information about the underlying PCI device can be passed up to userspace (ie, QEMU) so that this hardware information can be used rather than previously hard-coded assumptions. A new VFIO region type is defined which holds this information. A

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-02 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 05:58:29PM +0300, Dmitry Osipenko wrote: > 02.10.2020 17:22, Dmitry Osipenko пишет: > > 02.10.2020 09:08, Nicolin Chen пишет: > >> -static void tegra_smmu_release_device(struct device *dev) > >> -{ > >> - dev_iommu_priv_set(dev, NULL); > >> -} > >> +static void

Re: [PATCH 0/7] TC-ETF support PTP clocks series

2020-10-02 Thread Geva, Erez
On 02/10/2020 21:01, Vinicius Costa Gomes wrote: > Hi Erez, > > Erez Geva writes: > >> Add support for using PTP clock with >> Traffic control Earliest TxTime First (ETF) Qdisc. >> >> Why do we need ETF to use PTP clock? >> Current ETF requires to synchronization the system clock >> to the

Re: [PATCH v1] of: platform: Batch fwnode parsing in the init_machine() path

2020-10-02 Thread Saravana Kannan
On Fri, Oct 2, 2020 at 11:35 AM 'Grygorii Strashko' via kernel-team wrote: > > hi Saravana, > > On 02/10/2020 21:27, Laurent Pinchart wrote: > > Hi Saravana, > > > > On Fri, Oct 02, 2020 at 10:58:55AM -0700, Saravana Kannan wrote: > >> On Fri, Oct 2, 2020 at 10:55 AM Laurent Pinchart wrote: > >>>

Re: [PATCH v3 03/21] spi: dw: Detach SPI device specific CR0 config method

2020-10-02 Thread Serge Semin
On Fri, Oct 02, 2020 at 09:24:55PM +0300, Andy Shevchenko wrote: > On Fri, Oct 2, 2020 at 8:47 PM Serge Semin > wrote: > > On Fri, Oct 02, 2020 at 01:22:46PM +0300, Andy Shevchenko wrote: > > > On Fri, Oct 02, 2020 at 01:28:11AM +0300, Serge Semin wrote: > > > > > + /* > > > > +* Update

Re: [PATCH ghak90 V9 05/13] audit: log container info of syscalls

2020-10-02 Thread Richard Guy Briggs
On 2020-08-21 15:15, Paul Moore wrote: > On Wed, Jul 29, 2020 at 3:41 PM Richard Guy Briggs wrote: > > On 2020-07-05 11:10, Paul Moore wrote: > > > On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs > > > wrote: > > ... > > > > > diff --git a/kernel/auditsc.c b/kernel/auditsc.c > > > > index

[PATCH v4] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-10-02 Thread longguang.yue
It's ipvs's duty to do traffic statistic if packets get hit, no matter what mode it is. Changes in v1: support DR/TUN mode statistic Changes in v2: ip_vs_conn_out_get handles DR/TUN mode's conn Changes in v3: fix checkpatch Changes in v4: restructure and optimise this feature Signed-off-by:

Re: [PATCH v4 1/3] iommu/tegra-smmu: Use fwspec in tegra_smmu_(de)attach_dev

2020-10-02 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 05:41:50PM +0300, Dmitry Osipenko wrote: > 02.10.2020 09:08, Nicolin Chen пишет: > > static int tegra_smmu_attach_dev(struct iommu_domain *domain, > > struct device *dev) > > { > > + struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); >

Re: [PATCH v5 1/7] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2020-10-02 Thread Tomasz Figa
Hi Helen, On Tue, Aug 04, 2020 at 04:29:33PM -0300, Helen Koike wrote: > This is part of the multiplanar and singleplanar unification process. > v4l2_ext_pix_format is supposed to work for both cases. > > We also add the concept of modifiers already employed in DRM to expose > HW-specific

[PATCH] net: typhoon: Fix a typo Typoon --> Typhoon

2020-10-02 Thread Christophe JAILLET
s/Typoon/Typhoon/ Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/3com/typhoon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/3com/typhoon.h b/drivers/net/ethernet/3com/typhoon.h index 2f634c64d5d1..38e6dcab4e94 100644 ---

Re: [PATCH v3 02/21] spi: dw: Add DWC SSI capability

2020-10-02 Thread Serge Semin
On Fri, Oct 02, 2020 at 09:26:07PM +0300, Andy Shevchenko wrote: > On Fri, Oct 2, 2020 at 8:18 PM Serge Semin > wrote: > > > > On Fri, Oct 02, 2020 at 01:19:29PM +0300, Andy Shevchenko wrote: > > > On Fri, Oct 02, 2020 at 01:28:10AM +0300, Serge Semin wrote: > > > > Currently DWC SSI core is

Re: Why ping latency is smaller with shorter send interval?

2020-10-02 Thread Vinicius Costa Gomes
Hi, Eric Dumazet writes: > > Many factors in play here. > > 1) if you keep cpus busy enough, they tend to keep in their caches > the data needed to serve your requests. In your case, time taken to > process an ICMP packet can be very different depending on how hot > cpu caches are. > > 2) Idle

Re: [PATCH v2 0/4] AX88796C SPI Ethernet Adapter

2020-10-02 Thread Andrew Lunn
On Fri, Oct 02, 2020 at 09:22:06PM +0200, Łukasz Stelmach wrote: > This is a driver for AX88796C Ethernet Adapter connected in SPI mode as > found on ARTIK5 evaluation board. The driver has been ported from a > v3.10.9 vendor kernel for ARTIK5 board. Hi Łukasz Please include a brief list of

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-02 Thread Sean Christopherson
On Fri, Oct 02, 2020 at 03:27:34PM -0400, Vivek Goyal wrote: > On Fri, Oct 02, 2020 at 11:30:37AM -0700, Sean Christopherson wrote: > > On Fri, Oct 02, 2020 at 11:38:54AM -0400, Vivek Goyal wrote: > > > On Thu, Oct 01, 2020 at 03:33:20PM -0700, Sean Christopherson wrote: > > > > Alternatively,

Re: [PATCH v3 1/3] tracing: Change STR_VAR_MAX_LEN

2020-10-02 Thread Steven Rostedt
On Thu, 1 Oct 2020 16:46:44 -0500 Tom Zanussi wrote: > 32 is too small for this value, and anyway it makes more sense to use > MAX_FILTER_STR_VAL, as this is also the value used for variable-length > __strings. > > Tested-by: Axel Rasmussen > Signed-off-by: Tom Zanussi > --- >

Re: [PATCH 4/4] mailbox: arm_mhu: Add ARM MHU doorbell driver

2020-10-02 Thread Jassi Brar
On Mon, Sep 28, 2020 at 6:45 AM Sudeep Holla wrote: > + > +static void mhu_db_shutdown(struct mbox_chan *chan) > +{ > + struct mhu_db_channel *chan_info = chan->con_priv; > + struct mbox_controller *mbox = _info->mhu->mbox; > + int i; > + > + for (i = 0; i <

Re: [PATCH] checkpatch: Fix false positive on empty block comment lines

2020-10-02 Thread Joe Perches
On Fri, 2020-10-02 at 21:15 +0200, Łukasz Stelmach wrote: > To avoid false positives in presence of SPDX-License-Identifier in > networking files it is required to increase the leeway for empty block > comment lines by one line. Thanks. An example in the commit description would be nice. The

Re: [PATCH 2/2] docs: Update RCU's hotplug requirements with a bit about design

2020-10-02 Thread Paul E. McKenney
On Tue, Sep 29, 2020 at 03:32:48PM -0400, Joel Fernandes wrote: > Hi Paul, > > On Tue, Sep 29, 2020 at 03:29:28PM -0400, Joel Fernandes (Google) wrote: > > RCU's hotplug design will help understand the requirements an RCU > > implementation needs to fullfill, such as dead-lock avoidance. > > > >

[PATCH v5 1/2] system_data_types.7: Add 'void *'

2020-10-02 Thread Alejandro Colomar
Signed-off-by: Alejandro Colomar system_data_types.7: void *: Add info about generic function parameters and return value Reported-by: Paul Eggert Reported-by: David Laight Signed-off-by: Alejandro Colomar system_data_types.7: void *: Add info about pointer artihmetic Reported-by: Paul

[PATCH v5 2/2] void.3: New link to system_data_types(7)

2020-10-02 Thread Alejandro Colomar
Signed-off-by: Alejandro Colomar --- man3/void.3 | 1 + 1 file changed, 1 insertion(+) create mode 100644 man3/void.3 diff --git a/man3/void.3 b/man3/void.3 new file mode 100644 index 0..db50c0f09 --- /dev/null +++ b/man3/void.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 -- 2.28.0

[PATCH v5 0/2] Document 'void *'

2020-10-02 Thread Alejandro Colomar
Hi Michael, Here I added a wfix fixing some wording issues and a few typos spotted by Paul and Jonathan in the (many) threads. As previously, it is squashed into a single commit. Thanks again for those who reviewed the patch! BTW, for those who don't have a local repo of the man-pages, below

Re: [PATCH v4 01/11] mm: add Kernel Electric-Fence infrastructure

2020-10-02 Thread Jann Horn
On Fri, Oct 2, 2020 at 7:20 PM Marco Elver wrote: > On Fri, Oct 02, 2020 at 08:33AM +0200, Jann Horn wrote: > > On Tue, Sep 29, 2020 at 3:38 PM Marco Elver wrote: > > > This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a > > > low-overhead sampling-based memory safety error

Re: [PATCHv2 1/9] perf tools: Add build id shell test

2020-10-02 Thread Jiri Olsa
On Fri, Oct 02, 2020 at 10:34:51AM -0700, Ian Rogers wrote: SNIP > > > + > > > LIBJVMTI = libperf-jvmti.so > > > > > > ifndef NO_JVMTI > > > @@ -756,6 +763,13 @@ $(OUTPUT)perf-read-vdsox32: perf-read-vdso.c > > > util/find-map.c > > > $(QUIET_CC)$(CC) -mx32 $(filter

[GIT PULL] SCSI fixes for 5.9-rc7

2020-10-02 Thread James Bottomley
Two patches in driver frameworks. The iscsi one corrects a bug induced by a BPF change to network locking and the other is a regression we introduced. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Mark

[PATCH] ASoC: tlv320adcx140: Fix a typo in a comment

2020-10-02 Thread Christophe JAILLET
It is likely that this header file is about the TLV320ADCX140. (0 and 4 swapped) While at it fix a missing "H" in a comment related to the include guard. Signed-off-by: Christophe JAILLET --- sound/soc/codecs/tlv320adcx140.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-02 Thread Vivek Goyal
On Fri, Oct 02, 2020 at 11:30:37AM -0700, Sean Christopherson wrote: > On Fri, Oct 02, 2020 at 11:38:54AM -0400, Vivek Goyal wrote: > > On Thu, Oct 01, 2020 at 03:33:20PM -0700, Sean Christopherson wrote: > > > Alternatively, what about adding a new KVM request type to handle this? > > > E.g. when

[PATCH v2] mm: Remove src/dst mm parameter in copy_page_range()

2020-10-02 Thread Peter Xu
Both of the mm pointers are not needed after commit 7a4830c380f3 ("mm/fork: Pass new vma pointer into copy_page_range()"). Jason Gunthorpe also reported that the ordering of copy_page_range() is odd. Since working at it, reorder the parameters to be logical, by (1) always put the dst_* fields to

Re: [PATCH ghak90 V9 06/13] audit: add contid support for signalling the audit daemon

2020-10-02 Thread Richard Guy Briggs
On 2020-08-21 14:48, Paul Moore wrote: > On Wed, Jul 29, 2020 at 3:00 PM Richard Guy Briggs wrote: > > On 2020-07-05 11:10, Paul Moore wrote: > > > On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs > > > wrote: > > > > > > > > Add audit container identifier support to the action of signalling

[GIT PULL] PCI fixes for v5.9

2020-10-02 Thread Bjorn Helgaas
PCI fixes: - Fix rockchip regression in rockchip_pcie_valid_device() (Lorenzo Pieralisi) - Add Pali Rohár as aardvark PCI maintainer (Pali Rohár) The following changes since commit 7c2308f79fc81ba0bf24ccd2429fb483a91bcd51: PCI/P2PDMA: Fix build without DMA ops (2020-08-17 17:08:21

[PATCH v2 4/4] ARM: defconfig: Enable ax88796c driver

2020-10-02 Thread Łukasz Stelmach
Enable ax88796c driver for the ethernet chip on Exynos3250-based ARTIK5 boards. Signed-off-by: Łukasz Stelmach --- arch/arm/configs/exynos_defconfig | 2 ++ arch/arm/configs/multi_v7_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig

[PATCH v2 1/4] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter

2020-10-02 Thread Łukasz Stelmach
Add bindings for AX88796C SPI Ethernet Adapter. Signed-off-by: Łukasz Stelmach --- .../bindings/net/asix,ax88796c-spi.yaml | 76 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 78 insertions(+) create mode 100644

[PATCH v2 0/4] AX88796C SPI Ethernet Adapter

2020-10-02 Thread Łukasz Stelmach
This is a driver for AX88796C Ethernet Adapter connected in SPI mode as found on ARTIK5 evaluation board. The driver has been ported from a v3.10.9 vendor kernel for ARTIK5 board. -- Łukasz Stelmach (4): dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter net: ax88796c: ASIX

[PATCH v2 3/4] ARM: dts: exynos: Add Ethernet to Artik 5 board

2020-10-02 Thread Łukasz Stelmach
Add node for ax88796c ethernet chip. Signed-off-by: Łukasz Stelmach --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 21 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts index

Low Rate Loan.

2020-10-02 Thread Mr. Hashim Bin
Hello Dear, We are Investment Company offering Corporate and Personal Loan at 3% Interest Rate for a duration of 10Years. We also pay 1% commission to brokers, who introduce project owners for finance or other opportunities. Please get back to me if you are interested for more details. Yours

[PATCH v2 2/4] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-10-02 Thread Łukasz Stelmach
ASIX AX88796[1] is a versatile ethernet adapter chip, that can be connected to a CPU with a 8/16-bit bus or with an SPI. This driver supports SPI connection. The driver has been ported from the vendor kernel for ARTIK5[2] boards. Several changes were made to adapt it to the current kernel which

Re: [PATCH 1/2] mm/frame-vec: Drop gup_flags from get_vaddr_frames()

2020-10-02 Thread Oded Gabbay
On Fri, Oct 2, 2020 at 9:23 PM Tomasz Figa wrote: > > On Fri, Oct 2, 2020 at 7:53 PM Daniel Vetter wrote: > > > > FOLL_WRITE | FOLL_FORCE is really the only reasonable thing to do for > > simple dma device that can't guarantee write protection. Which is also > > what all the callers are using. >

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Ard Biesheuvel
On Fri, 2 Oct 2020 at 21:14, Heinrich Schuchardt wrote: > > On 10/2/20 7:21 PM, Ard Biesheuvel wrote: > > Hi Heinrich, > > > > Thanks for documenting this. > > > > > > On Fri, 2 Oct 2020 at 19:11, Heinrich Schuchardt wrote: > >> > >> Describe how a device tree and an initial RAM disk can be

[PATCH] checkpatch: Fix false positive on empty block comment lines

2020-10-02 Thread Łukasz Stelmach
To avoid false positives in presence of SPDX-License-Identifier in networking files it is required to increase the leeway for empty block comment lines by one line. Signed-off-by: Łukasz Stelmach --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] arm64: dts: meson: add SM1 soundcard name to VIM3L

2020-10-02 Thread Kevin Hilman
Jerome Brunet writes: > On Fri 02 Oct 2020 at 20:45, Kevin Hilman wrote: > >> Christian Hewitt writes: >> On 2 Oct 2020, at 6:44 pm, Jerome Brunet wrote: On Fri 02 Oct 2020 at 16:16, Christian Hewitt wrote: > VIM3L now inherits the sound node from the VIM3

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Heinrich Schuchardt
On 10/2/20 7:21 PM, Ard Biesheuvel wrote: > Hi Heinrich, > > Thanks for documenting this. > > > On Fri, 2 Oct 2020 at 19:11, Heinrich Schuchardt wrote: >> >> Describe how a device tree and an initial RAM disk can be passed to the EFI >> Boot Stub. >> >> Signed-off-by: Heinrich Schuchardt >> ---

Re: [PATCH net-next v2 6/6] bonding: make Kconfig toggle to disable legacy interfaces

2020-10-02 Thread Stephen Hemminger
On Fri, 2 Oct 2020 13:40:01 -0400 Jarod Wilson wrote: > By default, enable retaining all user-facing API that includes the use of > master and slave, but add a Kconfig knob that allows those that wish to > remove it entirely do so in one shot. > > Cc: Jay Vosburgh > Cc: Veaceslav Falico >

[PATCH 1/1] Documentation/x86: incorrect reference zero-page.txt

2020-10-02 Thread Heinrich Schuchardt
File zero-page.txt does not exit. Add links for zero-page.rst. Signed-off-by: Heinrich Schuchardt --- Documentation/x86/boot.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/x86/boot.rst b/Documentation/x86/boot.rst index 5325c71ca877..49c3ebe8a439

Re: [PATCH net-next v2 5/6] bonding: update Documentation for port/bond terminology

2020-10-02 Thread Stephen Hemminger
On Fri, 2 Oct 2020 13:40:00 -0400 Jarod Wilson wrote: > @@ -265,7 +265,7 @@ ad_user_port_key > This parameter has effect only in 802.3ad mode and is available through > SysFs interface. > > -all_slaves_active > +all_ports_active You can change internal variable names, comments,

Re: [PATCH 3/3] task_work: use TIF_TASKWORK if available

2020-10-02 Thread Thomas Gleixner
On Fri, Oct 02 2020 at 09:52, Jens Axboe wrote: > On 10/2/20 9:31 AM, Thomas Gleixner wrote: >>> This way task_work_run() doesn't need to clear TIF_NOTIFY_SIGNAL and it can >>> have more users. >> >> I think it's fundamentaly wrong that we have several places and several >> flags which handle

RE: [DISCUSSION PATCH 00/41] random: possible ways towards NIST SP800-90B compliance

2020-10-02 Thread Van Leeuwen, Pascal
> -Original Message- > From: Theodore Y. Ts'o > Sent: Friday, October 2, 2020 8:14 PM > To: Van Leeuwen, Pascal > Cc: Greg Kroah-Hartman ; Torsten Duwe > ; linux-cry...@vger.kernel.org; Nicolai Stange > ; LKML ; Arnd Bergmann > ; Eric W. Biederman > ; Alexander E. Patrakov ; Ahmed S.

RE: [PATCH v17 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-10-02 Thread Ben Levinsky
Hi Michael, Thanks for the review. With the numerous sets of review, I think a few things got lost along the way that I will make sure to get encompassed in the next revision - in bindings example, remove the '-1.0' - remove the global rpu_mode var ^ the above I had thought was in v16

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-02 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 06:02:18PM +0300, Dmitry Osipenko wrote: > 02.10.2020 09:08, Nicolin Chen пишет: > > static int tegra_smmu_of_xlate(struct device *dev, > >struct of_phandle_args *args) > > { > > + struct platform_device *iommu_pdev =

[PATCH] phy: usb: Fix incorrect clearing of tca_drv_sel bit in SETUP reg for 7211

2020-10-02 Thread Al Cooper
The 7211a0 has a tca_drv_sel bit in the USB SETUP register that should never be enabled. This feature is only used if there is a USB Type-C PHY, and the 7211 does not have one. If the bit is enabled, the VBUS signal will never be asserted. In the 7211a0, the bit was incorrectly defaulted to on so

Re: [PATCH 0/7] TC-ETF support PTP clocks series

2020-10-02 Thread Vinicius Costa Gomes
Hi Erez, Erez Geva writes: > Add support for using PTP clock with > Traffic control Earliest TxTime First (ETF) Qdisc. > > Why do we need ETF to use PTP clock? > Current ETF requires to synchronization the system clock > to the PTP Hardware clock (PHC) we want to send through. > But there are

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

2020-10-02 Thread Michael Auchter
Hey Ben, On Thu, Oct 01, 2020 at 02:05:41PM -0700, Ben Levinsky wrote: > R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this > remotproc driver, we can boot the R5 sub-system in different 2 > configurations - > * split > * lock-step > > The Xilinx R5 Remoteproc Driver

Re: [PATCH] pci: meson: build as module by default

2020-10-02 Thread Kevin Hilman
Hi Lorenzo, Lorenzo Pieralisi writes: > On Fri, Sep 18, 2020 at 11:12:51AM -0700, Kevin Hilman wrote: >> Enable pci-meson to build as a module whenever ARCH_MESON is enabled. >> >> Cc: Yue Wang >> Signed-off-by: Kevin Hilman >> --- >> Tested on Khadas VIM3 and Khadas VIM3 using NVMe SSD

Re: [PATCH] arm64: dts: meson: add SM1 soundcard name to VIM3L

2020-10-02 Thread Jerome Brunet
On Fri 02 Oct 2020 at 20:45, Kevin Hilman wrote: > Christian Hewitt writes: > >>> On 2 Oct 2020, at 6:44 pm, Jerome Brunet wrote: >>> >>> On Fri 02 Oct 2020 at 16:16, Christian Hewitt >>> wrote: >>> VIM3L now inherits the sound node from the VIM3 common dtsi but is an SM1

Re: [PATCH] arm64: dts: amlogic: meson-g12: use the G12A specific dwmac compatible

2020-10-02 Thread Kevin Hilman
On Fri, 25 Sep 2020 23:17:43 +0200, Martin Blumenstingl wrote: > We have a dedicated "amlogic,meson-g12a-dwmac" compatible string for the > Ethernet controller since commit 3efdb92426bf4 ("dt-bindings: net: > dwmac-meson: Add a compatible string for G12A onwards"). > Using the AXG compatible

Re: [PATCH] arm64: dts: meson: add SM1 soundcard name to VIM3L

2020-10-02 Thread Kevin Hilman
On Fri, 2 Oct 2020 14:16:19 +, Christian Hewitt wrote: > VIM3L now inherits the sound node from the VIM3 common dtsi but is > an SM1 device, so label it as such, and stop users blaming future > support issues on the distro/app "wrongly detecting" their device. Applied, thanks! [1/1] arm64:

[PATCH v8 10/14] PCI/RCEC: Add pcie_link_rcec() to associate RCiEPs

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley A Root Complex Event Collector provides support for terminating error and PME messages from associated RCiEPs. Make use of the RCEC Endpoint Association Extended Capability to identify associated RCiEPs. Link the associated RCiEPs as the RCECs are enumerated.

[PATCH v8 14/14] PCI/AER: Add RCEC AER error injection support

2020-10-02 Thread Sean V Kelley
From: Qiuxu Zhuo The Root Complex Event Collectors (RCEC) appear as peers to Root Ports and also have the AER capability. So add RCEC support to the current AER error injection driver. Signed-off-by: Qiuxu Zhuo Co-developed-by: Sean V Kelley Signed-off-by: Sean V Kelley ---

Re: [PATCH v4 1/2] dt-bindings: usb: Add binding for discrete onboard USB hubs

2020-10-02 Thread Alan Stern
On Fri, Oct 02, 2020 at 09:08:47AM -0700, Matthias Kaehlcke wrote: > On Thu, Oct 01, 2020 at 09:21:53PM -0400, Alan Stern wrote: > > On Thu, Oct 01, 2020 at 02:54:12PM -0700, Matthias Kaehlcke wrote: > > > Hi, > > > > > > thanks for providing more insights on the USB hardware! > > > > Sure. > >

[PATCH v8 09/14] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-10-02 Thread Sean V Kelley
From: Qiuxu Zhuo Attempt to do a function level reset for an RCiEP on fatal error. Signed-off-by: Qiuxu Zhuo Reviewed-by: Jonathan Cameron --- drivers/pci/pcie/err.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pcie/err.c

[PATCH v8 07/14] PCI/ERR: Limit AER resets in pcie_do_recovery()

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley In some cases a bridge may not exist as the hardware controlling may be handled only by firmware and so is not visible to the OS. This scenario is also possible in future use cases involving non-native use of RCECs by firmware. So explicitly apply conditional logic around

[PATCH v8 13/14] PCI/PME: Add pcie_walk_rcec() to RCEC PME handling

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley Root Complex Event Collectors (RCEC) appear as peers of Root Ports and also have the PME capability. As with AER, there is a need to be able to walk the RCiEPs associated with their RCEC for purposes of acting upon them with callbacks. So add RCEC support through the use of

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