Re: Multiple generic PHY instances for DWC3 USB IP

2018-04-03 Thread Masahiro Yamada
2018-04-04 14:36 GMT+09:00 Felipe Balbi : > > Hi, > > Masahiro Yamada writes: >> Currently, DWC3 core IP (drivers/usb/dwc3/core.c) >> can take only one PHY phandle for each of SS, HS. >> (phy-names DT property is "usb2-phy" and

Re: Multiple generic PHY instances for DWC3 USB IP

2018-04-03 Thread Masahiro Yamada
2018-04-04 14:36 GMT+09:00 Felipe Balbi : > > Hi, > > Masahiro Yamada writes: >> Currently, DWC3 core IP (drivers/usb/dwc3/core.c) >> can take only one PHY phandle for each of SS, HS. >> (phy-names DT property is "usb2-phy" and "usb3-phy" for each) > > We never had any other requirements :-) > >>

Re: [PATCH 1/1] dmaengine:jz4740:fix memory leak

2018-04-03 Thread Vinod Koul
On Wed, Apr 04, 2018 at 11:21:58AM +0800, Xidong Wang wrote: > In function jz4740_dma_probe(), the memory allocated by > clk_get() is not released on the error path that ret, which holds > the return value of dma_async_device_register(), is not NULL. > This will result in a memory leak bug. I

Re: [PATCH 1/1] dmaengine:jz4740:fix memory leak

2018-04-03 Thread Vinod Koul
On Wed, Apr 04, 2018 at 11:21:58AM +0800, Xidong Wang wrote: > In function jz4740_dma_probe(), the memory allocated by > clk_get() is not released on the error path that ret, which holds > the return value of dma_async_device_register(), is not NULL. > This will result in a memory leak bug. I

Re: [PATCH] dmaengine: rcar-dmac: Fix too early/late system suspend/resume callbacks

2018-04-03 Thread Vinod Koul
On Thu, Mar 29, 2018 at 06:53:32PM +0200, Geert Uytterhoeven wrote: > If serial console wake-up is enabled ("echo enabled > > /sys/.../ttySC0/power/wakeup"), and any serial input is received while > the system is suspended, serial port input no longer works after system > resume. > > Note that: >

Re: [PATCH] dmaengine: rcar-dmac: Fix too early/late system suspend/resume callbacks

2018-04-03 Thread Vinod Koul
On Thu, Mar 29, 2018 at 06:53:32PM +0200, Geert Uytterhoeven wrote: > If serial console wake-up is enabled ("echo enabled > > /sys/.../ttySC0/power/wakeup"), and any serial input is received while > the system is suspended, serial port input no longer works after system > resume. > > Note that: >

tools include: define READ_ONCE/WRITE_ONCE for C++

2018-04-03 Thread Sandipan Das
From: Li Zhijian since 6aa7de0, we failed to build perf with C++(clang) to fix the following compile errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 ... CC

tools include: define READ_ONCE/WRITE_ONCE for C++

2018-04-03 Thread Sandipan Das
From: Li Zhijian since 6aa7de0, we failed to build perf with C++(clang) to fix the following compile errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 ... CC util/probe-finder.o In file included from

Re: Multiple generic PHY instances for DWC3 USB IP

2018-04-03 Thread Felipe Balbi
Hi, Masahiro Yamada writes: > Currently, DWC3 core IP (drivers/usb/dwc3/core.c) > can take only one PHY phandle for each of SS, HS. > (phy-names DT property is "usb2-phy" and "usb3-phy" for each) We never had any other requirements :-) > The DWC3 core IP is

Re: Multiple generic PHY instances for DWC3 USB IP

2018-04-03 Thread Felipe Balbi
Hi, Masahiro Yamada writes: > Currently, DWC3 core IP (drivers/usb/dwc3/core.c) > can take only one PHY phandle for each of SS, HS. > (phy-names DT property is "usb2-phy" and "usb3-phy" for each) We never had any other requirements :-) > The DWC3 core IP is provided by Synopsys, > but some

[tip:perf/urgent] perf trace: Remove redundant ')'

2018-04-03 Thread tip-bot for Changbin Du
Commit-ID: 51125a29a395048fdb3429b8c4ca0ada57097744 Gitweb: https://git.kernel.org/tip/51125a29a395048fdb3429b8c4ca0ada57097744 Author: Changbin Du AuthorDate: Tue, 13 Mar 2018 18:40:01 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3

[tip:perf/urgent] perf trace: Remove redundant ')'

