Re: [PATCH v1] mm: consider non-anonymous thp as unmovable page

2018-04-03 Thread Naoya Horiguchi
On Tue, Apr 03, 2018 at 09:59:28AM +0200, Michal Hocko wrote: > On Tue 03-04-18 13:46:28, Naoya Horiguchi wrote: > > My testing for the latest kernel supporting thp migration found out an > > infinite loop in offlining the memory block that is filled with shmem > > thps. We can get out of the loop

[PATCH v6 0/1] drm/xen-front: Add support for Xen PV display frontend

2018-04-03 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hello! Boris/Daniel, I put your R-b tags, so please do let me know if this is not acceptable, so I remove the tags. This patch series adds support for Xen [1] para-virtualized frontend display driver. It implements the protocol from include/xen/interface/io/displif

[PATCH v6 1/1] drm/xen-front: Add support for Xen PV display frontend

2018-04-03 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Add support for Xen para-virtualized frontend display driver. Accompanying backend [1] is implemented as a user-space application and its helper library [2], capable of running as a Weston client or DRM master. Configuration of both backend and frontend is done via X

[PATCH v30 2/4] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-04-03 Thread Wei Wang
Negotiation of the VIRTIO_BALLOON_F_FREE_PAGE_HINT feature indicates the support of reporting hints of guest free pages to host via virtio-balloon. Host requests the guest to report free page hints by sending a new cmd id to the guest via the free_page_report_cmd_id configuration register. When t

[PATCH v30 4/4] virtio-balloon: VIRTIO_BALLOON_F_PAGE_POISON

2018-04-03 Thread Wei Wang
The VIRTIO_BALLOON_F_PAGE_POISON feature bit is used to indicate if the guest is using page poisoning. Guest writes to the poison_val config field to tell host about the page poisoning value in use. Signed-off-by: Wei Wang Suggested-by: Michael S. Tsirkin Cc: Michael S. Tsirkin Cc: Michal Hocko

