Re: [PATCH 2/2] mm/frame-vec: use FOLL_LONGTERM

2020-10-02 Thread Jason Gunthorpe
On Fri, Oct 02, 2020 at 07:53:03PM +0200, Daniel Vetter wrote: > For $reasons I've stumbled over this code and I'm not sure the change > to the new gup functions in 55a650c35fea ("mm/gup: frame_vector: > convert get_user_pages() --> pin_user_pages()") was entirely correct. > > This here is used fo

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

2020-10-02 Thread Mark Brown
On Fri, Oct 02, 2020 at 10:48:32AM -0700, Stephen Boyd wrote: > Quoting Mark Brown (2020-10-02 09:03:24) > > ...and doing this in the dev_name() should help other diagnostic users > > (like dev_printk() for example). > Don't thinks like dev_printk() prefix the bus name? See > dev_driver_string()?

Re: [PATCH] ftrace: Fix some typos in comment

2020-10-02 Thread Steven Rostedt
On Fri, 2 Oct 2020 22:31:26 +0800 Qiujun Huang wrote: > s/coorditate/coordinate/ > s/emty/empty/ > s/preeptive/preemptive/ > s/succes/success/ > s/carefule/careful/ > > Signed-off-by: Qiujun Huang > --- > kernel/trace/ftrace.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-)

Re: [PATCH v2 0/3] drm: commit_work scheduling