2018-04-03 Thread tip-bot for Changbin Du
Commit-ID: 51125a29a395048fdb3429b8c4ca0ada57097744 Gitweb: https://git.kernel.org/tip/51125a29a395048fdb3429b8c4ca0ada57097744 Author: Changbin Du AuthorDate: Tue, 13 Mar 2018 18:40:01 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 16:16:41 -0300 perf trace:

[tip:perf/urgent] perf annotate stdio2: Print more descriptive event information header

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 520d3f01ea5322edeedff4bb25a0aff07ad72d43 Gitweb: https://git.kernel.org/tip/520d3f01ea5322edeedff4bb25a0aff07ad72d43 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 16:42:01 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf annotate stdio2: Print more descriptive event information header

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 520d3f01ea5322edeedff4bb25a0aff07ad72d43 Gitweb: https://git.kernel.org/tip/520d3f01ea5322edeedff4bb25a0aff07ad72d43 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 16:42:01 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 16:05:13 -0300

[tip:perf/urgent] perf annotate browser: Show extra title line with event information

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6920e2854e9a16226ca57199d48fd6b68819f6d5 Gitweb: https://git.kernel.org/tip/6920e2854e9a16226ca57199d48fd6b68819f6d5 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 16:18:45 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf annotate browser: Show extra title line with event information

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6920e2854e9a16226ca57199d48fd6b68819f6d5 Gitweb: https://git.kernel.org/tip/6920e2854e9a16226ca57199d48fd6b68819f6d5 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 16:18:45 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 15:23:11 -0300

Re: [RFC] prctl: Deprecate non PR_SET_MM_MAP operations

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 16:15:20, Yang Shi wrote: > > > On 4/3/18 3:37 PM, Cyrill Gorcunov wrote: > > An ability to manipulate mm_struct fields was introduced in > > sake of CRIU in first place. Later we provide more suitable > > and safe operation PR_SET_MM_MAP where all fields to be modifed > > are

Re: [RFC] prctl: Deprecate non PR_SET_MM_MAP operations

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 16:15:20, Yang Shi wrote: > > > On 4/3/18 3:37 PM, Cyrill Gorcunov wrote: > > An ability to manipulate mm_struct fields was introduced in > > sake of CRIU in first place. Later we provide more suitable > > and safe operation PR_SET_MM_MAP where all fields to be modifed > > are

[tip:perf/urgent] perf annotate: Introduce annotation__scnprintf_samples_period() method

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b213eac245aa2d29a3b9dd90f3b96ab182337ee8 Gitweb: https://git.kernel.org/tip/b213eac245aa2d29a3b9dd90f3b96ab182337ee8 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 3 Apr 2018 15:19:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf annotate: Introduce annotation__scnprintf_samples_period() method

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b213eac245aa2d29a3b9dd90f3b96ab182337ee8 Gitweb: https://git.kernel.org/tip/b213eac245aa2d29a3b9dd90f3b96ab182337ee8 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 3 Apr 2018 15:19:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 15:22:55 -0300

[tip:perf/urgent] perf ui browser: Move the extra title lines from the hists browser

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ef9ff6017e3c4593f3efa5776784cb417c58ad6c Gitweb: https://git.kernel.org/tip/ef9ff6017e3c4593f3efa5776784cb417c58ad6c Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 15:48:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf ui browser: Move the extra title lines from the hists browser

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ef9ff6017e3c4593f3efa5776784cb417c58ad6c Gitweb: https://git.kernel.org/tip/ef9ff6017e3c4593f3efa5776784cb417c58ad6c Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 15:48:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 10:24:26 -0300

[tip:perf/urgent] perf hists: Introduce hists__scnprint_title()

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 967a464a7e6d939f0b0dbb4ee41bd3d515fa9a6d Gitweb: https://git.kernel.org/tip/967a464a7e6d939f0b0dbb4ee41bd3d515fa9a6d Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 14:20:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf hists: Introduce hists__scnprint_title()

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 967a464a7e6d939f0b0dbb4ee41bd3d515fa9a6d Gitweb: https://git.kernel.org/tip/967a464a7e6d939f0b0dbb4ee41bd3d515fa9a6d Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 14:20:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 10:23:18 -0300

[REGRESSION][BISECTED] i.MX6 pinctrl hogs stopped working

2018-04-03 Thread Mika Penttilä
Hi! Reverting this made the hogs on a i.MX6 board work again. : commit b89405b6102fcc3746f43697b826028caa94c823 Author: Richard Fitzgerald Date: Wed Feb 28 15:53:06 2018 + pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs --Mika

