Re: [PATCH v10 16/27] drivers: firmware: psci: Prepare to use OS initiated suspend mode

2018-12-20 Thread Ulf Hansson
On Thu, 20 Dec 2018 at 15:09, Daniel Lezcano wrote: > > On 29/11/2018 18:46, Ulf Hansson wrote: > > To enable the OS initiated mode, the CPU topology needs to be described > > using the hierarchical model in DT. When used, the idle state bits for the > > CPU are created by ORing the bits for PM

Re: [PATCH 3/4] iommu/of: Don't call iommu_ops->add_device directly

2018-12-20 Thread Geert Uytterhoeven
Hi Jörg, On Wed, Dec 19, 2018 at 5:51 PM Joerg Roedel wrote: > On Wed, Dec 19, 2018 at 10:54:18AM +0100, Marek Szyprowski wrote: > > On 2018-12-11 16:05, Joerg Roedel wrote: > > > From: Joerg Roedel > > > > > > Make sure to invoke this call-back through the proper > > > function of the

Re: [PATCH] fbdev: make FB_BACKLIGHT a tristate

2018-12-20 Thread Bartlomiej Zolnierkiewicz
On 12/18/2018 02:19 PM, Rob Clark wrote: > On Fri, Oct 26, 2018 at 10:09 AM Rob Clark wrote: >> >> BACKLIGHT_CLASS_DEVICE is already tristate, but a dependency >> FB_BACKLIGHT prevents it from being built as a module. There >> doesn't seem to be any particularly good reason for this, so >>

[PATCH] scsi: mpt3sas: mpt3sas_scsih: Mark expected switch fall-through

2018-12-20 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1475400 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] Fix typo. Change tlb_range_add to iotlb_range_add and tlb_sync to iotlb_sync

2018-12-20 Thread Tom Murphy
Ah shoot, it looks like I forgot to change flush_tlb_all -> flush_iotlb_all Should I submit another patch? On Wed, 5 Dec 2018 at 16:04, Joerg Roedel wrote: > > On Tue, Dec 04, 2018 at 06:27:34PM +, Tom Murphy wrote: > > From: tom > > > > Someone forgot to update this comment. > > > >

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-20 Thread Oleksandr Andrushchenko
On 12/20/18 5:36 PM, Christoph Hellwig wrote: On Tue, Dec 18, 2018 at 08:20:22PM +0100, Noralf Trønnes wrote: + if (!dma_map_sg(dev->dev, xen_obj->sgt->sgl, xen_obj->sgt->nents, + DMA_BIDIRECTIONAL)) { Are you using the DMA streaming API as a way to flush the

Re: [PATCH v10 17/27] drivers: firmware: psci: Prepare to support PM domains

2018-12-20 Thread Ulf Hansson
On Thu, 20 Dec 2018 at 15:19, Daniel Lezcano wrote: > > On 29/11/2018 18:46, Ulf Hansson wrote: > > Following changes are about to implement support for PM domains to PSCI. > > Those changes are mainly going to be implemented in a new separate file, > > hence a couple of the internal PSCI

Re: [PATCH v5 05/15] KVM: s390: unify pending_irqs() and pending_irqs_no_gisa()

2018-12-20 Thread pierre morel
Le 12/20/18 à 13:33, Michael Mueller a écrit : On 20.12.18 13:21, Cornelia Huck wrote: On Thu, 20 Dec 2018 12:49:56 +0100 Michael Mueller wrote: On 20.12.18 12:06, Cornelia Huck wrote: On Wed, 19 Dec 2018 20:17:46 +0100 Michael Mueller wrote: Use a single function with parameter

Re: [PATCH v2] mm, page_alloc: Fix has_unmovable_pages for HugePages

2018-12-20 Thread Oscar Salvador
On Thu, Dec 20, 2018 at 03:32:37PM +, Wei Yang wrote: > Now let's go back to see how to calculate new_iter. From the chart > above, we can see this formula stands for all three cases: > > new_iter = round_up(iter + 1, page_size(HugePage)) > > So it looks the first version is correct.

Re: [PATCH 1/2] Documentation: convert path-lookup from markdown to resturctured text

2018-12-20 Thread Jonathan Corbet
On Mon, 10 Dec 2018 09:58:37 +1100 NeilBrown wrote: > However we now have a stub section "Pathname lookup" which serves only > to introduce another stub sectoin "Pathname lookup in Linux", which does > little more than introduce the rest of the section. > This seems inelegant, and is probably

Applied "regulator: convert to DEFINE_SHOW_ATTRIBUTE" to the regulator tree

2018-12-20 Thread Mark Brown
The patch regulator: convert to DEFINE_SHOW_ATTRIBUTE has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "regulator: mcp16502: Fix missing n_voltages setting" to the regulator tree

2018-12-20 Thread Mark Brown
The patch regulator: mcp16502: Fix missing n_voltages setting has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: mcp16502: Use #ifdef CONFIG_PM_SLEEP around mcp16502_suspend/resume_noirq" to the regulator tree

2018-12-20 Thread Mark Brown
The patch regulator: mcp16502: Use #ifdef CONFIG_PM_SLEEP around mcp16502_suspend/resume_noirq has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree

Applied "ASoC: xlnx: change license header format style" to the asoc tree

2018-12-20 Thread Mark Brown
The patch ASoC: xlnx: change license header format style has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Acknowledge the receipt of this message

2018-12-20 Thread Hussein Harmush
Please i need your assistance my dear, I am Col. Hussein Harmush, An Army officer from Syria but now living with the United Nations on asylum. I want to seek your assistance in the following ways: 1. To assist me look for a profitable business opportunity in your country where I can invest to

Re: [PATCH] x86/cpu: sort cpuinfo flags

2018-12-20 Thread Borislav Petkov
On Thu, Dec 20, 2018 at 03:02:41PM +0300, Kirill A. Shutemov wrote: > Below is my attempt on doing the same. The key difference is that the > sorted array is generated at compile-time by mkcapflags.sh. Let's just drop this silliness and use good old grep, ok? -- Regards/Gruss, Boris. Good

Re: [ide] ec7d9c9ce8: WARNING:at_fs/proc/generic.c:#remove_proc_entry

2018-12-20 Thread Linus Torvalds
On Thu, Dec 20, 2018 at 1:19 AM kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > commit: ec7d9c9ce897174243af4fcd201dbfc34df0f3a3 ("ide: replace ->proc_fops > with ->proc_show") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

Re: [GIT PULL 1/2] ARM: dts: exynos: Second round for v4.21

2018-12-20 Thread Arnd Bergmann
On Tue, Dec 18, 2018 at 9:10 PM Krzysztof Kozlowski wrote: > The following changes since commit 57b13b8b34002ce8f1d822ea05f0a84e5bc3a64a: > > ARM: dts: exynos: remove display-port node from Arndale (2018-12-06 > 19:47:15 +0100) > > are available in the Git repository at: > >

Re: PROBLEM: Xen paging-request boot failure since 4.19.5

2018-12-20 Thread Boris Ostrovsky
On 12/19/18 4:25 PM, Ken Pizzini wrote: > Since 4.19.5 I have not been able to boot kernels on my Xen-hosted VM on > a system with an Intel Xeon L5520 processor (microcode 0x1d). > > 4.19.4 worked fine; I've tried kernels 4.19.5, 4.19.6, 4.19.7 4.19.9, 4.19.10, > 4.20-rc7, and they all throw: >

Re: [GIT PULL] TTY/Serial fixes for 4.20-rc8

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 13:39:10 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-4.20-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/bfd7bd5b49c84aac9068bff7635e94ce038475ec Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] Char/Misc driver fixes for 4.20-rc8

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 13:39:31 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-4.20-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/122b7e33804d928f8f53cf9d25762c40b8148a02 Thank you! --

