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

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

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:

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:

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:

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

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,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

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

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

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.

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

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

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

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:

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

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

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

2019-08-05 Thread Richard Cochran
On Mon, Aug 05, 2019 at 07:12:40PM +0200, Hubert Feurstein wrote: > It got improved, but you still have the unpredictable latencies caused by the > mdio_done-completion (=> wait_for_completion_timeout) in imx_fec. Yes, that is the important point. Please take a look at other mmi_bus.write()

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

2019-08-05 Thread Borislav Petkov
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 allow to extend the > KASLR randomization range below

Re: [PATCH]][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"

2019-08-05 Thread David Miller
From: Colin King Date: Mon, 5 Aug 2019 11:52:11 +0100 > From: Colin Ian King > > There is a spelling mistake in an error messgae. Fix it. > > Signed-off-by: Colin Ian King Applied to net-next.

Re: [PATCH v3] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Tyler Hicks
On 2019-08-05 18:44:27, Roberto Sassu wrote: > Commit c78719203fc6 ("KEYS: trusted: allow trusted.ko to initialize w/o a > TPM") allows the trusted module to be loaded even if a TPM is not found, to > avoid module dependency problems. > > However, trusted module initialization can still fail if

Re: [RFC] net: dsa: mv88e6xxx: ptp: improve phc2sys precision for mv88e6xxx switch in combination with imx6-fec

2019-08-05 Thread Richard Cochran
On Fri, Aug 02, 2019 at 06:32:48PM +0200, Hubert Feurstein wrote: > diff --git a/drivers/net/ethernet/freescale/fec_main.c > b/drivers/net/ethernet/freescale/fec_main.c > index 2f6057e7335d..20f589dc5b8b 100644 > --- a/drivers/net/ethernet/freescale/fec_main.c > +++

Re: [RFC PATCH 1/2] dt-bindings: net: macb: Add new property for PS SGMII only

2019-08-05 Thread Andrew Lunn
> Even with the use of this interrupt, the link status actions (link print and > netif ops) will still be required. And also the need for macb_open to > proceed without phydev. Could you please let me know if that is acceptable > to patch or if there's a cleaner way to > report this link status?

[PATCH] Revert "mwifiex: fix system hang problem after resume"

2019-08-05 Thread Brian Norris
This reverts commit 437322ea2a36d112e20aa7282c869bf924b3a836. This above-mentioned "fix" does not actually do anything to prevent a race condition. It simply papers over it so that the issue doesn't appear. If this is a real problem, it should be explained better than the above commit does, and

Re: [PATCH 3/3] hugetlbfs: don't retry when pool page allocations start to fail

2019-08-05 Thread Mike Kravetz
On 8/5/19 2:28 AM, Vlastimil Babka wrote: > On 8/3/19 12:39 AM, Mike Kravetz wrote: >> When allocating hugetlbfs pool pages via /proc/sys/vm/nr_hugepages, >> the pages will be interleaved between all nodes of the system. If >> nodes are not equal, it is quite possible for one node to fill up >>

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

2019-08-05 Thread Hubert Feurstein
Hi Andrew, Am Mo., 5. Aug. 2019 um 15:58 Uhr schrieb Andrew Lunn : > > On Mon, Aug 05, 2019 at 10:26:42AM +0200, Hubert Feurstein wrote: > > From: Hubert Feurstein > > Hi Hubert > > In your RFC patch, there was some interesting numbers. Can you provide > numbers of just this patch? How much of

Re: [PATCH] iio: adc: max9611: Fix temperature reading in probe

2019-08-05 Thread Jonathan Cameron
On Mon, 5 Aug 2019 17:55:15 +0200 Jacopo Mondi wrote: > The max9611 driver reads the die temperature at probe time to validate > the communication channel. Use the actual read value to perform the test > instead of the read function return value, which was mistakenly used so > far. > > The

Re: [PATCH v2 4/8] sched/fair: rework load_balance

2019-08-05 Thread Valentin Schneider
Hi Vincent, Here's another batch of comments, still need to go through some more of it. On 01/08/2019 15:40, Vincent Guittot wrote: > The load_balance algorithm contains some heuristics which have becomes s/becomes/become/ > meaningless since the rework of metrics and the introduction of PELT.

[PATCH] ACPI / CPPC: do not require the _PSD method when using CPPC

2019-08-05 Thread Al Stone
According to the ACPI 6.3 specification, the _PSD method is optional when using CPPC. The underlying assumption appears to be that each CPU can change frequency independently from all other CPUs; _PSD is provided to tell the OS that some processors can NOT do that. However, the acpi_get_psd()

Re: [PATCH v2] arm64/prefetch: fix a -Wtype-limits warning

2019-08-05 Thread Will Deacon
On Mon, Aug 05, 2019 at 08:03:10AM -0400, Qian Cai wrote: > > > > On Aug 5, 2019, at 6:00 AM, Will Deacon wrote: > > > > On Fri, Aug 02, 2019 at 08:33:58PM -0400, Qian Cai wrote: > >> The commit d5370f754875 ("arm64: prefetch: add alternative pattern for > >> CPUs without a prefetcher")

[PATCH 3/3] powercap/drivers/idle_inject: Specify the idle state to inject

2019-08-05 Thread Daniel Lezcano
Currently the idle injection framework only allows to inject the deepest idle state available on the system. Give the opportunity to specify which idle state we want to inject by adding a new function helper to set the state and use it when calling play_idle(). Signed-off-by: Daniel Lezcano ---

[PATCH 2/3] cpuidle: play_idle: Specify play_idle with an idle state

2019-08-05 Thread Daniel Lezcano
Currently, the play_idle function does not allow to tell which idle state we want to go. Improve this by passing the idle state as parameter to the function. Signed-off-by: Daniel Lezcano --- drivers/powercap/idle_inject.c | 3 ++- drivers/thermal/intel/intel_powerclamp.c | 4 +++-

[PATCH] tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file

2019-08-05 Thread Steven Rostedt
[ Not sure why I wasn't Cc'd on the original patch (or the one before that) but I guess I need to add tools/lib/traceevent under MAINTAINERs for perhaps tracing? ] From: "Steven Rostedt (VMware)" The tools/lib/traceevent/Makefile had a test added to it to detect a failure of the "nm" when

[PATCH 1/3] cpuidle: play_idle: Make play_idle more flexible

2019-08-05 Thread Daniel Lezcano
The play_idle function has two users, the intel powerclamp and the idle_injection. The idle injection cooling device uses the function via the idle_injection powercap's APIs. Unfortunately, play_idle is currently limited by the idle state depth, by default the deepest idle state is selected. On

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

2019-08-05 Thread Sanyog Kale
On Thu, Jul 25, 2019 at 06:40:19PM -0500, Pierre-Louis Bossart wrote: > This algorithm computes bus parameters like clock frequency, frame > shape and port transport parameters based on active stream(s) running > on the bus. > > This implementation is optimal for Intel platforms. Developers can >

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

2019-08-05 Thread Mike Kravetz
On 8/5/19 3:57 AM, Vlastimil Babka wrote: > On 8/5/19 10:42 AM, Vlastimil Babka wrote: >> On 8/3/19 12:39 AM, Mike Kravetz wrote: >>> From: Hillf Danton >>> >>> Address the issue of should_continue_reclaim continuing true too often >>> for __GFP_RETRY_MAYFAIL attempts when !nr_reclaimed and

Re: [RFC PATCH 1/2] sys-hypervisor: /sys/hypervisor/type for Hyper-V

2019-08-05 Thread Nuno Das Neves
On 7/29/2019 3:54 PM, Nuno Das Neves wrote: > *From:*Stephen Hemminger > *Sent:* Friday, 26 July 2019 5:43 PM > *To:* Nuno Das Neves ; Nuno Das Neves > ; gre...@linuxfoundation.org > ; Sasha Levin ; > Haiyang Zhang ; KY Srinivasan ; > Michael Kelley > *Cc:* linux-kernel@vger.kernel.org >

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

2019-08-05 Thread Sanyog Kale
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 platforms, the BIOS provides a menu

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

2019-08-05 Thread Mike Kravetz
On 8/5/19 1:42 AM, Vlastimil Babka wrote: > On 8/3/19 12:39 AM, Mike Kravetz wrote: >> From: Hillf Danton >> >> Address the issue of should_continue_reclaim continuing true too often >> for __GFP_RETRY_MAYFAIL attempts when !nr_reclaimed and nr_scanned. >> This could happen during hugetlb page

Re: [PATCH V13 12/12] PCI: tegra: Add Tegra194 PCIe support

2019-08-05 Thread Vidya Sagar
On 8/5/2019 7:31 PM, Lorenzo Pieralisi wrote: On Fri, Aug 02, 2019 at 05:36:43PM +0530, Vidya Sagar wrote: On 7/30/2019 9:19 PM, Lorenzo Pieralisi wrote: On Tue, Jul 23, 2019 at 08:14:08PM +0530, Vidya Sagar wrote: On 7/16/2019 4:52 PM, Lorenzo Pieralisi wrote: On Sat, Jul 13, 2019 at

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Tyler Hicks
On 2019-08-05 18:51:09, Roberto Sassu wrote: > On 8/5/2019 6:04 PM, Tyler Hicks wrote: > > On 2019-08-05 11:54:19, Mimi Zohar wrote: > > > On Mon, 2019-08-05 at 16:50 +0200, Roberto Sassu wrote: > > > > Regarding Mimi's proposal to avoid the issue by extending the PCR with > > > > zeros, I think

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

2019-08-05 Thread Guenter Roeck
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 enough bits in page flags for tag" > > The last-cpuid bits

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Roberto Sassu
On 8/5/2019 6:04 PM, Tyler Hicks wrote: On 2019-08-05 11:54:19, Mimi Zohar wrote: On Mon, 2019-08-05 at 16:50 +0200, Roberto Sassu wrote: Regarding Mimi's proposal to avoid the issue by extending the PCR with zeros, I think it also achieve the goal. Roberto, removing the following code from

Re: [RFC PATCH 1/2] mmc: sdhci: Manually check card status after reset

2019-08-05 Thread Raul Rangel
On Fri, Aug 02, 2019 at 07:58:20AM +0300, Adrian Hunter wrote: > > You seem not to have answered to my suggestion for a change to sdhci_reinit() > here: > > > https://lore.kernel.org/lkml/fcdf6cc4-2729-abe2-85c8-b0d04901c...@intel.com/ > I thought I answered it here:

[PATCH v3] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Roberto Sassu
Commit c78719203fc6 ("KEYS: trusted: allow trusted.ko to initialize w/o a TPM") allows the trusted module to be loaded even if a TPM is not found, to avoid module dependency problems. However, trusted module initialization can still fail if the TPM is inactive or deactivated. tpm_get_random()

[PATCH net-next 09/26] 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:

[PATCH net-next 12/26] net: stmmac: tc: Do not return a fragment entry

2019-08-05 Thread Jose Abreu
Do not try to return a fragment entry from TC list. Otherwise we may not clean properly allocated entries. 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:

[PATCH net-next 01/26] 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 08/26] 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:

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 Suren Baghdasaryan
On Mon, Aug 5, 2019 at 6:31 AM 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 less

