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

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

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

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:

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

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,

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

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

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

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

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

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

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

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

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

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

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

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;

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

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:

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

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

[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

[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

[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

[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

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

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

[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

[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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

[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

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

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

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.

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

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 >

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

Re: [PATCH v8 25/42] ARM: davinci: dm644x: add new clock init using common clock framework

2018-04-03 Thread Sekhar Nori
On Friday 16 March 2018 08:22 AM, David Lechner wrote: > +static struct resource dm644x_pll1_resources[] = { > + { > + .start = DAVINCI_PLL1_BASE, > + .end= DAVINCI_PLL1_BASE + SZ_4K - 1, The .end should be DAVINCI_PLL1_BASE + SZ_1K - 1, otherwise it prevents PLL2

[PATCH] ARM64: dts: meson-axg: enable the eMMC controller

2018-04-03 Thread Yixun Lan
From: Nan Li The IP of eMMC controller in AXG is similiar to Meson-GX series. Here we add the initial support of the HS200 mode with clock running at 166MHz (to be safe), since we found some eMMC chip fail to run at 200MHz due to tunning phase error. Signed-off-by: Nan Li Signed-off-by: Yixun

Re: [PATCH v1 6/7] Bluetooth: hci_mediatek: Add protocol support for MediaTek serial devices

2018-04-03 Thread Marcel Holtmann
Hi Sean, > This adds a driver for the MediaTek serial protocol based on H4 protocol, > which can enable the built-in Bluetooth device inside MT7622 SoC. > > Signed-off-by: Sean Wang > --- > drivers/bluetooth/Kconfig| 12 + > drivers/bluetooth/Makefile | 1 + >

Re: [PATCH 5/6] spi: sun4i: introduce register set/unset helpers

2018-04-03 Thread Sergey Suloev
On 04/03/2018 11:14 AM, Maxime Ripard wrote: On Thu, Mar 29, 2018 at 09:59:06PM +0300, Sergey Suloev wrote: Two helper functions were added in order to update registers easily. Signed-off-by: Sergey Suloev I'm not really sure what's easier about this one. Maxime

Re: [PATCH v1 2/7] serdev: add dev_pm_domain_attach|detach()

2018-04-03 Thread Marcel Holtmann
Hi Sean, > In order to open up the required power gate before any operation can be > effectively performed over the serial bus between CPU and serdev, it's > clearly essential to add common attach functions for PM domains to serdev > at the probe phase. > > Similarly, the relevant dettach

Re: [PATCH 1/8] bindings: PCI: designware: Example update

2018-04-03 Thread Gustavo Pimentel
Hi Kishon, On 02/04/2018 06:23, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >> Changes the IP registers size to accommodate the ATU unroll space. >> >> Replaces "ctrlreg" reg-name by "dbi" to be coherent with similar drivers. >> >>

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

2018-04-03 Thread Vivek Gautam
On 4/3/2018 3:49 PM, Masahiro Yamada wrote: 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

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

2018-04-03 Thread Ingo Molnar
* Pavel Machek wrote: > > > > Yeah, so generic memcpy() replacement is only feasible I think if the > > > > most > > > > optimistic implementation is actually correct: > > > > > > > > - if no preempt disable()/enable() is required > > > > > > > > - if direct access to the AVX[2] registers

Re: [PATCH] cpufreq: intel_pstate: Do not include debugfs.h

2018-04-03 Thread Viresh Kumar
On Fri, Mar 30, 2018 at 3:22 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The intel_pstate driver doesn't use debugfs any more, so drop > linux/debugfs.h from the list of included headers in it. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/intel_pstate.c |1 -

Re: [PATCH v3] staging: vt6655: check for memory allocation failures

2018-04-03 Thread Dan Carpenter
On Fri, Mar 30, 2018 at 11:44:04AM +0900, Ji-Hun Kim wrote: > @@ -528,18 +528,22 @@ static void device_free_rings(struct vnt_private *priv) > priv->tx0_bufs, priv->tx_bufs_dma0); > } > > -static void device_init_rd0_ring(struct vnt_private *priv) > +static int

What's the priority of the idle task?

2018-04-03 Thread Ferenc Wágner
Hi, (Please let me ask my Stackexchange question [1] here as well in the hope of getting an answer from this board of dedicated experts.) As explained by several (if somewhat old) articles [2,3,4], the Linux idle task (PID=0, one per CPU) is run when there are no other tasks to run. To get the

Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver

2018-04-03 Thread Gustavo Pimentel
Hi Kishon, On 02/04/2018 06:35, Kishon Vijay Abraham I wrote: > > > On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >> Signed-off-by: Gustavo Pimentel > > Please add a commit message. Ok. I'll add. Thanks for noticing it. >> --- >>

Re: [PATCH] perf/x86/intel: move regs->flags EXACT bit init

2018-04-03 Thread Ingo Molnar
* Stephane Eranian wrote: > This patch removes a redundant store on regs->flags introduced > by commit: > > 71eb9ee9596d ("perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and > later CPUs") > > We were clearing the PERF_EFLAGS_EXACT but it was overwritten by > regs->flags =

Re: KASAN: use-after-free Read in alloc_pid

2018-04-03 Thread Tetsuo Handa
On 2018/04/03 12:10, Eric Biggers wrote: > On Mon, Apr 02, 2018 at 06:00:57PM -0500, Eric W. Biederman wrote: >> syzbot writes: >> >>> Hello, >>> >>> syzbot hit the following crash on upstream commit >>> 9dd2326890d89a5179967c947dab2bab34d7ddee (Fri Mar 30 17:29:47 2018 +) >>> Merge tag

Re: [PATCHv4 06/10] mfd: ti-lmu: add PWM support

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 19:24:10, Sebastian Reichel wrote: > This adds support to acquire the optional PWM channel, > that can be used by some of the LMU variants. > > Signed-off-by: Sebastian Reichel Patches 1-6: Acked-by: Pavel Machek

Re: [PATCHv3 8/8] ARM: dts: omap4-droid4: Add LCD panel rotation property

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 19:18:22, Sebastian Reichel wrote: > This adds a LCD panel rotation hint to the Droid 4. If the > display is rotated this way the keyboard can be used properly. > > Signed-off-by: Sebastian Reichel Hmm. Aha. And this the place where confusion matters. I believe most users

Re: [PATCHv4 10/10] ARM: dts: omap4-droid4: update backlight led-controller

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 19:24:14, Sebastian Reichel wrote: > From: Sebastian Reichel > > This updates the backlight led-controller node to follow the > new binding instead of the legacy out-of-tree binding. > > Signed-off-by: Sebastian Reichel 9,10: Acked-by: Pavel Machek -- (english)

Re: [PATCHv4 08/10] backlight: add TI LMU backlight driver

2018-04-03 Thread Pavel Machek
Hi! > +enum ti_lmu_bl_type { > + TI_LMU_BL, /* backlight userspace interface */ > + TI_LMU_LED, /* led userspace interface */ > +}; ... > +static int ti_lmu_bl_add_device(struct ti_lmu_bank *lmu_bank) > +{ > + switch (lmu_bank->type) { > + case TI_LMU_BL: > + return

Re: [PATCH v2 2/2] io: prevent compiler reordering on the default readX() implementation

2018-04-03 Thread Mark Rutland
Hi, On Fri, Mar 30, 2018 at 11:58:13AM -0400, Sinan Kaya wrote: > The default implementation of mapping readX() to __raw_readX() is wrong. > readX() has stronger ordering semantics. Compiler is allowed to reorder > __raw_readX(). Could you please specify what the compiler is potentially

Re: [PATCHv3 7/8] drm/omap: panel-dsi-cm: add rotation support

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 19:18:21, Sebastian Reichel wrote: > From: Sebastian Reichel > > Add support to inform the DRM subsystem about the orientation > the display has been mounted to the casing. > > Signed-off-by: Sebastian Reichel 1-5,7: Reviewed-by: Pavel Machek Thanks,

Re: [PATCHv3 5/8] dt-bindings: panel: common: document orientation property

2018-04-03 Thread Pavel Machek
Hi! > +- rotation: Display rotation in degrees counter clockwise (0,90,180,270). > + The following values are possible: > + > +0 = The top side of the panel matches the top side of the > +device's casing (default). This is still ambiguous for devices such as N900 and Droid4, which

Re: [PATCH] PM / QoS: mark expected switch fall-throughs

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 16:18:44, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky,

Re: [PATCH v2] phy: tegra: Remove self cast in tegra_xusb_port_find_lane

2018-04-03 Thread Thierry Reding
On Sun, Apr 01, 2018 at 04:04:10AM -0700, Nathan Chancellor wrote: > Clang warns about casting variables to themselves because it is rarely > necessary. Removing the cast should not change anything regarding the > code and silences the warning. > > ../drivers/phy/tegra/xusb.c:421:11: warning:

Re: general protection fault in __mem_cgroup_free

2018-04-03 Thread Michal Hocko
Here we go >From 38f0f08a3f9f19c106ae53350e43dc97e2e3a4d8 Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Tue, 3 Apr 2018 12:40:41 +0200 Subject: [PATCH] memcg: fix per_node_info cleanup syzbot has triggered a NULL ptr dereference when allocation fault injection enforces a failure and

Re: [PATCH 1/8] bindings: PCI: designware: Example update

2018-04-03 Thread Kishon Vijay Abraham I
Hi, On Tuesday 03 April 2018 04:22 PM, Kishon Vijay Abraham I wrote: > > > On Tuesday 03 April 2018 04:03 PM, Gustavo Pimentel wrote: >> Hi Kishon, >> >> On 02/04/2018 06:23, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: Changes

Re: [GIT PULL] remove in-kernel calls to syscalls

2018-04-03 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Apr 2, 2018 at 12:04 PM, Dominik Brodowski > wrote: > > > > This patchset removes all in-kernel calls to syscall functions in the > > kernel with the exception of arch/. > > Ok, this finished off my arch updates for today, I'll probably move on > to driver

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

2018-04-03 Thread Kirill A. Shutemov
On Tue, Apr 03, 2018 at 10:34:51AM +0200, Michal Hocko wrote: > 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

Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver

2018-04-03 Thread Kishon Vijay Abraham I
Hi, On Tuesday 03 April 2018 04:13 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 02/04/2018 06:35, Kishon Vijay Abraham I wrote: >> >> >> On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >>> Signed-off-by: Gustavo Pimentel >> >> Please add a commit message. > > Ok. I'll add.

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

2018-04-03 Thread Kishon Vijay Abraham I
Hi, On Tuesday 03 April 2018 03:41 PM, Gustavo Pimentel wrote: > 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

<    9   10   11   12   13   14   15   16   17   18   >