Re: [PATCH v2] arm64: dts: qcom: sdm845: Add reserve-memory nodes

2018-10-31 Thread Doug Anderson
Hi, On Tue, Oct 30, 2018 at 11:09 PM Sibi Sankar wrote: > > Add reserve-memory nodes for mpss and mba required for > remoteproc mss pil. > > Reviewed-by: Bjorn Andersson > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++ > 1 file changed, 10 insertions(+

[tip:perf/urgent] perf beauty: Add a generator for MS_ mount/umount's flag constants

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ceaf8e5b49ce18e9e58d292130e92150d01a34e6 Gitweb: https://git.kernel.org/tip/ceaf8e5b49ce18e9e58d292130e92150d01a34e6 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 24 Oct 2018 14:54:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] tools include uapi: Grab a copy of linux/fs.h

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f443f38c5789ece6ebe59ae21c27bf861e61c4e2 Gitweb: https://git.kernel.org/tip/f443f38c5789ece6ebe59ae21c27bf861e61c4e2 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 24 Oct 2018 14:31:12 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:22 -0300 t

Re: [GIT PULL 00/24] perf/urgent improvements and fixes

2018-10-31 Thread Ingo Molnar
t/acme/linux.git > tags/perf-urgent-for-mingo-4.20-20181031 > > for you to fetch changes up to 5d4f0edaa3ac4f1844ed7c64cd2bae6f1912bac5: > > perf intel-pt/bts: Calculate cpumode for synthesized samples (2018-10-31 > 12:56:26 -0300) > > --

Re: [GIT PULL] fuse update for 4.20

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 1:31 PM Miklos Szeredi wrote: > > As well as the usual bug fixes, this adds the following new features: > [...] Pulled, Linus

Re: 4.18: early boot crash in thermal_cooling_device_destroy_sysfs

2018-10-31 Thread Randy Dunlap
On 10/30/18 10:47 PM, Randy Dunlap wrote: > On 10/30/18 6:07 PM, Zhang Rui wrote: >> Hi, Randy, >> >> On 五, 2018-10-26 at 20:35 -0700, Randy Dunlap wrote: >>> On 10/26/18 2:14 AM, Rafael J. Wysocki wrote: On Monday, October 22, 2018 8:37:25 PM CEST Randy Dunlap wrote: > > > On

Re: [PATCH v2] Implement /proc/pid/kill

2018-10-31 Thread Joel Fernandes
On Thu, Nov 01, 2018 at 04:33:53AM +1100, Aleksa Sarai wrote: > On 2018-10-31, Joel Fernandes wrote: > > I suggest to maintainers we take this in as an intermediate solution > > since we don't have anything close to it and this is a real issue, and > > the fix proposed is simple. > > I would sugg

Re: linux-next: Tree for Oct 31 (vboxguest)

2018-10-31 Thread Randy Dunlap
On 10/31/18 2:41 PM, Arnd Bergmann wrote: > On 10/31/18, Randy Dunlap wrote: >> On 10/30/18 8:59 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do not add any v4.21/v5.1 code to your linux-next included trees >>> until after the merge window closes. >>> >>> Changes since 20181030: >>> >> >

Re: [GIT PULL] Ceph updates for 4.20-rc1

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 10:44 AM Ilya Dryomov wrote: > > - a series that fixes some old memory allocation issues in libceph > (myself). We no longer allocate memory in places where allocation > failures cannot be handled and BUG when the allocation fails. > > - support for copy_file_range() s

Re: [PATCH] memory_hotplug: cond_resched in __remove_pages

2018-10-31 Thread Michal Hocko
On Wed 31-10-18 12:15:50, Andrew Morton wrote: > On Wed, 31 Oct 2018 13:58:40 +0100 Michal Hocko wrote: > > > From: Michal Hocko > > > > We have received a bug report that unbinding a large pmem (>1TB) > > can result in a soft lockup: > > > > ... > > > > It has been reported on an older (4.12)

Re: linux-next: Tree for Oct 31 (vboxguest)

2018-10-31 Thread Arnd Bergmann
On 10/31/18, Randy Dunlap wrote: > On 10/30/18 8:59 PM, Stephen Rothwell wrote: >> Hi all, >> >> Please do not add any v4.21/v5.1 code to your linux-next included trees >> until after the merge window closes. >> >> Changes since 20181030: >> > > > on i386: > > ld: drivers/virt/vboxguest/vboxguest_

Re: [PATCH v3 3/3] pinctrl: upboard: Add UP2 pinctrl and gpio driver

2018-10-31 Thread Dan O'Donovan
On 10/31/2018 09:30 PM, Linus Walleij wrote: > Hi Dan, > > On Wed, Oct 31, 2018 at 9:45 PM Dan O'Donovan wrote: > >> The UP2 board features a Raspberry Pi compatible pin header (HAT) and a >> board-specific expansion connector (EXHAT). Both expose assorted >> functions from either the SoC (such a

Re: [PATCH v14 09/19] x86/mm: x86/sgx: Signal SEGV_SGXERR for #PFs w/ PF_SGX

2018-10-31 Thread Dave Hansen
On 10/31/18 2:30 PM, Sean Christopherson wrote: > On Mon, Oct 01, 2018 at 03:03:30PM -0700, Dave Hansen wrote: >> On 10/01/2018 02:42 PM, Jethro Beekman wrote: >>> >>> 1) Even though the vDSO function exists, userspace may still call >>> `ENCLU[EENTER]` manually, so the fault handling as described

