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 P

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 tegra_smmu_r

[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 form

[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 ++ incl

[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: Docum

[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 ++- arch/s390/pci/pci_clp.c

[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. Signed

[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 + arch/s390/p

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, 202

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 iommu

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 de

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 01:

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] 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 topi

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 01:

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 iommu_fwspe

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. > > > > -all_slaves_act

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 seve

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 (

[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 handl

[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: li

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 users

[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 cpuinfo_x8

[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 th

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 de

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 altered

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 som

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] 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 7211a0,

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 d

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 quot

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 per

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") optimized

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, timeout

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 get_cpu_cap(struct

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 dsa_untag_bridge_pvi

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(&ax_local->spi_lock); > + > + phy_read_status(ndev->phydev); > + > + mutex_unlock(&ax_local->spi_lock); Why do you take this mutux befor

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 becau

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 refe

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 + > drivers/gpu/drm/bridge/ti-sn6

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 uncor

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, Sean

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 Crac

Re: [PATCH v5 09/10] vfio/fsl-mc: Add read/write support for fsl-mc devices

2020-10-02 Thread Alex Williamson
On Tue, 29 Sep 2020 12:03:38 +0300 Diana Craciun wrote: > The software uses a memory-mapped I/O command interface (MC portals) to > communicate with the MC hardware. This command interface is used to > discover, enumerate, configure and remove DPAA2 objects. The DPAA2 > objects use MSIs, so the c

Re: [PATCH v2] srcu: avoid escaped section names

2020-10-02 Thread Paul E. McKenney
On Wed, Sep 30, 2020 at 01:55:48PM -0700, Nick Desaulniers wrote: > On Wed, Sep 30, 2020 at 1:40 PM Paul E. McKenney wrote: > > > > On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > > > The stringification operator, `#`, in the preprocessor escapes strings. > > > For example, `#

Re: [PATCH -next] sata, highbank: simplify the return expression of ahci_highbank_suspend

2020-10-02 Thread Jens Axboe
On 9/21/20 2:24 AM, Liu Shixin wrote: > Simplify the return expression. Applied, thanks. -- Jens Axboe

Re: [PATCH] ahci: qoriq: enable acpi support in qoriq ahci driver

2020-10-02 Thread Jens Axboe
On 8/17/20 2:22 AM, andy.t...@nxp.com wrote: > From: Yuantian Tang > > This patch enables ACPI support in qoriq ahci driver. Applied, thanks. -- Jens Axboe

Loan Offer

2020-10-02 Thread Robert Fast Capital
Do you need a loan? We offer loan at 2% interest rate, our services include the following: * Business Loan [secure and unsecured] * Personal Loan [secure and unsecured] * Car Loan * Truck Loans * Home Loan * Mortgage Loan For more info; Contact us today (robertfastcapi...@gmail.com)Text/Call 407

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

2020-10-02 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 02, 2020 at 10:34:51AM -0700, Ian Rogers escreveu: > On Fri, Oct 2, 2020 at 6:07 AM Namhyung Kim wrote: > > > > Hi Jiri, > > > > On Fri, Oct 2, 2020 at 4:05 AM Jiri Olsa wrote: > > > > > > Adding test for build id cache that adds binary > > > with sha1 and md5 build ids and verifies i

[tip: x86/urgent] Documentation/x86: Fix incorrect references to zero-page.txt

2020-10-02 Thread tip-bot2 for Heinrich Schuchardt
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 0c7689830e907668288a1a1da84dca66dbdb4728 Gitweb: https://git.kernel.org/tip/0c7689830e907668288a1a1da84dca66dbdb4728 Author:Heinrich Schuchardt AuthorDate:Fri, 02 Oct 2020 21:06:23 +02:00 Co

Re: [PATCH] ASoC: wm8523: Fix a typo in a comment

2020-10-02 Thread Mark Brown
On Fri, 2 Oct 2020 18:59:08 +0200, Christophe JAILLET wrote: > It is likely that this header file is about the WM8523. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: wm8523: Fix a typo in a comment commit: 98bd2b506a309faca2f5a

Re: [PATCH 0/2] Add driver for Microchip S/PDIF RX

2020-10-02 Thread Mark Brown
On Fri, 2 Oct 2020 19:03:03 +0300, Codrin Ciubotariu wrote: > The Sony/Philips Digital Interface Receiver (SPDIFRX) is a serial port > compliant with the IEC-60958 standard. Among its caracteristics, we > mention the following: > - SPDIF/AES-EBU Compatible Serial Port > - 32 Samples FIFO > - Dat

Re: [PATCH -next] ASoC: qcom: fix SDM845 & QDSP6 dependencies more

2020-10-02 Thread Mark Brown
On Thu, 1 Oct 2020 11:35:37 -0700, Randy Dunlap wrote: > Fix a build error and Kconfig warning in sound/soc/qcom/. > > ld: sound/soc/qcom/qdsp6/q6afe-clocks.o: in function `q6afe_clock_dev_probe': > q6afe-clocks.c:(.text+0x182): undefined reference to `devm_clk_hw_register' > ld: q6afe-clocks.c:(.

Re: [PATCH v9 0/4] Introduce the for_each_set_clump macro

2020-10-02 Thread Syed Nayyar Waris
On Wed, Sep 30, 2020 at 2:59 PM Linus Walleij wrote: > > On Tue, Sep 29, 2020 at 3:14 PM Andy Shevchenko > wrote: > > > Linus, are you referencing to [3]? It was fixed in GENMASK() > > implementation some time ago. > > [3]: https://lore.kernel.org/lkml/202006171559.jsbgjxnw%25...@intel.com/ > > Y

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

2020-10-02 Thread Ricardo Neri
On Fri, Oct 02, 2020 at 10:34:52PM +0200, Borislav Petkov wrote: > 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/

drivers/char/ppdev -

2020-10-02 Thread Shuah Khan
Hi Sudip, While looking at atomic_t usages and noticed a few potential problem the way struct pp_struct: atomic_t irqc field - There is inconsistencies the lock hold in this driver. pp_do_mutex is help before pp_do_ioctl() is called. static int pp_do_ioctl() pp_do_mutex case PPCLRI

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

2020-10-02 Thread Borislav Petkov
On Fri, Oct 02, 2020 at 02:02:31PM -0700, Ricardo Neri wrote: > What about patches 1 and 3? Should I resubmit the series with only > those? Why would you need to resubmit? They're good to go as is, AFAICT. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

[PATCH] drm/bridge: ti-sn65dsi86: Add retries for link training

2020-10-02 Thread Douglas Anderson
On some panels hooked up to the ti-sn65dsi86 bridge chip we found that link training was failing. Specifically, we'd see: ti_sn65dsi86 2-002d: [drm:ti_sn_bridge_enable] *ERROR* Link training failed, link is off (-5) The panel was hooked up to a logic analyzer and it was found that, as part of

Re: [PATCH] ASoC: hdac_hdmi: remove cancel_work_sync in runtime suspend

2020-10-02 Thread Mark Brown
On Wed, 15 Jul 2020 21:01:50 +0800, Brent Lu wrote: > A deadlock is identified when there are three contexts running at the > same time: > - a HDMI jack work which is calling snd_soc_dapm_sync(). > - user space is calling snd_pcm_release() to close pcm device. > - pm is calling runtime suspend func

Re: [PATCH] perf/x86/intel: Fix n_metric for the canceled group

2020-10-02 Thread Kim Phillips
On 10/2/20 8:16 AM, Liang, Kan wrote: > On 10/2/2020 7:02 AM, Peter Zijlstra wrote: >> On Wed, Sep 30, 2020 at 07:29:35AM -0700, kan.li...@linux.intel.com wrote: >>> From: Kan Liang >>> >>> When a group that has TopDown members is failed to be scheduled, any >>> later TopDown groups will not retur

Re: [PATCH v7 1/3] media: i2c: ov772x: Parse endpoint properties

2020-10-02 Thread Sakari Ailus
Hi Prabhakar, On Fri, Oct 02, 2020 at 05:56:54PM +0100, Lad Prabhakar wrote: > Parse endpoint properties using v4l2_fwnode_endpoint_alloc_parse() > to determine the bus type and store it in the driver structure. > > Set bus_type to V4L2_MBUS_PARALLEL as it's the only supported one > > Signed-off

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

2020-10-02 Thread Marco Elver
On Fri, Oct 02, 2020 at 09:31PM +0200, Jann Horn wrote: [...] > > > > > > If !CONFIG_HAVE_ARCH_KFENCE_STATIC_POOL, this should probably always > > > return false if __kfence_pool is NULL, right? > > > > That's another check; we don't want to make this more expensive. > > Ah, right, I missed that t

Re: [PATCH v7 3/3] media: i2c: ov772x: Add test pattern control

2020-10-02 Thread Sakari Ailus
On Fri, Oct 02, 2020 at 05:56:56PM +0100, Lad Prabhakar wrote: > Add support for test pattern control supported by the sensor. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das > Reviewed-by: Jacopo Mondi > --- > drivers/media/i2c/ov772x.c | 17 - > 1 file changed, 16 in

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 04:02:14PM -0400, Vivek Goyal wrote: > 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, 202

Re: [PATCH v7 2/3] media: i2c: ov772x: Add support for BT.656 mode

2020-10-02 Thread Sakari Ailus
On Fri, Oct 02, 2020 at 05:56:55PM +0100, Lad Prabhakar wrote: > Add support to read the bus-type for V4L2_MBUS_BT656 and enable BT.656 > mode in the sensor if needed. > > For backward compatibility with older DTS where the bus-type property was > not mandatory, assume V4L2_MBUS_PARALLEL as it was

[PATCH] MAINTAINERS: Add maintainer of DW APB SSI driver

2020-10-02 Thread Serge Semin
Add myself as a maintainer of the Synopsis DesignWare APB SSI driver. Suggested-by: Andy Shevchenko Signed-off-by: Serge Semin Link: https://lore.kernel.org/linux-spi/20201001222829.15977-1-sergey.se...@baikalelectronics.ru/ --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --

RE: [PATCH] mm: optionally disable brk()

2020-10-02 Thread David Laight
From: David Hildenbrand > Sent: 02 October 2020 18:52 > > On 02.10.20 19:19, Topi Miettinen wrote: > > The brk() system call allows to change data segment size (heap). This > > is mainly used by glibc for memory allocation, but it can use mmap() > > and that results in more randomized memory mappi

ANNOUNCE: pahole v1.18 (raw data pretty printer, BTF global vars)

2020-10-02 Thread Arnaldo Carvalho de Melo
Hi, The v1.18 release of pahole and its friends is out, available at the usual places: Main git repo: git://git.kernel.org/pub/scm/devel/pahole/pahole.git Mirror git repo: https://github.com/acmel/dwarves.git tarball + gpg signature: https://fedorapeople.org/~acme/dwarves/d

Re: [PATCH v2 0/2] Some small cleanup/fixes for SPMI driver

2020-10-02 Thread Stephen Boyd
Quoting Mauro Carvalho Chehab (2020-09-28 23:22:11) > Hi Stephen, > > While double-checking against yesterday's linux-next, I noticed > that those two patches weren't merge yet. > > As you replied to both with your Reviewed-by:, are you expecting > them to be merged via someone's tree, or are yo

Re: [RESEND PATCH v1 1/2] bindings: pm8941-misc: Add support for VBUS detection

2020-10-02 Thread Stephen Boyd
Quoting Guru Das Srinagesh (2020-09-28 15:49:08) > From: Anirudh Ghayal > > VBUS can be detected via a dedicated PMIC pin. Enable compatible string > that adds support for reporting the VBUS status. > > Signed-off-by: Anirudh Ghayal > Signed-off-by: Guru Das Srinagesh > --- > Documentation/de

[PATCH v6 02/14] misc: bcm-vk: add Broadcom VK driver

2020-10-02 Thread Scott Branden
Add initial version of Broadcom VK driver to enumerate PCI device IDs of Valkyrie and Viper device IDs. VK based cards provide real-time high performance, high throughput, low latency offload compute engine operations. They are used for multiple parallel offload tasks as: audio, video and image pr

[PATCH v6 00/14] *Add Broadcom VK driver

2020-10-02 Thread Scott Branden
This patch series drops previous patches in [1] that were incorporated by Kees Cook into patch series "Introduce partial kernel_read_file() support" [2]. Remaining patches are contained in this series to add Broadcom VK driver. (which depends on request_firmware_into_buf API addition in other patc

[PATCH v6 04/14] misc: bcm-vk: add misc device to Broadcom VK driver

2020-10-02 Thread Scott Branden
Add misc device base support to create and remove devnode. Additional misc functions for open/read/write/release/ioctl/sysfs, etc will be added in follow on commits to allow for individual review. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/

[PATCH v6 03/14] misc: bcm-vk: add autoload support

2020-10-02 Thread Scott Branden
Add support to load and boot images on card automatically. The kernel module parameter auto_load can be passed in as false to disable such support on probe. As well, nr_scratch_pages can be specified to allocate more or less scratch memory on init as needed for desired card operation. Co-developed

[PATCH v6 01/14] bcm-vk: add bcm_vk UAPI

2020-10-02 Thread Scott Branden
Add user space api for bcm-vk driver. Provide ioctl api to load images and issue reset command to card. FW status registers in PCI BAR space also defined as part of API so that user space is able to interpret these memory locations as needed via direct PCIe access. Signed-off-by: Scott Branden -

[PATCH v6 08/14] misc: bcm-vk: add get_card_info, peerlog_info, and proc_mon_info

2020-10-02 Thread Scott Branden
Add support to get card_info (details about card), peerlog_info (to get details of peerlog on card), and proc_mon_info (process monitoring on card). This info is used for collection of logs via direct read of BAR space and by sysfs access (in a follow on commit). Co-developed-by: Desmond Yan Sig

[PATCH v6 07/14] misc: bcm-vk: add ioctl load_image

2020-10-02 Thread Scott Branden
Add ioctl support to issue load_image operation to VK card. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 3 + drivers/misc/bcm-vk/bcm_vk_dev.c | 95 ++

[PATCH v6 05/14] misc: bcm-vk: add triggers when host panic or reboots to notify card

2020-10-02 Thread Scott Branden
Pass down an interrupt to card in case of panic or reboot so that card can take appropriate action to perform a clean reset. Uses kernel notifier block either directly (register on panic list), or implicitly (add shutdown method for PCI device). Co-developed-by: Desmond Yan Signed-off-by: Desmond

[PATCH v6 06/14] misc: bcm-vk: add open/release

2020-10-02 Thread Scott Branden
Add open/release to replace private data with context for other methods to use. Reason for the context is because it is allowed for multiple sessions to open sysfs. For each file open, when upper layer queries the response, only those that are tied to a specified open should be returned. Co-deve

[PATCH v6 10/14] misc: bcm-vk: reset_pid support

2020-10-02 Thread Scott Branden
Add reset support via ioctl. Kill user processes that are open when VK card is reset. If a particular PID has issued the reset request do not kill that process as it issued the ioctl. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/b

[PATCH v6 09/14] misc: bcm-vk: add VK messaging support

2020-10-02 Thread Scott Branden
Add message support in order to be able to communicate to VK card via message queues. This info is used for debug purposes via collection of logs via direct read of BAR space and by sysfs access (in a follow on commit). Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scot

[PATCH v6 11/14] misc: bcm-vk: add BCM_VK_QSTATS

2020-10-02 Thread Scott Branden
Add BCM_VK_QSTATS Kconfig option to allow for enabling debug VK queue statistics. These statistics keep track of max, abs_max, and average for the messages queues. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/Kconfig | 14 ++

[PATCH v6 13/14] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2020-10-02 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 190c7fa2ea01..ce88e423547f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3714,6 +3714,13 @@ L: net...@vge

[PATCH v6 12/14] misc: bcm-vk: add mmap function for exposing BAR2

2020-10-02 Thread Scott Branden
Add mmap function that allows host application to open up BAR2 memory for remote spooling out messages from the VK logger. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk_dev.c | 24 1 file changed, 24

[PATCH v6 14/14] misc: bcm-vk: add ttyVK support

2020-10-02 Thread Scott Branden
Add ttyVK support to driver to allow console access to VK card from host. Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where: x is the instance of the VK card y is the tty device number on the VK card Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/Makefile | 3 +- dri

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

2020-10-02 Thread Marco Elver
On Fri, 2 Oct 2020 at 21:32, Jann Horn wrote: > > That's another check; we don't want to make this more expensive. > > Ah, right, I missed that this is the one piece of KFENCE that is > actually really hot code until Dmitry pointed that out. > > But actually, can't you reduce how hot this is for

Re: [PATCH v7 3/3] media: i2c: ov772x: Add test pattern control

2020-10-02 Thread Lad, Prabhakar
Hi Sakari, Thank you for the review. On Fri, Oct 2, 2020 at 10:13 PM Sakari Ailus wrote: > > On Fri, Oct 02, 2020 at 05:56:56PM +0100, Lad Prabhakar wrote: > > Add support for test pattern control supported by the sensor. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Biju Das > > Revie

[PATCH] f2fs: f2fs_get_meta_page_nofail should not be failed

2020-10-02 Thread Jaegeuk Kim
Otherwise, f2fs can break the the consistency. (e.g., BUG_ON in f2fs_get_sum_page) Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 9 +++-- fs/f2fs/f2fs.h | 2 -- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index f183

Re: [PATCH v7 1/3] media: i2c: ov772x: Parse endpoint properties

2020-10-02 Thread Lad, Prabhakar
Hi Sakari, Thank you for the review. On Fri, Oct 2, 2020 at 10:12 PM Sakari Ailus wrote: > > Hi Prabhakar, > > On Fri, Oct 02, 2020 at 05:56:54PM +0100, Lad Prabhakar wrote: > > Parse endpoint properties using v4l2_fwnode_endpoint_alloc_parse() > > to determine the bus type and store it in the d

Re: [PATCH v8 0/7] Add UEFI support for RISC-V

2020-10-02 Thread Palmer Dabbelt
On Thu, 17 Sep 2020 15:37:09 PDT (-0700), Atish Patra wrote: This series adds UEFI support for RISC-V. Thanks, this is on for-next.

Re: [RESEND PATCH] spmi: prefix spmi bus device names with "spmi"

2020-10-02 Thread Stephen Boyd
Quoting Mark Brown (2020-10-02 11:04:30) > On Fri, Oct 02, 2020 at 10:48:32AM -0700, Stephen Boyd wrote: > > Quoting Mark Brown (2020-10-02 09:03:24) > > > > ...and doing this in the dev_name() should help other diagnostic users > > > (like dev_printk() for example). > > > Don't thinks like dev_p

Re: [PATCH] mm: memcg/slab: fix slab statistics in !SMP configuration

2020-10-02 Thread kernel test robot
Hi Roman, Thank you for the patch! Yet something to improve: [auto build test ERROR on mmotm/master] url: https://github.com/0day-ci/linux/commits/Roman-Gushchin/mm-memcg-slab-fix-slab-statistics-in-SMP-configuration/20201002-044114 base: git://git.cmpxchg.org/linux-mmotm.git master

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

2020-10-02 Thread Alex Williamson
On Fri, 2 Oct 2020 16:00:42 -0400 Matthew Rosato wrote: > 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-o

Re: [PATCH] mm: optionally disable brk()

2020-10-02 Thread Topi Miettinen
On 2.10.2020 20.52, David Hildenbrand wrote: On 02.10.20 19:19, Topi Miettinen wrote: The brk() system call allows to change data segment size (heap). This is mainly used by glibc for memory allocation, but it can use mmap() and that results in more randomized memory mappings since the heap is a

[GIT PULL] pin control fixes for v5.9

2020-10-02 Thread Linus Walleij
Hi Linus, some pin control fixes here, some four of them since -rc2. All of them are driver fixes, the Intel Cherryview being the most interesting one. Please pull them in! Yours, Linus Walleij The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020

Re: [PATCH V3 1/2] mfd: qcom-spmi-pmic: Convert bindings to .yaml format

2020-10-02 Thread Stephen Boyd
Quoting kgu...@codeaurora.org (2020-02-06 21:57:49) > On 2020-02-07 00:36, Stephen Boyd wrote: > > Quoting Kiran Gunda (2020-02-06 05:55:26) > >> Convert the bindings from .txt to .yaml format. > >> > >> Signed-off-by: Kiran Gunda > >> --- > > > > Did something change? Is there a cover letter? >

[tip:master] BUILD SUCCESS WITH WARNING d57a69be0c6af3327771a772d6b895bd665f3f25

2020-10-02 Thread kernel test robot
_table) is being placed in '__timer_of_table' Warning ids grouped by kconfigs: clang_recent_errors `-- arm-randconfig-r031-20201002 `-- ld.lld:warning:drivers-built-in.a(clocksource-timer-ti-dm-systimer.o):(__timer_of_table)-is-being-placed-in-__timer_of_table elapsed time: 721m

Re: [PATCH V5 1/3] soc: qcom: geni: Remove "iova" check

2020-10-02 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-10-01 01:44:23) > Remove "iova" check from geni_se_tx_dma_unprep and geni_se_rx_dma_unprep > fucntions as invalidating with dma_mapping_error() is enough. s/fucntions/functions/ also s/invalidating/checking/ > > Signed-off-by: Roja Rani Yarubandi > --- Revi

Re: [PATCH v2 2/3] media: i2c: Add support for the OV8865 image sensor

2020-10-02 Thread Sakari Ailus
Hi Kévin, Thanks for the patchset. It's a nice driver; please see my comments below. Please do cc me in future versions. On Fri, Aug 28, 2020 at 03:11:33PM +0200, Kévin L'hôpital wrote: > The ov8865 sensor from the Omnivision supports up to 3264x2448, > a 10 bits output format and MIPI CSI2 inte

Re: [GIT PULL] pin control fixes for v5.9

2020-10-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Oct 2020 23:45:39 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git > tags/pinctrl-v5.9-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d3d45f8220d60a0b2cf8fb2be4e6ffd9008e Thank you! -- Deet-do

<    5   6   7   8   9   10   11   12   13   >