Re: [PATCH] x86: mtrr: cyrix: Mark expected switch fall-through

2019-08-05 Thread Kees Cook
On Mon, Aug 05, 2019 at 03:17:12PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > Fix the following warning (Building: i386_defconfig i386): > > arch/x86/kernel/cpu/mtrr/cyrix.c:99:6: warning: this statement may fall > through [-Wimplicit-fallth

Re: [PATCH] x86/ptrace: Mark expected switch fall-through

2019-08-05 Thread Kees Cook
On Mon, Aug 05, 2019 at 02:56:54PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > Fix the following warning (Building: allnoconfig i386): > > arch/x86/kernel/ptrace.c:202:6: warning: this statement may fall through > [-Wimplicit-fallthrough=] >

Re: [PATCH] pcmcia: db1xxx_ss: Mark expected switch fall-throughs

2019-08-05 Thread Kees Cook
On Mon, Aug 05, 2019 at 02:49:42PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings (Building: db1xxx_defconfig mips): > > drivers/pcmcia/db1xxx_ss.c:257:3: warning: this statement may fall through > [-Wimpl

Re: [PATCH] page flags: prioritize kasan bits over last-cpuid

2019-08-05 Thread Guenter Roeck
are wrong (building with -m32), enclose all the > > > > > definitions with an #ifdef. > > > > > > > > > > > > > This results in > > > > > > > > ./include/linux/page-flags-layout.h:95:2: error: #error "Not enough &g

Re: [PATCH] ARC: unwind: Mark expected switch fall-throughs

2019-08-05 Thread Kees Cook
On Mon, Aug 05, 2019 at 02:32:32PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings (Building: haps_hs_defconfig arc): > > arch/arc/kernel/unwind.c:827:20: warning: this statement may fall through > [-Wimpli

Re: [PATCH 4.9 00/42] 4.9.188-stable review

2019-08-05 Thread Greg Kroah-Hartman
On Mon, Aug 05, 2019 at 11:11:01PM +0300, Jari Ruusu wrote: > Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.188 release. > > Peter Zijlstra's "x86/atomic: Fix smp_mb__{before,after}_atomic()" > upstream commit 69d927bba39517d0980462efc051875b7f4db185 seems

Re: oom-killer

2019-08-05 Thread Michal Hocko
On Mon 05-08-19 21:04:53, Pankaj Suryawanshi wrote: > On Mon, Aug 5, 2019 at 5:35 PM Michal Hocko wrote: > > > > On Mon 05-08-19 13:56:20, Vlastimil Babka wrote: > > > On 8/5/19 1:24 PM, Michal Hocko wrote: > > > >> [ 727.954355] CPU: 0 PID: 56 Comm: kworker/u8:2 Tainted: P > > > >> O

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-05 Thread Phil Auld
Hi, On Fri, Aug 02, 2019 at 11:37:15AM -0400 Julien Desfossez wrote: > We tested both Aaron's and Tim's patches and here are our results. > > Test setup: > - 2 1-thread sysbench, one running the cpu benchmark, the other one the > mem benchmark > - both started at the same time > - both are pinn

Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers

2019-08-05 Thread Sagi Grimberg
Ping ? I had another look today and I don't feel like mucking around with all the AQ size logic, AEN magic tag etc... just for that sake of that Apple gunk. I'm happy to have it give up IO tags, it doesn't seem to make much of a difference in practice anyway. But if you feel strongly about it,

Re: [PATCH v2] net/mlx5e: Use refcount_t for refcount

2019-08-05 Thread Saeed Mahameed
On Mon, 2019-08-05 at 14:55 +0800, Chuhong Yuan wrote: > On Mon, Aug 5, 2019 at 2:13 PM Leon Romanovsky > wrote: > > On Sun, Aug 04, 2019 at 10:44:47PM +0800, Chuhong Yuan wrote: > > > On Sun, Aug 4, 2019 at 8:59 PM Leon Romanovsky > > > wrote: > > > > On Sat, Aug 03, 2019 at 12:48:28AM +0800, Ch

Re: [PATCH] page flags: prioritize kasan bits over last-cpuid

2019-08-05 Thread Arnd Bergmann
e-flags-layout.h:95:2: error: #error "Not enough bits > > > in page flags" > > > #error "Not enough bits in page flags" > > > > > > when trying to build mipsel64:fuloong2e_defconfig. > > > > Do you have my follow-up fix applied? &g

[PATCH] x86/ptrace: Mark expected switch fall-through

2019-08-05 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. Fix the following warning (Building: allnoconfig i386): arch/x86/kernel/ptrace.c:202:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (unlikely(value == 0)) ^ arch/x86/kernel/ptrace.c:206:2: note: here d

Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers

2019-08-05 Thread Sagi Grimberg
Ping ? I had another look today and I don't feel like mucking around with all the AQ size logic, AEN magic tag etc... just for that sake of that Apple gunk. I'm happy to have it give up IO tags, it doesn't seem to make much of a difference in practice anyway. But if you feel strongly about it,

Re: [PATCH] linux/bits.h: Add compile time sanity check of GENMASK inputs

2019-08-05 Thread Rikard Falkeborn
On Sun, Aug 04, 2019 at 03:45:16PM +0900, Masahiro Yamada wrote: > On Sun, Aug 4, 2019 at 3:36 AM Rikard Falkeborn > wrote: > > > > On Sat, Aug 03, 2019 at 12:12:46PM +0900, Masahiro Yamada wrote: > > > On Sat, Aug 3, 2019 at 12:03 PM Masahiro Yamada > > > wrote: > > > > > > > > > > > BTW, v2 is

Re: [PATCH v2] mm: memcontrol: switch to rcu protection in drain_all_stock()

2019-08-05 Thread Roman Gushchin
On Mon, Aug 05, 2019 at 01:11:35PM +0200, Michal Hocko wrote: > On Fri 02-08-19 12:22:41, Roman Gushchin wrote: > > Commit 72f0184c8a00 ("mm, memcg: remove hotplug locking from try_charge") > > introduced css_tryget()/css_put() calls in drain_all_stock(), > > which are supposed to protect the targe

[PATCH] pcmcia: db1xxx_ss: Mark expected switch fall-throughs

2019-08-05 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warnings (Building: db1xxx_defconfig mips): drivers/pcmcia/db1xxx_ss.c:257:3: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/pcmcia/db1xxx_ss.c:269:3: warning: this statement may

[PATCH] power: supply: ab8500_charger: Mark expected switch fall-through

2019-08-05 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warning (Building: allmodconfig arm): drivers/power/supply/ab8500_charger.c:738:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Gustavo A. R. Silva --- drivers/power/s

Re: Issue with sequence to switch to HS400

2019-08-05 Thread Alan Cooper
No problem. Thanks Al On Tue, Jul 30, 2019 at 4:00 AM Adrian Hunter wrote: > > On 26/07/19 12:37 AM, Alan Cooper wrote: > > That's an even better solution and it gets my HS400 mode working. > > Will you add this change or should I? > > You, if you wouldn't mind. > > > > > Thanks > > Al > > > > O

Re: [PATCH] mm: workingset: fix vmstat counters for shadow nodes

2019-08-05 Thread Johannes Weiner
On Thu, Aug 01, 2019 at 04:35:32PM -0700, Roman Gushchin wrote: > Memcg counters for shadow nodes are broken because the memcg pointer is > obtained in a wrong way. The following approach is used: > virt_to_page(xa_node)->mem_cgroup > > Since commit 4d96ba353075 ("mm: memcg/slab: stop settin

[PATCH] tty: serial: Introduce uart_tx_stoppped_or_empty()

2019-08-05 Thread Andrey Smirnov
The vast majority of the serial drivers check for uart_tx_stopped(&p->port) || uart_circ_empty(xmit) condition one or more times. Create a dedicated helper function and convert drivers to use it. Signed-off-by: Andrey Smirnov Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Chris Healy Cc: linu

[PATCH] ARC: unwind: Mark expected switch fall-throughs

2019-08-05 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warnings (Building: haps_hs_defconfig arc): arch/arc/kernel/unwind.c:827:20: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/arc/kernel/unwind.c:836:20: warning: this statement may fa

Re: Let's talk about the elephant in the room - the Linux kernel's inability to gracefully handle low memory pressure

2019-08-05 Thread Johannes Weiner
On Mon, Aug 05, 2019 at 02:13:16PM +0200, Vlastimil Babka wrote: > On 8/4/19 11:23 AM, Artem S. Tashkinov wrote: > > Hello, > > > > There's this bug which has been bugging many people for many years > > already and which is reproducible in less than a few minutes under the > > latest and greatest

Re: [GIT PULL] SafeSetID MAINTAINERS file update for v5.3

2019-08-05 Thread Konstantin Ryabitsev
On Mon, Aug 05, 2019 at 12:17:49PM -0700, Linus Torvalds wrote: However, I suspect that getting message-ids for all your pull requests would significantly complicate your workflow. Yeah, that would be a noticeable annoyance. If I were to process pull requests the way I used to process emailed

Re: [PATCH RFC] mm/memcontrol: reclaim severe usage over high limit in get_user_pages loop

2019-08-05 Thread Shakeel Butt
On Mon, Aug 5, 2019 at 7:32 AM Michal Hocko wrote: > > On Fri 02-08-19 11:56:28, Yang Shi wrote: > > On Fri, Aug 2, 2019 at 2:35 AM Michal Hocko wrote: > > > > > > On Thu 01-08-19 14:00:51, Yang Shi wrote: > > > > On Mon, Jul 29, 2019 at 11:48 AM Michal Hocko wrote: > > > > > > > > > > On Mon 29

Re: [RESEND PATCH v5 4/4] mailbox: imx: add support for imx v1 mu

2019-08-05 Thread Daniel Baluta
On Mon, Aug 5, 2019 at 8:16 AM Richard Zhu wrote: > > There is a version 1.0 MU on i.MX7ULP platform. > One new version ID register is added, and it's offset is 0. > TRn registers are defined at the offset 0x20 ~ 0x2C. > RRn registers are defined at the offset 0x40 ~ 0x4C. > SR/CR registers are de

Re: [RESEND PATCH v5 3/4] dt-bindings: mailbox: imx-mu: add imx7ulp MU support

2019-08-05 Thread Daniel Baluta
+ Rob On Mon, Aug 5, 2019 at 8:18 AM Richard Zhu wrote: > > There is a version 1.0 MU on imx7ulp, use "fsl,imx7ulp-mu" compatible > to support it. > > Signed-off-by: Richard Zhu > Reviewed-by: Dong Aisheng Reviewed-by: Daniel Baluta > --- > Documentation/devicetree/bindings/mailbox/fsl,mu.t

Re: [alsa-devel] [RFC PATCH 28/40] soundwire: intel: handle disabled links

2019-08-05 Thread Pierre-Louis Bossart
On 8/5/19 11:57 AM, Sanyog Kale wrote: On Thu, Jul 25, 2019 at 06:40:20PM -0500, Pierre-Louis Bossart wrote: On most hardware platforms, SoundWire interfaces are pin-muxed with other interfaces (typically DMIC or I2S) and the status of each link needs to be checked at boot time. For Intel pl

Re: [GIT PULL] SafeSetID MAINTAINERS file update for v5.3

2019-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2019 at 12:11 PM Konstantin Ryabitsev wrote: > > However, I suspect that getting message-ids for all your pull requests > would significantly complicate your workflow. Yeah, that would be a noticeable annoyance. If I were to process pull requests the way I used to process emailed p

Re: [PATCH 1/2] ARM: dts: meson8b: add the nvmem cell with the board's MAC address

2019-08-05 Thread Martin Blumenstingl
On Mon, Jul 29, 2019 at 11:45 PM Martin Blumenstingl wrote: > > On Mon, Jul 29, 2019 at 9:11 AM Neil Armstrong > wrote: > > > > Hi Martin, > > > > On 27/07/2019 21:46, Martin Blumenstingl wrote: > > > Amlogic's BSP kernel defines that all boards with a MAC address stored > > > in the eFuse have

Re: [PATCH] MIPS: BCM63XX: Mark expected switch fall-through

2019-08-05 Thread Joe Perches
On Mon, 2019-08-05 at 13:55 -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning (Building: bcm63xx_defconfig mips): > > arch/mips/pci/ops-bcm63xx.c: In function ‘bcm63xx_pcie_can_access’: > arch/mips/pci/ops-bcm6

Re: [Regression] Commit "nvme/pci: Use host managed power state for suspend" has problems

2019-08-05 Thread Kai-Heng Feng
at 19:04, Rafael J. Wysocki wrote: On Fri, Aug 2, 2019 at 12:55 PM Kai-Heng Feng wrote: at 06:26, Rafael J. Wysocki wrote: On Thu, Aug 1, 2019 at 9:05 PM wrote: -Original Message- From: Rafael J. Wysocki Sent: Thursday, August 1, 2019 12:30 PM To: Kai-Heng Feng; Keith Busch; Lim

Re: [alsa-devel] [RFC PATCH 23/40] soundwire: stream: fix disable sequence

2019-08-05 Thread Pierre-Louis Bossart
On 8/5/19 11:32 AM, Sanyog Kale wrote: On Mon, Aug 05, 2019 at 10:33:25AM -0500, Pierre-Louis Bossart wrote: On 8/5/19 4:56 AM, Sanyog Kale wrote: On Thu, Jul 25, 2019 at 06:40:15PM -0500, Pierre-Louis Bossart wrote: When we disable the stream and then call hw_free, two bank switches will

Re: [GIT PULL] SafeSetID MAINTAINERS file update for v5.3

2019-08-05 Thread Konstantin Ryabitsev
On Mon, Aug 05, 2019 at 11:20:59AM -0700, Linus Torvalds wrote: I don't know if it's worth changing the pr-tracker-bot rules. I *do* think that the whole unquoted for you to fetch changes up to [hex string] is by far the strongest single signal for a pull request, but it's not clear that it's

Re: [alsa-devel] [RFC PATCH 27/40] soundwire: Add Intel resource management algorithm

2019-08-05 Thread Pierre-Louis Bossart
+static int sdw_select_row_col(struct sdw_bus *bus, int clk_freq) +{ + struct sdw_master_prop *prop = &bus->prop; + int frame_int, frame_freq; + int r, c; + + for (c = 0; c < SDW_FRAME_COLS; c++) { + for (r = 0; r < SDW_FRAME_ROWS; r++) { +

Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers

2019-08-05 Thread Jens Axboe
On 8/5/19 11:27 AM, Sagi Grimberg wrote: > >>> Ping ? I had another look today and I don't feel like mucking around >>> with all the AQ size logic, AEN magic tag etc... just for that sake of >>> that Apple gunk. I'm happy to have it give up IO tags, it doesn't seem >>> to make much of a difference

Re: [PATCH 0/6] arm64: g12a: add support for DVFS

2019-08-05 Thread Kevin Hilman
Neil Armstrong writes: > The G12A & G12B SoCs has kernel controllable CPU clocks and PWMs for > voltage regulators. > > This patchsets moves the meson-g12a.dtsi to meson-g12-common.dtsi to simplify > handling the G12A & G12B differences in the meson-g12a.dtsi & meson-g12b.dtsi > files, like the O

Re: [GIT PULL] SPI fixes for v5.3

2019-08-05 Thread pr-tracker-bot
The pull request you sent on Mon, 5 Aug 2019 15:50:14 +0100: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > tags/spi-fix-v5.3-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0eb0ce0a78e1f57082bca6cbdea6fd04feedb876 Thank you! -- Deet-doot-do

Re: [GIT PULL] Kselftest update for Linux 5.3-rc4

2019-08-05 Thread pr-tracker-bot
The pull request you sent on Mon, 5 Aug 2019 09:56:41 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-5.3-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9e9671cea72e0652a8a0d03b7c96a8a798470c43 Thank you! -- D

Re: [GIT PULL] regulator fixes for v5.3

2019-08-05 Thread pr-tracker-bot
The pull request you sent on Mon, 5 Aug 2019 15:34:31 +0100: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git > tags/regulator-fix-v5.3-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/df9edcba0b1146da5e4a2d1921bbc10c1a2fb55d Thank you! --

[PATCH net-next] net: phy: modify assignment to OR for dev_flags in phy_attach_direct

2019-08-05 Thread Tao Ren
Modify the assignment to OR when dealing with phydev->dev_flags in phy_attach_direct function, and this is to make sure dev_flags set in driver's probe callback won't be lost. Suggested-by: Andrew Lunn CC: Heiner Kallweit CC: Vladimir Oltean Signed-off-by: Tao Ren --- drivers/net/phy/phy_devi

[PATCH v3 5/6] tty: serial: fsl_lpuart: Don't enable TIE in .startup() or .resume()

2019-08-05 Thread Andrey Smirnov
Enabling TIE in .startup() callback causes the driver to start (or at least try) to transmit data before .start_tx() is called. Which, while harmless (since TIE handler will immediately disable it), is a no-op and shouldn't really happen. Drop UARTCR2_TIE from list of bits set in lpuart_startup().

[PATCH v3 4/6] tty: serial: fsl_lpuart: Introduce lpuart*_setup_watermark_enable()

2019-08-05 Thread Andrey Smirnov
Most users of lpuart*_setup_watermark() enable identical set of flags right after the call, so combine those two action into a subroutine and make use of it. Signed-off-by: Andrey Smirnov Cc: Stefan Agner Cc: Chris Healy Cc: Cory Tusar Cc: Lucas Stach Cc: Greg Kroah-Hartman Cc: Jiri Slaby C

[PATCH v3 0/6] LPUART fixes and improvements

2019-08-05 Thread Andrey Smirnov
Everyone: This series contains fixes/improvements to LPUART dirver I came up with recently as well as fixes picked up from Toradex and NXP Vybrid repos. Feedback is welcome! Changes since [v2]: - Series rebased on Greg's tty-testing branch Changes since [v1]: - Dropped "tty: serial: fsl_lpu

[PATCH v3 6/6] tty: serial: fsl_lpuart: Ignore TX/RX interrupts if DMA is enabled

2019-08-05 Thread Andrey Smirnov
In a mixed DMA/IRQ use-case (e.g.: DMA for TX, IRQ for RX), interrupt handler might try to handle Rx/Tx condition it shouldn't. Change the code to only handle TX/RX event if corresponding path isn't being handled by DMA. Signed-off-by: Andrey Smirnov Cc: Stefan Agner Cc: Chris Healy Cc: Cory Tu

[PATCH v3 3/6] tty: serial: fsl_lpuart: Introduce lpuart32_configure()

2019-08-05 Thread Andrey Smirnov
Code doing final steps of TX/RX configuration in lpuart32_startup() and lpuart_resume() is identical, so move it into a standalone subroutine. Signed-off-by: Andrey Smirnov Cc: Stefan Agner Cc: Chris Healy Cc: Cory Tusar Cc: Lucas Stach Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-...@nx

[PATCH v3 1/6] tty: serial: fsl_lpuart: Introduce lpuart_tx_dma_startup()

2019-08-05 Thread Andrey Smirnov
Code configure DMA TX path in lpuart_startup(), lpuart32_startup() and lpuart_resume() is doing exactly the same thing, so move it into a standalone subroutine. Signed-off-by: Andrey Smirnov Cc: Stefan Agner Cc: Chris Healy Cc: Cory Tusar Cc: Lucas Stach Cc: Greg Kroah-Hartman Cc: Jiri Slaby

[PATCH v3 2/6] tty: serial: fsl_lpuart: Introduce lpuart_rx_dma_startup()

2019-08-05 Thread Andrey Smirnov
Code doing initial DMA RX configuration in lpuart_startup() and lpuart32_startup() is exactly the same, so move it into a standalone subroutine. Signed-off-by: Andrey Smirnov Cc: Stefan Agner Cc: Chris Healy Cc: Cory Tusar Cc: Lucas Stach Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-...@

[PATCH] MIPS: BCM63XX: Mark expected switch fall-through

2019-08-05 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. This patch fixes the following warning (Building: bcm63xx_defconfig mips): arch/mips/pci/ops-bcm63xx.c: In function ‘bcm63xx_pcie_can_access’: arch/mips/pci/ops-bcm63xx.c:474:6: warning: this statement may fall through [-Wimplicit-fallthr

Re: Let's talk about the elephant in the room - the Linux kernel's inability to gracefully handle low memory pressure

2019-08-05 Thread Johannes Weiner
On Mon, Aug 05, 2019 at 03:31:19PM +0200, Michal Hocko wrote: > On Mon 05-08-19 14:13:16, Vlastimil Babka wrote: > > On 8/4/19 11:23 AM, Artem S. Tashkinov wrote: > > > Hello, > > > > > > There's this bug which has been bugging many people for many years > > > already and which is reproducible in

Re: [Lkcamp] [PATCH] isdn: hysdn: fix code style error from checkpatch

2019-08-05 Thread Helen Koike
Hi, On Fri, Aug 2, 2019 at 6:55 PM Stephen Hemminger wrote: > > On Fri, 2 Aug 2019 19:50:17 + > Ricardo Bruno Lopes da Silva wrote: > > > Fix error bellow from checkpatch. > > > > WARNING: Block comments use * on subsequent lines > > +/***

Re: [PATCH] page flags: prioritize kasan bits over last-cpuid

2019-08-05 Thread Guenter Roeck
l the > > > definitions with an #ifdef. > > > > > > > This results in > > > > ./include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in > > page flags" > > #error "Not enough bits in page flags" > > > > wh

Re: [Lkcamp] [PATCH] staging: isdn: remove unnecessary parentheses

2019-08-05 Thread Helen Koike
Hi, On Mon, Aug 5, 2019 at 11:51 AM Dan Carpenter wrote: > > This driver is obselete so we're just keeping it around for a couple > kernel releases and then deleting it. We're not taking cleanups for it. I'm sorry, it was me who suggested Thiago to make this change as his first contribution, I

Re: [PATCH] MAINTAINERS: floppy: take over maintainership

2019-08-05 Thread Thorsten Glaser
Hi Denis, I just saw this on LWN and would like to thank you for picking up floppy support as it’s important (especially for interfacing with esoteric hardware). I’m also collecting a few drives so I can use a spare if one breaks… usable discs are becoming a problem though ☹ bye, //mirabilos --

Re: [GIT PULL] regulator fixes for v5.3

2019-08-05 Thread Linus Torvalds
Mark, these got marked as spam once again, because dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org and I think it's because you have DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; but then you have From: Mark Brown so the DKIM signatur

Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers

2019-08-05 Thread Keith Busch
On Mon, Aug 05, 2019 at 11:27:54AM -0700, Sagi Grimberg wrote: > > > > Ping ? I had another look today and I don't feel like mucking around > > > with all the AQ size logic, AEN magic tag etc... just for that sake of > > > that Apple gunk. I'm happy to have it give up IO tags, it doesn't seem > >

Re: [PATCH 7/9] media: hantro: Add core bits to support H264 decoding

2019-08-05 Thread Ezequiel Garcia
Hey Tomasz, On Thu, 2019-08-01 at 13:06 +0900, Tomasz Figa wrote: > Hi Boris, > > On Wed, Jun 19, 2019 at 9:15 PM Boris Brezillon > wrote: > [snip] > > @@ -533,10 +535,21 @@ hantro_queue_setup(struct vb2_queue *vq, unsigned int > > *num_buffers, > > return -EINVAL; > > }

Re: [PATCH 1/3] mm, reclaim: make should_continue_reclaim perform dryrun detection

2019-08-05 Thread Vlastimil Babka
On 8/5/19 6:58 PM, Mike Kravetz wrote: >> Signed-off-by: Vlastimil Babka > > Acked-by: Mike Kravetz > > Would you like me to add this to the series, or do you want to send later? Please add, thanks!

Re: [PATCH] PCI: hv: Detect and fix Hyper-V PCI domain number collision

2019-08-05 Thread Sasha Levin
On Fri, Aug 02, 2019 at 06:52:56PM +, Haiyang Zhang wrote: Due to Azure host agent settings, the device instance ID's bytes 8 and 9 are no longer unique. This causes some of the PCI devices not showing up in VMs with multiple passthrough devices, such as GPUs. So, as recommended by Azure host

Re: [PATCH] page flags: prioritize kasan bits over last-cpuid

2019-08-05 Thread Arnd Bergmann
On Mon, Aug 5, 2019 at 6:51 PM Guenter Roeck wrote: > > On Fri, Aug 02, 2019 at 09:49:02PM -0700, Arnd Bergmann wrote: > > ARM64 randdconfig builds regularly run into a build error, especially > > when NUMA_BALANCING and SPARSEMEM are enabled but not SPARSEMEM_VMEMMAP: > > > > #error "KASAN: not

Re: [PATCH 5.2 000/131] 5.2.7-stable review

2019-08-05 Thread kernelci.org bot
stable-rc/linux-5.2.y boot: 134 boots: 0 failed, 93 passed with 41 offline (v5.2.6-132-ga312bfbb74da) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.2.y/kernel/v5.2.6-132-ga312bfbb74da/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.2.y/ke

Re: [PATCH 4.19 00/74] 4.19.65-stable review

2019-08-05 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 65 boots: 1 failed, 64 passed (v4.19.64-75-g27e5d9acda64) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.64-75-g27e5d9acda64/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19.y/kernel/v4.19.6

Re: [PATCH] ARM: Replace strncmp with str_has_prefix

2019-08-05 Thread Kevin Hilman
Chuhong Yuan writes: > In commit b6b2735514bc > ("tracing: Use str_has_prefix() instead of using fixed sizes") > the newly introduced str_has_prefix() was used > to replace error-prone strncmp(str, const, len). > Here fix codes with the same pattern. > > Signed-off-by: Chuhong Yuan > --- > arch

Re: [PATCH v2] PM/sleep: Expose suspend stats in sysfs

2019-08-05 Thread Tri Vo
On Thu, Aug 1, 2019 at 9:34 AM Kalesh Singh wrote: > > On Wed, Jul 31, 2019 at 11:19 PM Greg KH wrote: > > > > On Wed, Jul 31, 2019 at 02:29:33PM -0700, Kalesh Singh wrote: > > > Userspace can get suspend stats from the suspend stats debugfs node. > > > Since debugfs doesn't have stable ABI, expo

Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers

2019-08-05 Thread Sagi Grimberg
Ping ? I had another look today and I don't feel like mucking around with all the AQ size logic, AEN magic tag etc... just for that sake of that Apple gunk. I'm happy to have it give up IO tags, it doesn't seem to make much of a difference in practice anyway. But if you feel strongly about it,

Re: [GIT PULL] SafeSetID MAINTAINERS file update for v5.3

2019-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2019 at 7:28 AM Konstantin Ryabitsev wrote: > > On Sun, Aug 04, 2019 at 10:47:54AM -0700, Linus Torvalds wrote: > > - maybe pr-tracker-bot ignores follow-up emails with "Re:" in the > > subject? > > Yes, this is the culprit. Here are the matching regexes: > > https://git.kernel.org/

Re: [PATCH net] mvpp2: fix panic on module removal

2019-08-05 Thread Matteo Croce
On Mon, Aug 5, 2019 at 7:58 PM David Miller wrote: > > From: Matteo Croce > Date: Wed, 31 Jul 2019 20:31:16 +0200 > > > mvpp2 uses a delayed workqueue to gather traffic statistics. > > On module removal the workqueue can be destroyed before calling > > cancel_delayed_work_sync() on its works. > >

Re: [PATCH v2] net/mlx5e: always initialize frag->last_in_page

2019-08-05 Thread David Miller
From: Qian Cai Date: Thu, 1 Aug 2019 09:52:54 -0400 > The commit 069d11465a80 ("net/mlx5e: RX, Enhance legacy Receive Queue > memory scheme") introduced an undefined behaviour below due to > "frag->last_in_page" is only initialized in mlx5e_init_frags_partition() > when, > > if (next_frag.offse

Re: [PATCH] MAINTAINERS: Update e-mail address for Andrea Parri

2019-08-05 Thread James Bottomley
On Mon, 2019-08-05 at 10:43 -0700, Paul E. McKenney wrote: > On Mon, Aug 05, 2019 at 08:23:38AM -0700, James Bottomley wrote: > > On Mon, 2019-08-05 at 17:15 +0200, Andrea Parri wrote: > > > > Why don't you also add an entry in .mailmap as Will did in > > > > commit > > > > c584b1202f2d ("MAINTAINE

Re: [PATCH v7 01/20] pinctrl: tegra: Add suspend and resume support

2019-08-05 Thread Sowjanya Komatineni
On 8/5/19 3:50 AM, Dmitry Osipenko wrote: 01.08.2019 0:10, 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 configurati

[PATCH net-next 03/10] net: stmmac: Fix issues when number of Queues >= 4

2019-08-05 Thread Jose Abreu
When queues >= 4 we use different registers but we were not subtracting the offset of 4. Fix this. Found out by Coverity. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-s

[PATCH net-next 08/10] net: stmmac: Implement VLAN Hash Filtering in XGMAC

2019-08-05 Thread Jose Abreu
Implement the VLAN Hash Filtering feature in XGMAC core. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infra

[PATCH net-next 02/10] net: stmmac: xgmac: Implement MMC counters

2019-08-05 Thread Jose Abreu
Implement the MMC counters feature in XGMAC core. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.or

[PATCH net-next 05/10] net: stmmac: xgmac: Implement tx_queue_prio()

2019-08-05 Thread Jose Abreu
Implement the TX Queue Priority callback in XGMAC core. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infrad

[PATCH net-next 01/10] net: stmmac: xgmac: Fix XGMAC selftests

2019-08-05 Thread Jose Abreu
Fixup the XGMAC selftests by correctly finishing the implementation of set_filter callback. Result: $ ethtool -t enp4s0 The test result is PASS The test extra info: 1. MAC Loopback 0 2. PHY Loopback -95 3. MMC Counters -95 4. EEE

[PATCH net-next 10/10] net: stmmac: Implement Safety Features in XGMAC core

2019-08-05 Thread Jose Abreu
XGMAC also supports Safety Features. This patch implements the configuration and handling of this feature in XGMAC core. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st.

[PATCH net-next 06/10] net: stmmac: Implement RSS and enable it in XGMAC core

2019-08-05 Thread Jose Abreu
Implement the RSS functionality and add the corresponding callbacks in XGMAC core. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: li

[PATCH net-next 07/10] net: stmmac: selftests: Add RSS test

2019-08-05 Thread Jose Abreu
Add a test for RSS in the stmmac selftests. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH net-next 09/10] net: stmmac: selftests: Add test for VLAN and Double VLAN Filtering

2019-08-05 Thread Jose Abreu
Add a selftest for VLAN and Double VLAN Filtering in stmmac. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.i

[PATCH net-next 00/10] net: stmmac: Misc improvements for XGMAC (Part 1 of 3)

2019-08-05 Thread Jose Abreu
[ Breaking down the previous 26 patch series into 3 series ] [ This series depend on 3caa61c20875 ("net: stmmac: Sync RX Buffer upon allocation") which is already in -net but not -next ] Misc improvements for -next which adds new features in XGMAC cores. More info in commit logs. --- Cc: Giuse

[PATCH net-next 04/10] net: stmmac: xgmac: Implement set_mtl_tx_queue_weight()

2019-08-05 Thread Jose Abreu
Implement the TX Queue Weight callback. In order for this to be active we also need to set ETS algorithm when configuring Queue. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: l

[PATCH v7 1/3] PM / wakeup: Drop wakeup_source_init(), wakeup_source_prepare()

2019-08-05 Thread Tri Vo
wakeup_source_init() has no users. Remove it. As a result, wakeup_source_prepare() is only called from wakeup_source_create(). Merge wakeup_source_prepare() into wakeup_source_create() and remove it. Signed-off-by: Tri Vo --- drivers/base/power/wakeup.c | 33 + i

[PATCH v7 2/3] PM / wakeup: Use wakeup_source_register() in wakelock.c

2019-08-05 Thread Tri Vo
kernel/power/wakelock.c duplicates wakeup source creation and registration code from drivers/base/power/wakeup.c. Change struct wakelock's wakeup source to a pointer and use wakeup_source_register() function to create and register said wakeup source. Use wakeup_source_unregister() on cleanup path.

[PATCH v7 3/3] PM / wakeup: Show wakeup sources stats in sysfs

2019-08-05 Thread Tri Vo
Add an ID and a device pointer to 'struct wakeup_source'. Use them to to expose wakeup sources statistics in sysfs under /sys/class/wakeup/wakeup/*. Co-developed-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman Co-developed-by: Stephen Boyd Signed-off-by: Stephen Boyd Signed-off-by: Tr

[PATCH v7 0/3] PM / wakeup: show wakeup sources stats in sysfs

2019-08-05 Thread Tri Vo
Userspace can use wakeup_sources debugfs node to plot history of suspend blocking wakeup sources over device's boot cycle. This information can then be used (1) for power-specific bug reporting and (2) towards attributing battery consumption to specific processes over a period of time. However, de

Re: [PATCH net] mvpp2: fix panic on module removal

2019-08-05 Thread David Miller
From: Matteo Croce Date: Wed, 31 Jul 2019 20:31:16 +0200 > mvpp2 uses a delayed workqueue to gather traffic statistics. > On module removal the workqueue can be destroyed before calling > cancel_delayed_work_sync() on its works. > Fix it by moving the destroy_workqueue() call after mvpp2_port_rem

Re: [PATCH V2 01/10] x86/CPU: Expose if cache is inclusive of lower level caches

2019-08-05 Thread Reinette Chatre
Hi Borislav, On 8/3/2019 2:44 AM, Borislav Petkov wrote: > On Fri, Aug 02, 2019 at 01:11:13PM -0700, Reinette Chatre wrote: >> This patch only makes it possible to determine whether cache is >> inclusive for some x86 platforms while all platforms of all >> architectures are given visibility into t

Re: [PATCH net] net: dsa: mv88e6xxx: drop adjust_link to enabled phylink

2019-08-05 Thread David Miller
From: Hubert Feurstein Date: Wed, 31 Jul 2019 17:42:39 +0200 > We have to drop the adjust_link callback in order to finally migrate to > phylink. > > Otherwise we get the following warning during startup: > "mv88e6xxx 2188000.ethernet-1:10: Using legacy PHYLIB callbacks. Please >migrate to

Re: [PATCH v2 2/2] cxgb4: smt: Use refcount_t for refcount

2019-08-05 Thread David Miller
From: Chuhong Yuan Date: Fri, 2 Aug 2019 16:35:47 +0800 > refcount_t is better for reference counters since its > implementation can prevent overflows. > So convert atomic_t ref counters to refcount_t. > > Signed-off-by: Chuhong Yuan > --- > Changes in v2: > - Convert refcount from 0-base to

RE: [PATCH] x86/asm: Add support for MOVDIR64B instruction

2019-08-05 Thread Lin, Jing
+Dave, who is the DSA developer. Thanks, Jing -Original Message- From: Borislav Petkov Sent: Friday, August 2, 2019 7:41 AM To: Luck, Tony Cc: Kirill A. Shutemov ; Alexey Dobriyan ; kirill.shute...@linux.intel.com; linux-kernel@vger.kernel.org; Lin, Jing ; x...@kernel.org Subject:

Re: [PATCH v9 04/11] x86/entry/64: Adapt assembly for PIE support

2019-08-05 Thread Thomas Garnier
On Mon, Aug 5, 2019 at 10:28 AM Borislav Petkov wrote: > > On Tue, Jul 30, 2019 at 12:12:48PM -0700, Thomas Garnier wrote: > > Change the assembly code to use only relative references of symbols for the > > kernel to be PIE compatible. > > > > Position Independent Executable (PIE) support will all

Re: [PATCH RFC tip/core/rcu 14/14] rcu/nohz: Make multi_cpu_stop() enable tick on all online CPUs

2019-08-05 Thread Paul E. McKenney
On Mon, Aug 05, 2019 at 05:50:24PM +0200, Peter Zijlstra wrote: > On Mon, Aug 05, 2019 at 07:54:48AM -0700, Paul E. McKenney wrote: > > > > Right; so clearly we're not understanding what's happening. That seems > > > like a requirement for actually doing a patch. > > > > Almost but not quite. It

Re: [PATCH net-next 00/26] net: stmmac: Misc improvements for XGMAC

2019-08-05 Thread David Miller
This patch series is way too large. Break it down into smaller collections of changes, say a dozen at a time or so. Thank you.

Re: [PATCH v4 3/3] mtd: spi-nor: Rework hwcaps selection for the spi-mem case

2019-08-05 Thread Tudor.Ambarus
On 08/01/2019 07:22 PM, Vignesh Raghavendra wrote: > +static int spi_nor_spimem_check_op(struct spi_nor *nor, > +struct spi_mem_op *op) > +{ > + /* > + * First test with 4 address bytes. The opcode itself might > + * be a 3B addressing opcode but we d

Re: [PATCH] MAINTAINERS: Update e-mail address for Andrea Parri

2019-08-05 Thread Paul E. McKenney
On Mon, Aug 05, 2019 at 08:23:38AM -0700, James Bottomley wrote: > On Mon, 2019-08-05 at 17:15 +0200, Andrea Parri wrote: > > > Why don't you also add an entry in .mailmap as Will did in commit > > > c584b1202f2d ("MAINTAINERS: Update my email address to use > > > @kernel.org")? > > > > I consider

Re: [PATCH net-next v2] net: dsa: mv88e6xxx: extend PTP gettime function to read system clock

2019-08-05 Thread Andrew Lunn
> +static int mv88e6xxx_mdiobus_write_nested(struct mv88e6xxx_chip > *chip, int addr, u32 regnum, u16 val) > +{ > + int err; > + > + BUG_ON(in_interrupt()); > + > + mutex_lock_nested(&chip->bus->mdio_lock, MDIO_MUTEX_NESTED); > + ptp_read_system_prets(chip->ptp_sts); > +

Re: [PATCH 4.9 00/42] 4.9.188-stable review

2019-08-05 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 101 boots: 0 failed, 60 passed with 41 offline (v4.9.187-43-g78dd396df223) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.187-43-g78dd396df223/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.9.y/

Re: [PATCH 4.4 00/22] 4.4.188-stable review

2019-08-05 Thread kernelci.org bot
stable-rc/linux-4.4.y boot: 93 boots: 1 failed, 54 passed with 38 offline (v4.4.187-23-gb9a28e18ca89) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.187-23-gb9a28e18ca89/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/k

Re: [PATCH 2/2] mm/zsmalloc.c: Fix race condition in zs_destroy_pool

2019-08-05 Thread Henry Burns
On Sun, Aug 4, 2019 at 9:28 PM Minchan Kim wrote: > > Hi Henry, > > On Thu, Aug 01, 2019 at 06:53:32PM -0700, Henry Burns wrote: > > In zs_destroy_pool() we call flush_work(&pool->free_work). However, we > > have no guarantee that migration isn't happening in the background > > at that time. > > >

[PATCH] kernfs: fix memleak in kernel_ops_readdir()

2019-08-05 Thread Tejun Heo
From: Andrea Arcangeli If getdents64 is killed or hits on segfault, it'll leave cgroups directories in sysfs pinned leaking memory because the kernfs node won't be freed on rmdir and the parent neither. Repro: # for i in `seq 1000`; do mkdir $i; done # rmdir * # for i in `seq 1000`; do mk

Re: [PATCH net-next v3] net: can: Fix compiling warnings for two functions

2019-08-05 Thread David Miller
From: Mao Wenan Date: Mon, 5 Aug 2019 19:57:44 +0800 > @@ -1680,7 +1680,7 @@ static int bcm_recvmsg(struct socket *sock, struct > msghdr *msg, size_t size, > return size; > } > > -int bcm_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd, > +static int bcm_sock_no_ioctlcmd(struct s

<    1   2   3   4   5   6   7   8   9   10   >