Re: [PATCH v2 13/28] drivers: Introduce class_find_device_by_of_node() helper

2019-06-24 Thread Suzuki K Poulose
On 24/06/2019 15:07, Peter Rosin wrote: On 2019-06-24 10:34, Suzuki K Poulose wrote: Hi Peter, On 22/06/2019 06:25, Peter Rosin wrote: On 2019-06-14 19:54, Suzuki K Poulose wrote: Add a wrapper to class_find_device() to search for a device by the of_node pointer, reusing the generic match

Re: [PATCH 3/3] tools: memory-model: Improve data-race detection

2019-06-24 Thread Paul E. McKenney
On Sun, Jun 23, 2019 at 09:34:55PM -0700, Paul E. McKenney wrote: > On Sun, Jun 23, 2019 at 11:15:06AM -0400, Alan Stern wrote: > > On Sun, 23 Jun 2019, Akira Yokosawa wrote: > > > > > Hi Paul and Alan, > > > > > > On 2019/06/22 8:54, Paul E. McKenney wrote: > > > > On Fri, Jun 21, 2019 at 10:25:

Re: [PATCH v5 1/3] mtd: spi-nor: add support for is25wp256

2019-06-24 Thread Sagar Kadam
Hi Vignesh, On Mon, Jun 24, 2019 at 6:37 PM Vignesh Raghavendra wrote: > > > > On 24/06/19 6:10 PM, Sagar Kadam wrote: > > Hello Vignesh, > > > > On Mon, Jun 24, 2019 at 3:04 PM Vignesh Raghavendra wrote: > >> > >> Hi, > >> > >> On 21/06/19 3:58 PM, Sagar Kadam wrote: > >>> Hello Vignesh, > >>>

Re: [PATCH 1/2] net: macb: Fix compilation on systems without COMMON_CLK

2019-06-24 Thread Nicolas.Ferre
On 24/06/2019 at 11:57, Palmer Dabbelt wrote: > External E-Mail > > > On Mon, 24 Jun 2019 02:40:21 PDT (-0700), nicolas.fe...@microchip.com wrote: >> On 24/06/2019 at 08:16, Palmer Dabbelt wrote: >>> External E-Mail >>> >>> >>> The patch to add support for the FU540-C000 added a dependency on >>>

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Allan W. Nielsen
Hi Andrew, The 06/24/2019 16:26, Andrew Lunn wrote: > > > Yeah, there are 2 ethernet controller ports (managed by the enetc driver) > > > connected inside the SoC via SGMII links to 2 of the switch ports, one of > > > these switch ports can be configured as CPU port (with follow-up patches). > >

Re: x86: Spurious vectors not handled robustly

2019-06-24 Thread Thomas Gleixner
On Mon, 24 Jun 2019, Thomas Gleixner wrote: > > +#ifdef CONFIG_X86_LOCAL_APIC > + .align 8 > +ENTRY(spurious_entries_start) > +vector=FIRST_SYSTEM_VECTOR > +.rept (NR_VECTORS - FIRST_SYSTEM_VECTOR) > + pushl $(~vector+0x80) /* Note: always in signed byte > range

Re: [PATCH 1/2 v9] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-24 Thread Stefan Roese
On 24.06.19 10:42, Geert Uytterhoeven wrote: CC gpio This is now commit d99482673f950817 ("serial: mctrl_gpio: Check if GPIO property exisits before requesting it") in tty-next. On Thu, Jun 20, 2019 at 8:24 AM Stefan Roese wrote: This patch adds a check for the GPIOs property existence, befor

Re: KASAN: global-out-of-bounds Read in qmi_wwan_probe

2019-06-24 Thread Andrey Konovalov
On Mon, Jun 24, 2019 at 2:59 PM Bjørn Mork wrote: > > syzbot writes: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:9939f56e usb-fuzzer: main usb gadget fuzzer driver > > git tree: https://github.com/google/kasan.git usb-fuzzer > > console output: https://

Re: [PATCH v7 4/7] arm: Use common cpu_topology structure and functions.

2019-06-24 Thread Russell King - ARM Linux admin
On Mon, Jun 24, 2019 at 04:06:58PM +0100, Sudeep Holla wrote: > On Wed, Jun 19, 2019 at 01:10:57PM +0100, Sudeep Holla wrote: > > Hi Russell, > > > > On Mon, Jun 17, 2019 at 11:59:17AM -0700, Atish Patra wrote: > > > Currently, ARM32 and ARM64 uses different data structures to represent > > > their

Re: [PATCH 4.14 00/51] 4.14.130-stable review

2019-06-24 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 116 boots: 0 failed, 109 passed with 7 offline (v4.14.129-52-g57f3c9aebc30) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.129-52-g57f3c9aebc30/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.

Re: [PATCH v7 4/7] arm: Use common cpu_topology structure and functions.

2019-06-24 Thread Sudeep Holla
On Mon, Jun 24, 2019 at 04:30:33PM +0100, Russell King - ARM Linux admin wrote: > On Mon, Jun 24, 2019 at 04:06:58PM +0100, Sudeep Holla wrote: > > On Wed, Jun 19, 2019 at 01:10:57PM +0100, Sudeep Holla wrote: > > > Hi Russell, > > > > > > On Mon, Jun 17, 2019 at 11:59:17AM -0700, Atish Patra wrote

