Re: [PATCH v3 1/5] fpga: dfl: rename the bus type "dfl" to "fpga-dfl"

2020-09-27 Thread Xu Yilun
Hi Greg, On Sun, Sep 27, 2020 at 07:51:08AM +0200, Greg KH wrote: > On Sat, Sep 26, 2020 at 12:22:19PM -0700, Moritz Fischer wrote: > > Hi Greg, > > > > On Sat, Sep 26, 2020 at 08:09:13AM +0200, Greg KH wrote: > > > On Sat, Sep 26, 2020 at 10:23:46AM +0800, Xu Yilun wrote: > > > > Hi greg, > > >

perf script, libperf: python binding bug (bytearrays vs. strings)

2020-09-27 Thread Hagen Paul Pfeifer
Hallo Jiri, Arnaldo, after updating Debian (probably with the advent of Python 3.8.5, guessing) I get a wired behavior with python scripting. The error is that the python type for prev_comm and next_comm are not strings anymore, rather bytearrays. Which are incompatible types and scripts will not

Re: [PATCH v8 2/8] powerpc/vdso: Remove __kernel_datapage_offset and simplify __get_datapage()

2020-09-27 Thread Christophe Leroy
Le 21/09/2020 à 13:26, Will Deacon a écrit : On Fri, Aug 28, 2020 at 12:14:28PM +1000, Michael Ellerman wrote: Dmitry Safonov <0x7f454...@gmail.com> writes: On Wed, 26 Aug 2020 at 15:39, Michael Ellerman wrote: Christophe Leroy writes: We added a test for vdso unmap recently because it ha

Re: [PATCH v7 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2020-09-27 Thread kernel test robot
Hi Konstantin, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.9-rc6 next-20200925] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented i

RE: [PATCH 3/5] misc: vop: simply return the saved dma address instead of virt_to_phys

2020-09-27 Thread Sherry Sun
Hi Greg, > -Original Message- > On Fri, Sep 25, 2020 at 03:26:28PM +0800, Sherry Sun wrote: > > For noncoherent platform, the device page and vring should allocated > > by dma_alloc_coherent, when user space wants to get its physical > > address, virt_to_phys cannot be used, should simply

RE: [PATCH 1/5] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2020-09-27 Thread Ran Wang
Hi Rob Not sure whether you have missed this mail with my query. Regards, Ran On Wednesday, September 23, 2020 2:44 PM Ran Wang wrote: > > Hi Rob, > > On Wednesday, September 23, 2020 10:33 AM, Rob Herring wrote: > > > > On Wed, Sep 16, 2020 at 04:18:27PM +0800, Ran Wang wrote: > > > From: Biw

[PATCH v4 1/7] iommu: Handle freelists when using deferred flushing in iommu drivers

2020-09-27 Thread Lu Baolu
From: Tom Murphy Allow the iommu_unmap_fast to return newly freed page table pages and pass the freelist to queue_iova in the dma-iommu ops path. This is useful for iommu drivers (in this case the intel iommu driver) which need to wait for the ioTLB to be flushed before newly free/unmapped page

RE: [PATCH 4/5] misc: vop: set VIRTIO_F_ACCESS_PLATFORM for nocoherent platform

2020-09-27 Thread Sherry Sun
Hi Greg, > -Original Message- > From: Greg KH > Sent: 2020年9月25日 20:17 > To: Sherry Sun > Cc: sudeep.d...@intel.com; ashutosh.di...@intel.com; a...@arndb.de; > wang.y...@zte.com.cn; huang.ziji...@zte.com.cn; > rikard.falkeb...@gmail.com; lee.jo...@linaro.org; m...@redhat.com; linux- > ke

Re: [PATCH] fix double next comment in drivers/staging/nvec/nvec.c

2020-09-27 Thread Greg KH
On Sat, Sep 26, 2020 at 11:39:37PM -0700, Ryan Kosta wrote: > Signed-off-by: Ryan Kosta > --- > drivers/staging/nvec/nvec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c > index 360ec040774..a80996b2f5c 100644 >

[PATCH net-next 00/10] net: hns3: updates for -next

2020-09-27 Thread Huazhong Tan
To facilitate code maintenance and compatibility, #1 and #2 add device version to replace pci revision, #3 to #9 adds support for querying device capabilities and specifications, then the driver can use these query results to implement corresponding features (some features will be implemented later

[PATCH net-next 04/10] net: hns3: use capability flag to indicate FEC

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang Currently, the revision of the pci device is used to identify whether FEC is supported, which is not good for maintainability and compatibility. So use a capability flag to do that. Signed-off-by: Guangbin Huang Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilic

[PATCH net-next 06/10] net: hns3: add debugfs to dump device capabilities

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang Adds debugfs to dump each device capability whether is supported. Signed-off-by: Guangbin Huang Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 24 ++ 1 file changed, 24 insertions(+) diff --git a/drivers/net/ether

