Re: [GIT PULL tools] Linux kernel memory model

2018-02-04 Thread Paul E. McKenney
On Sun, Feb 04, 2018 at 01:16:01AM -0800, Paul E. McKenney wrote: > On Sat, Feb 03, 2018 at 05:10:06PM -0500, Alan Stern wrote: > > On Sat, 3 Feb 2018, Paul E. McKenney wrote: > > > > > Please see below for an initial patch to this effect. This activity > > > proved to be more productive than

[RFC 1/3] seccomp: add a return code to trap to userspace

2018-02-04 Thread Tycho Andersen
This patch introduces a means for syscalls matched in seccomp to notify some other task that a particular filter has been triggered. The motivation for this is primarily for use with containers. For example, if a container does an init_module(), we obviously don't want to load this untrusted

[RFC 3/3] seccomp: add a way to get a listener fd from ptrace

2018-02-04 Thread Tycho Andersen
As an alternative to SECCOMP_FILTER_FLAG_GET_LISTENER, perhaps a ptrace() version which can acquire filters is useful. There are at least two reasons this is preferable, even though it uses ptrace: 1. You can control tasks that aren't cooperating with you 2. You can control tasks whose filters

[RFC 2/3] seccomp: hoist out filter resolving logic

2018-02-04 Thread Tycho Andersen
Hoist out the nth filter resolving logic that ptrace uses into a new function. We'll use this in the next patch to implement the new PTRACE_SECCOMP_GET_FILTER_FLAGS command. This is based on an older patch that I had sent a while ago; it significantly revamps the get_nth_filter logic based on

[RFC 0/3] seccomp trap to userspace

2018-02-04 Thread Tycho Andersen
Several months ago at Linux Plumber's, we had a discussion about adding a feature to seccomp which would allow seccomp to trigger a notification for some other process. Here's a draft of that feature. Patch 1 contains the bulk of it, patches 2 & 3 offer an alternative way to acquire the fd that

Re: [PATCH net 1/1 v1] rtnetlink: require unique netns identifier