Re: [PATCH 1/2 v9] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-24 Thread Geert Uytterhoeven
Hi Stefan, On Mon, Jun 24, 2019 at 5:29 PM Stefan Roese wrote: > On 24.06.19 10:42, Geert Uytterhoeven wrote: > > On Thu, Jun 20, 2019 at 8:24 AM Stefan Roese wrote: > >> This patch adds a check for the GPIOs property existence, before the > >> GPIO is requested. This fixes an issue seen when th

Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation

2019-06-24 Thread Stephen Hemminger
On Sun, 23 Jun 2019 14:54:13 +0200 (CEST) Thomas Gleixner wrote: > Octavio, > > On Sat, 22 Jun 2019, Thomas Gleixner wrote: > > On Wed, 19 Jun 2019, Octavio Alvarez wrote: > > > On 6/13/19 3:45 PM, Thomas Gleixner wrote: > > > > Can you please provide the content of /proc/interrupts with the

Re: [PATCH][next] libbpf: fix spelling mistake "conflictling" -> "conflicting"

2019-06-24 Thread Daniel Borkmann
On 06/19/2019 06:27 PM, Colin King wrote: > From: Colin Ian King > > There are several spelling mistakes in pr_warning messages. Fix these. > > Signed-off-by: Colin Ian King Applied, thanks!

Re: [PATCH V34 23/29] bpf: Restrict bpf when kernel lockdown is in confidentiality mode

2019-06-24 Thread Daniel Borkmann
On 06/22/2019 02:03 AM, Matthew Garrett wrote: > From: David Howells > > There are some bpf functions can be used to read kernel memory: Nit: that > bpf_probe_read, bpf_probe_write_user and bpf_trace_printk. These allow Please explain how bpf_probe_write_user reads kernel memory ... ?! > pri

Re: [PATCH 1/2] net/macb: bindings doc: add sifive fu540-c000 binding

2019-06-24 Thread Nicolas.Ferre
On 23/05/2019 at 22:50, Rob Herring wrote: > On Thu, May 23, 2019 at 6:46 AM Yash Shah wrote: >> >> Add the compatibility string documentation for SiFive FU540-C >> interface. >> On the FU540, this driver also needs to read and write registers in a >> management IP block that monitors or drive

Re: [PATCH 3/3] tools: memory-model: Improve data-race detection

2019-06-24 Thread Alan Stern
On Mon, 24 Jun 2019, Paul E. McKenney wrote: > On Sun, Jun 23, 2019 at 09:34:55PM -0700, Paul E. McKenney wrote: > > On Sun, Jun 23, 2019 at 11:15:06AM -0400, Alan Stern wrote: > > > On Sun, 23 Jun 2019, Akira Yokosawa wrote: > > > > > > > Hi Paul and Alan, > > > > > > > > On 2019/06/22 8:54, Pa

Re: [PATCH] ARM: dts: socfpga: update to new Denali NAND binding

2019-06-24 Thread Dinh Nguyen
On 6/21/19 6:23 AM, Masahiro Yamada wrote: > With commit d8e8fd0ebf8b ("mtd: rawnand: denali: decouple controller > and NAND chips"), the Denali NAND controller driver migrated to the > new controller/chip representation. > > Update DT for it. > > Signed-off-by: Masahiro Yamada > --- > > ar

Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation

2019-06-24 Thread Thomas Gleixner
On Mon, 24 Jun 2019, Stephen Hemminger wrote: > On Sun, 23 Jun 2019 14:54:13 +0200 (CEST) > Thomas Gleixner wrote: > > > > I will keep trying 4.14, unless you say otherwise. > > > > > > It would be interesting though I don't expect too much data. > > > > > > So all of the above use PCI/MSI. Th

[PATCH 3/4] dt-bindings: iio: frequency: Add ADF4372 PLL documentation

2019-06-24 Thread Stefan Popa
Document support for ADF4372 SPI Wideband Synthesizer. Signed-off-by: Stefan Popa --- Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentati

Re: [PATCH 2/2] net: macb: Kconfig: Rename Atmel to Cadence

2019-06-24 Thread Nicolas.Ferre
On 24/06/2019 at 11:57, Palmer Dabbelt wrote: > External E-Mail > > > On Mon, 24 Jun 2019 02:49:16 PDT (-0700), nicolas.fe...@microchip.com wrote: >> On 24/06/2019 at 08:16, Palmer Dabbelt wrote: >>> External E-Mail >>> >>> >>> When touching the Kconfig for this driver I noticed that both the >>>

Re: [PATCH 5.1 000/121] 5.1.15-stable review

2019-06-24 Thread Greg Kroah-Hartman
On Mon, Jun 24, 2019 at 05:48:34AM -0700, Guenter Roeck wrote: > On 6/24/19 2:55 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.15 release. > > There are 121 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH 11/12] iomap: move the xfs writeback code to iomap.c

2019-06-24 Thread Darrick J. Wong
On Mon, Jun 24, 2019 at 07:52:52AM +0200, Christoph Hellwig wrote: > Takes the xfs writeback code and move it to iomap.c. A new structure > with three methods is added as the abstraction from the generic > writeback code to the file system. These methods are used to map > blocks, submit an ioend,

Re: [PATCH 4.14 00/51] 4.14.130-stable review

2019-06-24 Thread Naresh Kamboju
On Mon, 24 Jun 2019 at 15:29, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.130 release. > There are 51 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

[PATCH] bug: Fix "cut here" for WARN_ON for __WARN_TAINT architectures

