RE: [PATCH v3 02/14] iommu: Report domain nesting info

2020-06-26 Thread Liu, Yi L
Hi Robin, > From: Robin Murphy > Sent: Saturday, June 27, 2020 12:05 AM > > On 2020-06-26 08:47, Jean-Philippe Brucker wrote: > > On Wed, Jun 24, 2020 at 01:55:15AM -0700, Liu Yi L wrote: > >> IOMMUs that support nesting translation needs report the capability > >> info to userspace, e.g. the fo

[PATCH net-next v3 0/5] hinic: add some ethtool ops support

2020-06-26 Thread Luo bin
patch #1: support to set and get pause params with "ethtool -A/a" cmd patch #2: support to set and get irq coalesce params with "ethtool -C/c" cmd patch #3: support to do self test with "ethtool -t" cmd patch #4: support to identify physical device with "ethtool -p" cmd patch #5

[PATCH net-next v3 3/5] hinic: add self test support

2020-06-26 Thread Luo bin
add support to excute internal and external loopback test with ethtool -t cmd. Signed-off-by: Luo bin --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 6 + .../net/ethernet/huawei/hinic/hinic_ethtool.c | 178 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 3 + .../net/

[PATCH net-next v3 5/5] hinic: add support to get eeprom information

2020-06-26 Thread Luo bin
add support to get eeprom information from the plug-in module with ethtool -m cmd. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 69 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 4 ++ .../net/ethernet/huawei/hinic/hinic_port.c| 72 +

[PATCH net-next v3 2/5] hinic: add support to set and get irq coalesce

2020-06-26 Thread Luo bin
add support to set TX/RX irq coalesce params with ethtool -C and get these params with ethtool -c. Signed-off-by: Luo bin --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 8 + .../net/ethernet/huawei/hinic/hinic_ethtool.c | 294 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.

[PATCH net-next v3 1/5] hinic: add support to set and get pause params

2020-06-26 Thread Luo bin
add support to set pause params with ethtool -A and get pause params with ethtool -a. Also remove set_link_ksettings ops for VF and enable pause by default. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 96 ++- .../net/ethernet/huawei/hinic/hinic_hw_d

[PATCH net-next v3 4/5] hinic: add support to identify physical device

2020-06-26 Thread Luo bin
add support to identify physical device by flashing an LED attached to it with ethtool -p cmd. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 41 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.c | 2 + .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 1 +

Re: [PATCH v2 1/2] fs,block: Introduce RWF_ZONE_APPEND and handling in direct IO path

2020-06-26 Thread Christoph Hellwig
On Sat, Jun 27, 2020 at 02:45:14AM +0530, Kanchan Joshi wrote: > For block IO path (which is the scope of this patchset) there is no > probelm in using RWF_APPEND for zone-append, because it does not do > anything for block device. We can use that, avoiding introduction of > RWF_ZONE_APPEND in user

RE: [PATCH v4 2/3] dt-bindings: arm: realtek: Document RTD1319 and Realtek Pym Particles EVB

2020-06-26 Thread James Tai [戴志峰]
> -Original Message- > From: Andreas Färber > Sent: Sunday, June 21, 2020 7:32 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰] ; Andreas Färber ; > Rob Herring ; devicet...@vger.kernel.org > Subject:

Re: [PATCH 3/3] ring-buffer: Add rb_time_t 64 bit operations for speeding up 32 bit

