Re: [PATCH tip/core/rcu 14/15] rcu/tree: Allocate a page when caller is preemptible

2020-10-01 Thread Michal Hocko
On Thu 01-10-20 09:27:09, Paul E. McKenney wrote: [...] > commit ea5c19d21233b5e8d3d06c0d4ecd6be9f2829dc3 > Author: Paul E. McKenney > Date: Thu Oct 1 09:24:40 2020 -0700 > > kvfree_rcu: Use __GFP_NOMEMALLOC for single-argument kvfree_rcu() > > This commit applies the __GFP_NOMEMAL

Re: [GIT PULL][PATCH v4 0/9] Update to zstd-1.4.6

2020-10-01 Thread Christoph Hellwig
On Thu, Oct 01, 2020 at 06:35:34PM +, Nick Terrell wrote: > I???m open to suggestions on how to get a zstd update done better. I don???t > know of any way to break this patch up into smaller patches that all compile. > The code is all generated directly from upstream and modified to work in the

Re: get_cycles from modular code in jitterentropy, was Re: [PATCH] clocksource: clint: Export clint_time_val for modules

2020-10-01 Thread Stephan Mueller
Am Freitag, 2. Oktober 2020, 08:49:05 CEST schrieb Christoph Hellwig: Hi Christoph, > On Tue, Sep 29, 2020 at 11:56:18PM -0700, Palmer Dabbelt wrote: > > clint_time_val will soon be used by the RISC-V implementation of > > random_get_entropy(), which is a static inline function that may be used >

Re: [PATCH v4 0/9] Update to zstd-1.4.6

2020-10-01 Thread Christoph Hellwig
On Wed, Sep 30, 2020 at 08:05:45PM +, Nick Terrell wrote: > > > > On Sep 29, 2020, at 11:53 PM, Christoph Hellwig wrote: > > > > As you keep resend this I keep retelling you that should not do it. > > Please provide a proper Linux API, and switch to that. Versioned APIs > > have absolutely

Re: [PATCH v4 00/52] Fix html build with Sphinx 3.1 and above

2020-10-01 Thread Mauro Carvalho Chehab
Em Thu, 1 Oct 2020 15:48:54 -0600 Jonathan Corbet escreveu: > On Wed, 30 Sep 2020 15:24:23 +0200 > Mauro Carvalho Chehab wrote: > > > This series add proper support for Sphinx 3.1 and above for building the > > html docs. > > > > This series comes after the one I wrote fixing the warnings. >

Re: linux-next: Tree for Oct 1 (drivers/mfd/simple-mfd-i2c.o)

2020-10-01 Thread Lee Jones
On Thu, 01 Oct 2020, Randy Dunlap wrote: > On 10/1/20 11:32 PM, Lee Jones wrote: > > On Thu, 01 Oct 2020, Randy Dunlap wrote: > > > >> On 10/1/20 4:39 AM, Stephen Rothwell wrote: > >>> Hi all, > >>> > >>> Changes since 20200930: > >>> > >> > >> on x86_64: > >> > >> ld: drivers/mfd/simple-mfd-i2c.

Re: [PATCH 2/2] PM/hibernate: remove the bogus call to get_gendisk in software_resume

2020-10-01 Thread Christoph Hellwig
On Wed, Sep 30, 2020 at 05:45:27PM +0200, Rafael J. Wysocki wrote: > On Fri, Sep 25, 2020 at 6:15 PM Christoph Hellwig wrote: > > > > get_gendisk grabs a reference on the disk and file operation, so this > > code will leak both of them while having absolutely no use for the > > gendisk itself. > >

get_cycles from modular code in jitterentropy, was Re: [PATCH] clocksource: clint: Export clint_time_val for modules

2020-10-01 Thread Christoph Hellwig
On Tue, Sep 29, 2020 at 11:56:18PM -0700, Palmer Dabbelt wrote: > clint_time_val will soon be used by the RISC-V implementation of > random_get_entropy(), which is a static inline function that may be used by > modules (at least CRYPTO_JITTERENTROPY=m). At very least this needs to be an EXPORT_SYM

Re: [PATCH v4 03/11] arm64, kfence: enable KFENCE for ARM64

2020-10-01 Thread Jann Horn
On Tue, Sep 29, 2020 at 3:38 PM Marco Elver wrote: > Add architecture specific implementation details for KFENCE and enable > KFENCE for the arm64 architecture. In particular, this implements the > required interface in . Currently, the arm64 version does > not yet use a statically allocated memor

[PATCH] selftests/vm: fix: make check_config.sh executable

2020-10-01 Thread John Hubbard
commit 30fb9454ab23 ("selftests/vm: hmm-tests: remove the libhugetlbfs dependency") Signed-off-by: John Hubbard --- Hi, This applies to today's 20201001) linux-next. I forgot if this needs to be a separate patch or if it can be fixed up in Andrew's tree. thanks, John Hubbard

Re: [PATCH blk-next 1/2] blk-mq-rdma: Delete not-used multi-queue RDMA map queue code

2020-10-01 Thread Christoph Hellwig
On Tue, Sep 29, 2020 at 11:24:49AM -0700, Sagi Grimberg wrote: > Yes, basically usage of managed affinity caused people to report > regressions not being able to change irq affinity from procfs. Well, why would they change it? The whole point of the infrastructure is that there is a single sane a

Re: [PATCH][next] crypto: sun8i-ss@: fix memory leak on pointer d