[PATCH net-next 10/26] 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:

[PATCH net-next 20/26] net: stmmac: Add a counter for Split Header packets

2019-08-05 Thread Jose Abreu
Add a counter that increments each time a packet with split header is received. 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:

[PATCH net-next 13/26] net: stmmac: selftests: Add a selftest for Flexible RX Parser

2019-08-05 Thread Jose Abreu
Add a selftest for the Flexible RX Parser feature. 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:

[PATCH net-next 11/26] net: stmmac: Add Flexible RX Parser support in XGMAC

2019-08-05 Thread Jose Abreu
XGMAC cores also support the Flexible RX Parser feature. Add the support for it in the 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:

[PATCH net-next 02/26] 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:

[PATCH net-next 16/26] net: stmmac: xgmac: Correctly return that RX descriptor is not last one

2019-08-05 Thread Jose Abreu
Return the correct value when RX descriptor is not the last one. 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:

[PATCH net-next 18/26] net: stmmac: dwxgmac: Add Flexible PPS support

2019-08-05 Thread Jose Abreu
Add the support for Flexible PPS in XGMAC cores. 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:

[PATCH net-next 14/26] net: stmmac: Get correct timestamp values from XGMAC

2019-08-05 Thread Jose Abreu
TX Timestamp in XGMAC comes from MAC instead of descriptors. Implement this in a new callback. Also, RX Timestamp in XGMAC must be cheked against corruption and we need a barrier to make sure that descriptor fields are read correctly. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc:

