Re: [PATCH 4.4 000/158] 4.4.187-stable review

2019-08-02 Thread Naresh Kamboju
naro.org/lkft/arm64-stable-rc.git git branch: 4.4.187-rc2-hikey-20190802-517 git commit: 83e555c108c2c8fc5cc0af29c02f47cc2676fb88 git describe: 4.4.187-rc2-hikey-20190802-517 Test details: https://qa-reports.linaro.org/lkft/linaro-hikey-stable-rc-4.4-oe/build/4.4.187-rc2-hikey-20190802-517 N

Re: [PATCH 5.2 00/20] 5.2.6-stable review

2019-08-02 Thread Naresh Kamboju
On Fri, 2 Aug 2019 at 15:28, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.6 release. > There are 20 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 4.19 00/32] 4.19.64-stable review

2019-08-02 Thread Naresh Kamboju
On Fri, 2 Aug 2019 at 15:26, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.64 release. > There are 32 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 4.14 00/25] 4.14.136-stable review

2019-08-02 Thread Naresh Kamboju
On Fri, 2 Aug 2019 at 21:20, Greg Kroah-Hartman wrote: > > On Fri, Aug 02, 2019 at 11:39:32AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.136 release. > > There are 25 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 1/2] perf: Fix failure to set cpumask when only one cpu

2019-08-02 Thread He Zhe
On 8/2/19 9:06 PM, Jiri Olsa wrote: > On Fri, Aug 02, 2019 at 04:29:51PM +0800, zhe...@windriver.com wrote: >> From: He Zhe >> >> The buffer containing string used to set cpumask is overwritten by end of >> string later in cpu_map__snprint_mask due to not enough memory space, when >> there is

[PATCH v4 4/4] dt-bindings: Update the riscv,isa string description

2019-08-02 Thread Atish Patra
Since the RISC-V specification states that ISA description strings are case-insensitive, there's no functional difference between mixed-case, upper-case, and lower-case ISA strings. Thus, to simplify parsing, specify that the letters present in "riscv,isa" must be all lowercase. Suggested-by:

[PATCH v4 1/4] RISC-V: Remove per cpu clocksource

2019-08-02 Thread Atish Patra
There is only one clocksource in RISC-V. The boot cpu initializes that clocksource. No need to keep a percpu data structure. Signed-off-by: Atish Patra --- drivers/clocksource/timer-riscv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v4 0/4] Miscellaneous fixes

2019-08-02 Thread Atish Patra
This patch series have some unrelated fixes related to clocksource, dt-bindings and isa strings. I combined them into series as most of them are prerequisite for kvm patch series. Changes from v3->v4: 1. Removed export module patch. 2. Updated dt binding description. Changes from v2->v3: 1.

[PATCH v4 3/4] RISC-V: Fix unsupported isa string info.

2019-08-02 Thread Atish Patra
Currently, kernel prints a info warning if any of the extensions from "mafdcsu" is missing in device tree. This is not entirely correct as Linux can boot with "f or d" extensions if kernel is configured accordingly. Moreover, it will continue to print the info string for future extensions such as

[PATCH v4 2/4] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs

2019-08-02 Thread Atish Patra
From: Anup Patel This patch adds riscv_isa integer to represent ISA features common across all CPUs. The riscv_isa is not same as elf_hwcap because elf_hwcap will only have ISA features relevant for user-space apps whereas riscv_isa will have ISA features relevant to both kernel and user-space

Re: [PATCH 1/1] block: Use bits.h macros to improve readability

2019-08-02 Thread Jens Axboe
On 8/1/19 6:00 PM, Leonardo Bras wrote: > Applies some bits.h macros in order to improve readability of > linux/blk_types.h. > > Signed-off-by: Leonardo Bras > --- > include/linux/blk_types.h | 55 --- > 1 file changed, 28 insertions(+), 27 deletions(-) >

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