[PATCH v30 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules

2018-04-03 Thread Wei Wang
In some usages, e.g. virtio-balloon, a kernel module needs to know if page poisoning is in use. This patch exposes the page_poisoning_enabled function to kernel modules. Signed-off-by: Wei Wang Cc: Andrew Morton Cc: Michal Hocko Cc: Michael S. Tsirkin Acked-by: Andrew Morton --- mm/page_pois

[PATCH v30 0/4] Virtio-balloon: support free page reporting

2018-04-03 Thread Wei Wang
This patch series is separated from the previous "Virtio-balloon Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT, implemented by this series enables the virtio-balloon driver to report hints of guest free pages to the host. It can be used to accelerate live migration of VMs.

re: [PATCH] mm: avoid the unnecessary waiting when force empty a cgroup

2018-04-03 Thread Li,Rongqing
> -邮件原件- > 发件人: Michal Hocko [mailto:mho...@kernel.org] > 发送时间: 2018年4月3日 16:05 > 收件人: Li,Rongqing > 抄送: han...@cmpxchg.org; vdavydov@gmail.com; > cgro...@vger.kernel.org; linux...@kvack.org; > linux-kernel@vger.kernel.org > 主题: Re: [PATCH] mm: avoid the unnecessary waiting when forc

[PATCH v30 1/4] mm: support reporting free page blocks

2018-04-03 Thread Wei Wang
This patch adds support to walk through the free page blocks in the system and report them via a callback function. Some page blocks may leave the free list after zone->lock is released, so it is the caller's responsibility to either detect or prevent the use of such pages. One use example of this

Re: [PATCH] usb: dwc3: of-simple: use managed and shared reset control

2018-04-03 Thread Masahiro Yamada
2018-04-03 17:00 GMT+09:00 Philipp Zabel : > On Thu, 2018-03-29 at 15:07 +0900, Masahiro Yamada wrote: >> This driver handles the reset control in a common manner; deassert >> resets before use, assert them after use. There is no good reason >> why it should be exclusive. > > Is this preemptive cl

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-03 Thread Boris Brezillon
On Tue, 3 Apr 2018 10:14:31 +0200 Peter Rosin wrote: > On 2018-04-03 09:15, Boris Brezillon wrote: > > On Tue, 3 Apr 2018 08:51:10 +0200 > > Peter Rosin wrote: > > > >> On 2018-04-02 22:20, Boris Brezillon wrote: > >>> On Mon, 2 Apr 2018 21:28:43 +0200 > >>> Boris Brezillon wrote: > >>>

Re: [PATCH 2/2] efi: Add embedded peripheral firmware support

2018-04-03 Thread Hans de Goede
Hi Luis, Thank you for the review. On 03-04-18 01:23, Luis R. Rodriguez wrote: On Sat, Mar 31, 2018 at 02:19:44PM +0200, Hans de Goede wrote: Just like with PCI options ROMs, which we save in the setup_efi_pci* functions from arch/x86/boot/compressed/eboot.c, the EFI code / ROM itself sometime

Re: [PATCH v1] mm: consider non-anonymous thp as unmovable page

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 08:24:06, Naoya Horiguchi wrote: > On Tue, Apr 03, 2018 at 09:59:28AM +0200, Michal Hocko wrote: > > On Tue 03-04-18 13:46:28, Naoya Horiguchi wrote: > > > My testing for the latest kernel supporting thp migration found out an > > > infinite loop in offlining the memory block that i

Re: [PATCH 2/2] reset: uniphier: add SATA reset control support and change SATA-PHY ID

2018-04-03 Thread Masahiro Yamada
2018-04-03 17:18 GMT+09:00 Philipp Zabel : > On Fri, 2018-03-30 at 18:44 +0900, Kunihiko Hayashi wrote: >> Add reset lines for SATA controller on UniPhier SoCs. >> This adds support for Pro4 and PXs3 in addition to PXs2. >> >> And this changes the ID of the reset line for SATA-PHY on PXs2. >> Since

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-03 Thread Peter Rosin
On 2018-04-03 09:18, Alexandre Belloni wrote: > On 02/04/2018 at 22:23:17 +0200, Peter Rosin wrote: No, but did it again and checked, see transcript below. >>> >>> I don't use devmem2. Is 'readback' information accurate or is it >>> always what's been written? Because when you write 0x33 to 0x

Re: [PATCH] mm: avoid the unnecessary waiting when force empty a cgroup

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 08:29:39, Li,Rongqing wrote: > > > > -邮件原件- > > 发件人: Michal Hocko [mailto:mho...@kernel.org] > > 发送时间: 2018年4月3日 16:05 > > 收件人: Li,Rongqing > > 抄送: han...@cmpxchg.org; vdavydov@gmail.com; > > cgro...@vger.kernel.org; linux...@kvack.org; > > linux-kernel@vger.kernel.or

Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING

2018-04-03 Thread Peter Zijlstra
On Tue, Apr 03, 2018 at 07:52:25AM +0200, Martin Schwidefsky wrote: > On Thu, 29 Mar 2018 20:08:36 +0200 > Peter Zijlstra wrote: > > > On Thu, Mar 29, 2018 at 04:53:43PM +0200, Martin Schwidefsky wrote: > > > The lowcore optimization for softirq_pending field is not really needed, > > > just nice

Re: [PATCH] ALSA: hda/realtek: Enable audio line out on ASUS D640SA

2018-04-03 Thread Jian-Hong Pan
2018-04-02 19:29 GMT+08:00 Takashi Iwai : > > On Mon, 02 Apr 2018 09:33:13 +0200, > Jian-Hong Pan wrote: > > > > This ASUS D640SA desktop whose mother board is D640MB has > > - two jacks which are a headphone and a mic on the front panel, > > - three jacks which are a mic, a line out and a line in

Re: [PATCH v8 0/4] Fix issues with huge mapping in ioremap for ARM64

2018-04-03 Thread Marc Zyngier
Hi Chintan, On 03/04/18 09:00, Chintan Pandya wrote: > This series of patches are follow up work (and depends on) > Toshi Kani 's patches "fix memory leak/ > panic in ioremap huge pages". > > This series of patches are tested on 4.9 kernel with Cortex-A75 > based SoC. Given that this is targetin

Re: [PATCH] usb: dwc3: of-simple: use managed and shared reset control

2018-04-03 Thread Philipp Zabel
On Tue, 2018-04-03 at 17:30 +0900, Masahiro Yamada wrote: > 2018-04-03 17:00 GMT+09:00 Philipp Zabel : > > On Thu, 2018-03-29 at 15:07 +0900, Masahiro Yamada wrote: > > > This driver handles the reset control in a common manner; deassert > > > resets before use, assert them after use. There is no

Re: [PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field

2018-04-03 Thread Maxime Ripard
On Tue, Apr 03, 2018 at 08:18:34AM +0200, Mylène Josserand wrote: > To prepare the support of sun8i-a83t, add a field in the smp_data > structure to enable the case of sun9i. > > Start to handle the differences between sun9i-a80 and sun8i-a83t > by using this variable. > > Add an index to retrieve

Re: [PATCH 2/2] reset: uniphier: add SATA reset control support and change SATA-PHY ID

2018-04-03 Thread Philipp Zabel
On Tue, 2018-04-03 at 17:35 +0900, Masahiro Yamada wrote: > 2018-04-03 17:18 GMT+09:00 Philipp Zabel : > > On Fri, 2018-03-30 at 18:44 +0900, Kunihiko Hayashi wrote: > > > Add reset lines for SATA controller on UniPhier SoCs. > > > This adds support for Pro4 and PXs3 in addition to PXs2. > > > > >

Re: [PATCH v5 10/13] ARM: sun9i: smp: Move structures

2018-04-03 Thread Maxime Ripard
On Tue, Apr 03, 2018 at 08:18:33AM +0200, Mylène Josserand wrote: > To prepare the support for sun8i-a83t, move some structures > at the beginning of the file. > > Signed-off-by: Mylène Josserand I'm not quite sure what would be the benefit from that, if it's was working before, then it would pr

Re: [PATCH v5 12/13] ARM: sun8i: smp: Add support for A83T

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand wrote: > Add the support for A83T. > > A83T SoC has an additional register than A80 to handle CPU configurations: > R_CPUS_CFG. Information about the register comes from Allwinner's BSP > driver. > An important difference is the Power Off Gating reg

Re: [RFC PATCH 0/3] kernel: add support for 256-bit IO access

2018-04-03 Thread Pavel Machek
Hi! > > On Tue, 20 Mar 2018, Ingo Molnar wrote: > > > * Thomas Gleixner wrote: > > > > > > > > So I do think we could do more in this area to improve driver > > > > > performance, if the > > > > > code is correct and if there's actual benchmarks that are showing > > > > > real benefits. > > >

Re: [PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 4:46 PM, Maxime Ripard wrote: > On Tue, Apr 03, 2018 at 08:18:34AM +0200, Mylène Josserand wrote: >> To prepare the support of sun8i-a83t, add a field in the smp_data >> structure to enable the case of sun9i. >> >> Start to handle the differences between sun9i-a80 and sun8i-

Re: general protection fault in try_to_wake_up

2018-04-03 Thread Petr Mladek
On Thu 2018-03-29 09:01:02, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > bcfc1f4554662d8f2429ac8bd96064a59c149754 (Sat Mar 24 16:50:12 2018 +) > Merge tag 'pinctrl-v4.16-3' of > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl > syzbot dashbo

Re: [PATCHv6 1/2] dt-bindings: mfd: motorola-cpcap: document audio-codec

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 14:58:23, Sebastian Reichel wrote: > This adds the DT binding for the audio-codec sub-module found > inside the Motorola CPCAP PMIC. > > Acked-by: Mark Brown > Acked-by: Tony Lindgren > Reviewed-by: Rob Herring > Acked-for-MFD-by: Lee Jones > Signed-off-by: Sebastian Reichel

Re: [PATCH] ASoC: atmel_ssc_dai: fix spelling mistake: "Stoping" -> "Stopping"

2018-04-03 Thread Nicolas Ferre
On 31/03/2018 at 10:54, Alexandre Belloni wrote: On 30/03/2018 at 16:44:20 +0100, Colin King wrote: From: Colin Ian King Trivial fix to spelling mistake in pr_debug message text Acked-by: Alexandre Belloni Acked-by: Nicolas Ferre Signed-off-by: Colin Ian King --- sound/soc/atmel/atme

Re: [PATCH 3/4] mm: Add free()

2018-04-03 Thread Pavel Machek
Hi! > > And sure, your free() implementation obviously also has that property, > > but I'm worried that they might one day decide to warn about the > > prototype mismatch (actually, I'm surprised it doesn't warn now, given > > that it obviously pretends to know what free() function I'm calling...)

linux-next on x60: hangs when I request suspend was Re: linux-next on x60: network manager often complains "network is disabled" after resume

2018-04-03 Thread Pavel Machek
Hi! I wanted to re-test next (4.16.0-rc7-next-20180329), but that one does not suspend at all. I normally suspend by pressing power button in MATE, but that action currently results in machine hanging. Pavel On Mon 2018-03-26 10:3

Re: [PATCH v5 10/13] ARM: sun9i: smp: Move structures

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 4:47 PM, Maxime Ripard wrote: > On Tue, Apr 03, 2018 at 08:18:33AM +0200, Mylène Josserand wrote: >> To prepare the support for sun8i-a83t, move some structures >> at the beginning of the file. >> >> Signed-off-by: Mylène Josserand > > I'm not quite sure what would be the b

Re: Regression caused by commit bc976233a872, ethernet r8169 stops working after system S3

2018-04-03 Thread Thomas Gleixner
On Sat, 31 Mar 2018, Kai-Heng Feng wrote: > Thomas Gleixner wrote: > > > On Sat, 31 Mar 2018, Kai-Heng Feng wrote: > > > A user reported [1] that the Realtek ethernet r8169 stops working after S3 > > > since v4.15-rc6. The issue still exists in Linus' tree: > > > > > > [ 150.877998] IPv6: ADDRCO

Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-04-03 Thread Pavel Machek
Hi! > > I think I should have the required options enabled... > > > > CONFIG_SND_OMAP_SOC=y > > CONFIG_SND_OMAP_SOC_DMIC=y > > CONFIG_SND_OMAP_SOC_MCBSP=y > > CONFIG_SND_OMAP_SOC_MCPDM=y > > CONFIG_SND_OMAP_SOC_HDMI_AUDIO=y > > That's the SoC (OMAP) side. > > > # CONFIG_SND_OMAP_SOC_RX51 is no

Re: [PATCH v2 2/4] clk: qcom: Configure the RCGs to a safe source as needed

2018-04-03 Thread Amit Nischal
On 2018-03-20 06:00, Stephen Boyd wrote: Quoting Amit Nischal (2018-03-07 23:18:13) For some root clock generators, there could be child branches which are controlled by an entity other than application processor subsystem. For such RCGs, as per application processor subsystem clock driver, all

Re: [PATCH v4 3/3] MIPS: use generic GCC library routines from lib/

2018-04-03 Thread James Hogan
On Thu, Mar 29, 2018 at 11:41:23AM +0100, Matt Redfearn wrote: > This commit removes several generic GCC library routines from > arch/mips/lib/ in favour of similar routines from lib/. > diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile > index e84e12655fa8..6537e022ef62 100644 > --- a/

Re: general protection fault in try_to_wake_up

2018-04-03 Thread Petr Mladek
On Tue 2018-04-03 10:50:02, Petr Mladek wrote: > On Thu 2018-03-29 09:01:02, syzbot wrote: > > Hello, > > > > syzbot hit the following crash on upstream commit > > bcfc1f4554662d8f2429ac8bd96064a59c149754 (Sat Mar 24 16:50:12 2018 +) > > Merge tag 'pinctrl-v4.16-3' of > > git://git.kernel.org/

Re: [GIT PULL] x86/build changes for v4.17

2018-04-03 Thread Peter Zijlstra
On Mon, Apr 02, 2018 at 02:44:48PM -0700, Linus Torvalds wrote: > On Mon, Apr 2, 2018 at 2:50 AM, Ingo Molnar wrote: > > > > The biggest change is the forcing of asm-goto support on x86, which > > effectively > > increases the GCC minimum supported version to gcc-4.5 (on x86). > > So my biggest

[PATCH] fs: ufs: Convert ufs_set_de_type to use lookup table

2018-04-03 Thread Phillip Potter
Modify ufs_set_de_type function in fs/ufs/util.h to use a lookup table rather than a switch statement, as per the TODO comment. Signed-off-by: Phillip Potter --- fs/ufs/util.h | 50 ++ 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a

Re: [PATCH] ALSA: hda/realtek: Enable audio line out on ASUS D640SA

2018-04-03 Thread Takashi Iwai
On Tue, 03 Apr 2018 10:43:02 +0200, Jian-Hong Pan wrote: > > 2018-04-02 19:29 GMT+08:00 Takashi Iwai : > > > > On Mon, 02 Apr 2018 09:33:13 +0200, > > Jian-Hong Pan wrote: > > > > > > This ASUS D640SA desktop whose mother board is D640MB has > > > - two jacks which are a headphone and a mic on the

linux-next: Tree for Apr 3

2018-04-03 Thread Stephen Rothwell
Hi all, Please do not add any v4.18 destined stuff to your linux-next included trees until after v4.17-rc1 has been released. Changes since 20180329: The kbuild tree lost its build failure. The asm-generic tree gained a conflict against Linus' tree. The vfs tree still had its build failure for

Re: [PATCH v5 09/13] ARM: sun9i: smp: Rename clusters's power-off

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand wrote: > To prepare the support for sun8i-a83t, rename the variable name > that handles the power-off of clusters because it is different from > sun9i-a80 to sun8i-a83t. > > The power off register for clusters are different from a80 and a83t. > > Si

[GIT PULL] MMC for v.4.17

2018-04-03 Thread Ulf Hansson
Hi Linus, Here's the PR with MMC updates for v.4.17. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 661e50bc853209e41a5c14a290ca4decc43cbfd1: Linux 4.16-rc4 (2018-03-04 14:54:11 -0800) are

Re: [PATCH v5 05/13] ARM: dts: sun8i: Add R_CPUCFG device node for the A83T dtsi

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand wrote: > The R_CPUCFG is a collection of registers needed for SMP bringup > on clusters and cluster's reset. > For the moment, documentation about this register is found in > Allwinner's code only. > > Signed-off-by: Mylène Josserand > --- > arch/

Re: [PATCH 4/8] dma-buf: add peer2peer flag

2018-04-03 Thread Daniel Vetter
On Thu, Mar 29, 2018 at 01:34:24PM +0200, Christian König wrote: > Am 29.03.2018 um 08:57 schrieb Daniel Vetter: > > On Sun, Mar 25, 2018 at 12:59:56PM +0200, Christian König wrote: > > > Add a peer2peer flag noting that the importer can deal with device > > > resources which are not backed by page

Re: [PATCH v2 1/2] spi: spi-ti-qspi: Fix parameters order in regmap_update_bits calls

2018-04-03 Thread Mark Brown
On Fri, Mar 30, 2018 at 11:41:23AM +0200, Arkadiusz Kwiatkowski wrote: > This commit fixes the order of parameters passed to regmap_update_bits > function inside spi-ti-qspi driver. Accidentally the code worked > correctly when cs=0, but it is not the case for other values. This doesn't apply agai

Re: [PATCH] drm/atmel-hlcdc: add command line option to specify preferred depth

2018-04-03 Thread Daniel Vetter
On Wed, Mar 28, 2018 at 12:03:39PM +0200, Peter Rosin wrote: > On 2018-03-28 09:34, Boris Brezillon wrote: > > Hi Peter, > > > > On Mon, 26 Mar 2018 09:35:02 +0200 > > Peter Rosin wrote: > > > >> I have an sama5d31-based system with 64MB of memory and a 1920x1080 > >> LVDS display wired for 16-b

Re: [PATCH v5 08/13] ARM: sunxi: Add initialization of CNTVOFF

2018-04-03 Thread Maxime Ripard
On Tue, Apr 03, 2018 at 08:18:31AM +0200, Mylène Josserand wrote: > Add the initialization of CNTVOFF for sun8i-a83t. > > For boot CPU, Create a new machine that handles this > function's call in an "init_early" callback. > For secondary CPUs, add this function into secondary_startup > assembly en

Re: [PATCH v3] scsi: Introduce sdev_printk_ratelimited to throttle frequent printk

2018-04-03 Thread Jason Yan
On 2018/4/3 14:04, Wen Yang wrote: There would be so many same lines printed by frequent printk if one disk went wrong, like, [ 546.185242] sd 0:1:0:0: rejecting I/O to offline device [ 546.185258] sd 0:1:0:0: rejecting I/O to offline device [ 546.185280] sd 0:1:0:0: rejecting I/O to offline

RE: [PATCH 2/3] rpmsg: Only invoke announce_create for rpdev with endpoints

2018-04-03 Thread Loic PALLARDY
Hi Bjorn, > -Original Message- > From: linux-remoteproc-ow...@vger.kernel.org [mailto:linux-remoteproc- > ow...@vger.kernel.org] On Behalf Of Bjorn Andersson > Sent: Tuesday, March 27, 2018 11:07 PM > To: Ohad Ben-Cohen ; Bjorn Andersson > > Cc: linux-remotep...@vger.kernel.org; linux-ker

[GIT PULL] s390 patches for the 4.17 merge window #1

2018-04-03 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: * Improvements for the spectre defense: - The spectre related code is consolidated to a single file nospec-branch.c - Auto

Re: general protection fault in try_to_wake_up

2018-04-03 Thread Peter Zijlstra
On Tue, Apr 03, 2018 at 10:50:03AM +0200, Petr Mladek wrote: > raw_spin_lock() succeeded here. Therefore lockdep was still working > at this stage. What does the success of raw_spin_lock() have to do with lockdep ?

Re: [PATCH 1/2] lib: vsprintf: Implement %pCOW

2018-04-03 Thread Petr Mladek
On Mon 2018-04-02 17:18:12, Andy Shevchenko wrote: > On Sun, 2018-04-01 at 10:56 +0200, Richard Weinberger wrote: > > Add a new format string to print in cowsay format. > > > > Apparently NAK b/c missed test cases! This is really sad. I'll miss the cows. Moo, Petr

Re: [PATCH 2/2] HID: i2c-hid: Fix resume issue on Raydium touchscreen device

2018-04-03 Thread Aaron Ma
Hi Jiri: This patch is pending for long time. Could you merge this single patch to upstream? Regards, Aaron

Re: [GIT PULL] arch: remove obsolete architecture ports

2018-04-03 Thread Geert Uytterhoeven
On Mon, Apr 2, 2018 at 9:54 PM, Arnd Bergmann wrote: > On Mon, Apr 2, 2018 at 8:57 PM, Linus Torvalds > wrote: > Regarding a possible revert, that would indeed involve reverting > multiple patches for most architectures, plus parts of at least these > three: > > Documentation: arch-support: rem

Re: [RESEND PATCH v6 1/5] pwm-backlight: enable/disable the PWM before/after LCD enable toggle.

2018-04-03 Thread Lee Jones
On Wed, 28 Mar 2018, Enric Balletbo i Serra wrote: > Before this patch the enable signal was set before the PWM signal and > vice-versa on power off. This sequence is wrong, at least, it is on > the different panels datasheets that I checked, so I inverted the sequence > to follow the specs. > >

Re: [RESEND PATCH v6 3/5] pwm-backlight: add support for PWM delays proprieties.

2018-04-03 Thread Lee Jones
On Wed, 28 Mar 2018, Enric Balletbo i Serra wrote: > Some panels (i.e. N116BGE-L41), in their power sequence specifications, > request a delay between set the PWM signal and enable the backlight and > between clear the PWM signal and disable the backlight. Add support for > the new post-pwm-on-del

Re: [RESEND PATCH v6 2/5] dt-bindings: pwm-backlight: add PWM delay proprieties.

2018-04-03 Thread Lee Jones
On Wed, 28 Mar 2018, Enric Balletbo i Serra wrote: > Hardware needs a delay between setting an initial (non-zero) PWM and > enabling the backlight using GPIO. The post-pwm-on-delay-ms specifies > this delay in milli seconds. Hardware also needs a delay between disabing > the backlight using GPIO a

[PATCH 1/5] kokr/doc: READ_ONCE() now implies smp_barrier_depends()

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit 40555946447a ("doc: READ_ONCE() now implies smp_barrier_depends()") to the Korean version document. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 15 +-- 1 file changed, 9 insertions(+), 6 deleti

[PATCH 4/5] kokr/memory-barriers: Fix description of data dependency barriers

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit 51de78892b12 ("memory-barriers: Fix description of data dependency barriers") to the Korean version document. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 0/5] memory-barriers.txt: Applies upstream changes to the Korean version

2018-04-03 Thread SeongJae Park
This patchset applies upstream changes for memory-barriers.txt to the Korean version of it. SeongJae Park (5): kokr/doc: READ_ONCE() now implies smp_barrier_depends() kokr/doc: De-emphasize smp_read_barrier_depends kokr/Documentation/memory-barriers.txt: Cross-reference "tools/memory-mod

[PATCH 3/5] kokr/Documentation/memory-barriers.txt: Cross-reference "tools/memory-model/"

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit 621df431b0ac ("Documentation/memory-barriers.txt: Cross-reference "tools/memory-model/"") to the Korean version document. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 5/5] kokr/locking/memory-barriers: De-emphasize smp_read_barrier_depends() some more

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit f28f0868feb1 ("locking/memory-barriers: De-emphasize smp_read_barrier_depends() some more") to the Korean version documentation. Signed-off-by: SeongJae Park --- .../translations/ko_KR/memory-barriers.txt | 27 ++ 1 file

