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

[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

[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

[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

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

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

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

[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

[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] perf beauty: Switch from GPL v2.0 to LGPL v2.1

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

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: Introduce strarray__scnprintf_flags()

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 579e5ff629b17744f62473f314768de8b6f1e66c Gitweb: https://git.kernel.org/tip/579e5ff629b17744f62473f314768de8b6f1e66c Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 25 Oct 2018 14:21:31 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] perf trace beauty: Allow syscalls to mask an argument before considering it

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 496fd346b71ffa0ff35623e9ec79df0bad47bd66 Gitweb: https://git.kernel.org/tip/496fd346b71ffa0ff35623e9ec79df0bad47bd66 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 25 Oct 2018 16:09:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] perf trace: Consider syscall aliases too

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f932184e282f574cfd34afee917a10b782fd3e76 Gitweb: https://git.kernel.org/tip/f932184e282f574cfd34afee917a10b782fd3e76 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 25 Oct 2018 17:24:45 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] perf trace beauty: Beautify mount/umount's 'flags' argument

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 73d141adcea66de656d0c8336811f2b0bbd9700c Gitweb: https://git.kernel.org/tip/73d141adcea66de656d0c8336811f2b0bbd9700c Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 25 Oct 2018 15:18:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] perf trace: Beautify the umount's 'name' argument

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 476c92cacf383c83584ba02d06c88cf18f062afb Gitweb: https://git.kernel.org/tip/476c92cacf383c83584ba02d06c88cf18f062afb Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 26 Oct 2018 13:23:25 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] perf trace: Beautify mount's first pathname arg

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 23c07a23cbed389d0b9c7a06486574621df8d1a4 Gitweb: https://git.kernel.org/tip/23c07a23cbed389d0b9c7a06486574621df8d1a4 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 26 Oct 2018 13:51:45 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] perf top: Do not use overwrite mode by default

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 218d61110f69632974034b6e27686ce482a1c455 Gitweb: https://git.kernel.org/tip/218d61110f69632974034b6e27686ce482a1c455 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 29 Oct 2018 09:47:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:31 -0300 p

[tip:perf/urgent] perf top: Allow disabling the overwrite mode

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4e303fbe2d95806c875f5ebfcb3d980e20b4bd83 Gitweb: https://git.kernel.org/tip/4e303fbe2d95806c875f5ebfcb3d980e20b4bd83 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 26 Oct 2018 15:55:23 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Oct 2018 11:46:23 -0300 p

[tip:perf/urgent] perf unwind: Take pgoff into account when reporting elf to libdwfl

2018-10-31 Thread tip-bot for Milian Wolff
Commit-ID: 1fe627da30331024f453faef04d500079b901107 Gitweb: https://git.kernel.org/tip/1fe627da30331024f453faef04d500079b901107 Author: Milian Wolff AuthorDate: Mon, 29 Oct 2018 15:16:44 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:50 -0300 perf unwind:

[tip:perf/urgent] perf cs-etm: Correct CPU mode for samples

2018-10-31 Thread tip-bot for Leo Yan
Commit-ID: d6c9c05fe1eb4b213b183d8a1e79416256dc833a Gitweb: https://git.kernel.org/tip/d6c9c05fe1eb4b213b183d8a1e79416256dc833a Author: Leo Yan AuthorDate: Tue, 30 Oct 2018 15:18:28 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:50 -0300 perf cs-etm: Corre

[tip:perf/urgent] perf callchain: Honour the ordering of PERF_CONTEXT_{USER,KERNEL,etc}

2018-10-31 Thread tip-bot for David S. Miller
Commit-ID: e9024d519d892b38176cafd46f68a7c77412 Gitweb: https://git.kernel.org/tip/e9024d519d892b38176cafd46f68a7c77412 Author: David S. Miller AuthorDate: Tue, 30 Oct 2018 12:12:26 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:51 -0300 perf callc

[tip:perf/urgent] tools include uapi: Update linux/fs.h copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 733ac4f9935c4b257aff2ec476e6c20665daf6c2 Gitweb: https://git.kernel.org/tip/733ac4f9935c4b257aff2ec476e6c20665daf6c2 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 12:27:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:51 -0300 t

[tip:perf/urgent] tools arch uapi: Update asm-generic/unistd.h and arm64 unistd.h copies

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8dd4c0f68c0db4c0f01af60a99a7ed34fd3dee2b Gitweb: https://git.kernel.org/tip/8dd4c0f68c0db4c0f01af60a99a7ed34fd3dee2b Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 13:10:50 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:51 -0300 t

[tip:perf/urgent] tools include uapi: Update asound.h copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 89eb1f3b7f2a9156ce6f78713d7924c1bb2fab9f Gitweb: https://git.kernel.org/tip/89eb1f3b7f2a9156ce6f78713d7924c1bb2fab9f Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 14:20:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:52 -0300 t

[tip:perf/urgent] perf beauty: Add a generator for MAP_ mmap's flag constants

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 80ee5668b8a755039ca6180c6272a6e8efee5aad Gitweb: https://git.kernel.org/tip/80ee5668b8a755039ca6180c6272a6e8efee5aad Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 15:26:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:52 -0300 p

[tip:perf/urgent] perf beauty: Wire up the mmap flags table generator to the Makefile

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fbd7458db75790e37903c75be68513a4c087737c Gitweb: https://git.kernel.org/tip/fbd7458db75790e37903c75be68513a4c087737c Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 16:11:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:52 -0300 p

Re: remove exofs and the T10 OSD code V2

2018-10-31 Thread Finn Thain
On Wed, 31 Oct 2018, Boaz Harrosh wrote: > > [...] All changes made by other kernel developers than you are the > > result of tree-wide refactoring, compiler warning fixes, fixes for > > issues detected by static source code analyzers or spelling fixes. > > Hence my question: how big is the use

[tip:perf/urgent] perf trace beauty: Use the mmap flags table generated from headers

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2f967f1dbbc1f746ad0deda8352bcf563d59e1c7 Gitweb: https://git.kernel.org/tip/2f967f1dbbc1f746ad0deda8352bcf563d59e1c7 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 16:30:38 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:53 -0300 p

[tip:perf/urgent] tools include uapi: Update linux/mmap.h copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 685626dc26bd9cead850d06520708acbd16bcfda Gitweb: https://git.kernel.org/tip/685626dc26bd9cead850d06520708acbd16bcfda Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 16:50:08 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:53 -0300 t

[tip:perf/urgent] tools headers: Sync the various kvm.h header copies

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 827758129a0f84fbd0b2dda15e14a77a7604803d Gitweb: https://git.kernel.org/tip/827758129a0f84fbd0b2dda15e14a77a7604803d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 17:01:46 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:53 -0300 t

[tip:perf/urgent] tools headers uapi: Update linux/netlink.h header copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d45a57fff0a657045a77b395ae713ffae0cb4e46 Gitweb: https://git.kernel.org/tip/d45a57fff0a657045a77b395ae713ffae0cb4e46 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 17:04:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:54 -0300 t

[tip:perf/urgent] tools headers uapi: Update linux/if_link.h header copy

2018-10-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 76b0b801782b34b3028dcef3de36cb634e3908a8 Gitweb: https://git.kernel.org/tip/76b0b801782b34b3028dcef3de36cb634e3908a8 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 30 Oct 2018 17:06:57 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 09:57:54 -0300 t

Re: [PATCH v2] kselftests/bpf: use ping6 as the default ipv6 ping binary if it exists

2018-10-31 Thread Daniel Borkmann
On 10/30/2018 07:35 PM, Song Liu wrote: > On Mon, Oct 29, 2018 at 7:35 PM Li Zhijian wrote: >> >> ping binary on some distros doesn't support "ping -6" anymore. >> >> Signed-off-by: Li Zhijian > > I think this should go bpf-next. Please resubmit when the bpf-next tree is > open > (after the mer

[tip:perf/urgent] perf top: Start display thread earlier

2018-10-31 Thread tip-bot for David Miller
Commit-ID: ff27a06af6ffd3f49b9e193eb68f487ad76651e1 Gitweb: https://git.kernel.org/tip/ff27a06af6ffd3f49b9e193eb68f487ad76651e1 Author: David Miller AuthorDate: Tue, 30 Oct 2018 22:30:03 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 10:10:11 -0300 perf top: Sta

[tip:perf/urgent] perf tools: Don't clone maps from parent when synthesizing forks

2018-10-31 Thread tip-bot for David Miller
Commit-ID: 4f8f382e635707ddaddf8269a116e4f8cc8835c0 Gitweb: https://git.kernel.org/tip/4f8f382e635707ddaddf8269a116e4f8cc8835c0 Author: David Miller AuthorDate: Tue, 30 Oct 2018 22:24:04 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 10:18:01 -0300 perf tools: D

[tip:perf/urgent] perf intel-pt: Insert callchain context into synthesized callchains

2018-10-31 Thread tip-bot for Adrian Hunter
Commit-ID: 242483068b4b9ad02f1653819b6e683577681e0e Gitweb: https://git.kernel.org/tip/242483068b4b9ad02f1653819b6e683577681e0e Author: Adrian Hunter AuthorDate: Wed, 31 Oct 2018 11:10:42 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 12:54:27 -0300 perf intel-p

[tip:perf/urgent] perf intel-pt/bts: Calculate cpumode for synthesized samples

2018-10-31 Thread tip-bot for Adrian Hunter
Commit-ID: 5d4f0edaa3ac4f1844ed7c64cd2bae6f1912bac5 Gitweb: https://git.kernel.org/tip/5d4f0edaa3ac4f1844ed7c64cd2bae6f1912bac5 Author: Adrian Hunter AuthorDate: Wed, 31 Oct 2018 11:10:43 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 31 Oct 2018 12:56:26 -0300 perf intel-p

[Patch v4 3/3] CIFS: Add direct I/O functions to file_operations

2018-10-31 Thread Long Li
From: Long Li With direct read/write functions implemented, add them to file_operations. Dircet I/O is used under two conditions: 1. When mounting with "cache=none", CIFS uses direct I/O for all user file data transfer. 2. When opening a file with O_DIRECT, CIFS uses direct I/O for all data tran

[Patch v4 1/3] CIFS: Add support for direct I/O read

2018-10-31 Thread Long Li
From: Long Li With direct I/O read, we transfer the data directly from transport layer to the user data buffer. Change in v3: add support for kernel AIO Change in v4: Refactor common read code to __cifs_readv for direct and non-direct I/O. Retry on direct I/O failure. Signed-off-by: Long Li -

[Patch v4 2/3] CIFS: Add support for direct I/O write

2018-10-31 Thread Long Li
From: Long Li With direct I/O write, user supplied buffers are pinned to the memory and data are transferred directly from user buffers to the transport layer. Change in v3: add support for kernel AIO Change in v4: Refactor common write code to __cifs_writev for direct and non-direct I/O. Retry

Re: [PATCH 0/2] perf tests: Check for ARM [vectors] page

2018-10-31 Thread Florian Fainelli
On 10/24/18 5:09 PM, Florian Fainelli wrote: > Hi all, > > I just painfully learned that perf would segfault when > CONFIG_KUSER_HELPERS is disabled because it unconditionally makes use of > it. This patch series adds an ARM test for that by leveraging the > existing find_vdso_map() function and m

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

2018-10-31 Thread Pierre-Louis Bossart
Just thought it worth mentioning, this new patch that fixes sound again, seems to have ressurected an old issue with PLL unlock. I'm seeing journal entries after fresh boot .. ``` picard kernel: max98090 i2c-193C9890:00: PLL unlocked picard systemd[462]: Started Sound Service. picard kern

Re: [GIT PULL] c6x changes for 4.20

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 12:59 PM Mark Salter wrote: > > c6x changes for 4.20 Pulled, Linus

Fix for 10-second delay bug for -stable

2018-10-31 Thread Paul E. McKenney
Hello! I have lightly tested the following backport of 92aa39e9dc77 ("rcu: Make need_resched() respond to urgent RCU-QS needs") on v4.12-v4.19. Does it look reasonable from your viewpoint? If I don't hear otherwise, I will send it along to -stable at the end of this coming weekend, Pacific Time.

Re: [GIT PULL] UML changes for 4.20-rc1

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 2:22 PM Richard Weinberger wrote: > > - Removal of old and dead code > - A bug fix for our tty driver > - Other minor cleanups across the code base Pulled. I may not like recent rebases, but I do like this: > 11 files changed, 19 insertions(+), 456 deletions(-) > delete

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

2018-10-31 Thread Olof Johansson
On Wed, Oct 31, 2018 at 1:42 PM Palmer Dabbelt wrote: > > 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 boo

Re: [PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-31 Thread Florian Fainelli
On 10/25/18 12:26 PM, Andrew Lunn wrote: > On Thu, Oct 25, 2018 at 12:01:08PM -0700, Florian Fainelli wrote: >> Some software such as perf makes unconditional use of the special >> [vectors] page which is only provided when CONFIG_KUSER_HELPERS is >> enabled in the kernel. >> >> Facilitate the debu

Miss Aminata musa ibrahim from Libya

2018-10-31 Thread Miss Amina musa ibrahim
-- Miss Aminata musa ibrahim from Libya, I am 22 years old, I am in St. Christopher's Parish for refugee in Burkina Faso under United Nations High commission for Refugee ,I lost my parents in the recent war in Libya, right now am in Burkina Faso, please save my life i am in danger need your

Re: [GIT PULL] UML changes for 4.20-rc1

2018-10-31 Thread Richard Weinberger
Am Mittwoch, 31. Oktober 2018, 23:48:07 CET schrieb Linus Torvalds: > On Wed, Oct 31, 2018 at 2:22 PM Richard Weinberger wrote: > > > > - Removal of old and dead code > > - A bug fix for our tty driver > > - Other minor cleanups across the code base > > Pulled. I may not like recent rebases, but

[PATCH AUTOSEL 4.19 005/146] netfilter: xt_nat: fix DNAT target for shifted portmap ranges

2018-10-31 Thread Sasha Levin
From: Paolo Abeni [ Upstream commit cb20f2d2c0507d60d94ef896991e95708f051dd1 ] The commit 2eb0f624b709 ("netfilter: add NAT support for shifted portmap ranges") did not set the checkentry/destroy callbacks for the newly added DNAT target. As a result, rulesets using only such nat targets are not

[PATCH AUTOSEL 4.19 002/146] net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode

2018-10-31 Thread Sasha Levin
From: Ivan Khoronzhuk [ Upstream commit 9737cc99dd14b5b8b9d267618a6061feade8ea68 ] After flushing all mcast entries from the table, the ones contained in mc list of ndev are not restored when promisc mode is toggled off, because they are considered as synched with ALE, thus, in order to restore

[PATCH AUTOSEL 4.19 001/146] net: socionext: Reset tx queue in ndo_stop

2018-10-31 Thread Sasha Levin
From: Masahisa Kojima [ Upstream commit 8d5b0bf611ec5b7618d5b772dddc93b8afa78cb8 ] We observed that packets and bytes count are not reset when user performs interface down. Eventually, tx queue is exhausted and packets will not be sent out. To avoid this problem, resets tx queue in ndo_stop. Fi

[PATCH AUTOSEL 4.19 008/146] arm64: cpufeature: ctr: Fix cpu capability check for late CPUs

2018-10-31 Thread Sasha Levin
From: Suzuki K Poulose [ Upstream commit 8ab66cbe63aeaf9e5970fb4aaef1c660fca59321 ] The matches() routine for a capability must honor the "scope" passed to it and return the proper results. i.e, when passed with SCOPE_LOCAL_CPU, it should check the status of the capability on the current CPU. Th

[PATCH AUTOSEL 4.19 012/146] s390/sthyi: Fix machine name validity indication

2018-10-31 Thread Sasha Levin
From: Janosch Frank [ Upstream commit b5130dc2224d1881f24224c0590c6d97f2168d6a ] When running as a level 3 guest with no host provided sthyi support sclp_ocf_cpc_name_copy() will only return zeroes. Zeroes are not a valid group name, so let's not indicate that the group name field is valid. Als

[PATCH AUTOSEL 4.19 018/146] perf tools: Free temporary 'sys' string in read_event_files()

2018-10-31 Thread Sasha Levin
From: Sanskriti Sharma [ Upstream commit 1e44224fb0528b4c0cc176bde2bb31e9127eb14b ] For each system in a given pevent, read_event_files() reads in a temporary 'sys' string. Be sure to free this string before moving onto to the next system and/or leaving read_event_files(). Fixes the following

[PATCH AUTOSEL 4.19 015/146] lightnvm: pblk: fix two sleep-in-atomic-context bugs

2018-10-31 Thread Sasha Levin
From: Jia-Ju Bai [ Upstream commit 7325b4bbe5952e3e939f15de812f2ee0c0d33ca9 ] The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] nvm_dev_dma_alloc(GFP_KERNEL) drivers/lightnvm/pblk-core.c, 754: nvm_dev_dma_alloc in pblk_

[PATCH AUTOSEL 4.19 027/146] iwlwifi: pcie: avoid empty free RB queue

2018-10-31 Thread Sasha Levin
From: Shaul Triebitz [ Upstream commit 868a1e863f95183f00809363fefba6d4f5bcd116 ] If all free RB queues are empty, the driver will never restock the free RB queue. That's because the restocking happens in the Rx flow, and if the free queue is empty there will be no Rx. Although there's a backg

[PATCH AUTOSEL 4.19 026/146] mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset

2018-10-31 Thread Sasha Levin
From: Masahiro Yamada [ Upstream commit 0d55c668b218a1db68b5044bce4de74e1bd0f0c8 ] NAND devices need additional data area (OOB) for error correction, but it is also used for Bad Block Marker (BBM). In many cases, the first byte in OOB is used for BBM, but the location actually depends on chip v

[PATCH AUTOSEL 4.19 065/146] failover: Add missing check to validate 'slave_dev' in net_failover_slave_unregister

2018-10-31 Thread Sasha Levin
From: YueHaibing [ Upstream commit 9e7e6cabf371cc008cb2244a04c012b516753693 ] Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/net_failover.c: In function 'net_failover_slave_unregister': drivers/net/net_failover.c:598:35: warning: variable 'primary_dev' set but not used [-Wunused-bu

[PATCH AUTOSEL 4.19 072/146] net: dsa: mv88e6xxx: Fix writing to a PHY page.

2018-10-31 Thread Sasha Levin
From: Andrew Lunn [ Upstream commit c309b158090d788e96ee597444965cb79b040484 ] After changing to the needed page, actually write the value to the register! Fixes: 09cb7dfd3f14 ("net: dsa: mv88e6xxx: describe PHY page and SerDes") Signed-off-by: Andrew Lunn Signed-off-by: David S. Miller Signe

[PATCH AUTOSEL 4.19 073/146] mt76x2u: run device cleanup routine if resume fails

2018-10-31 Thread Sasha Levin
From: Lorenzo Bianconi [ Upstream commit 9b2fd48d36e25b9be9ddb8be8cc1eb263a1d1843 ] Cleanup {tx,rx} and mcu queues if resume operation fails Fixes: ee676cd5017c ("mt76: add driver code for MT76x2u based devices") Signed-off-by: Lorenzo Bianconi Signed-off-by: Kalle Valo Signed-off-by: Sasha L

[PATCH AUTOSEL 4.19 066/146] perf tests: Fix record+probe_libc_inet_pton.sh without ping's debuginfo

2018-10-31 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 1632936480a53d85ef3012cd9f290e247251cbb9 ] When we don't have the iputils-debuginfo package installed, i.e. when we don't have the DWARF information needed to resolve ping's samples, we end up failing this 'perf test' entry: # perf test ping

[PATCH AUTOSEL 4.19 069/146] net: hns3: Preserve vlan 0 in hardware table

2018-10-31 Thread Sasha Levin
From: Yunsheng Lin [ Upstream commit daaa8521760ee4d4e65f309c4c37b3a1e58c9d4e ] When netdev is down, the stack will delete the vlan from hardware including vlan0, which will cause problem when doing loopback selftest when netdev is down. This patch fixes it by always preserving vlan 0 in hardwa

[PATCH AUTOSEL 4.19 063/146] pinctrl: qcom: spmi-mpp: Fix drive strength setting

2018-10-31 Thread Sasha Levin
From: Stephen Boyd [ Upstream commit 89c68b102f13f123aaef22b292526d6b92501334 ] It looks like we parse the drive strength setting here, but never actually write it into the hardware to update it. Parse the setting and then write it at the end of the pinconf setting function so that it actually s

[PATCH AUTOSEL 4.19 041/146] ath10k: fix tx status flag setting for management frames

2018-10-31 Thread Sasha Levin
From: Rakesh Pillai [ Upstream commit 058a7eab9d9ee12f57282eb0b606668dada70d7a ] The tx_status for management frames is being filled incorrectly in the flags of skb_cb. This incorrect flag setting causes the upper layers to consider that the particular frame was not transmitted properly, leading

[PATCH AUTOSEL 4.19 040/146] nvme: call nvme_complete_rq when nvmf_check_ready fails for mpath I/O

2018-10-31 Thread Sasha Levin
From: James Smart [ Upstream commit 783f4a4408e1251d17f333ad56abac24dde988b9 ] When an io is rejected by nvmf_check_ready() due to validation of the controller state, the nvmf_fail_nonready_command() will normally return BLK_STS_RESOURCE to requeue and retry. However, if the controller is dying

[PATCH AUTOSEL 4.19 056/146] net: hns3: Set STATE_DOWN bit of hdev state when stopping net

2018-10-31 Thread Sasha Levin
From: Fuyun Liang [ Upstream commit 2f7e489611bc685b8e00aba436032a8aac6cac57 ] We clear STATE_DOWN bit of hdev state when starting net, but do not set it again when stopping net. It causes that the net is down, but hdev state is still up. STATE_DOWN bit of hdev state should be set when stopping

[PATCH AUTOSEL 4.19 045/146] net: hns3: Fix for packet buffer setting bug

2018-10-31 Thread Sasha Levin
From: Yunsheng Lin [ Upstream commit 996ff91840eb6f288826e472685abde78bac20ea ] The hardware expects a unit of 128 bytes when setting packet buffer. When calculating the packet buffer size, hclge_rx_buffer_calc does not round up the size as a unit of 128 byte, which may casue packet lost problem

[PATCH AUTOSEL 4.19 031/146] wlcore: Fix BUG with clear completion on timeout

2018-10-31 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 4e651bad848955d88b29a568bfbfb4b831270e16 ] We do not currently clear wl->elp_compl on ELP timeout and we have bogus lingering pointer that wlcore_irq then will try to access after recovery is done: BUG: spinlock bad magic on CPU#1, irq/255-wl12xx/580 ... (s

[PATCH AUTOSEL 4.19 039/146] regulator: fixed: Default enable high on DT regulators

2018-10-31 Thread Sasha Levin
From: Linus Walleij [ Upstream commit 28be5f15df2ee6882b0a122693159c96a28203c7 ] commit efdfeb079cc3 ("regulator: fixed: Convert to use GPIO descriptor only") switched to use gpiod_get() to look up the regulator from the gpiolib core whether that is device tree or boardfile. This meant that we

[PATCH AUTOSEL 4.19 053/146] pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux

2018-10-31 Thread Sasha Levin
From: YueHaibing [ Upstream commit 69f8455f6cc78fa6cdf80d0105d7a748106271dc ] 'ret' should be returned while pmic_mpp_write_mode_ctl fails. Fixes: 0e948042c420 ("pinctrl: qcom: spmi-mpp: Implement support for sink mode") Signed-off-by: YueHaibing Signed-off-by: Linus Walleij Signed-off-by: Sa

[PATCH AUTOSEL 4.19 049/146] x86: boot: Fix EFI stub alignment

2018-10-31 Thread Sasha Levin
From: Ben Hutchings [ Upstream commit 9c1442a9d039a1a3302fa93e9a11001c5f23b624 ] We currently align the end of the compressed image to a multiple of 16. However, the PE-COFF header included in the EFI stub says that the file alignment is 32 bytes, and when adding an EFI signature to the file it

[PATCH AUTOSEL 4.19 085/146] cifs: fix a credits leak for compund commands

2018-10-31 Thread Sasha Levin
From: Ronnie Sahlberg [ Upstream commit cb5c2e63948451d38c977685fffc06e23beb4517 ] When processing the mids for compounds we would only add credits based on the last successful mid in the compound which would leak credits and eventually triggering a re-connect. Fix this by splitting the mid pro

[PATCH AUTOSEL 4.19 086/146] cgroup, netclassid: add a preemption point to write_classid

2018-10-31 Thread Sasha Levin
From: Michal Hocko [ Upstream commit a90e90b7d55e789c71d85b946ffb5c1ab2f137ca ] We have seen a customer complaining about soft lockups on !PREEMPT kernel config with 4.4 based kernel [1072141.435366] NMI watchdog: BUG: soft lockup - CPU#21 stuck for 22s! [systemd:1] [1072141.444090] Modules li

[PATCH AUTOSEL 4.19 076/146] iwlwifi: mvm: fix BAR seq ctrl reporting

2018-10-31 Thread Sasha Levin
From: Sara Sharon [ Upstream commit 941ab4eb66c10bc5c7234e83a7a858b2806ed151 ] There is a bug in FW where the sequence control may be incorrect, and the driver overrides it with the value of the ieee80211 header. However, in BAR there is no sequence control in the header, which result with arbi

[PATCH AUTOSEL 4.19 094/146] UAPI: ndctl: Fix g++-unsupported initialisation in headers

2018-10-31 Thread Sasha Levin
From: David Howells [ Upstream commit 9607871f37dc3e717639694b8d0dc738f2a68efc ] The following code in the linux/ndctl header file: static inline const char *nvdimm_bus_cmd_name(unsigned cmd) { static const char * const names[] = { [ND_CMD

[PATCH AUTOSEL 4.19 103/146] PCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic

2018-10-31 Thread Sasha Levin
From: Honghui Zhang [ Upstream commit 074d6f32689ce05a084b6fa3db38445745bf11cc ] The Mediatek's host controller has two slots, each with its own control registers. The host driver needs to identify what slot is connected to what port in order to access the device's configuration space. Current

[PATCH AUTOSEL 4.19 108/146] Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask

2018-10-31 Thread Sasha Levin
From: Dexuan Cui [ Upstream commit 25355252607ca288f329ee033f387764883393f6 ] A cpumask structure on the stack can cause a warning with CONFIG_NR_CPUS=8192 (e.g. Ubuntu 16.04 and 18.04 use this): drivers/hv//channel_mgmt.c: In function ‘init_vp_index’: drivers/hv//channel_mgmt.c:702:1: warning:

[PATCH AUTOSEL 4.19 110/146] VMCI: Resource wildcard match fixed

2018-10-31 Thread Sasha Levin
From: Jorgen Hansen [ Upstream commit 11924ba5e671d6caef1516923e2bd8c72929a3fe ] When adding a VMCI resource, the check for an existing entry would ignore that the new entry could be a wildcard. This could result in multiple resource entries that would match a given handle. One disastrous outcom

[PATCH AUTOSEL 4.19 105/146] usb: typec: tcpm: Report back negotiated PPS voltage and current

2018-10-31 Thread Sasha Levin
From: Adam Thomson [ Upstream commit 554fab6dbf20ee7298ed2d4e8398b85e6058abb7 ] Currently when requesting a specific voltage or current through the psy interface, for PPS, when reading back from that interface the values will always be the same as previously given, if the request was successful.

[PATCH AUTOSEL 4.19 124/146] f2fs: fix to recover inode's i_flags during POR

2018-10-31 Thread Sasha Levin
From: Chao Yu [ Upstream commit 19c73a691ccf6fb2f12d4e9cf9830023966cec88 ] Testcase to reproduce this bug: 1. mkfs.f2fs /dev/sdd 2. mount -t f2fs /dev/sdd /mnt/f2fs 3. touch /mnt/f2fs/file 4. sync 5. chattr +A /mnt/f2fs/file 6. xfs_io -f /mnt/f2fs/file -c "fsync" 7. godown /mnt/f2fs 8. umount /m

[PATCH AUTOSEL 4.19 144/146] dmaengine: dma-jz4780: Return error if not probed from DT

2018-10-31 Thread Sasha Levin
From: Paul Cercueil [ Upstream commit 54f919a04cf221bc1601d1193682d4379dacacbd ] The driver calls clk_get() with the clock name set to NULL, which means that the driver could only work when probed from devicetree. From now on, we explicitly require the driver to be probed from devicetree. Signe

[PATCH AUTOSEL 4.18 021/126] mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01

2018-10-31 Thread Sasha Levin
From: Yu Zhao [ Upstream commit 5169894982bb67486d93cc1e10151712bb86bcb6 ] This device reports SDHCI_CLOCK_INT_STABLE even though it's not ready to take SDHCI_CLOCK_CARD_EN. The symptom is that reading SDHCI_CLOCK_CONTROL after enabling the clock shows absence of the bit from the register (e.g.

[PATCH AUTOSEL 4.18 024/126] iwlwifi: pcie: avoid empty free RB queue

2018-10-31 Thread Sasha Levin
From: Shaul Triebitz [ Upstream commit 868a1e863f95183f00809363fefba6d4f5bcd116 ] If all free RB queues are empty, the driver will never restock the free RB queue. That's because the restocking happens in the Rx flow, and if the free queue is empty there will be no Rx. Although there's a backg

[PATCH AUTOSEL 4.19 145/146] IB/rxe: fix for duplicate request processing and ack psns

2018-10-31 Thread Sasha Levin
From: Vijay Immanuel [ Upstream commit b97db58557f4aa6d9903f8e1deea6b3d1ed0ba43 ] Don't reset the resp opcode for a replayed read response. The resp opcode could be in the middle of a write or send sequence, when the duplicate read request was received. An example sequence is as follows: - Recei

[PATCH AUTOSEL 4.18 009/126] tun: Consistently configure generic netdev params via rtnetlink

2018-10-31 Thread Sasha Levin
From: Serhey Popovych [ Upstream commit df52eab23d703142c766ac00bdb8db19d71238d0 ] Configuring generic network device parameters on tun will fail in presence of IFLA_INFO_KIND attribute in IFLA_LINKINFO nested attribute since tun_validate() always return failure. This can be visualized with fol

[PATCH AUTOSEL 4.18 018/126] perf strbuf: Match va_{add,copy} with va_end

2018-10-31 Thread Sasha Levin
From: Sanskriti Sharma [ Upstream commit ce49d8436cffa9b7a6a5f110879d53e89dbc6746 ] Ensure that all code paths in strbuf_addv() call va_end() on the ap_saved copy that was made. Fixes the following coverity complaint: Error: VARARGS (CWE-237): [#def683] tools/perf/util/strbuf.c:106: missin

[PATCH AUTOSEL 4.18 002/126] net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode

2018-10-31 Thread Sasha Levin
From: Ivan Khoronzhuk [ Upstream commit 9737cc99dd14b5b8b9d267618a6061feade8ea68 ] After flushing all mcast entries from the table, the ones contained in mc list of ndev are not restored when promisc mode is toggled off, because they are considered as synched with ALE, thus, in order to restore

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