Re: [PATCH] mfd: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-20 Thread Frank Lee
ping..

Re: [git pull] m68k fixes for 4.20

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 16:16:47 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git > tags/m68k-for-v4.20-tag2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1d51b4b1d3f2db0d6d144175e31a84e472fbd99a Thank you! --

[PATCH 2/2] arm64: dts: meson: libretech-cc: switch eMMC to 1.8v

2018-12-20 Thread Jerome Brunet
While some 3.3v eMMC 4.0 are available from libretech, the default option for the aml-s905x-cc seems to 1.8v 5.0 modules. Signed-off-by: Jerome Brunet --- .../boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts| 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 0/2] arm64: dts: meson: libretech-cc: emmc update

2018-12-20 Thread Jerome Brunet
This patchset provides a couple of update for the eMMC on the libretech-cc It should remove some error message for those who don't have an eMMC module and improve the performance for those who do have one. Jerome Brunet (2): arm64: dts: meson: libretech-cc: set eMMC as removable arm64: dts:

Re: [PATCH] video: offb: Pass actual name in offb_init_palette_hacks

2018-12-20 Thread Mathieu Malaterre
Rob, any comment ? On Fri, Dec 7, 2018 at 1:59 PM Mathieu Malaterre wrote: > > This is a partial revert of commit 5c63e407aaab ("fbdev: Convert to > using %pOFn instead of device_node.name"). This is the minimal work to > get a Mac Mini G4 back to a bootable state. The function >

Re: [GIT PULL] MMC fixes for v4.20-rc8

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 10:58:32 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v4.20-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d31aeb78c6827db17f447f0504fc35afcbb188c2 Thank you! -- Deet-doot-dot, I am a

[PATCH 1/2] arm64: dts: meson: libretech-cc: set eMMC as removable

2018-12-20 Thread Jerome Brunet
The eMMC on this board is add-on module which is not mandatory. Removing 'non-removable' property should prevent some errors when booting a board w/o an eMMC module present. Fixes: 72fb2c852188 ("ARM64: dts: meson-gxl-s905x-libretech-cc: fixup board definition") Signed-off-by: Jerome Brunet ---

Re: [GIT PULL] Kbuild fixes for v4.20

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 22:12:44 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-fixes-v4.20-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c0f3ece4657fe2205c1e59c5c27547d6e8cba34a Thank you!