[PATCH 2/5] kokr/doc: De-emphasize smp_read_barrier_depends

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit 9ad3c143d7d6 ("doc: De-emphasize smp_read_barrier_depends") to the Korean version document. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --gi

Re: NO_HZ_FULL and tick running within a reasonable amount of time

2018-04-03 Thread Peter Zijlstra
On Mon, Apr 02, 2018 at 03:04:38PM -0700, Paul E. McKenney wrote: > The WARN_ON_ONCE() triggering is this guy: > > delta = rq_clock_task(rq) - curr->se.exec_start; > WARN_ON_ONCE(delta > (u64)NSEC_PER_SEC * 3); > > But given that ->se.exec_start is zeroed from time to time, for examp

Re: [PATCH v4 3/3] MIPS: use generic GCC library routines from lib/

2018-04-03 Thread Matt Redfearn
On 03/04/18 09:53, James Hogan wrote: On Thu, Mar 29, 2018 at 11:41:23AM +0100, Matt Redfearn wrote: This commit removes several generic GCC library routines from arch/mips/lib/ in favour of similar routines from lib/. diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index e84e1

[PATCH v5 1/3] Add notrace to lib/ucmpdi2.c

2018-04-03 Thread Matt Redfearn
From: Palmer Dabbelt As part of the MIPS conversion to use the generic GCC library routines, Matt Redfearn discovered that I'd missed a notrace on __ucmpdi2(). This patch rectifies the problem. CC: Matt Redfearn CC: Antony Pavlov Signed-off-by: Palmer Dabbelt Reviewed-by: Matt Redfearn Sign