2020-10-02 Thread Rob Clark
On Fri, Oct 2, 2020 at 4:01 AM Qais Yousef wrote: > > On 09/30/20 14:17, Rob Clark wrote: > > From: Rob Clark > > > > The android userspace treats the display pipeline as a realtime problem. > > And arguably, if your goal is to not miss frame deadlines (ie. vblank), > > it is. (See https://lwn.n

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

2020-10-02 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 05:23:14PM +0300, Dmitry Osipenko wrote: > 02.10.2020 09:08, Nicolin Chen пишет: > > static struct iommu_device *tegra_smmu_probe_device(struct device *dev) > > { > > - struct device_node *np = dev->of_node; > > - struct tegra_smmu *smmu = NULL; > > - struct of_phand

Re: [PATCH ] scsi: page warning: 'page' may be used uninitialized

2020-10-02 Thread John Donnelly
> On Oct 2, 2020, at 1:01 PM, Mike Christie wrote: > > On 9/23/20 7:19 PM, john.p.donne...@oracle.com wrote: >> From: John Donnelly >> >> corrects: drivers/target/target_core_user.c:688:6: warning: 'page' may be >> used >> uninitialized >> >> Fixes: 3c58f737231e ("scsi: target: tcmu: Optim

Re: [PATCH net-next v2 5/6] bonding: update Documentation for port/bond terminology

2020-10-02 Thread Andrew Lunn
On Fri, Oct 02, 2020 at 01:40:00PM -0400, Jarod Wilson wrote: > Point users to the new interface names instead of the old ones, where > appropriate. Userspace bits referenced still include use of master/slave, > but those can't be altered until userspace changes too, ideally after > these changes p

[PATCH v7 2/3] remoteproc: Add coredump as part of sysfs interface

2020-10-02 Thread Rishabh Bhatnagar
Add coredump as part of the sysfs interface. This will allow usage of this configuration feature in production devices where access to debugfs might be limited. Signed-off-by: Rishabh Bhatnagar --- Documentation/ABI/testing/sysfs-class-remoteproc | 24 + drivers/remoteproc/remoteproc_sys

[PATCH v7 3/3] remoteproc: Add recovery configuration to the sysfs interface

2020-10-02 Thread Rishabh Bhatnagar
Add recovery configuration to the sysfs interface. This will allow usage of this configuration feature in production devices where access to debugfs might be limited. Signed-off-by: Rishabh Bhatnagar --- Documentation/ABI/testing/sysfs-class-remoteproc | 20 + drivers/remoteproc/remotepr

[PATCH v7 0/3] Move recovery/coredump configuration to sysfs

2020-10-02 Thread Rishabh Bhatnagar
>From Android R onwards Google has restricted access to debugfs in user and user-debug builds. This restricts access to most of the features exposed through debugfs. 'Coredump' and 'Recovery' are critical interfaces that are required for remoteproc to work on Qualcomm Chipsets. This patch series ad

[PATCH v7 1/3] remoteproc: Change default dump configuration to "disabled"

2020-10-02 Thread Rishabh Bhatnagar
Currently "default" configuration option means coredumps are enabled. To avoid confusion rename the "default" configuration option to "enabled" and disable collection of dumps by default as doing so makes sense for production devices. Signed-off-by: Rishabh Bhatnagar --- drivers/remoteproc/remot

Re: [PATCH v1] of: platform: Batch fwnode parsing in the init_machine() path

2020-10-02 Thread Grygorii Strashko
On 02/10/2020 20:48, Saravana Kannan wrote: On Fri, Oct 2, 2020 at 8:03 AM 'Grygorii Strashko' via kernel-team wrote: On 02/10/2020 14:40, Grygorii Strashko wrote: On 02/10/2020 02:19, Laurent Pinchart wrote: Hi Saravana, Thank you for the patch. On Thu, Oct 01, 2020 at 03:59:51PM -

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

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 02, 2020 at 03:04:27PM +0800, 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 monitoring driver to support > MR75203 PVT

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

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 02, 2020 at 09:11:35PM +0300, Andy Shevchenko wrote: > On Fri, Oct 02, 2020 at 03:04:27PM +0800, Rahul Tanwar wrote: ... > > + case hwmon_in: > > + if (attr == hwmon_in_input) > > + return 0444; > > > + return 0; > > > + default: > > > +

Re: [WARNING] kernel/rcu/tree.c:1058 rcu_irq_enter+0x15/0x20

2020-10-02 Thread Peter Zijlstra
On Fri, Oct 02, 2020 at 01:56:44PM -0400, Steven Rostedt wrote: > On Wed, 30 Sep 2020 20:13:23 +0200 > Peter Zijlstra wrote: > > > Blergh, IIRC there's header hell that way. The sane fix is killing off > > that trace_*_rcuidle() disease. > > > > But I think this will also cure it. > > I guess y

Re: [DISCUSSION PATCH 00/41] random: possible ways towards NIST SP800-90B compliance

2020-10-02 Thread Theodore Y. Ts'o
On Fri, Oct 02, 2020 at 03:39:35PM +, Van Leeuwen, Pascal wrote: > > Then your company can not contribute in Linux kernel development, as > > this is obviously not allowed by such a footer. > > > Interesting, this has never been raised as a problem until today ... > Going back through my mail a

Re: [PATCH 2/2] mm/frame-vec: use FOLL_LONGTERM

2020-10-02 Thread Daniel Vetter
On Fri, Oct 2, 2020 at 8:06 PM Jason Gunthorpe wrote: > On Fri, Oct 02, 2020 at 07:53:03PM +0200, Daniel Vetter wrote: > > For $reasons I've stumbled over this code and I'm not sure the change > > to the new gup functions in 55a650c35fea ("mm/gup: frame_vector: > > convert get_user_pages() --> pin

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

2020-10-02 Thread Dmitry Osipenko
02.10.2020 21:01, Nicolin Chen пишет: > On Fri, Oct 02, 2020 at 05:23:14PM +0300, Dmitry Osipenko wrote: >> 02.10.2020 09:08, Nicolin Chen пишет: >>> static struct iommu_device *tegra_smmu_probe_device(struct device *dev) >>> { >>> - struct device_node *np = dev->of_node; >>> - struct tegra_s

Re: [PATCH 1/2] mm/frame-vec: Drop gup_flags from get_vaddr_frames()

2020-10-02 Thread Tomasz Figa
On Fri, Oct 2, 2020 at 7:53 PM Daniel Vetter wrote: > > FOLL_WRITE | FOLL_FORCE is really the only reasonable thing to do for > simple dma device that can't guarantee write protection. Which is also > what all the callers are using. > > So just simplify this. > > Signed-off-by: Daniel Vetter > Cc

Re: [PATCH v2 0/5] usb: dwc-meson-g12a: Add support for USB on S400 board

2020-10-02 Thread Kevin Hilman
Neil Armstrong writes: > Hi Kevin, > > On 17/09/2020 08:59, Neil Armstrong wrote: >> The Amlogic AXG is close to the GXL Glue but with a single OTG PHY. >> >> It needs the same init sequence as GXL & GXM, but it seems it doesn't need >> the host disconnect bit. >> >> The Glue driver reuses the

Re: [PATCH v3 03/21] spi: dw: Detach SPI device specific CR0 config method

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 2, 2020 at 8:47 PM Serge Semin wrote: > On Fri, Oct 02, 2020 at 01:22:46PM +0300, Andy Shevchenko wrote: > > On Fri, Oct 02, 2020 at 01:28:11AM +0300, Serge Semin wrote: > > > + /* > > > +* Update CR0 data each time the setup callback is invoked since > > > +* the device par

Re: [PATCH v3 02/21] spi: dw: Add DWC SSI capability

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 2, 2020 at 8:18 PM Serge Semin wrote: > > On Fri, Oct 02, 2020 at 01:19:29PM +0300, Andy Shevchenko wrote: > > On Fri, Oct 02, 2020 at 01:28:10AM +0300, Serge Semin wrote: > > > Currently DWC SSI core is supported by means of setting up the > > > core-specific update_cr0() callback. It

Re: [PATCH v3 00/21] spi: dw: Add full Baikal-T1 SPI Controllers support

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 2, 2020 at 3:56 PM Mark Brown wrote: > On Fri, Oct 02, 2020 at 01:24:44PM +0300, Andy Shevchenko wrote: > > On Fri, Oct 02, 2020 at 01:28:08AM +0300, Serge Semin wrote: > > > > the subject. Though some of them are mere cleanups or weakly related with > > > the subject fixes, but we jus

Re: [PATCH v1] of: platform: Batch fwnode parsing in the init_machine() path

2020-10-02 Thread Laurent Pinchart
Hi Saravana, On Fri, Oct 02, 2020 at 10:58:55AM -0700, Saravana Kannan wrote: > On Fri, Oct 2, 2020 at 10:55 AM Laurent Pinchart wrote: > > On Fri, Oct 02, 2020 at 10:51:51AM -0700, Saravana Kannan wrote: > > > On Fri, Oct 2, 2020 at 7:08 AM Rob Herring wrote: > > > > On Thu, Oct 1, 2020 at 5:59

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

2020-10-02 Thread Jann Horn
On Fri, Oct 2, 2020 at 4:23 PM Dmitry Vyukov wrote: > On Fri, Oct 2, 2020 at 9:54 AM Jann Horn wrote: > > On Fri, Oct 2, 2020 at 8:33 AM Jann Horn wrote: > > > On Tue, Sep 29, 2020 at 3:38 PM Marco Elver wrote: > > > > This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a > >

Re: [PATCH RESEND v1] ARM: dts: meson8: remove two invalid interrupt lines from the GPU node

2020-10-02 Thread Kevin Hilman
Martin Blumenstingl writes: > Hi Kevin, > > On Mon, Aug 24, 2020 at 11:16 PM Kevin Hilman wrote: > [...] >> Applied, thanks! >> >> [1/1] ARM: dts: meson8: remove two invalid interrupt lines from the GPU node >> commit: b468412409c0e5752ad3396b147cac563ff8dd3b > this one still seems to be s

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-02 Thread Sean Christopherson
On Fri, Oct 02, 2020 at 11:38:54AM -0400, Vivek Goyal wrote: > On Thu, Oct 01, 2020 at 03:33:20PM -0700, Sean Christopherson wrote: > > Alternatively, what about adding a new KVM request type to handle this? > > E.g. when the APF comes back with -EFAULT, snapshot the GFN and make a > > request. Th

Re: [v5] mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged

2020-10-02 Thread Mike Kravetz
On 10/2/20 4:25 AM, Michal Hocko wrote: > On Wed 30-09-20 15:03:11, Mike Kravetz wrote: >> On 9/30/20 1:47 PM, Vijay Balakrishna wrote: >>> On 9/30/2020 11:20 AM, Mike Kravetz wrote: On 9/29/20 9:49 AM, Vijay Balakrishna wrote: Sorry for jumping in so late. Should we use this as an

Re: [PATCH v1] of: platform: Batch fwnode parsing in the init_machine() path

2020-10-02 Thread Grygorii Strashko
hi Saravana, On 02/10/2020 21:27, Laurent Pinchart wrote: Hi Saravana, On Fri, Oct 02, 2020 at 10:58:55AM -0700, Saravana Kannan wrote: On Fri, Oct 2, 2020 at 10:55 AM Laurent Pinchart wrote: On Fri, Oct 02, 2020 at 10:51:51AM -0700, Saravana Kannan wrote: On Fri, Oct 2, 2020 at 7:08 AM Rob

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

2020-10-02 Thread Alan Stern
On Fri, Oct 02, 2020 at 10:08:17AM -0700, Doug Anderson wrote: > As a more similar example of single device that is listed in more than > one location in the device tree, we can also look at embedded SDIO > BT/WiFi combo cards. This single device often provides WiFi under an > SDIO bus and BT unde

Re: [PATCH v4 1/2] system_data_types.7: Add 'void *'

2020-10-02 Thread Alejandro Colomar
Hi Paul, On 2020-10-02 18:53, Paul Eggert wrote: > On 10/2/20 8:14 AM, Alejandro Colomar wrote: > >> +.I void * > > GNU style is a space between "void" and "*", so this should be '.I > "void\ *"', both here and elsewhere. The backslash prevents a line break. .I void * renders with a space in be

Re: [PATCH] arm64: dts: meson: add SM1 soundcard name to VIM3L

2020-10-02 Thread Kevin Hilman
Christian Hewitt writes: >> On 2 Oct 2020, at 6:44 pm, Jerome Brunet wrote: >> >> On Fri 02 Oct 2020 at 16:16, Christian Hewitt >> wrote: >> >>> VIM3L now inherits the sound node from the VIM3 common dtsi but is >>> an SM1 device, so label it as such, and stop users blaming future >>> suppor

5.9-rc7 oops in nvkm_udevice_info() w/ GA100

2020-10-02 Thread dann frazier
hey, I'm seeing an Oops when nouveau loads (see below). I've verified that this is because both device->chip and device->name are NULL prior to the strncpy()s at the end of nvkm_udevice_info(). Bisect shows that this started happening after: commit 24d5ff40a732633dceab68c6559ba723784f4a68 Author

[PATCH v8 00/14] Add RCEC handling to PCI/AER

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley Changes since v7 [1]: - No functional changes. - Reword bridge patch. - Noted testing below for #non-native/no RCEC case (Jonathan Cameron) - Separate out pci_walk_bus() into pci_walk_bridge() change. - Put remaining dev to bridge name changes in the separate patch from v7.

[PATCH v8 01/14] PCI/RCEC: Add RCEC class code and extended capability

2020-10-02 Thread Sean V Kelley
From: Qiuxu Zhuo A PCIe Root Complex Event Collector (RCEC) has the base class 0x08, sub-class 0x07, and programming interface 0x00. Add the class code 0x0807 to identify RCEC devices and add the defines for the RCEC Endpoint Association Extended Capability. See PCI Express Base Specification, v

[PATCH v8 03/14] PCI/RCEC: Cache RCEC capabilities in pci_init_capabilities()

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley Extend support for Root Complex Event Collectors by decoding and caching the RCEC Endpoint Association Extended Capabilities when enumerating. Use that cached information for later error source reporting. See PCI Express Base Specification, version 5.0-1, section 7.9.10. Sugg

[PATCH v8 06/14] PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley Consolidate subordinate bus checks with pci_walk_bus() into pci_walk_bridge() for walking below potentially AER affected bridges. Suggested-by: Bjorn Helgaas Signed-off-by: Sean V Kelley --- drivers/pci/pcie/err.c | 29 ++--- 1 file changed, 22 inse

[PATCH v8 05/14] PCI/ERR: Use "bridge" for clarity in pcie_do_recovery()

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley A generic term such as "bridge" may be used for something with a subordinate bus. The mix of ports would benefit from a use of the term. Further clarity can be had in pcie_do_recovery() with use of pci_upstream_bridge() in place of dev->bus->self. Reverse the pcie_do_recovery(

[PATCH v8 12/14] PCI/AER: Add pcie_walk_rcec() to RCEC AER handling

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley Root Complex Event Collectors (RCEC) appear as peers to Root Ports and also have the AER capability. In addition, actions need to be taken for associated RCiEPs. In such cases the RCECs will need to be walked in order to find and act upon their respective RCiEPs. Extend the e

[PATCH v8 13/14] PCI/PME: Add pcie_walk_rcec() to RCEC PME handling

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley Root Complex Event Collectors (RCEC) appear as peers of Root Ports and also have the PME capability. As with AER, there is a need to be able to walk the RCiEPs associated with their RCEC for purposes of acting upon them with callbacks. So add RCEC support through the use of pc

[PATCH v8 08/14] PCI/AER: Extend AER error handling to RCECs

2020-10-02 Thread Sean V Kelley
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). AER handling is performed by a Root Complex Event Collector (RCEC) [1] which is a effectively a type of RCiEP on

[PATCH v8 02/14] PCI/RCEC: Bind RCEC devices to the Root Port driver

2020-10-02 Thread Sean V Kelley
From: Qiuxu Zhuo If a Root Complex Integrated Endpoint (RCiEP) is implemented, errors may optionally be sent to a corresponding Root Complex Event Collector (RCEC). Each RCiEP must be associated with no more than one RCEC. Interface errors are reported to the OS by RCECs. For an RCEC (technicall

[PATCH v8 11/14] PCI/RCEC: Add RCiEP's linked RCEC to AER/ERR

2020-10-02 Thread Sean V Kelley
From: Qiuxu Zhuo When attempting error recovery for an RCiEP associated with an RCEC device, there needs to be a way to update the Root Error Status, the Uncorrectable Error Status and the Uncorrectable Error Severity of the parent RCEC. In some non-native cases in which there is no OS visible de

[PATCH v8 04/14] PCI/ERR: Rename reset_link() to reset_subordinate_device()

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley reset_link() appears to be misnamed. The point is to really reset any devices below a given bridge. So rename it to reset_subordinate_devices() to make it clear that we are passing a bridge with the intent to reset the devices below it. Suggested-by: Bjorn Helgaas Signed-off

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

2020-10-02 Thread Alan Stern
On Fri, Oct 02, 2020 at 09:08:47AM -0700, Matthias Kaehlcke wrote: > On Thu, Oct 01, 2020 at 09:21:53PM -0400, Alan Stern wrote: > > On Thu, Oct 01, 2020 at 02:54:12PM -0700, Matthias Kaehlcke wrote: > > > Hi, > > > > > > thanks for providing more insights on the USB hardware! > > > > Sure. > >

[PATCH v8 09/14] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-10-02 Thread Sean V Kelley
From: Qiuxu Zhuo Attempt to do a function level reset for an RCiEP on fatal error. Signed-off-by: Qiuxu Zhuo Reviewed-by: Jonathan Cameron --- drivers/pci/pcie/err.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pcie/err.c b/d

[PATCH v8 07/14] PCI/ERR: Limit AER resets in pcie_do_recovery()

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley In some cases a bridge may not exist as the hardware controlling may be handled only by firmware and so is not visible to the OS. This scenario is also possible in future use cases involving non-native use of RCECs by firmware. So explicitly apply conditional logic around thes

[PATCH v8 10/14] PCI/RCEC: Add pcie_link_rcec() to associate RCiEPs

2020-10-02 Thread Sean V Kelley
From: Sean V Kelley A Root Complex Event Collector provides support for terminating error and PME messages from associated RCiEPs. Make use of the RCEC Endpoint Association Extended Capability to identify associated RCiEPs. Link the associated RCiEPs as the RCECs are enumerated. Co-developed-by

[PATCH v8 14/14] PCI/AER: Add RCEC AER error injection support

2020-10-02 Thread Sean V Kelley
From: Qiuxu Zhuo The Root Complex Event Collectors (RCEC) appear as peers to Root Ports and also have the AER capability. So add RCEC support to the current AER error injection driver. Signed-off-by: Qiuxu Zhuo Co-developed-by: Sean V Kelley Signed-off-by: Sean V Kelley --- drivers/pci/pcie/

Re: [PATCH] arm64: dts: meson: add SM1 soundcard name to VIM3L

2020-10-02 Thread Kevin Hilman
On Fri, 2 Oct 2020 14:16:19 +, Christian Hewitt wrote: > VIM3L now inherits the sound node from the VIM3 common dtsi but is > an SM1 device, so label it as such, and stop users blaming future > support issues on the distro/app "wrongly detecting" their device. Applied, thanks! [1/1] arm64: dt

Re: [PATCH] arm64: dts: amlogic: meson-g12: use the G12A specific dwmac compatible

2020-10-02 Thread Kevin Hilman
On Fri, 25 Sep 2020 23:17:43 +0200, Martin Blumenstingl wrote: > We have a dedicated "amlogic,meson-g12a-dwmac" compatible string for the > Ethernet controller since commit 3efdb92426bf4 ("dt-bindings: net: > dwmac-meson: Add a compatible string for G12A onwards"). > Using the AXG compatible string

Re: [PATCH] arm64: dts: meson: add SM1 soundcard name to VIM3L

2020-10-02 Thread Jerome Brunet
On Fri 02 Oct 2020 at 20:45, Kevin Hilman wrote: > Christian Hewitt writes: > >>> On 2 Oct 2020, at 6:44 pm, Jerome Brunet wrote: >>> >>> On Fri 02 Oct 2020 at 16:16, Christian Hewitt >>> wrote: >>> VIM3L now inherits the sound node from the VIM3 common dtsi but is an SM1 device

Re: [PATCH] pci: meson: build as module by default

2020-10-02 Thread Kevin Hilman
Hi Lorenzo, Lorenzo Pieralisi writes: > On Fri, Sep 18, 2020 at 11:12:51AM -0700, Kevin Hilman wrote: >> Enable pci-meson to build as a module whenever ARCH_MESON is enabled. >> >> Cc: Yue Wang >> Signed-off-by: Kevin Hilman >> --- >> Tested on Khadas VIM3 and Khadas VIM3 using NVMe SSD devic

Re: [PATCH v17 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-10-02 Thread Michael Auchter
Hey Ben, On Thu, Oct 01, 2020 at 02:05:41PM -0700, Ben Levinsky wrote: > R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this > remotproc driver, we can boot the R5 sub-system in different 2 > configurations - > * split > * lock-step > > The Xilinx R5 Remoteproc Driver boo

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

2020-10-02 Thread Vinicius Costa Gomes
Hi Erez, Erez Geva writes: > Add support for using PTP clock with > Traffic control Earliest TxTime First (ETF) Qdisc. > > Why do we need ETF to use PTP clock? > Current ETF requires to synchronization the system clock > to the PTP Hardware clock (PHC) we want to send through. > But there are

[PATCH] phy: usb: Fix incorrect clearing of tca_drv_sel bit in SETUP reg for 7211

2020-10-02 Thread Al Cooper
The 7211a0 has a tca_drv_sel bit in the USB SETUP register that should never be enabled. This feature is only used if there is a USB Type-C PHY, and the 7211 does not have one. If the bit is enabled, the VBUS signal will never be asserted. In the 7211a0, the bit was incorrectly defaulted to on so t

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

2020-10-02 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 06:02:18PM +0300, Dmitry Osipenko wrote: > 02.10.2020 09:08, Nicolin Chen пишет: > > static int tegra_smmu_of_xlate(struct device *dev, > >struct of_phandle_args *args) > > { > > + struct platform_device *iommu_pdev = of_find_device_by_node(ar

RE: [PATCH v17 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-10-02 Thread Ben Levinsky
Hi Michael, Thanks for the review. With the numerous sets of review, I think a few things got lost along the way that I will make sure to get encompassed in the next revision - in bindings example, remove the '-1.0' - remove the global rpu_mode var ^ the above I had thought was in v16

RE: [DISCUSSION PATCH 00/41] random: possible ways towards NIST SP800-90B compliance

2020-10-02 Thread Van Leeuwen, Pascal
> -Original Message- > From: Theodore Y. Ts'o > Sent: Friday, October 2, 2020 8:14 PM > To: Van Leeuwen, Pascal > Cc: Greg Kroah-Hartman ; Torsten Duwe > ; linux-cry...@vger.kernel.org; Nicolai Stange > ; LKML ; Arnd Bergmann > ; Eric W. Biederman > ; Alexander E. Patrakov ; Ahmed S. >

Re: [PATCH 3/3] task_work: use TIF_TASKWORK if available

2020-10-02 Thread Thomas Gleixner
On Fri, Oct 02 2020 at 09:52, Jens Axboe wrote: > On 10/2/20 9:31 AM, Thomas Gleixner wrote: >>> This way task_work_run() doesn't need to clear TIF_NOTIFY_SIGNAL and it can >>> have more users. >> >> I think it's fundamentaly wrong that we have several places and several >> flags which handle task

Re: [PATCH net-next v2 5/6] bonding: update Documentation for port/bond terminology

2020-10-02 Thread Stephen Hemminger
On Fri, 2 Oct 2020 13:40:00 -0400 Jarod Wilson wrote: > @@ -265,7 +265,7 @@ ad_user_port_key > This parameter has effect only in 802.3ad mode and is available through > SysFs interface. > > -all_slaves_active > +all_ports_active You can change internal variable names, comments, an

[PATCH 1/1] Documentation/x86: incorrect reference zero-page.txt

2020-10-02 Thread Heinrich Schuchardt
File zero-page.txt does not exit. Add links for zero-page.rst. Signed-off-by: Heinrich Schuchardt --- Documentation/x86/boot.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/x86/boot.rst b/Documentation/x86/boot.rst index 5325c71ca877..49c3ebe8a439 1006

Re: [PATCH net-next v2 6/6] bonding: make Kconfig toggle to disable legacy interfaces

2020-10-02 Thread Stephen Hemminger
On Fri, 2 Oct 2020 13:40:01 -0400 Jarod Wilson wrote: > By default, enable retaining all user-facing API that includes the use of > master and slave, but add a Kconfig knob that allows those that wish to > remove it entirely do so in one shot. > > Cc: Jay Vosburgh > Cc: Veaceslav Falico > Cc:

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Heinrich Schuchardt
On 10/2/20 7:21 PM, Ard Biesheuvel wrote: > Hi Heinrich, > > Thanks for documenting this. > > > On Fri, 2 Oct 2020 at 19:11, Heinrich Schuchardt wrote: >> >> Describe how a device tree and an initial RAM disk can be passed to the EFI >> Boot Stub. >> >> Signed-off-by: Heinrich Schuchardt >> --- >

Re: [PATCH] arm64: dts: meson: add SM1 soundcard name to VIM3L

2020-10-02 Thread Kevin Hilman
Jerome Brunet writes: > On Fri 02 Oct 2020 at 20:45, Kevin Hilman wrote: > >> Christian Hewitt writes: >> On 2 Oct 2020, at 6:44 pm, Jerome Brunet wrote: On Fri 02 Oct 2020 at 16:16, Christian Hewitt wrote: > VIM3L now inherits the sound node from the VIM3 comm

[PATCH] checkpatch: Fix false positive on empty block comment lines

2020-10-02 Thread Łukasz Stelmach
To avoid false positives in presence of SPDX-License-Identifier in networking files it is required to increase the leeway for empty block comment lines by one line. Signed-off-by: Łukasz Stelmach --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Ard Biesheuvel
On Fri, 2 Oct 2020 at 21:14, Heinrich Schuchardt wrote: > > On 10/2/20 7:21 PM, Ard Biesheuvel wrote: > > Hi Heinrich, > > > > Thanks for documenting this. > > > > > > On Fri, 2 Oct 2020 at 19:11, Heinrich Schuchardt wrote: > >> > >> Describe how a device tree and an initial RAM disk can be passe

Re: [PATCH 1/2] mm/frame-vec: Drop gup_flags from get_vaddr_frames()

2020-10-02 Thread Oded Gabbay
On Fri, Oct 2, 2020 at 9:23 PM Tomasz Figa wrote: > > On Fri, Oct 2, 2020 at 7:53 PM Daniel Vetter wrote: > > > > FOLL_WRITE | FOLL_FORCE is really the only reasonable thing to do for > > simple dma device that can't guarantee write protection. Which is also > > what all the callers are using. >

[PATCH v2 3/4] ARM: dts: exynos: Add Ethernet to Artik 5 board

2020-10-02 Thread Łukasz Stelmach
Add node for ax88796c ethernet chip. Signed-off-by: Łukasz Stelmach --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 21 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts index 20446a

Low Rate Loan.

2020-10-02 Thread Mr. Hashim Bin
Hello Dear, We are Investment Company offering Corporate and Personal Loan at 3% Interest Rate for a duration of 10Years. We also pay 1% commission to brokers, who introduce project owners for finance or other opportunities. Please get back to me if you are interested for more details. Yours fa

[PATCH v2 2/4] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-10-02 Thread Łukasz Stelmach
ASIX AX88796[1] is a versatile ethernet adapter chip, that can be connected to a CPU with a 8/16-bit bus or with an SPI. This driver supports SPI connection. The driver has been ported from the vendor kernel for ARTIK5[2] boards. Several changes were made to adapt it to the current kernel which in

[PATCH v2 1/4] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter

2020-10-02 Thread Łukasz Stelmach
Add bindings for AX88796C SPI Ethernet Adapter. Signed-off-by: Łukasz Stelmach --- .../bindings/net/asix,ax88796c-spi.yaml | 76 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v2 0/4] AX88796C SPI Ethernet Adapter

2020-10-02 Thread Łukasz Stelmach
This is a driver for AX88796C Ethernet Adapter connected in SPI mode as found on ARTIK5 evaluation board. The driver has been ported from a v3.10.9 vendor kernel for ARTIK5 board. -- Łukasz Stelmach (4): dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter net: ax88796c: ASIX AX88

[PATCH v2 4/4] ARM: defconfig: Enable ax88796c driver

2020-10-02 Thread Łukasz Stelmach
Enable ax88796c driver for the ethernet chip on Exynos3250-based ARTIK5 boards. Signed-off-by: Łukasz Stelmach --- arch/arm/configs/exynos_defconfig | 2 ++ arch/arm/configs/multi_v7_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/

[GIT PULL] PCI fixes for v5.9

2020-10-02 Thread Bjorn Helgaas
PCI fixes: - Fix rockchip regression in rockchip_pcie_valid_device() (Lorenzo Pieralisi) - Add Pali Rohár as aardvark PCI maintainer (Pali Rohár) The following changes since commit 7c2308f79fc81ba0bf24ccd2429fb483a91bcd51: PCI/P2PDMA: Fix build without DMA ops (2020-08-17 17:08:21 -0

Re: [PATCH ghak90 V9 06/13] audit: add contid support for signalling the audit daemon

2020-10-02 Thread Richard Guy Briggs
On 2020-08-21 14:48, Paul Moore wrote: > On Wed, Jul 29, 2020 at 3:00 PM Richard Guy Briggs wrote: > > On 2020-07-05 11:10, Paul Moore wrote: > > > On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs > > > wrote: > > > > > > > > Add audit container identifier support to the action of signalling t

[PATCH v2] mm: Remove src/dst mm parameter in copy_page_range()

2020-10-02 Thread Peter Xu
Both of the mm pointers are not needed after commit 7a4830c380f3 ("mm/fork: Pass new vma pointer into copy_page_range()"). Jason Gunthorpe also reported that the ordering of copy_page_range() is odd. Since working at it, reorder the parameters to be logical, by (1) always put the dst_* fields to b

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-02 Thread Vivek Goyal
On Fri, Oct 02, 2020 at 11:30:37AM -0700, Sean Christopherson wrote: > On Fri, Oct 02, 2020 at 11:38:54AM -0400, Vivek Goyal wrote: > > On Thu, Oct 01, 2020 at 03:33:20PM -0700, Sean Christopherson wrote: > > > Alternatively, what about adding a new KVM request type to handle this? > > > E.g. when

[GIT PULL] SCSI fixes for 5.9-rc7

2020-10-02 Thread James Bottomley
Two patches in driver frameworks. The iscsi one corrects a bug induced by a BPF change to network locking and the other is a regression we introduced. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Mark Mielk

[PATCH] ASoC: tlv320adcx140: Fix a typo in a comment

2020-10-02 Thread Christophe JAILLET
It is likely that this header file is about the TLV320ADCX140. (0 and 4 swapped) While at it fix a missing "H" in a comment related to the include guard. Signed-off-by: Christophe JAILLET --- sound/soc/codecs/tlv320adcx140.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

Re: [PATCHv2 1/9] perf tools: Add build id shell test

2020-10-02 Thread Jiri Olsa
On Fri, Oct 02, 2020 at 10:34:51AM -0700, Ian Rogers wrote: SNIP > > > + > > > LIBJVMTI = libperf-jvmti.so > > > > > > ifndef NO_JVMTI > > > @@ -756,6 +763,13 @@ $(OUTPUT)perf-read-vdsox32: perf-read-vdso.c > > > util/find-map.c > > > $(QUIET_CC)$(CC) -mx32 $(filter -static,$(LDFLAGS))

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

2020-10-02 Thread Jann Horn
On Fri, Oct 2, 2020 at 7:20 PM Marco Elver wrote: > On Fri, Oct 02, 2020 at 08:33AM +0200, Jann Horn wrote: > > 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 d

[PATCH v5 0/2] Document 'void *'

2020-10-02 Thread Alejandro Colomar
Hi Michael, Here I added a wfix fixing some wording issues and a few typos spotted by Paul and Jonathan in the (many) threads. As previously, it is squashed into a single commit. Thanks again for those who reviewed the patch! BTW, for those who don't have a local repo of the man-pages, below yo

[PATCH v5 1/2] system_data_types.7: Add 'void *'

2020-10-02 Thread Alejandro Colomar
Signed-off-by: Alejandro Colomar system_data_types.7: void *: Add info about generic function parameters and return value Reported-by: Paul Eggert Reported-by: David Laight Signed-off-by: Alejandro Colomar system_data_types.7: void *: Add info about pointer artihmetic Reported-by: Paul Egg

[PATCH v5 2/2] void.3: New link to system_data_types(7)

2020-10-02 Thread Alejandro Colomar
Signed-off-by: Alejandro Colomar --- man3/void.3 | 1 + 1 file changed, 1 insertion(+) create mode 100644 man3/void.3 diff --git a/man3/void.3 b/man3/void.3 new file mode 100644 index 0..db50c0f09 --- /dev/null +++ b/man3/void.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 -- 2.28.0

Re: [PATCH 2/2] docs: Update RCU's hotplug requirements with a bit about design

2020-10-02 Thread Paul E. McKenney
On Tue, Sep 29, 2020 at 03:32:48PM -0400, Joel Fernandes wrote: > Hi Paul, > > On Tue, Sep 29, 2020 at 03:29:28PM -0400, Joel Fernandes (Google) wrote: > > RCU's hotplug design will help understand the requirements an RCU > > implementation needs to fullfill, such as dead-lock avoidance. > > > >

Re: [PATCH] checkpatch: Fix false positive on empty block comment lines

2020-10-02 Thread Joe Perches
On Fri, 2020-10-02 at 21:15 +0200, Łukasz Stelmach wrote: > To avoid false positives in presence of SPDX-License-Identifier in > networking files it is required to increase the leeway for empty block > comment lines by one line. Thanks. An example in the commit description would be nice. The int

Re: [PATCH 4/4] mailbox: arm_mhu: Add ARM MHU doorbell driver

2020-10-02 Thread Jassi Brar
On Mon, Sep 28, 2020 at 6:45 AM Sudeep Holla wrote: > + > +static void mhu_db_shutdown(struct mbox_chan *chan) > +{ > + struct mhu_db_channel *chan_info = chan->con_priv; > + struct mbox_controller *mbox = &chan_info->mhu->mbox; > + int i; > + > + for (i = 0; i < mbox->num

Re: [PATCH v3 1/3] tracing: Change STR_VAR_MAX_LEN

2020-10-02 Thread Steven Rostedt
On Thu, 1 Oct 2020 16:46:44 -0500 Tom Zanussi wrote: > 32 is too small for this value, and anyway it makes more sense to use > MAX_FILTER_STR_VAL, as this is also the value used for variable-length > __strings. > > Tested-by: Axel Rasmussen > Signed-off-by: Tom Zanussi > --- > kernel/trace/t

Re: [PATCH v4] kvm,x86: Exit to user space in case page fault error

2020-10-02 Thread Sean Christopherson
On Fri, Oct 02, 2020 at 03:27:34PM -0400, Vivek Goyal wrote: > On Fri, Oct 02, 2020 at 11:30:37AM -0700, Sean Christopherson wrote: > > On Fri, Oct 02, 2020 at 11:38:54AM -0400, Vivek Goyal wrote: > > > On Thu, Oct 01, 2020 at 03:33:20PM -0700, Sean Christopherson wrote: > > > > Alternatively, what

Re: Why ping latency is smaller with shorter send interval?

2020-10-02 Thread Vinicius Costa Gomes
Hi, Eric Dumazet writes: > > Many factors in play here. > > 1) if you keep cpus busy enough, they tend to keep in their caches > the data needed to serve your requests. In your case, time taken to > process an ICMP packet can be very different depending on how hot > cpu caches are. > > 2) Idle c

Re: [PATCH v2 0/4] AX88796C SPI Ethernet Adapter

2020-10-02 Thread Andrew Lunn
On Fri, Oct 02, 2020 at 09:22:06PM +0200, Łukasz Stelmach wrote: > This is a driver for AX88796C Ethernet Adapter connected in SPI mode as > found on ARTIK5 evaluation board. The driver has been ported from a > v3.10.9 vendor kernel for ARTIK5 board. Hi Łukasz Please include a brief list of chang

Re: [PATCH v3 02/21] spi: dw: Add DWC SSI capability

2020-10-02 Thread Serge Semin
On Fri, Oct 02, 2020 at 09:26:07PM +0300, Andy Shevchenko wrote: > On Fri, Oct 2, 2020 at 8:18 PM Serge Semin > wrote: > > > > On Fri, Oct 02, 2020 at 01:19:29PM +0300, Andy Shevchenko wrote: > > > On Fri, Oct 02, 2020 at 01:28:10AM +0300, Serge Semin wrote: > > > > Currently DWC SSI core is suppo

[PATCH] net: typhoon: Fix a typo Typoon --> Typhoon

2020-10-02 Thread Christophe JAILLET
s/Typoon/Typhoon/ Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/3com/typhoon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/3com/typhoon.h b/drivers/net/ethernet/3com/typhoon.h index 2f634c64d5d1..38e6dcab4e94 100644 --- a/drivers/net/eth

Re: [PATCH v5 1/7] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2020-10-02 Thread Tomasz Figa
Hi Helen, On Tue, Aug 04, 2020 at 04:29:33PM -0300, Helen Koike wrote: > This is part of the multiplanar and singleplanar unification process. > v4l2_ext_pix_format is supposed to work for both cases. > > We also add the concept of modifiers already employed in DRM to expose > HW-specific formats

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

2020-10-02 Thread Nicolin Chen
On Fri, Oct 02, 2020 at 05:41:50PM +0300, Dmitry Osipenko wrote: > 02.10.2020 09:08, Nicolin Chen пишет: > > static int tegra_smmu_attach_dev(struct iommu_domain *domain, > > struct device *dev) > > { > > + struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); >

[PATCH v4] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-10-02 Thread longguang.yue
It's ipvs's duty to do traffic statistic if packets get hit, no matter what mode it is. Changes in v1: support DR/TUN mode statistic Changes in v2: ip_vs_conn_out_get handles DR/TUN mode's conn Changes in v3: fix checkpatch Changes in v4: restructure and optimise this feature Signed-off-by: longg

Re: [PATCH ghak90 V9 05/13] audit: log container info of syscalls

2020-10-02 Thread Richard Guy Briggs
On 2020-08-21 15:15, Paul Moore wrote: > On Wed, Jul 29, 2020 at 3:41 PM Richard Guy Briggs wrote: > > On 2020-07-05 11:10, Paul Moore wrote: > > > On Sat, Jun 27, 2020 at 9:22 AM Richard Guy Briggs > > > wrote: > > ... > > > > > diff --git a/kernel/auditsc.c b/kernel/auditsc.c > > > > index f

Re: [PATCH v3 03/21] spi: dw: Detach SPI device specific CR0 config method

2020-10-02 Thread Serge Semin
On Fri, Oct 02, 2020 at 09:24:55PM +0300, Andy Shevchenko wrote: > On Fri, Oct 2, 2020 at 8:47 PM Serge Semin > wrote: > > On Fri, Oct 02, 2020 at 01:22:46PM +0300, Andy Shevchenko wrote: > > > On Fri, Oct 02, 2020 at 01:28:11AM +0300, Serge Semin wrote: > > > > > + /* > > > > +* Update CR0

Re: [PATCH v1] of: platform: Batch fwnode parsing in the init_machine() path

2020-10-02 Thread Saravana Kannan
On Fri, Oct 2, 2020 at 11:35 AM 'Grygorii Strashko' via kernel-team wrote: > > hi Saravana, > > On 02/10/2020 21:27, Laurent Pinchart wrote: > > Hi Saravana, > > > > On Fri, Oct 02, 2020 at 10:58:55AM -0700, Saravana Kannan wrote: > >> On Fri, Oct 2, 2020 at 10:55 AM Laurent Pinchart wrote: > >>>

<    4   5   6   7   8   9   10   11   12   13   >