Re: [PATCH v3 3/3] pinctrl: upboard: Add UP2 pinctrl and gpio driver

2018-10-31 Thread Linus Walleij
Hi Dan, On Wed, Oct 31, 2018 at 9:45 PM Dan O'Donovan wrote: > The UP2 board features a Raspberry Pi compatible pin header (HAT) and a > board-specific expansion connector (EXHAT). Both expose assorted > functions from either the SoC (such as GPIO, I2C, SPI, UART...) or other > on-board devices

Re: [PATCH v14 09/19] x86/mm: x86/sgx: Signal SEGV_SGXERR for #PFs w/ PF_SGX

2018-10-31 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 03:03:30PM -0700, Dave Hansen wrote: > On 10/01/2018 02:42 PM, Jethro Beekman wrote: > > > > 1) Even though the vDSO function exists, userspace may still call > > `ENCLU[EENTER]` manually, so the fault handling as described in the > > current patch should also be maintain

linux-next: build warning in Linus' tree tree

2018-10-31 Thread Stephen Rothwell
Hi all, Building Linus' tree, today's linux-next build (x86_64 allmodconfig) produced this warning: ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include Introduced by commit c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and metadata"

Re: [PATCH 0/4] ntb: idt: Add hwmon temperature sensor interface

2018-10-31 Thread Jon Mason
On Sat, Jul 14, 2018 at 02:58:30PM +0300, Serge Semin wrote: > IDT PCIe-switches are equipped with an embedded temperature sensor. It > works within the range [0; 127.5]C with a resolution of 0.5C. It can > be used to monitor the chip core temperature so to have prevent it from > possible overheati

[PATCH v3] ASoC: AMD: Fix race condition between register access

2018-10-31 Thread Agrawal, Akshu
During simultaneous running of playback and capture, we got hit by incorrect value write on common register. This was due to race condition between 2 streams. Fixing this by locking the common register access. Signed-off-by: Akshu Agrawal --- v2: Added 2 helper functions, removed locking in ch en

[GIT PULL] UML changes for 4.20-rc1

2018-10-31 Thread Richard Weinberger
Linus, First of all, welcome back! Please note that the vast majority of these changes have been in -next since 4.18. Due to vacation and other troubles I didn't send a pull request back then. I rebased them a few days ago on top of 4.19. The following changes since commit 84df9525b0c27f3ebc2ebb

[GIT PULL] UBIFS updates for 4.20-rc1

2018-10-31 Thread Richard Weinberger
Linus, The following changes since commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d: Linux 4.19 (2018-10-22 07:37:37 +0100) are available in the Git repository at: git://git.infradead.org/linux-ubifs.git tags/tags/upstream-4.20-rc1 for you to fetch changes up to 84db119f5a83e1bf9cffbc6d9cf1

Re: [PATCH v3 0/7] Standardize onboard LED support for 96Boards

2018-10-31 Thread Linus Walleij
On Wed, Oct 31, 2018 at 4:47 PM Michal Simek wrote: > No doubt about it that this is good. If this is there from day 1 all will be > good. > I am just saying that we are all the time > saying that we shouldn't break userspace. Right now if there is single > application > which uses existing nam

Re: arm64 tools build failure wrt smp_load_{acquire,release} expansion on gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 31, 2018 at 07:08:29PM +0100, Daniel Borkmann escreveu: > On 10/31/2018 06:44 PM, Will Deacon wrote: > > Diff below... > I just gave this a spin on 16.04 and it resolves the build issue, thanks > for the quick fix, Will! > Tested-by: Daniel Borkmann It buildz, ship it: # time dm

[PATCH v3 1/8] selftests/resctrl: Add README for resctrl tests

2018-10-31 Thread Fenghua Yu
resctrl tests will be implemented. README is added for the tool first. Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/README | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 tools/testing/selftests/resctrl/README diff --git a/tools/tes

[PATCH v3 3/8] selftests/resctrl: Read memory bandwidth from perf IMC counter and from resctrl file system

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya Total memory bandwidth can be monitored from perf IMC counter and from resctrl file system. Later the two will be compared to verify the total memory bandwidth read from resctrl is correct. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan S

[PATCH v3 0/8] selftests/resctrl: Add resctrl selftest

2018-10-31 Thread Fenghua Yu
With more and more resctrl features are being added by Intel, AMD and ARM, a test tool is becoming more and more useful to validate that both hardware and software functionalities work as expected. We introduce resctrl selftest to cover resctrl features on both X86 and ARM architectures. It first

