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

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

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

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.

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

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

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

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

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

2018-04-03 Thread Cornelia Huck
On Wed, 14 Mar 2018 14:25:45 -0400 Tony Krowiak wrote: > Introduces a new AP device driver. This device driver > is built on the VFIO mediated device framework. The framework > provides sysfs interfaces that facilitate passthrough > access by guests to devices

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

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 13:54:11, Kirill A. Shutemov wrote: > 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: > >

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

2018-04-03 Thread Kishon Vijay Abraham I
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 the IP registers size to accommodate the ATU unroll space. >>> >>> Replaces

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

How to get lockref patch merged?

2018-04-03 Thread Andreas Gruenbacher
Hello, what's the best way to get the following lockref patch merged? The maintainers file doesn't list a maintainer. Should we go straight to Linus? Does one of you want to take it? We have a gfs2 patch that depends on it. Thanks, Andreas -- Forwarded message -- From: Andreas

RE: [PATCH v3 2/4] bus: fsl-mc: add restool userspace support

2018-04-03 Thread Razvan Stefanescu
Hello Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Monday, April 2, 2018 4:45 PM > To: Ioana Ciornei > Cc: Arnd Bergmann ; gregkh > ; Laurentiu Tudor > ; Linux

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

2018-04-03 Thread Peter Zijlstra
On Tue, Apr 03, 2018 at 12:25:56PM +0200, Thomas Gleixner wrote: > 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. > > >