[REGRESSION][BISECTED] i.MX6 pinctrl hogs stopped working

2018-04-03 Thread Mika Penttilä
Hi! Reverting this made the hogs on a i.MX6 board work again. : commit b89405b6102fcc3746f43697b826028caa94c823 Author: Richard Fitzgerald Date: Wed Feb 28 15:53:06 2018 + pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs --Mika

[tip:perf/urgent] perf hists: Move hists__scnprintf_title() away from the TUI code

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 25c312dbf88ca402bf47389c5aa4f1552799a8ca Gitweb: https://git.kernel.org/tip/25c312dbf88ca402bf47389c5aa4f1552799a8ca Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 14:24:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf hists: Move hists__scnprintf_title() away from the TUI code

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 25c312dbf88ca402bf47389c5aa4f1552799a8ca Gitweb: https://git.kernel.org/tip/25c312dbf88ca402bf47389c5aa4f1552799a8ca Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 14:24:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 10:23:32 -0300

[tip:perf/urgent] perf hists browser: Rename perf_evsel_browser_title to a more descriptive name

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f016d24acd95660ca264e0424c8037391d165553 Gitweb: https://git.kernel.org/tip/f016d24acd95660ca264e0424c8037391d165553 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 14:00:04 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf version: Add man page

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: 709846725673a944ee38da1c275a6dfbf0576d0f Gitweb: https://git.kernel.org/tip/709846725673a944ee38da1c275a6dfbf0576d0f Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:16 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2

[tip:perf/urgent] perf hists browser: Rename perf_evsel_browser_title to a more descriptive name

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f016d24acd95660ca264e0424c8037391d165553 Gitweb: https://git.kernel.org/tip/f016d24acd95660ca264e0424c8037391d165553 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Apr 2018 14:00:04 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 10:22:42 -0300

[tip:perf/urgent] perf version: Add man page

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: 709846725673a944ee38da1c275a6dfbf0576d0f Gitweb: https://git.kernel.org/tip/709846725673a944ee38da1c275a6dfbf0576d0f Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:16 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 13:52:23 -0300 perf version: Add

[tip:perf/urgent] perf version: Print the compiled-in status of libraries

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: 9ff2a64708a642b3dee867d0a083171077663b0a Gitweb: https://git.kernel.org/tip/9ff2a64708a642b3dee867d0a083171077663b0a Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:14 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2

[tip:perf/urgent] perf version: Print the compiled-in status of libraries

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: 9ff2a64708a642b3dee867d0a083171077663b0a Gitweb: https://git.kernel.org/tip/9ff2a64708a642b3dee867d0a083171077663b0a Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:14 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 13:50:30 -0300 perf version:

[tip:perf/urgent] perf tools: Add 'perf -vv' as an alias to 'perf version --build-options'

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: 3aa94b10ab0a818ed9fa2dc06c40812c136f9a5a Gitweb: https://git.kernel.org/tip/3aa94b10ab0a818ed9fa2dc06c40812c136f9a5a Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:15 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2

[tip:perf/urgent] perf tools: Add 'perf -vv' as an alias to 'perf version --build-options'

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: 3aa94b10ab0a818ed9fa2dc06c40812c136f9a5a Gitweb: https://git.kernel.org/tip/3aa94b10ab0a818ed9fa2dc06c40812c136f9a5a Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:15 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 13:50:35 -0300 perf tools: Add

[tip:perf/urgent] perf config: Rename to HAVE_DWARF_GETLOCATIONS_SUPPORT

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: a36ebe4e242a2f6818f424b03a5e8dae3964e458 Gitweb: https://git.kernel.org/tip/a36ebe4e242a2f6818f424b03a5e8dae3964e458 Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:13 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2

[tip:perf/urgent] perf config: Rename to HAVE_DWARF_GETLOCATIONS_SUPPORT

2018-04-03 Thread tip-bot for Jin Yao
Commit-ID: a36ebe4e242a2f6818f424b03a5e8dae3964e458 Gitweb: https://git.kernel.org/tip/a36ebe4e242a2f6818f424b03a5e8dae3964e458 Author: Jin Yao AuthorDate: Fri, 30 Mar 2018 17:27:13 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 13:50:24 -0300 perf config:

[tip:perf/urgent] tools include: Add config.h header file