[PATCH v5 2/3] lib: Rename compiler intrinsic selects to GENERIC_LIB_*

2018-04-03 Thread Matt Redfearn
When these are included into arch Kconfig files, maintaining alphabetical ordering of the selects means these get split up. To allow for keeping things tidier and alphabetical, rename the selects to GENERIC_LIB_* Signed-off-by: Matt Redfearn Reviewed-by: Palmer Dabbelt --- Changes in v5: None

[PATCH v5 3/3] MIPS: use generic GCC library routines from lib/

2018-04-03 Thread Matt Redfearn
From: Antony Pavlov The commit b35cd9884fa5 ("lib: Add shared copies of some GCC library routines") makes it possible to share generic GCC library routines by several architectures. This commit removes several generic GCC library routines from arch/mips/lib/ in favour of similar routines from li

Re: general protection fault in try_to_wake_up

2018-04-03 Thread Petr Mladek
On Tue 2018-04-03 11:13:33, Peter Zijlstra wrote: > On Tue, Apr 03, 2018 at 10:50:03AM +0200, Petr Mladek wrote: > > raw_spin_lock() succeeded here. Therefore lockdep was still working > > at this stage. > > What does the success of raw_spin_lock() have to do with lockdep ? It means that also loc

Re: [PATCH] usb: musb: Support gadget mode when the port is set to dual role

