Re: [PATCH net] net: phy: rtl8211f: do a double read to get real time link status

2019-08-08 Thread Andrew Lunn
On Thu, Aug 08, 2019 at 10:01:39PM +0200, Heiner Kallweit wrote: > On 08.08.2019 21:40, Andrew Lunn wrote: > >> @@ -568,6 +568,11 @@ int phy_start_aneg(struct phy_device *phydev) > >>if (err < 0) > >>goto out_unlock; > >> > >> + /* The PHY may not yet have cleared aneg-completed

Applied "regulator: act8865: Fix build error without CONFIG_POWER_SUPPLY" to the regulator tree

2019-08-08 Thread Mark Brown
The patch regulator: act8865: Fix build error without CONFIG_POWER_SUPPLY has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "ASoC: tscs454: remove unused variable 'PLL_48K_RATE'" to the asoc tree

2019-08-08 Thread Mark Brown
The patch ASoC: tscs454: remove unused variable 'PLL_48K_RATE' has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Re: [PATCH 2/3] pagewalk: seperate function pointers from iterator data

2019-08-08 Thread Thomas Hellstrom
On 8/8/19 5:42 PM, Christoph Hellwig wrote: The mm_walk structure currently mixed data and code. Split out the operations vectors into a new mm_walk_ops structure, and while we are changing the API also declare the mm_walk structure inside the walk_page_range and walk_page_vma functions. Based

Applied "regulator: slg51000: Fix a couple NULL vs IS_ERR() checks" to the regulator tree

2019-08-08 Thread Mark Brown
The patch regulator: slg51000: Fix a couple NULL vs IS_ERR() checks has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in th

Applied "regulator: qcom-rpmh: Add support for SM8150" to the regulator tree

2019-08-08 Thread Mark Brown
The patch regulator: qcom-rpmh: Add support for SM8150 has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

Applied "regulator: dt-bindings: Add PM8150x compatibles" to the regulator tree

2019-08-08 Thread Mark Brown
The patch regulator: dt-bindings: Add PM8150x compatibles has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH] arch/x86/kernel/cpu/umwait.c - remove unused variable

2019-08-08 Thread Thomas Gleixner
Valdis, On Thu, 8 Aug 2019, Valdis Klētnieks wrote: > On Thu, 08 Aug 2019 22:04:03 +0200, Thomas Gleixner said: > > > I really appreciate your work, but can you please refrain from using file > > names as prefixes? > > OK, will do so going forward.. Care to resend the last few with fixed subjec

Re: [PATCH] arch/x86/kernel/cpu/umwait.c - remove unused variable

2019-08-08 Thread Valdis Klētnieks
On Thu, 08 Aug 2019 22:04:03 +0200, Thomas Gleixner said: > I really appreciate your work, but can you please refrain from using file > names as prefixes? OK, will do so going forward.. > > We get a warning when building with W=1: > > Please avoid 'We/I' in changelogs. OK.. > > CC arch/

[PATCH] ata: ahci: Lookup PCS register offset based on PCI device ID

2019-08-08 Thread Stephen Douthit
Intel moved the PCS register from 0x92 to 0x94 on Denverton for some reason, so now we get to check the device ID before poking it on reset. Signed-off-by: Stephen Douthit --- drivers/ata/ahci.c | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-) di

[tip:perf/urgent] perf pmu-events: Fix missing "cpu_clk_unhalted.core" event

2019-08-08 Thread tip-bot for Jin Yao
Commit-ID: 8e6e5bea2e34c61291d00cb3f47560341aa84bc3 Gitweb: https://git.kernel.org/tip/8e6e5bea2e34c61291d00cb3f47560341aa84bc3 Author: Jin Yao AuthorDate: Mon, 29 Jul 2019 15:27:55 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:37 -0300 perf pmu-events: Fi

Re: [PATCH v2 1/2] clk: samsung: Change signature of exynos5_subcmus_init() function

2019-08-08 Thread Stephen Boyd
Quoting Sylwester Nawrocki (2019-08-08 07:49:28) > In order to make it easier in subsequent patch to create different subcmu > lists for exynos5420 and exynos5800 SoCs the code is rewritten so we pass > an array of pointers to the subcmus initialization function. > > Fixes: b06a532bf1fa ("clk: sam

Re: [RFC PATCH] hugetlbfs: Add hugetlb_cgroup reservation limits

2019-08-08 Thread shuah
On 8/8/19 1:40 PM, Mina Almasry wrote: Problem: Currently tasks attempting to allocate more hugetlb memory than is available get a failure at mmap/shmget time. This is thanks to Hugetlbfs Reservations [1]. However, if a task attempts to allocate hugetlb memory only more than its hugetlb_cgroup li

[tip:perf/urgent] perf annotate: Fix s390 gap between kernel end and module start

2019-08-08 Thread tip-bot for Thomas Richter
Commit-ID: b9c0a64901d5bdec6eafd38d1dc8fa0e2974fccb Gitweb: https://git.kernel.org/tip/b9c0a64901d5bdec6eafd38d1dc8fa0e2974fccb Author: Thomas Richter AuthorDate: Wed, 24 Jul 2019 14:27:03 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:25 -0300 perf annotat

[tip:perf/urgent] perf record: Fix module size on s390

2019-08-08 Thread tip-bot for Thomas Richter
Commit-ID: 12a6d2940b5f02b4b9f71ce098e3bb02bc24a9ea Gitweb: https://git.kernel.org/tip/12a6d2940b5f02b4b9f71ce098e3bb02bc24a9ea Author: Thomas Richter AuthorDate: Wed, 24 Jul 2019 14:27:02 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:11 -0300 perf record:

[tip:perf/urgent] perf tools: Fix include paths in ui directory

2019-08-08 Thread tip-bot for Ian Rogers
Commit-ID: fa37bab6d7154658d8a35920513f9396587754cc Gitweb: https://git.kernel.org/tip/fa37bab6d7154658d8a35920513f9396587754cc Author: Ian Rogers AuthorDate: Wed, 31 Jul 2019 15:54:41 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:11 -0300 perf tools: Fix

[tip:perf/urgent] perf tools: Fix a typo in a variable name in the Documentation Makefile

2019-08-08 Thread tip-bot for Masanari Iida
Commit-ID: 89b66500f739e0033ef59011e3df694f2053679d Gitweb: https://git.kernel.org/tip/89b66500f739e0033ef59011e3df694f2053679d Author: Masanari Iida AuthorDate: Thu, 1 Aug 2019 12:28:12 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:10 -0300 perf tools: Fi

[tip:perf/urgent] perf cpumap: Fix writing to illegal memory in handling cpumap mask

2019-08-08 Thread tip-bot for He Zhe
Commit-ID: 5f5e25f1c7933a6e1673515c0b1d5acd82fea1ed Gitweb: https://git.kernel.org/tip/5f5e25f1c7933a6e1673515c0b1d5acd82fea1ed Author: He Zhe AuthorDate: Fri, 2 Aug 2019 16:29:52 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:10 -0300 perf cpumap: Fix writ

[tip:perf/urgent] perf ftrace: Fix failure to set cpumask when only one cpu is present

2019-08-08 Thread tip-bot for He Zhe
Commit-ID: cf30ae726c011e0372fd4c2d588466c8b50a8907 Gitweb: https://git.kernel.org/tip/cf30ae726c011e0372fd4c2d588466c8b50a8907 Author: He Zhe AuthorDate: Fri, 2 Aug 2019 16:29:51 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:10 -0300 perf ftrace: Fix fail

[tip:perf/urgent] perf db-export: Fix thread__exec_comm()

2019-08-08 Thread tip-bot for Adrian Hunter
Commit-ID: 3de7ae0b2a1d86dbb23d0cb135150534fdb2e836 Gitweb: https://git.kernel.org/tip/3de7ae0b2a1d86dbb23d0cb135150534fdb2e836 Author: Adrian Hunter AuthorDate: Thu, 8 Aug 2019 09:48:23 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:10 -0300 perf db-export

Re: [PATCH 2/2 v2] tracing: Document the stack trace algorithm in the comments

2019-08-08 Thread Joel Fernandes
On Wed, Aug 07, 2019 at 01:28:28PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > As the max stack tracer algorithm is not that easy to understand from the > code, add comments that explain the algorithm and mentions how > ARCH_RET_ADDR_AFTER_LOCAL_VARS affects it. > > Link:

[tip:perf/urgent] perf annotate: Fix printing of unaugmented disassembled instructions from BPF

2019-08-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 85127775a65fc58e69af0c44513937d471ccbe7b Gitweb: https://git.kernel.org/tip/85127775a65fc58e69af0c44513937d471ccbe7b Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Aug 2019 11:24:09 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:40:56 -0300 per

[tip:perf/urgent] perf bench numa: Fix cpu0 binding

2019-08-08 Thread tip-bot for Jiri Olsa
Commit-ID: 6bbfe4e602691b90ac866712bd4c43c51e546a60 Gitweb: https://git.kernel.org/tip/6bbfe4e602691b90ac866712bd4c43c51e546a60 Author: Jiri Olsa AuthorDate: Thu, 1 Aug 2019 16:26:42 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 1 Aug 2019 11:34:13 -0300 perf bench numa: F

Re: [PATCH] drm/i915: Remove redundant user_access_end() from __copy_from_user() error path

2019-08-08 Thread Nick Desaulniers
On Tue, Aug 6, 2019 at 5:59 AM Josh Poimboeuf wrote: > > On Mon, Aug 05, 2019 at 09:29:53PM +0200, Sedat Dilek wrote: > > On Wed, Jul 31, 2019 at 2:25 PM Sedat Dilek wrote: > > > > > > On Fri, Jul 26, 2019 at 9:30 PM Chris Wilson > > > wrote: > > > > > > > > Quoting Thomas Gleixner (2019-07-26

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-08 Thread Joel Fernandes
On Thu, Aug 08, 2019 at 11:11:12AM -0700, Paul E. McKenney wrote: > On Thu, Aug 08, 2019 at 07:26:10PM +0900, Byungchul Park wrote: > > On Wed, Aug 07, 2019 at 05:45:04AM -0400, Joel Fernandes wrote: > > > On Tue, Aug 06, 2019 at 04:56:31PM -0700, Paul E. McKenney wrote: > > > > [snip] > > > > >

Re: [PATCH V2 09/10] x86/resctrl: Pseudo-lock portions of multiple resources

2019-08-08 Thread Reinette Chatre
Hi Borislav, On 8/8/2019 1:44 AM, Borislav Petkov wrote: > On Wed, Aug 07, 2019 at 12:23:29PM -0700, Reinette Chatre wrote: >> I do not fully understand this proposal. All those goto labels take care >> of the the different failures that can be encountered during the >> initialization of the pseud

Re: [PATCH] HID: apple: Fix stuck function keys when using FN

2019-08-08 Thread João Moreno
Hi Benjamin, On Mon, 8 Jul 2019 at 22:35, João Moreno wrote: > > Hi Benjamin, > > No worries, also pretty busy over here. Didn't mean to press. > > On Mon, 1 Jul 2019 at 10:32, Benjamin Tissoires > wrote: > > > > Hi João, > > > > On Sun, Jun 30, 2019 at 10:15 PM João Moreno wrote: > > > > > > H

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

2019-08-08 Thread Reinette Chatre
Hi Borislav, On 8/8/2019 1:13 AM, Borislav Petkov wrote: > On Thu, Aug 08, 2019 at 10:08:41AM +0200, Borislav Petkov wrote: >> Ok, tglx and I talked it over a bit on IRC: so your 1/10 patch is pretty >> close - just leave out the generic struct cacheinfo bits and put the >> cache inclusivity prope

Re: BUG: soft lockup in tcp_delack_timer

2019-08-08 Thread Thomas Gleixner
On Thu, 8 Aug 2019, syzbot wrote: Cc+ Eric, net-dev > Hello, > > syzbot found the following crash on: > > HEAD commit:0d8b3265 Add linux-next specific files for 20190729 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1101fdc860 > kernel config:

Re: [PATCH] mm/oom: Add killed process selection information

2019-08-08 Thread Michal Hocko
[please do not top-post] On Thu 08-08-19 12:21:30, Edward Chron wrote: > It is helpful to the admin that looks at the kill message and records this > information. OOMs can come in bunches. > Knowing how much resource the oom selected process was using at the time of > the OOM event is very useful,

[ANNOUNCE] 4.4.188-rt185

2019-08-08 Thread Daniel Wagner
Hello RT Folks! I'm pleased to announce the 4.4.188-rt185 stable release. This release is just an update to the new stable 4.4.188 version and no RT specific changes have been made. The know issue from last time is now resolved. The missing patch for -rt has is now also part of stable 1ab1512366

RE: [PATCH v2 2/2] nvme-pci: Allow PCI bus-level PM to be used if ASPM is disabled

2019-08-08 Thread Mario.Limonciello
> This is more meaningful to you than to most people because "applying > the standard PCI PM" doesn't tell us what that means in terms of the > device. Presumably it has something to do with a D-state transition? > I *assume* a suspend might involve the D0 -> D3hot transition you > mention below?

Re: [PATCH] arch/x86/kernel/cpu/umwait.c - remove unused variable

2019-08-08 Thread Thomas Gleixner
Valdis, On Thu, 8 Aug 2019, Valdis Klētnieks wrote: I really appreciate your work, but can you please refrain from using file names as prefixes? git log $FILE gives you usually a pretty good hint what the proper prefix is: bd9a0c97e53c ("x86/umwait: Add sysfs interface to control umwait maxim

Re: [PATCH v2 2/2] nvme-pci: Allow PCI bus-level PM to be used if ASPM is disabled

2019-08-08 Thread Keith Busch
On Thu, Aug 08, 2019 at 01:39:54PM -0500, Bjorn Helgaas wrote: > On Thu, Aug 08, 2019 at 04:47:45PM +0200, Rafael J. Wysocki wrote: > > On Thu, Aug 8, 2019 at 3:43 PM Bjorn Helgaas wrote: > > > > > IIUC the NVMe device will go to the desired package idle state if > > > the link is in L0s or L1, b

Re: i2c: imx: support slave mode for imx I2C driver

2019-08-08 Thread Wolfram Sang
On Thu, Aug 08, 2019 at 11:53:43AM +0800, Biwen Li wrote: > The patch supports slave mode for imx I2C driver > > Signed-off-by: Biwen Li Wow, this is much simpler than the other approach flying around: http://patchwork.ozlabs.org/patch/1124048/ Can this one be master and slave on the same bus,

Re: [PATCH net] net: phy: rtl8211f: do a double read to get real time link status

2019-08-08 Thread Heiner Kallweit
On 08.08.2019 21:40, Andrew Lunn wrote: >> @@ -568,6 +568,11 @@ int phy_start_aneg(struct phy_device *phydev) >> if (err < 0) >> goto out_unlock; >> >> +/* The PHY may not yet have cleared aneg-completed and link-up bit >> + * w/o this delay when the following read is do

Re: [PATCH 1/2] genirq: introduce update_irq_devid()

2019-08-08 Thread Thomas Gleixner
On Thu, 8 Aug 2019, Ben Luo wrote: > +int update_irq_devid(unsigned int irq, void *dev_id, void *new_dev_id) > +{ > + struct irq_desc *desc = irq_to_desc(irq); > + struct irqaction *action, **action_ptr; > + unsigned long flags; > + > + WARN(in_interrupt(), > + "

Re: [PATCH v2] pci: Kconfig: select PCI_MSI_IRQ_DOMAIN by default on RISC-V

2019-08-08 Thread Bjorn Helgaas
Hi Paul, Wesley, On Thu, Jul 25, 2019 at 02:28:07PM -0700, Paul Walmsley wrote: > From: Wesley Terpstra > > This is part of adding support for RISC-V systems with PCIe host > controllers that support message-signaled interrupts. > > Signed-off-by: Wesley Terpstra > [paul.walms...@sifive.com:

[PATCH RT 08/19] arm: imx6: cpuidle: Use raw_spinlock_t

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 40d0332ec8312e9c090f0a5414d9c90e12b13611 ] The idle call back is invoked with disabled interrupts and requires raw_spinlock_t locks to work.

[PATCH RT 05/19] locking/rwsem: Rename rwsem_rt.h to rwsem-rt.h

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit fc7a6bdcce83ce162c32d991f0ac8e56ea260f5b ] Rename rwsem_rt.h to rwsem-rt.h to remain consistent with rwsem-rt.c. Signed-off-by: Sebastian An

[PATCH RT 03/19] genirq: Do not invoke the affinity callback via a workqueue on RT

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 2122adbe011cdc0eb62ad62494e181005b23c76a ] Joe Korty reported, that __irq_set_affinity_locked() schedules a workqueue while holding a rawlock

[PATCH RT 06/19] sched/completion: Fix a lockup in wait_for_completion()

2019-08-08 Thread zanussi
From: Corey Minyard v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit f0837746a7e258abb35e65defc432ca66786347f ] Consider following race: T0T1 T2 wait_for_completion() do_wa

Re: [PATCH] rtc: bd70528: fix link error

2019-08-08 Thread Vaittinen, Matti
Hello All, On Thu, 2019-08-08 at 10:29 +0800, Yuehaibing wrote: > On 2019/7/9 13:25, Vaittinen, Matti wrote: > > Hello Arnd, > > > > (Added Randy who also sent a patch to fix this) > > > > On Mon, 2019-07-08 at 18:10 +0200, Arnd Bergmann wrote: > > > On Mon, Jul 8, 2019 at 3:24 PM Vaittinen, Mat

[PATCH RT 10/19] pci/switchtec: fix stream_open.cocci warnings

2019-08-08 Thread zanussi
From: kbuild test robot v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 9462c69e29307adc95c289f50839d5d683973891 ] drivers/pci/switch/switchtec.c:395:1-17: ERROR: switchtec_fops: .read() can deadlock .write(); change non

[PATCH RT 00/19] Linux v4.14.137-rt65-rc1

2019-08-08 Thread zanussi
From: Tom Zanussi Dear RT Folks, This is the RT stable review cycle of patch 4.14.137-rt65-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review rel

[PATCH RT 14/19] Revert "rtmutex: Handle the various new futex race conditions"

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 9e0265c21af4d6388d47dcd5ce20f76ec3a2e468 ] Drop the RT fixup, the futex code will be changed to avoid the need for the workaround. Signed-of

[PATCH RT 18/19] mm/zswap: Do not disable preemption in zswap_frontswap_store()

2019-08-08 Thread zanussi
From: "Luis Claudio R. Goncalves" v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 4e4cf4be79635e67144632d9135286381acbc95a ] Zswap causes "BUG: scheduling while atomic" by blocking on a rt_spin_lock() with preemption disa

Re: [PATCH 01/26] drm/dp_mst: Move link address dumping into a function

2019-08-08 Thread Daniel Vetter
On Wed, Jul 17, 2019 at 09:42:24PM -0400, Lyude Paul wrote: > Since we're about to be calling this from multiple places. Also it makes > things easier to read! > > Cc: Juston Li > Cc: Imre Deak > Cc: Ville Syrjälä > Cc: Harry Wentland > Signed-off-by: Lyude Paul Reviewed-by: Daniel Vetter

[PATCH RT 12/19] Revert "futex: Ensure lock/unlock symetry versus pi_lock and hash bucket lock"

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 6a773b70cf105b46298ed3b44e77c102ce31d9ec ] Drop the RT fixup, the futex code will be changed to avoid the need for the workaround. Signed-of

[PATCH RT 11/19] sched/core: Drop a preempt_disable_rt() statement

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 761126efdcbe3fa3e99c9079fa0ad6eca2f251f2 ] The caller holds a lock which already disables preemption. Drop the preempt_disable_rt() statement

[PATCH RT 15/19] Revert "futex: workaround migrate_disable/enable in different context"

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit a71221d81cc4873891ae44f3aa02df596079b786 ] Drop the RT fixup, the futex code will be changed to avoid the need for the workaround. Signed-of

[PATCH RT 07/19] locking/lockdep: Don't complain about incorrect name for no validate class

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 978315462d3ea3cf6cfacd34c563ec1eb02a3aa5 ] It is possible to ignore the validation for a certain lock by using: lockdep_set_novalida

[PATCH RT 09/19] rcu: Don't allow to change rcu_normal_after_boot on RT

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit c6c058c10577815a2491ce661876cff00a4c3b15 ] On RT rcu_normal_after_boot is enabled by default. Don't allow to disable it on RT because the "ex

[PATCH RT 19/19] Linux 4.14.137-rt65-rc1

2019-08-08 Thread zanussi
From: Tom Zanussi v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Tom Zanussi --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 10474042df49..031

[PATCH RT 16/19] futex: Make the futex_hash_bucket lock raw

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit f646521aadedab78801c9befe193e2e8a0c99298 ] Since commit 1a1fb985f2e2b ("futex: Handle early deadlock return correctly") we can deadlock while

[PATCH RT 17/19] futex: Delay deallocation of pi_state

2019-08-08 Thread zanussi
From: Thomas Gleixner v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit d7c7cf8cb68b7df17e6e50be1f25f35d83e686c7 ] On -RT we can't invoke kfree() in a non-preemptible context. Defer the deallocation of pi_state to preempti

[PATCH RT 13/19] Revert "futex: Fix bug on when a requeued RT task times out"

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit f1a170cb3289a48df26cae3c60d77608f7a988bb ] Drop the RT fixup, the futex code will be changed to avoid the need for the workaround. Signed-of

[PATCH RT 02/19] kthread: add a global worker thread.

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit 0532e87d9d44795221aa921ba7024bde689cc894 ] Add kthread_schedule_work() which uses a global kthread for all its jobs. Split the cgroup include

[PATCH RT 04/19] genirq: Handle missing work_struct in irq_set_affinity_notifier()

2019-08-08 Thread zanussi
From: Sebastian Andrzej Siewior v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- [ Upstream commit bbc4d2a7d6ff54ba923640d9a42c7bef7185fe98 ] The backported stable commit 59c39840f5abf ("genirq: Prevent use-after-free and work list corru

[PATCH v4 2/2] sched/topology: Improve load balancing on AMD EPYC

2019-08-08 Thread Matt Fleming
SD_BALANCE_{FORK,EXEC} and SD_WAKE_AFFINE are stripped in sd_init() for any sched domains with a NUMA distance greater than 2 hops (RECLAIM_DISTANCE). The idea being that it's expensive to balance across domains that far apart. However, as is rather unfortunately explained in commit 32e45ff43ea

[PATCH 1/2] ia64: Make NUMA select SMP

2019-08-08 Thread Matt Fleming
While it does make sense to allow CONFIG_NUMA and !CONFIG_SMP in theory, it doesn't make much sense in practice. Follow other architectures and make CONFIG_NUMA select CONFIG_SMP. The motivation for this patch is to allow a new NUMA variable to be initialised in kernel/sched/topology.c. Signed-o

[PATCH RT 01/19] kthread: Use __RAW_SPIN_LOCK_UNLOCK to initialize kthread_worker lock

2019-08-08 Thread zanussi
From: Tom Zanussi v4.14.137-rt65-rc1 stable review patch. If anyone has any objections, please let me know. --- commit 2a9060beefcf (kthread: convert worker lock to raw spinlock) forgot to update KTHREAD_WORKER_INIT() to use __RAW_SPIN_LOCK_UNLOCKED() instead of just __SPIN_LOCK_UNLOCK

Re: [PATCH v2 1/4] dt-bindings: soundwire: add slave bindings

2019-08-08 Thread Mark Brown
On Thu, Aug 08, 2019 at 05:48:56PM +0100, Srinivas Kandagatla wrote: > On 08/08/2019 16:58, Pierre-Louis Bossart wrote: > > > +- sdw-instance-id: Should be ('Instance ID') from SoundWire > > > +  Enumeration Address. Instance ID is for the cases > > > +  where multiple Devices of t

[PATCH v4 0/2] sched: Improve load balancing on AMD EPYC

2019-08-08 Thread Matt Fleming
This is another version of the AMD EPYC load balancing patch. The difference with this one is that now it fixes the following ia64 build error, reported by 0day: mm/page_alloc.o: In function `get_page_from_freelist': page_alloc.c:(.text+0x7850): undefined reference to `node_reclaim_distance'

Re: [PATCH] clk: fix devm_platform_ioremap_resource.cocci warnings

2019-08-08 Thread Julia Lawall
On Thu, 8 Aug 2019, Stephen Boyd wrote: > Quoting Julia Lawall (2019-08-08 09:10:53) > > From: kbuild test robot > > > > drivers/clk/bcm/clk-bcm63xx-gate.c:174:1-9: WARNING: Use > > devm_platform_ioremap_resource for hw -> regs > > > > Use devm_platform_ioremap_resource helper which wraps >

Re: [PATCH] clk: fix devm_platform_ioremap_resource.cocci warnings

2019-08-08 Thread Stephen Boyd
Quoting Julia Lawall (2019-08-08 09:10:53) > From: kbuild test robot > > drivers/clk/bcm/clk-bcm63xx-gate.c:174:1-9: WARNING: Use > devm_platform_ioremap_resource for hw -> regs > > Use devm_platform_ioremap_resource helper which wraps > platform_get_resource() and devm_ioremap_resource() tog

Re: [PATCH v2 2/6] thermal: amlogic: Add thermal driver to support G12 SoCs

2019-08-08 Thread Martin Blumenstingl
Hi Kevin, On Thu, Aug 8, 2019 at 4:59 AM Kevin Hilman wrote: > > Martin Blumenstingl writes: > > > Hi Guillaume, > > > > On Mon, Aug 5, 2019 at 2:48 PM guillaume La Roque > > wrote: > >> > >> Hi Martin, > >> > >> again thanks for your review. > > you're welcome - thank you for working on the d

[ANNOUNCE] 4.14.137-rt64

2019-08-08 Thread Tom Zanussi
Hello RT Folks! I'm pleased to announce the 4.14.137-rt64 stable release. This release is just an update to the new stable 4.14.137 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt

[RFC PATCH] hugetlbfs: Add hugetlb_cgroup reservation limits

2019-08-08 Thread Mina Almasry
Problem: Currently tasks attempting to allocate more hugetlb memory than is available get a failure at mmap/shmget time. This is thanks to Hugetlbfs Reservations [1]. However, if a task attempts to allocate hugetlb memory only more than its hugetlb_cgroup limit allows, the kernel will allow the mma

Re: [PATCH net] net: phy: rtl8211f: do a double read to get real time link status

2019-08-08 Thread Andrew Lunn
> @@ -568,6 +568,11 @@ int phy_start_aneg(struct phy_device *phydev) > if (err < 0) > goto out_unlock; > > + /* The PHY may not yet have cleared aneg-completed and link-up bit > + * w/o this delay when the following read is done. > + */ > + usleep_range(1000,

Re: [PATCH v2 13/15] net: phy: adin: configure downshift on config_init

2019-08-08 Thread Heiner Kallweit
On 08.08.2019 14:30, Alexandru Ardelean wrote: > Down-speed auto-negotiation may not always be enabled, in which case the > PHY won't down-shift to 100 or 10 during auto-negotiation. > > This change enables downshift and configures the number of retries to > default 8 (maximum supported value). >

Re: [PATCH v2 02/15] net: phy: adin: hook genphy_read_abilities() to get_features

2019-08-08 Thread Heiner Kallweit
On 08.08.2019 17:24, Andrew Lunn wrote: > On Thu, Aug 08, 2019 at 03:30:13PM +0300, Alexandru Ardelean wrote: >> The ADIN PHYs can operate with Clause 45, however they are not typical for >> how phylib considers Clause 45 PHYs. >> >> If the `features` field & the `get_features` hook are unspecified

[PATCH] coresight: tmc-etr: Remove perf_data check.

2019-08-08 Thread Yabin Cui
When tracing etm data of multiple threads on multiple cpus through perf interface, each cpu has a unique etr_perf_buffer while sharing the same etr device. There is no guarantee that the last cpu starts etm tracing also stops last. So the perf_data check is no longer valid. Signed-off-by: Yabin Cu

Re: [PATCH] ASoC: soc-core: remove error due to probe deferral

2019-08-08 Thread Mark Brown
On Thu, Aug 08, 2019 at 03:16:53PM +0200, Stefan Agner wrote: > On 2019-08-08 15:14, Takashi Iwai wrote: > > Mark Brown wrote: > > I guess we can use dev_printk() with the conditional level choice. > How about use dev_info always? We get a dev_err message from > soc_init_dai_link in error cases..

Re: [PATCH net] net: phy: rtl8211f: do a double read to get real time link status

2019-08-08 Thread Heiner Kallweit
On 08.08.2019 08:21, Yonglong Liu wrote: > > > On 2019/8/8 14:11, Heiner Kallweit wrote: >> On 08.08.2019 03:15, Yonglong Liu wrote: >>> >>> >>> On 2019/8/8 0:47, Heiner Kallweit wrote: On 07.08.2019 15:16, Yonglong Liu wrote: > [ 27.232781] hns3 :bd:00.3 eth7: net open > [ 2

Re: [PATCH 1/3] mm/mlock.c: convert put_page() to put_user_page*()

2019-08-08 Thread John Hubbard
On 8/8/19 4:09 AM, Vlastimil Babka wrote: > On 8/8/19 8:21 AM, Michal Hocko wrote: >> On Wed 07-08-19 16:32:08, John Hubbard wrote: >>> On 8/7/19 4:01 AM, Michal Hocko wrote: On Mon 05-08-19 15:20:17, john.hubb...@gmail.com wrote: > From: John Hubbard >>> Actually, I think follow_page_mas

Re: [bonding][patch] Regarding a bonding lacp issue

2019-08-08 Thread Jay Vosburgh
Felix wrote: >Dear Mainteners, > >Recently I hit a packet drop issue in bonding driver on Linux 4.9. Please >see details below. Please take a look to see if my understanding is >correct. Many thanks. > >What is the problem? >The bonding driver starts to send packets even if the Partner(Switch)'s

[PATCH] coresight: Serialize enabling/disabling a link device.

2019-08-08 Thread Yabin Cui
When tracing etm data of multiple threads on multiple cpus through perf interface, some link devices are shared between paths of different cpus. It creates race conditions when different cpus wants to enable/disable the same link device at the same time. Example 1: Two cpus want to enable differen

[PATCH 5.2 15/56] mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()

2019-08-08 Thread Greg Kroah-Hartman
From: Jiri Pirko [ Upstream commit 28fe79000e9b0a6f99959869947f1ca305f14599 ] In case of sp2 pci driver registration fail, fix the error path to start with sp1 pci driver unregister. Fixes: c3ab435466d5 ("mlxsw: spectrum: Extend to support Spectrum-2 ASIC") Signed-off-by: Jiri Pirko Signed-off

[PATCH 5.2 11/56] ife: error out when nla attributes are empty

2019-08-08 Thread Greg Kroah-Hartman
From: Cong Wang [ Upstream commit c8ec4632c6ac9cda0e8c3d51aa41eeab66585bd5 ] act_ife at least requires TCA_IFE_PARMS, so we have to bail out when there is no attribute passed in. Reported-by: syzbot+fbb5b288c9cb6a2ee...@syzkaller.appspotmail.com Fixes: ef6980b6becb ("introduce IFE action") Cc:

[PATCH 5.2 22/56] net/mlx5e: always initialize frag->last_in_page

2019-08-08 Thread Greg Kroah-Hartman
From: Qian Cai [ Upstream commit 60d60c8fbd8d1acf25b041ecd72ae4fa16e9405b ] 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 (nex

[PATCH 5.2 21/56] net: fix ifindex collision during namespace removal

2019-08-08 Thread Greg Kroah-Hartman
From: Jiri Pirko [ Upstream commit 55b40dbf0e76b4bfb9d8b3a16a0208640a9a45df ] Commit aca51397d014 ("netns: Fix arbitrary net_device-s corruptions on net_ns stop.") introduced a possibility to hit a BUG in case device is returning back to init_net and two following conditions are met: 1) dev->ifi

[PATCH 5.2 27/56] net: phy: mscc: initialize stats array

2019-08-08 Thread Greg Kroah-Hartman
From: Andreas Schwab [ Upstream commit f972037e71246c5e0916eef835174d58ffc517e4 ] The memory allocated for the stats array may contain arbitrary data. Fixes: e4f9ba642f0b ("net: phy: mscc: add support for VSC8514 PHY.") Fixes: 00d70d8e0e78 ("net: phy: mscc: add support for VSC8574 PHY") Fixes:

[PATCH 5.2 30/56] net sched: update vlan action for batched events operations

2019-08-08 Thread Greg Kroah-Hartman
From: Roman Mashak [ Upstream commit b35475c5491a14c8ce7a5046ef7bcda8a860581a ] Add get_fill_size() routine used to calculate the action size when building a batch of events. Fixes: c7e2b9689 ("sched: introduce vlan action") Signed-off-by: Roman Mashak Signed-off-by: David S. Miller Signed-of

[PATCH 5.2 32/56] net/smc: do not schedule tx_work in SMC_CLOSED state

2019-08-08 Thread Greg Kroah-Hartman
From: Ursula Braun [ Upstream commit f9cedf1a9b1cdcfb0c52edb391d01771e43994a4 ] The setsockopts options TCP_NODELAY and TCP_CORK may schedule the tx worker. Make sure the socket is not yet moved into SMC_CLOSED state (for instance by a shutdown SHUT_RDWR call). Reported-by: syzbot+92209502e7aab

[PATCH 5.2 07/56] HID: Add quirk for HP X1200 PIXART OEM mouse

2019-08-08 Thread Greg Kroah-Hartman
From: Sebastian Parschauer commit 49869d2ea9eecc105a10724c1abf035151a3c4e2 upstream. The PixArt OEM mice are known for disconnecting every minute in runlevel 1 or 3 if they are not always polled. So add quirk ALWAYS_POLL for this one as well. Jonathan Teh (@jonathan-teh) reported and tested the

[PATCH 5.2 28/56] net: qualcomm: rmnet: Fix incorrect UL checksum offload logic

2019-08-08 Thread Greg Kroah-Hartman
From: Subash Abhinov Kasiviswanathan [ Upstream commit a7cf3d24ee6081930feb4c830a7f6f16ebe31c49 ] The udp_ip4_ind bit is set only for IPv4 UDP non-fragmented packets so that the hardware can flip the checksum to 0x if the computed checksum is 0 per RFC768. However, this bit had to be set fo

[PATCH 5.2 29/56] net: sched: Fix a possible null-pointer dereference in dequeue_func()

2019-08-08 Thread Greg Kroah-Hartman
From: Jia-Ju Bai [ Upstream commit 051c7b39be4a91f6b7d8c4548444e4b850f1f56c ] In dequeue_func(), there is an if statement on line 74 to check whether skb is NULL: if (skb) When skb is NULL, it is used on line 77: prefetch(&skb->end); Thus, a possible null-pointer dereference may occur.

[PATCH 5.2 36/56] tipc: compat: allow tipc commands without arguments

2019-08-08 Thread Greg Kroah-Hartman
From: Taras Kondratiuk [ Upstream commit 4da5f0018eef4c0de31675b670c80e82e13e99d1 ] Commit 2753ca5d9009 ("tipc: fix uninit-value in tipc_nl_compat_doit") broke older tipc tools that use compat interface (e.g. tipc-config from tipcutils package): % tipc-config -p operation not supported The com

[PATCH 5.2 04/56] ALSA: usb-audio: Sanity checks for each pipe and EP types

2019-08-08 Thread Greg Kroah-Hartman
[ Upstream commit 801ebf1043ae7b182588554cc9b9ad3c14bc2ab5 ] The recent USB core code performs sanity checks for the given pipe and EP types, and it can be hit by manipulated USB descriptors by syzbot. For making syzbot happier, this patch introduces a local helper for a sanity check in the driver

[PATCH 5.2 37/56] tipc: fix unitilized skb list crash

2019-08-08 Thread Greg Kroah-Hartman
From: Jon Maloy [ Upstream commit 2948a1fcd77a8bb11604387e3fc52f0ebf5729e9 ] Our test suite somtimes provokes the following crash: Description of problem: [ 1092.597234] BUG: unable to handle kernel NULL pointer dereference at 00e8 [ 1092.605072] PGD 0 P4D 0 [ 1092.607620] Oops: 00

[PATCH 5.2 00/56] 5.2.8-stable review

2019-08-08 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.2.8 release. There are 56 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 Sat 10 Aug 2019 07:03:19 PM UTC. Anything recei

[PATCH 5.2 39/56] net/mlx5: Fix modify_cq_in alignment

2019-08-08 Thread Greg Kroah-Hartman
From: Edward Srouji [ Upstream commit 7a32f2962c56d9d8a836b4469855caeee8766bd4 ] Fix modify_cq_in alignment to match the device specification. After this fix the 'cq_umem_valid' field will be in the right offset. Cc: # 4.19 Fixes: bd37197554eb ("net/mlx5: Update mlx5_ifc with DEVX UID bits") S

[PATCH 5.2 08/56] atm: iphase: Fix Spectre v1 vulnerability

2019-08-08 Thread Greg Kroah-Hartman
From: "Gustavo A. R. Silva" [ Upstream commit ea443e5e98b5b74e317ef3d26bcaea54931ccdee ] 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: drivers/atm/iphase.c:2765 ia_ioctl() wa

[PATCH 5.2 51/56] net/mlx5: Add missing RDMA_RX capabilities

2019-08-08 Thread Greg Kroah-Hartman
From: Maor Gottlieb [ Upstream commit 987f6c69dd923069d443f6a37225f5b1630a30f2 ] New flow table type RDMA_RX was added but the MLX5_CAP_FLOW_TABLE_TYPE didn't handle this new flow table type. This means that MLX5_CAP_FLOW_TABLE_TYPE returns an empty capability to this flow table type. Update bo

Re: [RFC PATCH v4 9/9] printk: use a new ringbuffer implementation

2019-08-08 Thread Linus Torvalds
On Wed, Aug 7, 2019 at 3:27 PM John Ogness wrote: > > 2. For the CONFIG_PPC_POWERNV powerpc platform, kernel log buffer >registration is no longer available because there is no longer >a single contigous block of memory to represent all of the >ringbuffer. So this is tangential, but I

[PATCH 5.2 43/56] selftests/bpf: add wrapper scripts for test_xdp_vlan.sh

2019-08-08 Thread Greg Kroah-Hartman
From: Jesper Dangaard Brouer [ Upstream commit d35661fcf95d8818c1f9acc818a1bad23dda4e1c ] In-order to test both native-XDP (xdpdrv) and generic-XDP (xdpgeneric) create two wrapper test scripts, that start the test_xdp_vlan.sh script with these modes. Signed-off-by: Jesper Dangaard Brouer Signe

[PATCH 5.2 42/56] bpf: fix XDP vlan selftests test_xdp_vlan.sh

2019-08-08 Thread Greg Kroah-Hartman
From: Jesper Dangaard Brouer [ Upstream commit 4de9c89a4982431c4a02739743fd360dc5581f22 ] Change BPF selftest test_xdp_vlan.sh to (default) use generic XDP. This selftest was created together with a fix for generic XDP, in commit 297249569932 ("net: fix generic XDP to handle if eth header was m

[PATCH 5.2 45/56] net: fix bpf_xdp_adjust_head regression for generic-XDP

2019-08-08 Thread Greg Kroah-Hartman
From: Jesper Dangaard Brouer [ Upstream commit 065af355470519bd184019a93ac579f22b036045 ] When generic-XDP was moved to a later processing step by commit 458bf2f224f0 ("net: core: support XDP generic on stacked devices.") a regression was introduced when using bpf_xdp_adjust_head. The issue is

[PATCH 5.2 47/56] net: phy: fix race in genphy_update_link

2019-08-08 Thread Greg Kroah-Hartman
From: Heiner Kallweit [ Upstream commit aa6b1956158f1afc52761137620d4b3f8a058d24 ] In phy_start_aneg() autoneg is started, and immediately after that link and autoneg status are read. As reported in [0] it can happen that at time of this read the PHY has reset the "aneg complete" bit but not yet

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