2018-04-03 Thread tip-bot for Jiri Olsa
Commit-ID: 6b416ebcc32c5753214d53c18ac5719c93bc340e Gitweb: https://git.kernel.org/tip/6b416ebcc32c5753214d53c18ac5719c93bc340e Author: Jiri Olsa AuthorDate: Fri, 30 Mar 2018 17:27:11 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr

[tip:perf/urgent] tools include: Add config.h header file

2018-04-03 Thread tip-bot for Jiri Olsa
Commit-ID: 6b416ebcc32c5753214d53c18ac5719c93bc340e Gitweb: https://git.kernel.org/tip/6b416ebcc32c5753214d53c18ac5719c93bc340e Author: Jiri Olsa AuthorDate: Fri, 30 Mar 2018 17:27:11 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 13:31:38 -0300 tools include:

[tip:perf/urgent] perf trace: Show only failing syscalls

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0a6545bda2756807a089c64352edfc5628c57e6c Gitweb: https://git.kernel.org/tip/0a6545bda2756807a089c64352edfc5628c57e6c Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 29 Mar 2018 12:22:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf trace: Show only failing syscalls

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0a6545bda2756807a089c64352edfc5628c57e6c Gitweb: https://git.kernel.org/tip/0a6545bda2756807a089c64352edfc5628c57e6c Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 29 Mar 2018 12:22:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 07:57:37 -0300

[tip:perf/urgent] perf tools: Add a "dso_size" sort order

2018-04-03 Thread tip-bot for Kim Phillips
Commit-ID: b74d12d598143c2dd30b9cb9636a50dded4cc49f Gitweb: https://git.kernel.org/tip/b74d12d598143c2dd30b9cb9636a50dded4cc49f Author: Kim Phillips AuthorDate: Tue, 27 Mar 2018 06:09:56 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2

[tip:perf/urgent] tools headers: Synchronize x86's cpufeatures.h

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5e2a146bbdae6095b13bca9ebe26a867030ae010 Gitweb: https://git.kernel.org/tip/5e2a146bbdae6095b13bca9ebe26a867030ae010 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 29 Mar 2018 11:46:53 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf tools: Add a "dso_size" sort order

2018-04-03 Thread tip-bot for Kim Phillips
Commit-ID: b74d12d598143c2dd30b9cb9636a50dded4cc49f Gitweb: https://git.kernel.org/tip/b74d12d598143c2dd30b9cb9636a50dded4cc49f Author: Kim Phillips AuthorDate: Tue, 27 Mar 2018 06:09:56 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 07:57:37 -0300 perf tools:

[tip:perf/urgent] tools headers: Synchronize x86's cpufeatures.h

2018-04-03 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5e2a146bbdae6095b13bca9ebe26a867030ae010 Gitweb: https://git.kernel.org/tip/5e2a146bbdae6095b13bca9ebe26a867030ae010 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 29 Mar 2018 11:46:53 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Apr 2018 07:57:37 -0300

Re: [GIT PULL 00/17] perf/core improvements and fixes