2018-04-03 Thread Maxime Ripard
Hi, On Thu, Mar 29, 2018 at 01:57:24PM +0200, Paul Kocialkowski wrote: > On Thu, 2018-03-29 at 11:23 +0200, Maxime Ripard wrote: > > On Wed, Mar 28, 2018 at 11:52:13PM +0200, Paul Kocialkowski wrote: > > > This allows dual-role ports to be reported as having gadget mode by > > > the > > > musb_has

Re: linux-next: build failure after merge of the tip tree

2018-04-03 Thread Peter Zijlstra
On Tue, Apr 03, 2018 at 03:41:22PM +1000, Stephen Rothwell wrote: > Caused by commit > > 9b8cce52c4b5 ("sched/wait: Remove the wait_on_atomic_t() API") > > interacting with commits > > d3be4d244330 ("xrpc: Fix potential call vs socket/net destruction race") > 31f5f9a1691e ("rxrpc: Fix app

Re: [PATCH] drm/amd/display: fix spelling mistake: "Usupported" -> "Unsupported"

2018-04-03 Thread Jani Nikula
On Fri, 30 Mar 2018, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in DRM_ERROR error message text Thanks for the patch. Please do consider limiting the distribution in the future, though. There's no need to include lkml or even dri-devel for trivial patches like

Re: general protection fault in __mem_cgroup_free

2018-04-03 Thread Michal Hocko
[CC Andrey] On Sat 31-03-18 13:47:05, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 9dd2326890d89a5179967c947dab2bab34d7ddee (Fri Mar 30 17:29:47 2018 +) > Merge tag 'ceph-for-4.16-rc8' of git://github.com/ceph/ceph-client > syzbot dashboard link: > https://sy

Re: [PATCH] drm/amd/display: fix spelling mistake: "Usupported" -> "Unsupported"

2018-04-03 Thread Julia Lawall
On Tue, 3 Apr 2018, Jani Nikula wrote: > On Fri, 30 Mar 2018, Colin King wrote: > > From: Colin Ian King > > > > Trivial fix to spelling mistake in DRM_ERROR error message text > > Thanks for the patch. > > Please do consider limiting the distribution in the future, > though. There's no need t

Re: general protection fault in __mem_cgroup_free

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 11:37:33, Michal Hocko wrote: > [CC Andrey] > > On Sat 31-03-18 13:47:05, syzbot wrote: > > Hello, > > > > syzbot hit the following crash on upstream commit > > 9dd2326890d89a5179967c947dab2bab34d7ddee (Fri Mar 30 17:29:47 2018 +) > > Merge tag 'ceph-for-4.16-rc8' of git://git

Re: [PATCH 1/6] x86/intel_rdt/mba_sc: Add documentation for MBA software controller

2018-04-03 Thread Thomas Gleixner
On Thu, 29 Mar 2018, Vikas Shivappa wrote: > +Memory bandwidth(b/w) in MegaBytes > +-- > + > +Memory bandwidth is a core specific mechanism which means that when the > +Memory b/w percentage is specified in the schemata per package it > +actually is applied on a per

Re: [PATCH 1/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-04-03 Thread Daniel Vetter
On Thu, Mar 29, 2018 at 04:19:31PM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > +static int to_refs_grant_foreign_access(struct xen_gem_object *xen_obj) > +{ > + grant_ref_t priv_gref_head; > + int ret, j, cur_ref, num_pages; > + struct sg_page_iter sg_iter;

Re: [GIT PULL] x86/build changes for v4.17

2018-04-03 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Apr 02, 2018 at 02:44:48PM -0700, Linus Torvalds wrote: > > On Mon, Apr 2, 2018 at 2:50 AM, Ingo Molnar wrote: > > > > > > The biggest change is the forcing of asm-goto support on x86, which > > > effectively > > > increases the GCC minimum supported version t

Re: possible deadlock in skb_queue_tail

2018-04-03 Thread Kirill Tkhai
On 02.04.2018 12:20, syzbot wrote: > Hello, > > syzbot hit the following crash on net-next commit > 06b19fe9a6df7aaa423cd8404ebe5ac9ec4b2960 (Sun Apr 1 03:37:33 2018 +) > Merge branch 'chelsio-inline-tls' > syzbot dashboard link: > https://syzkaller.appspot.com/bug?extid=6b495100f17ca8554ab9

Re: [PATCH 3/6] x86/intel_rdt/mba_sc: Add initialization support

2018-04-03 Thread Thomas Gleixner
On Thu, 29 Mar 2018, Vikas Shivappa wrote: > +void setup_ctrlval(struct rdt_resource *r, u32 *dc, u32 *dm) > +{ > + int i; > + > + /* > + * Initialize the Control MSRs to having no control. > + * For Cache Allocation: Set all bits in cbm > + * For Memory Allocation: Set b/w r

Re: [v2,2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-03 Thread Fabien DESSENNE
Just a gentle ping ... or have I missed out on a reply? On 12/03/18 11:58, Fabien DESSENNE wrote: > The STMicroelectronics STM32 Inter-Processor Communication Controller > (IPCC) is used for communicating data between two processors. > It provides a non blocking signaling mechanism to post and re

Re: [PATCH v3 05/14] s390: vfio-ap: base implementation of VFIO AP device driver

2018-04-03 Thread Cornelia Huck
On Tue, 27 Mar 2018 16:45:02 +0200 Pierre Morel wrote: > On 27/03/2018 13:17, Cornelia Huck wrote: > > On Thu, 15 Mar 2018 13:25:25 -0400 > > Tony Krowiak wrote: > > > >> On 03/15/2018 09:25 AM, Pierre Morel wrote: > >>> On 14/03/2018 19:25, Tony Krowiak wrote: > +config VFIO_AP > >>>

[PATCH] drm/virtio: fix vq wait_event condition

2018-04-03 Thread Gerd Hoffmann
Wait until we have enough space in the virt queue to actually queue up our request. Avoids the guest spinning in case we have a non-zero amount of free entries but not enough for the request. Cc: sta...@vger.kernel.org Reported-by: Alain Magloire Signed-off-by: Gerd Hoffmann --- drivers/gpu/dr

Re: [PATCH v4 7/8] clocksource: Add a new timer-ingenic driver

2018-04-03 Thread Daniel Lezcano
On 31/03/2018 19:46, Paul Cercueil wrote: > Le 2018-03-31 10:10, Daniel Lezcano a écrit : >> On 29/03/2018 16:52, Paul Cercueil wrote: >>> >>> >>> Le mer. 28 mars 2018 à 18:25, Daniel Lezcano >>> a écrit : On 28/03/2018 17:15, Paul Cercueil wrote: >  Le 2018-03-24 07:26, Daniel Lezcano a

Re: [PATCH 0/5] KVM: x86: hyperv: PV TLB flush for Windows guests

2018-04-03 Thread Roman Kagan
On Mon, Apr 02, 2018 at 06:10:54PM +0200, Vitaly Kuznetsov wrote: > This is both a new feature and a bugfix. > > Bugfix description: > > It was found that Windows 2016 guests on KVM crash when they have > 64 > vCPUs, non-flat topology (>1 core/thread per socket; in case it has >64 > sockets Wind

Re: [PATCH] drm/amd/display: fix spelling mistake: "Usupported" -> "Unsupported"

2018-04-03 Thread Dan Carpenter
On Tue, Apr 03, 2018 at 11:41:05AM +0200, Julia Lawall wrote: > > > On Tue, 3 Apr 2018, Jani Nikula wrote: > > > On Fri, 30 Mar 2018, Colin King wrote: > > > From: Colin Ian King > > > > > > Trivial fix to spelling mistake in DRM_ERROR error message text > > > > Thanks for the patch. > > > > P

Re: [PATCH] drm/amd/display: fix spelling mistake: "Usupported" -> "Unsupported"

2018-04-03 Thread Jani Nikula
On Tue, 03 Apr 2018, Julia Lawall wrote: > On Tue, 3 Apr 2018, Jani Nikula wrote: >> Please do consider limiting the distribution in the future, >> though. There's no need to include lkml or even dri-devel for trivial >> patches like this. > > It's complex to have to remember the preferences for e

Re: [PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-04-03 Thread Dan Carpenter
On Fri, Mar 30, 2018 at 09:51:21AM -0600, Shuah Khan wrote: > On 03/29/2018 12:04 PM, Steven Rostedt wrote: > > On Thu, 29 Mar 2018 11:54:28 -0600 > > Shuah Khan wrote: > > > >> I will pick this up with your Ack Steve, unless you want include > >> it in your pull request. > > > > You or Janitors

[PATCH 2/3] mmc: meson-axg: add support for the Meson-AXG platform

2018-04-03 Thread Yixun Lan
From: Nan Li Introduce the compatible data to cover the register offset & mask change of the eMMC controller in Amlogic's Meson-AXG SoC. Signed-off-by: Nan Li Signed-off-by: Yixun Lan --- drivers/mmc/host/meson-gx-mmc.c | 61 ++--- 1 file changed, 51 insert

[PATCH 3/3] mmc: meson: update doc to support Meson-AXG platform

2018-04-03 Thread Yixun Lan
From: Nan Li Explicitly update the docomentation to support the Meson-AXG platform. Signed-off-by: Nan Li Signed-off-by: Yixun Lan --- drivers/mmc/host/Kconfig| 4 ++-- drivers/mmc/host/meson-gx-mmc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/h

[PATCH 0/3] mmc: meson-axg: initial support for AXG SoC platform

2018-04-03 Thread Yixun Lan
The patches series try to enable basic eMMC support in the Meson-AXG platfrom. Currently HS200 mode is tested with clock running at 166MHz, since not all boards are stable to running 200MHz (due to tuning phase error), we will further improve the tuning phase driver in the future, but in my

[PATCH 1/3] mmc: dt-bindings: update bindings doc to support Meson-AXG SoC

2018-04-03 Thread Yixun Lan
From: Nan Li Update the documentation to list support for Meson-AXG SoC explicitly. The new binding string is necessary since this SoC introduce a few IP difference comparing to previous old generation. Signed-off-by: Nan Li Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/mmc/a

Re: [PATCH 4/8] misc: pci_endpoint_test: Add designware EP entry

2018-04-03 Thread Gustavo Pimentel
Hi Kishon, On 02/04/2018 06:36, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >> Adds the designware EP device ID entry to pci_endpoint_test driver table >> to allow this device to be recognize and handle by the pci_endpoint_test >> driver. >

[PATCH] display: panel: Add AUO g070vvn01 display support (800x480)

2018-04-03 Thread Lukasz Majewski
This commit adds support for AUO's 7.0" display. Signed-off-by: Lukasz Majewski --- .../bindings/display/panel/auo,g070vvn01 | 30 + drivers/gpu/drm/panel/panel-simple.c | 31 ++ 2 files changed, 61 insertions(+) create mode 100644

Re: [PATCH 2/2] crypto: ccree: enable support for hardware keys

2018-04-03 Thread Herbert Xu
On Sat, Mar 31, 2018 at 08:30:46PM +0300, Gilad Ben-Yossef wrote: > > However, as it uses the exact same mechanism of the regular xts-aes-ccree > but takes the key from another source, I've marked it with a test of > alg_test_null() on the premise that if the xts-aes-ccree works, so must this. Wel

Re: [PATCH] usb: dwc3: of-simple: use managed and shared reset control

2018-04-03 Thread Masahiro Yamada
2018-04-03 17:46 GMT+09:00 Philipp Zabel : > On Tue, 2018-04-03 at 17:30 +0900, Masahiro Yamada wrote: >> 2018-04-03 17:00 GMT+09:00 Philipp Zabel : >> > On Thu, 2018-03-29 at 15:07 +0900, Masahiro Yamada wrote: >> > > This driver handles the reset control in a common manner; deassert >> > > resets

Re: [PATCH] genirq: only scan the present CPUs

2018-04-03 Thread Thomas Gleixner
On Mon, 2 Apr 2018, Li RongQing wrote: > lots of application will read /proc/stat, like ps and vmstat, but we > find the reading time are spreading on Purley platform which has lots > of possible CPUs and interrupt. > > To reduce the reading time, only scan the present CPUs, not all possible > CP

Re: [PATCH 2/6] spi: sun4i: restrict transfer length in PIO-mode

2018-04-03 Thread Sergey Suloev
On 04/03/2018 11:10 AM, Maxime Ripard wrote: On Thu, Mar 29, 2018 at 09:59:03PM +0300, Sergey Suloev wrote: There is no need to handle 3/4 empty/full interrupts as the maximum supported transfer length in PIO mode is 64 bytes for sun4i-family SoCs. That assumes that you'll be able to treat the

Re: [PATCH 4.4 076/134] kprobes/x86: Set kprobes pages read-only

2018-04-03 Thread Greg Kroah-Hartman
On Mon, Apr 02, 2018 at 03:45:57PM +0900, Masami Hiramatsu wrote: > On Sun, 01 Apr 2018 17:20:30 +0100 > Ben Hutchings wrote: > > > On Mon, 2018-03-19 at 19:05 +0100, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch.  If anyone has any objections, please let me > > > know. > > > > > > --

  1   2   3   4   5   6   7   8   9   10   >