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

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 450c86c9a3301db5165172bcaced73d036f9c582 Gitweb: http://git.kernel.org/tip/450c86c9a3301db5165172bcaced73d036f9c582 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 20 Jul 2017 10:46:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Jul 2017 11:02:51 -0300

[tip:perf/core] perf trace beauty clone: Beautify syscall arguments

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 33396a3a6a6b16784291ac19708e3a6cf85db6c5 Gitweb: http://git.kernel.org/tip/33396a3a6a6b16784291ac19708e3a6cf85db6c5 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 19 Jul 2017 16:15:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Jul 2017 11:03:04 -0300

[tip:perf/core] perf trace beauty clone: Suppress unused args according to 'flags' arg

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 15bed2742a8d60210b958963ca1091d3cfc4f332 Gitweb: http://git.kernel.org/tip/15bed2742a8d60210b958963ca1091d3cfc4f332 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 19 Jul 2017 16:52:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Jul 2017 11:03:10 -0300

Re: [PATCH 3/4] ndctl: switch to tools/include/linux/{kernel, list, bitmap}.h

2017-07-26 Thread Ingo Molnar
* Dan Williams wrote: > On Wed, Jul 26, 2017 at 4:29 AM, Ingo Molnar wrote: > > > > * Dan Williams wrote: > > > >> On Tue, Jul 25, 2017 at 4:55 PM, Arnaldo Carvalho de Melo > >> wrote: > >> > Em Tue, Jul 25, 2017 at 03:36:26PM -0700, Dan Williams escreveu: > >> >> Replace the ccan

[tip:perf/core] perf trace: Introduce filter_loop_pids()

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: dd1a50377c92321f78fa4d0601bb4d88d88670ab Gitweb: http://git.kernel.org/tip/dd1a50377c92321f78fa4d0601bb4d88d88670ab Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 20 Jul 2017 11:17:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Jul 2017 11:17:51 -0300

Re: [PATCH v8 1/1] f2fs: dax: implement direct access

2017-07-26 Thread Christoph Hellwig
On Wed, Jul 26, 2017 at 10:11:08AM -0700, Dan Williams wrote: > Until HMAT came along we had no data in the kernel how to pick a sane > default, but we could now very easily make a "if pmem performance < > dram, disable dax by default" policy in the kernel. I'd rather do it the other way around -

[tip:perf/core] perf trace: Filter out 'sshd' in the tracer ancestry in syswide tracing

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 082ab9a18e532864d1ceecfb50221df62b1d5a92 Gitweb: http://git.kernel.org/tip/082ab9a18e532864d1ceecfb50221df62b1d5a92 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 20 Jul 2017 11:32:05 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Jul 2017 15:16:25 -0300

Re: [RFC PATCH 3/5] mm, memory_hotplug: allocate memmap from the added memory range for sparse-vmemmap

2017-07-26 Thread Gerald Schaefer
On Wed, 26 Jul 2017 14:30:41 +0200 Michal Hocko wrote: > On Wed 26-07-17 13:45:39, Heiko Carstens wrote: > [...] > > In general I do like your idea, however if I understand your patches > > correctly we might have an ordering problem on s390: it is not possible to > > access hot-added memory on

[tip:perf/core] perf annotate: Introduce struct sym_hist_entry

2017-07-26 Thread tip-bot for Taeung Song
Commit-ID: 896bccd3cb8d95cbc565687715516009c5169e71 Gitweb: http://git.kernel.org/tip/896bccd3cb8d95cbc565687715516009c5169e71 Author: Taeung Song AuthorDate: Thu, 20 Jul 2017 06:36:45 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 21 Jul 2017 08:23:38 -0300 perf annotate:

[tip:perf/core] tools include: Adopt strstarts() from the kernel

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8e99b6d4533cf3f49dcd813155a513a5b572baef Gitweb: http://git.kernel.org/tip/8e99b6d4533cf3f49dcd813155a513a5b572baef Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 20 Jul 2017 15:27:39 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Jul 2017 15:46:10 -0300

[tip:perf/core] perf annotate: Rename 'sum' to 'nr_samples' in struct sym_hist

2017-07-26 Thread tip-bot for Taeung Song
Commit-ID: 8158683da3d30e0346275702a8e08f2b22726c45 Gitweb: http://git.kernel.org/tip/8158683da3d30e0346275702a8e08f2b22726c45 Author: Taeung Song AuthorDate: Thu, 20 Jul 2017 06:36:51 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 21 Jul 2017 08:23:49 -0300 perf annotate:

Re: [PATCH] fortify: Use WARN instead of BUG for now

2017-07-26 Thread Kees Cook
On Wed, Jul 26, 2017 at 5:52 AM, Daniel Micay wrote: > It should just be renamed from fortify_panic -> fortify_error, including > in arch/x86/boot/compressed/misc.c and arch/x86/boot/compressed/misc.c. Somehow I missed these. I'll send a v2. I wonder why those didn't trip in my build... > It

[tip:perf/core] perf annotate: Store the sample period in each histogram bucket

2017-07-26 Thread tip-bot for Taeung Song
Commit-ID: 461c17f00f400f95116880d91d20a7fcd84263a9 Gitweb: http://git.kernel.org/tip/461c17f00f400f95116880d91d20a7fcd84263a9 Author: Taeung Song AuthorDate: Thu, 20 Jul 2017 17:18:05 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 21 Jul 2017 12:02:38 -0300 perf annotate:

[tip:perf/core] perf hists: Pass perf_sample to __symbol__inc_addr_samples()