2019-06-24 Thread Drew Davenport
For architectures using __WARN_TAINT, the WARN_ON macro did not print out the "cut here" string. The other WARN_XXX macros would print "cut here" inside __warn_printk, which is not called for WARN_ON since it doesn't have a message to print. Fixes: a7bed27af194 ("bug: fix "cut here" location for _

[no subject]

2019-06-24 Thread Dave Chiluk
Changelog v4 - Rewrote patch to return all quota when cfs_b has very litte. - Removed documentation changes, as bursting is no longer possible with this new solution. After the suggestion from Ben Segall to set min_cfs_rq_runtime=0, I came up this in an attempt to balance the desire leave r

[PATCH v4 1/1] sched/fair: Return all runtime when cfs_b has very little remaining.

2019-06-24 Thread Dave Chiluk
It has been observed, that highly-threaded, user-interactive applications running under cpu.cfs_quota_us constraints can hit a high percentage of periods throttled while simultaneously not consuming the allocated amount of quota. This impacts user-interactive non-cpu bound applications, such as tho

Re: [PATCH 05/12] xfs: use a struct iomap in xfs_writepage_ctx

2019-06-24 Thread Darrick J. Wong
On Mon, Jun 24, 2019 at 07:52:46AM +0200, Christoph Hellwig wrote: > In preparation for moving the XFS writeback code to fs/iomap.c, switch > it to use struct iomap instead of the XFS-specific struct xfs_bmbt_irec. > > Signed-off-by: Christoph Hellwig Looks ok, Reviewed-by: Darrick J. Wong --D

Re: [PATCH 2/3] module: Fix up module_notifier return values.

2019-06-24 Thread Joel Fernandes
On Mon, Jun 24, 2019 at 10:01:04AM -0400, Mathieu Desnoyers wrote: > - On Jun 24, 2019, at 5:18 AM, Peter Zijlstra pet...@infradead.org wrote: > > > While auditing all module notifiers I noticed a whole bunch of fail > > wrt the return value. Notifiers have a 'special' return semantics. > > >

Re: [PATCH 01/12] list.h: add a list_pop helper