2020-10-01 Thread Herbert Xu
On Tue, Sep 29, 2020 at 02:38:19PM +0100, Colin King wrote: > From: Colin Ian King > > Currently the error return path on a failed dma_mapping_error call > is not kfree'ing memory allocated to d. Add an extra error exit label > to end of the function where the kfree and return occurs to fix this

Re: [PATCH 0/5] Speed up mremap on large regions

2020-10-01 Thread Lokesh Gidra
On Thu, Oct 1, 2020 at 10:36 PM Kirill A. Shutemov wrote: > > On Thu, Oct 01, 2020 at 05:09:02PM -0700, Lokesh Gidra wrote: > > On Thu, Oct 1, 2020 at 9:00 AM Kalesh Singh wrote: > > > > > > On Thu, Oct 1, 2020 at 8:27 AM Kirill A. Shutemov > > > wrote: > > > > > > > > On Wed, Sep 30, 2020 at 03

Re: linux-next: Tree for Oct 1 (drivers/mfd/simple-mfd-i2c.o)

2020-10-01 Thread Randy Dunlap
On 10/1/20 11:32 PM, Lee Jones wrote: > On Thu, 01 Oct 2020, Randy Dunlap wrote: > >> On 10/1/20 4:39 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20200930: >>> >> >> on x86_64: >> >> ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': >> simple-mfd-i2c.c:(.text+

[PATCH v2] scsi: ufs: fix missing brace warning for old compilers

2020-10-01 Thread Pujin Shi
For older versions of gcc, the array = {0}; will cause warnings: drivers/scsi/ufs/ufshcd-crypto.c: In function 'ufshcd_crypto_keyslot_program': drivers/scsi/ufs/ufshcd-crypto.c:62:8: warning: missing braces around initializer [-Wmissing-braces] union ufs_crypto_cfg_entry cfg = { 0 }; ^

[tip:x86/platform] BUILD SUCCESS a0947081af2ac9549e6ba19877456730713bde23

2020-10-01 Thread kernel test robot
randconfig-a013-20200930 i386 randconfig-a014-20201001 i386 randconfig-a015-20201001 i386 randconfig-a013-20201001 i386 randconfig-a016-20201001 i386 randconfig-a011-20201001 i386 randconfig-a012

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

2020-10-01 Thread Jann Horn
On Tue, Sep 29, 2020 at 3:38 PM Marco Elver wrote: > This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a > low-overhead sampling-based memory safety error detector of heap > use-after-free, invalid-free, and out-of-bounds access errors. > > KFENCE is designed to be enabled in

Re: linux-next: Tree for Oct 1 (drivers/mfd/simple-mfd-i2c.o)

2020-10-01 Thread Lee Jones
On Thu, 01 Oct 2020, Randy Dunlap wrote: > On 10/1/20 4:39 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200930: > > > > on x86_64: > > ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': > simple-mfd-i2c.c:(.text+0x48): undefined reference to `__devm_regmap

Re: [PATCH] arm64: dts: zynqmp: Fix pcie ranges description

2020-10-01 Thread Michal Simek
Hi Laurent, On 02. 10. 20 4:02, Laurent Pinchart wrote: > Hi Michal, > > Thank you for the patch. > > On Tue, Sep 29, 2020 at 01:43:22PM +0200, Michal Simek wrote: >> DT schema is checking tuples which should be properly separated. The patch >> is doing this separation to avoid the following war