[PATCH net-next 22/26] net: stmmac: selftests: Add tests for SA Insertion/Replacement

2019-08-05 Thread Jose Abreu
Add 4 new tests: - SA Insertion (register based) - SA Insertion (descriptor based) - SA Replacament (register based) - SA Replacement (descriptor based) Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S.

[PATCH net-next 19/26] net: stmmac: Add ethtool register dump for XGMAC cores

2019-08-05 Thread Jose Abreu
Add the ethtool interface to dump the register map in XGMAC cores. 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:

[PATCH net-next 21/26] net: stmmac: Add support for SA Insertion/Replacement in XGMAC cores

2019-08-05 Thread Jose Abreu
Add the support for Source Address Insertion and Replacement in XGMAC cores. Two methods are supported: Descriptor based and register based. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc:

[PATCH net-next 06/26] 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:

[PATCH net-next 17/26] net: stmmac: Add Split Header support and enable it in XGMAC cores

2019-08-05 Thread Jose Abreu
Add the support for Split Header feature in the RX path and enable it in XGMAC cores. 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

[PATCH net-next 07/26] 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 00/26] net: stmmac: Misc improvements for XGMAC

2019-08-05 Thread Jose Abreu
[ 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: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc:

[PATCH net-next 25/26] net: stmmac: selftests: Add selftest for VLAN TX Offload

2019-08-05 Thread Jose Abreu
Add 2 new selftests for VLAN Insertion offloading. Tests are for inner and outer VLAN offloading. 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:

[PATCH net-next 15/26] net: stmmac: Prepare to add Split Header support

2019-08-05 Thread Jose Abreu
In order to add Split Header support, stmmac_rx() needs to take into account that packet may be split accross multiple descriptors. Refactor the logic of this function in order to support this scenario. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu

[PATCH net-next 26/26] net: stmmac: selftests: Return proper error code to userspace

2019-08-05 Thread Jose Abreu
We can do better than just return 1 to userspace. Lets return a proper Linux error code. 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

[PATCH net-next 04/26] 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:

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