[PATCH v6 RESEND 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

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

2018-04-03 Thread Sergey Suloev
On 04/03/2018 02:40 PM, Maxime Ripard wrote: On Tue, Apr 03, 2018 at 02:08:43PM +0300, Sergey Suloev wrote: 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

[GIT pull] time(r) updates for 4.17

2018-04-03 Thread Thomas Gleixner
Linus, please pull the latest timers-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-for-linus A small set of updates for timers and timekeeping: - The most interesting change is the consolidation of clock MONOTONIC and clock

Re: [PATCH v1] kernel/trace:check the val against the available mem

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 07:51:58, Steven Rostedt wrote: > On Tue, 3 Apr 2018 13:06:12 +0200 > Michal Hocko wrote: > > > > I wonder if I should have the ring buffer allocate groups of pages, to > > > avoid this. Or try to allocate with NORETRY, one page at a time, and > > > when that

Re: [PATCH v5 06/12] PCI: designware-ep: Make dw_pcie_ep_set_bar() handle 64-bit BARs properly

2018-04-03 Thread Lorenzo Pieralisi
On Mon, Apr 02, 2018 at 09:37:03PM +0200, Niklas Cassel wrote: > On Thu, Mar 29, 2018 at 03:17:11PM +0530, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Wednesday 28 March 2018 05:20 PM, Niklas Cassel wrote: > > > Since a 64-bit BAR consists of a BAR pair, we need to write to both > > > BARs

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

2018-04-03 Thread Sinan Kaya
On 4/3/2018 8:56 AM, Arnd Bergmann wrote: > On Tue, Apr 3, 2018 at 2:44 PM, Sinan Kaya wrote: >> On 4/3/2018 7:13 AM, Arnd Bergmann wrote: >>> On Tue, Apr 3, 2018 at 12:49 PM, Mark Rutland wrote: Hi, On Fri, Mar 30, 2018 at 11:58:13AM

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

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

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

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

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

[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

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

[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

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

[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(+)

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

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

2018-04-03 Thread Kirill A. Shutemov
On Tue, Apr 03, 2018 at 12:58:15PM +0200, Michal Hocko wrote: > On Tue 03-04-18 13:54:11, Kirill A. Shutemov wrote: > > 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

Re: general protection fault in __mem_cgroup_free

2018-04-03 Thread Andrey Ryabinin
On 04/03/2018 01:50 PM, Michal Hocko wrote: > 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

Re: possible deadlock in skb_queue_tail

2018-04-03 Thread Dmitry Vyukov
On Tue, Apr 3, 2018 at 11:50 AM, Kirill Tkhai wrote: > 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' >>

Re: [PATCH v3 01/14] KVM: s390: refactor crypto initialization

2018-04-03 Thread Cornelia Huck
On Thu, 29 Mar 2018 14:57:22 -0400 Tony Krowiak wrote: > On 03/26/2018 04:44 AM, Cornelia Huck wrote: > > On Thu, 15 Mar 2018 15:55:39 +0100 > > Pierre Morel wrote: > > > >> On 15/03/2018 15:48, Tony Krowiak wrote: > >>> On 03/15/2018

Re: [PATCH v3 2/6] Disable instrumentation for some code

2018-04-03 Thread Marc Zyngier
On 02/04/18 13:04, Abbott Liu wrote: > From: Andrey Ryabinin > > Disable instrumentation for arch/arm/boot/compressed/* > ,arch/arm/kvm/hyp/* and arch/arm/vdso/* because those > code won't linkd with kernel image. > > Disable kasan check in the function

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

2018-04-03 Thread Matthew Wilcox
On Tue, Apr 03, 2018 at 10:50:59AM +0200, Pavel Machek wrote: > > gcc already does some nice optimisations around free(). For example, it > > can eliminate dead stores: > > Are we comfortable with that optimalization for kernel? > > us: "Hey, let's remove those encryption keys before freeing

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

2018-04-03 Thread Frederic Weisbecker
On Mon, Apr 02, 2018 at 03:04:38PM -0700, Paul E. McKenney wrote: > Hello! > > I am hitting the following on today's mainline under rcutorture, but > only on scenarios built with CONFIG_NO_HZ_FULL=y: > > > > WARNING: CPU:

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

2018-04-03 Thread Steven Rostedt
On Tue, 3 Apr 2018 13:07:05 +0300 Dan Carpenter wrote: > 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

Re: linux-next: manual merge of the selinux tree with the security tree

2018-04-03 Thread Paul Moore
On Tue, Apr 3, 2018 at 12:43 AM, Stephen Rothwell wrote: > Hi Paul, > > Today's linux-next merge of the selinux tree got a conflict in: > > include/linux/lsm_hooks.h > > between commit: > > 22402b0b736d ("security: convert security hooks to use hlist") > > from the

Re: [PATCH] vhost-net: add limitation of sent packets for tx polling

2018-04-03 Thread Michael S. Tsirkin
On Tue, Apr 03, 2018 at 08:08:26AM +, haibinzhang(张海斌) wrote: > handle_tx will delay rx for a long time when tx busy polling udp packets > with small length(e.g. 1byte udp payload), because setting VHOST_NET_WEIGHT > takes into account only sent-bytes but no single packet length. > > Tests

[PATCH] kernel/bpf/syscall: fix warning defined but not used

2018-04-03 Thread Anders Roxell
There will be a build warning -Wunused-function if CONFIG_CGROUP_BPF isn't defined, since the only user is inside #ifdef CONFIG_CGROUP_BPF: kernel/bpf/syscall.c:1229:12: warning: ‘bpf_prog_attach_check_attach_type’ defined but not used [-Wunused-function] static int

Re: [kvmtool PATCH 20/17] kvmtool: arm64: Switch memory layout

2018-04-03 Thread Jean-Philippe Brucker
Hi Suzuki, On 27/03/18 14:15, Suzuki K Poulose wrote: > If the guest wants to use a larger physical address space place > the RAM at upper half of the address space. Otherwise, it uses the > default layout. > > Signed-off-by: Suzuki K Poulose > --- >

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

2018-04-03 Thread Peter Zijlstra
On Tue, Apr 03, 2018 at 01:39:08PM +0100, David Howells wrote: > Peter Zijlstra wrote: > > > I figured that since there were only a handful of users it wasn't a > > popular API, also David very much knew of those patches changing it so > > could easily have pulled in the

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

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

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

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 >

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

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

[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

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

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

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:

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)

Re: [PATCH v3] vsprintf: Prevent crash when dereferencing invalid pointers

2018-04-03 Thread Andy Shevchenko
On Tue, 2018-04-03 at 13:46 +0200, Petr Mladek wrote: > On Mon 2018-04-02 17:15:23, Andy Shevchenko wrote: > > On Thu, 2018-03-29 at 16:53 +0200, Petr Mladek wrote: > > > On Fri 2018-03-16 20:19:35, Andy Shevchenko wrote: > > > > On Thu, 2018-03-15 at 16:26 +0100, Petr Mladek wrote: > > > > > On

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

2018-04-03 Thread Oleksandr Andrushchenko
On 04/03/2018 02:23 PM, Oleksandr Andrushchenko wrote: Resending with even more checkpatch code-style fixes. Applied, thank you!

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

2018-04-03 Thread kbuild test robot
a note to help improve the system] url: https://github.com/0day-ci/linux/commits/sean-wang-mediatek-com/add-support-for-Bluetooth-on-MT7622-SoC/20180403-160035 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse

[RFC PATCH] Bluetooth: hci_mediatek: mtk_recv_frame() can be static

2018-04-03 Thread kbuild test robot
Fixes: 9f2aacacb185 ("Bluetooth: hci_mediatek: Add protocol support for MediaTek serial devices") Signed-off-by: Fengguang Wu --- hci_mediatek.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_mediatek.c

[PATCH 0/5] MIPS: perf: MT fixes and improvements

2018-04-03 Thread Matt Redfearn
This series addresses a few issues with how the MIPS performance counters code supports the hardware multithreading MT ASE. Firstly, implementations of the MT ASE may implement performance counters per core or per thread(TC). MIPS Techologies & BMIPS5000 implementations signal this via a bit in

[PATCH 5/5] MIPS: perf: Fold vpe_id() macro into it's one last usage

2018-04-03 Thread Matt Redfearn
The vpe_id() macro is now used only in mipsxx_pmu_enable_event when CONFIG_CPU_BMIPS5000 is defined. Fold the one used definition of the macro into it's usage and remove the now unused definitions. Signed-off-by: Matt Redfearn --- arch/mips/kernel/perf_event_mipsxx.c |

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

2018-04-03 Thread David Howells
Stephen Rothwell wrote: > + wait_var_event(>nr_calls, !atomic_read(>nr_calls)); I would prefer == 0 to ! as it's not really a true/false value. But apart from that, it's looks okay and you can add my Reviewed-by. David

[PATCH 3/6] dt-bindings: timer: tpm: fix typo of clock name

2018-04-03 Thread Daniel Lezcano
From: Anson Huang The clock name should be ipg instead of igp. Signed-off-by: Anson Huang Reviewed-by: Rob Herring Signed-off-by: Daniel Lezcano ---

[PATCH 4/6] clocksource/drivers/imx-tpm: Fix typo of clock name

2018-04-03 Thread Daniel Lezcano
From: Anson Huang The clock name should be ipg instead of igp. Signed-off-by: Anson Huang Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-imx-tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

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

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

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

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

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

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

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

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

2018-04-03 Thread Arnd Bergmann
On Tue, Apr 3, 2018 at 12:49 PM, Mark Rutland wrote: > 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

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

2018-04-03 Thread kbuild test robot
Hi Mylène, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm-soc/for-next] [also build test ERROR on next-20180403] [cannot apply to v4.16] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH v3 09/14] s390: vfio-ap: sysfs interfaces to configure domains

2018-04-03 Thread Cornelia Huck
On Wed, 14 Mar 2018 14:25:49 -0400 Tony Krowiak wrote: > Provides the sysfs interfaces for assigning AP domains to > and unassigning AP domains from a mediated matrix device. > > An AP domain ID corresponds to an AP queue index (APQI). For > each domain assigned to

[GIT PULL] EDAC tree for 4.17

2018-04-03 Thread Borislav Petkov
Hi Linus, here's this round of EDAC updates. Noteworthy is the NVDIMM support by Tony Luck. Please pull, thanks! --- The following changes since commit bf8486709ac7fad99e4040dea73fe466c57a4ae1: EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL (2018-02-23 12:05:37

Re: [PATCH] sched: support dynamiQ cluster

2018-04-03 Thread Vincent Guittot
Hi Valentin, On 3 April 2018 at 00:27, Valentin Schneider wrote: > Hi, > > On 30/03/18 13:34, Vincent Guittot wrote: >> Hi Morten, >> > [..] >>> >>> As I see it, the main differences is that ASYM_PACKING attempts to pack >>> all tasks regardless of task utilization on

Re: [PATCH 1/1] lz4: Implement lz4 with dynamic offset length.

2018-04-03 Thread Sergey Senozhatsky
On (04/02/18 11:21), Maninder Singh wrote: [..] > >> static const char * const backends[] = { > >> "lzo", > >> #if IS_ENABLED(CONFIG_CRYPTO_LZ4) > >> "lz4", > >> +#if (PAGE_SIZE < (32 * KB)) > >> +"lz4_dyn", > >> +#endif > > > >This is not the list of supported

Re: [PATCH v1] kernel/trace:check the val against the available mem

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 08:23:48, Steven Rostedt wrote: > On Tue, 3 Apr 2018 14:16:14 +0200 > Michal Hocko wrote: > > > > This came up because there's scripts or programs that set the size of > > > the ring buffer. The complaint was that the application would just set > > > the size

[PATCH 3/5] MIPS: perf: Fix perf with MT counting other threads

2018-04-03 Thread Matt Redfearn
When perf is used in non-system mode, i.e. without specifying CPUs to count on, check_and_calc_range falls into the case when it sets M_TC_EN_ALL in the counter config_base. This has the impact of always counting for all of the threads in a core, even when the user has not requested it. For

[PATCH 4/5] MIPS: perf: Allocate per-core counters on demand

2018-04-03 Thread Matt Redfearn
Previously when performance counters are per-core, rather than per-thread, the number available were divided by 2 on detection, and the counters used by each thread in a core were "swizzled" to ensure separation. However, this solution is suboptimal since it relies on a couple of assumptions: a)

  1   2   3   4   5   6   7   8   9   10   >