2020-06-26 Thread kernel test robot
Hi Steven, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.8-rc2 next-20200626] [cannot apply to tip/perf/core linux/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

RE: [PATCH v4 1/3] dt-bindings: arm: realtek: Convert comments to descriptions

2020-06-26 Thread James Tai [戴志峰]
> -Original Message- > From: linux-realtek-soc On > Behalf Of Andreas Farber > Sent: Sunday, June 21, 2020 7:32 AM > To: linux-realtek-...@lists.infradead.org > Cc: devicet...@vger.kernel.org; Rob Herring ; > linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Andreas > Fär

Re: [PATCH 02/11] powerpc/kexec_file: mark PPC64 specific code

2020-06-26 Thread Christophe Leroy
Le 26/06/2020 à 21:04, Hari Bathini a écrit : Some of the kexec_file_load code isn't PPC64 specific. Move PPC64 specific code from kexec/file_load.c to kexec/file_load_64.c. Also, rename purgatory/trampoline.S to purgatory/trampoline_64.S in the same spirit. At the time being, CONFIG_KEXEC_F

Re: [PATCH 01/11] kexec_file: allow archs to handle special regions while locating memory hole

2020-06-26 Thread Christophe Leroy
Le 26/06/2020 à 21:04, Hari Bathini a écrit : Some archs can have special memory regions, within the given memory range, which can't be used for the buffer in a kexec segment. As kexec_add_buffer() function is being called from generic code as well, add weak arch_kexec_add_buffer definition fo

[PATCH] ath10k: Add history for tracking certain events

2020-06-26 Thread Rakesh Pillai
For debugging many issues, a history of the below mentioned events can help get an idea of what exactly was going on just before any issue occurred in the system. These event history will be collected only when the host driver is run in debug mode (i.e. with the config ATH10K_DEBUG enabled). Add h

RE: [PATCH v3 02/14] iommu: Report domain nesting info

2020-06-26 Thread Liu, Yi L
> From: Jean-Philippe Brucker > Sent: Friday, June 26, 2020 3:48 PM > > On Wed, Jun 24, 2020 at 01:55:15AM -0700, Liu Yi L wrote: > > IOMMUs that support nesting translation needs report the capability > > info to userspace, e.g. the format of first level/stage paging structures. > > > > This pat

[PATCH] qlge.h: Adding the missing blank line after declarations

2020-06-26 Thread B K Karthik
Signed-off-by: B K Karthik --- drivers/staging/qlge/qlge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/qlge/qlge.h b/drivers/staging/qlge/qlge.h index fc8c5ca8935d..0b971a633001 100644 --- a/drivers/staging/qlge/qlge.h +++ b/drivers/staging/qlge/qlge.h @@ -2224,6 +2224,7 @

Re: [PATCH v1] bnx2x: use generic power management

2020-06-26 Thread Vaibhav Gupta
On Sat, 27 Jun 2020 at 00:44, David Miller wrote: > > From: Vaibhav Gupta > Date: Wed, 24 Jun 2020 23:21:17 +0530 > > > With legacy PM, drivers themselves were responsible for managing the > > device's power states and takes care of register states. > > > > After upgrading to the generic structur

Re: [PATCH 5/5] dt-bindings: timer: Add CLINT bindings

2020-06-26 Thread Anup Patel
On Fri, May 29, 2020 at 4:48 AM Rob Herring wrote: > > On Tue, May 26, 2020 at 05:32:30PM -0700, Palmer Dabbelt wrote: > > On Thu, 21 May 2020 23:29:36 PDT (-0700), sean...@gmail.com wrote: > > > On 5/22/20 1:54 AM, Anup Patel wrote: > > > > On Fri, May 22, 2020 at 1:35 AM Sean Anderson wrote: >

Re: KASAN: use-after-free Read in tipc_nl_node_dump_monitor_peer (2)

2020-06-26 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+c96e4dfb32f8987fd...@syzkaller.appspotmail.com Tested on: commit: 152c6a4d genetlink: get rid of family->attrbuf git tree: https://github.com/congwang/linux.git net

Re: [PATCH 4/4] staging: rtl8188eu: Replace function name with __func__

2020-06-26 Thread Greg KH
On Fri, Jun 26, 2020 at 11:36:42AM -0400, Brooke Basile wrote: > Fix the following checkpatch warning: > WARNING: Prefer using '"%s...", __func__' to using 'rtw_get_bcn_info', > this function's name, in a string > > Signed-off-by: Brooke Basile > --- > drivers/staging/rtl8188eu/core/rtw_i

Re: [PATCH V3] firmware: stratix10-svc: Fix some error handling code

2020-06-26 Thread Greg KH
On Fri, Jun 26, 2020 at 09:37:20PM +0200, Christophe JAILLET wrote: > --- > v2: takes Dan's comment into account and fix another resource leak. > v3: merge the previous 4 patches in a single one to ease review No, 4 small patches are _MUCH_ easier to review than one larger one that mixes everythi

Re: [PATCH V3] firmware: stratix10-svc: Fix some error handling code

2020-06-26 Thread Greg KH
On Fri, Jun 26, 2020 at 09:37:20PM +0200, Christophe JAILLET wrote: > Fix several error handling issues: When you have to list a bunch of different things you do in a driver, that's a huge hint this needs to be broken up into multiple patches. Please do that here. thanks, greg k-h

Re: [PATCH] fbtft-bus.c: Removing that prohibited space before ')'

2020-06-26 Thread Greg Kroah-Hartman
On Sat, Jun 27, 2020 at 12:51:50AM -0400, B K Karthik wrote: > fbtft-bus.c: > > fixing ERROR: space prohibited before that close parenthesis ')' by removing > that space and ',' in line 65 and 67. > > Signed-off-by: B K Karthik > --- > drivers/staging/fbtft/fbtft-bus.c | 4 ++-- > 1 file chang

Re: [PATCH] fbtft-bus.c: Removing that prohibited space before ')'

2020-06-26 Thread Joe Perches
On Sat, 2020-06-27 at 00:51 -0400, B K Karthik wrote: > fbtft-bus.c: > > fixing ERROR: space prohibited before that close parenthesis ')' by removing > that space and ',' in line 65 and 67. [] > diff --git a/drivers/staging/fbtft/fbtft-bus.c > b/drivers/staging/fbtft/fbtft-bus.c > index 63c65dd6

Re: linux-next: Fixes tag needs some work in the block tree

2020-06-26 Thread Stephen Rothwell
Hi Jens, On Fri, 26 Jun 2020 20:25:31 -0600 Jens Axboe wrote: > > Right, but that's what git format-patch does when the line is long. I just tested, and "git format-patch" (for me) does *not* split those lines. -- Cheers, Stephen Rothwell pgpMPaX2H1NdF.pgp Description: OpenPGP digital signat

Re: [PATCH] fbtft-bus.c:

2020-06-26 Thread Greg Kroah-Hartman
On Sat, Jun 27, 2020 at 12:50:04AM -0400, B K Karthik wrote: > fbtft-bus.c: > > fixing ERROR: space prohibited before that close parenthesis ')' by removing > that space and ',' in line 65 and 67. > > Signed-off-by: B K Karthik > --- > drivers/staging/fbtft/fbtft-bus.c | 4 ++-- > 1 file chang

Re: [PATCH] staging: media: usbvision: removing prohibited space before ',' (ctx:WxW)

2020-06-26 Thread Greg Kroah-Hartman
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I incl

Re: linux-next: Fixes tag needs some work in the block tree

2020-06-26 Thread Stephen Rothwell
Hi Konstantin, On Fri, 26 Jun 2020 21:56:05 -0400 Konstantin Ryabitsev wrote: > > On Fri, Jun 26, 2020 at 07:32:15PM -0600, Jens Axboe wrote: > > On 6/26/20 5:07 PM, Stephen Rothwell wrote: > > > Hi all, > > > > > > In commit > > > > > > cd664b0e35cb ("io_uring: fix hanging iopoll in case

Re: [PATCH 2/2] pci: Add parameter to disable attaching untrusted devices

2020-06-26 Thread Greg Kroah-Hartman
On Fri, Jun 26, 2020 at 11:53:34AM -0700, Rajat Jain wrote: > a) I think what was decided was introducing a device core "location" > property that can be exposed to userspace to help it to decide whether > or not to attach a driver to a device. Yes, that is still the plan. Great, but this patch ig

[PATCH 1/2] platform/chrome: cros_ec_typec: Use workqueue for port update

2020-06-26 Thread Prashant Malani
Use a work queue to call the port update routines, instead of doing it directly in the PD notifier callback. This will prevent other drivers with PD notifier callbacks from being blocked on the port update routine completing. Signed-off-by: Prashant Malani --- drivers/platform/chrome/cros_ec_typ

[PATCH 2/2] platform/chrome: cros_ec_typec: Add PM support

2020-06-26 Thread Prashant Malani
Define basic suspend resume functions for cros-ec-typec. On suspend, we simply ensure that any pending port update work is completed, and on resume, we re-poll the port state to account for any changes/disconnections that might have occurred during suspend. Signed-off-by: Prashant Malani --- dri

[PATCH v4 23/23] arm64: tegra: Add support for APE sound card on Jetson Nano and TX1

2020-06-26 Thread Sameer Pujar
This adds APE sound card support on Jetson Nano and TX1 which is based on simple-card driver. Earlier in the series simple-card driver is enhanced to work with multiple ASoC components. Based on board design required I/O interfaces are exposed for I2S and DMIC. More complicated audio paths will be

[PATCH v4 21/23] arm64: tegra: Add DT binding for AHUB components

2020-06-26 Thread Sameer Pujar
This patch adds few AHUB modules for Tegra210, Tegra186 and Tegra194. Bindings for following modules are added. * AHUB added as a child node under ACONNECT * AHUB includes many HW accelerators and below components are added as its children. * ADMAIF * I2S * DMIC * DSPK (added for T

[PATCH v4 16/23] ASoC: soc-pcm: Get all BEs along DAPM path

2020-06-26 Thread Sameer Pujar
dpcm_end_walk_at_be() stops the graph walk when first BE is found for the given FE component. In a component model we may want to connect multiple DAIs from different components. A new flag is introduced in 'snd_soc_card', which when set allows DAI/component chaining. Later PCM operations can be ca

[PATCH v4 17/23] ASoC: dt-bindings: simple-card: Add compatible for component chaining

2020-06-26 Thread Sameer Pujar
New compatible "simple-cc-audio-card" is exposed for simple-card driver which allows usage of DAI link chaining and thus connects multiple components together in a system. Signed-off-by: Sameer Pujar --- Documentation/devicetree/bindings/sound/simple-card.yaml | 1 + 1 file changed, 1 insertion(

[PATCH v4 22/23] arm64: tegra: Enable AHUB components on few Tegra platforms

2020-06-26 Thread Sameer Pujar
This patch enables AHUB, ADMAIF modules for following Tegra platforms. Along with this specific instances of I/O modules are enabled as per the board design. * Jetson TX1 - I2S1, I2S2, I2S3, I2S4 and I2S5 - DMIC1, DMIC2 and DMIC3 * Jetson Nano - I2S3 and I2S4 - DMIC1 and DMIC2 * J

[PATCH v4 15/23] ASoC: soc-core: Identify 'no_pcm' DAI links for DPCM

2020-06-26 Thread Sameer Pujar
PCM devices are created for dai links with 'no-pcm' flag as '0'. Such DAI links have CPU component which implement pcm_construct() and pcm_destruct() callbacks. Based on this, current patch exposes a helper function to identify such components and populate 'no_pcm' flag for DPCM DAI link. This hel

[PATCH v4 14/23] ASoC: soc-core: Probe auxiliary component before others

2020-06-26 Thread Sameer Pujar
A router component can be added as an auxiliary device to the sound card to help with audio routing across multiple components. DPCM dai links use CPU<->Dummy or Dummy<->Codec style of links in simple-card driver and hence do not have required DAI connections by default. Usually machine driver can

[PATCH v4 19/23] arm64: defconfig: Build AHUB component drivers

2020-06-26 Thread Sameer Pujar
This patch enables following configs: +CONFIG_TEGRA_ACONNECT=m +CONFIG_SND_SOC_TEGRA=m +CONFIG_SND_SOC_TEGRA210_AHUB=m +CONFIG_SND_SOC_TEGRA210_DMIC=m +CONFIG_SND_SOC_TEGRA210_I2S=m +CONFIG_SND_SOC_TEGRA186_DSPK=m +CONFIG_SND_SOC_TEGRA210_ADMAIF=m This patch helps to register AHUB and its c

[PATCH v4 20/23] arm64: defconfig: Enable CONFIG_TEGRA210_ADMA

2020-06-26 Thread Sameer Pujar
This commit builds ADMA driver which can be used on Tegra210 and later platforms to transfer audio data to/from AHUB (Audio Hub). Signed-off-by: Sameer Pujar --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/def

[PATCH v4 18/23] ASoC: simple-card: Add support for component chaining

2020-06-26 Thread Sameer Pujar
The simple-card driver supports both normal and DPCM DAI links. The sound cards requiring DPCM DAI link support use DPCM_SELECTABLE flag and DAI links are treated as DPCM links depending on the number of child nodes in a given DAI link. There is another requirement where multiple ASoC components n

[PATCH v4 07/23] ASoC: tegra: Add Tegra210 based ADMAIF driver

2020-06-26 Thread Sameer Pujar
ADMAIF is the interface between ADMA and AHUB. Each ADMA channel that sends/receives data to/from AHUB must intreface through an ADMAIF channel. ADMA channel sending data to AHUB pairs with an ADMAIF Tx channel and similarly ADMA channel receiving data from AHUB pairs with an ADMAIF Rx channel. Buf

[PATCH v4 09/23] ASoC: simple-card: Use of_node and DAI names for DAI link names

2020-06-26 Thread Sameer Pujar
For multiple instances of components, using DAI name alone for DAI links is causing conflicts. Components can define multiple DAIs and hence using just a device name won't help either. Thus DT device node reference and DAI names are used to uniquely represent DAI link names. Signed-off-by: Sameer

[PATCH v1] mm:free unused pages in kmalloc_order

2020-06-26 Thread Long Li
Environment using the slub allocator, 1G memory in my ARM32. kmalloc(1024, GFP_HIGHUSER) can allocate memory normally, kmalloc(64*1024, GFP_HIGHUSER) will cause a memory leak, because alloc_pages returns highmem physical pages, but it cannot be directly converted into a virtual address and return N

[PATCH v4 12/23] ASoC: simple-card: Support DPCM DAI link with multiple Codecs

2020-06-26 Thread Sameer Pujar
The simple-card driver supports multiple CPU and single Codec entries for DPCM DAI links. In some cases it is required to have multiple CPU/Codecs. Currently parsing logic for DPCM link loops over all children of DAI link but assumes that there is a single Codec entry. When DAI link has multiple Co

[PATCH v4 04/23] ASoC: tegra: Add Tegra210 based I2S driver

2020-06-26 Thread Sameer Pujar
The Inter-IC Sound (I2S) controller implements full-duplex, bi-directional and single direction point to point serial interface. It can interface with I2S compatible devices. Tegra I2S controller can operate as both master and slave. This patch registers I2S controller with ASoC framework. The com

[PATCH v4 06/23] ASoC: tegra: Add Tegra186 based DSPK driver

2020-06-26 Thread Sameer Pujar
The Digital Speaker Controller (DSPK) converts the multi-bit Pulse Code Modulation (PCM) audio input to oversampled 1-bit Pulse Density Modulation (PDM) output. From the signal flow perpsective, the DSPK can be viewed as a PDM transmitter that up-samples the input to the desired sampling rate by in

[PATCH v4 13/23] ASoC: simple-card: DPCM DAI link direction as per DAI capability

2020-06-26 Thread Sameer Pujar
The soc_new_pcm() fails for DAI link having DAI which supports a single stream direction of either PLAYBACK or CAPTURE. For example it fails for Microphone which can support CAPTURE stream only. This happens because simple-card driver by default populates both stream directions. This can be fixed

[PATCH v4 11/23] ASoC: simple-card: Loop over all children for 'mclk-fs'

2020-06-26 Thread Sameer Pujar
CPU/Codec in DPCM DAI links are connected as CPU<->Dummy and Dummy<->Codec. Though mostly CPU won't use/require 'mclk-fs' property, looping over 'np' (current child node in a DAI link) can help in cases where multiple Codecs are defined. This further helps to get rid of 'codec' argument from simple

[PATCH v4 05/23] ASoC: tegra: Add Tegra210 based AHUB driver

2020-06-26 Thread Sameer Pujar
The Audio Hub (AHUB) comprises a collection of hardware accelerators for audio pre/post-processing and a programmable full crossbar (XBAR) for routing audio data across these accelerators in time and in parallel. AHUB supports multiple interfaces to I2S, DSPK, DMIC etc., XBAR is a switch used to co

[PATCH v4 10/23] ASoC: simple-card: Wrong daifmt for CPU end of DPCM DAI link

2020-06-26 Thread Sameer Pujar
Consider following DPCM DAI link for example: simple-audio-card,dai-link@xxx { format = "i2s"; bitclock-master=<&cpu1>; frame-master=<&cpu1>; cpu1: cpu@0 { ... }; codec@0 { ... }; ... }; In above case CPU is expected to be configured

[PATCH v4 08/23] ASoC: soc-core: Fix component name_prefix parsing

2020-06-26 Thread Sameer Pujar
The "prefix" can be defined in DAI link node or it can be specified as part of the component node itself. Currently "sound-name-prefix" defined in a component is not taking effect. Actually the property is not getting parsed. It can be fixed by parsing "sound-name-prefix" property whenever "prefix"

[PATCH v4 00/23] Add support for Tegra210 Audio

2020-06-26 Thread Sameer Pujar
Overview Audio Processing Engine (APE) comprises of Audio DMA (ADMA) and Audio Hub (AHUB) unit. AHUB is a collection of hardware accelerators for audio pre-processing and post-processing. It also includes a programmable full crossbar for routing audio data across these accelerators. This

[PATCH v4 03/23] ASoC: tegra: Add Tegra210 based DMIC driver

2020-06-26 Thread Sameer Pujar
The Digital MIC (DMIC) Controller is used to interface with Pulse Density Modulation (PDM) input devices. The DMIC controller implements a converter to convert PDM signals to Pulse Code Modulation (PCM) signals. From signal flow perspective, the DMIC can be viewed as a PDM receiver. This patch reg

[PATCH v4 01/23] ASoC: dt-bindings: tegra: Add DT bindings for Tegra210

2020-06-26 Thread Sameer Pujar
This patch adds YAML schema for DT binding of AHUB and few of its following components. These devices will be registered as ASoC components and binding will be used on Tegra210 and later chips. * ADMAIF * I2S * DMIC * DSPK Signed-off-by: Sameer Pujar --- .../bindings/sound/nvidia,tegra186-ds

[PATCH v4 02/23] ASoC: tegra: Add support for CIF programming

2020-06-26 Thread Sameer Pujar
Audio Client Interface (CIF) is a proprietary interface employed to route audio samples through Audio Hub (AHUB) components by inter connecting the various modules. This patch exports an inline function tegra_set_cif() which can be used, for now, to program CIF on Tegra210 and later Tegra generati

[PATCH] fbtft-bus.c: Removing that prohibited space before ')'

2020-06-26 Thread B K Karthik
fbtft-bus.c: fixing ERROR: space prohibited before that close parenthesis ')' by removing that space and ',' in line 65 and 67. Signed-off-by: B K Karthik --- drivers/staging/fbtft/fbtft-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-b

[PATCH] fbtft-bus.c:

2020-06-26 Thread B K Karthik
fbtft-bus.c: fixing ERROR: space prohibited before that close parenthesis ')' by removing that space and ',' in line 65 and 67. Signed-off-by: B K Karthik --- drivers/staging/fbtft/fbtft-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-b

Re: [RESEND, v11 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-06-26 Thread Ramuthevar, Vadivel MuruganX
Hi Miquel, Thank you very much for the review comments and your time... On 26/6/2020 3:09 pm, Miquel Raynal wrote: Hello, "Ramuthevar,Vadivel MuruganX" wrote on Tue, 16 Jun 2020 17:33:32 +0800: From: Ramuthevar Vadivel Murugan This patch adds the new IP of Nand Flash Controller(NFC) suppo

Re: [Patch] mm: Increase pagevec size on large system

2020-06-26 Thread Andrew Morton
On Sat, 27 Jun 2020 04:13:04 +0100 Matthew Wilcox wrote: > On Fri, Jun 26, 2020 at 02:23:03PM -0700, Tim Chen wrote: > > Enlarge the pagevec size to 31 to reduce LRU lock contention for > > large systems. > > > > The LRU lock contention is reduced from 8.9% of total CPU cycles > > to 2.2% of CPU

Re: mmotm 2020-06-25-20-36 uploaded (mm/memory-failure.c)

2020-06-26 Thread Andrew Morton
On Fri, 26 Jun 2020 15:09:08 -0700 Randy Dunlap wrote: > On 6/25/20 8:37 PM, a...@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2020-06-25-20-36 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment:

Re: KASAN: use-after-free Read in tipc_nl_node_dump_monitor_peer (2)

2020-06-26 Thread Cong Wang
#syz test: https://github.com/congwang/linux.git net

ERROR: "min_low_pfn" undefined!

2020-06-26 Thread kernel test robot
Hi Arnd, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1590a2e1c681b0991bd42c992cabfd380e0338f2 commit: 710ec38b0f633ab3e2581f07a73442d809e28ab0 mm: add dummy can_do_mlock() helper date: 9 months ago config: m

[PATCH 2/2] vfio/type1: Update group->domain after aux attach and detach

2020-06-26 Thread Lu Baolu
Update group->domain whenever an aux-domain is attached to or detached from a mediated device. Without this change, iommu_get_domain_for_dev() will be broken for mdev devices. Fixes: 7bd50f0cd2fd5 ("vfio/type1: Add domain at(de)taching group helpers") Signed-off-by: Lu Baolu --- drivers/vfio/vfi

[PATCH 1/2] iommu: Add iommu_group_get/set_domain()

2020-06-26 Thread Lu Baolu
The hardware assistant vfio mediated device is a use case of iommu aux-domain. The interactions between vfio/mdev and iommu during mdev creation and passthr are: - Create a group for mdev with iommu_group_alloc(); - Add the device to the group with group = iommu_group_alloc(); if (

Re: [Patch] mm: Increase pagevec size on large system

2020-06-26 Thread Matthew Wilcox
On Fri, Jun 26, 2020 at 02:23:03PM -0700, Tim Chen wrote: > Enlarge the pagevec size to 31 to reduce LRU lock contention for > large systems. > > The LRU lock contention is reduced from 8.9% of total CPU cycles > to 2.2% of CPU cyles. And the pmbench throughput increases > from 88.8 Mpages/sec to

Re: [PATCH -next] scsi: ufs: ufs-exynos: Fix build warning

2020-06-26 Thread Martin K. Petersen
On Thu, 25 Jun 2020 21:14:05 +0530, Alim Akhtar wrote: > While building for x86_64 allmodconfig, below warning reported > > WARNING: modpost: missing MODULE_LICENSE() in drivers/scsi/ufs/ufs-exynos.o > > Add the missing license/author/description tags. Applied to 5.9/scsi-queue, thanks! [1/1]

Re: [PATCH 1/1] scsi: storvsc: fix spelling mistake

2020-06-26 Thread Martin K. Petersen
On Wed, 24 Jun 2020 15:56:00 +0200, Flavio Suligoi wrote: > Fix typo: "trigerred" --> "triggered" Applied to 5.9/scsi-queue, thanks! [1/1] scsi: storvsc: Fix spelling mistake https://git.kernel.org/mkp/scsi/c/fbca7a04dbd8 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: ufs: Disable WriteBooster capability in non-supported UFS device

2020-06-26 Thread Martin K. Petersen
On Thu, 25 Jun 2020 11:04:30 +0800, Stanley Chu wrote: > If UFS device is not qualified to enter the detection of WriteBooster > probing by disallowed UFS version or device quirks, then WriteBooster > capability in host shall be disabled to prevent any WriteBooster > operations in the future. App

Re: [PATCH] scsi: cumana_2: Fix different dev_id between 'request_irq()' and 'free_irq()'

2020-06-26 Thread Martin K. Petersen
On Thu, 25 Jun 2020 22:47:30 +0200, Christophe JAILLET wrote: > The dev_id used in 'request_irq()' and 'free_irq()' should match. > Use 'info' in both cases. Applied to 5.9/scsi-queue, thanks! [1/1] scsi: cumana_2: Fix different dev_id between request_irq() and free_irq() https://git.kerne

Re: [PATCH 12/26] mm/nds32: Use general page fault accounting

2020-06-26 Thread Greentime Hu
Peter Xu 於 2020年6月27日 週六 上午6:31寫道: > > Use the general page fault accounting by passing regs into handle_mm_fault(). > It naturally solve the issue of multiple page fault accounting when page fault > retry happened. > > Fix PERF_COUNT_SW_PAGE_FAULTS perf event manually for page fault retries, by >

KASAN: use-after-free Read in tipc_nl_node_dump_monitor_peer (2)

2020-06-26 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4a21185c Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1364f2e510 kernel config: https://syzkaller.appspot.com/x/.config?x=20c907630cbdbe5 dash

Re: [PATCH] RDMA/cma: Execute rdma_cm destruction from a handler properly

2020-06-26 Thread kernel test robot
Hi Jason, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.8-rc2 next-20200626] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git

Re: [PATCH v4] drm/mediatek: check plane visibility in atomic_update

2020-06-26 Thread Chun-Kuang Hu
Hi, Hsin-Yi: Hsin-Yi Wang 於 2020年6月22日 週一 下午11:57寫道: > > Disable the plane if it's not visible. Otherwise mtk_ovl_layer_config() > would proceed with invalid plane and we may see vblank timeout. > Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chu

Re: linux-next: Fixes tag needs some work in the block tree

2020-06-26 Thread Jens Axboe
On 6/26/20 7:56 PM, Konstantin Ryabitsev wrote: > On Fri, Jun 26, 2020 at 07:32:15PM -0600, Jens Axboe wrote: >> On 6/26/20 5:07 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> In commit >>> >>> cd664b0e35cb ("io_uring: fix hanging iopoll in case of -EAGAIN") >>> >>> Fixes tag >>> >>> Fixes: bb

Re: [PATCH net-next v2 5/5] hinic: add support to get eeprom information

2020-06-26 Thread luobin (L)
On 2020/6/24 6:02, Jakub Kicinski wrote: > On Tue, 23 Jun 2020 22:24:09 +0800 Luo bin wrote: >> +int hinic_get_sfp_type(struct hinic_hwdev *hwdev, u8 *data0, u8 *data1) >> +{ >> +u8 sfp_data[STD_SFP_INFO_MAX_SIZE]; >> +u16 len; >> +int err; >> + >> +if (!hwdev || !data0 || !data1) >

Re: linux-next: Fixes tag needs some work in the block tree

2020-06-26 Thread Konstantin Ryabitsev
On Fri, Jun 26, 2020 at 07:32:15PM -0600, Jens Axboe wrote: > On 6/26/20 5:07 PM, Stephen Rothwell wrote: > > Hi all, > > > > In commit > > > > cd664b0e35cb ("io_uring: fix hanging iopoll in case of -EAGAIN") > > > > Fixes tag > > > > Fixes: bbde017a32b3 ("io_uring: add memory barrier to sy

Re: [PATCH] io_uring: fix function args for !CONFIG_NET

2020-06-26 Thread Jens Axboe
On 6/26/20 5:32 PM, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors when CONFIG_NET is not set/enabled: > > ../fs/io_uring.c:5472:10: error: too many arguments to function ‘io_sendmsg’ > ../fs/io_uring.c:5474:10: error: too many arguments to function ‘io_send’ > ../fs/io_uring.c:54

Re: [PATCH v2 3/5] irqchip: Allow QCOM_PDC to be loadable as a permanent module

2020-06-26 Thread John Stultz
On Fri, Jun 26, 2020 at 12:42 AM Stephen Boyd wrote: > > Quoting John Stultz (2020-06-24 17:10:37) > > diff --git a/drivers/irqchip/qcom-pdc.c b/drivers/irqchip/qcom-pdc.c > > index 6ae9e1f0819d..3fee8b655da1 100644 > > --- a/drivers/irqchip/qcom-pdc.c > > +++ b/drivers/irqchip/qcom-pdc.c > > @@ -

Re: linux-next: Fixes tag needs some work in the block tree

2020-06-26 Thread Jens Axboe
On 6/26/20 5:07 PM, Stephen Rothwell wrote: > Hi all, > > In commit > > cd664b0e35cb ("io_uring: fix hanging iopoll in case of -EAGAIN") > > Fixes tag > > Fixes: bbde017a32b3 ("io_uring: add memory barrier to synchronize > > has these problem(s): > > - Subject has leading but no trailin

Re: [PATCH net-next v2 1/5] hinic: add support to set and get pause params

2020-06-26 Thread luobin (L)
On 2020/6/24 5:54, Jakub Kicinski wrote: > On Tue, 23 Jun 2020 22:24:05 +0800 Luo bin wrote: >> diff --git a/drivers/net/ethernet/huawei/hinic/hinic_main.c >> b/drivers/net/ethernet/huawei/hinic/hinic_main.c >> index e9e6f4c9309a..e69edb01fd9b 100644 >> --- a/drivers/net/ethernet/huawei/hinic/hini

[PATCH 0/3] ring-buffer: Restructure ftrace ring buffer time keeping to allow accurate nested timing

2020-06-26 Thread Steven Rostedt
I completed some thorough testing on these patches now, and have injected trace_printk()s (in a way to allow it to safely recurse) to force various data races and then examined the trace to make sure that everything it did was exactly what I expect it to do, or in cases where it did something surpr

[PATCH 1/3] ring-buffer: Have nested events still record running time stamp

2020-06-26 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Up until now, if an event is interrupted while it is recorded by an interrupt, and that interrupt records events, the time of those events will all be the same. This is because events only record the delta of the time since the previous event (or beginning of a pag

[PATCH 2/3] ring-buffer: Incorporate absolute timestamp into add_timestamp logic

2020-06-26 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Instead of calling out the absolute test for each time to check if the ring buffer wants absolute time stamps for all its recording, incorporate it with the add_timestamp field and turn it into flags for faster processing between wanting a absolute tag and needing

[PATCH 3/3] ring-buffer: Add rb_time_t 64 bit operations for speeding up 32 bit

2020-06-26 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" After a discussion with the new time algorithm to have nested events still have proper time keeping but required using local64_t atomic operations. Mathieu was concerned about the performance this would have on 32 bit machines, as in most cases, atomic 64 bit opera

RE: Re: [v1,net-next 3/4] net: qos: police action add index for tc flower offloading

2020-06-26 Thread Po Liu
Hi Jamal, > -Original Message- > From: Jamal Hadi Salim > Sent: 2020年6月26日 21:28 > To: Po Liu ; da...@davemloft.net; linux- > ker...@vger.kernel.org; net...@vger.kernel.org; ido...@idosch.org > Cc: j...@resnulli.us; vinicius.go...@intel.com; v...@buslov.dev; Claudiu > Manoil ; Vladimir O

Re: KASAN: use-after-free Read in addr_handler (2)

2020-06-26 Thread Jason Gunthorpe
On Sun, Jun 14, 2020 at 04:53:21PM +0800, Hillf Danton wrote: > > Wed, 10 Jun 2020 10:02:11 -0700 > > syzbot found the following crash on: > > > > HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. > > git tree: upstream > > console output: https://syzkaller.appspo

Re: [PATCH v3 bpf-next 4/4] selftests/bpf: add bpf_iter test with bpf_get_task_stack()

2020-06-26 Thread Yonghong Song
On 6/26/20 5:26 PM, Song Liu wrote: The new test is similar to other bpf_iter tests. It would be great if you can show some results from bpf_iter_task_stack.c dump. Signed-off-by: Song Liu --- .../selftests/bpf/prog_tests/bpf_iter.c | 17 ++ .../selftests/bpf/progs/bpf_ite

Compensation,

2020-06-26 Thread Mr. Newton Williams
Attention Beneficiary!!! We have actually been authorized by the newly appointed United Nation’s Secretary-General, and the governing body of the UNITED NATION’S Monetary Unit, to investigate the unnecessary delay on your compensation payment, recommended and approved in your favor. During the cou

[PATCH v3 bpf-next 2/4] bpf: introduce helper bpf_get_task_stack()

2020-06-26 Thread Song Liu
Introduce helper bpf_get_task_stack(), which dumps stack trace of given task. This is different to bpf_get_stack(), which gets stack track of current task. One potential use case of bpf_get_task_stack() is to call it from bpf_iter__task and dump all /proc//stack to a seq_file. bpf_get_task_stack()

[PATCH v3 bpf-next 3/4] bpf: allow %pB in bpf_seq_printf() and bpf_trace_printk()

2020-06-26 Thread Song Liu
This makes it easy to dump stack trace in text. Acked-by: Yonghong Song Signed-off-by: Song Liu --- kernel/trace/bpf_trace.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c index 977ba3b6f6c64..1d874d8e4384b 1006

[PATCH v3 bpf-next 1/4] perf: expose get/put_callchain_entry()

2020-06-26 Thread Song Liu
Sanitize and expose get/put_callchain_entry(). This would be used by bpf stack map. Suggested-by: Peter Zijlstra Signed-off-by: Song Liu --- include/linux/perf_event.h | 2 ++ kernel/events/callchain.c | 13 ++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/include/

[PATCH v3 bpf-next 4/4] selftests/bpf: add bpf_iter test with bpf_get_task_stack()

2020-06-26 Thread Song Liu
The new test is similar to other bpf_iter tests. Signed-off-by: Song Liu --- .../selftests/bpf/prog_tests/bpf_iter.c | 17 ++ .../selftests/bpf/progs/bpf_iter_task_stack.c | 53 +++ 2 files changed, 70 insertions(+) create mode 100644 tools/testing/selftests/bpf/progs/

[PATCH v3 bpf-next 1/4] perf: expose get/put_chain_entry()

2020-06-26 Thread Song Liu
Sanitize and expose get/put_chain_entry(). This would be used by bpf stack map. Suggested-by: Peter Zijlstra Signed-off-by: Song Liu --- include/linux/perf_event.h | 2 ++ kernel/events/callchain.c | 13 ++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/include/linu

[PATCH v3 bpf-next 0/4] bpf: introduce bpf_get_task_stack()

2020-06-26 Thread Song Liu
This set introduces a new helper bpf_get_task_stack(). The primary use case is to dump all /proc/*/stack to seq_file via bpf_iter__task. A few different approaches have been explored and compared: 1. A simple wrapper around stack_trace_save_tsk(), as v1 [1]. This approach introduces new s

Re: [RFC PATCH 01/10] DT bindings in plain text format

2020-06-26 Thread Jonathan Neuschäfer
On Mon, Jun 22, 2020 at 11:32:43AM +0100, Lee Jones wrote: > On Sun, 21 Jun 2020, Jonathan Neuschäfer wrote: > > > For reference, here are the devicetree bindings in plaintext format. > > (Not for merge.) > > This would be better placed inside the relevant patch(es), rather than > in a separate n

Re: [PATCH 2/2] staging: qlge: fix else after return or break

2020-06-26 Thread Joe Perches
On Sat, 2020-06-27 at 07:57 +0800, Coiby Xu wrote: > On Thu, Jun 25, 2020 at 03:13:14PM -0700, Joe Perches wrote: > > On Fri, 2020-06-26 at 05:57 +0800, Coiby Xu wrote: > > > Remove unnecessary elses after return or break. > > > > unrelated trivia: [] > > looks like all of these could use netdev_e

Re: [PATCH v2 bpf-next 2/4] bpf: introduce helper bpf_get_task_stak()

2020-06-26 Thread Andrii Nakryiko
On Fri, Jun 26, 2020 at 4:47 PM Song Liu wrote: > > > > > On Jun 26, 2020, at 3:51 PM, Andrii Nakryiko > > wrote: > > > > On Fri, Jun 26, 2020 at 3:45 PM Song Liu wrote: > >> > >> > >> > >>> On Jun 26, 2020, at 1:17 PM, Andrii Nakryiko > >>> wrote: > >>> > >>> On Thu, Jun 25, 2020 at 5:14 PM

Re: [PATCH 2/2] staging: qlge: fix else after return or break

2020-06-26 Thread Coiby Xu
On Thu, Jun 25, 2020 at 03:13:14PM -0700, Joe Perches wrote: On Fri, 2020-06-26 at 05:57 +0800, Coiby Xu wrote: Remove unnecessary elses after return or break. unrelated trivia: diff --git a/drivers/staging/qlge/qlge_dbg.c b/drivers/staging/qlge/qlge_dbg.c [] @@ -1391,12 +1391,11 @@ static

Re: [PATCH v2 bpf-next 2/4] bpf: introduce helper bpf_get_task_stak()

2020-06-26 Thread Song Liu
> On Jun 26, 2020, at 3:51 PM, Andrii Nakryiko > wrote: > > On Fri, Jun 26, 2020 at 3:45 PM Song Liu wrote: >> >> >> >>> On Jun 26, 2020, at 1:17 PM, Andrii Nakryiko >>> wrote: >>> >>> On Thu, Jun 25, 2020 at 5:14 PM Song Liu wrote: Introduce helper bpf_get_task_stack(), wh

  1   2   3   4   5   6   7   8   9   10   >