Re: [PATCH v9 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-10-01 Thread Miquel Raynal
Hi Yifeng, Yifeng Zhao wrote on Tue, 29 Sep 2020 17:08:05 +0800: > This driver supports Rockchip NFC (NAND Flash Controller) found on RK3308, > RK2928, RKPX30, RV1108 and other SOCs. The driver has been tested using > 8-bit NAND interface on the ARM based RK3308 platform. > > Support Rockchip S

Re: WARNING in cfg80211_connect

2020-10-01 Thread Johannes Berg
On Thu, 2020-10-01 at 21:31 -0700, syzbot wrote: > syzbot has bisected this issue to: > > commit 16d4d43595b4780daac8fcea6d042689124cb094 > Author: Christoph Hellwig > Date: Wed Jul 20 01:38:55 2016 + > > xfs: split direct I/O and DAX path > LOL! Unlike in many other cases, here I d

Re: [PATCH v3 2/2] Add hardware monitoring driver for Moortec MR75203 PVT controller

2020-10-01 Thread Tanwar, Rahul
Hi Guenter, On 2/10/2020 2:26 am, Guenter Roeck wrote: > On 9/29/20 1:59 AM, Rahul Tanwar wrote: >> PVT controller (MR75203) is used to configure & control >> Moortec embedded analog IP which contains temprature >> sensor(TS), voltage monitor(VM) & process detector(PD) >> modules. Add hardware m

Re: [PATCH v4 04/52] scripts: kernel-doc: make it more compatible with Sphinx 3.x

2020-10-01 Thread Mauro Carvalho Chehab
Em Thu, 1 Oct 2020 15:41:00 -0600 Jonathan Corbet escreveu: > On Wed, 30 Sep 2020 15:24:27 +0200 > Mauro Carvalho Chehab wrote: > > > With Sphinx 3.x, the ".. c:type:" tag was changed to accept either: > > > > .. c:type:: typedef-like declaration > > .. c:type:: name > > > > Using it

Re: [PATCH v2 RESEND 0/9] Some fixes for spi-s3c64xx

2020-10-01 Thread Krzysztof Kozlowski
On Thu, 1 Oct 2020 at 21:44, Mark Brown wrote: > > On Thu, Oct 01, 2020 at 09:02:57PM +0200, Krzysztof Kozlowski wrote: > > > That is correct. We did not provide final comments on the list so they > > could be added here - in change log. This would also be an explanation > > why there is a resend.

[PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-01 Thread Nicolin Chen
The bus_set_iommu() in tegra_smmu_probe() enumerates all clients to call in tegra_smmu_probe_device() where each client searches its DT node for smmu pointer and swgroup ID, so as to configure an fwspec. But this requires a valid smmu pointer even before mc and smmu drivers are probed. So in tegra_

[PATCH v4 3/3] iommu/tegra-smmu: Add PCI support

2020-10-01 Thread Nicolin Chen
This patch simply adds support for PCI devices. Signed-off-by: Nicolin Chen --- Changelog v3->v4 * Dropped !iommu_present() check * Added CONFIG_PCI check in the exit path v2->v3 * Replaced ternary conditional operator with if-else in .device_group() * Dropped change in tegra_smmu_remove() v

[PATCH v4 1/3] iommu/tegra-smmu: Use fwspec in tegra_smmu_(de)attach_dev

2020-10-01 Thread Nicolin Chen
In tegra_smmu_(de)attach_dev() functions, we poll DTB for each client's iommus property to get swgroup ID in order to prepare "as" and enable smmu. Actually tegra_smmu_configure() prepared an fwspec for each client, and added to the fwspec all swgroup IDs of client DT node in DTB. So this patch us

[PATCH v4 0/3] iommu/tegra-smmu: Add PCI support

2020-10-01 Thread Nicolin Chen
This series is to add PCI support in tegra-smmu driver. Changelog (Detail in each patch) v3->v4 * Dropped helper function * Found another way to get smmu pointer v2->v3 * Replaced with devm_tegra_get_memory_controller * Updated changes by following Dmitry's comments v1->v2 * Added PATCH-1 sug

Re: [PATCH] compat: move strut compat_iovec out of #ifdef CONFIG_COMPAT

2020-10-01 Thread Christoph Hellwig
ping? This is needed to unbreak the work.iov_iter branch that is in for-next. On Mon, Sep 28, 2020 at 06:14:14PM +0200, Christoph Hellwig wrote: > This avoid annoying ifdefs in iov_iter.c > > Signed-off-by: Christoph Hellwig > --- > > This fixes a build failure with the import_iovec / compat_i

Re: [PATCH v4 02/11] x86, kfence: enable KFENCE for x86

2020-10-01 Thread Jann Horn
On Tue, Sep 29, 2020 at 3:38 PM Marco Elver wrote: > Add architecture specific implementation details for KFENCE and enable > KFENCE for the x86 architecture. In particular, this implements the > required interface in for setting up the pool and > providing helper functions for protecting and unp

[PATCH v3 1/2] exfat: add exfat_update_inode()

2020-10-01 Thread Tetsuhiro Kohada
Integrate exfat_sync_inode() and mark_inode_dirty() as exfat_update_inode() Also, return the result of _exfat_write_inode () when sync is specified. Signed-off-by: Tetsuhiro Kohada --- Changes in v3 - no change Changes in v2 - no change fs/exfat/exfat_fs.h | 2 +- fs/exfat/file.c | 5 +-

[PATCH v3 2/2] exfat: aggregate dir-entry updates into __exfat_write_inode().

2020-10-01 Thread Tetsuhiro Kohada
The following function writes the updated inode information as dir-entry by themselves. - __exfat_truncate() - exfat_map_cluster() - exfat_find_empty_entry() Aggregate these writes into __exfat_write_inode(). In exfat_map_cluster(), the value obtained from i_size_read() is set to stream.valid_s

Re: [RFC PATCH v3 2/2] mm: remove extra ZONE_DEVICE struct page refcount

2020-10-01 Thread Christoph Hellwig
On Thu, Oct 01, 2020 at 11:17:15AM -0700, Ralph Campbell wrote: > ZONE_DEVICE struct pages have an extra reference count that complicates the > code for put_page() and several places in the kernel that need to check the > reference count to see that a page is not being used (gup, compaction, > migr

Re: [RFC PATCH v3 1/2] ext4/xfs: add page refcount helper

2020-10-01 Thread Christoph Hellwig
On Thu, Oct 01, 2020 at 11:17:14AM -0700, Ralph Campbell wrote: > There are several places where ZONE_DEVICE struct pages assume a reference > count == 1 means the page is idle and free. Instead of open coding this, > add a helper function to hide this detail. > > Signed-off-by: Ralph Campbell L

[PATCH 5/6] scripts: kernel-doc: add support for typedef enum

2020-10-01 Thread Mauro Carvalho Chehab
The PHY kernel-doc markup has gained support for documenting a typedef enum. However, right now the parser was not prepared for it. So, add support for parsing it. Fixes: 4069a572d423 ("net: phy: Document core PHY structures") Signed-off-by: Mauro Carvalho Chehab --- scripts/kernel-doc | 15 ++

[PATCH 1/6] net: core: document two new elements of struct net_device

2020-10-01 Thread Mauro Carvalho Chehab
As warned by "make htmldocs", there are two new struct elements that aren't documented: ../include/linux/netdevice.h:2159: warning: Function parameter or member 'unlink_list' not described in 'net_device' ../include/linux/netdevice.h:2159: warning: Function parameter or member 'n

[PATCH 6/6] docs: gpio: add a new document to its index.rst

2020-10-01 Thread Mauro Carvalho Chehab
There's now a new ReST file. Add it to the index.rst file. Fixes: ce7a2f77f976 ("docs: gpio: Add GPIO Aggregator documentation") Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/gpio/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/admin-guide/gpio/in

[PATCH 2/6] docs: vcpu.rst: fix some build warnings

2020-10-01 Thread Mauro Carvalho Chehab
As warned with make htmldocs: .../Documentation/virt/kvm/devices/vcpu.rst:70: WARNING: Malformed table. Text in column margin in table line 2. === == -ENODEV: PMUv3 not supported or GIC not initialized

[PATCH 0/6] Fix new html build warnings from next-20201001

2020-10-01 Thread Mauro Carvalho Chehab
There are some new warnings when building the documentation from yesterday's linux next. This small series fix them. - patch 1 documents two new kernel-doc parameters on a net core file. I used the commit log in order to help documenting them; - patch 2 fixes some tags at UMLv2 howto; - patches

[PATCH 4/6] docs: i2c: index.rst: add slave-testunit-backend.rst

2020-10-01 Thread Mauro Carvalho Chehab
As warned by Sphinx: .../Documentation/i2c/slave-testunit-backend.rst: WARNING: document isn't included in any toctree This document is not included anywhere. Fixes: a8335c64c5f0 ("i2c: add slave testunit driver") Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/hw-v

[PATCH 3/6] docs: virt: user_mode_linux_howto_v2.rst: fix a literal block markup

2020-10-01 Thread Mauro Carvalho Chehab
There's a missing new line for a literal block: .../Documentation/virt/uml/user_mode_linux_howto_v2.rst:682: WARNING: Unexpected indentation. Fixes: 04301bf5b072 ("docs: replace the old User Mode Linux HowTo with a new one") Signed-off-by: Mauro Carvalho Chehab --- Documentation/virt/

Re: [perf report] 977f739b71: perf-test.skid_test.round2.MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM_dtlb_withou t_NMI_fixed_period.fail

2020-10-01 Thread Philip Li
On Wed, Sep 30, 2020 at 02:41:07PM +0200, Michael Petlan wrote: > Hello. To me, it looks rather a random failure. Is it actually reproducible > and proven that the patch has caused it? The patch doesn't seem to cause thanks for the input, we will look into this and provide update. Now since we are

Re: [PATCH v4 02/11] x86, kfence: enable KFENCE for x86

2020-10-01 Thread Jann Horn
On Tue, Sep 29, 2020 at 3:38 PM Marco Elver wrote: > Add architecture specific implementation details for KFENCE and enable > KFENCE for the x86 architecture. In particular, this implements the > required interface in for setting up the pool and > providing helper functions for protecting and unp

Re: [PATCH 4/5] clk: qcom: Add SDM660 GPU Clock Controller (GPUCC) driver

2020-10-01 Thread Philip Li
On Wed, Sep 30, 2020 at 11:58:50PM +0200, AngeloGioacchino Del Regno wrote: > The kernel test robot is wrong: this commit builds fine by Thanks for the info and sorry for the wrong report. Currently it is hard to detect the base in this case automatically, if possible, we recommend to use --base op

Re: [kbuild-all] Re: [PATCH v5 03/15] misc: bcm-vk: add autoload support

2020-10-01 Thread Philip Li
729175845.1745471-1-keesc...@chromium.org/ > > > > > And when submitting patch, we suggest to use '--base' as documented in > > https://git-scm.com/docs/git-format-patch] > > > > url: > > https://github.com/0day-ci/linux/commits/Scott-Brande

Re: [PATCH 1/1] sched/uclamp: release per-task uclamp control if user set to default value

2020-10-01 Thread Yun Hsiang
On Wed, Sep 30, 2020 at 03:12:51PM +0200, Dietmar Eggemann wrote: Hi Dietmar, > Hi Yun, > > On 28/09/2020 10:26, Yun Hsiang wrote: > > If the user wants to release the util clamp and let cgroup to control it, > > we need a method to reset. > > > > So if the user set the task uclamp to the defaul

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

2020-10-01 Thread Philip Li
On Thu, Oct 01, 2020 at 05:55:59PM -0700, Roman Gushchin wrote: > On Fri, Oct 02, 2020 at 08:08:40AM +0800, kbuild test robot wrote: > > Hi Roman, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on mmotm/master] > > It's a bogus error, the patch was appl

Re: [PATCH 0/5] Speed up mremap on large regions

2020-10-01 Thread Kirill A. Shutemov
On Thu, Oct 01, 2020 at 05:09:02PM -0700, Lokesh Gidra wrote: > On Thu, Oct 1, 2020 at 9:00 AM Kalesh Singh wrote: > > > > On Thu, Oct 1, 2020 at 8:27 AM Kirill A. Shutemov > > wrote: > > > > > > On Wed, Sep 30, 2020 at 03:42:17PM -0700, Lokesh Gidra wrote: > > > > On Wed, Sep 30, 2020 at 3:32 PM

Re: [PATCH v3 10/13] ASoC: tegra: Add audio graph based card driver

2020-10-01 Thread Kuninori Morimoto
Hi Sameer > Add Tegra audio machine driver which is based on generic audio graph card > driver. It re-uses most of the common stuff from audio graph driver and > uses the same DT binding. Required Tegra specific customizations are done > in the driver. (snip) > +static const struct snd_soc_ops t

linux-next: manual merge of the tip tree with the iommu tree

2020-10-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: include/linux/iommu.h between commits: 23cc3493b5e1 ("iommu/uapi: Rename uapi functions") d90573812eea ("iommu/uapi: Handle data and argsz filled by users") from the iommu tree and commit: c7b6bac9c72c ("drm, iommu: C

HALIFAX TRANSFER

2020-10-01 Thread Susan
-- Halifax bank PLC on behalf of UNICEF have released your Charity cash transfer of $76,000,000 to assist the less privilege and charity organizations of your choice for a 30% compensation. Indicate if you are interested in handling this reputable charity project by providing your Identity

[rcu:dev.2020.09.29a] BUILD SUCCESS 490b638d7c241ac06cee168ccf8688bb8b872478

2020-10-01 Thread kernel test robot
randconfig-a016-20200930 x86_64 randconfig-a014-20200930 x86_64 randconfig-a011-20200930 x86_64 randconfig-a012-20201001 x86_64 randconfig-a015-20201001 x86_64 randconfig-a014-20201001 x86_64 randconfig-a013

Re: [PATCH v5 11/15] misc: bcm-vk: add BCM_VK_QSTATS

2020-10-01 Thread Greg Kroah-Hartman
On Thu, Oct 01, 2020 at 03:12:11PM -0700, Scott Branden wrote: > > > On 2020-09-30 7:33 p.m., Florian Fainelli wrote: > > > > > > On 9/30/2020 6:28 PM, Scott Branden wrote: > >> Add BCM_VK_QSTATS Kconfig option to allow for enabling debug VK > >> queue statistics. > >> > >> These statistics keep

[PATCH 2/3] PCI: endpoint: Add endpoint restart management

2020-10-01 Thread Kunihiko Hayashi
Add new functions to manage recovery of configuration parameters and restart the controller when asserting bus-reset from root-complex (RC). This feature is only available if bus-reset (PERST#) line is physically routed between RC and endpoint and the signal from RC affects endpoint. This feature

[PATCH 0/3] PCI: endpoint: Add endpoint restart management support

2020-10-01 Thread Kunihiko Hayashi
Add new functions to manage recovery of configuration for endpoint controller and restart the controller when asserting bus-reset from root complex (RC). This feature is only available if bus-reset (PERST#) line is physically routed between RC and endpoint, and the signal from RC also resets the e

[PATCH 3/3] PCI: uniphier-ep: Add EPC restart management support

2020-10-01 Thread Kunihiko Hayashi
Set the polling function and call the init function to enable EPC restart management. The polling function detects that the bus-reset signal is a rising edge. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/Kconfig| 1 + drivers/pci/controller/dwc/pcie-uniphier-ep.c |

[PATCH 1/3] PCI: endpoint: Add 'started' to pci_epc to set whether the controller is started

2020-10-01 Thread Kunihiko Hayashi
This adds a member 'started' as a boolean value to struct pci_epc to set whether the controller is started, and also adds a function to get the value. Signed-off-by: Kunihiko Hayashi --- drivers/pci/endpoint/pci-epc-core.c | 2 ++ include/linux/pci-epc.h | 7 +++ 2 files changed,

Re: [PATCH 0/8] Add support for UHS modes in TI's J721e and J7200 boards

2020-10-01 Thread Faiz Abbas
Hi Nishanth, On 02/10/20 12:43 am, Nishanth Menon wrote: > On 00:35-20201002, Faiz Abbas wrote: >> The following patches add support for UHS modes for TI's j721e and j7200 >> boards. >> >> Patches 1-3 add support for gpios to j7200-evm >> >> Patches 4-6 add support for voltage regulators for requi

Re: [PATCH 1/2] rcu/tree: Add a warning if CPU being onlined did not report QS already

2020-10-01 Thread Paul E. McKenney
On Tue, Sep 29, 2020 at 03:29:27PM -0400, Joel Fernandes (Google) wrote: > Currently, rcu_cpu_starting() checks to see if the RCU core expects a > quiescent state from the incoming CPU. However, the current interaction > between RCU quiescent-state reporting and CPU-hotplug operations should > mea

[PATCH v2] x86/dumpstack: Fix misleading instruction pointer error message

2020-10-01 Thread Mark Mossberg
Printing "Bad RIP value" if copy_code() fails can be misleading for userspace pointers, since copy_code() can fail if the instruction pointer is valid, but the code is paged out. This is because copy_code() calls copy_from_user_nmi() for userspace pointers, which disables page fault handling. This

Re: WARNING in cfg80211_connect

2020-10-01 Thread syzbot
syzbot has bisected this issue to: commit 16d4d43595b4780daac8fcea6d042689124cb094 Author: Christoph Hellwig Date: Wed Jul 20 01:38:55 2016 + xfs: split direct I/O and DAX path bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14f662b790 start commit: 87d5034d Merge t

drivers/gpu/drm/i915/gt/intel_workarounds.c:1082:20: error: function 'is_nonpriv_flags_valid' is not needed and will not be emitted

2020-10-01 Thread kernel test robot
: x86_64-randconfig-a005-20201001 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bcd05599d0e53977a963799d6ee4f6e0bc21331b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH 1/2] scsi: ufs: Use memset to initialize variable in ufshcd_crypto_keyslot_program

2020-10-01 Thread Eric Biggers
On Fri, Oct 02, 2020 at 12:05:17PM +0800, Pujin Shi wrote: > Clang warns: > > drivers/scsi/ufs/ufshcd-crypto.c:62:8: warning: missing braces around > initializer [-Wmissing-braces] > union ufs_crypto_cfg_entry cfg = { 0 }; > ^ > Which version of clang? I don't see the warning with cl

Re: [PATCH v7 07/13] PCI/AER: Extend AER error handling to RCECs

2020-10-01 Thread Sean V Kelley
On 1 Oct 2020, at 16:14, Bjorn Helgaas wrote: On Wed, Sep 30, 2020 at 02:58:14PM -0700, Sean V Kelley wrote: From: Jonathan Cameron Currently the kernel does not handle AER errors for Root Complex integrated End Points (RCiEPs)[0]. These devices sit on a root bus within the Root Complex (RC)

linux-next: build warning after merge of the sound-asoc tree

2020-10-01 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: sound/soc/fsl/fsl_spdif.c: In function 'fsl_spdif_probe': sound/soc/fsl/fsl_spdif.c:1255:22: warning: unused variable 'np' [-Wunused-variable] 1255 | struct device_node *np = pdev->

Re: dsa: mv88e6xxx: serdes link without phy

2020-10-01 Thread Chris Packham
On 2/10/20 1:36 am, Andrew Lunn wrote: >>> Can you run 1000Base-X over these links? >> With some reading "1000base-x" does seem the right thing to say here. >> It's even what is reflected in the CMODE field for those ports. > One more thing you might need is > > managed = "in-band-status"; > >>> I

Re: [REGRESSION] hwmon: (applesmc) avoid overlong udelay()

2020-10-01 Thread Guenter Roeck
On 10/1/20 3:22 PM, Andreas Kemnade wrote: > On Wed, 30 Sep 2020 22:00:09 +0200 > Arnd Bergmann wrote: > >> On Wed, Sep 30, 2020 at 6:44 PM Guenter Roeck wrote: >>> >>> On Wed, Sep 30, 2020 at 10:54:42AM +0200, Andreas Kemnade wrote: Hi, after the $subject patch I get lots of er

[PATCH 2/2] scsi: ufs: Use memset to initialize variable in ufshcd_clear_keyslot

2020-10-01 Thread Pujin Shi
Clang warns: drivers/scsi/ufs/ufshcd-crypto.c:103:8: warning: missing braces around initializer [-Wmissing-braces] union ufs_crypto_cfg_entry cfg = { 0 }; ^ Signed-off-by: Pujin Shi --- drivers/scsi/ufs/ufshcd-crypto.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/sc

[PATCH 1/2] scsi: ufs: Use memset to initialize variable in ufshcd_crypto_keyslot_program

2020-10-01 Thread Pujin Shi
Clang warns: drivers/scsi/ufs/ufshcd-crypto.c:62:8: warning: missing braces around initializer [-Wmissing-braces] union ufs_crypto_cfg_entry cfg = { 0 }; ^ Signed-off-by: Pujin Shi --- drivers/scsi/ufs/ufshcd-crypto.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --g

Re: linux-next: manual merge of the bpf-next tree with the bpf tree

2020-10-01 Thread Stephen Rothwell
Hi all, On Wed, 30 Sep 2020 14:07:15 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the bpf-next tree got a conflict in: > > tools/lib/bpf/btf.c > > between commit: > > 1245008122d7 ("libbpf: Fix native endian assumption when parsing BTF") > > from the bpf tree and commit:

linux-next: manual merge of the drm tree with Linus' tree

2020-10-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c between commit: b19515253623 ("drm/amd/pm: setup APU dpm clock table in SMU HW initialization") from the Linus tree and commits: 82cac71c1b64 ("drm/amd/pm: put Navi1X umc cdr w

[tip:x86/misc] BUILD SUCCESS f94c91f7ba3ba7de2bc8aa31be28e1abb22f849e

2020-10-01 Thread kernel test robot
-20201001 x86_64 randconfig-a015-20201001 x86_64 randconfig-a014-20201001 x86_64 randconfig-a013-20201001 x86_64 randconfig-a011-20201001 x86_64 randconfig-a016-20201001 i386 randconfig-a011-20200930 i386

[tip:core/debugobjects] BUILD SUCCESS 88451f2cd3cec2abc30debdf129422d2699d1eba

2020-10-01 Thread kernel test robot
randconfig-a013-20200930 x86_64 randconfig-a012-20200930 x86_64 randconfig-a016-20200930 x86_64 randconfig-a014-20200930 x86_64 randconfig-a011-20200930 x86_64 randconfig-a012-20201001 x86_64 randconfig-a015-20201001

Re: [RFC PATCH v1 04/26] docs: reporting-bugs: step-by-step guide for issues in stable & longterm

2020-10-01 Thread Randy Dunlap
On 10/1/20 1:39 AM, Thorsten Leemhuis wrote: > Handle stable and longterm kernels in a subsection, as dealing with them > directly in the main part of the step-by-step guide turned out to make > it messy and hard to follow: it looked a bit like code with a large > amount of if-then-else section to

Re: [PATCH] random: use correct memory barriers for crng_node_pool

2020-10-01 Thread Eric Biggers
On Thu, Sep 24, 2020 at 08:31:02PM -0700, Paul E. McKenney wrote: > On Thu, Sep 24, 2020 at 07:09:08PM -0700, Eric Biggers wrote: > > On Thu, Sep 24, 2020 at 05:59:34PM -0700, Paul E. McKenney wrote: > > > On Tue, Sep 22, 2020 at 02:55:58PM -0700, Eric Biggers wrote: > > > > On Tue, Sep 22, 2020 at

linux-next: manual merge of the net-next tree with the net tree

2020-10-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: Documentation/devicetree/bindings/net/renesas,ravb.txt between commit: 307eea32b202 ("dt-bindings: net: renesas,ravb: Add support for r8a774e1 SoC") from the net tree and commit: d7adf6331189 ("dt-bindings: net: re

RE: [PATCH] perf evlist: fix memory corruption for Kernel PMU event

2020-10-01 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Andi Kleen [mailto:a...@linux.intel.com] > Sent: Friday, October 2, 2020 12:07 PM > To: Song Bao Hua (Barry Song) > Cc: linux-kernel@vger.kernel.org; Linuxarm ; Peter > Zijlstra ; Ingo Molnar ; Arnaldo > Carvalho de Melo ; Mark Rutland > ; Alexander Shishkin

Re: [RFC PATCH v1 03/26] docs: reporting-bugs: step-by-step guide on how to report issues

2020-10-01 Thread Randy Dunlap
On 10/1/20 1:39 AM, Thorsten Leemhuis wrote: > > Signed-off-by: Thorsten Leemhuis > --- > Documentation/admin-guide/reporting-bugs.rst | 103 +++ > 1 file changed, 103 insertions(+) > > diff --git a/Documentation/admin-guide/reporting-bugs.rst > b/Documentation/admin-guide/repo

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-10-01 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 04:55:34AM +0300, Dmitry Osipenko wrote: > 02.10.2020 04:07, Nicolin Chen пишет: > > On Thu, Oct 01, 2020 at 11:33:38PM +0300, Dmitry Osipenko wrote: > > If we can't come to an agreement on globalizing mc pointer, would > > it be possible to pass tegra_mc_driver thro

drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:426:32: warning: unused variable 'aq_pm_ops'

2020-10-01 Thread kernel test robot
11 months ago config: x86_64-randconfig-a003-20201001 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bcd05599d0e53977a963799d6ee4f6e0bc21331b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/

[PATCH] seccomp: Make duplicate listener detection non-racy

2020-10-01 Thread Jann Horn
Currently, init_listener() tries to prevent adding a filter with SECCOMP_FILTER_FLAG_NEW_LISTENER if one of the existing filters already has a listener. However, this check happens without holding any lock that would prevent another thread from concurrently installing a new filter (potentially with

[PATCH net-next 4/4] net: dsa: Utilize __vlan_find_dev_deep_rcu()

2020-10-01 Thread Florian Fainelli
Now that we are guaranteed that dsa_untag_bridge_pvid() is called after eth_type_trans() we can utilize __vlan_find_dev_deep_rcu() which will take care of finding an 802.1Q upper on top of a bridge master. A common use case, prior to 12a1526d067 ("net: dsa: untag the bridge pvid from rx skbs") was

[PATCH net-next 3/4] net: dsa: Obtain VLAN protocol from skb->protocol

2020-10-01 Thread Florian Fainelli
Now that dsa_untag_bridge_pvid() is called after eth_type_trans() we are guaranteed that skb->protocol will be set to a correct value, thus allowing us to avoid calling vlan_eth_hdr(). Signed-off-by: Florian Fainelli --- net/dsa/dsa_priv.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH net-next 0/4] net: dsa: Improve dsa_untag_bridge_pvid()

2020-10-01 Thread Florian Fainelli
Hi David, Jakub, This patch series is based on the recent discussions with Vladimir: https://lore.kernel.org/netdev/20201001030623.343535-1-f.faine...@gmail.com/ the simplest way forward was to call dsa_untag_bridge_pvid() after eth_type_trans() has been set which guarantees that skb->protocol i

[PATCH net-next 2/4] net: dsa: b53: Set untag_bridge_pvid

2020-10-01 Thread Florian Fainelli
Indicate to the DSA receive path that we need to untage the bridge PVID, this allows us to remove the dsa_untag_bridge_pvid() calls from net/dsa/tag_brcm.c. Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 1 + net/dsa/tag_brcm.c | 15 ++- 2 files

[PATCH net-next 1/4] net: dsa: Call dsa_untag_bridge_pvid() from dsa_switch_rcv()

2020-10-01 Thread Florian Fainelli
When a DSA switch driver needs to call dsa_untag_bridge_pvid(), it can set dsa_switch::untag_brige_pvid to indicate this is necessary. This is a pre-requisite to making sure that we are always calling dsa_untag_bridge_pvid() after eth_type_trans() has been called. Signed-off-by: Florian Fainelli

Re: [PATCH v3 1/1] kdump: append uts_namespace.name offset to VMCOREINFO

2020-10-01 Thread lijiang
Hi, Alexander 在 2020年09月30日 18:23, Alexander Egorenkov 写道: > The offset of the field 'init_uts_ns.name' has changed > since commit 9a56493f6942 ("uts: Use generic ns_common::count"). > > Link: > https://lore.kernel.org/r/159644978167.604812.1773586504374412107.stgit@localhost.localdomain > > Ma

Re: [RFC PATCH v1 02/26] docs: reporting-bugs: Create a TLDR how to report issues

2020-10-01 Thread Randy Dunlap
On 10/1/20 1:39 AM, Thorsten Leemhuis wrote: > Get straight to the point in a few paragraphs instead of forcing users > to read quite a bit of text, like the old approach did. > > All normally needed fits into the first two paragraphs. The third is > dedicated to issues only happening in stable an

[PATCH] drivers:tty:pty: Fix a race causing data loss on close

2020-10-01 Thread minyard
From: Corey Minyard If you write to a pty master an immediately close the pty master, the receiver might get a chunk of data dropped, but then receive some later data. That's obviously something rather unexpected for a user. It certainly confused my test program. It turns out that tty_vhangup(

Re: [Linux-kernel-mentees][PATCH v2] net: usb: rtl8150: prevent set_ethernet_addr from setting uninit address

2020-10-01 Thread David Miller
From: Anant Thazhemadam Date: Thu, 1 Oct 2020 13:02:20 +0530 > When get_registers() fails (which happens when usb_control_msg() fails) > in set_ethernet_addr(), the uninitialized value of node_id gets copied > as the address. > > Checking for the return values appropriately, and handling the ca

Re: [RFC PATCH 22/22] x86/fpu/xstate: Introduce boot-parameters for control some state component support

2020-10-01 Thread Randy Dunlap
Hi-- On 10/1/20 1:39 PM, Chang S. Bae wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt > b/Documentation/admin-guide/kernel-parameters.txt > index a1068742a6df..742167c6f789 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kerne

Re: [PATCH v13 19/26] mm: Re-introduce do_mmap_pgoff()

2020-10-01 Thread Peter Collingbourne
On Fri, Sep 25, 2020 at 7:57 AM Yu-cheng Yu wrote: > > There was no more caller passing vm_flags to do_mmap(), and vm_flags was > removed from the function's input by: > > commit 45e55300f114 ("mm: remove unnecessary wrapper function > do_mmap_pgoff()"). > > There is a new user now. Shadow s

Re: [PATCH] arm64: dts: zynqmp: Fix pcie ranges description

2020-10-01 Thread Laurent Pinchart
Hi Michal, Thank you for the patch. On Tue, Sep 29, 2020 at 01:43:22PM +0200, Michal Simek wrote: > DT schema is checking tuples which should be properly separated. The patch > is doing this separation to avoid the following warning: > ..yaml: axi: pcie@fd0e:ranges: [[33554432, 0, 3758096384,

Re: linux-next: build failure after merge of the net-next tree

2020-10-01 Thread Stephen Rothwell
Hi Dave, On Thu, 01 Oct 2020 18:40:13 -0700 (PDT) David Miller wrote: > > From: Stephen Rothwell > Date: Tue, 29 Sep 2020 13:04:46 +1000 > > > Caused by commit > > > > eff7423365a6 ("net: core: introduce struct netdev_nested_priv for nested > > interface infrastructure") > > > > interacti

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-10-01 Thread Dmitry Osipenko
02.10.2020 04:07, Nicolin Chen пишет: > On Thu, Oct 01, 2020 at 11:33:38PM +0300, Dmitry Osipenko wrote: > If we can't come to an agreement on globalizing mc pointer, would > it be possible to pass tegra_mc_driver through tegra_smmu_probe() > so we can continue to use driver_find_device

Re: [PATCH v3 07/13] ASoC: audio-graph: Update driver as per new exposed members

2020-10-01 Thread Kuninori Morimoto
Hi Sameer > As per the members exposed earlier in the series, audio graph driver > is updated to make use of these. Functionally there is no change > in behavior if these are not populated. So following changes are made > as part of this. > > - Update 'dai_link->ops' for DPCM links if a custom

Re: [PATCH v3 06/13] ASoC: simple-card-utils: Expose new members for asoc_simple_priv

2020-10-01 Thread Kuninori Morimoto
Hi Sameer Thank you for the patch > Add new members in struct 'asoc_simple_priv'. Idea is to leverage > simple or graph card driver as much as possible and vendor can > maintain a thin driver to control the behavior by populating these > newly exposed members. re-use simple/audio-graph driver

Re: [PATCH net v1] net: phy: realtek: Modify 2.5G PHY name to RTL8226

2020-10-01 Thread David Miller
From: Willy Liu Date: Wed, 30 Sep 2020 14:48:58 +0800 > Realtek single-chip Ethernet PHY solutions can be separated as below: > 10M/100Mbps: RTL8201X > 1Gbps: RTL8211X > 2.5Gbps: RTL8226/RTL8221X > RTL8226 is the first version for realtek that compatible 2.5Gbps single PHY. > Since RTL8226 is sin

Re: [PATCH] caif_virtio: Remove redundant initialization of variable err

2020-10-01 Thread David Miller
From: Jing Xiangfeng Date: Wed, 30 Sep 2020 09:29:54 +0800 > After commit a8c7687bf216 ("caif_virtio: Check that vringh_config is not > null"), the variable err is being initialized with '-EINVAL' that is > meaningless. So remove it. > > Signed-off-by: Jing Xiangfeng Applied to net-next.

Re: linux-next: build failure after merge of the net-next tree

2020-10-01 Thread David Miller
From: Stephen Rothwell Date: Tue, 29 Sep 2020 13:04:46 +1000 > Caused by commit > > eff7423365a6 ("net: core: introduce struct netdev_nested_priv for nested > interface infrastructure") > > interacting with commit > > e1189d9a5fbe ("net: marvell: prestera: Add Switchdev driver implementat

  1   2   3   4   5   6   7   8   9   10   >