Re: [GIT] Networking

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Wed, 19 Dec 2018 21:03:40 -0800 (PST): > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/519be6995c31005ae3bad5421e09ef99d4eb0b82 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] USB driver fixes for 4.20-rc8

2018-12-20 Thread pr-tracker-bot
The pull request you sent on Thu, 20 Dec 2018 13:38:38 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-4.20-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/177c459b08a34dcf004aa9a4c1f1d8be682ff3af Thank you! -- Deet-doot-dot, I am

Re: [PATCH 2/3] sched/fair: trigger asym_packing during idle load balance

2018-12-20 Thread Valentin Schneider
On 20/12/2018 14:33, Vincent Guittot wrote: [...] >> As in the previous thread, I'll still argue that if you want to *reliably* >> exploit newidle balances to do asym packing active balancing, you should >> add some logic to raise rq->rd->overload when we notice some asym packing >> could be done,

Re: [ide] ec7d9c9ce8: WARNING:at_fs/proc/generic.c:#remove_proc_entry

2018-12-20 Thread Jens Axboe
On 12/20/18 9:05 AM, Linus Torvalds wrote: > On Thu, Dec 20, 2018 at 1:19 AM kernel test robot wrote: >> >> FYI, we noticed the following commit (built with gcc-7): >> >> commit: ec7d9c9ce897174243af4fcd201dbfc34df0f3a3 ("ide: replace ->proc_fops >> with ->proc_show") >>

Re: [HMM-v25 07/19] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v5

2018-12-20 Thread Jerome Glisse
On Thu, Dec 20, 2018 at 12:33:47AM -0800, Dan Williams wrote: > On Wed, Aug 16, 2017 at 5:06 PM Jérôme Glisse wrote: > > > > HMM (heterogeneous memory management) need struct page to support migration > > from system main memory to device memory. Reasons for HMM and migration to > > device

Re: [PATCH v5 4/7] cgroup: cgroup v2 freezer

2018-12-20 Thread Oleg Nesterov
On 12/18, Roman Gushchin wrote: > > > > > > --- a/kernel/freezer.c > > > > > +++ b/kernel/freezer.c > > > > > @@ -134,7 +134,7 @@ bool freeze_task(struct task_struct *p) > > > > > return false; > > > > > > > > > > spin_lock_irqsave(_lock, flags); > > > > > - if

Re: [PATCH] x86/intel_rdt: use rdmsr_safe() to workaround AWS host issue

2018-12-20 Thread Borislav Petkov
On Thu, Dec 20, 2018 at 02:40:46PM +0100, Vitaly Kuznetsov wrote: > It was found that AWS x1 instances (Xen-based) lack xen.git commit > 1f1d183d4900 (x86/HVM: don't give the wrong impression of WRMSR succeeding) > and because of that the wrmsr_safe() check in cache_alloc_hsw_probe() > doesn't

[PATCH] arm64: dts: msm8996: fix blsp2_uart1 4-pin pinconfig

2018-12-20 Thread Johan Hovold
Fix "gpiio5" typo in the (currently unused) blsp2_uart1 4-pin sleep config. Fixes: 22e6789f9493 ("arm64: dts: msm8996: add blsp2_uart1 pinctrl") Cc: Srinivas Kandagatla Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

Re: [ide] ec7d9c9ce8: WARNING:at_fs/proc/generic.c:#remove_proc_entry

2018-12-20 Thread Christoph Hellwig
On Thu, Dec 20, 2018 at 09:14:50AM -0700, Jens Axboe wrote: > Maybe the the tiny subset of IDE users don't actually have the proc > stuff enabled? A few months ago I did plenty of IDE testing with the > MQ conversion, but I never saw anything like this. I'm guessing that > I, too, did not have

Re: [RFC] Fix failure path in alloc_pid()

2018-12-20 Thread Oleg Nesterov
On 12/18, Matthew Wilcox wrote: > > --- a/kernel/pid.c > +++ b/kernel/pid.c > @@ -233,8 +233,11 @@ struct pid *alloc_pid(struct pid_namespace *ns) > > out_free: > spin_lock_irq(_lock); > - while (++i <= ns->level) > - idr_remove(>idr, (pid->numbers + i)->nr); > + upid

Re: [PATCH] fbcon: use kvmalloc() for scrollback buffer

2018-12-20 Thread Bartlomiej Zolnierkiewicz
Hi, On 11/26/2018 11:02 AM, Konstantin Khorenko wrote: > Scrollback frame buffer is rather big - 32K, > so it requires 3rd order page, so let's use kvmalloc() instead of > ordinary kmalloc() for it. Is it actually safe to use non-contiguous memory for softback_buf? > Signed-off-by: Konstantin

Re: [PATCH] clocksource: clps711x: Remove board support

2018-12-20 Thread Arnd Bergmann
On Thu, Dec 20, 2018 at 12:16 PM Alexander Shiyan wrote: > > Since board support for the CLPS711X platform was removed, > remove the board support from the clps711x-timer driver. > > Signed-off-by: Alexander Shiyan Acked-by: Arnd Bergmann

Re: [PATCH 00/17] DRBD updates for 4.21

2018-12-20 Thread Jens Axboe
On 12/20/18 9:23 AM, Lars Ellenberg wrote: > Hi Jens, > > I hope this is not too late for your for-4.21 branch. > > These are all from last April or even older, > I was convinced we sent these for 4.19 already. > But we didn't :-( It is very late - even for a normal merge window, I should have

[PATCH 00/17] DRBD updates for 4.21

2018-12-20 Thread Lars Ellenberg
Hi Jens, I hope this is not too late for your for-4.21 branch. These are all from last April or even older, I was convinced we sent these for 4.19 already. But we didn't :-( The interesting new feature is "introduce P_ZEROES", which is replacing 45c21793a660 drbd: implement

[PATCH 01/17] drbd: narrow rcu_read_lock in drbd_sync_handshake

2018-12-20 Thread Lars Ellenberg
From: Roland Kammerer So far there was the possibility that we called genlmsg_new(GFP_NOIO)/mutex_lock() while holding an rcu_read_lock(). This included cases like: drbd_sync_handshake (acquire the RCU lock) drbd_asb_recover_1p drbd_khelper drbd_bcast_event

Re: [PATCH kernel v7 20/20] vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] subdriver