2017-07-26 Thread tip-bot for Taeung Song
Commit-ID: bab89f6aed7e745893e009014354d0caaf62acf7 Gitweb: http://git.kernel.org/tip/bab89f6aed7e745893e009014354d0caaf62acf7 Author: Taeung Song AuthorDate: Thu, 20 Jul 2017 16:28:53 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 21 Jul 2017 08:23:50 -0300 perf hists:

[tip:perf/core] tools lib: Update copy of strtobool from the kernel sources

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b99e4850df86dfd9dc2cf3f3494e403ff8b46876 Gitweb: http://git.kernel.org/tip/b99e4850df86dfd9dc2cf3f3494e403ff8b46876 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 20 Jul 2017 15:35:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Jul 2017 15:47:33 -0300

[tip:perf/core] perf annotate: Do not overwrite sample->period

2017-07-26 Thread tip-bot for Taeung Song
Commit-ID: ecd5f9959d2c9540482977ff1208ea67fbfb8cc9 Gitweb: http://git.kernel.org/tip/ecd5f9959d2c9540482977ff1208ea67fbfb8cc9 Author: Taeung Song AuthorDate: Fri, 21 Jul 2017 11:38:48 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 21 Jul 2017 12:02:52 -0300 perf annotate:

[PATCH] net: inet: diag: expose sockets cgroup classid

2017-07-26 Thread Levin, Alexander (Sasha Levin)
This is useful for directly looking up a task based on class id rather than having to scan through all open file descriptors. Signed-off-by: Sasha Levin --- include/uapi/linux/inet_diag.h | 1 + net/ipv4/inet_diag.c | 10 ++ 2 files changed, 11 insertions(+) diff --git

[tip:perf/core] perf annotate stdio: Fix --show-total-period

2017-07-26 Thread tip-bot for Taeung Song
Commit-ID: 585d93c5ffccced26689e34095c0d74ef20a07d6 Gitweb: http://git.kernel.org/tip/585d93c5ffccced26689e34095c0d74ef20a07d6 Author: Taeung Song AuthorDate: Fri, 21 Jul 2017 11:58:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 11:23:36 -0300 perf annotate

Re: [PATCH 2/4 v2] x86: use common aperfmperf_khz_on_cpu() to calculate KHz using APERF/MPERF

2017-07-26 Thread Len Brown
Hi Doug, Clearly you are a "discerning user", who understands the limitations of the kernel sysfs interface, both new and old, for communicating frequency. With the limitations of the (old and new) sysfs interfaces, why are you using it, rather than turbostat? >> As with previous methods of

Re: [PATCH net-next v2 07/10] net: dsa: lan9303: Added basic offloading of unicast traffic

