[PATCH 45/45] arch/sparc: remove duplicate includes

2017-12-11 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- arch/sparc/kernel/uprobes.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sparc/kernel/uprobes.c b/arch/sparc/k

Re: [ANNOUNCE] 4.1.46-rt52

2017-12-11 Thread Julia Cartwright
On Mon, Dec 11, 2017 at 01:04:58PM -0600, Corey Minyard wrote: > On 11/29/2017 05:13 PM, Julia Cartwright wrote: > > Hello RT Folks! > > > > I'm pleased to announce the 4.1.46-rt52 stable release. > > > > You can get this release via the git tree at: > > > >git://git.kernel.org/pub/scm/linux

[PATCH] crypto: chacha20poly1305 - validate the digest size

2017-12-11 Thread Eric Biggers
From: Eric Biggers If the rfc7539 template was instantiated with a hash algorithm with digest size larger than 16 bytes (POLY1305_DIGEST_SIZE), then the digest overran the 'tag' buffer in 'struct chachapoly_req_ctx', corrupting the subsequent memory, including 'cryptlen'. This caused a crash dur

Re: [PATCH net,stable] net: qmi_wwan: add Quectel BG96 2c7c:0296

2017-12-11 Thread Sebastian Sjoholm
Hi, Sorry for the re-email of the patch below, clearly a beginners mistake of me not to clear my tmp/ folder. Please disregard this. Regards, Sebastian > On Dec 11, 2017, at 21:12 , ssjoh...@mac.com wrote: > > From: Sebastian Sjoholm > > Quectel BG96 is an Qualcomm MDM9206 based IoT modem,

Re: [RFC][PATCH] ipc: mqueue: wq_add priority changed to dynamic priority

2017-12-11 Thread Steven Rostedt
On Mon, 11 Dec 2017 19:54:33 + Jonathan Haws wrote: > > Probably a better subject would be: > > > >  ipc: mqueue: Have RT tasks queue in by priority in wq_add() > > Is the best way to change that just to change it in the email thread or > resubmit the patch as v2? That, or whoever takes

[PATCH net,stable] net: qmi_wwan: add Sierra EM7565 1199:9091