2018-04-03 Thread Ingo Molnar
> perf/x86/intel: Enable C-state residency events for Cannon Lake (2018-03-31 > 11:28:36 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.17-20180403 > > for you

Re: [GIT PULL 00/17] perf/core improvements and fixes

2018-04-03 Thread Ingo Molnar
: Enable C-state residency events for Cannon Lake (2018-03-31 > 11:28:36 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.17-20180403 > > for you to fetch changes up to 51125a29a3

Re: possible deadlock in skb_queue_tail

2018-04-03 Thread Cong Wang
On Tue, Apr 3, 2018 at 4:42 AM, Kirill Tkhai wrote: > On 03.04.2018 14:25, Dmitry Vyukov wrote: >> On Tue, Apr 3, 2018 at 11:50 AM, Kirill Tkhai wrote: >>> sk_diag_dump_icons() dumps only sockets in TCP_LISTEN state. >>> TCP_LISTEN state may be

Re: possible deadlock in skb_queue_tail

2018-04-03 Thread Cong Wang
On Tue, Apr 3, 2018 at 4:42 AM, Kirill Tkhai wrote: > On 03.04.2018 14:25, Dmitry Vyukov wrote: >> On Tue, Apr 3, 2018 at 11:50 AM, Kirill Tkhai wrote: >>> sk_diag_dump_icons() dumps only sockets in TCP_LISTEN state. >>> TCP_LISTEN state may be assigned in only place in net/unix/af_unix.c: >>>

Re: [RFC PATCH 0/3] Documentation/features: Provide and apply "features-refresh.sh"

2018-04-03 Thread Ingo Molnar
* Andrea Parri wrote: > In Ingo's words [1]: > > "[...] what should be done instead is to write a script that refreshes >all the arch-support.txt files in-place. [...] > >It's OK for the script to have various quirks for weirdly implemented >

Re: [RFC PATCH 0/3] Documentation/features: Provide and apply "features-refresh.sh"

2018-04-03 Thread Ingo Molnar
* Andrea Parri wrote: > In Ingo's words [1]: > > "[...] what should be done instead is to write a script that refreshes >all the arch-support.txt files in-place. [...] > >It's OK for the script to have various quirks for weirdly implemented >features and exceptions: i.e.

[git pull] vfs pile 1 (dcache)

2018-04-03 Thread Al Viro
fs/dcache.c work, mostly - part of that is what trylock elimination series has turned into, part - making d_move() preserve the parent (and thus the path) of victim, plus some general cleanups. The following changes since commit 8cc07c808c9d595e81cbe5aad419b7769eb2e5c9: fs: dcache: Use

[git pull] vfs pile 1 (dcache)

2018-04-03 Thread Al Viro
fs/dcache.c work, mostly - part of that is what trylock elimination series has turned into, part - making d_move() preserve the parent (and thus the path) of victim, plus some general cleanups. The following changes since commit 8cc07c808c9d595e81cbe5aad419b7769eb2e5c9: fs: dcache: Use

Re: [PATCH 09/11] x86/pti: enable global pages for shared areas

2018-04-03 Thread Nadav Amit
Dave Hansen wrote: > > From: Dave Hansen > > The entry/exit text and cpu_entry_area are mapped into userspace and > the kernel. But, they are not _PAGE_GLOBAL. This creates unnecessary > TLB misses. > > Add the _PAGE_GLOBAL flag for

Re: [PATCH 09/11] x86/pti: enable global pages for shared areas

2018-04-03 Thread Nadav Amit
Dave Hansen wrote: > > From: Dave Hansen > > The entry/exit text and cpu_entry_area are mapped into userspace and > the kernel. But, they are not _PAGE_GLOBAL. This creates unnecessary > TLB misses. > > Add the _PAGE_GLOBAL flag for these areas. > > Signed-off-by: Dave Hansen > Cc:

Re: [PATCH v10 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support

2018-04-03 Thread kbuild test robot
Hi Paolo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16 next-20180403] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH v10 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support

2018-04-03 Thread kbuild test robot
Hi Paolo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16 next-20180403] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

[PATCH 1/3] arm64: Set CONFIG_MULTI_IRQ_HANDLER

2018-04-03 Thread Palmer Dabbelt
arm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make optional. I'm converting this to generic code, but in order to aid the porting effort I want to define this on arm64 for a bit. This will go away at the end of this patch set. Signed-off-by: Palmer Dabbelt

Re: [GIT pull] irq updates for 4.17

2018-04-03 Thread Palmer Dabbelt
On Tue, 03 Apr 2018 19:03:28 PDT (-0700), Linus Torvalds wrote: > On Tue, Apr 3, 2018 at 6:51 PM, Palmer Dabbelt wrote: >> >> Thanks! The linked patch set should be fully bisectable, while this one >> will fail on some ARM randconfigs. > > If it's only some (not very

[PATCH 2/3] openrisc: Set CONFIG_MULTI_IRQ_HANDLER

2018-04-03 Thread Palmer Dabbelt
arm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make optional. I'm converting this to generic code, but in order to aid the porting effort I want to define this on arm64 for a bit. This will go away at the end of this patch set. Signed-off-by: Palmer Dabbelt

[PATCH 3/3] irq: GENERIC_IRQ_MULTI_HANDLER conflicts with MULTI_IRQ_HANDLER

2018-04-03 Thread Palmer Dabbelt
These define the same symbol so they're mutually exclusive. By the end of this patch set I'll have removed MULTI_IRQ_HANDLER, but for now it's slightly easier to make these as conflicting so architectures that now define MULTI_IRQ_HANDLER won't get the generic version selected by randconfig.

[PATCH 1/3] arm64: Set CONFIG_MULTI_IRQ_HANDLER

2018-04-03 Thread Palmer Dabbelt
arm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make optional. I'm converting this to generic code, but in order to aid the porting effort I want to define this on arm64 for a bit. This will go away at the end of this patch set. Signed-off-by: Palmer Dabbelt ---

Re: [GIT pull] irq updates for 4.17

2018-04-03 Thread Palmer Dabbelt
On Tue, 03 Apr 2018 19:03:28 PDT (-0700), Linus Torvalds wrote: > On Tue, Apr 3, 2018 at 6:51 PM, Palmer Dabbelt wrote: >> >> Thanks! The linked patch set should be fully bisectable, while this one >> will fail on some ARM randconfigs. > > If it's only some (not very realistic) randconfigs, I

[PATCH 2/3] openrisc: Set CONFIG_MULTI_IRQ_HANDLER

2018-04-03 Thread Palmer Dabbelt
arm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make optional. I'm converting this to generic code, but in order to aid the porting effort I want to define this on arm64 for a bit. This will go away at the end of this patch set. Signed-off-by: Palmer Dabbelt ---

[PATCH 3/3] irq: GENERIC_IRQ_MULTI_HANDLER conflicts with MULTI_IRQ_HANDLER

2018-04-03 Thread Palmer Dabbelt
These define the same symbol so they're mutually exclusive. By the end of this patch set I'll have removed MULTI_IRQ_HANDLER, but for now it's slightly easier to make these as conflicting so architectures that now define MULTI_IRQ_HANDLER won't get the generic version selected by randconfig.

Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-03 Thread Matthew Garrett
On Tue, Apr 3, 2018 at 7:34 PM Alexei Starovoitov < alexei.starovoi...@gmail.com> wrote: > If the only thing that folks are paranoid about is reading > arbitrary kernel memory with bpf_probe_read() helper > then preferred patch would be to disable it during verification > when in lockdown mode. >

Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-03 Thread Matthew Garrett
On Tue, Apr 3, 2018 at 7:34 PM Alexei Starovoitov < alexei.starovoi...@gmail.com> wrote: > If the only thing that folks are paranoid about is reading > arbitrary kernel memory with bpf_probe_read() helper > then preferred patch would be to disable it during verification > when in lockdown mode. >

Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-03 Thread Matthew Garrett
On Tue, Apr 3, 2018 at 6:43 PM Linus Torvalds wrote: > On Tue, Apr 3, 2018 at 6:13 PM, Matthew Garrett wrote: > > > > There are four cases: > No. > Matthew., stop with the agenda already. > This shit is what I'm talking about: > > Verified

Re: [GIT PULL] Kernel lockdown for secure boot

2018-04-03 Thread Matthew Garrett
On Tue, Apr 3, 2018 at 6:43 PM Linus Torvalds wrote: > On Tue, Apr 3, 2018 at 6:13 PM, Matthew Garrett wrote: > > > > There are four cases: > No. > Matthew., stop with the agenda already. > This shit is what I'm talking about: > > Verified Boot off, lockdown on: Perception of security

[PATCH v4 0/3] ASoC: topology: Improve hw_configs

2018-04-03 Thread Kirill Marinushkin
Hello Mark, This patch series waits since 20th of February, because it modifies UAPI headers and should be done in sync with ALSA. I see that previously there was no clear understanding, how to do this in sync. Two days ago I discussed with Takashi, and he suggested the following steps: Step 1.

[PATCH v4 2/3] ASoC: topology: Add missing clock gating parameter when parsing hw_configs

2018-04-03 Thread Kirill Marinushkin
Clock gating parameter is a part of `dai_fmt`. It is supported by `alsa-lib` when creating a topology binary file, but ignored by kernel when loading this topology file. After applying this commit, the clock gating parameter is not ignored any more. This solution is backwards compatible. The

[PATCH v4 1/3] ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()

2018-04-03 Thread Kirill Marinushkin
The values of bclk and fsync are inverted WRT the codec. But the existing solution already works for Broadwell, see the alsa-lib config: `alsa-lib/src/conf/topology/broadwell/broadwell.conf` This commit provides the backwards-compatible solution to fix this misuse. Signed-off-by: Kirill

[PATCH v4 0/3] ASoC: topology: Improve hw_configs

2018-04-03 Thread Kirill Marinushkin
Hello Mark, This patch series waits since 20th of February, because it modifies UAPI headers and should be done in sync with ALSA. I see that previously there was no clear understanding, how to do this in sync. Two days ago I discussed with Takashi, and he suggested the following steps: Step 1.

[PATCH v4 2/3] ASoC: topology: Add missing clock gating parameter when parsing hw_configs

2018-04-03 Thread Kirill Marinushkin
Clock gating parameter is a part of `dai_fmt`. It is supported by `alsa-lib` when creating a topology binary file, but ignored by kernel when loading this topology file. After applying this commit, the clock gating parameter is not ignored any more. This solution is backwards compatible. The

[PATCH v4 1/3] ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()

2018-04-03 Thread Kirill Marinushkin
The values of bclk and fsync are inverted WRT the codec. But the existing solution already works for Broadwell, see the alsa-lib config: `alsa-lib/src/conf/topology/broadwell/broadwell.conf` This commit provides the backwards-compatible solution to fix this misuse. Signed-off-by: Kirill

[PATCH v4 3/3] ASoC: topology: Add definitions for mclk_direction values

2018-04-03 Thread Kirill Marinushkin
Current comment makes not clear the direction of mclk. Previously, similar description caused a misunderstanding for bclk_master and fsync_master. This commit solves the potential confusion the same way it is solved for bclk_master and fsync_master. Signed-off-by: Kirill Marinushkin

[PATCH v4 3/3] ASoC: topology: Add definitions for mclk_direction values

2018-04-03 Thread Kirill Marinushkin
Current comment makes not clear the direction of mclk. Previously, similar description caused a misunderstanding for bclk_master and fsync_master. This commit solves the potential confusion the same way it is solved for bclk_master and fsync_master. Signed-off-by: Kirill Marinushkin Acked-by:

Re: [PATCH 2/2] smp: introduce kick_active_cpus_sync()

2018-04-03 Thread Yury Norov
Hi Mark, Thank you for review. On Tue, Apr 03, 2018 at 02:48:32PM +0100, Mark Rutland wrote: > Hi Yury, > > On Sun, Apr 01, 2018 at 02:11:08PM +0300, Yury Norov wrote: > > +/* > > + * Flush I-cache if CPU is in extended quiescent state > > + */ > > This comment is misleading. An ISB doesn't

Re: [PATCH 2/2] smp: introduce kick_active_cpus_sync()

2018-04-03 Thread Yury Norov
Hi Mark, Thank you for review. On Tue, Apr 03, 2018 at 02:48:32PM +0100, Mark Rutland wrote: > Hi Yury, > > On Sun, Apr 01, 2018 at 02:11:08PM +0300, Yury Norov wrote: > > +/* > > + * Flush I-cache if CPU is in extended quiescent state > > + */ > > This comment is misleading. An ISB doesn't

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

2018-04-03 Thread Stuart Yoder
On Tue, Apr 3, 2018 at 8:05 PM, Andrew Lunn wrote: >> Suppose you want to create and assign a network interface to a KVM >> virtual machine, you would do something like the following using >> a user space tool like restool: >>-create a new (empty) dprc object >>-create a

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

2018-04-03 Thread Stuart Yoder
On Tue, Apr 3, 2018 at 8:05 PM, Andrew Lunn wrote: >> Suppose you want to create and assign a network interface to a KVM >> virtual machine, you would do something like the following using >> a user space tool like restool: >>-create a new (empty) dprc object >>-create a new dpni and

[PATCH -mm] mm, gup: prevent pmd checking race in follow_pmd_mask()

2018-04-03 Thread Huang, Ying
From: Huang Ying mmap_sem will be read locked when calling follow_pmd_mask(). But this cannot prevent PMD from being changed for all cases when PTL is unlocked, for example, from pmd_trans_huge() to pmd_none() via MADV_DONTNEED. So it is possible for the pmd_present()

[PATCH -mm] mm, gup: prevent pmd checking race in follow_pmd_mask()

2018-04-03 Thread Huang, Ying
From: Huang Ying mmap_sem will be read locked when calling follow_pmd_mask(). But this cannot prevent PMD from being changed for all cases when PTL is unlocked, for example, from pmd_trans_huge() to pmd_none() via MADV_DONTNEED. So it is possible for the pmd_present() check in

[PATCH 1/1] dmaengine:jz4740:fix memory leak

2018-04-03 Thread Xidong Wang
In function jz4740_dma_probe(), the memory allocated by clk_get() is not released on the error path that ret, which holds the return value of dma_async_device_register(), is not NULL. This will result in a memory leak bug. Signed-off-by: Xidong Wang ---

[PATCH 1/1] dmaengine:jz4740:fix memory leak

2018-04-03 Thread Xidong Wang
In function jz4740_dma_probe(), the memory allocated by clk_get() is not released on the error path that ret, which holds the return value of dma_async_device_register(), is not NULL. This will result in a memory leak bug. Signed-off-by: Xidong Wang --- drivers/dma/dma-jz4740.c | 1 + 1 file

[PATCH 3/5] dts: arm64: hi3660: Add CPU frequency scaling support

2018-04-03 Thread Leo Yan
Add two CPU OPP tables, one table is corresponding to one cluster, which allow CPU frequency scaling on hi3660 platforms. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 86 +++ 1 file changed, 86 insertions(+) diff --git

[PATCH 3/5] dts: arm64: hi3660: Add CPU frequency scaling support

2018-04-03 Thread Leo Yan
Add two CPU OPP tables, one table is corresponding to one cluster, which allow CPU frequency scaling on hi3660 platforms. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 86 +++ 1 file changed, 86 insertions(+) diff --git

[PATCH 2/5] dts: arm64: hi3660: Add stub clock node

2018-04-03 Thread Leo Yan
From: Kaihua Zhong Add stub clock node for hi3660 platform. Reviewed-by: Leo Yan Signed-off-by: Kaihua Zhong --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 2/5] dts: arm64: hi3660: Add stub clock node

