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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

[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

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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

[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

[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=<>; frame-master=<>; cpu1: cpu@0 { ... }; codec@0 { ... }; ... }; In above case CPU is expected to be configured as a

[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

[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

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

[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

[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

[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

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)

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

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

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:

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

[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

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.

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()

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

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]

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:

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

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’ >

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

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

[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

[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

[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

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

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:

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

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

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

[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

[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

[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

[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

[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

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

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

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 @@

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(),

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

2020-06-26 Thread Song Liu
> On Jun 26, 2020, at 4:11 PM, Andrii Nakryiko > wrote: > > On Fri, Jun 26, 2020 at 4:05 PM Song Liu wrote: >> >> >> >>> On Jun 26, 2020, at 1:21 PM, Andrii Nakryiko >>> wrote: >>> >>> On Thu, Jun 25, 2020 at 5:15 PM Song Liu wrote: The new test is similar to other

[PATCH] io_uring: fix function args for !CONFIG_NET

2020-06-26 Thread Randy Dunlap
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:5484:10: error: too many arguments to function

Re: [PATCH 0/2] sparc32: srmmu: improve type safety of __nocache_fix()

2020-06-26 Thread David Miller
From: Mike Rapoport Date: Fri, 26 Jun 2020 21:17:13 +0300 > Any comments on this? Sorry I didn't see this in my patchwork queue, could you please just resubmit it to sparcli...@vger.kernel.org Thank you.

Re: record_printk_text tricks: was: [PATCH v3 3/3] printk: use the lockless ringbuffer

2020-06-26 Thread John Ogness
On 2020-06-25, Petr Mladek wrote: >> --- a/kernel/printk/printk.c >> +++ b/kernel/printk/printk.c >> @@ -1344,72 +1304,150 @@ static size_t print_prefix(const struct printk_log >> *msg, bool syslog, >> return len; >> } >> >> -static size_t msg_print_text(const struct printk_log *msg,

Re: [PATCH v4 2/2] sched/uclamp: Protect uclamp fast path code with static key

2020-06-26 Thread Valentin Schneider
On 26/06/20 13:38, Patrick Bellasi wrote: > On Thu, Jun 25, 2020 at 17:43:52 +0200, Qais Yousef > wrote... >> @@ -994,9 +1013,16 @@ static inline void uclamp_rq_dec_id(struct rq *rq, >> struct task_struct *p, >> lockdep_assert_held(>lock); >> >> bucket =

Re: [PATCH v4 1/2] sched/uclamp: Fix initialization of struct uclamp_rq

2020-06-26 Thread Valentin Schneider
On 26/06/20 13:32, Patrick Bellasi wrote: > On Thu, Jun 25, 2020 at 17:43:51 +0200, Qais Yousef > wrote... > >> struct uclamp_rq was zeroed out entirely in assumption that in the first >> call to uclamp_rq_inc() they'd be initialized correctly in accordance to >> default settings. > > Perhaps

Re: [PATCH v2 15/17] arm64: Remove custom IRQ stat accounting

2020-06-26 Thread Valentin Schneider
On 26/06/20 12:58, Marc Zyngier wrote: > On 2020-06-25 19:26, Valentin Schneider wrote: >> On 24/06/20 20:58, Marc Zyngier wrote: >>> @@ -801,26 +802,15 @@ void show_ipi_list(struct seq_file *p, int prec) >>> unsigned int cpu, i; >>> >>> for (i = 0; i < NR_IPI; i++) { >>> +

[tip:x86/entry] BUILD SUCCESS 2c92d787cc9fad57d05c96bd117782183768258a

2020-06-26 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry branch HEAD: 2c92d787cc9fad57d05c96bd117782183768258a Merge branch 'linus' into x86/entry, to resolve conflicts elapsed time: 722m configs tested: 97 configs skipped: 4 The following configs have been built

[tip:master] BUILD SUCCESS 64c3af02c52e2f67b237d1848b0c27008b4f9158

2020-06-26 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: 64c3af02c52e2f67b237d1848b0c27008b4f9158 Merge branch 'WIP.fixes' elapsed time: 722m configs tested: 97 configs skipped: 4 The following configs have been built successfully. More configs may be

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

2020-06-26 Thread Andrii Nakryiko
On Fri, Jun 26, 2020 at 4:05 PM Song Liu wrote: > > > > > On Jun 26, 2020, at 1:21 PM, Andrii Nakryiko > > wrote: > > > > On Thu, Jun 25, 2020 at 5:15 PM Song Liu wrote: > >> > >> The new test is similar to other bpf_iter tests. > >> > >> Signed-off-by: Song Liu > >> --- > >>

linux-next: Signed-off-by missing for commit in the block tree

2020-06-26 Thread Stephen Rothwell
Hi all, Commit d3cac64c498c ("io_uring: fix NULL-mm for linked reqs") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpUjej8XyqjY.pgp Description: OpenPGP digital signature

Re: [PATCH 0/6] Overhaul memalloc_no*

2020-06-26 Thread Dave Chinner
On Fri, Jun 26, 2020 at 11:02:19AM -0400, Mikulas Patocka wrote: > Hi > > I suggest to join memalloc_noio and memalloc_nofs into just one flag that > prevents both filesystem recursion and i/o recursion. > > Note that any I/O can recurse into a filesystem via the loop device, thus > it doesn't

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

2020-06-26 Thread Stephen Rothwell
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 trailing parentheses - Subject has leading but no trailing quotes Please

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

2020-06-26 Thread Song Liu
> On Jun 26, 2020, at 1:21 PM, Andrii Nakryiko > wrote: > > On Thu, Jun 25, 2020 at 5:15 PM Song Liu wrote: >> >> The new test is similar to other bpf_iter tests. >> >> Signed-off-by: Song Liu >> --- >> .../selftests/bpf/prog_tests/bpf_iter.c | 17 ++ >>

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

2020-06-26 Thread Stephen Rothwell
Hi all, In commit 886c4fe8bdff ("nfsd4: fix nfsdfs reference count loop") Fixes tag Fixes: 2c830dd720 ("nfsd: persist nfsd filesystem across mounts") has these problem(s): - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11

linux-next: Fixes tag needs some work in the nfs-anna tree

2020-06-26 Thread Stephen Rothwell
Hi all, In commit b7ade38165ca ("sunrpc: fixed rollback in rpc_gssd_dummy_populate()") Fixes tag Fixes: commit 4b9a445e3eeb ("sunrpc: create a new dummy pipe for gssd to hold open") has these problem(s): - leading word 'commit' unexpected -- Cheers, Stephen Rothwell

  1   2   3   4   5   6   7   8   9   10   >