2017-12-11 Thread ssjoholm
From: Sebastian Sjoholm From: Sebastian Sjoholm Sierra Wireless EM7565 is an Qualcomm MDM9x50 based M.2 modem. The USB id is added to qmi_wwan.c to allow QMI communication with the EM7565. Signed-off-by: Sebastian Sjoholm --- [The corresponding qcserial patch will be submitted by Reinhard Spe

[PATCH net,stable] net: qmi_wwan: add Quectel BG96 2c7c:0296

2017-12-11 Thread ssjoholm
From: Sebastian Sjoholm Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel development board (EVB). The USB id is added to qmi_wwan.c to allow QMI communication with the BG96. Signed-off-by: Sebastian Sjoholm ---

Re: [Intel-gfx] linux-next: Signed-off-by missing for commit in the drm-intel-fixes tree

2017-12-11 Thread Daniel Vetter
On Mon, Dec 11, 2017 at 12:31:06PM +0200, Joonas Lahtinen wrote: > + GVT folks. > > On Fri, 2017-12-08 at 09:15 +1100, Stephen Rothwell wrote: > > Hi all, > > > > Commit > > > > 365ad5df9caa ("drm/i915/gvt: Export > > intel_gvt_render_mmio_to_ring_id()") > > > > is missing a Signed-off-by fro

Re: [PATCH] perf tools: Fix swap for samples with raw data

2017-12-11 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 29, 2017 at 07:43:46PM +0100, Jiri Olsa escreveu: > When we detect different endianity we swap event before > processing. It's tricky for samples because we have no > idea what's inside. We treat it as an array of u64s, > swap them and later on we swap back parts which are > different.

Re: [PATCH PTI v2 6/6] x86/pti: Put the LDT in its own PGD if PTI is on

2017-12-11 Thread Andy Lutomirski
On Mon, Dec 11, 2017 at 11:47 AM, Dave Hansen wrote: > On 12/11/2017 11:39 AM, Andy Lutomirski wrote: >>> I thought there would be a "fast path" where we just use the normal >>> clear_LDT() LDT from the cpu_entry_area and don't have to do any of >>> this, but I'm missing where that happens. Do we

RE: [PATCH 2/2] ntb_hw_switchtec: Check for alignment of the buffer in mw_set_trans()

2017-12-11 Thread Allen Hubbe
From: Logan Gunthorpe > On 11/12/17 12:17 PM, Allen Hubbe wrote: > >> mw_get_align doesn't communicate the fact that the buffer has to be > >> aligned by its size. > > > > Is that not the purpose of the addr_align out parameter of > > ntb_mw_get_align()? > > addr_align provides the minimum alignm

Re: Oops on 4.15-rc[123] on shutdown/reboot

2017-12-11 Thread Chris Clayton
On 11/12/17 17:17, Bjorn Helgaas wrote: > [+cc linux-pci] > > On Mon, Dec 11, 2017 at 11:29:50AM -0500, Sinan Kaya wrote: >> Hi Chris, >> >>> >>> I'm more than happy to provide additional diagnostics and test proposed >>> fixes. As a starter for ten, I've attached the >>> output from 'lspci -v'.

Re: [PATCH v3 5/5] perf-probe: Support escaped character in parser

2017-12-11 Thread Arnaldo Carvalho de Melo
Em Sat, Dec 09, 2017 at 01:28:41AM +0900, Masami Hiramatsu escreveu: > Support the special characters escaped by '\' in parser. > This allows user to specify versions directly like below. > > = > # ./perf probe -x /lib64/libc-2.25.so malloc_get_state\\@GLIBC_2.2.5 > Added new event: >

Re: [PATCH tip/core/rcu 02/20] torture: Prepare scripting for shift from %p to %pK

2017-12-11 Thread Kees Cook
On Sun, Dec 10, 2017 at 1:47 PM, Paul E. McKenney wrote: > On Sun, Dec 10, 2017 at 12:39:11PM -0800, Linus Torvalds wrote: >> I'd rather make %pK act more like %p than have gratuitous differences. The feature that paranoid folks currently depend on is getting a value entirely zeroed out with %pK

Re: [RFC][PATCH] ipc: mqueue: wq_add priority changed to dynamic priority

2017-12-11 Thread Jonathan Haws
On Mon, 2017-12-11 at 14:32 -0500, Steven Rostedt wrote: > On Mon, 11 Dec 2017 17:12:05 + > Jonathan Haws wrote: > > > > > Adding linux-rt-users group to thread. > > > > From: Jonathan Haws > > Sent: Monday, December 11, 2017 08:37 > > To: mi...@kern

[PATCH v5] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC

2017-12-11 Thread Steven Eckhoff
Currently there is no support for the TSCS42xx audio CODEC. Add support for it. v5 attempts to address all issues raised in the previous reviews. Thank you to everyone who has invested their time reviewing these patches. Acked-by: Philippe Ombredanne Signed-off-by: Steven Eckhoff --- .../dev

[PATCH] writeback: synchronize sync(2) against cgroup writeback membership switches

2017-12-11 Thread Tejun Heo
sync_inodes_sb() can race against cgwb (cgroup writeback) membership switches and fail to writeback some inodes. For example, if an inode switches to another wb while sync_inodes_sb() is in progress, the new wb might not be visible to bdi_split_work_to_wbs() at all or the inode might jump from a w

Re: [PATCH PTI v2 6/6] x86/pti: Put the LDT in its own PGD if PTI is on

2017-12-11 Thread Dave Hansen
On 12/11/2017 11:39 AM, Andy Lutomirski wrote: >> I thought there would be a "fast path" where we just use the normal >> clear_LDT() LDT from the cpu_entry_area and don't have to do any of >> this, but I'm missing where that happens. Do we need a check in >> (un)map_ldt_struct() for !mm->context.l

Re: [PATCH PTI v2 6/6] x86/pti: Put the LDT in its own PGD if PTI is on

2017-12-11 Thread Andy Lutomirski
On Mon, Dec 11, 2017 at 11:32 AM, Dave Hansen wrote: > On 12/11/2017 10:40 AM, Andy Lutomirski wrote: >>> Also, from a high level, this does increase the overhead of KPTI in a >>> non-trivial way, right? It costs us three more page table pages per >>> process allocated at fork() and freed at exit

[BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-11 Thread James Ettle
Hello, [First: Apologies if cross-posting from Kernel.org BZ is bad form; my distro BZ advised I post this to your mailing list as well.] Situation: enabling TPM on a Clevo W510LU with an Intel N3160 CPU breaks PS/2 keyboard and mouse. They just don't respond until after a suspend/resume cycle,

Re: RFC(v2): Audit Kernel Container IDs

2017-12-11 Thread Steve Grubb
On Monday, December 11, 2017 11:30:57 AM EST Eric Paris wrote: > > Because a container doesn't have to use namespaces to be a container > > you still need a mechanism for a process to declare that it is in > > fact > > in a container, and to identify the container. > > I like the idea but I'm stil

Re: [PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-11 Thread Corentin Labbe
On Mon, Dec 11, 2017 at 08:49:57AM +0100, Mylène Josserand wrote: > Hello everyone, > > This series adds SMP support for Allwinner Sun8i-a83t > with MCPM (Multi-Cluster Power Management). > Series information: > - Based on last linux-next (next-20171211) > - Had

Re: [PATCH] tuners: tda8290: reduce stack usage with kasan

2017-12-11 Thread Joe Perches
On Mon, 2017-12-11 at 13:06 +0100, Arnd Bergmann wrote: > With CONFIG_KASAN enabled, we get a relatively large stack frame in one > function > > drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': > drivers/media/tuners/tda8290.c:310:1: warning: the frame size of 1520 bytes > is la

Re: [PATCH] sched/rt: Do not pull from current CPU if only one cpu to pull

2017-12-11 Thread Steven Rostedt
On Mon, 11 Dec 2017 17:47:32 +0100 Ingo Molnar wrote: > > Link: > > http://lkml.kernel.org/r/8c913cc2-b2e3-8c2e-e503-aff1428f8...@monom.org > > Fixes: 4bdced5c9 ("sched/rt: Simplify the IPI based RT balancing logic") > > Cc: sta...@vger.kernel.org > > Reported-by: Daniel Wagner > > I've adde

Re: [PATCH PTI v2 6/6] x86/pti: Put the LDT in its own PGD if PTI is on

2017-12-11 Thread Dave Hansen
On 12/11/2017 10:40 AM, Andy Lutomirski wrote: >> Also, from a high level, this does increase the overhead of KPTI in a >> non-trivial way, right? It costs us three more page table pages per >> process allocated at fork() and freed at exit() and a new TLB flush. > Yeah, but no one will care. modi

Re: [RFC][PATCH] ipc: mqueue: wq_add priority changed to dynamic priority

2017-12-11 Thread Steven Rostedt
On Mon, 11 Dec 2017 17:12:05 + Jonathan Haws wrote: > Adding linux-rt-users group to thread. > > From: Jonathan Haws > Sent: Monday, December 11, 2017 08:37 > To: mi...@kernel.org; v...@zeniv.linux.org.uk; a...@arndb.de; > a...@linux-foundation.org;

Re: Oops on 4.15-rc[123] on shutdown/reboot

2017-12-11 Thread Chris Clayton
On 11/12/17 17:24, Sinan Kaya wrote: > On 12/11/2017 12:06 PM, Chris Clayton wrote: >> Here's the output of dmesg for 4.15.0-rc3. I'll open a bugzilla later and >> add this and the lspci output that I sent with >> my original repoart. > > This was helpful. I don't see any AER/DPC in your log. I

Re: [PATCH 2/2] ntb_hw_switchtec: Check for alignment of the buffer in mw_set_trans()

2017-12-11 Thread Logan Gunthorpe
On 11/12/17 12:17 PM, Allen Hubbe wrote: From: Logan Gunthorpe mw_get_align doesn't communicate the fact that the buffer has to be aligned by its size. Is that not the purpose of the addr_align out parameter of ntb_mw_get_align()? addr_align provides the minimum alignment required by the

Re: [PATCH 16/20] ARM: dts: aspeed: Add Witherspoon BMC machine

2017-12-11 Thread Brandon Wyman
On Sun, Dec 10, 2017 at 11:07 PM, Joel Stanley wrote: > The Witherspoon BMC is an ASPEED ast2500 based BMC that is part of an > OpenPower Power9 server. > > This adds the device tree description for most upstream components. It > is a squashed commit from the OpenBMC kernel tree. > > Signed-off-by

Re: [kernel-hardening][PATCH] arm: hw_breakpoint: Mark variables as __ro_after_init

2017-12-11 Thread Kees Cook
On Mon, Dec 11, 2017 at 4:50 AM, Jinbum Park wrote: > core_num_brps, core_num_wrps, debug_arch, has_ossr, > max_watchpoint_len are setup once while init stage, > and never changed after that. > so it is good candidate for __ro_after_init. > > Signed-off-by: Jinbum Park Reviewed-by: Kees Cook (

RE: [PATCH 2/2] ntb_hw_switchtec: Check for alignment of the buffer in mw_set_trans()

2017-12-11 Thread Allen Hubbe
From: Logan Gunthorpe > mw_get_align doesn't communicate the fact that the buffer has to be > aligned by its size. Is that not the purpose of the addr_align out parameter of ntb_mw_get_align()? > It may also be that all hardware does not have this > restriction (ie. if the hardware adds to the b

[PATCH] net: igmp: Use correct source address on IGMPv3 reports

2017-12-11 Thread Kevin Cernekee
Closing a multicast socket after the final IPv4 address is deleted from an interface can generate a membership report that uses the source IP from a different interface. The following test script, run from an isolated netns, reproduces the issue: #!/bin/bash ip link add dummy0 type dummy

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Linus Torvalds
On Mon, Dec 11, 2017 at 10:41 AM, Andy Lutomirski wrote: > > I'll try to get to this in a day or so -- is that okay? Or should we > do some trivial fix/revert and fix it for real next time around? I don't think we want some trivial fix/revert just to keep it working. This code is too fragile as-

Re: general protection fault in blkcipher_walk_done

2017-12-11 Thread Eric Biggers
On Mon, Nov 27, 2017 at 10:56:47AM -0800, syzbot wrote: > syzbot will keep track of this bug report. > Once a fix for this bug is committed, please reply to this email with: > #syz fix: exact-commit-title > If you want to test a patch for this bug, please reply with: > #syz test: git://repo/address

Re: [PATCH v10 4/4] [media] platform: Add Synopsys DesignWare HDMI RX Controller Driver

2017-12-11 Thread Philippe Ombredanne
On Mon, Dec 11, 2017 at 6:41 PM, Jose Abreu wrote: > This is an initial submission for the Synopsys DesignWare HDMI RX > Controller Driver. This driver interacts with a phy driver so that > a communication between them is created and a video pipeline is > configured. > > The controller + phy pipel

Re: general protection fault in crypto_chacha20_crypt

2017-12-11 Thread Eric Biggers
On Wed, Nov 29, 2017 at 01:24:38AM -0800, Eric Biggers wrote: > > The bug is that the skcipher_walk API doesn't set the IV for zero-length > inputs, > while some algorithms (e.g. ChaCha20) access the IV even if the input is > zero-length. So it was dereferencing a pointer which came from uniniti

Re: [PATCH v10 3/4] [media] platform: Add Synopsys DesignWare HDMI RX PHY e405 Driver

2017-12-11 Thread Philippe Ombredanne
On Mon, Dec 11, 2017 at 6:41 PM, Jose Abreu wrote: > This adds support for the Synopsys DesignWare HDMI RX PHY e405. This > phy receives and decodes HDMI video that is delivered to a controller. > > Main features included in this driver are: > - Equalizer algorithm that chooses the phy bes

Re: [PATCH 27/45] net: remove duplicate includes

2017-12-11 Thread Pablo Neira Ayuso
On Mon, Dec 11, 2017 at 10:09:46PM +0530, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge For the Netfilter chunk. Acked-by: Pablo Neira Ayuso

Re: [ANNOUNCE] 4.1.46-rt52

2017-12-11 Thread Corey Minyard
On 11/29/2017 05:13 PM, Julia Cartwright wrote: Hello RT Folks! I'm pleased to announce the 4.1.46-rt52 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.1-rt Head SHA1: 6e737a91c1ce923d4e10db

Re: [RFC PATCH 0/9] ethtool netlink interface (WiP)

2017-12-11 Thread Florian Fainelli
On 12/11/2017 09:01 AM, David Miller wrote: > From: Jiri Pirko > Date: Mon, 11 Dec 2017 17:32:46 +0100 > >> I think that it does not make sense to convert ethtool->netlink_ethtool >> 1:1 feature wise. Now we have devlink, ritch switch representation >> model, tc offload and many others. Lot of th

Re: KASAN: use-after-free Write in aead_recvmsg

2017-12-11 Thread Eric Biggers
On Mon, Dec 04, 2017 at 07:57:01AM -0800, syzbot wrote: > syzbot will keep track of this bug report. > Once a fix for this bug is committed, please reply to this email with: > #syz fix: exact-commit-title > If you want to test a patch for this bug, please reply with: > #syz test: git://repo/address

[PATCH 2/4] ASoC: codecs: tas5720: add TAS5722 register support

2017-12-11 Thread Andrew F. Davis
From: Andreas Dannenberg Introduce a custom super-set register map and associated bit definitions to allow driver access to all TAS5722 device functionality. Signed-off-by: Andreas Dannenberg Signed-off-by: Andrew F. Davis --- sound/soc/codecs/tas5720.c | 23 ++- sound/soc

[PATCH] ASoC: nau8825: fix issue that pop noise when start capture

2017-12-11 Thread abhijeet . kumar
From: Abhijeet Kumar In skylake platform, we hear a loud pop noise(0 dB) at start of audio capture power up sequence. This patch removes the pop noise from the recording by adding a delay before enabling ADC. Signed-off-by: Abhijeet Kumar --- sound/soc/codecs/nau8825.c | 1 + 1 file changed, 1

[PATCH 1/4] ASoC: codecs: tas5720: add basic support for TAS5722 devices

2017-12-11 Thread Andrew F. Davis
From: Andreas Dannenberg The TI TAS5722 digital amplifier is very similar to the TAS5720 from an overall and register map perspective. Therefore the existing driver can be extended easily to support this additional device. This commit allows TAS5722 devices to be used in a "subset" type of fashio

[PATCH 4/4] ASoC: codecs: tas5720: add TAS5722 TDM slot width setting support

2017-12-11 Thread Andrew F. Davis
From: Andreas Dannenberg Unlike the TAS5720, the TAS5722 can be configured to utilize 16-bit wide slots in TDM mode. This can help easing audio clocking/frequency requirements. Signed-off-by: Andreas Dannenberg Signed-off-by: Andrew F. Davis --- sound/soc/codecs/tas5720.c | 11 +++ 1

[PATCH 3/4] ASoC: codecs: tas5720: add TAS5722 specific volume control

2017-12-11 Thread Andrew F. Davis
From: Andreas Dannenberg The TAS5722 supports modifying volume in 0.25dB steps (as opposed to 0.5dB steps on the TAS5720). Introduce a custom mixer control that allows taking advantage of this finer output volume granularity. Signed-off-by: Andreas Dannenberg Signed-off-by: Andrew F. Davis ---

Re: [RESEND PATCH] arm64: v8.4: Support for new floating point multiplication variant

2017-12-11 Thread Suzuki K Poulose
Hi gengdongjiu Sorry for the late response. I have a similar patch to add the support for "FHM", which I was about to post it this week. On 11/12/17 13:29, Dave Martin wrote: On Mon, Dec 11, 2017 at 08:47:00PM +0800, gengdongjiu wrote: On 2017/12/11 19:59, Dave P Martin wrote: On Sat, Dec

RE: [PATCH v2] Enable SR-IOV instantiation through /sys file

2017-12-11 Thread Wang, Liang-min
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Monday, December 11, 2017 1:13 PM > To: Wang, Liang-min > Cc: Alexander Duyck ; Kirsher, Jeffrey T > ; k...@vger.kernel.org; linux- > p...@vger.kernel.org; linux-kernel@vger.kernel.org; Bjorn Helgaas

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-11 Thread Randy Dunlap
On 12/11/2017 10:49 AM, Richard Weinberger wrote: > Am Montag, 11. Dezember 2017, 11:19:54 CET schrieb Daniel Borkmann: >> Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ] >> >> On 12/11/2017 09:32 AM, Richard Weinberger wrote: >>> Randy, >>> >>> Am Montag, 11. Dezember 2017, 03:42:12 CET s

Re: general protection fault in strcmp

2017-12-11 Thread Eric Biggers
On Thu, Nov 30, 2017 at 12:44:01PM -0800, syzbot wrote: > syzbot will keep track of this bug report. > Once a fix for this bug is committed, please reply to this email with: > #syz fix: exact-commit-title > To mark this as a duplicate of another syzbot report, please reply with: > #syz dup: exact-s

[PATCH v1 2/2] clk: tegra20: Correct PLL_C_OUT1 setup

2017-12-11 Thread Dmitry Osipenko
PLL_C_OUT_1 can't produce 216 MHz defined in the init_table. Let's set it to 240 MHz and explicitly specify HCLK rate for consistency. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-tegra20.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/tegra/cl

[PATCH v1] clk: tegra20: Add 216 MHz entry for PLL_X

2017-12-11 Thread Dmitry Osipenko
The cpufreq driver uses 216 MHz as the lowest CPU clock frequency, but clock driver doesn't provide that rate, so the requested clock is rounded up to 312 MHz. Let's add entry for 216 MHz to match with cpufreq. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-tegra20.c | 5 + 1 file

[PATCH v1] clk: tegra: Specify VDE clock rate

2017-12-11 Thread Dmitry Osipenko
Currently VDE clock rate is determined by clock config left from bootloader, let's not rely on it and explicitly specify the clock rate in the CCF driver. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-tegra114.c | 1 + drivers/clk/tegra/clk-tegra124.c | 2 +- drivers/clk/tegra/clk-teg

[PATCH v1 1/2] clk: tegra: Mark HCLK, SCLK, EMC, MC and PLL_P outputs as critical

2017-12-11 Thread Dmitry Osipenko
Machine dies if HCLK, SCLK or EMC is disabled, hence mark these clocks as critical. Currently some of drivers do not manage clocks properly, expecting those clocks to be 'always enabled', these clocks are MC and PLL_P outputs. Let's mark MC or PLL_P outputs as critical for now and revert this chang

Re: [PATCH v3 3/3] ARM: dts: exynos: Add nodes for True Random Number Generator

2017-12-11 Thread Krzysztof Kozlowski
On Mon, Dec 04, 2017 at 01:53:51PM +0100, Łukasz Stelmach wrote: > Add nodes for the True Random Number Generator found in Samsung Exynos > 5250+ SoCs. > > Signed-off-by: Łukasz Stelmach > --- > arch/arm/boot/dts/exynos5.dtsi| 5 + > arch/arm/boot/dts/exynos5250.dtsi | 5 + > arch/ar

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-11 Thread Richard Weinberger
Am Montag, 11. Dezember 2017, 11:19:54 CET schrieb Daniel Borkmann: > Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ] > > On 12/11/2017 09:32 AM, Richard Weinberger wrote: > > Randy, > > > > Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap: > >> On 12/10/2017 06:08 PM, Lin

Re: [RFC PATCH 2/9] ethtool: introduce ethtool netlink interface

2017-12-11 Thread David Miller
From: Jiri Pirko Date: Mon, 11 Dec 2017 19:02:19 +0100 > The discussion we had before was about flag bitfield that was there > *always*. In this case, that is not true. It is either ifindex or > ifname. Even rtnetlink has ifname as attribute. > > The flags and info_mask is just big mystery. If i

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Andy Lutomirski
On Mon, Dec 11, 2017 at 10:31 AM, Linus Torvalds wrote: > On Mon, Dec 11, 2017 at 6:22 AM, Rafael J. Wysocki wrote: >> On Sunday, December 10, 2017 10:58:23 PM CET Andy Lutomirski wrote: >>> >>> I'm guessing that the real issue is that 32-bit needs %fs restored early >>> for TLS. >> >> I *think*

Re: [PATCH] [v2] drm/i915: use static const array for PICK macro

2017-12-11 Thread Chris Wilson
Quoting Chris Wilson (2017-12-11 12:51:42) > Quoting Arnd Bergmann (2017-12-11 12:46:22) > > The varargs macro trick in _PIPE3/_PHY3/_PORT3 was meant as an optimization > > to shrink the i915 kernel module by around 1000 bytes. However, the > > downside is a size regression with CONFIG_KASAN, as I

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-11 Thread Laura Abbott
On 12/08/2017 10:33 PM, Tobin C. Harding wrote: [Adding Laura] On Fri, Dec 08, 2017 at 06:18:45PM -0800, Joe Perches wrote: On Sat, 2017-12-09 at 12:27 +1100, Tobin C. Harding wrote: On Fri, Dec 08, 2017 at 01:22:37PM -0800, Joe Perches wrote: Outside of the documentation, what could be use

Re: [PATCH PTI v2 6/6] x86/pti: Put the LDT in its own PGD if PTI is on

2017-12-11 Thread Andy Lutomirski
On Mon, Dec 11, 2017 at 9:49 AM, Dave Hansen wrote: > So, before this, > > On 12/10/2017 10:47 PM, Andy Lutomirski wrote: > ...> + if (unlikely(ldt)) { >> + if (static_cpu_has_bug(X86_BUG_CPU_SECURE_MODE_PTI)) { >> + if (WARN_ON_ONCE((unsigned long)ldt->slot > 1))

[PATCH v2] x86: update/correct opcodes map

2017-12-11 Thread Randy Dunlap
From: Randy Dunlap Update x86-opcode-map.txt based on the October 2017 Intel SDM publication. Correct INVPID to INVVPID. Add UD0 and UD1 instruction opcodes. Signed-off-by: Randy Dunlap Cc: Masami Hiramatsu Cc: Masami Hiramatsu Cc: Josh Poimboeuf Cc: x86 maintainers --- v2 changes: . corre

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Linus Torvalds
On Mon, Dec 11, 2017 at 6:22 AM, Rafael J. Wysocki wrote: > On Sunday, December 10, 2017 10:58:23 PM CET Andy Lutomirski wrote: >> >> I'm guessing that the real issue is that 32-bit needs %fs restored early for >> TLS. > > I *think* you are right. > > Anyway, that should be easy enough to verify.

Re: [RFC] irqchip: add support for LS1021A external interrupt lines

2017-12-11 Thread Marc Zyngier
On 11/12/17 09:30, Rasmus Villemoes wrote: > On 2017-12-08 17:02, Marc Zyngier wrote: [...] >> Overall, it is a bit annoying that you just copied the driver altogether >> instead of trying to allow the common stuff to be shared between >> drivers. Most of this is just boilerplate code... > > Yes

[PATCH v6 1/6] [media] vb2: add is_unordered callback for drivers

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Explicit synchronization benefits a lot from ordered queues, they fit better in a pipeline with DRM for example so create a opt-in way for drivers notify videobuf2 that the queue is unordered. Drivers don't need implement it if the queue is ordered. Signed-off-by: Gustavo

[PATCH v6 3/6] [media] vb2: add explicit fence user API

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Turn the reserved2 field into fence_fd that we will use to send an in-fence to the kernel and return an out-fence from the kernel to userspace. Two new flags were added, V4L2_BUF_FLAG_IN_FENCE, that should be used when sending a fence to the kernel to be waited on, and V4L2

[PATCH v6 5/6] [media] vb2: add out-fence support to QBUF

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan If V4L2_BUF_FLAG_OUT_FENCE flag is present on the QBUF call we create an out_fence and send its fd to userspace on the fence_fd field as a return arg for the QBUF call. The fence is signaled on buffer_done(), when the job on the buffer is finished. v7: - merge patc

[PATCH v6 6/6] [media] v4l: Document explicit synchronization behavior

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Add section to VIDIOC_QBUF about it v5: - Remove V4L2_CAP_ORDERED - Add doc about V4L2_FMT_FLAG_UNORDERED v4: - Document ordering behavior for in-fences - Document V4L2_CAP_ORDERED capability - Remove doc about OUT_FENCE event

[PATCH v6 4/6] [media] vb2: add in-fence support to QBUF

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Receive in-fence from userspace and add support for waiting on them before queueing the buffer to the driver. Buffers can't be queued to the driver before its fences signal. And a buffer can't be queue to the driver out of the order they were queued from userspace. That mean

[PATCH v6 2/6] [media] v4l: add 'unordered' flag to format description ioctl

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan For explicit synchronization it important for userspace to know if the format being used by the driver can deliver the buffers back to userspace in the same order they were queued with QBUF. Ordered streams fits nicely in a pipeline with DRM for example, where ordered buffe

[PATCH v6 0/6] V4L2 Explicit Synchronization

2017-12-11 Thread Gustavo Padovan
From: Gustavo Padovan Hi, One more iteration of the explicit fences patches, please refer to the previous version[1] for more details about the general mechanism This version makes the patchset and the implementation much more simple, to start we are not using a ordered capability anymore, but

[PATCH v9 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver

2017-12-11 Thread Dan Murphy
This adds the devicetree bindings for the LM3692x I2C LED string driver. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- v9 - Moved 2 nodes to Optional Child and renamed node names to device type https://patchwork.kernel.org/patch/10093757/ v8 - Added address-cells and size-cells as well

[PATCH v9 2/2] leds: lm3692x: Introduce LM3692x dual string driver

2017-12-11 Thread Dan Murphy
Introducing the LM3692x Dual-String white LED driver. Data sheet is located http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf Signed-off-by: Dan Murphy --- v9 - Change the no DT label case to pull the device name from the i2c_id struct so that the device name can be part of the sysfs node - https:/

Re: [PATCH v2 2/5] perf-probe: Cut off the version suffix from event name

2017-12-11 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 08, 2017 at 08:49:46AM -0600, Paul Clarke escreveu: > > > On 12/07/2017 09:01 PM, Masami Hiramatsu wrote: > > On Thu, 7 Dec 2017 10:34:51 -0600 > > Paul Clarke wrote: > >> On 12/07/2017 01:20 AM, Masami Hiramatsu wrote: > >>> Cut off the version suffix (e.g. @GLIBC_2.2.5 etc.) from >

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-11 Thread Richard Weinberger
Am Montag, 11. Dezember 2017, 18:27:40 CET schrieb Randy Dunlap: > On 12/11/2017 02:19 AM, Daniel Borkmann wrote: > > Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ] > > > > On 12/11/2017 09:32 AM, Richard Weinberger wrote: > >> Randy, > >> > >> Am Montag, 11. Dezember 2017, 03:42:12 CET

Re: [patches] [PATCH v2] riscv/ftrace: Add basic support

2017-12-11 Thread Palmer Dabbelt
On Wed, 06 Dec 2017 18:31:10 PST (-0800), noner...@gmail.com wrote: This patch contains basic ftrace support for RV64I platform. Specifically, function tracer (HAVE_FUNCTION_TRACER), function graph tracer (HAVE_FUNCTION_GRAPH_TRACER), and a frame pointer test (HAVE_FUNCTION_GRAPH_FP_TEST) are imp

Re: [PATCH v2] Enable SR-IOV instantiation through /sys file

2017-12-11 Thread Alex Williamson
On Mon, 11 Dec 2017 14:22:30 + "Wang, Liang-min" wrote: > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Friday, December 08, 2017 6:35 PM > > To: Alexander Duyck > > Cc: Kirsher, Jeffrey T ; Wang, Liang-min > > > min.w...@intel.com>; k

Re: [PATCH] KVM: VMX: drop I/O permission bitmaps

2017-12-11 Thread Jim Mattson
Removing these two lines from the initialization of field_to_offset_table[] means that vmcs_field_to_offset() will return -ENOENT for IO_BITMAP_A or IO_BITMAP_B. Hence, handle_vmread and handle_vmwrite will incorrectly report these fields as unsupported VMCS components if an L1 hypervisor tries to

Re: [RFC PATCH 2/9] ethtool: introduce ethtool netlink interface

2017-12-11 Thread Jiri Pirko
Mon, Dec 11, 2017 at 05:56:51PM CET, da...@davemloft.net wrote: >From: Jiri Pirko >Date: Mon, 11 Dec 2017 17:02:21 +0100 > >> Mon, Dec 11, 2017 at 02:53:31PM CET, mkube...@suse.cz wrote: >>>No function implemented yet, only genetlink and module infrastructure. >>>Register/unregister genetlink fami

Re: [RFC PATCH] mm: kasan: suppress soft lockup in slub when !CONFIG_PREEMPT

2017-12-11 Thread Yang Shi
On 12/8/17 1:16 AM, Andrey Ryabinin wrote: On 12/08/2017 11:26 AM, Dmitry Vyukov wrote: On Fri, Dec 8, 2017 at 12:40 AM, Matthew Wilcox wrote: On Fri, Dec 08, 2017 at 07:30:07AM +0800, Yang Shi wrote: When running stress test with KASAN enabled, the below softlockup may happen occasionally:

Re: [RFC PATCH 0/9] ethtool netlink interface (WiP)

2017-12-11 Thread Jiri Pirko
Mon, Dec 11, 2017 at 06:01:44PM CET, da...@davemloft.net wrote: >From: Jiri Pirko >Date: Mon, 11 Dec 2017 17:32:46 +0100 > >> I think that it does not make sense to convert ethtool->netlink_ethtool >> 1:1 feature wise. Now we have devlink, ritch switch representation >> model, tc offload and many

Re: [PATCH v3 00/20] arm64: Unmap the kernel whilst running in userspace (KPTI)

2017-12-11 Thread Catalin Marinas
On Wed, Dec 06, 2017 at 12:35:19PM +, Will Deacon wrote: > Patches are also pushed here: > > git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git kpti > > Feedback and testing welcome. At this point, I'd like to start thinking > about getting this merged for 4.16. For the record, t

Re: [PATCH v7 22/37] tracing: Add variable reference handling to hist triggers

2017-12-11 Thread Tom Zanussi
Hi Namhyung, On Tue, 2017-12-12 at 00:17 +0900, Namhyung Kim wrote: > Hi Tom, > > On Wed, Dec 06, 2017 at 04:38:03PM -0600, Tom Zanussi wrote: > > Add the necessary infrastructure to allow the variables defined on one > > event to be referenced in another. This allows variables set by a > > prev

Re: [PATCH PTI v2 6/6] x86/pti: Put the LDT in its own PGD if PTI is on

2017-12-11 Thread Dave Hansen
So, before this, On 12/10/2017 10:47 PM, Andy Lutomirski wrote: ...> + if (unlikely(ldt)) { > + if (static_cpu_has_bug(X86_BUG_CPU_SECURE_MODE_PTI)) { > + if (WARN_ON_ONCE((unsigned long)ldt->slot > 1)) { > + clear_LDT(); > +

Re: [alsa-devel] [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-11 Thread Vinod Koul
On Mon, Dec 11, 2017 at 03:16:29PM +, Mark Brown wrote: > On Mon, Dec 11, 2017 at 06:21:58PM +0900, Katsuhiro Suzuki wrote: > > > But I can't find how to use/map this DAI in machine driver or Device-Tree or > > something. I think that it's same as PCM DAI, am I correct? > > Yes, that probably

Re: [PATCH 08/13] x86: do not use print_symbol()

2017-12-11 Thread Borislav Petkov
On Mon, Dec 11, 2017 at 09:50:20PM +0900, Sergey Senozhatsky wrote: > print_symbol() uses extra stack space to sprintf() symbol > information and then to feed that buffer to printk() > > char buffer[KSYM_SYMBOL_LEN]; > > sprint_symbol(buffer, address); > printk(fmt, buffer); > > Replace pr

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

2017-12-11 Thread Paul E. McKenney
On Thu, Dec 07, 2017 at 08:00:50PM -0500, Martin K. Petersen wrote: > > > I'm perfectly OK with taking it through the SCSI tree. Probably the > > path of least resistance. > > Applied to 4.16/scsi-queue and rebased so it sits before Bart's patch. Thank you! I have removed this patch from -rcu.

[PATCH v10 4/4] [media] platform: Add Synopsys DesignWare HDMI RX Controller Driver

2017-12-11 Thread Jose Abreu
This is an initial submission for the Synopsys DesignWare HDMI RX Controller Driver. This driver interacts with a phy driver so that a communication between them is created and a video pipeline is configured. The controller + phy pipeline can then be integrated into a fully featured system that ca

[PATCH v10 2/4] MAINTAINERS: Add entry for Synopsys DesignWare HDMI drivers

2017-12-11 Thread Jose Abreu
Add an entry for Synopsys DesignWare HDMI Receivers drivers and phys. Signed-off-by: Jose Abreu Cc: Joao Pinto --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7a52a66..a1675bc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13108,6 +1310

[PATCH v10 3/4] [media] platform: Add Synopsys DesignWare HDMI RX PHY e405 Driver

2017-12-11 Thread Jose Abreu
This adds support for the Synopsys DesignWare HDMI RX PHY e405. This phy receives and decodes HDMI video that is delivered to a controller. Main features included in this driver are: - Equalizer algorithm that chooses the phy best settings according to the detected HDMI cable chara

[PATCH v10 0/4] Synopsys DesignWare HDMI Video Capture Controller + PHY

2017-12-11 Thread Jose Abreu
The Synopsys DesignWare HDMI RX controller is an HDMI receiver controller that is responsible to process digital data that comes from a phy. The final result is a stream of RAW video data that can then be connected to a video DMA, for example, and transfered into RAM so that it can be displayed. T

[PATCH v10 1/4] dt-bindings: media: Document Synopsys DesignWare HDMI RX

2017-12-11 Thread Jose Abreu
Document the bindings for the Synopsys DesignWare HDMI RX. Signed-off-by: Jose Abreu Acked-by: Rob Herring (v8) Cc: Joao Pinto Cc: Rob Herring Cc: Mark Rutland Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Sylwester Nawrocki Cc: devicet...@vger.kernel.org --- Changes from v7: - Re

Re: [PATCH 1/1] rtlwifi: always initialize variables given to RT_TRACE()

2017-12-11 Thread Larry Finger
On 12/10/2017 01:51 PM, Nicolas Iooss wrote: In rtl_rx_ampdu_apply(), when rtlpriv->cfg->ops->get_btc_status() returns false, RT_TRACE() is called with the values of variables reject_agg and agg_size, which have not been initialized. Always initialize these variables in order to prevent using un

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-11 Thread Daniel Borkmann
On 12/11/2017 06:27 PM, Randy Dunlap wrote: > On 12/11/2017 02:19 AM, Daniel Borkmann wrote: >> Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ] >> >> On 12/11/2017 09:32 AM, Richard Weinberger wrote: >>> Randy, >>> >>> Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap: O

Re: [Intel-gfx] [GIT pull] x86 APIC updates for 4.15

2017-12-11 Thread Maarten Lankhorst
Op 11-12-17 om 12:06 schreef Thomas Gleixner: > On Mon, 11 Dec 2017, Thomas Gleixner wrote: > >> On Mon, 11 Dec 2017, Daniel Vetter wrote: >>> Anything else we can do to move this? I just had to resolve a small >>> conflict when moving forward to -rc3. Carrying a revert for the entire >>> apic pull

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-11 Thread Alex Manoussakis
Tomasz please add the wireless version in your next patch, a web search shows it's called M-XT3DRBK and the USB ID is 0x00fc. Thanks, Alex On Mon, Dec 11, 2017 at 11:28:37AM +0100, Jiri Kosina wrote: > On Sat, 9 Dec 2017, Tomasz Kramkowski wrote: > > > Alright, that's fine. Anything else to chan

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-11 Thread Randy Dunlap
On 12/11/2017 02:19 AM, Daniel Borkmann wrote: > Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ] > > On 12/11/2017 09:32 AM, Richard Weinberger wrote: >> Randy, >> >> Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap: >>> On 12/10/2017 06:08 PM, Linus Torvalds wrote: An

Re: [PATCH] x86: update/correct opcode-map

2017-12-11 Thread Randy Dunlap
On 12/11/2017 05:49 AM, Ingo Molnar wrote: > > * Randy Dunlap wrote: > >> From: Randy Dunlap >> >> Update x86-opcode-map.txt based on the October 2017 Intel SDM publication. >> Correct INVPID to INVVPID. >> Add UD0, UD1, and UD2 instruction opcodes. >> >> Signed-off-by: Randy Dunlap >> Cc: Mas

Re: [PATCH 4/5] MIPS: Execute any partial write of the last register with PTRACE_SETREGSET

2017-12-11 Thread Maciej W. Rozycki
On Wed, 6 Dec 2017, Maciej W. Rozycki wrote: > > > 2. Actually assert what we rely on having been enforced by generic code, > > >i.e.: > > > > > > BUG_ON(*count % sizeof(elf_fpreg_t)); > > > for (i = 0; i < NUM_FPU_REGS && *count > 0; i++) { > > > err = user_regset_copyin(pos,

Re: Oops on 4.15-rc[123] on shutdown/reboot

2017-12-11 Thread Sinan Kaya
On 12/11/2017 12:06 PM, Chris Clayton wrote: > Here's the output of dmesg for 4.15.0-rc3. I'll open a bugzilla later and add > this and the lspci output that I sent with > my original repoart. This was helpful. I don't see any AER/DPC in your log. It looks like the only PCIe portdrv service you

<    1   2   3   4   5   6   7   8   9   >