2019-06-24 Thread Matthew Wilcox
On Mon, Jun 24, 2019 at 07:52:42AM +0200, Christoph Hellwig wrote: > +/** > + * list_pop - delete the first entry from a list and return it > + * @list:the list to take the element from. > + * @type:the type of the struct this is embedded in. > + * @member: the name of the list_head within

Re: [PATCH v1] phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay

2019-06-24 Thread Doug Anderson
Hi, On Thu, Jun 13, 2019 at 8:28 AM Marc Gonzalez wrote: > > readl_poll_timeout() calls usleep_range() to sleep between reads. > usleep_range() doesn't work efficiently for tiny values. > > Raise the polling delay in qcom_qmp_phy_enable() to bring it in line > with the delay in qcom_qmp_phy_com_i

Re: [PATCH net] net: macb: do not copy the mac address if NULL

2019-06-24 Thread Nicolas.Ferre
On 21/06/2019 at 17:26, Antoine Tenart wrote: > This patch fixes the MAC address setup in the probe. The MAC address > retrieved using of_get_mac_address was checked for not containing an > error, but it may also be NULL which wasn't tested. Fix it by replacing > IS_ERR with IS_ERR_OR_NULL. > > Fi

[PATCH 4/4] iio: frequency: adf4371: Add support for output stage mute

2019-06-24 Thread Stefan Popa
Another feature of the ADF4371/ADF4372 is that the supply current to the RF8P and RF8N output stage can shut down until the ADF4371 achieves lock as measured by the digital lock detect circuitry. The mute to lock detect bit (MUTE_LD) in REG25 enables this function. Signed-off-by: Stefan Popa ---

Re: [PATCH net] net: macb: do not copy the mac address if NULL

2019-06-24 Thread David Miller
From: Antoine Tenart Date: Fri, 21 Jun 2019 17:26:35 +0200 > This patch fixes the MAC address setup in the probe. The MAC address > retrieved using of_get_mac_address was checked for not containing an > error, but it may also be NULL which wasn't tested. Fix it by replacing > IS_ERR with IS_ERR_O

Re: [PATCH] bug: Fix "cut here" for WARN_ON for __WARN_TAINT architectures

2019-06-24 Thread Kees Cook
On Mon, Jun 24, 2019 at 09:48:31AM -0600, Drew Davenport wrote: > For architectures using __WARN_TAINT, the WARN_ON macro did not > print out the "cut here" string. The other WARN_XXX macros would > print "cut here" inside __warn_printk, which is not called for > WARN_ON since it doesn't have a mes

Re: [PATCH net-next] net: macb: use NAPI_POLL_WEIGHT

2019-06-24 Thread Nicolas.Ferre
On 21/06/2019 at 17:28, Antoine Tenart wrote: > Use NAPI_POLL_WEIGHT, the default NAPI poll() weight instead of > redefining our own value (which turns out to be 64 as well). > > Signed-off-by: Antoine Tenart Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb_main.c | 2 +- >

Re: [PATCH 06/12] xfs: remove XFS_TRANS_NOFS

2019-06-24 Thread Darrick J. Wong
On Mon, Jun 24, 2019 at 07:52:47AM +0200, Christoph Hellwig wrote: > Instead of a magic flag for xfs_trans_alloc, just ensure all callers > that can't relclaim through the file system use memalloc_nofs_save to > set the per-task nofs flag. > > Signed-off-by: Christoph Hellwig Hmm this finally fi

Re: [PATCH 08/12] xfs: simplify xfs_ioend_can_merge

2019-06-24 Thread Darrick J. Wong
On Mon, Jun 24, 2019 at 07:52:49AM +0200, Christoph Hellwig wrote: > Compare the block layer status directly instead of converting it to > an errno first. > > Signed-off-by: Christoph Hellwig Looks ok, Reviewed-by: Darrick J. Wong --D > --- > fs/xfs/xfs_aops.c | 14 ++ > 1 file c

[PATCH v4] mtd: spi-nor: fix nor->addr_width when its value configured from SFDP does not match the actual width

2019-06-24 Thread Liu Xiang
IS25LP256 gets BFPT_DWORD1_ADDRESS_BYTES_3_ONLY from BFPT table for address width. But in actual fact the flash can support 4-byte address. Use a post bfpt fixup hook to overwrite the address width advertised by the BFPT. Suggested-by: Tudor Ambarus Signed-off-by: Liu Xiang --- Changes in v4:

Re: [PATCH] fs/binfmt: Changed order of elf and misc to prevent privilege escalation

2019-06-24 Thread Tamir Carmeli
Hi, I'd appreciate feedback on the patch. Seems like we can solve a stupid "hiding" technique, more "advanced" than just marking an executable with suid, that leads to privilege escalation. Please tell me if I miss something. On Mon, Jun 17, 2019 at 9:58 PM Carmeli Tamir wrote: > > The misc form

Re: [PATCH 09/12] xfs: refactor the ioend merging code

2019-06-24 Thread Darrick J. Wong
On Mon, Jun 24, 2019 at 07:52:50AM +0200, Christoph Hellwig wrote: > Introduce two nicely abstracted helper, which can be moved to the > iomap code later. Also use list_pop and list_first_entry_or_null > to simplify the code a bit. > > Signed-off-by: Christoph Hellwig Looks ok, Reviewed-by: Dar

Re: [PATCH v1] MAINAINERS: Swap words in INTEL PMIC MULTIFUNCTION DEVICE DRIVERS

2019-06-24 Thread Lee Jones
On Mon, 11 Feb 2019, Andy Shevchenko wrote: > Swap PMIC and MULTIFUNCTION words in the title to: > - show that this is about Intel PMICs > - keep MAINTAINERS properly sorted > > Signed-off-by: Andy Shevchenko > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied,

[no subject]

2019-06-24 Thread ij49 .
I am in the military unit here in Afghanistan, we have some amount of funds that we want to move out of the country. My partners and I need a good partner someone we can trust. It is risk free and legal. Reply to this email: hornbeckmajordennis...@gmail.com Regards, Major Dennis Hornbeck.

Re: [PATCH 09/12] xfs: refactor the ioend merging code

2019-06-24 Thread Nikolay Borisov
On 24.06.19 г. 8:52 ч., Christoph Hellwig wrote: > Introduce two nicely abstracted helper, which can be moved to the > iomap code later. Also use list_pop and list_first_entry_or_null > to simplify the code a bit. > > Signed-off-by: Christoph Hellwig > --- > fs/xfs/xfs_aops.c | 66 ++

Re: [PATCH] locking/lockdep: Move mark_lock() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING

2019-06-24 Thread Arnd Bergmann
On Mon, Jun 24, 2019 at 2:18 PM Will Deacon wrote: > On Mon, Jun 17, 2019 at 02:47:05PM +0200, Arnd Bergmann wrote: > > > > +unsigned long nr_stack_trace_entries; > > + > > +#if defined(CONFIG_TRACE_IRQFLAGS) && defined(CONFIG_PROVE_LOCKING) > > Is this necessary, given that CONFIG_PROVE_LOCKING

Re: [PATCH 10/12] xfs: remove the fork fields in the writepage_ctx and ioend

2019-06-24 Thread Darrick J. Wong
On Mon, Jun 24, 2019 at 07:52:51AM +0200, Christoph Hellwig wrote: > In preparation for moving the writeback code to iomap.c, replace the > XFS-specific COW fork concept with the iomap IOMAP_F_SHARED flag. > > Signed-off-by: Christoph Hellwig Looks ok, Reviewed-by: Darrick J. Wong --D > --- >

Re: [PATCH v5 13/14] epoll: implement epoll_create2() syscall

2019-06-24 Thread Arnd Bergmann
On Mon, Jun 24, 2019 at 4:42 PM Roman Penyaev wrote: > > epoll_create2() is needed to accept EPOLL_USERPOLL flags > and size, i.e. this patch wires up polling from userspace. Can you explain in the patch description more what it's needed for? The man page only states that "Since Linux 2.6.8, the

Re: [PATCH v3] mfd: Add support for Merrifield Basin Cove PMIC

2019-06-24 Thread Lee Jones
On Wed, 12 Jun 2019, Andy Shevchenko wrote: > Add an MFD driver for Intel Merrifield Basin Cove PMIC. > > Signed-off-by: Andy Shevchenko > --- > - updated copyright year to be 2019 > - rebased on top of latest vanilla rc > > drivers/mfd/Kconfig | 11 ++ > drivers/mfd/Make

Re: [PATCH 07/12] xfs: don't preallocate a transaction for file size updates

2019-06-24 Thread Darrick J. Wong
On Mon, Jun 24, 2019 at 07:52:48AM +0200, Christoph Hellwig wrote: > We have historically decided that we want to preallocate the xfs_trans > structure at writeback time so that we don't have to allocate on in > the I/O completion handler. But we treat unwrittent extent and COW > fork conversions

Re: [PATCH 3/3] tools: memory-model: Improve data-race detection

2019-06-24 Thread Paul E. McKenney
On Mon, Jun 24, 2019 at 11:39:23AM -0400, Alan Stern wrote: > On Mon, 24 Jun 2019, Paul E. McKenney wrote: > > > On Sun, Jun 23, 2019 at 09:34:55PM -0700, Paul E. McKenney wrote: > > > On Sun, Jun 23, 2019 at 11:15:06AM -0400, Alan Stern wrote: > > > > On Sun, 23 Jun 2019, Akira Yokosawa wrote: >

[PATCH] perf/x86/intel: Mark expected switch fall-throughs

2019-06-24 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: arch/x86/events/intel/core.c: In function ‘intel_pmu_init’: arch/x86/events/intel/core.c:4959:8: warning: this statement may fall through [-Wimpli

Re: [PATCH net-next] net: macb: use NAPI_POLL_WEIGHT

2019-06-24 Thread David Miller
From: Antoine Tenart Date: Fri, 21 Jun 2019 17:28:55 +0200 > Use NAPI_POLL_WEIGHT, the default NAPI poll() weight instead of > redefining our own value (which turns out to be 64 as well). > > Signed-off-by: Antoine Tenart Applied, thanks.

Re: [PATCH net-next] net: macb: use GRO

2019-06-24 Thread David Miller
From: Antoine Tenart Date: Fri, 21 Jun 2019 17:30:02 +0200 > This patch updates the macb driver to use NAPI GRO helpers when > receiving SKBs. This improves performances. > > Signed-off-by: Antoine Tenart Applied.

Re: [PATCH v7 00/25] Unify vDSOs across more architectures

2019-06-24 Thread Vincenzo Frascino
On 24/06/2019 15:49, Catalin Marinas wrote: > On Mon, Jun 24, 2019 at 03:23:46PM +0100, Russell King wrote: >> On Mon, Jun 24, 2019 at 04:18:28PM +0200, Thomas Gleixner wrote: >>> Vincenzo, >>> >>> On Mon, 24 Jun 2019, Thomas Gleixner wrote: >>> I did not merge the ARM and MIPS parts as they l

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-24 Thread Alex Elder
On 6/18/19 2:03 PM, Johannes Berg wrote: > On Tue, 2019-06-18 at 08:45 -0500, Alex Elder wrote: > >> If it had a well-defined way of creating new channels to be >> multiplexed over the connection to the modem, the IPA driver >> (rather than the rmnet driver) could present network interfaces >> for

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-24 Thread Alex Elder
On 6/18/19 1:48 PM, Johannes Berg wrote: > Just to add to Dan's response, I think he's captured our discussions and > thoughts well. > >> First, a few terms (correct or improve as you like): > > Thanks for defining, we don't do that nearly often enough. > >> - WWAN device is a hardware device (l

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-24 Thread Alex Elder
On 6/18/19 1:06 PM, Dan Williams wrote: > On Tue, 2019-06-18 at 10:20 -0500, Alex Elder wrote: >> On 6/17/19 7:25 AM, Johannes Berg wrote: >>> On Mon, 2019-06-17 at 13:42 +0200, Johannes Berg wrote: >>> But anyway, as I alluded to above, I had something like this in mind: Sorry for the d

Re: [PATCH V4 13/18] soc/tegra: pmc: allow support for more tegra wake

2019-06-24 Thread Sowjanya Komatineni
On 6/24/19 1:15 AM, Marc Zyngier wrote: On Mon, 24 Jun 2019 04:02:54 +0100, Sowjanya Komatineni wrote: This patch allows to create separate irq_set_wake and irq_set_type implementations for different tegra designs PMC that has different wake models which require difference wake registers and

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-24 Thread Alex Elder
On 6/18/19 2:14 PM, Johannes Berg wrote: > On Tue, 2019-06-18 at 08:16 -0500, Alex Elder wrote: >> On 6/17/19 6:28 AM, Johannes Berg wrote: >>> On Tue, 2019-06-11 at 13:56 +0200, Arnd Bergmann wrote: On Tue, Jun 11, 2019 at 10:12 AM Johannes Berg wrote: >> As I've made clear bef

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-24 Thread Alex Elder
On 6/18/19 2:22 PM, Johannes Berg wrote: > On Tue, 2019-06-18 at 09:00 -0500, Alex Elder wrote: . . . > Anyway, I think for now we could probably live with not having this > configurable for the IPA driver, and if it *does* need to be > configurable, it seems like it should be a driver configurat

hello

2019-06-24 Thread eddy william
Hello My name is Eddy William I am a lawyer by profession. I wish to offer you the next of kin to my client. You will inherit the sum of ($14.2 Million) dollars my client left in the bank before his death. My client is a citizen of your country who died in auto crash with his wife and only son. I

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Andrew Lunn
On Mon, Jun 24, 2019 at 05:23:45PM +0200, Allan W. Nielsen wrote: > Hi Andrew, > > The 06/24/2019 16:26, Andrew Lunn wrote: > > > > Yeah, there are 2 ethernet controller ports (managed by the enetc > > > > driver) > > > > connected inside the SoC via SGMII links to 2 of the switch ports, one >

Re: [PATCH v5 13/14] epoll: implement epoll_create2() syscall

2019-06-24 Thread Roman Penyaev
On 2019-06-24 18:14, Arnd Bergmann wrote: On Mon, Jun 24, 2019 at 4:42 PM Roman Penyaev wrote: epoll_create2() is needed to accept EPOLL_USERPOLL flags and size, i.e. this patch wires up polling from userspace. Can you explain in the patch description more what it's needed for? Sure. Will

Re: KASAN: global-out-of-bounds Read in qmi_wwan_probe

2019-06-24 Thread Bjørn Mork
Hillf Danton writes: > and wonder if the following works. > > - info = (void *)&id->driver_info; > + info = (void *)id->driver_info; Doh! Right you are. Thanks to both you and Andrey for quick and good help. We obviously have some bad code patterns here, since this apparently worked f

[PATCH v4 0/3] ceph: don't NULL terminate virtual xattrs

2019-06-24 Thread Jeff Layton
v4: resurrect snprintf_noterm as static function that uses a fixed-size intermediate buffer. Return -E2BIG and WARN if the formatted string exceeds temp buffer. make getxattr_cb callbacks return ssize_t. v3: switch to using an intermediate buffer for snprintf destination add patch t

[PATCH v4 1/3] ceph: make getxattr_cb return ssize_t

2019-06-24 Thread Jeff Layton
The getxattr_cb functions return size_t, which is unsigned and then cast that value to int and then ssize_t before returning it. While all of this works, it relies on implicit casting rules for signed/unsigned conversions. Change getxattr_cb to return ssize_t to better conform with what the caller

[PATCH v4 3/3] ceph: don't NULL terminate virtual xattrs

2019-06-24 Thread Jeff Layton
The convention with xattrs is to not store the termination with string data, given that it returns the length. This is how setfattr/getfattr operate. Most of ceph's virtual xattr routines use snprintf to plop the string directly into the destination buffer, but snprintf always NULL terminates the

[PATCH v4 2/3] ceph: return -ERANGE if virtual xattr value didn't fit in buffer

2019-06-24 Thread Jeff Layton
The getxattr manpage states that we should return ERANGE if the destination buffer size is too small to hold the value. ceph_vxattrcb_layout does this internally, but we should be doing this for all vxattrs. Fix the only caller of getxattr_cb to check the returned size against the buffer length an

WWAN Controller Framework (was IPA [PATCH v2 00/17])

2019-06-24 Thread Alex Elder
OK I want to try to organize a little more concisely some of the discussion on this, because there is a very large amount of volume to date and I think we need to try to narrow the focus back down again. I'm going to use a few terms here. Some of these I really don't like, but I want to be unambi

[PATCH v2] gen_compile_command: Add support for separate KBUILD_OUTPUT directory

2019-06-24 Thread Matthias Kaehlcke
gen_compile_command.py currently assumes that the .cmd files and the source code live in the same directory, which is not the case when a separate KBUILD_OUTPUT directory is used. Add a new option to specify this the kbuild output directory. If the option is not set the kernel source directory is

Re: [PATCH] tpm: Get TCG log from TPM2 ACPI table for tpm2 systems

2019-06-24 Thread Jarkko Sakkinen
On Sun, 2019-06-23 at 20:47 -0700, Jordan Hand wrote: > For TPM2-based systems, retrieve the TCG log from the TPM2 ACPI table. > > Signed-off-by: Jordan Hand Please write a proper long description that describes where such thing is defined and used if you feel like refining this and sending v2.

Re: [PATCH v7 5/6] mm,thp: add read-only THP support for (non-shmem) FS

2019-06-24 Thread Song Liu
> On Jun 24, 2019, at 8:15 AM, Kirill A. Shutemov wrote: > > On Mon, Jun 24, 2019 at 03:04:21PM +, Song Liu wrote: >> >> >>> On Jun 24, 2019, at 7:54 AM, Kirill A. Shutemov >>> wrote: >>> >>> On Mon, Jun 24, 2019 at 02:42:13PM +, Song Liu wrote: > On Jun 24, 2019,

[PATCH] cifs: fix typo in debug message with struct field ia_valid

2019-06-24 Thread Colin King
From: Colin Ian King Field ia_valid is being debugged with the field name iavalid, fix this. Signed-off-by: Colin Ian King --- fs/cifs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index d7cc62252634..06a4892e9973 100644 --- a/fs/

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-24 Thread Arnd Bergmann
On Mon, Jun 24, 2019 at 6:21 PM Alex Elder wrote: > On 6/18/19 2:03 PM, Johannes Berg wrote: > > > Really there are two possible ways (and they intersect to some extent). > > > > One is the whole multi-function device, where a single WWAN device is > > composed of channels offered by actually diff

Re: [RFC PATCH bpf-next] RV32G eBPF JIT

2019-06-24 Thread Jiong Wang
Luke Nelson writes: > From: Luke Nelson > > This is an eBPF JIT for RV32G, adapted from the JIT for RV64G. > Any feedback would be greatly appreciated. > > It passes 359 out of 378 tests in test_bpf.ko. The failing tests are > features that are not supported right now: > - ALU64 DIV/MOD: >

Re: [RFC] perf/x86/intel: Disable check_msr for real hw

2019-06-24 Thread Andi Kleen
> > The other hypervisors are relatively obscure, but eventually > > someone will hit problems. > > any idea if there's any other flag/way we could use to detect those? I'm not aware of a generic way to detect any hypervisor unfortunately. There are hypervisor reserved cpuid ranges, in theory yo

Re: [PATCH v7 1/5] mtd: cfi_cmdset_0002: Add support for polling status register

2019-06-24 Thread Tokunori Ikegami
On 2019/06/21 2:22, Vignesh Raghavendra wrote: HyperFlash devices are compliant with CFI AMD/Fujitsu Extended Command Set (0x0002) for flash operations, therefore drivers/mtd/chips/cfi_cmdset_0002.c can be used as is. But these devices do not support DQ polling method of determining chip ready/

Re: [RFC] rcu: Warn that rcu ktheads cannot be spawned

2019-06-24 Thread Joel Fernandes
On Mon, Jun 24, 2019 at 05:27:32PM +0900, Byungchul Park wrote: > Hello rcu folks, > > I thought it'd better to announce it if those spawnings fail because of > !rcu_scheduler_fully_active. > > Of course, with the current code, it never happens though. > > Thoughts? It seems in the right spirit

Re: [V4 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-06-24 Thread Vinod Koul
On 13-06-19, 10:13, Peng Ma wrote: > DPPA2(Data Path Acceleration Architecture 2) qDMA > supports channel virtualization by allowing DMA typo virtualization > jobs to be enqueued into different frame queues. > Core can initiate a DMA transaction by preparing a frame > descriptor(FD) for each DMA

Re: [PATCH V6 3/3] arm64/mm: Enable memory hot remove

2019-06-24 Thread Mark Rutland
On Fri, Jun 21, 2019 at 03:35:53PM +0100, Steve Capper wrote: > Hi Anshuman, > > On Wed, Jun 19, 2019 at 09:47:40AM +0530, Anshuman Khandual wrote: > > The arch code for hot-remove must tear down portions of the linear map and > > vmemmap corresponding to memory being removed. In both cases the pa

Re: [v3 PATCH 2/4] mm: move mem_cgroup_uncharge out of __page_cache_release()

2019-06-24 Thread Yang Shi
On 6/13/19 10:13 AM, Yang Shi wrote: On 6/13/19 4:39 AM, Kirill A. Shutemov wrote: On Thu, Jun 13, 2019 at 05:56:47AM +0800, Yang Shi wrote: The later patch would make THP deferred split shrinker memcg aware, but it needs page->mem_cgroup information in THP destructor, which is called af

[PATCH v3] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family

2019-06-24 Thread Krzysztof Kozlowski
Add the PMIC regulator suspend configuration to entire Odroid XU3/XU4/HC1 family of boards to reduce power usage during suspend. The configuration is based on vendor (Hardkernel) reference kernel with additional buck9 suspend configuration (for USB hub suspend and proper reset). Energy consumptio

Re: WWAN Controller Framework (was IPA [PATCH v2 00/17])

2019-06-24 Thread Alex Elder
Sorry, I neglected to add Dan and Johannes--who have been primary contributors in this discussion--to this. Adding now. -Alex On 6/24/19 11:30 AM, Alex Elder wrote: > OK I want to try to organize a little more concisely some of the > discussion on this, be

Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation

2019-06-24 Thread Octavio Alvarez
On 6/23/19 7:54 AM, Thomas Gleixner wrote: I will keep trying 4.14, unless you say otherwise. It would be interesting though I don't expect too much data. So all of the above use PCI/MSI. That's at least a data point. I need to stare into that driver again to figure out why this might make a d

Re: [next][PowerPC] RCU stalls while booting linux-next on PowerVM LPAR

2019-06-24 Thread Sachin Sant
> On 24-Jun-2019, at 8:12 PM, David Hildenbrand wrote: > > On 24.06.19 16:09, Sachin Sant wrote: >> Latest -next fails to boot on POWER9 PowerVM LPAR due to RCU stalls. >> >> This problem was introduced with next-20190620 (dc636f5d78). >> next-20190619 was last good kernel. >> >> Reverting f

Re: [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS

2019-06-24 Thread Catalin Marinas
On Mon, Jun 24, 2019 at 04:29:39PM +0200, Ard Biesheuvel wrote: > On Mon, 24 Jun 2019 at 13:23, Ard Biesheuvel wrote: > > On 6/24/19 1:16 PM, Will Deacon wrote: > > > On Tue, May 28, 2019 at 11:04:20AM +0100, Will Deacon wrote: > > >> On Thu, May 23, 2019 at 11:22:52AM +0100, Ard Biesheuvel wrote:

Re: [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS

2019-06-24 Thread Ard Biesheuvel
On Mon, 24 Jun 2019 at 19:14, Catalin Marinas wrote: > > On Mon, Jun 24, 2019 at 04:29:39PM +0200, Ard Biesheuvel wrote: > > On Mon, 24 Jun 2019 at 13:23, Ard Biesheuvel wrote: > > > On 6/24/19 1:16 PM, Will Deacon wrote: > > > > On Tue, May 28, 2019 at 11:04:20AM +0100, Will Deacon wrote: > > >

Re: KASAN: global-out-of-bounds Read in qmi_wwan_probe

2019-06-24 Thread Kristian Evensen
Hi, On Mon, Jun 24, 2019 at 6:26 PM Bjørn Mork wrote: > Doh! Right you are. Thanks to both you and Andrey for quick and good > help. > > We obviously have some bad code patterns here, since this apparently > worked for Kristian by pure luck. Thanks a lot to everyone for spotting and fixing my m

Re: [PATCH v6 0/5] LM36274 Introduction

2019-06-24 Thread Dan Murphy
Lee On 6/24/19 9:42 AM, Lee Jones wrote: On Wed, 05 Jun 2019, Dan Murphy wrote: Hello The v5 patchset missed adding in the new validation code. Patch 1 of the v5 series was squashed into patch 4 of the v5 series. So this will reduce the patchset by 1. Sorry for the extra noise on the patchse

Re: [RFC PATCH 1/1] Revert "rseq/selftests: arm: use udf instruction for RSEQ_SIG"

2019-06-24 Thread Will Deacon
On Mon, Jun 17, 2019 at 05:23:04PM +0200, Mathieu Desnoyers wrote: > This reverts commit 2b845d4b4acd9422bbb668989db8dc36dfc8f438. > > That commit introduces build issues for programs compiled in Thumb mode. > Rather than try to be clever and emit a valid trap instruction on arm32, > which require

Re: [PATCH 2/2] usbip: Implement SG support to vhci

2019-06-24 Thread Alan Stern
On Mon, 24 Jun 2019, Suwan Kim wrote: > > > + hcd->self.sg_tablesize = ~0; > > > + hcd->self.no_sg_constraint = 1; > > > > You probably shouldn't do this, for two reasons. First, sg_tablesize > > of the server's HCD may be smaller than ~0. If the client's value is > > larger than the server's,

Re: [PATCH] sched/core: silence a warning in sched_init()

2019-06-24 Thread Valentin Schneider
On 24/06/2019 14:59, Qian Cai wrote: > Compiling a kernel with both FAIR_GROUP_SCHED=n and RT_GROUP_SCHED=n > will generate a warning using W=1, > > kernel/sched/core.c: In function 'sched_init': > kernel/sched/core.c:5906:32: warning: variable 'ptr' set but not used > [-Wunused-but-set-variable]

Re: [RFC] rcu: Warn that rcu ktheads cannot be spawned

2019-06-24 Thread Paul E. McKenney
On Mon, Jun 24, 2019 at 12:46:24PM -0400, Joel Fernandes wrote: > On Mon, Jun 24, 2019 at 05:27:32PM +0900, Byungchul Park wrote: > > Hello rcu folks, > > > > I thought it'd better to announce it if those spawnings fail because of > > !rcu_scheduler_fully_active. > > > > Of course, with the curre

Re: [PATCH net-next] can: dev: call netif_carrier_off() in register_candev()

2019-06-24 Thread Willem de Bruijn
On Mon, Jun 24, 2019 at 4:34 AM Rasmus Villemoes wrote: > > CONFIG_CAN_LEDS is deprecated. When trying to use the generic netdev > trigger as suggested, there's a small inconsistency with the link > property: The LED is on initially, stays on when the device is brought > up, and then turns off (as

Re: WARNING: ODEBUG bug in netdev_freemem (2)

2019-06-24 Thread Thomas Gleixner
On Mon, 24 Jun 2019, Thomas Gleixner wrote: > On Mon, 24 Jun 2019, Dmitry Vyukov wrote: > > On Mon, Jun 24, 2019 at 2:08 PM Eric Dumazet wrote: > > > >>> [ cut here ] > > > >>> ODEBUG: free active (active state 0) object type: timer_list hint: > > > >>> delayed_work_timer_f

Re: [PATCH v10 12/16] sched/core: uclamp: Extend CPU's cgroup controller

2019-06-24 Thread Patrick Bellasi
On 22-Jun 08:03, Tejun Heo wrote: > Hello, Hi, > Generally looks good to me. Some nitpicks. > > On Fri, Jun 21, 2019 at 09:42:13AM +0100, Patrick Bellasi wrote: > > @@ -951,6 +951,12 @@ controller implements weight and absolute bandwidth > > limit models for > > normal scheduling policy and a

Re: [PATCH v5 2/4] x86/entry: Simplify _TIF_SYSCALL_EMU handling

2019-06-24 Thread Catalin Marinas
On Tue, Jun 11, 2019 at 03:56:27PM +0100, Sudeep Holla wrote: > The usage of emulated and _TIF_SYSCALL_EMU flags in syscall_trace_enter > is more complicated than required. > > Cc: Andy Lutomirski > Cc: Ingo Molnar > Cc: Borislav Petkov > Acked-by: Oleg Nesterov > Reviewed-by: Thomas Gleixner

Re: [PATCH v4 1/1] sched/fair: Return all runtime when cfs_b has very little remaining.

2019-06-24 Thread bsegall
Dave Chiluk writes: > It has been observed, that highly-threaded, user-interactive > applications running under cpu.cfs_quota_us constraints can hit a high > percentage of periods throttled while simultaneously not consuming the > allocated amount of quota. This impacts user-interactive non-cpu b

Re: [PATCH V4 02/18] pinctrl: tegra: add suspend and resume support

2019-06-24 Thread Sowjanya Komatineni
On 6/24/19 2:46 AM, Dmitry Osipenko wrote: 24.06.2019 6:02, Sowjanya Komatineni пишет: This patch adds support for Tegra pinctrl driver suspend and resume. During suspend, context of all pinctrl registers are stored and on resume they are all restored to have all the pinmux and pad configurat

Re: [PATCH v10 13/16] sched/core: uclamp: Propagate parent clamps

2019-06-24 Thread Patrick Bellasi
On 22-Jun 08:07, Tejun Heo wrote: > Hello, Hi, > On Fri, Jun 21, 2019 at 09:42:14AM +0100, Patrick Bellasi wrote: > > Since it can be interesting for userspace, e.g. system management > > software, to know exactly what the currently propagated/enforced > > configuration is, the effective clamp v

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