2017-07-26 Thread Andrew Lunn
Hi Egil > +/* forward special tagged packets from port 0 to port 1 *or* port 2 */ > +static int lan9303_setup_tagging(struct lan9303 *chip) > +{ > + int ret; Blank line please. > + /* enable defining the destination port via special VLAN tagging > + * for port 0 > + */ > +

[tip:perf/core] perf evsel: Add verbose output for sys_perf_event_open fallback

2017-07-26 Thread tip-bot for Jiri Olsa
Commit-ID: 2b04e0f88291c0dc7e12459bd3c3661d42209b4e Gitweb: http://git.kernel.org/tip/2b04e0f88291c0dc7e12459bd3c3661d42209b4e Author: Jiri Olsa AuthorDate: Fri, 21 Jul 2017 14:12:09 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 11:23:53 -0300 perf evsel: Add

[tip:perf/core] perf annotate: Process tracing data in pipe mode

2017-07-26 Thread tip-bot for David Carrillo-Cisneros
Commit-ID: f4849599086c6462d65543637058c9b55f4803e4 Gitweb: http://git.kernel.org/tip/f4849599086c6462d65543637058c9b55f4803e4 Author: David Carrillo-Cisneros AuthorDate: Tue, 18 Jul 2017 18:18:38 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 11:23:52 -0300

[tip:perf/core] perf tools: Add EXCLUDE_EXTLIBS and EXTRA_PERFLIBS to makefile

2017-07-26 Thread tip-bot for David Carrillo-Cisneros
Commit-ID: cb281fea4b0a326d2a2104f8ffae2b6895c561fd Gitweb: http://git.kernel.org/tip/cb281fea4b0a326d2a2104f8ffae2b6895c561fd Author: David Carrillo-Cisneros AuthorDate: Tue, 18 Jul 2017 18:18:37 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 11:23:51 -0300

[tip:perf/core] perf cgroup: Fix refcount usage

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: cd8dd032f61abeb08d2c03bab4968a9de231a1be Gitweb: http://git.kernel.org/tip/cd8dd032f61abeb08d2c03bab4968a9de231a1be Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 18 Jul 2017 20:20:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 11:23:50 -0300

[tip:perf/core] perf top: Support lookup of symbols in other mount namespaces.

2017-07-26 Thread tip-bot for Krister Johansen
Commit-ID: 868a832918f621b7576655c00067f20326ef3931 Gitweb: http://git.kernel.org/tip/868a832918f621b7576655c00067f20326ef3931 Author: Krister Johansen AuthorDate: Wed, 5 Jul 2017 18:48:12 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:43:16 -0300 perf top:

[tip:perf/core] perf script: Remove some bogus error handling

2017-07-26 Thread tip-bot for Dan Carpenter
Commit-ID: 2ec5cab604b2bbc5abe7138b537199762bea59ce Gitweb: http://git.kernel.org/tip/2ec5cab604b2bbc5abe7138b537199762bea59ce Author: Dan Carpenter AuthorDate: Sat, 22 Jul 2017 10:36:10 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:43:17 -0300 perf script:

[tip:perf/core] perf jvmti: Fix linker error when libelf config is disabled

2017-07-26 Thread tip-bot for Sudeep Holla
Commit-ID: 5d90faf45427dd76fadbe7a4dc4fce3b6f87b550 Gitweb: http://git.kernel.org/tip/5d90faf45427dd76fadbe7a4dc4fce3b6f87b550 Author: Sudeep Holla AuthorDate: Tue, 18 Jul 2017 18:18:39 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 11:23:53 -0300 perf jvmti:

[tip:perf/core] perf jevents: Make build fail on JSON parse error

2017-07-26 Thread tip-bot for Andi Kleen
Commit-ID: 3f056b66647bafc39f060a57289320765915972c Gitweb: http://git.kernel.org/tip/3f056b66647bafc39f060a57289320765915972c Author: Andi Kleen AuthorDate: Mon, 24 Jul 2017 17:16:38 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:46:36 -0300 perf jevents:

RE: [PATCH 3/3] EDAC, ghes: Make it a proper module

2017-07-26 Thread Luck, Tony
> > > Hmm... I'm not seeing any implementation that would allow setting > > > between firmware first, hardware first or "auto", as we've discussed. > > > > This is all coming up. As the 0/3 message said, these 3 patches are the > > bare minimum of reorganizing stuff only and should serve as a

[tip:perf/core] perf report: Make --branch-history work without callgraphs(-g) option in perf record

2017-07-26 Thread tip-bot for Jin Yao
Commit-ID: b49a821ed9e05fa0ccbaec2555052b2a920be517 Gitweb: http://git.kernel.org/tip/b49a821ed9e05fa0ccbaec2555052b2a920be517 Author: Jin Yao AuthorDate: Mon, 8 May 2017 18:43:02 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:46:03 -0300 perf report: Make

[tip:perf/core] perf report: Tag branch type/flag on "to" and tag cycles on "from"

2017-07-26 Thread tip-bot for Jin Yao
Commit-ID: a1a8bed32de197801bb861fbf13cd01496df3e05 Gitweb: http://git.kernel.org/tip/a1a8bed32de197801bb861fbf13cd01496df3e05 Author: Jin Yao AuthorDate: Mon, 24 Jul 2017 19:09:07 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:46:35 -0300 perf report: Tag

[tip:perf/core] perf script python: Allocate memory only if handler exists

2017-07-26 Thread tip-bot for Arun Kalyanasundaram
Commit-ID: e9f9a9ca8588e58dc0800b44adc41d32f6fc813a Gitweb: http://git.kernel.org/tip/e9f9a9ca8588e58dc0800b44adc41d32f6fc813a Author: Arun Kalyanasundaram AuthorDate: Fri, 21 Jul 2017 15:04:18 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:43:18 -0300 perf

[tip:perf/core] perf annotate stdio: Fix column header when using --show-total-period

2017-07-26 Thread tip-bot for Taeung Song
Commit-ID: 38d2dcd0ccf85b55d783edbfc14fd8dea4d55b73 Gitweb: http://git.kernel.org/tip/38d2dcd0ccf85b55d783edbfc14fd8dea4d55b73 Author: Taeung Song AuthorDate: Tue, 25 Jul 2017 06:28:42 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:46:37 -0300 perf annotate

[tip:perf/core] perf script python: Refactor creation of perf sample dict

2017-07-26 Thread tip-bot for Arun Kalyanasundaram
Commit-ID: 892e76b2e8c5e85e69514478e3319575a68b9770 Gitweb: http://git.kernel.org/tip/892e76b2e8c5e85e69514478e3319575a68b9770 Author: Arun Kalyanasundaram AuthorDate: Fri, 21 Jul 2017 15:04:19 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:43:19 -0300 perf

[tip:perf/core] perf tools: Add tools/include/uapi/asm-generic/fcntl.h to the MANIFEST

2017-07-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 62e6039f02888efdd824e8c596c4927616a97ce3 Gitweb: http://git.kernel.org/tip/62e6039f02888efdd824e8c596c4927616a97ce3 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 25 Jul 2017 14:14:27 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:46:37 -0300

[tip:perf/core] perf script python: Add sample_read to dict

2017-07-26 Thread tip-bot for Arun Kalyanasundaram
Commit-ID: 74ec14f3893c3065053b91cec850cffa2d565e0a Gitweb: http://git.kernel.org/tip/74ec14f3893c3065053b91cec850cffa2d565e0a Author: Arun Kalyanasundaram AuthorDate: Fri, 21 Jul 2017 15:04:20 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:43:19 -0300 perf

[tip:perf/core] perf script python: Generate hooks with additional argument

2017-07-26 Thread tip-bot for Arun Kalyanasundaram
Commit-ID: a641860550f05a4b8889dca61aab73c84b2d5e16 Gitweb: http://git.kernel.org/tip/a641860550f05a4b8889dca61aab73c84b2d5e16 Author: Arun Kalyanasundaram AuthorDate: Fri, 21 Jul 2017 15:04:22 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:43:21 -0300 perf

[tip:perf/core] perf script python: Add perf_sample dict to tracepoint handlers

2017-07-26 Thread tip-bot for Arun Kalyanasundaram
Commit-ID: f38d281663b011d1d8a1b0119bb8357706d134a8 Gitweb: http://git.kernel.org/tip/f38d281663b011d1d8a1b0119bb8357706d134a8 Author: Arun Kalyanasundaram AuthorDate: Fri, 21 Jul 2017 15:04:21 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jul 2017 22:43:20 -0300 perf

Re: [PATCH 3/4] ndctl: switch to tools/include/linux/{kernel, list, bitmap}.h

2017-07-26 Thread Dan Williams
On Wed, Jul 26, 2017 at 10:19 AM, Ingo Molnar wrote: > > * Dan Williams wrote: > >> On Wed, Jul 26, 2017 at 4:29 AM, Ingo Molnar wrote: >> > >> > * Dan Williams wrote: >> > >> >> On Tue, Jul 25, 2017 at 4:55 PM, Arnaldo Carvalho de Melo >> >> wrote: >> >> > Em Tue, Jul 25, 2017 at 03:36:26PM

Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters

2017-07-26 Thread Greg KH
On Wed, Jul 26, 2017 at 06:30:49PM +0200, Borislav Petkov wrote: > On Wed, Jul 26, 2017 at 09:19:49AM -0700, Greg KH wrote: > > On Wed, Jul 26, 2017 at 05:55:48PM +0200, Borislav Petkov wrote: > > > On Wed, Jul 26, 2017 at 05:45:15PM +0200, Jan Glauber wrote: > > > > The PMU/EDAC devices are all

Re: [PATCH V3 1/3] sched: cpufreq: Allow remote cpufreq callbacks

2017-07-26 Thread Rafael J. Wysocki
On Wednesday, July 26, 2017 11:59:12 AM Viresh Kumar wrote: > On 24-07-17, 15:47, Peter Zijlstra wrote: > > I said nothing about the shared locking. That is indeed required. All I > > said is that those two tests you add could be left out. > > I was right, I didn't understood your comment at all

Re: [RFC PATCH 3/3] mm: shm: Use new hugetlb size encoding definitions

2017-07-26 Thread Mike Kravetz
On 07/26/2017 03:07 AM, Michal Hocko wrote: > On Wed 26-07-17 11:53:38, Michal Hocko wrote: >> On Mon 17-07-17 15:28:01, Mike Kravetz wrote: >>> Use the common definitions from hugetlb_encode.h header file for >>> encoding hugetlb size definitions in shmget system call flags. In >>> addition,

Re: bcache with existing ext4 filesystem

2017-07-26 Thread Eric Wheeler
On Wed, 26 Jul 2017, Pavel Machek wrote: > Hi! > > > > > > Unfortunately, that would mean shifting 400GB data 8KB forward, and > > > > > compatibility problems. So I'd prefer adding bcache superblock into > > > > > the reserved space, so I can have caching _and_ compatibility with > > > > >

Re: [PATCH net-next v2 08/10] net: dsa: lan9303: Added ALR/fdb/mdb handling

2017-07-26 Thread Andrew Lunn
Hi Egil > +/* This function will wait a while until mask & reg == value */ > +/* Otherwise, return timeout */ > +static int lan9303_csr_reg_wait(struct lan9303 *chip, int regno, > + int mask, char value) > +{ > + int i; > + > + for (i = 0; i < 0x1000; i++) { >

Re: [RESEND PATCH 0/2] crypto/rockchip: fix some issue which causes crypto failed

2017-07-26 Thread Emil Karlson
Greetings While I am not getting the original error anymore, using dm-crypt still fails at cryptsetup luksOpen with [rk_ablk_rx:331] Lack of data https://users.aalto.fi/~jkarlson/files/rk3288-fail_2017-07-24.jpg Test platform: Asus chromebook C201/rk3288 linux-4.12.3+ this patchset Best Regards

Re: [PATCH v3 2/2] ASoC: add support for TAS6424 digital amplifier

2017-07-26 Thread Michael Stecklein
On 07/19/2017 06:08 AM, Mark Brown wrote: > On Tue, Jul 18, 2017 at 02:20:04PM -0500, Michael Stecklein wrote: > >> +if (!tx_mask) { >> +dev_err(codec->dev, "tdm mask must not be 0\n"); >> +return -EINVAL; >> +} > Setting the mask to 0 is used when turning off TDM.

Re: USB disk speed regression WD Elements - with bisect result 22547c4cc4fe20698a6a85a55b8788859134b8e4

2017-07-26 Thread Zdenek Kabelac
Dne 25.7.2017 v 21:50 Alan Stern napsal(a): On Tue, 25 Jul 2017, Zdenek Kabelac wrote: 08:18 usb 2-2: USB disconnect, device number 2 08:25 usb 2-2: new high-speed USB device number 3 using ehci-pci 08:26 usb 2-2: new high-speed USB device number 4 using ehci-pci If the drive were working

Re: [PATCH V4 1/3] sched: cpufreq: Allow remote cpufreq callbacks

2017-07-26 Thread Rafael J. Wysocki
On Wednesday, July 26, 2017 02:52:32 PM Viresh Kumar wrote: > We do not call cpufreq callbacks from scheduler core for remote > (non-local) CPUs currently. But there are cases where such remote > callbacks are useful, specially in the case of shared cpufreq policies. > > This patch updates the

Re: [PATCH v2 07/13] xen/pvcalls: implement accept command

2017-07-26 Thread Boris Ostrovsky
On 07/25/2017 05:22 PM, Stefano Stabellini wrote: > Send PVCALLS_ACCEPT to the backend. Allocate a new active socket. Make > sure that only one accept command is executed at any given time by > setting PVCALLS_FLAG_ACCEPT_INFLIGHT and waiting on the > inflight_accept_req waitqueue. > >

Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface

2017-07-26 Thread Andrew Lunn
> > So I really want to group the patches into only a few series in order > > to not spend months on the process. I strongly agree with Vivien here. Good patches get accepted in about 3 days. You should expect feedback within a day or two. That allows you to have fast cycle times for getting

Re: [PATCH v3 05/15] smack: Refactor to remove bprm_secureexec hook

2017-07-26 Thread Casey Schaufler
On 7/25/2017 8:58 PM, Kees Cook wrote: > On Tue, Jul 18, 2017 at 3:25 PM, Kees Cook wrote: >> The Smack bprm_secureexec hook can be merged with the bprm_set_creds >> hook since it's dealing with the same information, and all of the details >> are finalized during the first call to the

[PATCH v2 4/4] gfs2: convert to errseq_t based writeback error reporting for fsync

2017-07-26 Thread Jeff Layton
From: Jeff Layton This means that we need to export the new file_fdatawait_range symbol. Also, fix a place where a writeback error might get dropped in the gfs2_is_jdata case. Signed-off-by: Jeff Layton --- fs/gfs2/file.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH v2 3/4] fs: convert sync_file_range to use errseq_t based error-tracking

2017-07-26 Thread Jeff Layton
From: Jeff Layton sync_file_range doesn't call down into the filesystem directly at all. It only kicks off writeback of pagecache pages and optionally waits on the result. Convert sync_file_range to use errseq_t based error tracking, under the assumption that most users will prefer this

[PATCH v2 1/4] mm: consolidate dax / non-dax checks for writeback

2017-07-26 Thread Jeff Layton
From: Jeff Layton We have this complex conditional copied to several places. Turn it into a helper function. Signed-off-by: Jeff Layton --- mm/filemap.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index

[PATCH v2 2/4] mm: add file_fdatawait_range and file_write_and_wait

2017-07-26 Thread Jeff Layton
From: Jeff Layton Some filesystem fsync routines will need these. Signed-off-by: Jeff Layton --- include/linux/fs.h | 7 ++- mm/filemap.c | 56 ++ 2 files changed, 62 insertions(+), 1 deletion(-) diff --git a/include/linux/fs.h

[PATCH v2 0/4] mm/gfs2: extend file_* API, and convert gfs2 to errseq_t error reporting

2017-07-26 Thread Jeff Layton
From: Jeff Layton I sent a small patch earlier this week to make sync_file_range use errseq_t reporting. This set respins that patch into a patch that adds a bit more file_* infrastructure, and then patches to make sync_file_range and fsync on gfs2 report writeback errors properly. There's

Re: [PATCH] fortify: Use WARN instead of BUG for now

2017-07-26 Thread Daniel Micay
> Maybe we could do two phases? One to s/BUG/WARN/ and the second to > improve the message? s/fortify_panic/fortify_overflow/ + use WARN + remove __noreturn makes sense as one commit. Still think the *option* of __noreturn + BUG should be kept there even just for measuring the size overhead.

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Andy Lutomirski
> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: > >> On 26/07/17 15:48, Andy Lutomirski wrote: >>> On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: >>> When running as Xen pv-guest the exception frame on the stack contains >>> %r11 and %rcx additional to the other data pushed by the

Re: [PATCH 3/4] ndctl: switch to tools/include/linux/{kernel, list, bitmap}.h

2017-07-26 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 26, 2017 at 10:31:48AM -0700, Dan Williams escreveu: > On Wed, Jul 26, 2017 at 10:19 AM, Ingo Molnar wrote: > > * Dan Williams wrote: > >> On Wed, Jul 26, 2017 at 4:29 AM, Ingo Molnar wrote: > > which I could initially mistake for a commit about scheduler completions ;-) > > > > Or:

Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

2017-07-26 Thread Mathieu Desnoyers
- On Jul 26, 2017, at 11:42 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: > On Wed, Jul 26, 2017 at 09:46:56AM +0200, Peter Zijlstra wrote: >> On Tue, Jul 25, 2017 at 10:50:13PM +, Mathieu Desnoyers wrote: >> > This would implement a MEMBARRIER_CMD_PRIVATE_EXPEDITED (or such)

Re: [PATCH 09/11] tile/topology: Remove the unused parent_node() macro

2017-07-26 Thread Chris Metcalf
On 7/26/2017 9:34 AM, Dou Liyang wrote: Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of parent_node(). The parent_node() macro in tile platform is unnecessary. Remove it for cleanup. Reported-by: Michael Ellerman Signed-off-by: Dou

[PATCH v1 0/2] x86: Secure Memory Encryption (SME) fixes 2017-07-26

2017-07-26 Thread Tom Lendacky
This patch series addresses some issues found during further testing of Secure Memory Encryption (SME). The following fixes are included in this update series: - Fix a cache-related memory corruption when kexec is invoked in successive instances - Remove the encryption mask from the protection

[PATCH v1 2/2] acpi, x86: Remove encryption mask from ACPI page protection type

2017-07-26 Thread Tom Lendacky
The function arch_apei_get_mem_attributes() is used to set the page protection type for ACPI physical addresses. When SME is active, the associated protection type needs to not have the encryption mask set since the ACPI tables live in un-encrypted memory. Modify the arch_apei_get_mem_attributes()

[PATCH v1 1/2] x86/mm, kexec: Fix memory corruption with SME on successive kexecs

2017-07-26 Thread Tom Lendacky
After issuing successive kexecs it was found that the SHA hash failed verification when booting the kexec'd kernel. When SME is enabled, the change from using pages that were marked encrypted to now being marked as not encrypted (through new identify mapped page tables) results in memory

Re: [PATCH 1/3] drivers: remoteproc: Make mdt_loader firmware authentication optional

2017-07-26 Thread Bjorn Andersson
On Thu 29 Jun 07:17 PDT 2017, Sricharan R wrote: > qcom_mdt_load function loads the mdt type firmware and > authenticates it as well. Make the authentication only > when requested by the caller, so that the function can be used > by self-authenticating remoteproc as well. > This is good, we

Re: [PATCH 3/4] ndctl: switch to tools/include/linux/{kernel, list, bitmap}.h

2017-07-26 Thread Dan Williams
On Wed, Jul 26, 2017 at 10:57 AM, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 26, 2017 at 10:31:48AM -0700, Dan Williams escreveu: >> On Wed, Jul 26, 2017 at 10:19 AM, Ingo Molnar wrote: >> > * Dan Williams wrote: >> >> On Wed, Jul 26, 2017 at 4:29 AM, Ingo Molnar wrote: >> > which I could

[PATCH] f2fs: give a try to do atomic write in -ENOMEM case

2017-07-26 Thread Jaegeuk Kim
It'd be better to retry writing atomic pages when we get -ENOMEM. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index f964b68718c1..f5d139f897dc 100644 --- a/fs/f2fs/segment.c

Re: [PATCH 3/3] EDAC, ghes: Make it a proper module

2017-07-26 Thread Mauro Carvalho Chehab
Em Wed, 26 Jul 2017 17:27:12 + "Luck, Tony" escreveu: > > > > Hmm... I'm not seeing any implementation that would allow setting > > > > between firmware first, hardware first or "auto", as we've discussed. > > > > > > This is all coming up. As the 0/3 message said, these 3 patches are the >

Re: [PATCH v3] irqchip/tango: Don't use incorrect irq_mask_ack callback

2017-07-26 Thread Florian Fainelli
On 07/25/2017 06:29 AM, Måns Rullgård wrote: > Marc Gonzalez writes: > >> On 25/07/2017 15:16, Måns Rullgård wrote: >> >>> What happened to the patch adding the proper combined function? >> >> It appears you're not CCed on v2. >> >> https://patchwork.kernel.org/patch/9859799/ >> >> Doug wrote:

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-26 Thread Russell King - ARM Linux
On Wed, Jul 26, 2017 at 07:20:22AM -0700, Thomas Garnier wrote: > On Wed, Jul 26, 2017 at 5:02 AM, Will Deacon wrote: > > I looked to see what you've done for x86, but it looks like you check/clear > > the flag before the work pending loop (exit_to_usermode_loop), which > > subsequently

Re: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-07-26 Thread Casey Leedom
By the way Ding, two issues: 1. Did we ever get any acknowledgement from either Intel or AMD on this patch? I know that we can't ensure that, but it sure would be nice since the PCI Quirks that we're putting in affect their products. 2. I just realized that there's still a small

Re: [PATCH 0/3] memory: atmel-ebi: Fix setting EBI timings through dts

2017-07-26 Thread Boris Brezillon
Le Tue, 25 Jul 2017 14:00:21 +0200, Alexander Dahl a écrit : > Hello, > > this small patch series based on v4.13-rc2 fixes three things I found > when trying to run the latest rc on an at91samg20 based platform with > a SRAM like memory connected to the EBI interface, for which the > timings

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-26 Thread Thomas Garnier
On Wed, Jul 26, 2017 at 11:25 AM, Russell King - ARM Linux wrote: > On Wed, Jul 26, 2017 at 07:20:22AM -0700, Thomas Garnier wrote: >> On Wed, Jul 26, 2017 at 5:02 AM, Will Deacon wrote: >> > I looked to see what you've done for x86, but it looks like you check/clear >> > the flag before the

Re: [PATCH v2 2/4] can: fixed-transceiver: Add documentation for CAN fixed transceiver bindings

2017-07-26 Thread Franklin S Cooper Jr
On 07/26/2017 12:05 PM, Oliver Hartkopp wrote: > On 07/26/2017 06:41 PM, Andrew Lunn wrote: >> On Mon, Jul 24, 2017 at 06:05:19PM -0500, Franklin S Cooper Jr wrote: > >>> + >>> +Optional: >>> + max-arbitration-speed: a positive non 0 value that determines the max >>> +speed that CAN

Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

2017-07-26 Thread Paul E. McKenney
On Wed, Jul 26, 2017 at 06:01:15PM +, Mathieu Desnoyers wrote: > - On Jul 26, 2017, at 11:42 AM, Paul E. McKenney > paul...@linux.vnet.ibm.com wrote: > > > On Wed, Jul 26, 2017 at 09:46:56AM +0200, Peter Zijlstra wrote: > >> On Tue, Jul 25, 2017 at 10:50:13PM +, Mathieu Desnoyers

Re: [PATCH 2/3] ACPI/DRM: rework ACPI_VIDEO Kconfig dependencies

2017-07-26 Thread Rafael J. Wysocki
On Wednesday, July 26, 2017 03:53:11 PM Arnd Bergmann wrote: > ACPI_VIDEO keeps causing problems with circular Kconfig dependencies, > as it depends on a couple of other symbols, and it gets selected by > drivers that may end up being depending on others. > > This is an attempt to simplify this

[PATCH] security: fix description of values returned by cap_inode_need_killpriv

2017-07-26 Thread Stefan Berger
cap_inode_need_killpriv returns 1 if security.capability exists, 0 otherwise. Fix the description of the return value to reflect this. Signed-off-by: Stefan Berger --- security/commoncap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/security/commoncap.c

Re: [PATCH v2 04/22] fpga: mgr: add region_id to fpga_image_info

2017-07-26 Thread Alan Tull
On Sun, Jun 25, 2017 at 8:52 PM, Wu Hao wrote: Hi Hao, > This patch adds region_id to fpga_image_info data structure, it > allows driver to pass region id information to fpga-mgr via > fpga_image_info for fpga reconfiguration function. > > Signed-off-by: Wu Hao > --- >

Re: [PATCH 2/3] sparc64: Add 16GB hugepage support

2017-07-26 Thread Nitin Gupta
On 07/20/2017 01:04 PM, David Miller wrote: > From: Nitin Gupta > Date: Thu, 13 Jul 2017 14:53:24 -0700 > >> Testing: >> >> Tested with the stream benchmark which allocates 48G of >> arrays backed by 16G hugepages and does RW operation on >> them in parallel. > > It would be great if we

Re: [patches] [PATCH 17/17] RISC-V: Build Infastructure

2017-07-26 Thread Jonathan Neuschäfer
On Tue, Jul 25, 2017 at 10:20:50PM -0700, Palmer Dabbelt wrote: > On Tue, 25 Jul 2017 19:57:17 PDT (-0700), j.neuschae...@gmx.net wrote: > > On Tue, Jul 11, 2017 at 06:31:30PM -0700, Palmer Dabbelt wrote: [...] > >> +config ISA_C > >> + bool "Emit compressed instructions when building Linux" > >

Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

2017-07-26 Thread Juergen Gross
On 26/07/17 19:57, Andy Lutomirski wrote: > > >> On Jul 26, 2017, at 11:50 AM, Juergen Gross wrote: >> >>> On 26/07/17 15:48, Andy Lutomirski wrote: On Mon, Jul 24, 2017 at 7:28 AM, Juergen Gross wrote: When running as Xen pv-guest the exception frame on the stack contains %r11

nowait aio return value

2017-07-26 Thread Jason Baron
Hi, In testing nowait aio on ext4, I found that when appending to a file the return value is EAGAIN/EWOULDBLOCK, because as mentioned in the commit this will potentially trigger an allocation. However, the EAGAIN, seems somewhat misleading to me, in that if I continuously try the write, it

Re: [RFC PATCH 3/3] mm: shm: Use new hugetlb size encoding definitions

2017-07-26 Thread Matthew Wilcox
On Wed, Jul 26, 2017 at 10:39:30AM -0700, Mike Kravetz wrote: > In the overview of this RFC, I mentioned still needing to address the > comment from Aneesh about splitting SHM_HUGE_* definitions into arch > specific header files. This is how it is done for mmap. If an arch > supports multiple

[PATCH v2] fortify: Use WARN instead of BUG for now

2017-07-26 Thread Kees Cook
While CONFIG_FORTIFY_SOURCE continues to shake out, don't unconditionally use BUG(), opting instead for WARN(). This also renames fortify_panic() to fortify_overflow() which better matches what it is being called for. Cc: Daniel Micay Suggested-by: Linus Torvalds Signed-off-by: Kees Cook ---

Re: [PATCH] netpoll: Fix device name check in netpoll_setup()

2017-07-26 Thread Doug Anderson
Hi, On Tue, Jul 25, 2017 at 11:36 AM, Matthias Kaehlcke wrote: > Apparently netpoll_setup() assumes that netpoll.dev_name is a pointer > when checking if the device name is set: > > if (np->dev_name) { > ... > > However the field is a character array, therefore the condition always > yields

Re: [RESEND PATCH 2/2] userfaultfd: selftest: Add tests for UFFD_FREATURE_SIGBUS

2017-07-26 Thread Prakash Sangappa
On 7/26/17 12:53 AM, Mike Rapoport wrote: + /* * For non-cooperative userfaultfd test we fork() a process that will * generate pagefaults, will mremap the area monitored by the @@ -585,19 +598,54 @@ static int userfaultfd_open(int features) * The release of the pages currently

Re: [PATCH 1/2] MAINTAINERS: device property: acpi: add fwnode.h

2017-07-26 Thread Rafael J. Wysocki
On Friday, July 21, 2017 03:33:05 PM Frank Rowand wrote: > On 07/21/17 15:03, Rafael J. Wysocki wrote: > > On Thursday, July 20, 2017 12:13:24 PM frowand.l...@gmail.com wrote: > >> From: Frank Rowand > >> > >> ACPI is impacted by changes to fwnode.h, add a file entry > >> to ACPI > >> > >>

[RFT 1/2] ASoC: samsung: Fix possible double iounmap on s3c24xx driver probe failure

2017-07-26 Thread Krzysztof Kozlowski
Commit 87b132bc0315 ("ASoC: samsung: s3c24{xx,12}-i2s: port to use generic dmaengine API") moved ioremap() call from s3c-i2s-v2.c:s3c_i2sv2_probe() to s3c2412-i2s.c:s3c2412_iis_dev_probe() and converted it to devm- resource managed interface. However the error path in first of them -

[RFT 2/2] ASoC: samsung: Add proper error paths to s3c24xx I2S driver

2017-07-26 Thread Krzysztof Kozlowski
s3c2412_i2s_probe() might fail so driver has to revert work done by s3c_i2sv2_probe() (clock enabling). Missing doing this would lead to clock enable in-balance. Signed-off-by: Krzysztof Kozlowski --- Please, kindly test on S3C24xx hardware. --- sound/soc/samsung/s3c-i2s-v2.c | 9 +

[PATCH] ASoC: samsung: s3c2412: cleanups / fixes for preparation of clocks.

2017-07-26 Thread Arvind Yadav
-Use devm_clk_get() to make cleanup paths more simple. -clk_prepare_enable() can fail here and we must check its return value. -Add s3c_i2sv2_remove cleanup function of s3c_i2sv2_probe. -No need to iounmap. Here, mapping done by devm_ioremap_resource. Signed-off-by: Arvind Yadav ---

Re: bcache with existing ext4 filesystem

2017-07-26 Thread Austin S. Hemmelgarn
On 2017-07-26 13:41, Eric Wheeler wrote: On Wed, 26 Jul 2017, Pavel Machek wrote: Hi! Unfortunately, that would mean shifting 400GB data 8KB forward, and compatibility problems. So I'd prefer adding bcache superblock into the reserved space, so I can have caching _and_ compatibility with

Re: [PATCH v3 4/5] ACPI / boot: Not all platform require acpi_reduced_hw_init()

2017-07-26 Thread Rafael J. Wysocki
On Sunday, July 23, 2017 12:14:27 AM Rafael J. Wysocki wrote: > On Sun, Jul 23, 2017 at 12:13 AM, Andy Shevchenko > wrote: > > On Sun, Jul 23, 2017 at 1:02 AM, Rafael J. Wysocki > > wrote: > >> On Saturday, July 22, 2017 04:53:52 AM Andy Shevchenko wrote: > >>> On Sat, Jul 22, 2017 at 1:25 AM,

Re: [RESEND PATCH 2/2] userfaultfd: selftest: Add tests for UFFD_FREATURE_SIGBUS

2017-07-26 Thread Prakash Sangappa
On 7/26/17 7:27 AM, Andrea Arcangeli wrote: On Tue, Jul 25, 2017 at 12:47:42AM -0400, Prakash Sangappa wrote: Signed-off-by: Prakash Sangappa --- tools/testing/selftests/vm/userfaultfd.c | 121 +- 1 files changed, 118 insertions(+), 3 deletions(-) Like Mike

Re: [PATCH v6 1/1] acpi: apei: Enable APEI multiple GHES source to share a single external IRQ

2017-07-26 Thread Rafael J. Wysocki
On Sunday, July 23, 2017 12:01:10 AM Rafael J. Wysocki wrote: > On Saturday, July 22, 2017 07:59:54 AM Borislav Petkov wrote: > > On Fri, Jul 21, 2017 at 11:24:37AM -0700, Loc Ho wrote: > > > X-Gene platforms describe multiple GHES error sources with the same > > > hardware > > > error

Re: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-07-26 Thread Casey Leedom
| From: Alexander Duyck | Sent: Wednesday, July 26, 2017 11:44 AM | | On Jul 26, 2017 11:26 AM, "Casey Leedom" wrote: | | | |     I think that the patch will need to be extended to modify | |     drivers/pci.c/iov.c:sriov_enable() to explicitly turn off | |     Relaxed Ordering Enable if the

Re: [PATCH] mailbox: pcc: Fix crash when request PCC channel 0

2017-07-26 Thread Rafael J. Wysocki
On Monday, July 24, 2017 06:30:46 PM Prakash, Prashanth wrote: > > On 7/24/2017 2:32 PM, Rafael J. Wysocki wrote: > > On Friday, July 21, 2017 03:09:29 PM Hoan Tran wrote: > >> When PCCT is not available, kernel crashes as below when requests PCC > >> channel 0. This patch fixes this issue. > >>

Re: [PATCH v1 6/6] device property: Switch to use new generic UUID API

2017-07-26 Thread Rafael J. Wysocki
On Wednesday, July 26, 2017 01:03:03 PM Andy Shevchenko wrote: > On Wed, 2017-07-26 at 02:27 +0200, Rafael J. Wysocki wrote: > > On Wednesday, July 26, 2017 03:35:01 AM Andy Shevchenko wrote: > > > On Wed, Jul 26, 2017 at 3:21 AM, Rafael J. Wysocki > > t> wrote: > > > > > Andy, do you want me to

Re: [PATCH 2/3] drivers: remoteproc: Add Hexagon Q6 - WCSS integrated core driver

2017-07-26 Thread Bjorn Andersson
On Thu 29 Jun 07:17 PDT 2017, Sricharan R wrote: > IPQ8074 has an integrated Hexagon dsp core Q6v5 and a wireless lan > (Lithium) IP. This patch adds the remoteproc driver to reset, load > and boot Q6 firmware. > There is a fair amount of code in this driver that seems to be equivalent to

Re: new objtool unreachable instruction warnings

2017-07-26 Thread Josh Poimboeuf
On Wed, Jul 26, 2017 at 04:46:40PM +0200, Arnd Bergmann wrote: > I only saw these warnings once, they are either very rare, or were introduced > recently: > > arch/x86/kvm/vmx.o: warning: objtool: .altinstr_replacement+0x0: > unreachable instruction > arch/x86/kvm/svm.o: warning: objtool:

Re: [PATCH] ASoC: samsung: s3c2412: cleanups / fixes for preparation of clocks.

2017-07-26 Thread Krzysztof Kozlowski
On Thu, Jul 27, 2017 at 12:28:52AM +0530, Arvind Yadav wrote: > -Use devm_clk_get() to make cleanup paths more simple. > -clk_prepare_enable() can fail here and we must check its return value. > -Add s3c_i2sv2_remove cleanup function of s3c_i2sv2_probe. > -No need to iounmap. Here, mapping done by

<    12   13   14   15   16   17   18   19   20   >