[PATCH v3 5/8] selftests/resctrl: Add built in benchmark

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya Built-in benchmark fill_buf generates stressful memory bandwidth and cache traffic. Later it will be used as a default benchmark by various resctrl tests such as MBA (Memory Bandwidth Allocation) and MBM (Memory Bandwidth Monitoring) tests. Signed-off-by: Sai Praneeth

[PATCH v3 2/8] selftests/resctrl: Add basic resctrl file system operations and data

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya The basic resctrl file system operations and data are added for future usage by resctrl selftest tool. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/Makefile| 10 + too

[PATCH v3 7/8] selftests/resctrl: Add MBA test

2018-10-31 Thread Fenghua Yu
From: Arshiya Hayatkhan Pathan MBA (Memory Bandwidth Allocation) test starts a stressful memory bandwidth benchmark and allocates memory bandwidth from 100% down to 10% for the benchmark process. For each allocation, compare perf IMC counter and mbm total bytes from resctrl. The difference betwee

[PATCH v3 8/8] selftests/resctrl: Add the test in MAINTAINERS

2018-10-31 Thread Fenghua Yu
The resctrl selftest will be maintained by RDT maintainers. Signed-off-by: Fenghua Yu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 48a65c3a4189..ecd1369ef761 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12270,6 +12270,7 @@ S: Supporte

[PATCH v3 4/8] selftests/resctrl: Add callback to start a benchmark

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya The callback starts a child process and puts the child pid in created resctrl group with specified memory bandwidth in schemata. The child starts running benchmark. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu

[PATCH v3 6/8] selftests/resctrl: Add MBM test

2018-10-31 Thread Fenghua Yu
From: Arshiya Hayatkhan Pathan MBM (Memory Bandwidth Monitoring) test is the first implemented selftest. It starts a stressful memory bandwidth benchmark and assigns the bandwidth pid in a resctrl monitoring group. Read and compare perf IMC counter and MBM total bytes for the benchmark. The numbe

Re: [git pull] mount API series

2018-10-31 Thread Miklos Szeredi
On Wed, Oct 31, 2018 at 7:39 PM, David Howells wrote: >> My objections fundamentally is that I can find real problems when I look >> at the code. I think the big risk with such a change is not that there are bugs, but that we get the API wrong, and have to keep supporting a broken API forever. W

Re: Crash report: Broken NUMA distance map causes crash on arm64 system

2018-10-31 Thread Peter Zijlstra
On Tue, Oct 30, 2018 at 03:35:35PM +, John Garry wrote: > [7.154740] ERROR: Node-distance not symmetric > [7.154740] > [7.160724] 10 15 20 25 > [7.163456] 15 10 25 30 > [7.166190] 20 25 10 15 > [7.168921] 10 10 15 10 > [7.171655] But I'm not getting the rest

[PATCH v3 1/3] mfd: upboard: Add UP2 platform controller driver

2018-10-31 Thread Dan O'Donovan
UP Squared (UP2) is a x86 SBC from AAEON based on Intel Apollo Lake. It features a MAX 10 FPGA that routes lines from both SoC and on-board devices to two I/O headers: ++ | 40-pin RPi-like header |

[PATCH v3 3/3] pinctrl: upboard: Add UP2 pinctrl and gpio driver

2018-10-31 Thread Dan O'Donovan
The UP2 board features a Raspberry Pi compatible pin header (HAT) and a board-specific expansion connector (EXHAT). Both expose assorted functions from either the SoC (such as GPIO, I2C, SPI, UART...) or other on-board devices (ADC, FPGA IP blocks...). These lines are routed through an on-board FP

[PATCH v3 0/3] UP Squared board drivers

2018-10-31 Thread Dan O'Donovan
Hi all, This series adds platform support for AAEON's UP Squared, a x86 SBC based on Apollo Lake [1]. Specifically, it enables control for the board pin headers and for the LEDs, as both of these features are only available behind a FPGA-based platform controller. This is structured around a MFD

[PATCH v3 2/3] leds: upboard: Add LED support

2018-10-31 Thread Dan O'Donovan
Allow userspace to use the on-board LEDs as "upboard::". Acked-by: Pavel Machek Signed-off-by: Dan O'Donovan --- drivers/leds/Kconfig| 10 + drivers/leds/Makefile | 1 + drivers/leds/leds-upboard.c | 103 3 files changed, 114 ins

Re: [PATCH] RISC-V: defconfig: Enable printk timestamps

2018-10-31 Thread Palmer Dabbelt
On Wed, 31 Oct 2018 12:20:40 PDT (-0700), Olof Johansson wrote: On Tue, Oct 30, 2018 at 5:37 AM Anup Patel wrote: The printk timestamps are very useful information to visually see where kernel is spending time during boot. It also helps us see the timing of hotplug events at runtime. This pat

Re: [PATCH v2 1/3] mfd: upboard: Add UP2 platform controller driver