2018-02-04 Thread Christian Brauner
On Sat, Feb 03, 2018 at 11:17:01AM -0800, Stephen Hemminger wrote: > On Sat, 3 Feb 2018 14:29:04 +0100 > Christian Brauner wrote: > > > +static int rtnl_ensure_unique_netns_attr(const struct sock *sk, > > +struct nlattr *tb[], >

Re: [PATCH net 1/1 v1] rtnetlink: require unique netns identifier

2018-02-04 Thread Christian Brauner
On Sat, Feb 03, 2018 at 07:09:55PM -0700, David Ahern wrote: > On 2/3/18 12:17 PM, Stephen Hemminger wrote: > > On Sat, 3 Feb 2018 14:29:04 +0100 > > Christian Brauner wrote: > > > >> +static int rtnl_ensure_unique_netns_attr(const struct sock *sk, > >> +

Re: [PATCH v4 01/10] ufs: sysfs: attribute group for existing sysfs entries.

2018-02-04 Thread Greg KH
On Sun, Feb 04, 2018 at 12:29:06PM +, Stanislav Nijnikov wrote: > > > + curr_len += snprintf((buf + curr_len), (PAGE_SIZE - curr_len), > > > + "\nAll available Runtime PM levels info:\n"); > > > + for (lvl = UFS_PM_LVL_0; lvl < UFS_PM_LVL_MAX; lvl++) > > > +

Re: [PATCH 1/3] x86/entry: Clear extra registers beyond syscall arguments for 64bit kernels

2018-02-04 Thread Brian Gerst
On Sat, Feb 3, 2018 at 6:21 PM, Dan Williams wrote: > At entry userspace may have populated the extra registers outside the > syscall calling convention with values that could be useful in a > speculative execution attack. Clear them to minimize the kernel's attack >

Re: [PATCH 5/5] lightnvm: pblk: refactor bad block identification

2018-02-04 Thread Javier Gonzalez
> On 4 Feb 2018, at 13.55, Matias Bjørling wrote: > > On 02/04/2018 11:37 AM, Javier Gonzalez wrote: >>> On 31 Jan 2018, at 19.24, Matias Bjørling wrote: >>> >>> On 01/31/2018 10:13 AM, Javier Gonzalez wrote: > On 31 Jan 2018, at 16.51, Matias Bjørling

Re: bisected bd4c82c22c367e is the first bad commit (was [Bug 198617] New: zswap causing random applications to crash)

2018-02-04 Thread huang ying
Hi, Sergey, Thanks for reporting! On Sat, Feb 3, 2018 at 9:34 AM, Sergey Senozhatsky wrote: > Hello, > > On (01/30/18 11:48), Andrew Morton wrote: >> Subject: [Bug 198617] New: zswap causing random applications to crash >> >>

Re: [kernel-hardening] [PATCH 4/6] Protectable Memory

2018-02-04 Thread Igor Stoppa
On 04/02/18 00:29, Boris Lukashev wrote: > On Sat, Feb 3, 2018 at 3:32 PM, Igor Stoppa wrote: [...] >> What you are suggesting, if I have understood it correctly, is that, >> when the pool is protected, the addresses already given out, will become >> traps that get

Re: [PATCH v1 2/8] parport: PCI core handles power state for us

2018-02-04 Thread Nikola Ciprich
Tested-by: Nikola Ciprich pgpapl4GyA_W7.pgp Description: PGP signature

Re: [PATCH v1 3/8] parport: Convert to use managed functions pcim_* and devm_*

2018-02-04 Thread Nikola Ciprich
Tested-by: Nikola Ciprich pgpneyQshdJVy.pgp Description: PGP signature

Re: [PATCH v1 4/8] parport: Don't shadow error codes in ->probe()

2018-02-04 Thread Nikola Ciprich
Tested-by: Nikola Ciprich pgptPNZbPLjlp.pgp Description: PGP signature

Re: [PATCH v1 6/8] parport: Switch to use module_pci_driver() macro

2018-02-04 Thread Nikola Ciprich
Tested-by: Nikola Ciprich pgpU7PAAzxfNY.pgp Description: PGP signature

Re: [PATCH v1 8/8] parport: Replace short License header by SPDX identifier

2018-02-04 Thread Nikola Ciprich
Tested-by: Nikola Ciprich pgpR9pr58ucqL.pgp Description: PGP signature

Re: [PATCH v1 7/8] parport: Sort headers alphabetically

2018-02-04 Thread Nikola Ciprich
Tested-by: Nikola Ciprich pgpqGJCp13_B6.pgp Description: PGP signature

Re: [PATCH v1 5/8] parport: Convert printk(KERN_WARN) to dev_warn()

2018-02-04 Thread Nikola Ciprich
Tested-by: Nikola Ciprich pgpCiMi68K0w5.pgp Description: PGP signature

Re: [PATCH 2/2] MAINTAINERS: list file memory-barriers.txt within the LKMM entry

2018-02-04 Thread Paul E. McKenney
On Sat, Feb 03, 2018 at 02:08:00AM +0100, Andrea Parri wrote: > On Fri, Feb 02, 2018 at 03:51:02PM -0800, Paul E. McKenney wrote: > > On Fri, Feb 02, 2018 at 10:13:42AM +0100, Andrea Parri wrote: > > > Now that a formal specification of the LKMM has become available to > > > the developer, some

Re: Linux 4.15.1

2018-02-04 Thread Greg KH
diff --git a/Makefile b/Makefile index c8b8e902d5a4..af101b556ba0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 15 -SUBLEVEL = 0 +SUBLEVEL = 1 EXTRAVERSION = NAME = Fearless Coyote diff --git

RE: [PATCH v4 01/10] ufs: sysfs: attribute group for existing sysfs entries.

2018-02-04 Thread Stanislav Nijnikov
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, February 1, 2018 6:59 PM > To: Stanislav Nijnikov > Cc: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; > jaeg...@kernel.org; Alex Lemberg

Re: [PATCH v4 01/10] ufs: sysfs: attribute group for existing sysfs entries.

2018-02-04 Thread Greg KH
On Sun, Feb 04, 2018 at 01:09:09PM +, Stanislav Nijnikov wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Sunday, February 4, 2018 2:34 PM > > To: Stanislav Nijnikov > > Cc: linux-s...@vger.kernel.org;

Re: [PATCH v1 1/3] ACPI / x86: boot: Not all platforms require acpi_reduced_hw_init()

2018-02-04 Thread Andy Shevchenko
On Sun, 2018-02-04 at 09:54 +0100, Rafael J. Wysocki wrote: > OTOH, I guess you'll go for the new init callbacks rather. Yep, just ignore these two for now. I will remake it later. -- Andy Shevchenko Intel Finland Oy

Re: [PATCH v7 0/5] Add Intel IOMMU debugfs support

2018-02-04 Thread Andy Shevchenko
On Fri, 2018-02-02 at 16:49 -0800, Sohil Mehta wrote: > Hi All, > > This series aims to add debugfs support for Intel IOMMU. It exposes > IOMMU > registers, internal context and dumps individual table entries to help > debug > Intel IOMMUs. > > The first patch does the ground work for the

Re: [PATCH 00/18] [ANNOUNCE] Dynamically created function based events

2018-02-04 Thread Mathieu Desnoyers
- On Feb 3, 2018, at 4:43 PM, Linus Torvalds torva...@linux-foundation.org wrote: > On Sat, Feb 3, 2018 at 9:04 AM, Mathieu Desnoyers > wrote: >> >> The approach proposed here will introduce an expectation that internal >> function signatures never change in

Re: [PATCH v3 14/21] fpga: dfl: add fpga manager platform driver for FME

2018-02-04 Thread Wu Hao
On Fri, Feb 02, 2018 at 04:26:26PM -0800, Luebbers, Enno wrote: > Hi Hao, Alan, > > On Fri, Feb 02, 2018 at 05:42:13PM +0800, Wu Hao wrote: > > On Thu, Feb 01, 2018 at 04:00:36PM -0600, Alan Tull wrote: > > > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > > > > > Hi Hao,

Re: [PATCH] iio/orientation: Delete an error message for a failed memory allocation in two functions

2018-02-04 Thread Jonathan Cameron
On Mon, 29 Jan 2018 22:26:15 +0100 SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 29 Jan 2018 22:20:07 +0100 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by

Re: [PATCH] staging: lustre: llite: replace variable length array

2018-02-04 Thread Sven Dziadek
On 01/30/2018 03:04 AM, Dilger, Andreas wrote: > On Jan 27, 2018, at 14:42, Sven Dziadek wrote: >> >> The functionality of the removed variable length array is already >> implemented by the function xattr_full_name in fs/xattr.c >> >> This fixes the sparse warning: >>

Re: [PATCH] hid-sensor-accel-3d: Delete an error message for a failed memory allocation in hid_accel_3d_probe()

2018-02-04 Thread Jonathan Cameron
On Wed, 31 Jan 2018 22:26:14 +0100 SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 31 Jan 2018 22:20:56 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-02-04 Thread Greg KH
On Sun, Feb 04, 2018 at 10:05:31AM +0100, Pavel Machek wrote: > On Sun 2018-02-04 00:30:36, Sasha Levin wrote: > > On Sat, Feb 03, 2018 at 09:35:26PM +0100, Pavel Machek wrote: > > >On Sat 2018-02-03 18:00:59, Sasha Levin wrote: > > >> From: Matthieu CASTET > > >> > >

Re: [PATCH v3 08/18] arm/arm64: KVM: Add PSCI version selection API

2018-02-04 Thread Christoffer Dall
On Sat, Feb 03, 2018 at 11:59:32AM +, Marc Zyngier wrote: > On Fri, 2 Feb 2018 21:17:06 +0100 > Andrew Jones wrote: > > > On Thu, Feb 01, 2018 at 11:46:47AM +, Marc Zyngier wrote: > > > Although we've implemented PSCI 1.0 and 1.1, nothing can select them > > > Since

Re: [PATCH v3 08/18] arm/arm64: KVM: Add PSCI version selection API

2018-02-04 Thread Christoffer Dall
Hi Marc, [ I know we're discussing the overall approach in parallel, but here are some comments on the specifics of this patch, should it end up being used in some capacity ] On Thu, Feb 01, 2018 at 11:46:47AM +, Marc Zyngier wrote: > Although we've implemented PSCI 1.0 and 1.1, nothing

Re: [PATCH] Add delay-init quirk for Corsair K70 RGB keyboards

2018-02-04 Thread Kai Heng Feng
> On 2 Feb 2018, at 11:51 PM, JackStocker wrote: > > From: Jack Stocker > > Following on from this patch: https://lkml.org/lkml/2017/11/3/516, > Corsair K70 RGB keyboards also require the DELAY_INIT quirk to > start correctly at boot. > >

Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled

2018-02-04 Thread okaya
On 2018-02-04 04:03, Rafael J. Wysocki wrote: On Thu, Feb 1, 2018 at 8:32 AM, Rafael J. Wysocki wrote: On Mon, Jan 29, 2018 at 8:01 PM, Sinan Kaya wrote: Rafael, On 1/16/2018 4:49 PM, Bjorn Helgaas wrote: On Tue, Jan 16, 2018 at 01:53:00PM -0500,

Cirque/ALPS touchpad documentation

2018-02-04 Thread Pali Rohár
Hi! Now I find on cirque website that there is some documentation for GlidePoint/ALPS touchpads/trackpads. The most interesting part is "GP-AN- 130823 INTERFACING TO GEN4 OVER I2C (PDF)" on website: http://www.cirque.com/gen4-dev-resources There is basic I2C and HID protocol information with

Re: [PATCH v2] platform/x86: dell-laptop: Allocate buffer on heap rather than globally

2018-02-04 Thread Andy Shevchenko
On Sun, Feb 4, 2018 at 2:09 PM, Pali Rohár wrote: > On Wednesday 31 January 2018 11:47:35 Mario Limonciello wrote: >> There is no longer a need for the buffer to be defined in >> first 4GB physical address space. >> >> Furthermore there may be race conditions with multiple

[GIT pull] x86 updates for 4.16

2018-02-04 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A small set of changes: - A fixup for kexec related to 5-level paging mode. That covers most of the cases except kexec from a 5-level

Re: [PATCH] xen: hypercall: fix out-of-bounds memcpy

2018-02-04 Thread Arnd Bergmann
On Sat, Feb 3, 2018 at 6:08 PM, Boris Ostrovsky wrote: > > > On 02/03/2018 10:12 AM, Arnd Bergmann wrote: >> >> On Sat, Feb 3, 2018 at 12:33 AM, Boris Ostrovsky >> wrote: >>> >>> On 02/02/2018 10:32 AM, Arnd Bergmann wrote: The

[PATCH] Fix a typo in Documentation/sysctl/user.txt

2018-02-04 Thread Kangmin Park
A trivial patch to fix a typo in Documentation/sysctl/user.txt Fix 'documetation' to 'documentation' Signed-off-by: Kangmin Park Cc: Jiri Kosina Cc: Andrew Morton diff --git a/Documentation/sysctl/user.txt

Re: Compilation error report for: drivers/firmware/qcom_scm.c:469:47: error: passing argument 3 of ?dma_alloc_coherent? from incompatible pointer type

2018-02-04 Thread Benjamin Gaignard
2018-02-03 0:29 GMT+01:00 Bjorn Andersson : > On Tue 30 Jan 05:25 PST 2018, Arnd Bergmann wrote: > >> On Tue, Jan 30, 2018 at 11:11 AM, Benjamin GAIGNARD >> wrote: >> > >> > On 01/12/2018 05:11 PM, Arnaud Pouliquen wrote: >> >> Hello

Re: [PATCH v13 1/3] lib: Add strongly typed 64bit int_sqrt

2018-02-04 Thread Jonathan Cameron
On Thu, 11 Jan 2018 11:19:57 +0100 Crt Mori wrote: > There is no option to perform 64bit integer sqrt on 32bit platform. > Added stronger typed int_sqrt64 enables the 64bit calculations to > be performed on 32bit platforms. Using same algorithm as int_sqrt() > with strong

Linux 4.4.115

2018-02-04 Thread Greg KH
I'm announcing the release of the 4.4.115 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v2] platform/x86: dell-laptop: Allocate buffer on heap rather than globally

2018-02-04 Thread Pali Rohár
On Wednesday 31 January 2018 11:47:35 Mario Limonciello wrote: > There is no longer a need for the buffer to be defined in > first 4GB physical address space. > > Furthermore there may be race conditions with multiple different functions > working on a module wide buffer causing incorrect

[PATCH v26 2/2] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-02-04 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

[PATCH v26 1/2] mm: support reporting free page blocks

2018-02-04 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

[PATCH v26 0/2] Virtio-balloon: support free page reporting

2018-02-04 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

RE: [PATCH v4 01/10] ufs: sysfs: attribute group for existing sysfs entries.

2018-02-04 Thread Stanislav Nijnikov
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Sunday, February 4, 2018 2:34 PM > To: Stanislav Nijnikov > Cc: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; > jaeg...@kernel.org; Alex Lemberg

Re: [PATCH v2] Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().

2018-02-04 Thread Peter Malone
Hi folks, CVE-2018-6412 has been created for this. Is it possible for you to add a note indicating the CVE number when merging the patch? I received the CVE number after the patch was created and ack'd, which is why I didn't include it in the commit message. On Wed, Jan 31, 2018 at 10:49 AM,

Re: [PATCH v2 1/2] ASoC: codecs: Add support for AK5558 ADC driver

2018-02-04 Thread Andy Shevchenko
On Sat, Feb 3, 2018 at 1:11 AM, Mark Brown wrote: > On Fri, Feb 02, 2018 at 09:33:18PM +0200, Andy Shevchenko wrote: >> On Fri, Feb 2, 2018 at 6:20 PM, Daniel Baluta wrote: > >> > +static int ak5558_set_dai_mute(struct snd_soc_dai *dai, int mute) >> >

Re: [PATCH 00/18] [ANNOUNCE] Dynamically created function based events

2018-02-04 Thread Steven Rostedt
On Sun, 4 Feb 2018 15:30:04 + (UTC) Mathieu Desnoyers wrote: > This should therefore leave a door open to adding new tracepoints: cases > where the data gathered is shown to be useful enough for tools targeting > an audience wider than just kernel developers.

[PATCH v2] Add delay-init quirk for Corsair K70 RGB keyboards

2018-02-04 Thread JackStocker
Do you mean like this? Signed-off-by: JackStocker --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index a6aaf2f..0405d68 100644 --- a/drivers/usb/core/quirks.c +++

[PATCH] tracing: Fix incorrect file name

2018-02-04 Thread Xiongwei Song
There is no file named 'enabled' in the directory tracing/events. It should be the file 'enable'. Signed-off-by: Xiongwei Song --- Documentation/trace/events.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/trace/events.txt

Re: [PATCH] iio/pressure: Delete an error message for a failed memory allocation in hid_press_probe()

2018-02-04 Thread Jonathan Cameron
On Mon, 29 Jan 2018 22:04:11 +0100 SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 29 Jan 2018 21:55:08 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by

Linux 4.15.1

2018-02-04 Thread Greg KH
I'm announcing the release of the 4.15.1 kernel. All users of the 4.15 kernel series must upgrade. The updated 4.15.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.15.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v4 02/10] ufs: sysfs: device descriptor

2018-02-04 Thread gre...@linuxfoundation.org
On Sun, Feb 04, 2018 at 09:03:25AM +, Stanislav Nijnikov wrote: > > -Original Message- > > From: Bart Van Assche > > Sent: Friday, February 2, 2018 6:32 PM > > To: gre...@linuxfoundation.org > > Cc: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; > > jaeg...@kernel.org; Alex

Re: [PATCH 4.14 103/156] scripts/faddr2line: extend usage on generic arch

2018-02-04 Thread Greg Kroah-Hartman
On Sun, Feb 04, 2018 at 02:46:58PM +0800, Liu, Changcheng wrote: > Hi Greg Kroah-Hartman, > Below commit is needed to resolve issue in this patch: > Upstream commit 4cc90b4cc3d4955f79eae4f7f9d64e67e17b468e Many thanks for letting me know, I'll go queue that up. greg k-h

Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15

2018-02-04 Thread Pali Rohár
On Sunday 04 February 2018 12:23:33 Alexander Sergeyev wrote: > Mario, > > > Would you please try https://patchwork.kernel.org/patch/10194287/ > > And see if it cleans up this null pointer dereference? > > Yes, it does. So problem which I spotted is not only theoretical, but already affects

Re: [PATCH 5/5] lightnvm: pblk: refactor bad block identification

2018-02-04 Thread Matias Bjørling
On 02/04/2018 11:37 AM, Javier Gonzalez wrote: On 31 Jan 2018, at 19.24, Matias Bjørling wrote: On 01/31/2018 10:13 AM, Javier Gonzalez wrote: On 31 Jan 2018, at 16.51, Matias Bjørling wrote: I have a patches abstracting this, which I think it makes it

Re: [PATCH 1/2] f2fs: enable to gc page whose inode already atomic commit

2018-02-04 Thread Chao Yu
On 2018/2/3 10:47, Yunlong Song wrote: > If inode has already started to atomic commit, then set_page_dirty will > not mix the gc pages with the inmem atomic pages, so the page can be > gced safely. Let's avoid Ccing fs mailing list if the patch didn't change vfs common codes. As you know, the

[GIT pull] irq updates for 4.16

2018-02-04 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus Two small changes: - A fix for a interrupt regression caused by the vector management changes in 4.15 affecting museum pieces which rely on

[PATCH] Fix a misspelling in kernel/cpu.c

2018-02-04 Thread Kangmin Park
A trivial patch to fix a typo in kernel/cpu.c Fix 'synchronsization' to 'synchronization' Signed-off-by: Kangmin Park Cc: Jiri Kosina Cc: linux-kernel@vger.kernel.org diff --git a/kernel/cpu.c b/kernel/cpu.c index 53f7dc6..9a1ee53 100644 ---

[GIT PULL] Mailbox changes for v4.16

2018-02-04 Thread Jassi Brar
Hi Linus, The following changes since commit ef7f8cec80a0ba7bd00ece46844c8994117dc910: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-08 20:21:39 -0800) are available in the git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration.git

Re: [PATCH 00/18] [ANNOUNCE] Dynamically created function based events

2018-02-04 Thread Mathieu Desnoyers
- On Feb 3, 2018, at 4:08 PM, rostedt rost...@goodmis.org wrote: > On Sat, 3 Feb 2018 12:52:08 -0800 > Alexei Starovoitov wrote: > >> On Sat, Feb 03, 2018 at 02:02:17PM -0500, Steven Rostedt wrote: >> > >> > From those that were asking about having "trace

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-02-04 Thread Sasha Levin
On Sun, Feb 04, 2018 at 10:05:31AM +0100, Pavel Machek wrote: >On Sun 2018-02-04 00:30:36, Sasha Levin wrote: >> On Sat, Feb 03, 2018 at 09:35:26PM +0100, Pavel Machek wrote: >> >On Sat 2018-02-03 18:00:59, Sasha Levin wrote: >> >> From: Matthieu CASTET >> >> >> >> [

[GIT PULL] NTB bug fixes for v4.16

2018-02-04 Thread Jon Mason
Hello Linus, Here are a few NTB bug fixes, removal of a driver, and updated to the NTB tools to take advants of the multiport interface. They've been in linux-next for a little while. Please consider pulling them for 4.16. Thanks, Jon The following changes since commit

Re: [PATCH v3 14/21] fpga: dfl: add fpga manager platform driver for FME

2018-02-04 Thread Wu Hao
On Sat, Feb 03, 2018 at 11:41:24AM +0100, Moritz Fischer wrote: > Hi Hao, > > On Fri, Feb 02, 2018 at 04:26:26PM -0800, Luebbers, Enno wrote: > > Hi Hao, Alan, > > > > On Fri, Feb 02, 2018 at 05:42:13PM +0800, Wu Hao wrote: > > > On Thu, Feb 01, 2018 at 04:00:36PM -0600, Alan Tull wrote: > > > >

Re: [PATCH 5/5] lightnvm: pblk: refactor bad block identification

2018-02-04 Thread Javier Gonzalez
> On 31 Jan 2018, at 19.24, Matias Bjørling wrote: > > On 01/31/2018 10:13 AM, Javier Gonzalez wrote: >>> On 31 Jan 2018, at 16.51, Matias Bjørling wrote: >>> >> I have a patches abstracting this, which I think it makes it cleaner. I can >> push it next

Re: possible deadlock in rtnl_lock (2)

2018-02-04 Thread Dmitry Vyukov
On Sat, Feb 3, 2018 at 12:25 PM, Xin Long wrote: > On Thu, Feb 1, 2018 at 7:58 PM, syzbot > wrote: >> Hello, >> >> syzbot hit the following crash on upstream commit >> 255442c93843f52b6891b21d0b485bf2c97f93c3 (Thu Feb 1

Re: Linux 4.9.80

2018-02-04 Thread Greg KH
diff --git a/Makefile b/Makefile index 4a7e6dff1c2e..9550b6939076 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 79 +SUBLEVEL = 80 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi

Re: Linux 4.4.115

2018-02-04 Thread Greg KH
diff --git a/Makefile b/Makefile index 153440b1bbb0..9c60120dd9fd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 114 +SUBLEVEL = 115 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index

Linux 4.14.17

2018-02-04 Thread Greg KH
I'm announcing the release of the 4.14.17 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Linux 4.9.80

2018-02-04 Thread Greg KH
I'm announcing the release of the 4.9.80 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v4] Staging: iio: ade7758: Expand buf_lock to cover both buffer and state protection

2018-02-04 Thread Jonathan Cameron
On Sat, 3 Feb 2018 21:01:32 +0530 Shreeya Patel wrote: > iio_dev->mlock is to be used only by the IIO core for protecting > device mode changes between INDIO_DIRECT and INDIO_BUFFER. > > This patch replaces the use of mlock with the already established > buf_lock

Re: scsi: sg: assorted memory corruptions

2018-02-04 Thread Dmitry Vyukov
On Sun, Feb 4, 2018 at 10:07 AM, Eric Biggers wrote: > On Thu, Feb 01, 2018 at 05:21:12PM +0100, 'Dmitry Vyukov' via syzkaller wrote: >> On Thu, Feb 1, 2018 at 5:17 PM, Ben Hutchings >> wrote: >> > On Thu, 2018-02-01 at 08:04 +0100, Dmitry

Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15

2018-02-04 Thread Andy Shevchenko
On Sun, Feb 4, 2018 at 2:15 PM, Pali Rohár wrote: > On Sunday 04 February 2018 12:23:33 Alexander Sergeyev wrote: >> Is there any estimates on when the patch will be merged into mainline? I >> want to put something into my distribution bug tracker, but it's unlikely >> they

Re: [PATCH v2 1/2] ASoC: codecs: Add support for AK5558 ADC driver

2018-02-04 Thread Daniel Baluta
On Sun, Feb 4, 2018 at 4:31 PM, Andy Shevchenko wrote: > On Sat, Feb 3, 2018 at 1:11 AM, Mark Brown wrote: >> On Fri, Feb 02, 2018 at 09:33:18PM +0200, Andy Shevchenko wrote: >>> On Fri, Feb 2, 2018 at 6:20 PM, Daniel Baluta

ALPS Trackpoint & pressure

2018-02-04 Thread Pali Rohár
Hi! Now playing again with trackpoint connected to ALPS rushmore touchpad and I'm seeking a nice feature. Via ALPS PS/2 protocol it reports pressure of trackpoint. Parser for it is already implemented in alps.c and value is assigned to variable "z". When I just move trackpoint z is zero, when I

[GIT pull] More melted spectrum mitigations for 4.16

2018-02-04 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus The next round of updates related to melted spectrum: - The initial set of spectre V1 mitigations: - Array index speculation blocker and its

Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15

2018-02-04 Thread Alexander Sergeyev
To make dell_micmute_led_set() work properly we need to ensure that either WMI or SMM driver is already loaded and initialized. From the looks of the call trace dell_micmute_led_set() is called from device phase of initialization. Which means that there is a use of dell-laptop interface while

[PATCH 5/6] Pmalloc: self-test

2018-02-04 Thread Igor Stoppa
Add basic self-test functionality for pmalloc. Signed-off-by: Igor Stoppa --- mm/Kconfig| 9 mm/Makefile | 1 + mm/pmalloc-selftest.c | 61 +++ mm/pmalloc-selftest.h | 26

[PATCH 6/6] Documentation for Pmalloc

2018-02-04 Thread Igor Stoppa
Detailed documentation about the protectable memory allocator. Signed-off-by: Igor Stoppa --- Documentation/core-api/index.rst | 1 + Documentation/core-api/pmalloc.rst | 114 + 2 files changed, 115 insertions(+) create mode

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-02-04 Thread Pavel Machek
> > > >> *** if brightness=0, led off > > > >> *** else apply brightness if next timer <--- timer is stop, and will > > > >> never apply new setting > > > >> ** otherwise set led_set_brightness_nosleep > > > >> > > > >> To fix that, when we delete the timer, we should clear LED_BLINK_SW. > > > >

Re: [PATCH 00/18] [ANNOUNCE] Dynamically created function based events

2018-02-04 Thread Alexei Starovoitov
On Sun, Feb 04, 2018 at 12:57:47PM +0900, Masami Hiramatsu wrote: > > > I based some of the code from kprobes too. But I wanted this to be > > simpler, and as such, not as powerful as kprobes. More of a "poor mans" > > kprobe ;-) Where you are limited to functions and their arguments. If > > you

Re: [PATCH net 1/1 v1] rtnetlink: require unique netns identifier

2018-02-04 Thread David Ahern
On 2/4/18 5:11 AM, Christian Brauner wrote: > On Sat, Feb 03, 2018 at 11:17:01AM -0800, Stephen Hemminger wrote: >> On Sat, 3 Feb 2018 14:29:04 +0100 >> Christian Brauner wrote: >> >>> +static int rtnl_ensure_unique_netns_attr(const struct sock *sk, >>> +

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-02-04 Thread Pavel Machek
On Sun 2018-02-04 15:49:06, Sasha Levin wrote: > On Sun, Feb 04, 2018 at 10:05:31AM +0100, Pavel Machek wrote: > >On Sun 2018-02-04 00:30:36, Sasha Levin wrote: > >> On Sat, Feb 03, 2018 at 09:35:26PM +0100, Pavel Machek wrote: > >> >On Sat 2018-02-03 18:00:59, Sasha Levin wrote: > >> >> From:

Re: [PATCH 1/3] x86/entry: Clear extra registers beyond syscall arguments for 64bit kernels

2018-02-04 Thread Dan Williams
On Sun, Feb 4, 2018 at 5:01 AM, Brian Gerst wrote: > On Sat, Feb 3, 2018 at 6:21 PM, Dan Williams wrote: >> At entry userspace may have populated the extra registers outside the >> syscall calling convention with values that could be useful in a >>

[PATCH v3 6/7] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual OpenFrame Cap 7 initial support

2018-02-04 Thread Jagan Teki
i.CoreM6 Quad/Dual OpenFrame modules are "system on modules plus openframe display carriers" which are good solution for develop user friendly graphic user interface. ofcap 7 general features: CPU NXP Freescale i.MX6Q rev1.5 at 792 MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND

[PATCH v3 5/7] ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple

2018-02-04 Thread Jagan Teki
Switch to use koe_tx31d200vm0baa LVDS timings from panel-simple instead hard coding the same in dts. Signed-off-by: Jagan Teki --- Changes for v3, v2: - none arch/arm/boot/dts/imx6q-icore-ofcap12.dts | 31 +-- 1 file changed, 17

[PATCH v3 3/7] ARM: dts: imx6dl-icore: Add LVDS node

2018-02-04 Thread Jagan Teki
Add ampire,am-800480aytzqw-00h LVDS support by using timings from panel-simple. Signed-off-by: Jagan Teki --- Changes for v3, v2: - none arch/arm/boot/dts/imx6dl-icore.dts | 28 1 file changed, 28 insertions(+) diff --git

[PATCH v3 7/7] ARM: dts: imx6q: Add Engicam i.CoreM6 1.5 Quad/Dual MIPI starter kit support

2018-02-04 Thread Jagan Teki
i.CoreM6 1.5 is an another i.CoreM6 QDL cpu modules which can be connected to EDIMM starter kit design with eMMC and MIPI-CSI interfaces suitable for Android and video capture application. notable features: CPU NXP i.MX6 S/DL/D/Q, Up to 4 x Cortex-A9@800MHz Memory

[PATCH v3 0/7] ARM: dts: imx6q: engicam LVDS panel changes

2018-02-04 Thread Jagan Teki
Series adda LVDS panel attributes on panel drivers instead of defining them in dts nodes, and also added new icorem6 engicam boards. Jagan Teki (7): drm/panel: simple: add support for Ampire AM-800480AYTZQW-00H ARM: dts: imx6q-icore: Switch LVDS timings from panel-simple ARM: dts:

[PATCH v3 2/7] ARM: dts: imx6q-icore: Switch LVDS timings from panel-simple

2018-02-04 Thread Jagan Teki
Switch to use ampire,am-800480aytzqw-00h LVDS timings from panel-simple instead hard coding the same in dts. Signed-off-by: Jagan Teki --- Changes for v3, v2: - none arch/arm/boot/dts/imx6q-icore.dts| 31 +--

[PATCH v3 4/7] drm/panel: simple: Add support for KEO TX31D200VM0BAA

2018-02-04 Thread Jagan Teki
This adds support for the Kaohsiung Opto-Electronics., TX31D200VM0BAA 12.3" HSXGA LVDS panel, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v3: - collect Rob reiew tag Changes

Re: [PATCH] ARM: dts: imx: Add support for Advantech DMS-BA16

2018-02-04 Thread Andrew Lunn
On Mon, Feb 05, 2018 at 02:45:14AM +0800, Ken Lin wrote: > Add support for Advantech DMS-BA16 board, which use > the Advantech BA-16 module. > > Signed-off-by: Ken Lin > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6q-dms-ba16.dts | 154 >

Re: [GIT PULL tools] Linux kernel memory model

2018-02-04 Thread Andrea Parri
On Sun, Feb 04, 2018 at 02:17:00AM -0800, Paul E. McKenney wrote: [...] > And here is the updated commit adding comments to the litmus test, > which adds comments for the three litmus tests added above. I have also > marked this commit with "EXP" indicating that it has not yet had time > for

Re: [RFC 1/3] seccomp: add a return code to trap to userspace

2018-02-04 Thread Andy Lutomirski
On Sun, Feb 4, 2018 at 10:49 AM, Tycho Andersen wrote: > This patch introduces a means for syscalls matched in seccomp to notify > some other task that a particular filter has been triggered. Neat! > > The motivation for this is primarily for use with containers. For example, >

[PATCH] Fix a typo in Documentation/device-mapper/dm-zoned.txt

2018-02-04 Thread 오동현
A trivial patch to fix a typo in Documentation/device-mapper/dm-zoned.txt Fix 'convnetional' to 'conventional' Signed-off-by: Donghyeon Oh Cc: Jiri Kosina Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org diff --git

[PATCH] Fix a typo in Documentation/device-mapper/dm-integrity.txt

2018-02-04 Thread 오동현
A trivial patch to fix a typo in Documentation/device-mapper/dm-integrity.txt Fix 'nubmers' to 'numbers' Signed-off-by: Donghyeon Oh Cc: Jiri Kosina Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org diff --git

[PATCH v2 0/3] x86/entry: Clear registers to sanitize speculative usages

2018-02-04 Thread Dan Williams
Changes since v1 [1]: * Move CLEAR_REGS_EXTRA_NOSPEC before TRACE_IRQS_OFF to protect tracing users (Andy) [1]: https://lkml.org/lkml/2018/2/3/397 --- At entry userspace may have populated callee saved registers with values that could be useful in a speculative execution attack. Clear them to

  1   2   3   4   5   >