2019-08-02 Thread Masahiro Yamada
On Sat, Aug 3, 2019 at 12:03 PM Masahiro Yamada wrote: > > BTW, v2 is already inconsistent. > If you wanted GENMASK_INPUT_CHECK() to return 'unsigned long',, > you would have to cast (low) > (high) as well: > >(unsigned long)((low) > (high)), UL(0 > > This is totally

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

2019-08-02 Thread Masahiro Yamada
On Sat, Aug 3, 2019 at 3:19 AM Rikard Falkeborn wrote: > > On Fri, Aug 02, 2019 at 12:25:06PM +0900, Masahiro Yamada wrote: > > On Fri, Aug 2, 2019 at 12:14 PM Joe Perches wrote: > > > > > > On Fri, 2019-08-02 at 10:40 +0900, Masahiro Yamada wrote: > > > > On Thu, Aug 1, 2019 at 4:27 AM Joe

Re: [PATCH] net/mlx4_core: Use refcount_t for refcount

2019-08-02 Thread Chuhong Yuan
Saeed Mahameed 于2019年8月3日周六 上午2:38写道: > > On Sat, 2019-08-03 at 00:10 +0800, Chuhong Yuan wrote: > > Chuhong Yuan 于2019年8月2日周五 下午8:10写道: > > > refcount_t is better for reference counters since its > > > implementation can prevent overflows. > > > So convert atomic_t ref counters to refcount_t. >

Re: Possible mem cgroup bug in kernels between 4.18.0 and 5.3-rc1.

2019-08-02 Thread Tetsuo Handa
Well, while mem_cgroup_oom() is actually called, due to hitting /* * The OOM killer does not compensate for IO-less reclaim. * pagefault_out_of_memory lost its gfp context so we have to * make sure exclude 0 mask - all other users should have at least *

Re: [PATCH] kconfig: fix missing choice values in auto.conf

2019-08-02 Thread Masahiro Yamada
On Sat, Aug 3, 2019 at 9:35 AM M. Vefa Bicakci wrote: > > Hello, > > > conf_write() must be changed accordingly. Currently, it clears > > SYMBOL_WRITE after the symbol is written into the .config file. This > > is needed to prevent it from writing the same symbol multiple times in > > case the

Re: [PATCH 4/6] lib/refcount: Move bulk of REFCOUNT_FULL implementation into header

2019-08-02 Thread Kees Cook
On Fri, Aug 02, 2019 at 08:52:22PM +0200, Peter Zijlstra wrote: > On Fri, Aug 02, 2019 at 11:09:58AM +0100, Will Deacon wrote: > > In an effort to improve performance of the REFCOUNT_FULL implementation, > > move the bulk of its functions into linux/refcount.h. This allows them > > to be inlined

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

2019-08-02 Thread Kalle Valo
Brian Norris writes: >> Changing the patchwork state to RFC means that it's dropped and out of >> my radar. Also, if I see "RFC" in the subject I assume that's a patch >> which I should not apply by default. > > Ack. Well, there were some "RFCs" I sent recently that you *did* > apply, so I

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

2019-08-02 Thread Brian Norris
On Fri, Aug 2, 2019 at 6:55 PM Kalle Valo wrote: > > Brian Norris writes: > > > + Doug, Matthias, who are seeing problems (or, failure to try to > > recover, as predicted below) > > + Amit's new email > > + new maintainers > > > > Perhaps it's my fault for marking this RFC. But I changed the

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

2019-08-02 Thread Kalle Valo
Brian Norris writes: > + Doug, Matthias, who are seeing problems (or, failure to try to > recover, as predicted below) > + Amit's new email > + new maintainers > > Perhaps it's my fault for marking this RFC. But I changed the status > back to "New" in Patchwork, in case that helps: But I still

NFSv4: rare bug *and* root cause captured in the wild

2019-08-02 Thread John Hubbard
Hi, While testing unrelated (put_user_pages) work on Linux 5.3-rc2+, I rebooted the NFS *server*, tried to ssh to the client, and the client dumped a backtrace as shown below. Good news: I found that I can reliably reproduce it with those steps, at commit 1e78030e5e5b (in linux.git) plus my

[PATCH] platform/x86: silead_dmi: Add touchscreen platform data for the Chuwi Surbook Mini tablet

2019-08-02 Thread ohaibuzzle
From: Buzzle --- drivers/platform/x86/touchscreen_dmi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index 4370e4add83a..72535b0268eb 100644 ---

Re: [PATCH] enetc: Select PHYLIB while CONFIG_FSL_ENETC_VF is set

2019-08-02 Thread David Miller
From: YueHaibing Date: Thu, 1 Aug 2019 09:24:19 +0800 > Like FSL_ENETC, when CONFIG_FSL_ENETC_VF is set, > we should select PHYLIB, otherwise building still fails: > > drivers/net/ethernet/freescale/enetc/enetc.o: In function `enetc_open': > enetc.c:(.text+0x2744): undefined reference to

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

2019-08-02 Thread Brian Norris
+ Doug, Matthias, who are seeing problems (or, failure to try to recover, as predicted below) + Amit's new email + new maintainers Perhaps it's my fault for marking this RFC. But I changed the status back to "New" in Patchwork, in case that helps: On Fri, Mar 31, 2017 at 01:21:36PM -0700, Brian

Re: [PATCH net-next v2 0/6] net: dsa: mv88e6xxx: add support for MV88E6220

2019-08-02 Thread David Miller
From: Hubert Feurstein Date: Wed, 31 Jul 2019 10:23:45 +0200 > This patch series adds support for the MV88E6220 chip to the mv88e6xxx driver. > The MV88E6220 is almost the same as MV88E6250 except that the ports 2-4 are > not routed to pins. > > Furthermore, PTP support is added to the

RE: [PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-08-02 Thread Dexuan Cui
> From: linux-hyperv-ow...@vger.kernel.org > Sent: Friday, August 2, 2019 5:27 PM > ... > Applied and queued up for -stable. > > Do not ever CC: stable for networking patches, we submit to -stable manually. Thanks, David! I'll remember to not add the stable tag for network patches. Thanks, --

Re: [PATCH 4.14 43/43] tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb

2019-08-02 Thread Xin Long
On Fri, Aug 2, 2019 at 7:03 PM Rantala, Tommi T. (Nokia - FI/Espoo) wrote: > > On Fri, 2019-08-02 at 09:28 +0200, gre...@linuxfoundation.org wrote: > > On Thu, Aug 01, 2019 at 10:17:30AM +, Rantala, Tommi T. (Nokia - > > FI/Espoo) wrote: > > > Hi, > > > > > > This tipc patch added in 4.14.132

Re: [PATCH] atm: iphase: Fix Spectre v1 vulnerability

2019-08-02 Thread Gustavo A. R. Silva
Hi Dave, On 8/2/19 7:31 PM, David Miller wrote: > From: "Gustavo A. R. Silva" > Date: Tue, 30 Jul 2019 22:21:41 -0500 > >> board is controlled by user-space, hence leading to a potential >> exploitation of the Spectre variant 1 vulnerability. >> >> This issue was detected with the help of

Re: linux-next: Fixes tag needs some work in the arm64-fixes tree

2019-08-02 Thread Masami Hiramatsu
On Fri, 2 Aug 2019 07:48:13 +1000 Stephen Rothwell wrote: > Hi all, > > In commit > > 72de4a283cb1 ("arm64: kprobes: Recover pstate.D in single-step exception > handler") > > Fixes tag > > Fixes: commit 7419333fa15e ("arm64: kprobe: Always clear pstate.D in > breakpoint exception

Re: [PATCH] kconfig: fix missing choice values in auto.conf

2019-08-02 Thread M. Vefa Bicakci
Hello, > conf_write() must be changed accordingly. Currently, it clears > SYMBOL_WRITE after the symbol is written into the .config file. This > is needed to prevent it from writing the same symbol multiple times in > case the symbol is declared in two or more locations. I added the new > flag

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

2019-08-02 Thread Qian Cai
The commit d5370f754875 ("arm64: prefetch: add alternative pattern for CPUs without a prefetcher") introduced MIDR_IS_CPU_MODEL_RANGE() to be used in has_no_hw_prefetch() with rv_min=0 which generates a compilation warning from GCC, In file included from ./arch/arm64/include/asm/cache.h:8,

Re: [PATCH net-next v2 0/4] net: phy: Add AST2600 MDIO support

2019-08-02 Thread David Miller
From: Andrew Jeffery Date: Wed, 31 Jul 2019 15:09:55 +0930 > v2 of the ASPEED MDIO series addresses comments from Rob on the devicetree > bindings and Andrew on the driver itself. > > v1 of the series can be found here: > > http://patchwork.ozlabs.org/cover/1138140/ > > Please review! Series

Re: [PATCH] atm: iphase: Fix Spectre v1 vulnerability

2019-08-02 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 30 Jul 2019 22:21:41 -0500 > board is controlled by user-space, hence leading to a potential > exploitation of the Spectre variant 1 vulnerability. > > This issue was detected with the help of Smatch: Applied and queued up for -stable. Do not CC: -stable

Re: [PATCH net v3] net: ipv6: Fix a bug in ndisc_send_ns when netdev only has a global address

2019-08-02 Thread David Miller
From: Su Yanjun Date: Wed, 31 Jul 2019 09:52:52 +0800 > When the egress interface does not have a link local address, it can > not communicate with other hosts. > > In RFC4861, 7.2.2 says > "If the source address of the packet prompting the solicitation is the > same as one of the addresses

Re: [PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-08-02 Thread David Miller
From: Dexuan Cui Date: Wed, 31 Jul 2019 01:25:45 + > > There is a race condition for an established connection that is being closed > by the guest: the refcnt is 4 at the end of hvs_release() (Note: here the > 'remove_sock' is false): > > 1 for the initial value; > 1 for the sk being in

Re: [PATCH v2] media:dvb-frontends:Remove dvb_pll_devcount and id module parameters.

2019-08-02 Thread Sean Young
On Fri, Aug 02, 2019 at 12:20:19PM +0530, Vandana BN wrote: > > On 01/08/19 2:31 PM, Michael Ira Krufky wrote: > > Sean, > > > > Please pardon the late reply. See my responses inline below: > > > > On Wed, Jul 24, 2019 at 1:36 AM Sean Young wrote: > >> On Sat, Jul 20, 2019 at 11:43:02AM +0530,

Re: [PATCH v4] staging: kpc2000: Convert put_page() to put_user_page*()

2019-08-02 Thread John Hubbard
On 7/25/19 5:44 AM, Bharath Vedartham wrote: > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page(). > > This is part a tree-wide conversion, as described in commit fc1d8e7cca2d > ("mm: introduce

Re: [PATCH] selftest/ftrace: Fix typo in trigger-snapshot.tc

2019-08-02 Thread Randy Dunlap
On 8/2/19 5:01 PM, Masanari Iida wrote: > This patch fixes a spelling typo in tigger-snapshot.tc typo:)trigger- > Signed-off-by: Masanari Iida > --- > .../testing/selftests/ftrace/test.d/trigger/trigger-snapshot.tc | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] selftest/ftrace: Fix typo in trigger-snapshot.tc

2019-08-02 Thread Masanari Iida
This patch fixes a spelling typo in tigger-snapshot.tc Signed-off-by: Masanari Iida --- .../testing/selftests/ftrace/test.d/trigger/trigger-snapshot.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ftrace/test.d/trigger/trigger-snapshot.tc

RE: [PATCH V3 1/2] cpufreq: schedutil: Don't skip freq update when limits change

2019-08-02 Thread Doug Smythies
On 2019.08.02 02:12 Rafael J. Wysocki wrote: > On Fri, Aug 2, 2019 at 7:44 AM Viresh Kumar wrote: >> >> To avoid reducing the frequency of a CPU prematurely, we skip reducing >> the frequency if the CPU had been busy recently. >> >> This should not be done when the limits of the policy are

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Sowjanya Komatineni
On 8/2/19 2:15 PM, Dmitry Osipenko wrote: 02.08.2019 23:32, Sowjanya Komatineni пишет: On 8/2/19 1:17 PM, Dmitry Osipenko wrote: 02.08.2019 23:13, Dmitry Osipenko пишет: 02.08.2019 21:33, Sowjanya Komatineni пишет: On 8/2/19 5:38 AM, Dmitry Osipenko wrote: 02.08.2019 2:49, Sowjanya

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

2019-08-02 Thread Robin Murphy
On 2019-08-02 10:08 pm, Qian Cai wrote: The commit d5370f754875 ("arm64: prefetch: add alternative pattern for CPUs without a prefetcher") introduced MIDR_IS_CPU_MODEL_RANGE() to be used in has_no_hw_prefetch() with rv_min=0 which generates a compilation warning from GCC, In file included from

Re: [PATCH] m68k: Prevent some compiler warnings in coldfire builds

2019-08-02 Thread Greg Ungerer
Hi Finn, On 2/8/19 10:10 am, Finn Thain wrote: Since commit d3b41b6bb49e ("m68k: Dispatch nvram_ops calls to Atari or Mac functions"), Coldfire builds generate compiler warnings due to the unconditional inclusion of asm/atarihw.h and asm/macintosh.h. The inclusion of asm/atarihw.h causes

Re: [PATCH] net: sctp: Rename fallthrough label to unhandled

2019-08-02 Thread Joe Perches
On Fri, 2019-08-02 at 16:19 -0700, David Miller wrote: > From: Joe Perches > Date: Fri, 02 Aug 2019 10:47:34 -0700 > > > On Wed, 2019-07-31 at 08:16 -0400, Neil Horman wrote: > >> On Wed, Jul 31, 2019 at 04:32:43AM -0700, Joe Perches wrote: > >> > On Wed, 2019-07-31 at 07:19 -0400, Neil Horman

Re: [PATCH 5.2 00/20] 5.2.6-stable review

2019-08-02 Thread shuah
On 8/2/19 3:39 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.2.6 release. There are 20 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. Responses should be made by

Re: [PATCH v2 1/6] hwrng: core: Freeze khwrng thread during suspend

2019-08-02 Thread Stephen Boyd
Quoting Jarkko Sakkinen (2019-08-02 13:22:09) > On Tue, Jul 16, 2019 at 03:45:13PM -0700, Stephen Boyd wrote: > > The hwrng_fill() function can run while devices are suspending and > > resuming. If the hwrng is behind a bus such as i2c or SPI and that bus > > is suspended, the hwrng may hang the

Re: [PATCH 4.19 00/32] 4.19.64-stable review

2019-08-02 Thread shuah
On 8/2/19 3:39 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.64 release. There are 32 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. Responses should be made

Re: [PATCH 4.14 00/25] 4.14.136-stable review

2019-08-02 Thread shuah
On 8/2/19 3:39 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.136 release. There are 25 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. Responses should be made

Re: [PATCH] net: sctp: Rename fallthrough label to unhandled

2019-08-02 Thread David Miller
From: Joe Perches Date: Fri, 02 Aug 2019 10:47:34 -0700 > On Wed, 2019-07-31 at 08:16 -0400, Neil Horman wrote: >> On Wed, Jul 31, 2019 at 04:32:43AM -0700, Joe Perches wrote: >> > On Wed, 2019-07-31 at 07:19 -0400, Neil Horman wrote: >> > > On Tue, Jul 30, 2019 at 10:04:37PM -0700, Joe Perches

Re: [PATCH 4.9 000/223] 4.9.187-stable review

2019-08-02 Thread shuah
On 8/2/19 3:33 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.187 release. There are 223 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. Responses should be made

Re: [GIT PULL] parisc architecture fixes for kernel v5.3-rc3

2019-08-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Aug 2019 18:04:47 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git > parisc-5.3-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9100fc5ae83e64d99fd3300104893ef0e0b0aadb Thank you! -- Deet-doot-dot,

Re: [GIT PULL] s390 updates for 5.3-rc3

2019-08-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Aug 2019 16:08:08 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.3-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4dd68199f3ed7ee62f94869a1d7b29749e3696fb Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] xen: fixes for 5.3-rc3

2019-08-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Aug 2019 16:47:46 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.3a-rc3-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dcb8cfbd8fe9e62c7d64e82288d3ffe2502b7371 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] arm64 fixes for 5.3-rc3

2019-08-02 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Aug 2019 18:17:55 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a507f25d1c2048c136f6834f10966510b62af987 Thank you! -- Deet-doot-dot, I am a

Re: [PATCH 4.4 000/158] 4.4.187-stable review

2019-08-02 Thread shuah
On 8/2/19 3:27 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.187 release. There are 158 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. Responses should be made

[PATCH v4 0/2] khugepaged: collapse pmd for pte-mapped THP

2019-08-02 Thread Song Liu
Changes v3 => v4: 1. Simplify locking for pte_mapped_thp (Oleg). 2. Improve checks for the page in collapse_pte_mapped_thp() (Oleg). 3. Move HPAGE_PMD_MASK to collapse_pte_mapped_thp() (kbuild test robot). Changes v2 => v3: 1. Update vma/pmd check in collapse_pte_mapped_thp() (Oleg). 2. Add

[PATCH v4 1/2] khugepaged: enable collapse pmd for pte-mapped THP

2019-08-02 Thread Song Liu
khugepaged needs exclusive mmap_sem to access page table. When it fails to lock mmap_sem, the page will fault in as pte-mapped THP. As the page is already a THP, khugepaged will not handle this pmd again. This patch enables the khugepaged to retry collapse the page table. struct mm_slot (in

[PATCH v4 2/2] uprobe: collapse THP pmd after removing all uprobes

2019-08-02 Thread Song Liu
After all uprobes are removed from the huge page (with PTE pgtable), it is possible to collapse the pmd and benefit from THP again. This patch does the collapse by calling collapse_pte_mapped_thp(). Acked-by: Kirill A. Shutemov Reported-by: kbuild test robot Signed-off-by: Song Liu ---

Re: [PATCH v3 0/6] mm / virtio: Provide support for unused page reporting

2019-08-02 Thread Alexander Duyck
On Fri, 2019-08-02 at 10:28 -0700, Alexander Duyck wrote: > On Fri, 2019-08-02 at 12:19 -0400, Nitesh Narayan Lal wrote: > > On 8/2/19 11:13 AM, Alexander Duyck wrote: > > > On Fri, 2019-08-02 at 10:41 -0400, Nitesh Narayan Lal wrote: > > > > On 8/1/19 6:24 PM, Alexander Duyck wrote: > > > > >

Re: [PATCH tip/core/rcu 1/1] rcu: Remove unused function hlist_bl_del_init_rcu

2019-08-02 Thread Paul E. McKenney
On Fri, Aug 02, 2019 at 01:37:58PM -0700, Ethan Hansen wrote: > The function hlist_bl_del_init_rcu is declared in rculist_bl.h, > but never used. Remove hlist_bl_del_init_rcu to clean code. > > Signed-off-by: Ethan Hansen <1ethanhan...@gmail.com> Queued, thank you!

Re: [PATCH v2 03/10] locking/locktorture: Replace strncmp with str_has_prefix

2019-08-02 Thread Paul E. McKenney
On Fri, Aug 02, 2019 at 09:46:56AM +0800, Chuhong Yuan wrote: > strncmp(str, const, len) is error-prone because len > is easy to have typo. > The example is the hard-coded len has counting error > or sizeof(const) forgets - 1. > So we prefer using newly introduced str_has_prefix > to substitute

Re: [PATCH v2] KVM: x86: Unconditionally call x86 ops that are always implemented

2019-08-02 Thread Sean Christopherson
On Fri, Aug 02, 2019 at 03:48:27PM -0700, Krish Sadhukhan wrote: > > On 08/02/2019 03:06 PM, Sean Christopherson wrote: > >Remove a few stale checks for non-NULL ops now that the ops in question > >are implemented by both VMX and SVM. > > > >Note, this is **not** stable material, the Fixes tags

Re: [PATCH v2 1/6] hwrng: core: Freeze khwrng thread during suspend

2019-08-02 Thread Stephen Boyd
Quoting Stephen Boyd (2019-07-17 10:03:22) > Quoting Jason Gunthorpe (2019-07-17 09:50:11) > > On Wed, Jul 17, 2019 at 09:42:32AM -0700, Stephen Boyd wrote: > > Yes. That's exactly my point. A hwrng that's suspended will fail here > and it's better to just not try until it's guaranteed to have

Re: [PATCH] KVM: x86: Unconditionally call x86 ops that are always implemented

2019-08-02 Thread Sean Christopherson
On Thu, Aug 01, 2019 at 02:42:07PM -0700, Sean Christopherson wrote: > On Thu, Aug 01, 2019 at 02:39:38PM -0700, Krish Sadhukhan wrote: > > > > > > On 08/01/2019 09:46 AM, Sean Christopherson wrote: > > >Remove two stale checks for non-NULL ops now that they're implemented by > > >both VMX and

Re: [PATCH v2] KVM: x86: Unconditionally call x86 ops that are always implemented

2019-08-02 Thread Krish Sadhukhan
On 08/02/2019 03:06 PM, Sean Christopherson wrote: Remove a few stale checks for non-NULL ops now that the ops in question are implemented by both VMX and SVM. Note, this is **not** stable material, the Fixes tags are there purely to show when a particular op was first supported by both VMX

[PATCH 0/3] address hugetlb page allocation stalls

2019-08-02 Thread Mike Kravetz
Allocation of hugetlb pages via sysctl or procfs can stall for minutes or hours. A simple example on a two node system with 8GB of memory is as follows: echo 4096 > /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages echo 4096 > /proc/sys/vm/nr_hugepages Obviously, both

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

2019-08-02 Thread Mike Kravetz
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 allocation causing stalls for minutes or hours. We can stop reclaiming pages if compaction reports

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

2019-08-02 Thread Mike Kravetz
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 before the others. When this happens, the code still attempts to allocate pages from the full

[PATCH 2/3] mm, compaction: raise compaction priority after it withdrawns

2019-08-02 Thread Mike Kravetz
From: Vlastimil Babka Mike Kravetz reports that "hugetlb allocations could stall for minutes or hours when should_compact_retry() would return true more often then it should. Specifically, this was in the case where compact_result was COMPACT_DEFERRED and COMPACT_PARTIAL_SKIPPED and no progress

Re: [patch 2/5] x86/kvm: Handle task_work on VMENTER/EXIT

2019-08-02 Thread Andy Lutomirski
> On Aug 2, 2019, at 3:22 PM, Thomas Gleixner wrote: > >> On Fri, 2 Aug 2019, Paolo Bonzini wrote: >>> On 01/08/19 23:47, Thomas Gleixner wrote: >>> Right you are about cond_resched() being called, but for SRCU this does not >>> matter unless there is some way to do a synchronize operation on

Re: [Regression] Commit "ACPI: PM: Allow transitions to D0 to occur in special cases"

2019-08-02 Thread Bjorn Helgaas
On Thu, Aug 01, 2019 at 12:26:51AM +0200, Rafael J. Wysocki wrote: > On Wednesday, July 31, 2019 11:30:01 PM CEST Bjorn Helgaas wrote: > > [+cc Thunderbolt folks, see > > https://lore.kernel.org/r/578bd3f1-b185-471b-a3eb-ff71ba34b...@canonical.com > > for beginning of thread] > > > > On Thu, Aug

Re: [PATCH v2] ARM: dts: rockchip: A few fixes for veyron-{fievel,tiger}

2019-08-02 Thread Heiko Stuebner
Am Mittwoch, 31. Juli 2019, 17:15:27 CEST schrieb Matthias Kaehlcke: > Fix/improve a few things for veyron fievel/tiger: > > - move 'vccsys' regulator from tiger to fievel, both boards > have it (and tiger includes the fievel .dtsi) > - move 'ext_gmac' node below regulators > - fix GPIO ids of

Re: [PATCH] ARM: dts: rockchip: Add pin names for rk3288-veyron fievel

2019-08-02 Thread Heiko Stuebner
Am Freitag, 2. August 2019, 00:03:54 CEST schrieb Matthias Kaehlcke: > This is like commit 0ca87bd5baa6 ("ARM: dts: rockchip: Add pin names > for rk3288-veyron-jerry") and other similar commits, but for the > veyron fievel board (and tiger, which includes the fievel .dtsi). > > Signed-off-by:

Re: [PATCH v2 5/6] tpm: add driver for cr50 on SPI

2019-08-02 Thread Stephen Boyd
Quoting Jarkko Sakkinen (2019-08-02 13:43:18) > On Thu, Jul 18, 2019 at 06:47:14PM +0200, Alexander Steffen wrote: > > On 17.07.2019 21:57, Stephen Boyd wrote: > > > Quoting Alexander Steffen (2019-07-17 05:00:06) > > > > On 17.07.2019 00:45, Stephen Boyd wrote: > > > > > From: Andrey Pronin > >

Re: [PATCH] dt-bindings: pinctrl: stm32: Fix missing 'clocks' property in examples

2019-08-02 Thread Linus Walleij
On Tue, Jul 16, 2019 at 11:56 PM Rob Herring wrote: > Now that examples are validated against the DT schema, an error with > required 'clocks' property missing is exposed: > > Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.example.dt.yaml: \ > pinctrl@4002: gpio@0: 'clocks' is a

Re: [PATCH] firmware: google: update vpd_decode from upstream

2019-08-02 Thread Stephen Boyd
Quoting Hung-Te Lin (2019-08-02 01:20:31) > The VPD implementation from Chromium Vital Product Data project has been > updated so vpd_decode be easily shared by kernel, firmware and the user > space utility programs. Also improved value range checks to prevent > kernel crash due to bad VPD data.

Re: [PATCH] gpio: refactor gpiochip_allocate_mask() with bitmap_alloc()

2019-08-02 Thread Linus Walleij
On Thu, Jul 18, 2019 at 8:51 AM Masahiro Yamada wrote: > Refactor gpiochip_allocate_mask() slightly by using bitmap_alloc(). > > I used bitmap_free() for the corresponding free parts. Actually, > bitmap_free() is a wrapper of kfree(), but I did this for consistency. > > Signed-off-by: Masahiro

Re: [patch 2/5] x86/kvm: Handle task_work on VMENTER/EXIT

2019-08-02 Thread Thomas Gleixner
On Fri, 2 Aug 2019, Paolo Bonzini wrote: > On 01/08/19 23:47, Thomas Gleixner wrote: > > Right you are about cond_resched() being called, but for SRCU this does not > > matter unless there is some way to do a synchronize operation on that SRCU > > entity. It might have some other performance side

Re: [PATCH 2/2] gpio: mpc8xxx: Add ls1028a device specify function.

2019-08-02 Thread Linus Walleij
On Thu, Jul 18, 2019 at 11:58 AM Hui Song wrote: > From: Song Hui > > There is a device specify register(named GPIO_IBE) > on ls1028a need to enable in initial stage. > > Signed-off-by: Song Hui Patch applied. As noted on patch 1/2, send a separate patch to add the device tree bindings in

Re: [GIT PULL] SCSI fixes for 5.3-rc2

2019-08-02 Thread pr-tracker-bot
The pull request you sent on Fri, 02 Aug 2019 08:39:17 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6e6d05360b80f196ed07061327f03346b204abea Thank you! -- Deet-doot-dot, I am a bot.

Re: [PULL REQUEST] Please pull rdma.git

2019-08-02 Thread pr-tracker-bot
The pull request you sent on Fri, 02 Aug 2019 10:39:04 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b07042ca32ffca69b4e3c3b938bb89ab8aa18035 Thank you! -- Deet-doot-dot, I am a

Re: please revert "drm/msm: Use the correct dma_sync calls in msm_gem"

2019-08-02 Thread Rob Clark
On Fri, Aug 2, 2019 at 2:37 PM Christoph Hellwig wrote: > > Hi Rob, > > I just saw your above commit in Linus' tree, which is completely > bogus and misunderstand the DMA API. Next time you have any issues > please Cc the relevant maintainers and mailing lists. But even > more importantly

[PATCH v2] KVM: x86: Unconditionally call x86 ops that are always implemented

2019-08-02 Thread Sean Christopherson
Remove a few stale checks for non-NULL ops now that the ops in question are implemented by both VMX and SVM. Note, this is **not** stable material, the Fixes tags are there purely to show when a particular op was first supported by both VMX and SVM. Fixes: 74f169090b6f ("kvm/svm: Setup MCG_CAP

[ANNOUNCE] Git v2.23.0-rc1

2019-08-02 Thread Junio C Hamano
A release candidate Git v2.23.0-rc1 is now available for testing at the usual places. It is comprised of 471 non-merge commits since v2.22.0, contributed by 63 people, 23 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The following

Re: [PATCH] isdn: hysdn: Fix error spaces around '*'

2019-08-02 Thread Joe Perches
On Fri, 2019-08-02 at 14:55 -0700, Stephen Hemminger wrote: > On Fri, 2 Aug 2019 19:56:02 + > Jose Carlos Cazarin Filho wrote: > > > Fix checkpath error: > > CHECK: spaces preferred around that '*' (ctx:WxV) > > +extern hysdn_card *card_root;/* pointer to first card */ > > > >

Highpoint RocketRAID 3720A not detected (4.19.63)

2019-08-02 Thread Hugo Mills
I've just bought a Highpoint RocketRAID 3720A, and I can't seem to persuade it to show me any disks. I've built a vanilla 4.19.63 kernel for this, and I'm not seeing any of the six (SATA) disks I've attached to it. I've tried modprobing the hptiop module manually, and still nothing. I've

Re: [PATCH] Add default binder devices through binderfs when configured

2019-08-02 Thread Hridya Valsaraju
On Fri, Aug 2, 2019 at 8:06 AM Christian Brauner wrote: > > On Fri, Aug 02, 2019 at 08:18:38AM +0200, Greg Kroah-Hartman wrote: > > On Thu, Aug 01, 2019 at 03:35:56PM -0700, Hridya Valsaraju wrote: > > > If CONFIG_ANDROID_BINDERFS is set, the default binder devices > > > specified by

[PATCH net-next v3] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-08-02 Thread Tao Ren
genphy_read_status() cannot report correct link speed when BCM54616S PHY is configured in RGMII->1000Base-KX mode (for example, on Facebook CMM BMC platform), and it is because speed-related fields in MII registers are assigned different meanings in 1000X register set. Actually there is no speed

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

2019-08-02 Thread Stephen Hemminger
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 > +/*** > + > > Signed-off-by: Ricardo Bruno Lopes da Silva Read the TODO,

Re: [PATCH] isdn: hysdn: Fix error spaces around '*'

2019-08-02 Thread Stephen Hemminger
On Fri, 2 Aug 2019 19:56:02 + Jose Carlos Cazarin Filho wrote: > Fix checkpath error: > CHECK: spaces preferred around that '*' (ctx:WxV) > +extern hysdn_card *card_root;/* pointer to first card */ > > Signed-off-by: Jose Carlos Cazarin Filho Read the TODO, these drivers are

Re: [PATCH v2] power: supply: ab8500: remove set but not used variables 'vbup33_vrtcn' and 'bup_vch_range'

2019-08-02 Thread Linus Walleij
On Wed, Jul 17, 2019 at 4:19 PM YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warnings: > > drivers/power/supply/ab8500_charger.c: > In function ab8500_charger_init_hw_registers: > drivers/power/supply/ab8500_charger.c:3013:24: warning: > variable vbup33_vrtcn set but not used

Re: [PATCH 09/20] ext4: Initialize timestamps limits

2019-08-02 Thread Theodore Y. Ts'o
On Fri, Aug 02, 2019 at 09:00:52PM +0200, Arnd Bergmann wrote: > > I must have misunderstood what the field says. I expected that > with s_min_extra_isize set beyond the nanosecond fields, there > would be a guarantee that all inodes have at least as many > extra bytes already allocated. What

please revert "drm/msm: Use the correct dma_sync calls in msm_gem"

2019-08-02 Thread Christoph Hellwig
Hi Rob, I just saw your above commit in Linus' tree, which is completely bogus and misunderstand the DMA API. Next time you have any issues please Cc the relevant maintainers and mailing lists. But even more importantly get_dma_ops is an completely internal API, and whatevet your helpers are

Re: [patch 2/5] x86/kvm: Handle task_work on VMENTER/EXIT

2019-08-02 Thread Paolo Bonzini
On 01/08/19 23:47, Thomas Gleixner wrote: > Right you are about cond_resched() being called, but for SRCU this does not > matter unless there is some way to do a synchronize operation on that SRCU > entity. It might have some other performance side effect though. I would use srcu_read_unlock/lock

Re: [PATCH v2 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-08-02 Thread Suman Anna
Hi David, On 8/1/19 1:31 PM, David Lechner wrote: > On 8/1/19 12:10 PM, Suman Anna wrote: >> Hi Marc, >> >> On 8/1/19 3:45 AM, Marc Zyngier wrote: >>> On 31/07/2019 23:41, Suman Anna wrote: The PRUSS INTC receives a number of system input interrupt source events and supports individual

Re: [PATCH 7/7] tracing: Un-export ftrace_set_clr_event

2019-08-02 Thread Steven Rostedt
On Fri, 2 Aug 2019 14:12:54 -0700 Divya Indi wrote: > Hi Steve, > > The first patch would be like a temporary fix in case we need more > changes to the patches that add the new function - trace_array_set_clr() > and unexport ftrace_set_clr_event() and might take some time. In which > case I

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

2019-08-02 Thread Tyler Hicks
On 2019-07-09 12:31:45, Mimi Zohar wrote: > On Tue, 2019-07-09 at 19:24 +0300, Jarkko Sakkinen wrote: > > On Mon, Jul 08, 2019 at 01:34:59PM -0700, James Bottomley wrote: > > > Not a criticism of your patch, but can we please stop doing this. > > > Single random number sources are horrendously

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Sowjanya Komatineni
On 8/2/19 2:15 PM, Dmitry Osipenko wrote: 02.08.2019 23:32, Sowjanya Komatineni пишет: On 8/2/19 1:17 PM, Dmitry Osipenko wrote: 02.08.2019 23:13, Dmitry Osipenko пишет: 02.08.2019 21:33, Sowjanya Komatineni пишет: On 8/2/19 5:38 AM, Dmitry Osipenko wrote: 02.08.2019 2:49, Sowjanya

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Dmitry Osipenko
02.08.2019 23:32, Sowjanya Komatineni пишет: > > On 8/2/19 1:17 PM, Dmitry Osipenko wrote: >> 02.08.2019 23:13, Dmitry Osipenko пишет: >>> 02.08.2019 21:33, Sowjanya Komatineni пишет: On 8/2/19 5:38 AM, Dmitry Osipenko wrote: > 02.08.2019 2:49, Sowjanya Komatineni пишет: >> On 8/1/19

Re: [PATCH 7/7] tracing: Un-export ftrace_set_clr_event

2019-08-02 Thread Divya Indi
Hi Steve, The first patch would be like a temporary fix in case we need more changes to the patches that add the new function - trace_array_set_clr() and unexport ftrace_set_clr_event() and might take some time. In which case I think it would be good to have this in place (But, not part of

  1   2   3   4   5   6   7   8   9   10   >