2018-10-31 Thread Dan O'Donovan
On 10/20/2018 12:49 PM, Andy Shevchenko wrote: > On Fri, Oct 19, 2018 at 8:26 PM Dan O'Donovan wrote: >> From: Javier Arteaga >> >> UP Squared (UP2) is a x86 SBC from AAEON based on Intel Apollo Lake. It >> features a MAX 10 FPGA that routes lines from both SoC and on-board >> devices to two I/O

Re: [PATCH] ntb: ntb_transport: Mark expected switch fall-throughs

2018-10-31 Thread Jon Mason
On Fri, Oct 05, 2018 at 01:03:01PM -0400, Allen Hubbe wrote: > On Fri, Oct 5, 2018 at 3:12 AM Gustavo A. R. Silva > wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > > where we are expecting to fall through. > > > > Addresses-Coverity-ID: 1373888 ("Missing break in

Re: [PATCH] NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks

2018-10-31 Thread Jon Mason
On Mon, Aug 27, 2018 at 05:13:06PM -0500, Gustavo A. R. Silva wrote: > Both devm_kcalloc() and devm_kzalloc() return NULL on error. They > never return error pointers. > > The use of IS_ERR_OR_NULL is currently applied to the wrong > context. > > Fix this by replacing IS_ERR_OR_NULL with regular

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Grygorii Strashko
On 10/31/18 1:21 PM, Marc Zyngier wrote: Hi Grygorii, On 31/10/18 16:39, Grygorii Strashko wrote: [...] I'd try to provide some additional information here. (Sry, I'll still use term "events") As Lokesh explained in other mail on K3 SoC everything is generic and most of resources allocate

Re: [PATCH 3/7] dt-bindings: pinctrl: ds90ux9xx: add description of TI DS90Ux9xx pinmux

2018-10-31 Thread Vladimir Zapolskiy
Hi Luca, On 10/30/2018 06:44 PM, Luca Ceresoli wrote: > Hi Vladimir, > > On 16/10/18 14:48, Laurent Pinchart wrote: >> Hi Vladimir, >> >> On Saturday, 13 October 2018 16:47:48 EEST Vladimir Zapolskiy wrote: >>> On 10/12/2018 03:01 PM, Laurent Pinchart wrote: On Tuesday, 9 October 2018 00:12:

[GIT PULL] fuse update for 4.20

2018-10-31 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-4.20 As well as the usual bug fixes, this adds the following new features: - cached readdir and readlink - max I/O size increased from 128k to 1M - improved performance and scalabi

Re: [PATCH 2/3] ALSA:hda: fix front speakers on Huawei MBXP.

2018-10-31 Thread ayman . bagabas
This patch solves bug 200501 'Only 2 of 4 speakers playing sound.' https://bugzilla.kernel.org/show_bug.cgi?id=200501 On Wed, 2018-10-31 at 15:20 -0400, Ayman Bagabas wrote: > This patch enables the front speakers on Huawei Matebook X Pro > laptops. > These laptops come with Dolby Atmos sound sys

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2018-10-31 Thread Dean Wallace
On 31-10-18, Hans de Goede wrote: > Hi, > > On 30-10-18 17:15, Dean Wallace wrote: > > On 30-10-18, Hans de Goede wrote: > > > Hi, > > > > > > On 30-10-18 16:46, Hans de Goede wrote: > > > > Hi, > > > > > > > > On 30-10-18 16:04, Pierre-Louis Bossart wrote: > > > > > In addition I am not aware o

Re: [PATCH v3] Implement /proc/pid/kill

2018-10-31 Thread Tycho Andersen
On Wed, Oct 31, 2018 at 07:33:06PM +, Daniel Colascione wrote: > On Wed, Oct 31, 2018 at 6:17 PM, Tycho Andersen wrote: > > On Wed, Oct 31, 2018 at 06:00:49PM +, Daniel Colascione wrote: > >> On Wed, Oct 31, 2018 at 5:54 PM, Tycho Andersen wrote: > >> > Why not just use an ioctl() like Ja

[GIT PULL] c6x changes for 4.20

2018-10-31 Thread Mark Salter
The following changes since commit b59dfdaef173677b0b7e10f375226c0a1114fd20: i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array (2018-10-27 09:10:48 -0700) are available in the Git repository at: git://linux-c6x.org/git/projects/linux-c6x-upstreaming.git tags/for-linus for

Re: s390: runtime warning about pgtables_bytes

2018-10-31 Thread Joe Lawrence
On Fri, Oct 12, 2018 at 05:08:33PM +0200, Martin Schwidefsky wrote: > On Thu, 11 Oct 2018 15:02:11 +0200 > Martin Schwidefsky wrote: > > > On Thu, 11 Oct 2018 18:04:12 +0800 > > Li Wang wrote: > > > > > When running s390 system with LTP/cve-2017-17052.c[1], the following BUG > > > is > > > cam

Re: [PATCH v2 3/3] pinctrl: upboard: Add UP2 pinctrl and gpio driver

2018-10-31 Thread Dan O'Donovan
Thanks for your review feedback, Andy!  I'll send a v3 shortly with those changes you suggested.  I've added some comments inline below. On 10/20/2018 12:40 PM, Andy Shevchenko wrote: > On Fri, Oct 19, 2018 at 8:24 PM Dan O'Donovan wrote: > >> +static int upboard_get_functions_count(struct pinct