2018-04-03 Thread Leo Yan
From: Kaihua Zhong Add stub clock node for hi3660 platform. Reviewed-by: Leo Yan Signed-off-by: Kaihua Zhong --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi

[PATCH 4/5] dts: arm64: hi3660: Add thermal cooling management

2018-04-03 Thread Leo Yan
From: Tao Wang Add nodes and properties for thermal cooling management support. Signed-off-by: Tao Wang Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 44 +++ 1 file

[PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX

2018-04-03 Thread Leo Yan
From: Daniel Lezcano The current defconfig is inconsistent as it selects the mailbox and the clock for the hi6220 and the hi3660 without having their Kconfigs making sure the dependencies are correct. It ends up when selecting different versions for the kernel (for

[PATCH 0/5] Hi3660: enable power management features

2018-04-03 Thread Leo Yan
Since hi3660 drivers have been merged into Linux kernel (mailbox driver is in Linux-next branch and other drivers are existed in Linux mainline kernel), so this patch series is to enable power management features on hi3660. This patch series includes device tree binding for mailbox, stub clock

[PATCH 1/5] dts: arm64: hi3660: Add mailbox node

2018-04-03 Thread Leo Yan
From: Kaihua Zhong Add the mailbox controller node for hi3660 platform. Signed-off-by: Kaihua Zhong Signed-off-by: Ruyi Wang --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff

[PATCH 4/5] dts: arm64: hi3660: Add thermal cooling management

2018-04-03 Thread Leo Yan
From: Tao Wang Add nodes and properties for thermal cooling management support. Signed-off-by: Tao Wang Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 44 +++ 1 file changed, 44 insertions(+) diff --git

[PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX

2018-04-03 Thread Leo Yan
From: Daniel Lezcano The current defconfig is inconsistent as it selects the mailbox and the clock for the hi6220 and the hi3660 without having their Kconfigs making sure the dependencies are correct. It ends up when selecting different versions for the kernel (for example when git bisecting)

[PATCH 0/5] Hi3660: enable power management features

2018-04-03 Thread Leo Yan
Since hi3660 drivers have been merged into Linux kernel (mailbox driver is in Linux-next branch and other drivers are existed in Linux mainline kernel), so this patch series is to enable power management features on hi3660. This patch series includes device tree binding for mailbox, stub clock

[PATCH 1/5] dts: arm64: hi3660: Add mailbox node

2018-04-03 Thread Leo Yan
From: Kaihua Zhong Add the mailbox controller node for hi3660 platform. Signed-off-by: Kaihua Zhong Signed-off-by: Ruyi Wang --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi

[PATCH 1/1] mtd:nand:fix memory leak

2018-04-03 Thread Xidong Wang
In function tango_nand_probe(), the memory allocated by clk_get() is not released on the normal path and the error path that IS_ERR(nfc->chan) returns true. This will result in a memory leak bug. Signed-off-by: Xidong Wang --- drivers/mtd/nand/tango_nand.c | 5 - 1

[PATCH 1/1] mtd:nand:fix memory leak

2018-04-03 Thread Xidong Wang
In function tango_nand_probe(), the memory allocated by clk_get() is not released on the normal path and the error path that IS_ERR(nfc->chan) returns true. This will result in a memory leak bug. Signed-off-by: Xidong Wang --- drivers/mtd/nand/tango_nand.c | 5 - 1 file changed, 4

  1   2   3   4   5   6   7   8   9   10   >