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

[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

[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

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

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

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

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

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

2020-10-01 Thread Philip Li
5845.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-Branden/Add-Broadcom-

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

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

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

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

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:

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

[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

[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

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

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 >

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

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

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

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

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 =

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

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

[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

[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

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

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

[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

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

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 >

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

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

2020-10-01 Thread kernel test robot
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/make.cross

[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

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

[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

[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

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

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

[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

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

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

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

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,

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

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

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

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

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

[PATCH v4] mmc: core: don't set limits.discard_granularity as 0

2020-10-01 Thread Coly Li
In mmc_queue_setup_discard() the mmc driver queue's discard_granularity might be set as 0 (when card->pref_erase > max_discard) while the mmc device still declares to support discard operation. This is buggy and triggered the following kernel warning message, WARNING: CPU: 0 PID: 135 at

Re: [PATCH net-next] drivers/net/wan/hdlc_fr: Correctly handle special skb->protocol values

2020-10-01 Thread David Miller
From: Xie He Date: Mon, 28 Sep 2020 05:56:43 -0700 > The fr_hard_header function is used to prepend the header to skbs before > transmission. It is used in 3 situations: > 1) When a control packet is generated internally in this driver; > 2) When a user sends an skb on an Ethernet-emulating PVC

Re: [PATCH v3] mmc: core: don't set limits.discard_granularity as 0

2020-10-01 Thread Coly Li
On 2020/10/2 02:47, Vicente Bergas wrote: > On Thursday, October 1, 2020 9:18:24 AM CEST, Coly Li wrote: >> In mmc_queue_setup_discard() the mmc driver queue's discard_granularity >> might be set as 0 (when card->pref_erase > max_discard) while the mmc >> device still declares to support discard

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

2020-10-01 Thread Nicolin Chen
On Thu, Oct 01, 2020 at 12:46:14PM +0200, Thierry Reding wrote: > > > > - /* > > > > -* This is a bit of a hack. Ideally we'd want to simply return > > > > this > > > > -* value. However the IOMMU registration process will attempt > > > > to add > > > > -* all

Re: [PATCH blk-next 0/2] Delete the get_vector_affinity leftovers

2020-10-01 Thread Jens Axboe
On 9/30/20 11:01 PM, Leon Romanovsky wrote: > On Tue, Sep 29, 2020 at 12:13:56PM +0300, Leon Romanovsky wrote: >> From: Leon Romanovsky >> >> There are no drivers that implement .get_vector_affinity(), so delete >> the RDMA function and simplify block code. >> >> Thanks >> >> P.S. Probably it

[PATCH v2] tracepoint: Fix out of sync data passing by static caller

2020-10-01 Thread Steven Rostedt
0x) - not-present page PGD 0 P4D 0 Oops: [#1] PREEMPT SMP PTI CPU: 4 PID: 158 Comm: kworker/4:2 Not tainted 5.9.0-rc7-test-next-20201001+ #12 Hardware name: Hewlett-Packard HP Compaq Pro 6300 SFF/339A, BIOS K01 v03.03 07/14/2016 Workqueue: 0x0 (events) RIP

[PATCH 2/2] exec: Broadly lock nascent mm until setup_arg_pages()

2020-10-01 Thread Jann Horn
While AFAIK there currently is nothing that can modify the VMA tree of a new mm until userspace has started running under the mm, we should properly lock the mm here anyway, both to keep lockdep happy when adding locking assertions and to be safe in the future in case someone e.g. decides to

[PATCH 1/2] mmap locking API: Order lock of nascent mm outside lock of live mm

2020-10-01 Thread Jann Horn
Until now, the mmap lock of the nascent mm was ordered inside the mmap lock of the old mm (in dup_mmap() and in UML's activate_mm()). A following patch will change the exec path to very broadly lock the nascent mm, but fine-grained locking should still work at the same time for the new mm. To do

[PATCH 0/2] Broad write-locking of nascent mm in execve

2020-10-01 Thread Jann Horn
These two patches replace "mmap locking API: don't check locking if the mm isn't live yet"[1], which is currently in the mmotm tree, and should be placed in the same spot where the old patch was. While I originally said that this would be an alternative patch (meaning that the existing patch

VM_HUGEPAGE support for XFS

2020-10-01 Thread Matthew Wilcox
Today I decided to implement VM_HUGEPAGE support for XFS. It turned out to be a rather simpler implementation than I was expecting because I could reuse the readahead implementation. Feel free to try it for yourself: http://git.infradead.org/users/willy/pagecache.git The patches up to "fs: Do

Re: [PATCH v4 1/2] dt-bindings: usb: Add binding for discrete onboard USB hubs

2020-10-01 Thread Alan Stern
On Thu, Oct 01, 2020 at 02:54:12PM -0700, Matthias Kaehlcke wrote: > Hi, > > thanks for providing more insights on the USB hardware! Sure. > On Wed, Sep 30, 2020 at 09:24:13PM -0400, Alan Stern wrote: > > A hub that attaches only to the USB-3 data wires in a cable is not USB > > compliant. A

[PATCH] tracepoint: Fix out of sync data passing by static caller

2020-10-01 Thread Steven Rostedt
: BUG: kernel NULL pointer dereference, address: 0048 #PF: supervisor read access in kernel mode #PF: error_code(0x) - not-present page PGD 0 P4D 0 Oops: [#1] PREEMPT SMP PTI CPU: 4 PID: 158 Comm: kworker/4:2 Not tainted 5.9.0-rc7-test-next-20201001+ #12 Hardware name: H

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

2020-10-01 Thread 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_by_fwnode() as v1? > >>> > >>> v1:

Re: [PATCH v8 6/8] KVM: x86: VMX: Prevent MSR passthrough when MSR access is denied

2020-10-01 Thread Peter Xu
Hi, I reported in the v13 cover letter of kvm dirty ring series that this patch seems to have been broken. Today I tried to reproduce with a simplest vm, and after a closer look... On Fri, Sep 25, 2020 at 04:34:20PM +0200, Alexander Graf wrote: > @@ -3764,15 +3859,14 @@ static u8

Gute Nachrichten !

2020-10-01 Thread Mr. Marvin
Die letzten Monate waren nicht gut für Unternehmen, Institutionen und Einzelpersonen auf der ganzen Welt. Die globale Epidemie (Covid-19) hat alle finanziell erschöpft und Sie wurden nicht freigestellt. Ihr Hilferuf wurde gehört und wir sind bereit, Ihnen unsere freundliche Geste anzubieten.

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

2020-10-01 Thread Roman Gushchin
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 applied onto mmotm/master, which doesn't contain necessary slab controller patches.

[PATCH v3 06/13] x86/platform/uv: Add and Decode Arch Type in UVsystab

2020-10-01 Thread Mike Travis
A patch to add and process the UV Arch Type field in the UVsystab passed from UV BIOS to the kernel. This allows the system to be recognized without relying on the OEM_ID which OEMs want to change. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Steve Wahl ---

Re: [PATCH v3 devicetree 0/2] Add Seville Ethernet switch to T1040RDB

2020-10-01 Thread Vladimir Oltean
On Thu, Oct 01, 2020 at 01:10:05PM -0700, David Miller wrote: > From: Vladimir Oltean > Date: Thu, 1 Oct 2020 16:20:11 +0300 > > > Seville is a DSA switch that is embedded inside the T1040 SoC, and > > supported by the mscc_seville DSA driver inside drivers/net/dsa/ocelot. > > > > This series

Re: [RESEND PATCH] spmi: prefix spmi bus device names with "spmi"

2020-10-01 Thread David Collins
On 10/1/20 11:51 AM, Stephen Boyd wrote: > Quoting Mark Brown (2020-10-01 10:43:26) >> On Wed, Sep 30, 2020 at 05:07:20PM -0700, Stephen Boyd wrote: >>> Quoting David Collins (2020-09-22 15:04:18) >> This helps to disambiguate SPMI device regmaps from I2C ones at /sys/kernel/debug/regmap

[PATCH v3 11/13] x86/platform/uv: Update UV5 TSC Checking

2020-10-01 Thread Mike Travis
Update check of BIOS TSC sync status to include both possible "invalid" states provided by newer UV5 BIOS. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl --- arch/x86/include/asm/uv/uv_hub.h | 2 +- arch/x86/kernel/apic/x2apic_uv_x.c | 24 ++-- 2 files changed, 11

[PATCH v3 12/13] x86/platform/uv: Update for UV5 NMI MMR changes

2020-10-01 Thread Mike Travis
The UV NMI MMR addresses and fields moved between UV4 and UV5 necessitating a rewrite of the UV NMI handler. Adjust references to accommodate those changes. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Steve Wahl --- arch/x86/include/asm/uv/uv_hub.h | 13 ---

[PATCH v3 03/13] x86/platform/uv: Adjust references in UV kernel modules

2020-10-01 Thread Mike Travis
Make a small symbol change (is_uv() ==> is_uv_sys()) to accommodate a change in the uv_mmrs.h file (is_uv() is the new arch selector function). Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Steve Wahl --- drivers/misc/sgi-xp/xp.h| 8

Re: [PATCH 7/7] TC-ETF support PTP clocks

2020-10-01 Thread Thomas Gleixner
On Thu, Oct 01 2020 at 22:51, Erez Geva wrote: > - Add support for using a POSIX dynamic clock with > Traffic control Earliest TxTime First (ETF) Qdisc. > --- a/include/uapi/linux/net_tstamp.h > +++ b/include/uapi/linux/net_tstamp.h > @@ -167,6 +167,11 @@ enum txtime_flags { >

Re: [PATCH rdma-next v3 0/4] Query GID table API

2020-10-01 Thread Jason Gunthorpe
On Wed, Sep 23, 2020 at 07:50:11PM +0300, Leon Romanovsky wrote: > When an application is not using RDMA CM and if it is using multiple RDMA > devices with one or more RoCE ports, finding the right GID table entry is > a long process. > > For example, with two RoCE dual-port devices in a system,

Re: [PATCH rdma-next] overflow: Include header file with SIZE_MAX declaration

2020-10-01 Thread Jason Gunthorpe
On Sun, Sep 13, 2020 at 01:29:28PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > The various array_size functions use SIZE_MAX define, but missed limits.h > causes to failure to compile code that needs overflow.h. > > In file included from

[tip:x86/asm] BUILD SUCCESS aa5cacdc29d76a005cbbee018a47faa6e724dd2d

2020-10-01 Thread kernel test robot
-a015-20200930 x86_64 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

[PATCH v3 00/13] x86/platform/uv: Updates for UV5 Architecture

2020-10-01 Thread Mike Travis
Changes included in this patch set: * Add changes needed for new UV5 UV architecture. Chief among the changes are 52 bits of physical memory address and 57 bits of virtual address space. * Remove the BAU TLB code cuurently being replaced by BAU APIC driver. * Remove System

[PATCH v3 07/13] x86/platform/uv: Update MMIOH references based on new UV5 MMRs.

2020-10-01 Thread Mike Travis
Make modifications to the MMIOH mappings to accommodate changes for UV5. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl --- arch/x86/kernel/apic/x2apic_uv_x.c | 211 +++-- 1 file changed, 143 insertions(+), 68 deletions(-) diff --git

[PATCH v3 09/13] x86/platform/uv: Update UV5 MMR references in UV GRU

2020-10-01 Thread Mike Travis
Make modifications to the GRU mappings to accommodate changes for UV5. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Steve Wahl --- arch/x86/kernel/apic/x2apic_uv_x.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git

[PATCH v3 10/13] x86/platform/uv: Update Node Present Counting

2020-10-01 Thread Mike Travis
The changes in the UV5 arch shrunk the NODE PRESENT table to just 2x64 entries (128 total) so are in to 64 bit MMRs instead of a depth of 64 bits in an array. Adjust references when counting up the nodes present. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Steve Wahl

[PATCH v3 08/13] x86/platform/uv: Adjust GAM MMR references affected by UV5 updates

2020-10-01 Thread Mike Travis
Make modifications to the GAM MMR mappings to accommodate changes for UV5. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Steve Wahl --- arch/x86/kernel/apic/x2apic_uv_x.c | 30 +- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git

[PATCH v3 13/13] x86/platform/uv: Update Copyrights to conform to HPE standards

2020-10-01 Thread Mike Travis
Add Copyrights to those files that have been updated for UV5 changes. Signed-off-by: Mike Travis --- arch/x86/include/asm/uv/bios.h | 1 + arch/x86/include/asm/uv/uv_hub.h| 1 + arch/x86/include/asm/uv/uv_mmrs.h | 1 + arch/x86/kernel/apic/x2apic_uv_x.c | 1 +

[PATCH v3 02/13] x86/platform/uv: Remove SCIR MMR references for UVY systems.

2020-10-01 Thread Mike Travis
UV class systems no longer use System Controller for monitoring of CPU activity provided by this driver. Other methods have been developed for BIOS and the management controller (BMC). This patch removes that supporting code. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich ---

  1   2   3   4   5   6   7   8   9   10   >