[PATCH anybus v2 2/5] dt-bindings: anybus-bridge: document devicetree binding.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch adds devicetree binding documentation for the Arcx anybus bridge. Signed-off-by: Sven Van Asbroeck --- .../bindings/misc/arcx,anybus-bridge.txt | 34 +++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 35 insertions

[PATCH anybus v2 3/5] bus: support HMS Anybus-S bus.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck The Anybus-S/Anybus-M is a series of interchangeable fieldbus communication modules featuring on board memory and processing power. All software and hardware functionality required to communicate on the fieldbus is incorporated in the module itself, allowing the applicatio

[PATCH anybus v2 4/5] dt-bindings: anybuss-host: document devicetree binding.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch adds devicetree binding documentation for the Arcx Anybus-S host. Signed-off-by: Sven Van Asbroeck --- .../bindings/bus/arcx,anybuss-host.txt| 36 +++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindin

[PATCH anybus v2 0/5] Support HMS Profinet Card over Anybus

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch set adds support for the HMS Industrial Networks AB Profinet card. Profinet is an industry technical standard for data communication over Industrial Ethernet, designed for collecting data from, and controlling, equipment in industrial systems, with a particular

[PATCH anybus v2 1/5] misc: support the Arcx anybus bridge.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck Add a driver for the Arcx anybus bridge. This chip embeds up to two Anybus-S application connectors (slots), and connects to the SoC via a parallel memory bus. There is also a CAN power readout, unrelated to the Anybus. Signed-off-by: Sven Van Asbroeck --- drivers/misc

[PATCH anybus v2 5/5] misc: support HMS Profinet IRT industrial controller.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck The Anybus-S PROFINET IRT communication module provides instant integration to any Ethernet based LAN via SMTP, FTP, HTTP as well as PROFINET and Modbus-TCP. Additional protocols can be implemented on top of TCP/IP or UDP using the transparent socket interface. Official d

[PATCH v3] include/linux/compiler*.h: define asm_volatile_goto

2018-10-31 Thread ndesaulniers
asm_volatile_goto should also be defined for other compilers that support asm goto. Fixes commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). Signed-off-by: Nick Desaulniers --- V2 -> V3: update subject line & add reference to fixed commit. V1 -> V2: drop cha

Re: [PATCH 00/10] steal tasks to improve CPU utilization

2018-10-31 Thread Steven Sistare
Thanks very much to everyone who has commented on my patch series. Here are the issues to be addressed in V2 of the series, and the person that suggested it, or raised the issue that led to it. Changes for V2: * Remove stray patch 10 hunk from patch 5 (Valentin) * Fix "warning: label out defin

Re: [PATCH v3] Implement /proc/pid/kill

2018-10-31 Thread Daniel Colascione
On Wed, Oct 31, 2018 at 6:17 PM, Tycho Andersen wrote: > On Wed, Oct 31, 2018 at 06:00:49PM +, Daniel Colascione wrote: >> On Wed, Oct 31, 2018 at 5:54 PM, Tycho Andersen wrote: >> > Why not just use an ioctl() like Jann suggested instead of this big >> > security check? Then we avoid the who

[PATCH] ASoC: stm32: sai: fix less than zero comparison on unsigned int

2018-10-31 Thread Colin King
From: Colin Ian King Currently, the comparison of div < 0 is always false because div is an unsigned int. Fix this by making div an int. Detected by CoverityScan, CID#1475309 ("Unsigned compared against 0") Fixes: 8307b2afd386 "(ASoC: stm32: sai: set sai as mclk clock provider") Signed-off-by:

Re: [PATCH 17/28] tools include uapi: Update asound.h copy

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 31, 2018 at 10:27:02AM -0700, Joe Perches escreveu: > On Wed, 2018-10-31 at 18:00 +0100, Takashi Iwai wrote: > > On Wed, 31 Oct 2018 17:44:57 +0100, > > Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo > > > > > > To silence this perf build warning: > > > > > >

Re: [PATCH 17/28] tools include uapi: Update asound.h copy

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 31, 2018 at 06:00:47PM +0100, Takashi Iwai escreveu: > On Wed, 31 Oct 2018 17:44:57 +0100, > Arnaldo Carvalho de Melo wrote: > > > > From: Arnaldo Carvalho de Melo > > > > To silence this perf build warning: > > > > Warning: Kernel ABI header at 'tools/include/uapi/sound/asound.h'

Re: WARNING in get_unlocked_entry

2018-10-31 Thread Dmitry Vyukov
On Wed, Oct 31, 2018 at 8:18 PM, Matthew Wilcox wrote: > On Wed, Oct 31, 2018 at 10:46:19AM +0100, Dmitry Vyukov wrote: >> On Wed, Oct 31, 2018 at 4:18 AM, Matthew Wilcox wrote: >> > On Tue, Oct 30, 2018 at 08:00:03AM -0700, syzbot wrote: >> >> syzbot found the following crash on: >> >> >> >> HEA