2018-12-20 Thread Murilo Opsfelder Araujo
On Thu, Dec 20, 2018 at 07:23:50PM +1100, Alexey Kardashevskiy wrote: > POWER9 Witherspoon machines come with 4 or 6 V100 GPUs which are not > pluggable PCIe devices but still have PCIe links which are used > for config space and MMIO. In addition to that the GPUs have 6 NVLinks > which are

[PATCH 03/17] drbd: centralize printk reporting of new size into drbd_set_my_capacity()

2018-12-20 Thread Lars Ellenberg
Previously, some implicit resizes that happend during handshake have not been reported as prominently as explicit resize. Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_int.h | 8 +--- drivers/block/drbd/drbd_main.c | 17 - drivers/block/drbd/drbd_nl.c | 3

[PATCH 04/17] drbd: ignore "all zero" peer volume sizes in handshake

2018-12-20 Thread Lars Ellenberg
During handshake, if we are diskless ourselves, we used to accept any size presented by the peer. Which could be zero if that peer was just brought up and connected to us without having a disk attached first, in which case both peers would just "flip" their volume sizes. Now, even a diskless

[PATCH 07/17] drbd: attach on connected diskless peer must not shrink a consistent device

2018-12-20 Thread Lars Ellenberg
If we would reject a new handshake, if the peer had attached first, and then connected, we should force disconnect if the peer first connects, and only then attaches. Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_receiver.c | 11 ++- 1 file changed, 6 insertions(+), 5

[PATCH 10/17] drbd: do not block when adjusting "disk-options" while IO is frozen

2018-12-20 Thread Lars Ellenberg
"suspending" IO is overloaded. It can mean "do not allow new requests" (obviously), but it also may mean "must not complete pending IO", for example while the fencing handlers do their arbitration. When adjusting disk options, we suspend io (disallow new requests), then wait for the activity-log

[PATCH 05/17] drbd: disconnect, if the wrong UUIDs are attached on a connected peer

2018-12-20 Thread Lars Ellenberg
With "on-no-data-accessible suspend-io", DRBD requires the next attach or connect to be to the very same data generation uuid tag it lost last. If we first lost connection to the peer, then later lost connection to our own disk, we would usually refuse to re-connect to the peer, because it

[PATCH 08/17] drbd: reject attach of unsuitable uuids even if connected

2018-12-20 Thread Lars Ellenberg
Multiple failure scenario: a) all good Connected Primary/Secondary UpToDate/UpToDate b) lose disk on Primary, Connected Primary/Secondary Diskless/UpToDate c) continue to write to the device, changes only make it to the Secondary storage. d) lose disk on Secondary, Connected

[PATCH 02/17] drbd: must not use connection after kref_put(>kref)

2018-12-20 Thread Lars Ellenberg
Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_state.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c index 0813c654c893..18d53fe60d1d 100644 --- a/drivers/block/drbd/drbd_state.c +++

[PATCH 06/17] drbd: fix confusing error message during attach

2018-12-20 Thread Lars Ellenberg
If we attach a (consistent) backing device, which knows about a last-agreed effective size, and that effective size is *larger* than the currently requested size, we refused to attach with ERR_DISK_TOO_SMALL Failure: (111) Low.dev. smaller than requested DRBD-dev. size. which is confusing to say

[PATCH 09/17] drbd: fix comment typos

2018-12-20 Thread Lars Ellenberg
Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_receiver.c | 2 +- drivers/block/drbd/drbd_state.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index 76d74b2122d6..3a0fe357b68b 100644