[PATCH net-next 02/10] net: hns3: delete redundant PCI revision judgement

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang Fibre device of PCI revision 0x20 don't support autoneg, and the ops get_autoneg() return AUTONEG_DISABLE so function hns3_nway_reset() will return earlier than judging PCI revision. Function hclge_handle_rocee_ras_error() don't need to judge PCI revision again because its c

[PATCH net-next 01/10] net: hns3: add device version to replace pci revision

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang To better identify the device version, struct hnae3_handle adds a member dev_version to replace pci revision. The dev_version consists of hardware version and PCI revision. The hardware version is queried from firmware by an existing firmware version query command. Signed-of

[PATCH net-next 05/10] net: hns3: use capabilities queried from firmware

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang In order to improve code maintainability and compatibility, the capabilities of new features are queried from firmware. The member flag in struct hnae3_ae_dev indicates not only capabilities, but some initialized status. As capabilities bits queried from firmware is too many

[PATCH net-next 10/10] net: hns3: add a structure for IR shaper's parameter in hclge_shaper_para_calc()

2020-09-27 Thread Huazhong Tan
As function hclge_shaper_para_calc() has too many arguments to add more, so encapsulate its three arguments ir_b, ir_u, ir_s into a structure. Signed-off-by: Huazhong Tan --- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 87 +++--- .../net/ethernet/hisilicon/hns3/hns3pf/hc

[PATCH net-next 09/10] net: hns3: add a check for device specifications queried from firmware

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang The device specifications querying is unsupported by the old firmware, in this case, these specifications are 0. However, some specifications should not be 0 or will cause problem. So after querying from firmware, some device specifications are needed to check their value an

[PATCH net-next 08/10] net: hns3: replace the macro of max tm rate with the queried specification

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang The max tm rate is a fixed value(100Gb/s) now as it is defined by a macro. In order to support other rates in different kinds of device, it is better to use specification queried from firmware to replace this macro. As function hclge_shaper_para_calc() has too many arguments

[PATCH net-next 07/10] net: hns3: add support to query device specifications

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang To improve code maintainability and compatibility, new commands HCLGE_OPC_QUERY_DEV_SPECS for PF and HCLGEVF_OPC_QUERY_DEV_SPECS for VF are introduced to query device specifications, instead of statically defining specifications by checking the hardware version or other metho

[PATCH net-next 03/10] net: hns3: add support to query device capability

2020-09-27 Thread Huazhong Tan
From: Guangbin Huang In order to improve code maintainability and compatibility, add support to query the device capability by expanding the existing version query command. The device capability refers to the features supported by the device. Signed-off-by: Guangbin Huang Signed-off-by: Huazhon

[PATCH v4 6/7] iommu/vt-d: Convert intel iommu driver to the iommu ops

2020-09-27 Thread Lu Baolu
From: Tom Murphy Convert the intel iommu driver to the dma-iommu api. Remove the iova handling and reserve region code from the intel iommu driver. Signed-off-by: Tom Murphy Signed-off-by: Lu Baolu --- drivers/iommu/intel/Kconfig | 1 + drivers/iommu/intel/iommu.c | 742 ++--

[PATCH v4 2/7] iommu: Add iommu_dma_free_cpu_cached_iovas()

2020-09-27 Thread Lu Baolu
From: Tom Murphy Add a iommu_dma_free_cpu_cached_iovas function to allow drivers which use the dma-iommu ops to free cached cpu iovas. Signed-off-by: Tom Murphy Signed-off-by: Lu Baolu --- drivers/iommu/dma-iommu.c | 9 + include/linux/dma-iommu.h | 8 2 files changed, 17 ins

Re: BUG: unable to handle kernel paging request in dqput

2020-09-27 Thread Takashi Iwai
On Sat, 26 Sep 2020 22:48:15 +0200, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:98477740 Merge branch 'rcu/urgent' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1793087590 > kernel co

[PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2

2020-09-27 Thread Anson Huang
On i.MX7ULP revision 2.2, the value is 3, so add support for this revision, otherwise, it will use default revision of 1.0 which is incorrect. Signed-off-by: Anson Huang --- arch/arm/mach-imx/mach-imx7ulp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b

RE: [PATCH 1/5] misc: vop: change the way of allocating vring for noncoherent platform

2020-09-27 Thread Sherry Sun
Hi Greg, > -Original Message- > On Fri, Sep 25, 2020 at 03:26:26PM +0800, Sherry Sun wrote: > > For noncoherent platform, we should allocate vring through > > dma_alloc_coherent api to ensure timely synchronization of vring. > > The orginal way which used __get_free_pages and dma_map_singl

<    2   3   4   5   6   7