Re: [PATCH] RISC-V: defconfig: Enable printk timestamps

2018-10-31 Thread Olof Johansson
On Tue, Oct 30, 2018 at 5:37 AM Anup Patel wrote: > > The printk timestamps are very useful information to visually see > where kernel is spending time during boot. It also helps us see > the timing of hotplug events at runtime. > > This patch enables printk timestamps in RISC-V defconfig so that

[PATCH 3/3] ALSA:hda: add support for Huawei WMI MicMute LED

2018-10-31 Thread Ayman Bagabas
Some of Huawei laptops come with a LED in the mic mute key. This patch enables and disable this LED when the internal microphone status is changed. Signed-off-by: Ayman Bagabas --- include/linux/huawei_wmi.h| 7 sound/pci/hda/huawei_wmi_helper.c | 66 +++

[PATCH 2/3] ALSA:hda: fix front speakers on Huawei MBXP.

2018-10-31 Thread Ayman Bagabas
This patch enables the front speakers on Huawei Matebook X Pro laptops. These laptops come with Dolby Atmos sound system and these pins configuration enables the front speakers. Signed-off-by: Ayman Bagabas --- sound/pci/hda/patch_realtek.c | 18 ++ 1 file changed, 18 insertions(

[PATCH 1/3] x86: add support for Huawei WMI hotkeys.

2018-10-31 Thread Ayman Bagabas
This driver adds support for missing hotkeys on some Huawei laptops. Currently, only Huawei Matebook X Pro is supported. The driver recognizes the following keys: brightness keys, micmute, wlan, and Huawei special key. The brightness keys are ignored since they work out of the box. Signed-off-by:

Re: WARNING in get_unlocked_entry

2018-10-31 Thread Matthew Wilcox
On Wed, Oct 31, 2018 at 10:46:19AM +0100, Dmitry Vyukov wrote: > On Wed, Oct 31, 2018 at 4:18 AM, Matthew Wilcox wrote: > > On Tue, Oct 30, 2018 at 08:00:03AM -0700, syzbot wrote: > >> syzbot found the following crash on: > >> > >> HEAD commit:4b42745211af Merge tag 'armsoc-soc' of > >> git:/

Re: [RFC 0/2] RISC-V: A proposal to add vendor-specific code

2018-10-31 Thread Olof Johansson
On Wed, Oct 31, 2018 at 10:27 AM Palmer Dabbelt wrote: > > On Wed, 31 Oct 2018 04:16:10 PDT (-0700), a...@brainfault.org wrote: > > On Wed, Oct 31, 2018 at 4:06 PM Vincent Chen wrote: > >> > >> RISC-V permits each vendor to develop respective extension ISA based > >> on RISC-V standard ISA. Thi

Re: [PATCH] memory_hotplug: cond_resched in __remove_pages

2018-10-31 Thread Andrew Morton
On Wed, 31 Oct 2018 13:58:40 +0100 Michal Hocko wrote: > From: Michal Hocko > > We have received a bug report that unbinding a large pmem (>1TB) > can result in a soft lockup: > > ... > > It has been reported on an older (4.12) kernel but the current upstream > code doesn't cond_resched in the

Re: [PATCH 07/10] sched/fair: Provide can_migrate_task_llc

2018-10-31 Thread Peter Zijlstra
On Mon, Oct 29, 2018 at 07:34:50PM +, Valentin Schneider wrote: > On a sidenote, I find it a bit odd that the exec_start threshold depends on > sysctl_sched_migration_cost, which to me is more about idle_balance() cost > than "how long does it take for a previously run task to go cache cold".

[PATCH 7/7] ext4: lost brelse in ext4_expand_extra_isize_ea()

2018-10-31 Thread Vasily Averin
Fixes de05ca852679 ("ext4: move call to ext4_error() into ...") # 4.17 Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index 5c9bc0d85cc0..0b9688683526 100644 --- a/fs/ext4/xattr.c +++ b

[PATCH 5/7] ext4: bs.bh cleanup before re-using in ext4_xattr_block_find()

2018-10-31 Thread Vasily Averin
bs.bh was taken in previous ext4_xattr_block_find() call, it should be released before re-using Fixes 7e01c8e5420b ("ext3/4: fix uninitialized bs in ...") # 2.6.26 cc: Tiger Yang Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ext4/xatt

[PATCH][V2] tlclk: clean an indentation issue, remove extraneous tabs

2018-10-31 Thread Colin King
From: Colin Ian King Trivial fix to clean up an indentation issue, remove tabs --- V2: Put { } braces around else statement Signed-off-by: Colin Ian King --- drivers/char/tlclk.c | 87 ++-- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git

[PATCH 6/7] ext4: lost brelse in ext4_xattr_move_to_block()

2018-10-31 Thread Vasily Averin
Fixes 3f2571c1f91f ("ext4: factor out xattr moving") cc: Jan Kara however issue was present in original ext4_expand_extra_isize_ea() Fixes 6dd4ee7cab7e ("ext4: Expand extra_inodes space per ...") # 2.6.23 cc: Kalpak Shah Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 2 ++ 1 file changed,

[PATCH 3/7] ext4: lost release of s_journal_flag_rwsem on rollback in ext4_fill_super

2018-10-31 Thread Vasily Averin
Fixes c8585c6fcaf2 ("ext4: fix races between changing inode journal ...") # 4.7 cc: Daeho Jeong Signed-off-by: Vasily Averin --- fs/ext4/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index ed4d36506ec2..0c9e165b4e3f 100644 --- a/fs/ext4/super.c ++

[PATCH 4/7] ext4: lost brelse in ext4_xattr_get_block()

2018-10-31 Thread Vasily Averin
Fixes dec214d00e0d ("ext4: xattr inode deduplication") # 4.13 Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index dc1aeab06dba..07c3a115f7ae 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xatt

[PATCH 0/7] ext4 long-lived issues, part two

2018-10-31 Thread Vasily Averin
I've found one more batch of long-lived ext4 issues, most of them are lost brelse + two leaks on rollback in ext4_fill_super. Oldest one was found in 2.6.23, last one -- in 4.18. Vasily Averin (7): ext4: lost brelse in __ext4_read_dirblock() ext4: possible sbi->s_group_desc leak in ext4_fill_

[PATCH 1/7] ext4: lost brelse in __ext4_read_dirblock()

2018-10-31 Thread Vasily Averin
Fixes dc6982ff4db1 ("ext4: refactor code to read directory blocks ...") # 3.9 Signed-off-by: Vasily Averin --- fs/ext4/namei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index d388cce72db2..1a21e59ede72 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c

[PATCH 2/7] ext4: possible sbi->s_group_desc leak in ext4_fill_super

2018-10-31 Thread Vasily Averin
Fixes bfe0a5f47ada ("ext4: add more mount time checks of the superblock") # 4.18 Signed-off-by: Vasily Averin --- fs/ext4/super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index a221f1cdf704..ed4d36506ec2 100644 --- a/fs/ext4/super.c

Re: linux-next: Tree for Oct 31 (vboxguest)

2018-10-31 Thread Randy Dunlap
On 10/31/18 9:50 AM, Hans de Goede wrote: > Hi, > > On 31-10-18 16:51, Randy Dunlap wrote: >> On 10/30/18 8:59 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do not add any v4.21/v5.1 code to your linux-next included trees >>> until after the merge window closes. >>> >>> Changes since 2018

Re: [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates

2018-10-31 Thread Corey Minyard
On 10/31/18 1:21 PM, Thomas Gleixner wrote: Add SPDX identifiers to all files in kernel/time and remove the license boiler plates. Aside of that use the chance to get rid of (stale) file references and tidy up the top of file comments as they are touched anyway by this work. This work is based

[PATCH v2] x86/fsgsbase/64: Fix the base write helper functions

2018-10-31 Thread Chang S. Bae
Factor out the code to change index from the relavant helpers. Now, the code is located in do_arch_prctl_64(). The helper functions that purport to write the base should just write it only. It shouldn't have magic optimizations to change the index. putreg() in ptrace does not write the current ta

Re: [PATCH] staging: vt6656: clean up few indentation issues

2018-10-31 Thread Joe Perches
On Tue, 2018-10-30 at 11:13 +, Colin King wrote: > From: Colin Ian King > > Trivial fix to clean up indentation issues [] > diff --git a/drivers/staging/vt6656/main_usb.c > b/drivers/staging/vt6656/main_usb.c > index ccafcc2c87ac..b613a1d113bb 100644 > --- a/drivers/staging/vt6656/main_usb.c

[PATCH] x86/fsgsbase/64: Fix the base write helper functions

2018-10-31 Thread Chang S. Bae
Factor out the code to change index from the relavant helpers. Now, the code is located in do_arch_prctl_64(). The helper functions that purport to write the base should just write it only. It shouldn't have magic optimizations to change the index. putreg() in ptrace does not write the current ta

Re: [PATCH] x86/fsgsbase/64: Fix the base write helper functions

2018-10-31 Thread Bae, Chang Seok
> On Oct 30, 2018, at 14:25, Andy Lutomirski wrote: > > On Tue, Oct 30, 2018 at 10:28 AM Chang S. Bae > wrote: >> >> Factor out the code to change index from x86_fsbase_write_cpu() and >> x86_gsbase_write_cpu_inactive(). Now the code is located in >> do_arch_prctl_64(). >> > >> @@ -359,9

[PATCH] power: supply: cpcap-charger: clean an indentation issue, remove tab

2018-10-31 Thread Colin King
From: Colin Ian King Trivial fix to clean up indentation issue, remove an extraneous tab Signed-off-by: Colin Ian King --- drivers/power/supply/cpcap-charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/cpcap-charger.c b/drivers/power/supply/cpcap

Re: [PATCH 07/10] sched/fair: Provide can_migrate_task_llc

2018-10-31 Thread Valentin Schneider
On 31/10/2018 15:43, Steven Sistare wrote: > On 10/29/2018 3:34 PM, Valentin Schneider wrote: [...] >> Suppose you have 2 rq's sharing a workload of 3 tasks. You get one rq with >> nr_running == 1 (r_1) and one rq with nr_running == 2 (r_2). >> >> As soon as the task on r_1 ends/blocks, we'll go

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Santosh Shilimkar
On 10/31/2018 11:42 AM, Marc Zyngier wrote: On 31/10/18 18:38, Santosh Shilimkar wrote: On 10/31/2018 11:21 AM, Marc Zyngier wrote: Hi Grygorii, [...] Well, I'm convinced that we do not want a networking driver to be tied to an interrupt architecture, and that the two should be completely

Re: [PATCH] sched/fair: util_est: fix cpu_util_wake for execl

2018-10-31 Thread Peter Zijlstra
On Tue, Oct 30, 2018 at 04:09:47PM +, Patrick Bellasi wrote: > Let's fix this by ensuring to always discount the task estimated > utilization from the CPU's estimated utilization when the task is also > the current one. The same benchmark of the bug report, executed on a > dual socket 40 CPUs

[PATCH] vfs: Fix incorrect user_ns assignment in proc and mqueue

2018-10-31 Thread David Howells
The user namespace set on a proc superblock should derive from the pid_ns that the superblock is associated with and, similarly, an mqueue superblock should derive from the ipc_ns that that is associated with. Fix both of these to set the proposed user_ns appropriately in the respective get_t

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Marc Zyngier
On 31/10/18 18:38, Santosh Shilimkar wrote: > On 10/31/2018 11:21 AM, Marc Zyngier wrote: >> Hi Grygorii, >> > > [...] > >> >> Well, I'm convinced that we do not want a networking driver to be tied >> to an interrupt architecture, and that the two should be completely >> independent. But that's m

[PATCH] pinctrl: mediatek: clean up indentation issues, add missing tab

2018-10-31 Thread Colin King
From: Colin Ian King Trivial fix to clean up indentation issues, add one level of indentation on two if statements. Signed-off-by: Colin Ian King --- drivers/pinctrl/mediatek/pinctrl-moore.c | 4 ++-- drivers/pinctrl/mediatek/pinctrl-paris.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deleti

[PATCH] Fix compat_sys_preadv64v2/compat_sys_pwritev64v2

2018-10-31 Thread H.J. Lu
Update compat_sys_preadv64v2 and compat_sys_pwritev64v2 to handle the offset argument == -1, which should use and update the the current file offset. -- H.J. From 934a68be8a092dba9558bdf8025239934efb5d7e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 3 Oct 2018 08:07:18 -0700 Subject: [PAT

Re: [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates

2018-10-31 Thread Nicolas Pitre
On Wed, 31 Oct 2018, Thomas Gleixner wrote: > Add SPDX identifiers to all files in kernel/time and remove the license > boiler plates. > > Aside of that use the chance to get rid of (stale) file references and tidy > up the top of file comments as they are touched anyway by this work. > > This w

Re: [git pull] mount API series

2018-10-31 Thread David Howells
> My objections fundamentally is that I can find real problems when I look > at the code. Eric. You have repeatedly stated that there are "thinkos, typos and bugs" in the code, but you have not been very forthcoming in actually disclosing *what* those things are. You had a go at rewriting it for

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Santosh Shilimkar
On 10/31/2018 11:21 AM, Marc Zyngier wrote: Hi Grygorii, [...] Well, I'm convinced that we do not want a networking driver to be tied to an interrupt architecture, and that the two should be completely independent. But that's my own opinion. I can only see two solutions moving forward: 1)

[PATCH 3/7] arm64: allwinner: h6: Add OrangePi Lite2 initial support

2018-10-31 Thread Jagan Teki
From: Jagan Teki OrangePi Lite2 is Allwinner H6 based open-source SBC, which support: - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 - GPU Mali-T720 - 1GB LPDDR3 RAM - AXP805 PMIC - AP6356S Wifi/BT - USB 2.0, USB 3.0 Host, OTG - HDMI port - 5V/2A DC power supply Signed-off-by: Jagan Teki --- a

[PATCH 2/7] arm64: allwinner: h6: Add common orangepi nodes into dtsi

2018-10-31 Thread Jagan Teki
Orangepi H6 boards, One Plus and Lite2 shares common nodes like axp805, uart, mmc0 etc and the common differences between them is Ethernet is available in One Plus where as Wifi, USB3, CSI port is available in Lite2. So, add common orangepi nodes into sun50i-h6-orangepi.dtsi Signed-off-by: Jagan

Re: [PATCH v2] include/linux/compiler*.h: add version detection to asm_volatile_goto

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 11:29 AM wrote: > > V1 -> V2: drop changes to include/linux/compiler-gcc.h. Now the subject line of the patch doesn't match the patch any more.. Linus

<    2   3   4   5   6   7   8   9   10   11   >