Re: [PATCH 34/34] vfs: Add a sample program for the new mount API [ver #12]

2018-12-20 Thread David Howells
Anders Roxell wrote: > In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:446, > from ../samples/vfs/test-statx.c:28: > /usr/include/x86_64-linux-gnu/bits/statx.h:25:8: error: redefinition > of ‘struct statx_timestamp’ Yeah - the problem is that statx has now made

Re: [PATCH 0/1] RFC: Revamp admin-guide/tainted-kernels.rst to make it more comprehensible

2018-12-20 Thread Randy Dunlap
On 12/20/18 7:28 AM, Jonathan Corbet wrote: > On Thu, 20 Dec 2018 16:23:38 +0100 > Thorsten Leemhuis wrote: > >> While at it: Jonathan, you mentioned putting the script in scripts/, but >> according to the Makefile in that directory it is "for various helper >> programs used throughout the

[PATCH 13/17] drbd: don't retry connection if peers do not agree on "authentication" settings

2018-12-20 Thread Lars Ellenberg
emma: "Unexpected data packet AuthChallenge (0x0010)" ava: "expected AuthChallenge packet, received: ReportProtocol (0x000b)" "Authentication of peer failed, trying again." Pattern repeats. There is no point in retrying the handshake, if we expect to receive an AuthChallenge, but the peer

[PATCH 14/17] drbd: skip spurious timeout (ping-timeo) when failing promote

2018-12-20 Thread Lars Ellenberg
If you try to promote a Secondary while connected to a Primary and allow-two-primaries is NOT set, we will wait for "ping-timeout" to give this node a chance to detect a dead primary, in case the cluster manager noticed faster than we did. But if we then are *still* connected to a Primary, we

[PATCH 15/17] drbd: introduce P_ZEROES (REQ_OP_WRITE_ZEROES on the "wire")

2018-12-20 Thread Lars Ellenberg
And also re-enable partial-zero-out + discard aligned. With the introduction of REQ_OP_WRITE_ZEROES, we started to use that for both WRITE_ZEROES and DISCARDS, hoping that WRITE_ZEROES would "do what we want", UNMAP if possible, zero-out the rest. The example scenario is some LVM "thin" backend.

[PATCH 12/17] drbd: fix print_st_err()'s prototype to match the definition

2018-12-20 Thread Lars Ellenberg
From: Luc Van Oostenryck print_st_err() is defined with its 4th argument taking an 'enum drbd_state_rv' but its prototype use an int for it. Fix this by using 'enum drbd_state_rv' in the prototype too. Signed-off-by: Luc Van Oostenryck Signed-off-by: Roland Kammerer Signed-off-by: Lars

[PATCH 11/17] drbd: avoid spurious self-outdating with concurrent disconnect / down

2018-12-20 Thread Lars Ellenberg
If peers are "simultaneously" told to disconnect from each other, either explicitly, or implicitly by taking down the resource, with bad timing, one side may see its disconnect "fail" with a result of "state change failed by peer", and interpret this as "please oudate yourself". Try to catch this

Re: [PATCH] drm: add capability DRM_CAP_ASYNC_UPDATE

2018-12-20 Thread Alex Deucher
+ Nicholas On Thu, Dec 20, 2018 at 5:47 AM Daniel Vetter wrote: > > On Thu, Dec 20, 2018 at 10:07 AM Tomasz Figa wrote: > > > > Hi Helen, > > > > On Fri, Dec 14, 2018 at 10:35 AM Helen Koike > > wrote: > > > > > > Hi Tomasz, > > > > > > On 12/13/18 2:02 AM, Tomasz Figa wrote: > > > > On Thu,

Re: [PATCH v5 05/15] KVM: s390: unify pending_irqs() and pending_irqs_no_gisa()

2018-12-20 Thread Michael Mueller
On 20.12.18 16:43, pierre morel wrote: Le 12/20/18 à 13:33, Michael Mueller a écrit : On 20.12.18 13:21, Cornelia Huck wrote: On Thu, 20 Dec 2018 12:49:56 +0100 Michael Mueller wrote: On 20.12.18 12:06, Cornelia Huck wrote: On Wed, 19 Dec 2018 20:17:46 +0100 Michael Mueller wrote:

Re: [PATCH 0/1] RFC: Revamp admin-guide/tainted-kernels.rst to make it more comprehensible

2018-12-20 Thread Randy Dunlap
On 12/20/18 7:23 AM, Thorsten Leemhuis wrote: > Hi! Am 17.12.18 um 22:06 schrieb Randy Dunlap: >> On 12/17/18 10:24 AM, Jonathan Corbet wrote: >>> Here's an idea if you feel like improving this: rather than putting an >>> inscrutable program inline, add a taint_status script to scripts/ that >>>

Re: [PATCH] video: clps711x-fb: release disp device node in probe()

2018-12-20 Thread Bartlomiej Zolnierkiewicz
[ added dri-devel ML to Cc: ] On 11/02/2018 11:23 PM, Alexey Khoroshilov wrote: > clps711x_fb_probe() increments refcnt of disp device node by > of_parse_phandle() and leaves it undecremented on both > successful and error paths. > > Found by Linux Driver Verification project

Re: [PATCH 15/15] dma-mapping: bypass indirect calls for dma-direct

2018-12-20 Thread Thierry Reding
On Fri, Dec 07, 2018 at 11:07:20AM -0800, Christoph Hellwig wrote: [...] > diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c > index 0b18cfbdde95..fc84c81029d9 100644 > --- a/kernel/dma/mapping.c > +++ b/kernel/dma/mapping.c [...] > @@ -397,9 +404,9 @@ int dma_supported(struct device *dev,

[PATCH 17/17] drbd: Change drbd_request_detach_interruptible's return type to int

2018-12-20 Thread Lars Ellenberg
From: Nathan Chancellor Clang warns when an implicit conversion is done between enumerated types: drivers/block/drbd/drbd_state.c:708:8: warning: implicit conversion from enumeration type 'enum drbd_ret_code' to different enumeration type 'enum drbd_state_rv' [-Wenum-conversion]

[PATCH 16/17] drbd: Avoid Clang warning about pointless switch statment

2018-12-20 Thread Lars Ellenberg
From: Nathan Chancellor There are several warnings from Clang about no case statement matching the constant 0: In file included from drivers/block/drbd/drbd_receiver.c:48: In file included from drivers/block/drbd/drbd_int.h:48: In file included from ./include/linux/drbd_genl_api.h:54: In file

Re: [PATCH kernel v7 20/20] vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] subdriver

2018-12-20 Thread Alex Williamson
On Thu, 20 Dec 2018 19:23:50 +1100 Alexey Kardashevskiy wrote: > POWER9 Witherspoon machines come with 4 or 6 V100 GPUs which are not > pluggable PCIe devices but still have PCIe links which are used > for config space and MMIO. In addition to that the GPUs have 6 NVLinks > which are connected

Re: [PATCH 15/15] dma-mapping: bypass indirect calls for dma-direct

2018-12-20 Thread Christoph Hellwig
On Thu, Dec 20, 2018 at 05:44:18PM +0100, Thierry Reding wrote: > On Fri, Dec 07, 2018 at 11:07:20AM -0800, Christoph Hellwig wrote: > [...] > > diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c > > index 0b18cfbdde95..fc84c81029d9 100644 > > --- a/kernel/dma/mapping.c > > +++

Re: [HMM-v25 07/19] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v5

2018-12-20 Thread Dan Williams
On Thu, Dec 20, 2018 at 8:15 AM Jerome Glisse wrote: [..] > > Rather than try to figure out how to forward declare pmd_t, how about > > just move dev_page_fault_t out of the generic dev_pagemap and into the > > HMM specific container structure? This should be straightfoward on top > > of the

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-20 Thread Jerome Glisse
On Wed, Dec 19, 2018 at 12:08:56PM +0100, Jan Kara wrote: > On Tue 18-12-18 21:07:24, Jerome Glisse wrote: > > On Tue, Dec 18, 2018 at 03:29:34PM -0800, John Hubbard wrote: > > > OK, so let's take another look at Jerome's _mapcount idea all by itself > > > (using > > > *only* the tracking pinned

Re: [REGRESSION PATCH] fbdev: fbmem: behave better with small rotated displays and many CPUs

2018-12-20 Thread Bartlomiej Zolnierkiewicz
On 11/26/2018 10:19 PM, Peter Rosin wrote: > On 2018-11-26 15:33, Bartlomiej Zolnierkiewicz wrote: >> On 11/26/2018 03:16 PM, Peter Rosin wrote: >>> Ping?! >> >> Hi, >> >> Thank you for your patch, it will be considered for 4.21 (as it is not >> a recent regression + I'm busy with other things

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-20 Thread Jerome Glisse
On Thu, Dec 20, 2018 at 02:54:49AM -0800, John Hubbard wrote: > On 12/19/18 3:08 AM, Jan Kara wrote: > > On Tue 18-12-18 21:07:24, Jerome Glisse wrote: > >> On Tue, Dec 18, 2018 at 03:29:34PM -0800, John Hubbard wrote: > >>> OK, so let's take another look at Jerome's _mapcount idea all by itself

[PATCH][next] neighbour: remove stray semicolon

2018-12-20 Thread Colin King
From: Colin Ian King Currently the stray semicolon means that the final term in the addition is being missed. Fix this by removing it. Cleans up clang warning: net/core/neighbour.c:2821:9: warning: expression result unused [-Wunused-value] Fixes: 82cbb5c631a0 ("neighbour: register rtnl doit

Re: [PATCH][next] amdgpu/dc: remove various variables that are defined but never used

2018-12-20 Thread Alex Deucher
On Tue, Dec 18, 2018 at 8:06 AM Colin King wrote: > > From: Colin Ian King > > There are several variables that are defined and never used and hence can > be removed. Remove them. Cleans up clang -Wunused-const-variable warnings: > > warning: ‘dvi_hdmi_dongle_signature_str’ defined but not used

Re: [PATCH] drm/amd/display: Remove duplicate header

2018-12-20 Thread Alex Deucher
On Wed, Dec 19, 2018 at 3:41 AM Brajeswar Ghosh wrote: > > Remove custom_float.h which is included more than once > > Signed-off-by: Brajeswar Ghosh Applied. thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH 04/12] __wr_after_init: x86_64: __wr_op

2018-12-20 Thread Igor Stoppa
On 19/12/2018 23:33, Igor Stoppa wrote: + if (WARN_ONCE(op >= WR_OPS_NUMBER, "Invalid WR operation.") || + WARN_ONCE(!is_wr_after_init(dst, len), "Invalid WR range.")) + return (void *)dst; + + offset = dst - (unsigned long)&__start_wr_after_init; I forgot

Re: [PATCH] drm: add capability DRM_CAP_ASYNC_UPDATE

2018-12-20 Thread Daniel Vetter
On Thu, Dec 20, 2018 at 5:40 PM Alex Deucher wrote: > > + Nicholas > > On Thu, Dec 20, 2018 at 5:47 AM Daniel Vetter wrote: > > > > On Thu, Dec 20, 2018 at 10:07 AM Tomasz Figa wrote: > > > > > > Hi Helen, > > > > > > On Fri, Dec 14, 2018 at 10:35 AM Helen Koike > > > wrote: > > > > > > > >

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-20 Thread Jerome Glisse
On Thu, Dec 20, 2018 at 09:33:12AM +1100, Dave Chinner wrote: > On Wed, Dec 19, 2018 at 12:35:40PM +0100, Jan Kara wrote: > > On Wed 19-12-18 21:28:25, Dave Chinner wrote: > > > On Tue, Dec 18, 2018 at 08:03:29PM -0700, Jason Gunthorpe wrote: > > > > On Wed, Dec 19, 2018 at 10:42:54AM +1100, Dave

Re: [PATCH] drm/amd/display/dcn10_hw_sequencer_debug: Remove duplicate header

2018-12-20 Thread Alex Deucher
On Thu, Dec 20, 2018 at 9:36 AM Brajeswar Ghosh wrote: > > Remove custom_float.h which is included more than once > > Signed-off-by: Brajeswar Ghosh Applied. thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c | 1 - > 1 file changed, 1 deletion(-) > > diff

Re: [PATCH -next] video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data"

2018-12-20 Thread Bartlomiej Zolnierkiewicz
On 11/16/2018 12:02 PM, YueHaibing wrote: > 'info->modes' got allocated with devm_kcalloc in of_get_pxafb_display. > > This gives this error message: > ./drivers/video/fbdev/pxafb.c:2238:2-7: WARNING: invalid free of devm_ > allocated data > > Signed-off-by: YueHaibing Patch queued for

Re: [PATCH] drm/amd/display/i2c_hw_engine_dce110: Remove duplicate header

2018-12-20 Thread Alex Deucher
On Thu, Dec 20, 2018 at 9:36 AM Brajeswar Ghosh wrote: > > Remove reg_helper.h which is included more than once > > Signed-off-by: Brajeswar Ghosh Applied. thanks! Alex > --- > .../gpu/drm/amd/display/dc/i2caux/dce110/i2c_hw_engine_dce110.c | 1 - > 1 file changed, 1 deletion(-) > > diff

Re: [PATCH][next] neighbour: remove stray semicolon

2018-12-20 Thread Roopa Prabhu
On Thu, Dec 20, 2018 at 8:50 AM Colin King wrote: > > From: Colin Ian King > > Currently the stray semicolon means that the final term in the addition > is being missed. Fix this by removing it. Cleans up clang warning: > > net/core/neighbour.c:2821:9: warning: expression result unused >

Re: [PATCH -next] video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data"

2018-12-20 Thread Bartlomiej Zolnierkiewicz
On 12/20/2018 05:55 PM, Bartlomiej Zolnierkiewicz wrote: > > On 11/16/2018 12:02 PM, YueHaibing wrote: >> 'info->modes' got allocated with devm_kcalloc in of_get_pxafb_display. >> >> This gives this error message: >> ./drivers/video/fbdev/pxafb.c:2238:2-7: WARNING: invalid free of devm_ >>

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-20 Thread Dan Williams
On Thu, Dec 20, 2018 at 8:50 AM Jerome Glisse wrote: > > On Thu, Dec 20, 2018 at 02:54:49AM -0800, John Hubbard wrote: > > On 12/19/18 3:08 AM, Jan Kara wrote: > > > On Tue 18-12-18 21:07:24, Jerome Glisse wrote: > > >> On Tue, Dec 18, 2018 at 03:29:34PM -0800, John Hubbard wrote: > > >>> OK, so

Re: [HMM-v25 07/19] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v5

2018-12-20 Thread Jerome Glisse
On Thu, Dec 20, 2018 at 08:47:39AM -0800, Dan Williams wrote: > On Thu, Dec 20, 2018 at 8:15 AM Jerome Glisse wrote: > [..] > > > Rather than try to figure out how to forward declare pmd_t, how about > > > just move dev_page_fault_t out of the generic dev_pagemap and into the > > > HMM specific

Re: [PATCH v2 -next] video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data"

2018-12-20 Thread Bartlomiej Zolnierkiewicz
On 11/19/2018 02:36 AM, YueHaibing wrote: > 'info->modes' got allocated with devm_kcalloc in of_get_pxafb_display. > > This gives this error message: > ./drivers/video/fbdev/pxafb.c:2238:2-7: WARNING: invalid free of devm_ > allocated data > > Fixes: c8f96304ec8b4 ("video: fbdev: pxafb:

Un appel a la candidature pour 400 bourses d'études Canadienne au titre de l'année académique 2018-2019

2018-12-20 Thread Université Laval Canada
-- NB: Veuillez partager cette annonce dans les universités, écoles ainsi qu'à vos proches. Par l'intermédiaire de la direction régional des bourses étrangères canadienne, le secrétariat d'état a l'étude et a la recherche de l’Université Laval lance un appel a la candidature pour 400 bourses

[PATCH 2/2] arm64: dts: lx2160a: Add dma-ranges property

2018-12-20 Thread Ioana Ciocoi Radulescu
Add missing property from the soc node in LX2160A dts. Signed-off-by: Ioana Radulescu --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index

[PATCH 1/2] arm64: dts: lx2160a: Add fsl-mc node

2018-12-20 Thread Ioana Ciocoi Radulescu
Add the fsl-mc node in the LX2160A device tree. Signed-off-by: Ioana Radulescu --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 117 + 1 file changed, 117 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

Re: [PATCH] drm: add capability DRM_CAP_ASYNC_UPDATE

2018-12-20 Thread Alex Deucher
+ Harry On Thu, Dec 20, 2018 at 11:54 AM Daniel Vetter wrote: > > On Thu, Dec 20, 2018 at 5:40 PM Alex Deucher wrote: > > > > + Nicholas > > > > On Thu, Dec 20, 2018 at 5:47 AM Daniel Vetter wrote: > > > > > > On Thu, Dec 20, 2018 at 10:07 AM Tomasz Figa wrote: > > > > > > > > Hi Helen, > > >

Re: [PATCH] ata: pata_macio: add of_node_put()

2018-12-20 Thread Bartlomiej Zolnierkiewicz
On 11/21/2018 02:04 PM, Yangtao Li wrote: > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > bl_idle_init() doesn't do that, so fix it. > > Signed-off-by: Yangtao Li Acked-by: Bartlomiej Zolnierkiewicz >

Re: [PATCH v3 2/2] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2018-12-20 Thread Sean Paul
On Tue, Dec 18, 2018 at 05:06:38PM +0530, Jagan Teki wrote: > On Sat, Dec 15, 2018 at 3:32 AM Sean Paul wrote: > > > > On Sat, Dec 15, 2018 at 02:11:01AM +0530, Jagan Teki wrote: > > > Feiyang FY07024DI26A30-D is 1024x600, 4-lane MIPI-DSI LCD panel. > > > > > > Add panel driver for it. > > > > >

[PATCH] time: Move CONTEXT_TRACKING to kernel/time/Kconfig

2018-12-20 Thread Paul E. McKenney
Both CONTEXT_TRACKING and CONTEXT_TRACKING_FORCE are currently defined in kernel/rcu/kconfig, which might have made sense at some point, but no longer does given that RCU refers to neither of these Kconfig options. This commit therefore moves them to kernel/time/Kconfig, where the rest of the

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Rob Herring
On Fri, Dec 07, 2018 at 10:55:57AM +0100, Jorge Ramirez-Ortiz wrote: > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY > controller embedded in QCS404. > > Based on Sriharsha Allenki's original > definitions. > > Signed-off-by: Jorge Ramirez-Ortiz > Reviewed-by: Vinod Koul >

Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2018-12-20 Thread Rob Herring
On Thu, Dec 20, 2018 at 10:52:45AM +0100, Jorge Ramirez-Ortiz wrote: > On 07/12/18 10:55:57, Jorge Ramirez-Ortiz wrote: > > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY > > controller embedded in QCS404. > > > > Based on Sriharsha Allenki's original > > definitions. > > > >

Re: [PATCH] blkcg: clean up blkg_tryget_closest()

2018-12-20 Thread Jens Axboe
On 12/19/18 3:43 PM, Dennis Zhou wrote: > The implementation of blkg_tryget_closest() wasn't super obvious and > became a point of suspicion when debugging [1]. So let's clean it up so > it's obviously not the problem. I like the cleanup - adding to the later pile for the merge window, thanks

Re: [PATCH v4 1/3] dt: bindings: add missing dt properties for WCN3990 wifi node

2018-12-20 Thread Kalle Valo
Govind Singh wrote: > Add missing optional properties in WCN3990 wifi node. > > Signed-off-by: Govind Singh > Reviewed-by: Rob Herring > Reviewed-by: Brian Norris > Tested-by: Brian Norris > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. 5fac78aac91d

[PATCH][next] scsi: lpfc: replace snprintf with strscpy

2018-12-20 Thread Colin King
From: Colin Ian King Using snprintf without a format specifier is potentially risky if the string phba->ModelDesc contains format specifiers. Replace this with the safer and more efficient strscpy. Cleans up clang warning: drivers/scsi/lpfc/lpfc_scsi.c:4543:31: warning: format string is not a

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