Re: [PATCH] ARM: dts: stm32: Correct spi4 pins in stm32mp15-pinctrl.dtsi

2020-07-16 Thread Manivannan Sadhasivam
On Wed, Jul 08, 2020 at 01:43:24PM +0200, Patrick Delaunay wrote: > Move spi4_pins_a nodes from pinctrl_z to pinctrl > as the associated pins are not in BANK Z. > Yikes, that's a nasty misplacement! Thanks for fixing. > Fixes: 498a7014989dfdd9a47864b55704dc829ed0dc90 Fixes tag should be of below

Re: [virtio-dev] [RFC for Linux v4 0/2] virtio_balloon: Add VIRTIO_BALLOON_F_CONT_PAGES to report continuous pages

2020-07-16 Thread teawater
> 2020年7月16日 14:38,Michael S. Tsirkin 写道: > > On Thu, Jul 16, 2020 at 10:41:50AM +0800, Hui Zhu wrote: >> The first, second and third version are in [1], [2] and [3]. >> Code of current version for Linux and qemu is available in [4] and [5]. >> Update of this version: >> 1. Report continuous p

Re: [PATCH v3 2/2] phy: socionext: Add UniPhier AHCI PHY driver support

2020-07-16 Thread Kunihiko Hayashi
Hi Vinod, On 2020/07/16 15:37, Vinod Koul wrote: On 16-07-20, 11:43, Kunihiko Hayashi wrote: +static int uniphier_ahciphy_pxs3_init(struct uniphier_ahciphy_priv *priv) +{ + int i; + u32 val; + + /* setup port parameter */ + val = readl(priv->base + TXCTRL0); + val

Re: [PATCH] sound/pci/hda: Changes 'blacklist/whitelist' to 'blocklist/allowlist'

2020-07-16 Thread Takashi Iwai
On Wed, 15 Jul 2020 20:45:43 +0200, Paul Schulz wrote: > > Good news is that appears to be the only case of this particular usage > with MODULE_PARM_DESC > Searching for 'blacklist' and MODULE_PARM gives the following: > > sound/pci/hda/hda_intel.c:183:MODULE_PARM_DESC(pm_blacklist, "Enable > pow

Re: [PATCH] staging: rtl8712: Fixes coding style in several headers

2020-07-16 Thread Greg Kroah-Hartman
On Thu, Jul 16, 2020 at 02:41:12PM +0800, Qiu Wenbo wrote: > This patch fixes warnings in several headers found by the checkpatch.pl tool. What warnings specifically? Please only fix one type of warning per patch. > > Signed-off-by: Qiu Wenbo > --- > drivers/staging/rtl8712/rtl871x_event.h

Re: [PATCH 2/2] usb: typec: intel_pmc_mux: Check the port status before connect

2020-07-16 Thread Greg Kroah-Hartman
On Wed, Jul 15, 2020 at 05:33:10PM -0700, Rajmohan Mani wrote: > From: Heikki Krogerus > > The PMC microcontroller that we use for configuration, does > not supply any status information back. For port status we > need to talk to another controller on the board called IOM > (I/O manager). > > By

[PATCH RESEND] smp: Fix a potential usage of stale nr_cpus

2020-07-16 Thread Muchun Song
The get_option() maybe return 0, it means that the nr_cpus is not initialized. Then we will use the stale nr_cpus to initialize the nr_cpu_ids. So fix it. Signed-off-by: Muchun Song --- kernel/smp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/smp.c b/kernel/smp.c

Re: [PATCH 1/2] platform/x86: Add Intel Input Output Manager (IOM) driver

2020-07-16 Thread Greg Kroah-Hartman
On Wed, Jul 15, 2020 at 05:33:09PM -0700, Rajmohan Mani wrote: > Input Output Manager (IOM) is part of the Tiger Lake SoC that > configures the Type-C Sub System (TCSS). IOM is a micro controller > that handles Type-C topology, configuration and PM functions of > various Type-C devices connected on

Re: [PATCH 2/2] riscv: fix build warning of mm/pageattr

2020-07-16 Thread Pekka Enberg
On Thu, Jul 16, 2020 at 9:16 AM Zong Li wrote: > > Add hearder for missing prototype. Also, static keyword should be at > beginning of declaration. > > Signed-off-by: Zong Li Which prototype is missing? - Pekka

Re: [PATCH 07/17] dma: altera-msgdma: Fix struct documentation blocks

2020-07-16 Thread Stefan Roese
On 14.07.20 13:15, Lee Jones wrote: Fix some misspelling/description issues, demote non-kerneldoc header to standard comment block and provide a new description for msgdma_desc_config()'s 'stride' parameter. Fixes the following W=1 kernel build warning(s): drivers/dma/altera-msgdma.c:163: war

Re: [PATCH 2/2] riscv: fix build warning of mm/pageattr

2020-07-16 Thread Pekka Enberg
On Thu, Jul 16, 2020 at 10:11 AM Pekka Enberg wrote: > > On Thu, Jul 16, 2020 at 9:16 AM Zong Li wrote: > > > > Add hearder for missing prototype. Also, static keyword should be at > > beginning of declaration. > > > > Signed-off-by: Zong Li > > Which prototype is missing? Aah, never mind, you

[PATCH v8 0/2] debugfs: Add access restriction option

2020-07-16 Thread Peter Enderborg
Since debugfs include sensitive information it need to be treated carefully. But it also has many very useful debug functions for userspace. With this option we can have same configuration for system with need of debugfs and a way to turn it off. This gives a extra protection for exposure on system

Re: [PATCH v2 00/24] Set 3: Fix another set of SCSI related W=1 warnings

2020-07-16 Thread Lee Jones
On Wed, 15 Jul 2020, Martin K. Petersen wrote: > On Mon, 13 Jul 2020 08:59:37 +0100, Lee Jones wrote: > > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > Slowly working through

[PATCH 2/2] debugfs: Add access restriction option

2020-07-16 Thread Peter Enderborg
Since debugfs include sensitive information it need to be treated carefully. But it also has many very useful debug functions for userspace. With this option we can have same configuration for system with need of debugfs and a way to turn it off. This gives a extra protection for exposure on system

[PATCH 1/2] tracefs: Remove unnecessary debug_fs checks.

2020-07-16 Thread Peter Enderborg
This is a preparation for debugfs restricted mode. We don't need debugfs to trace, the removed check stop tracefs to work if debugfs is not initialised. We instead tries to automount within debugfs and relay on it's handling. The code path is to create a backward compatibility from when tracefs was

Re: [PATCH v2 00/24] Set 3: Fix another set of SCSI related W=1 warnings

2020-07-16 Thread Lee Jones
On Wed, 15 Jul 2020, Martin K. Petersen wrote: > On Mon, 13 Jul 2020 08:59:37 +0100, Lee Jones wrote: > > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > Slowly working through

[PATCH v4 0/7] Remove default DMA window before creating DDW

2020-07-16 Thread Leonardo Bras
There are some devices in which a hypervisor may only allow 1 DMA window to exist at a time, and in those cases, a DDW is never created to them, since the default DMA window keeps using this resource. LoPAR recommends this procedure: 1. Remove the default DMA window, 2. Query for which configs the

[PATCH v4 1/7] powerpc/pseries/iommu: Create defines for operations in ibm,ddw-applicable

2020-07-16 Thread Leonardo Bras
Create defines to help handling ibm,ddw-applicable values, avoiding confusion about the index of given operations. Signed-off-by: Leonardo Bras --- arch/powerpc/platforms/pseries/iommu.c | 43 -- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/arch/powerpc

[PATCH v4 2/7] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-07-16 Thread Leonardo Bras
>From LoPAR level 2.8, "ibm,ddw-extensions" index 3 can make the number of outputs from "ibm,query-pe-dma-windows" go from 5 to 6. This change of output size is meant to expand the address size of largest_available_block PE TCE from 32-bit to 64-bit, which ends up shifting page_size and migration_

[PATCH v4 3/7] powerpc/pseries/iommu: Move window-removing part of remove_ddw into remove_dma_window

2020-07-16 Thread Leonardo Bras
Move the window-removing part of remove_ddw into a new function (remove_dma_window), so it can be used to remove other DMA windows. It's useful for removing DMA windows that don't create DIRECT64_PROPNAME property, like the default DMA window from the device, which uses "ibm,dma-window". Signed-o

[PATCH v4 4/7] powerpc/pseries/iommu: Remove default DMA window before creating DDW

2020-07-16 Thread Leonardo Bras
On LoPAR "DMA Window Manipulation Calls", it's recommended to remove the default DMA window for the device, before attempting to configure a DDW, in order to make the maximum resources available for the next DDW to be created. This is a requirement for using DDW on devices in which hypervisor allo

[PATCH v4 5/7] powerpc/iommu: Move iommu_table cleaning routine to iommu_table_clean

2020-07-16 Thread Leonardo Bras
Move the part of iommu_table_free() that does struct iommu_table cleaning into iommu_table_clean, so we can invoke it separately. This new function is useful for cleaning struct iommu_table before initializing it again with a new DMA window, without having it freed and allocated again. Signed-off

[PATCH v4 6/7] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-07-16 Thread Leonardo Bras
As of today, if the biggest DDW that can be created can't map the whole partition, it's creation is skipped and the default DMA window "ibm,dma-window" is used instead. Usually this DDW is bigger than the default DMA window, and it performs better, so it would be nice to use it instead. The DDW c

[PATCH v4 7/7] powerpc/pseries/iommu: Rename "direct window" to "dma window"

2020-07-16 Thread Leonardo Bras
A previous change introduced the usage of DDW as a bigger indirect DMA mapping when the DDW available size does not map the whole partition. As most of the code that manipulates direct mappings was reused for indirect mappings, it's necessary to rename all names and debug/info messages to reflect

RE: [PATCH] tty: Add MOXA NPort Real TTY Driver

2020-07-16 Thread 陳昭勳
Hi Greg, Thanks for detailed and good suggestions! > From: linux-serial-ow...@vger.kernel.org > On Behalf Of Greg Kroah-Hartman > Sent: Tuesday, July 14, 2020 3:36 PM > To: Johnson CH Chen (陳昭勳) > Cc: Jiri Slaby ; linux-kernel@vger.kernel.org; > linux-ser...@vger.kernel.org > Subject: Re: [PATC

Re: [PATCH 09/14] spi: spi-zynq-qspi: Add description for 2 missing attributes/parameters

2020-07-16 Thread Michal Simek
On 15. 07. 20 17:06, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/spi/spi-zynq-qspi.c:143: warning: Function parameter or member 'dev' > not described in 'zynq_qspi' > drivers/spi/spi-zynq-qspi.c:334: warning: Function parameter or member 'spi' > not descr

Re: [PATCH 10/14] spi: spi-zynqmp-gqspi: Correct a couple of misspellings in kerneldoc

2020-07-16 Thread Michal Simek
On 15. 07. 20 17:06, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or member > 'slavecs' not described in 'zynqmp_gqspi_selectslave' > drivers/spi/spi-zynqmp-gqspi.c:205: warning: Function parameter or

Re: [PATCH] tty: Add MOXA NPort Real TTY Driver

2020-07-16 Thread Greg Kroah-Hartman
On Thu, Jul 16, 2020 at 07:19:02AM +, Johnson CH Chen (陳昭勳) wrote: > Hi Greg, > > Thanks for detailed and good suggestions! > > > From: linux-serial-ow...@vger.kernel.org > > On Behalf Of Greg Kroah-Hartman > > Sent: Tuesday, July 14, 2020 3:36 PM > > To: Johnson CH Chen (陳昭勳) > > Cc: Jiri

Re: [PATCH 02/10] media: uapi: h264: Further clarify scaling lists order

2020-07-16 Thread Hans Verkuil
On 15/07/2020 22:22, Ezequiel Garcia wrote: > Commit 0b0393d59eb4a ("media: uapi: h264: clarify > expected scaling_list_4x4/8x8 order") improved the > documentation on H264 scaling lists order. > > This commit improves the documentation by clarifying > that the lists themselves are expected in mat

[PATCH vhost next 05/10] vhost: Fix documentation

2020-07-16 Thread Eli Cohen
Fix documentation to match actual function prototypes. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- drivers/vhost/iotlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/iotlb.c b/drivers/vhost/iotlb.c index 1f0ca6e44410..0d4213a54a88 100644 --- a

Re: [PATCH] selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support

2020-07-16 Thread Paolo Pisati
On Thu, Jul 16, 2020 at 3:01 AM Jakub Kicinski wrote: > > Any reason you add this command before set -e ? > > It seems we want the script to fail if module can't be loaded. Cause if CONFIG_NF_DEFRAG_IPV6=y, the script would unnecessarily fail. -- bye, p.

[PATCH vhost next 01/10] vhost-vdpa: support batch updating

2020-07-16 Thread Eli Cohen
From: Jason Wang Change-Id: Ifd7139cfbd122dc22493f4bb93fa884f8edbddb6 Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 23 +-- include/uapi/linux/vhost_types.h | 2 ++ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/vhost/vdpa.c b/dri

Re: [PATCHv2] mm: Fix warning in move_normal_pmd()

2020-07-16 Thread Naresh Kamboju
On Thu, 16 Jul 2020 at 12:07, Naresh Kamboju wrote: > > On Thu, 16 Jul 2020 at 04:49, Linus Torvalds > wrote: > > > > On Wed, Jul 15, 2020 at 4:04 PM Linus Torvalds > > wrote: > > > > > > It *might* be as simple as this incremental thing on top > > > > No, it needs to be > > > > + if (*old

[PATCH vhost next 03/10] vdpa: remove hard coded virtq num

2020-07-16 Thread Eli Cohen
From: Max Gurtovoy This will enable vdpa providers to add support for multi queue feature and publish it to upper layers (vhost and virtio). Signed-off-by: Max Gurtovoy Reviewed-by: Jason Wang --- drivers/vdpa/ifcvf/ifcvf_main.c | 3 ++- drivers/vdpa/vdpa.c | 3 +++ drivers/vdpa

[PATCH vhost next 04/10] net/vdpa: Use struct for set/get vq state

2020-07-16 Thread Eli Cohen
For now VQ state involves 16 bit available index value encoded in u64 variable. In the future it will be extended to contain more fields. Use struct to contain the state, now containing only a single u16 for the available index. In the future we can add fields to this struct. Reviewed-by: Parav Pa

[PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state

2020-07-16 Thread Eli Cohen
Currently, get_vq_state() is used only to pass the available index value of a vq. Extend the struct to return status on the VQ to the caller. For now, define VQ_STATE_NOT_READY. In the future it will be extended to include other infomration. Modify current vdpa driver to update this field. Review

Re: [PATCH 2/2] riscv: fix build warning of mm/pageattr

2020-07-16 Thread Andreas Schwab
On Jul 16 2020, Zong Li wrote: > Add hearder for missing prototype. Also, static keyword should be at s/hearder/header/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

[PATCH vhost next 07/10] vdpa/mlx5: Add hardware descriptive header file

2020-07-16 Thread Eli Cohen
Keep all vdpa related hardware definitions in this file. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- drivers/vdpa/mlx5/core/mlx5_vdpa_ifc.h | 168 + 1 file changed, 168 insertions(+) create mode 100644 drivers/vdpa/mlx5/core/mlx5_vdpa_ifc.h diff --git a/driv

[PATCH vhost next 02/10] vdpa_sim: use the batching API

2020-07-16 Thread Eli Cohen
From: Jason Wang Change-Id: I3751f1aecce285e0f61530c69616852d49e5f547 Signed-off-by: Jason Wang --- drivers/vdpa/vdpa_sim/vdpa_sim.c | 20 drivers/vhost/vdpa.c | 1 - 2 files changed, 21 deletions(-) diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.c b/drivers/vdpa

[PATCH vhost next 08/10] vdpa/mlx5: Add support library for mlx5 VDPA implementation

2020-07-16 Thread Eli Cohen
Following patches introduce VDPA network driver for Mellanox Connectx6 devices. This patch provides functionality that will be used by those patches. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- drivers/vdpa/Kconfig | 8 + drivers/vdpa/Makefile | 1 + dr

[PATCH vhost next 00/10] VDPA support for Mellanox ConnectX devices

2020-07-16 Thread Eli Cohen
Hi Michael, please note that this series depends on mlx5 core device driver patches in mlx5-next branch in git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git. git pull git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git mlx5-next They also depend Jason Wang's patches

[PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code

2020-07-16 Thread Eli Cohen
Add code to support registering guest's memory region for the device. This code will be shared by network or block driver implementations. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- drivers/vdpa/mlx5/Makefile | 2 +- drivers/vdpa/mlx5/core/Makefile| 1 - drivers/vdpa

Re: [PATCH v4 2/4] iommu/arm-smmu: Workaround for Marvell Armada-AP806 SoC erratum #582743

2020-07-16 Thread Tomasz Nowicki
On 15.07.2020 12:32, Robin Murphy wrote: On 2020-07-15 08:06, Tomasz Nowicki wrote: From: Hanna Hawa Due to erratum #582743, the Marvell Armada-AP806 can't access 64bit to ARM SMMUv2 registers. Provide implementation relevant hooks: - split the writeq/readq to two accesses of writel/readl. -

[RFC PATCH] one-bit-adc-dac: Add initial version of one bit ADC, DAC

2020-07-16 Thread Cristian Pop
Implementation for 1-bit ADC (comparator) and a 1-bit DAC (switch) Signed-off-by: Cristian Pop --- drivers/iio/addac/one-bit-adc-dac.c | 229 1 file changed, 229 insertions(+) create mode 100644 drivers/iio/addac/one-bit-adc-dac.c diff --git a/drivers/iio/addac/one

Re: [PATCH 03/10] media: uapi: h264: Split prediction weight parameters

2020-07-16 Thread Hans Verkuil
On 15/07/2020 22:22, Ezequiel Garcia wrote: > The prediction weight parameters are only required under > certain conditions, which depend on slice header parameters. > > The slice header syntax specifies that the prediction > weight table is present if: > > ((weighted_pred_flag && (slice_type ==

Re: [PATCH 1/4] mm/page_alloc: fix non cma alloc context

2020-07-16 Thread Joonsoo Kim
2020년 7월 15일 (수) 오후 5:24, Vlastimil Babka 님이 작성: > > On 7/15/20 7:05 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > Currently, preventing cma area in page allocation is implemented by using > > current_gfp_context(). However, there are two problems of this > > implementation. > > > > Fi

Re: [PATCH v4 3/4] dt-bindings: arm-smmu: add compatible string for Marvell Armada-AP806 SMMU-500

2020-07-16 Thread Tomasz Nowicki
On 15.07.2020 12:36, Robin Murphy wrote: On 2020-07-15 08:06, Tomasz Nowicki wrote: Add specific compatible string for Marvell usage due to errata of accessing 64bits registers of ARM SMMU, in AP806. AP806 SoC uses the generic ARM-MMU500, and there's no specific implementation of Marvell, this

[PATCH] usb: usbtest: reduce stack usage in test_queue

2020-07-16 Thread Bixuan Cui
Fix the warning: [-Werror=-Wframe-larger-than=] drivers/usb/misc/usbtest.c: In function 'test_queue': drivers/usb/misc/usbtest.c:2148:1: warning: the frame size of 1232 bytes is larger than 1024 bytes Reported-by: kbuild test robot Signed-off-by: Bixuan Cui --- drivers/usb/misc/usbtest.c | 10

[PATCH 1/2] habanalabs: create internal CB pool

2020-07-16 Thread Oded Gabbay
From: Ofir Bitton Create a device MMU-mapped internal command buffer pool, in order to allow the driver to allocate CBs for the signal/wait operations that are fetched by the queues when they are configured with the user's address space ID. We must pre-map this internal pool due to performance i

[PATCH 2/2] habanalabs: enable device before hw_init()

2020-07-16 Thread Oded Gabbay
Device is now enabled before the hw_init() because part of the initialization requires communication with the device firmware to get information that is required for the initialization itself Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/device.c | 16 drivers/mi

Re: [virtio-dev] [RFC for qemu v4 2/2] virtio_balloon: Add dcvq to deflate continuous pages

2020-07-16 Thread teawater
> 2020年7月16日 14:39,Michael S. Tsirkin 写道: > > On Thu, Jul 16, 2020 at 10:41:55AM +0800, Hui Zhu wrote: >> This commit adds a vq dcvq to deflate continuous pages. >> When VIRTIO_BALLOON_F_CONT_PAGES is set, try to get continuous pages >> from icvq and use madvise MADV_WILLNEED with the pages. >

Re: [PATCH] mm: mmap: Merge vma after call_mmap() if possible

2020-07-16 Thread linmiaohe
linmiaohe wrote: >Andrew Morton wrote: > On Tue, 14 Jul 2020 11:07:44 +0800 linmiaohe wrote: >> >>> The vm_flags may be changed after call_mmap() because drivers may set >>> some flags for their own purpose. As a result, we failed to merge the >>> adjacent vma due to the different vm_flags as

Re: [PATCH 2/2] crypto: caam - support tagged keys for skcipher algorithms

2020-07-16 Thread Herbert Xu
On Mon, Jul 13, 2020 at 01:05:36AM +0300, Iuliana Prodan wrote: > Tagged keys are keys that contain metadata indicating what > they are and how to handle them using tag_object API. > > Add support, for tagged keys, to skcipher algorithms by > adding new transformations, with _tk_ prefix to disting

Re: [PATCH] arm64: dts: Introduce r8a774a1-beacon-rzg2m-kit

2020-07-16 Thread Geert Uytterhoeven
Hi Stephen, On Thu, Jul 16, 2020 at 2:38 AM Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2020-07-13 05:45:00) > > On Thu, Jul 9, 2020 at 12:00 AM Adam Ford wrote: > > > On Wed, Jul 8, 2020 at 4:53 PM Adam Ford wrote: > > > > On Mon, Jun 22, 2020 at 8:20 AM Geert Uytterhoeven > > > > wrot

Re: [PATCH RFC don't apply] vdpa_sim: endian-ness for config space

2020-07-16 Thread Jason Wang
On 2020/7/16 下午1:42, Michael S. Tsirkin wrote: On Wed, Jul 15, 2020 at 10:02:32PM +0800, Jason Wang wrote: On 2020/7/15 下午9:58, Michael S. Tsirkin wrote: VDPA sim stores config space as native endian, but that is wrong: modern guests expect LE. I coded up the following to fix it up, but it is

Re: [PATCH 4.19 00/58] 4.19.133-rc1 review

2020-07-16 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.133 release. > There are 58 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Thu, 16 Jul 2020 18:40:38 +

Re: [PATCH 5.7 000/166] 5.7.9-rc1 review

2020-07-16 Thread Greg Kroah-Hartman
On Wed, Jul 15, 2020 at 07:54:08AM -0600, Shuah Khan wrote: > On 7/14/20 12:42 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.9 release. > > There are 166 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

Re: [PATCH 1/4] mm/page_alloc: fix non cma alloc context

2020-07-16 Thread Vlastimil Babka
On 7/16/20 9:27 AM, Joonsoo Kim wrote: > 2020년 7월 15일 (수) 오후 5:24, Vlastimil Babka 님이 작성: >> > /* >> > * get_page_from_freelist goes through the zonelist trying to allocate >> > * a page. >> > @@ -3706,6 +3714,8 @@ get_page_from_freelist(gfp_t gfp_mask, unsigned int >> > order, int alloc_flag

Re: [PATCH 2/2] riscv: fix build warning of mm/pageattr

2020-07-16 Thread Zong Li
On Thu, Jul 16, 2020 at 3:24 PM Andreas Schwab wrote: > > On Jul 16 2020, Zong Li wrote: > > > Add hearder for missing prototype. Also, static keyword should be at > > s/hearder/header/ > > Andreas. > > -- > Andreas Schwab, sch...@linux-m68k.org > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 25

Re: [PATCH 5.7 000/166] 5.7.9-rc1 review

2020-07-16 Thread Greg Kroah-Hartman
On Wed, Jul 15, 2020 at 09:43:41AM -0700, Guenter Roeck wrote: > On 7/14/20 11:42 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.9 release. > > There are 166 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices

2020-07-16 Thread Eli Cohen
Add a front end VDPA driver that registers in the VDPA bus and provides networking to a guest. The VDPA driver creates the necessary resources on the VF it is driving such that data path will be offloaded. Notifications are being communicated through the driver. Currently, only VFs are supported.

Re: [PATCH v3 1/3] dt-binding: phy: convert ti,omap-usb2 to YAML

2020-07-16 Thread Roger Quadros
On 03/07/2020 11:58, Roger Quadros wrote: Hi Rob, On 02/07/2020 23:47, Rob Herring wrote: On Tue, 30 Jun 2020 12:27:27 +0300, Roger Quadros wrote: Move ti,omap-usb2 to its own YAML schema. Signed-off-by: Roger Quadros Reviewed-by: Rob Herring ---   .../devicetree/bindings/phy/ti,omap-usb

Re: [PATCH net-next v6 1/4] net: phy: add USXGMII link partner ability constants

2020-07-16 Thread Michael Walle
Am 2020-07-16 00:44, schrieb Vladimir Oltean: On Wed, Jul 15, 2020 at 10:33:23PM +0200, Michael Walle wrote: Am 2020-07-13 20:37, schrieb Michael Walle: > Am 2020-07-13 20:23, schrieb Russell King - ARM Linux admin: > > On Thu, Jul 09, 2020 at 11:35:23PM +0200, Michael Walle wrote: > > > The con

Re: [PATCH v4 4/7] iommu/vt-d: Handle non-page aligned address

2020-07-16 Thread Auger Eric
Hi Jacob, On 7/7/20 2:12 AM, Jacob Pan wrote: > From: Liu Yi L > > Address information for device TLB invalidation comes from userspace > when device is directly assigned to a guest with vIOMMU support. > VT-d requires page aligned address. This patch checks and enforce > address to be page alig

Re: KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read

2020-07-16 Thread Nicholas Piggin
Excerpts from Eric Biggers's message of July 16, 2020 4:54 pm: > On Thu, Jul 16, 2020 at 04:24:01PM +1000, Nicholas Piggin wrote: >> Excerpts from Eric Biggers's message of July 16, 2020 1:03 pm: >> > On Thu, Jul 16, 2020 at 09:42:03AM +1000, Dave Chinner wrote: >> >> On Wed, Jul 15, 2020 at 09:32:

Re: [PATCH v4 3/7] iommu/vt-d: Fix PASID devTLB invalidation

2020-07-16 Thread Auger Eric
Hi Jacob, On 7/7/20 2:12 AM, Jacob Pan wrote: > DevTLB flush can be used for both DMA request with and without PASIDs. > The former uses PASID#0 (RID2PASID), latter uses non-zero PASID for SVA > usage. > > This patch adds a check for PASID value such that devTLB flush with > PASID is used for SVA

Re: [PATCH 00/18] perf metric: Add support to reuse metric

2020-07-16 Thread John Garry
On 12/07/2020 14:26, Jiri Olsa wrote: hi, this patchset is adding the support to reused metric in another metric. The metric needs to be referenced by 'metric:' prefix. For example, to define IPC by using CPI with change like: "BriefDescription": "Instructions Per Cycle (per Logical P

Re: [PATCH] spi: spidev: Add compatible for external SPI ports on Kontron boards

2020-07-16 Thread Frieder Schrempf
On 15.07.20 21:06, Geert Uytterhoeven wrote: On Mon, Jul 13, 2020 at 5:11 PM Mark Brown wrote: On Mon, Jul 13, 2020 at 03:19:52PM +0200, Frieder Schrempf wrote: I would have expected that there is some kind of existing userspace API to load an overlay manually, but it seems like there isn't!?

Re: [PATCH 12/14] spi: spi-at91-usart: Make use of the defined 'struct of_device_id'

2020-07-16 Thread Lee Jones
On Wed, 15 Jul 2020, Alexandre Belloni wrote: > Hi Lee, > > On 15/07/2020 16:06:30+0100, Lee Jones wrote: > > It's there so why not use it. > > > > Is that the correct resolution? Isn't the proper thing to do simply > removing at91_usart_spi_dt_ids as the only way it will ever be probed is > th

RE: [PATCH v6 2/2] phy: intel: Add Keem Bay eMMC PHY support

2020-07-16 Thread Wan Mohamad, Wan Ahmad Zainie
Hi Vinod. Thanks for the review. > -Original Message- > From: Vinod Koul > Sent: Monday, July 13, 2020 1:40 PM > To: Wan Mohamad, Wan Ahmad Zainie > > Cc: kis...@ti.com; robh...@kernel.org; Shevchenko, Andriy > ; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org; MP, Sureshkuma

Re: [PATCH] net/9p: validate fds in p9_fd_open

2020-07-16 Thread Dominique Martinet
David Miller wrote on Wed, Jul 15, 2020: > From: Dominique Martinet > Date: Wed, 15 Jul 2020 15:47:56 +0200 > > It's honestly just a warn on something that would fail anyway so I'd > > rather let it live in -next first, I don't get why syzbot is so verbose > > about this - it sent a mail when it f

Re: [PATCH 16/30] scsi: arcmsr: arcmsr_hba: Make room for the trailing NULL, even if it is over-written

2020-07-16 Thread Lee Jones
On Wed, 15 Jul 2020, Martin K. Petersen wrote: > > Lee, > > > Ensure we do not copy the final one (which is not overwitten). > > > > - strncpy(&inqdata[8], "Areca ", 8); > > + strncpy(&inqdata[8], "Areca ", 9); > > /* Vendor Identification */ > > - s

Re: [PATCH] trace/events/sched.h: fix duplicated word

2020-07-16 Thread Peter Zijlstra
On Wed, Jul 15, 2020 at 06:31:38PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Change "It it" to "It is". So I read the diff 2 times, gave up and went to read the Changelog before I noticed the change... clearly I need more wake-up juice :-) Thanks!

Re: [PATCH v2 00/24] Set 3: Fix another set of SCSI related W=1 warnings

2020-07-16 Thread Lee Jones
On Thu, 16 Jul 2020, Lee Jones wrote: > On Wed, 15 Jul 2020, Martin K. Petersen wrote: > > > On Mon, 13 Jul 2020 08:59:37 +0100, Lee Jones wrote: > > > > > This set is part of a larger effort attempting to clean-up W=1 > > > kernel builds, which are currently overwhelmingly riddled with > > > ni

linux-next: manual merge of the akpm-current tree with the arm64 tree

2020-07-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/arm64/mm/init.c between commit: abb7962adc80 ("arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K and 64K configs") from the arm64 tree and commit: 10d44973d8ab ("mm/hugetlb: split hugetlb_cma in

Re: [PATCH v2 1/8] arch: arm: mach-davinci: Fix trivial spelling

2020-07-16 Thread Bartosz Golaszewski
On Wed, Jul 15, 2020 at 2:48 PM Kieran Bingham wrote: > > The word 'descriptor' is misspelled throughout the tree. > > Fix it up accordingly: > decriptors -> descriptors > > Signed-off-by: Kieran Bingham > --- > arch/arm/mach-davinci/board-da830-evm.c | 2 +- > 1 file changed, 1 insertion(+)

RE: [RFC PATCH 00/35] Move all PCIBIOS* definitions into arch/x86

2020-07-16 Thread David Laight
From: Benjamin Herrenschmidt > Sent: 15 July 2020 23:49 > On Wed, 2020-07-15 at 17:12 -0500, Bjorn Helgaas wrote: > > > I've 'played' with PCIe error handling - without much success. > > > What might be useful is for a driver that has just read ~0u to > > > be able to ask 'has there been an error s

Re: [PATCH vhost next 05/10] vhost: Fix documentation

2020-07-16 Thread Jason Wang
On 2020/7/16 下午3:23, Eli Cohen wrote: Fix documentation to match actual function prototypes. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen Acked-by: Jason Wang --- drivers/vhost/iotlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/iotlb

[PATCH V1 0/2] add PEC support on slave side

2020-07-16 Thread Rayagonda Kokatanur
This patch set adds support for PEC on Slave side. Rayagonda Kokatanur (2): i2c: add PEC error event i2c: iproc: add slave pec support drivers/i2c/busses/i2c-bcm-iproc.c | 50 +++--- include/linux/i2c.h| 1 + 2 files changed, 47 insertions(+), 4 delet

[PATCH V1 1/2] i2c: add PEC error event

2020-07-16 Thread Rayagonda Kokatanur
Add new event I2C_SLAVE_PEC_ERR to list of slave events. This event will be used by slave bus driver to indicate PEC error to slave client or backend driver. Signed-off-by: Rayagonda Kokatanur --- include/linux/i2c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/i2c.h b/inclu

[PATCH V1 2/2] i2c: iproc: add slave pec support

2020-07-16 Thread Rayagonda Kokatanur
Iproc supports PEC computation and checking in both Master and Slave mode. This patch adds support for PEC in slave mode. Signed-off-by: Rayagonda Kokatanur --- drivers/i2c/busses/i2c-bcm-iproc.c | 50 +++--- 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a

Re: [PATCH v1 2/4] remoteproc: qcom_q6v5_mss: Replace mask based tracking with size

2020-07-16 Thread Sibi Sankar
On 2020-07-14 22:48, Mathieu Poirier wrote: On Thu, Jul 09, 2020 at 01:31:54PM -0700, Rishabh Bhatnagar wrote: From: Sibi Sankar In order to land inline coredump support for mss, the dump_segment function would need to support granularities less than the segment size. This is achieved by repla

Re: [PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state

2020-07-16 Thread Jason Wang
On 2020/7/16 下午3:23, Eli Cohen wrote: Currently, get_vq_state() is used only to pass the available index value of a vq. Extend the struct to return status on the VQ to the caller. For now, define VQ_STATE_NOT_READY. In the future it will be extended to include other infomration. Modify current

Re: [PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code

2020-07-16 Thread Jason Wang
On 2020/7/16 下午3:23, Eli Cohen wrote: Add code to support registering guest's memory region for the device. It would be better to use "userspace" memory here since vhost-vDPA could be used by e.g dpdk application on the host in the future. Thanks

Re: [PATCH v3] mm/hugetlb: split hugetlb_cma in nodes with memory

2020-07-16 Thread Will Deacon
On Wed, Jul 15, 2020 at 09:59:24AM -0700, Mike Kravetz wrote: > On 7/15/20 1:18 AM, Will Deacon wrote: > >> diff --git a/mm/hugetlb.c b/mm/hugetlb.c > >> index f24acb3af741..a0007d1d12d2 100644 > >> --- a/mm/hugetlb.c > >> +++ b/mm/hugetlb.c > >> @@ -3273,6 +3273,9 @@ void __init hugetlb_add_hstate

Re: [PATCH v3] powerpc/pseries: detect secure and trusted boot state of the system.

2020-07-16 Thread Michal Suchánek
On Wed, Jul 15, 2020 at 07:52:01AM -0400, Nayna Jain wrote: > The device-tree property to check secure and trusted boot state is > different for guests(pseries) compared to baremetal(powernv). > > This patch updates the existing is_ppc_secureboot_enabled() and > is_ppc_trustedboot_enabled() functi

Re: [PATCH v2] scsi: fcoe: add missed kfree() in an error path

2020-07-16 Thread Jing Xiangfeng
On 2020/7/14 1:53, Ewan D. Milne wrote: See below. On Thu, 2020-07-09 at 20:05 +0800, Jing Xiangfeng wrote: fcoe_fdmi_info() misses to call kfree() in an error path. Add a label 'free_fdmi' and jump to it. Fixes: f07d46bbc9ba ("fcoe: Fix smatch warning in fcoe_fdmi_info function") Signed-of

RE: [REPORT] possible circular locking dependency when booting a VM on arm64 host

2020-07-16 Thread Salil Mehta
> From: Salil Mehta > Sent: Thursday, July 16, 2020 1:53 AM > To: 'Marc Zyngier' ; yuzenghui > > > From: Marc Zyngier [mailto:m...@kernel.org] > > Sent: Wednesday, July 15, 2020 5:09 PM > > To: yuzenghui > > > > Hi Zenghui, > > > > On 2020-07-09 11:41, Zenghui Yu wrote: > > > Hi All, > > > > > >

Re: [PATCH v6 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-16 Thread Bean Huo
On Wed, 2020-07-15 at 18:34 +, Avi Shchislowski wrote: > Hello All, > My name is Avi Shchislowski, I am managing the WDC's Linux Host R&D > team in which Avri is a member of. > As the review process of HPB is progressing very constructively, we > are getting more and more requests from OEMs, In

kernel oops in 'typec_ucsi' due to commit 'drivers property: When no children in primary, try secondary'

2020-07-16 Thread Maxim Levitsky
Hi! Few days ago I bisected a regression on 5.8 kernel: I have nvidia rtx 2070s and its USB type C port driver (which is open source) started to crash on load: [ +0.43] CPU: 19 PID: 31281 Comm: kworker/19:1 Tainted: PW O 5.8.0-rc3.stable #133 [ +0.45] Hardware name: Giga

Re: ath9k broken [was: Linux 5.7.3]

2020-07-16 Thread Viktor Jägersküpper
[CC'ed Roman] Kalle Valo: > Viktor Jägersküpper writes: > >> Greg Kroah-Hartman wrote: >>> On Fri, Jun 26, 2020 at 04:40:18PM +0200, Gabriel C wrote: Am Fr., 26. Juni 2020 um 15:51 Uhr schrieb Gabriel C : > > Am Fr., 26. Juni 2020 um 15:40 Uhr schrieb Greg Kroah-Hartman > :

Re: [PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state

2020-07-16 Thread Eli Cohen
On Thu, Jul 16, 2020 at 04:11:00PM +0800, Jason Wang wrote: > > On 2020/7/16 下午3:23, Eli Cohen wrote: > >Currently, get_vq_state() is used only to pass the available index value > >of a vq. Extend the struct to return status on the VQ to the caller. > >For now, define VQ_STATE_NOT_READY. In the fu

[PATCH v4 2/3] dt-binding: phy: ti,omap-usb2: Add quirk to disable charger detection

2020-07-16 Thread Roger Quadros
Add "ti,disable-charger-det" property to disable the USB2_PHY Charger Detect logic. Signed-off-by: Roger Quadros Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti

[PATCH v4 3/3] phy: omap-usb2-phy: disable PHY charger detect

2020-07-16 Thread Roger Quadros
AM654x PG1.0 has a silicon bug that D+ is pulled high after POR, which could cause enumeration failure with some USB hubs. Disabling the USB2_PHY Charger Detect function will put D+ into the normal state. Using property "ti,disable-charger-det" in the DT usb2-phy node to enable this workaround fo

[PATCH v4 1/3] dt-binding: phy: convert ti,omap-usb2 to YAML

2020-07-16 Thread Roger Quadros
Move ti,omap-usb2 to its own YAML schema. Signed-off-by: Roger Quadros Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/ti,omap-usb2.yaml | 72 +++ .../devicetree/bindings/phy/ti-phy.txt| 37 -- 2 files changed, 72 insertions(+), 37 deletions(-) create m

[PATCH v4 0/3] phy: omap-usb2: add quirk to disable charger detection

2020-07-16 Thread Roger Quadros
Hi, - convert DT binding to YAML - add DT property to disable charger detection (Errata i2075 for AM65 SR1.0) Changelog: v4 - fix example to fix dt_binding_check warnings - '#phy-cells' -> "#phy-cells" - Add 'oneOf' to compatible logic to allow just "ti,omap-usb2" as valid v3 - Removed quotes

Re: linux-next: manual merge of the akpm-current tree with the arm64 tree

2020-07-16 Thread Will Deacon
On Thu, Jul 16, 2020 at 06:00:12PM +1000, Stephen Rothwell wrote: > Today's linux-next merge of the akpm-current tree got a conflict in: > > arch/arm64/mm/init.c > > between commit: > > abb7962adc80 ("arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K > and 64K configs") > > from t

Re: [RFC for Linux v4 1/2] virtio_balloon: Add VIRTIO_BALLOON_F_CONT_PAGES and inflate_cont_vq

2020-07-16 Thread teawater
> 2020年7月16日 14:43,Michael S. Tsirkin 写道: > > On Thu, Jul 16, 2020 at 10:41:51AM +0800, Hui Zhu wrote: >> diff --git a/include/uapi/linux/virtio_balloon.h >> b/include/uapi/linux/virtio_balloon.h >> index dc3e656..4d0151a 100644 >> --- a/include/uapi/linux/virtio_balloon.h >> +++ b/include/ua

Re: [PATCH v7 3/4] remoteproc: Add inline coredump functionality

2020-07-16 Thread Sibi Sankar
On 2020-07-10 02:01, Rishabh Bhatnagar wrote: The current coredump implementation uses vmalloc area to copy all the segments. But this might put strain on low memory targets as the firmware size sometimes is in tens of MBs. The situation becomes worse if there are multiple remote processors under

Commit 'Bluetooth: Consolidate encryption handling in hci_encrypt_cfm' broke my JBL TUNE500BT headphones

2020-07-16 Thread Maxim Levitsky
Hi, Few days ago I bisected a recent regression in the 5.8 kernel: git bisect start # good: [3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162] Linux 5.7 git bisect good 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 # bad: [dcde237b9b0eb1d19306e6f48c0a4e058907619f] Merge tag 'perf-tools-fixes-2020-07-07' of

  1   2   3   4   5   6   7   8   9   10   >