Re: [PATCH v2 1/3] perf/sdt/x86: Add renaming logic for (missing) 8 bit registers

2017-03-27 Thread Ravi Bangoria
Hi Masami, Thanks for the review. On Monday 27 March 2017 07:47 PM, Masami Hiramatsu wrote: > On Mon, 27 Mar 2017 13:28:27 +0530 > Ravi Bangoria wrote: > >> I found couple of events using al, bl, cl and dl registers for >> argument. These are not directly accepted by uprobe_events and >> thus nee

Re: [PATCH net-next v2 5/5] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-03-27 Thread Sean Wang
Hi Andrew On Fri, 2017-03-24 at 15:19 +0100, Andrew Lunn wrote: > On Tue, Mar 21, 2017 at 05:35:10PM +0800, sean.w...@mediatek.com wrote: > > Hi Sean > > > + /* Lower Tx Driving */ > > + for (i = 0 ; i < 6 ; i++) > > Could MT7530_CPU_PORT be used here? > I should create meaningful defi

RE: [EXTERNAL] Re: [PATCH 1/1] ethtool : added get_phy_stats, get_strings,get_sset_count

2017-03-27 Thread Scariah, Thomas
Hello Andrew, > > Hello, > > > > On 03/27/2017 03:12 AM, Thomas Scariah wrote: > > > From: "Scariah, Thomas" > > > > > > Added functions to support ethtool to print the phy statistics and > > > error information along with other ethtool statistics. This will > > > help ethtool information t

[RFC PATCH 5/5] sched/events: Introduce task_group load tracking trace event

2017-03-27 Thread Dietmar Eggemann
The trace event key load is mapped to: (1) load : cfs_rq->tg->load_avg The cfs_rq owned by the task_group is used as the only parameter for the trace event because it has a reference to the taskgroup and the cpu. Using the taskgroup as a parameter instead would require the cpu as a second parame

[RFC PATCH 0/5] CFS load tracking trace events

2017-03-27 Thread Dietmar Eggemann
This patch-set introduces trace events for load (and utilization) tracking for the following three cfs scheduler bricks: cfs_rq, sched_entity and task_group. I've decided to sent it out because people are discussing problems with PELT related functionality and as a base for the related discussion

[RFC PATCH 4/5] sched/events: Introduce sched_entity load tracking trace event

2017-03-27 Thread Dietmar Eggemann
The trace event keys load and util (utilization) are mapped to: (1) load : se->avg.load_avg (2) util : se->avg.util_avg To let this trace event work for configurations w/ and w/o group scheduling support for cfs (CONFIG_FAIR_GROUP_SCHED) the following special handling is necessary for non-exis

[RFC PATCH 3/5] sched/fair: Export group_cfs_rq()

2017-03-27 Thread Dietmar Eggemann
Export struct cfs_rq *group_cfs_rq(struct sched_entity *se) to be able to distinguish sched_entities representing either tasks or task_groups in the sched_entity related load tracking trace event provided by the next patch. Signed-off-by: Dietmar Eggemann Cc: Peter Zijlstra Cc: Ingo Molnar ---

[RFC PATCH 2/5] sched/events: Introduce cfs_rq load tracking trace event

2017-03-27 Thread Dietmar Eggemann
The trace event keys load and util (utilization) are mapped to: (1) load : cfs_rq->runnable_load_avg (2) util : cfs_rq->avg.util_avg To let this trace event work for configurations w/ and w/o group scheduling support for cfs (CONFIG_FAIR_GROUP_SCHED) the following special handling is necessary

[RFC PATCH 1/5] sched/autogroup: Define autogroup_path() for !CONFIG_SCHED_DEBUG

2017-03-27 Thread Dietmar Eggemann
Define autogroup_path() even in the !CONFIG_SCHED_DEBUG case. If CONFIG_SCHED_AUTOGROUP is enabled the path of an autogroup has to be available to be printed in the load tracking trace events provided by this patch-stack regardless whether CONFIG_SCHED_DEBUG is set or not. Signed-off-by: Dietmar E

[tip:x86/mm] mm: Fix false-positive VM_BUG_ON() in page_cache_{get,add}_speculative()

2017-03-27 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 591a3d7c09fa08baff48ad86c2347dbd28a52753 Gitweb: http://git.kernel.org/tip/591a3d7c09fa08baff48ad86c2347dbd28a52753 Author: Kirill A. Shutemov AuthorDate: Fri, 24 Mar 2017 14:13:05 +0300 Committer: Ingo Molnar CommitDate: Tue, 28 Mar 2017 08:23:27 +0200 mm: Fix false-positiv

Re: [PATCH 6/8] x86/dump_pagetables: Add support 5-level paging

2017-03-27 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > +#if PTRS_PER_P4D > 1 > + > +static void walk_p4d_level(struct seq_file *m, struct pg_state *st, pgd_t > addr, > + unsigned long P) Pretty ugly line break. Either don't break the line, or break it in a more logi

Re: [PATCH] clk: stm32h7: Add stm32h743 clock driver

2017-03-27 Thread Gabriel Fernandez
On 03/27/2017 09:04 PM, Rob Herring wrote: On Fri, Mar 24, 2017 at 4:41 AM, Gabriel Fernandez wrote: Hi Rob, Thanks for reviewing On 03/24/2017 03:06 AM, Rob Herring wrote: On Wed, Mar 15, 2017 at 10:23:30AM +0100, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez This patch ena

Re: [PATCH 1/2] soc: qcom: smsm: Handle probe deferral

2017-03-27 Thread Bjorn Andersson
On Wed 15 Mar 04:43 PDT 2017, Jonathan Neusch?fer wrote: > If qcom_smem_get or qcom_smem_alloc return -EPROBE_DEFER, let the caller > the caller handle it, instead of treating it as an error. > > Signed-off-by: Jonathan Neuschäfer > > --- > v1: > - TODO: Reading qcom_smsm_probe, I noticed memor

Re: [PATCH 0/8] fujitsu-laptop: use sparse keymaps for input event handling

2017-03-27 Thread Michał Kępień
> On Fri, Mar 24, 2017 at 09:19:59PM +1030, Jonathan Woithe wrote: > > On Mon, Mar 20, 2017 at 10:32:16AM +0100, Micha?? K??pie?? wrote: > > > This series simplifies handling of both brightness key and hotkey input > > > events on Fujitsu laptops by making use of sparse keymaps. This not > > > onl

RE: [tpmdd-devel] [PATCH] tpm/tpm_crb: fix unused warnings on suspend/resume functions

2017-03-27 Thread Winkler, Tomas
> > On Tue, Mar 21, 2017 at 10:05:36PM +, Winkler, Tomas wrote: > > > On Thu, Mar 16, 2017 at 09:51:33PM -0400, Jérémy Lefaure wrote: > > > > When PM_SLEEP is disabled crb_pm_suspend and crb_pm_resume are > not > > > > used by SET_SYSTEM_SLEEP_PM_OPS even if PM is enabled: > > > > > > > > dr

Re: [PATCH 5/8] x86/mm: Add basic defines/helpers for CONFIG_X86_5LEVEL

2017-03-27 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > +#ifdef CONFIG_X86_5LEVEL > + > +/* > + * PGDIR_SHIFT determines what a top-level page table entry can map > + */ > +#define PGDIR_SHIFT 48 > +#define PTRS_PER_PGD 512 > + > +/* > + * 4rd level page in 5-level paging case 4th. > + */ > +#define P4D_SHIFT39 >

Re: [PATCH] usb-musb: keep VBUS on when device is disconnected

2017-03-27 Thread Moreno Bartalucci
> Il giorno 27 mar 2017, alle ore 19:15, Bin Liu ha scritto: > > […] > > The MUSB otg state machine has been changed in many place since the last > time I looked at it, and I am not sure how exactly it works now. > > If the $subject patch can correctly keep the VBUS on for host-only mode, > we

Re: [PATCH 1/8] x86/boot: Detect 5-level paging support

2017-03-27 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > +#ifdef CONFIG_X86_5LEVEL > +#define DISABLE_LA57 0 > +#else > +#define DISABLE_LA57 (1<<(X86_FEATURE_LA57 & 31)) > +#endif > +#ifdef CONFIG_X86_5LEVEL > +# define NEED_LA57 (1<<(X86_FEATURE_LA57 & 31)) > +#else > +# define NEED_LA57 0 > +#endif Please use con

Re: [PATCH net-next v2 5/5] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-03-27 Thread Sean Wang
Hi Andrew, Add comment as below inline On Fri, 2017-03-24 at 15:02 +0100, Andrew Lunn wrote: > Hi Sean > > > + regmap = devm_regmap_init(ds->dev, NULL, priv, > > + &mt7530_regmap_config); > > + if (IS_ERR(regmap)) > > + dev_warn(priv->dev, "phy regmap

[tip:perf/core] perf list sdt: Show option in man page

2017-03-27 Thread tip-bot for Ravi Bangoria
Commit-ID: 6963d3c387ec123753788838785e68928cb87c1b Gitweb: http://git.kernel.org/tip/6963d3c387ec123753788838785e68928cb87c1b Author: Ravi Bangoria AuthorDate: Mon, 27 Mar 2017 08:25:38 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 11:58:09 -0300 perf list sdt

[tip:perf/core] perf utils: Readlink /proc/self/exe to find the perf binary

2017-03-27 Thread tip-bot for Tommi Rantala
Commit-ID: 55f77128e7652e537d6c226d5b56821cdb5c22de Gitweb: http://git.kernel.org/tip/55f77128e7652e537d6c226d5b56821cdb5c22de Author: Tommi Rantala AuthorDate: Wed, 22 Mar 2017 15:06:24 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 15:37:54 -0300 perf utils: R

[tip:perf/core] perf buildid: Do not assume that readlink() returns a null terminated string

2017-03-27 Thread tip-bot for Tommi Rantala
Commit-ID: 5a2342111c68e623e27ee7ea3d0492d8dad6bda0 Gitweb: http://git.kernel.org/tip/5a2342111c68e623e27ee7ea3d0492d8dad6bda0 Author: Tommi Rantala AuthorDate: Wed, 22 Mar 2017 15:06:20 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 15:35:06 -0300 perf buildid:

[tip:perf/core] perf utils: Null terminate buf in read_ftrace_printk()

2017-03-27 Thread tip-bot for Tommi Rantala
Commit-ID: d4b364df5f6540e8d6a38008ce2693ba73a8508a Gitweb: http://git.kernel.org/tip/d4b364df5f6540e8d6a38008ce2693ba73a8508a Author: Tommi Rantala AuthorDate: Wed, 22 Mar 2017 15:06:23 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 15:37:35 -0300 perf utils: N

[tip:perf/core] perf tests: Do not assume that readlink() returns a null terminated string

2017-03-27 Thread tip-bot for Tommi Rantala
Commit-ID: 0e6ba11511aef91ba8e2528ddc681d88922d7b0b Gitweb: http://git.kernel.org/tip/0e6ba11511aef91ba8e2528ddc681d88922d7b0b Author: Tommi Rantala AuthorDate: Wed, 22 Mar 2017 15:06:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 15:35:56 -0300 perf tests: D

[tip:perf/core] perf utils: use sizeof(buf) - 1 in readlink() call

2017-03-27 Thread tip-bot for Tommi Rantala
Commit-ID: b7126ef78612a3d4a37aadf39125cff048cebb9b Gitweb: http://git.kernel.org/tip/b7126ef78612a3d4a37aadf39125cff048cebb9b Author: Tommi Rantala AuthorDate: Wed, 22 Mar 2017 15:06:22 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 15:36:27 -0300 perf utils: u

[tip:perf/core] perf annotate: Fix a bug of division by zero when calculating percent

2017-03-27 Thread tip-bot for Taeung Song
Commit-ID: 2e933b1274dc89cd1629f6c7fd9bf952248d84c2 Gitweb: http://git.kernel.org/tip/2e933b1274dc89cd1629f6c7fd9bf952248d84c2 Author: Taeung Song AuthorDate: Mon, 27 Mar 2017 16:10:37 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 15:04:56 -0300 perf annotate:

[tip:perf/core] perf buildid: Do not update SDT cache with null filename

2017-03-27 Thread tip-bot for Tommi Rantala
Commit-ID: 2ccc220238680642be87a2d010ce07f1c40edafb Gitweb: http://git.kernel.org/tip/2ccc220238680642be87a2d010ce07f1c40edafb Author: Tommi Rantala AuthorDate: Wed, 22 Mar 2017 15:06:19 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 15:33:36 -0300 perf buildid:

[tip:perf/core] perf annotate: Fix a bug following symbolic link of a build-id file

2017-03-27 Thread tip-bot for Taeung Song
Commit-ID: 6ebd2547dd24daf95a21b2bc59931de8502afcc3 Gitweb: http://git.kernel.org/tip/6ebd2547dd24daf95a21b2bc59931de8502afcc3 Author: Taeung Song AuthorDate: Mon, 27 Mar 2017 16:10:36 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 14:58:20 -0300 perf annotate:

Re: [PATCH 4/4] zram: make deduplication feature optional

2017-03-27 Thread Minchan Kim
On Tue, Mar 28, 2017 at 02:12:04PM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (03/28/17 11:50), Minchan Kim wrote: > [..] > > > the reason I asked was that both zram and zswap sort of trying to > > > have same optimizations - zero filled pages handling, for example. > > > zram is a b

[tip:perf/core] perf report: Introduce --inline option

2017-03-27 Thread tip-bot for Jin Yao
Commit-ID: f3a60646cc3e0524d8f1083db1da7532a1590b40 Gitweb: http://git.kernel.org/tip/f3a60646cc3e0524d8f1083db1da7532a1590b40 Author: Jin Yao AuthorDate: Sun, 26 Mar 2017 04:34:27 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 12:01:46 -0300 perf report: Introd

[tip:perf/core] perf tools: Remove unused 'prefix' from builtin functions

2017-03-27 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b0ad8ea66445d64a469df0c710947f4cdb8ef16b Gitweb: http://git.kernel.org/tip/b0ad8ea66445d64a469df0c710947f4cdb8ef16b Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 27 Mar 2017 11:47:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 11:58:09 -0300 pe

[tip:perf/core] perf report: Show inline stack for browser mode

2017-03-27 Thread tip-bot for Jin Yao
Commit-ID: 0d3eb0b7783f1ee6d3314f101b9cbfb988020222 Gitweb: http://git.kernel.org/tip/0d3eb0b7783f1ee6d3314f101b9cbfb988020222 Author: Jin Yao AuthorDate: Sun, 26 Mar 2017 04:34:29 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 12:12:59 -0300 perf report: Show i

[tip:perf/core] perf report: Refactor common code in srcline.c

2017-03-27 Thread tip-bot for Jin Yao
Commit-ID: 5580338d0f207921bc1fef5b668cd564adcc3419 Gitweb: http://git.kernel.org/tip/5580338d0f207921bc1fef5b668cd564adcc3419 Author: Jin Yao AuthorDate: Sun, 26 Mar 2017 04:34:25 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 11:59:23 -0300 perf report: Refact

[tip:perf/core] perf report: Enable sorting by srcline as key

2017-03-27 Thread tip-bot for Milian Wolff
Commit-ID: 5dfa210e407d0fedf746958bff206995bd46570d Gitweb: http://git.kernel.org/tip/5dfa210e407d0fedf746958bff206995bd46570d Author: Milian Wolff AuthorDate: Sat, 18 Mar 2017 22:49:28 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 12:13:28 -0300 perf report: E

[tip:perf/core] perf report: Show inline stack for stdio mode

2017-03-27 Thread tip-bot for Jin Yao
Commit-ID: 0db64dd060f7fd77921be8f10fa9f7a5f49a3a43 Gitweb: http://git.kernel.org/tip/0db64dd060f7fd77921be8f10fa9f7a5f49a3a43 Author: Jin Yao AuthorDate: Sun, 26 Mar 2017 04:34:28 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 12:02:22 -0300 perf report: Show i

[tip:perf/core] perf report: Find the inline stack for a given address

2017-03-27 Thread tip-bot for Jin Yao
Commit-ID: a64489c56c307bf0955f0489158c5ecf6aa10fe2 Gitweb: http://git.kernel.org/tip/a64489c56c307bf0955f0489158c5ecf6aa10fe2 Author: Jin Yao AuthorDate: Sun, 26 Mar 2017 04:34:26 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 12:00:38 -0300 perf report: Find t

[PATCH 0/2] drivers: serial: Aspeed VUART driver

2017-03-27 Thread Joel Stanley
This is a driver for the Aspeed VUART. The VUART is a serial device on the BMC side of the LPC bus that connects a BMC to it's host processor. We add a flag to the serial core to allow the driver to skip probing of the THRE irq behaviour, which could hang due to the host not reading bytes out of t

[tip:perf/core] perf trace: Fixup thread refcounting

2017-03-27 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ef65e96e0762cb98d9abeb6737c721ca840f8092 Gitweb: http://git.kernel.org/tip/ef65e96e0762cb98d9abeb6737c721ca840f8092 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 24 Mar 2017 15:03:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 24 Mar 2017 16:05:31 -0300 pe

[tip:perf/core] perf trace: Check for vfs_getname.pathname length

2017-03-27 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 39f0e7a825cfc971dc9ad40b0770c22f6f4f89b8 Gitweb: http://git.kernel.org/tip/39f0e7a825cfc971dc9ad40b0770c22f6f4f89b8 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 24 Mar 2017 14:51:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 24 Mar 2017 16:05:31 -0300 pe

Re: [PATCH 4.10 012/167] mmc: sdhci-acpi: support deferred probe

2017-03-27 Thread Zhang Rui
On Mon, 2017-03-27 at 18:36 +0200, Greg Kroah-Hartman wrote: > On Mon, Mar 27, 2017 at 10:40:23AM +0800, Zhang Rui wrote: > > > > On Sun, 2017-03-26 at 12:26 +0100, Andrey Utkin wrote: > > > > > > On Fri, Mar 10, 2017 at 10:07:35AM +0100, Greg Kroah-Hartman > > > wrote: > > > > > > > > > > > >

Re: [PATCH net-next v2 5/5] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-03-27 Thread Sean Wang
Hi Florian, Thank for taking your time on reviewing. Add comment as inline. On Wed, 2017-03-22 at 11:39 -0700, Florian Fainelli wrote: > On 03/21/2017 02:35 AM, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on > > Media

[tip:perf/core] perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()

2017-03-27 Thread tip-bot for Adrian Hunter
Commit-ID: c3a0bbc7ad7598dec5a204868bdf8a2b1b51df14 Gitweb: http://git.kernel.org/tip/c3a0bbc7ad7598dec5a204868bdf8a2b1b51df14 Author: Adrian Hunter AuthorDate: Fri, 24 Mar 2017 14:15:52 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Mar 2017 11:58:08 -0300 perf auxtrace

[tip:perf/core] perf trace: Fix up error path indentation

2017-03-27 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c04dfafa6033ca2eddc56fe188017d9ae50414c9 Gitweb: http://git.kernel.org/tip/c04dfafa6033ca2eddc56fe188017d9ae50414c9 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 24 Mar 2017 14:54:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 24 Mar 2017 16:05:31 -0300 pe

Re: [PATCH 1/3] soc: qcom: smd: Transition client drivers from smd to rpmsg

2017-03-27 Thread Bjorn Andersson
On Mon 27 Mar 16:04 PDT 2017, David Miller wrote: > From: Bjorn Andersson > Date: Mon, 27 Mar 2017 15:58:37 -0700 > > > I'm sorry, but I can't figure out how to reproduce this. > > All of my builds are "make allmodconfig" so it should be easy to reproduce. Thanks, turns out that while it was p

[PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART

2017-03-27 Thread Joel Stanley
From: Jeremy Kerr This change adds a driver for the 16550-based Aspeed virtual UART device. We use a similar process to the of_serial driver for device probe, but expose some VUART-specific functions through sysfs too. OpenPOWER host firmware doesn't like it when the host-side of the VUART's FIF

[PATCH 1/2] serial: 8250: Add flag so drivers can avoid THRE probe

2017-03-27 Thread Joel Stanley
The probing of THRE irq behaviour assumes the other end will be reading bytes out of the buffer in order to probe the port at driver init. In some cases the other end cannot be relied upon to read these bytes, so provide a flag for them to skip this step. Bit 16 was chosen as the flags are a int a

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

2017-03-27 Thread Ingo Molnar
;perf-core-for-mingo-4.12-20170324' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2017-03-24 19:37:40 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-

Re: [BUG nohz]: wrong user and system time accounting

2017-03-27 Thread Wanpeng Li
2017-03-28 2:38 GMT+08:00 Luiz Capitulino : > On Mon, 27 Mar 2017 09:56:47 +0800 > Wanpeng Li wrote: > >> Actually after I bisect, the first bad commit is ff9a9b4c4334 ("sched, >> time: Switch VIRT_CPU_ACCOUNTING_GEN to jiffy granularity"). The bug >> can be reproduced readily if CONFIG_CONTEXT_TR

Re: [PATCH] Make EN2 pin optional in the TRF7970A driver

2017-03-27 Thread Heiko Schocher
Hello all, Am 21.02.2017 um 17:43 schrieb Rob Herring: On Sun, Feb 19, 2017 at 11:19 PM, Heiko Schocher wrote: Hello all, Am 13.02.2017 um 22:31 schrieb Rob Herring: On Mon, Feb 13, 2017 at 12:38 AM, Heiko Schocher wrote: Hello Rob, Am 10.02.2017 um 16:51 schrieb Rob Herring: On Tue

[PATCH v2] selftests: gpio: fix Makefile

2017-03-27 Thread Fathi Boudra
* Fix hardcoded and misplaced libmount headers. Use pkg-config instead to figure out CFLAGS/LDLIBS, fixing also their value for cross-compilation. Note: if pkg-config is missing (command not found), it will fail to build because headers can't be found or libmount library can't be linked. *

Re: [PATCH] mm: fix section name for .data..ro_after_init

2017-03-27 Thread Heiko Carstens
On Mon, Mar 27, 2017 at 12:22:13PM -0700, Kees Cook wrote: > A section name for .data..ro_after_init was added by both: > > commit d07a980c1b8d ("s390: add proper __ro_after_init support") > > and > > commit d7c19b066dcf ("mm: kmemleak: scan .data.ro_after_init") > > The latter adds inc

Re: [PATCH v5 08/13] powerpc/perf: PMU functions for Core IMC and hotplugging

2017-03-27 Thread Madhavan Srinivasan
On Thursday 23 March 2017 06:39 PM, Gautham R Shenoy wrote: Hi Maddy, Hemant, Anju, On Thu, Mar 16, 2017 at 01:05:02PM +0530, Madhavan Srinivasan wrote: [..snip..] + +static void core_imc_change_cpu_context(int old_cpu, int new_cpu) +{ + if (!core_imc_pmu) + return; +

[PATCH -mm -v7 8/9] mm, THP, swap: Support to split THP in swap cache

2017-03-27 Thread Huang, Ying
From: Huang Ying This patch enhanced the split_huge_page_to_list() to work properly for the THP (Transparent Huge Page) in the swap cache during swapping out. This is used for delaying splitting the THP during swapping out. Where for a THP to be swapped out, we will allocate a swap cluster, add

[PATCH -mm -v7 4/9] mm, THP, swap: Add get_huge_swap_page()

2017-03-27 Thread Huang, Ying
From: Huang Ying A variation of get_swap_page(), get_huge_swap_page(), is added to allocate a swap cluster (HPAGE_PMD_NR swap slots) based on the swap cluster allocation function. A fair simple algorithm is used, that is, only the first swap device in priority list will be tried to allocate the

[PATCH -mm -v7 2/9] mm, memcg: Support to charge/uncharge multiple swap entries

2017-03-27 Thread Huang, Ying
From: Huang Ying This patch make it possible to charge or uncharge a set of continuous swap entries in the swap cgroup. The number of swap entries is specified via an added parameter. This will be used for the THP (Transparent Huge Page) swap support. Where a swap cluster backing a THP may be a

[PATCH -mm -v7 6/9] mm, THP, swap: Support to add/delete THP to/from swap cache

2017-03-27 Thread Huang, Ying
From: Huang Ying With this patch, a THP (Transparent Huge Page) can be added/deleted to/from the swap cache as a set of (HPAGE_PMD_NR) sub-pages. This will be used for the THP (Transparent Huge Page) swap support. Where one THP may be added/delted to/from the swap cache. This will batch the swa

[PATCH -mm -v7 0/9] THP swap: Delay splitting THP during swapping out

2017-03-27 Thread Huang, Ying
From: Huang Ying Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Hugh, Shaohua, Minchan and Rik, could you help me to review the swap part of the patchset? Especially [1/9], [3/9], [4/9], [5/9], [6/9], [9/9]. Hi, Andrea could you help me to review the THP p

[PATCH -mm -v7 9/9] mm, THP, swap: Delay splitting THP during swap out

2017-03-27 Thread Huang, Ying
From: Huang Ying In this patch, splitting huge page is delayed from almost the first step of swapping out to after allocating the swap space for the THP (Transparent Huge Page) and adding the THP into the swap cache. This will reduce lock acquiring/releasing for the locks used for the swap cache

[PATCH -mm -v7 3/9] mm, THP, swap: Add swap cluster allocate/free functions

2017-03-27 Thread Huang, Ying
From: Huang Ying The swap cluster allocation/free functions are added based on the existing swap cluster management mechanism for SSD. These functions don't work for the rotating hard disks because the existing swap cluster management mechanism doesn't work for them. The hard disks support may

[PATCH -mm -v7 5/9] mm, THP, swap: Support to clear SWAP_HAS_CACHE for huge page

2017-03-27 Thread Huang, Ying
From: Huang Ying __swapcache_free() is added to support to clear the SWAP_HAS_CACHE flag for the huge page. This will free the specified swap cluster now. Because now this function will be called only in the error path to free the swap cluster just allocated. So the corresponding swap_map[i] ==

[PATCH -mm -v7 7/9] mm, THP: Add can_split_huge_page()

2017-03-27 Thread Huang, Ying
From: Huang Ying Separates checking whether we can split the huge page from split_huge_page_to_list() into a function. This will help to check that before splitting the THP (Transparent Huge Page) really. This will be used for delaying splitting THP during swapping out. Where for a THP, we wil

[PATCH -mm -v7 1/9] mm, swap: Make swap cluster size same of THP size on x86_64

2017-03-27 Thread Huang, Ying
From: Huang Ying In this patch, the size of the swap cluster is changed to that of the THP (Transparent Huge Page) on x86_64 architecture (512). This is for the THP swap support on x86_64. Where one swap cluster will be used to hold the contents of each THP swapped out. And some information of

[PATCH v2 2/3] soc: qcom: smd: Remove standalone driver

2017-03-27 Thread Bjorn Andersson
Remove the standalone SMD implementation as we have transitioned the client drivers to use the RPMSG based one. Also remove all dependencies on QCOM_SMD from Kconfig files, in order to keep them selectable in the absence of the removed symbol. Acked-by: Andy Gross Signed-off-by: Bjorn Andersson

[PATCH v2 3/3] soc: qcom: smd-rpm: Add msm8996 compatibility

2017-03-27 Thread Bjorn Andersson
With the RPM driver transitioned to RPMSG we can reuse the SMD-RPM driver ontop of GLINK for 8996, without any modifications. Acked-by: Andy Gross Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smd-rpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/smd-rpm.c b/drive

Re: [RFC PATCH 1/3] of/pci: dma-ranges to account highest possible host bridge dma_mask

2017-03-27 Thread Oza Oza
On Mon, Mar 27, 2017 at 8:16 PM, Rob Herring wrote: > On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep wrote: >> it is possible that PCI device supports 64-bit DMA addressing, >> and thus it's driver sets device's dma_mask to DMA_BIT_MASK(64), >> however PCI host bridge may have limitations on the

[PATCH v2 1/3] soc: qcom: smd: Transition client drivers from smd to rpmsg

2017-03-27 Thread Bjorn Andersson
By moving these client drivers to use RPMSG instead of the direct SMD API we can reuse them ontop of the newly added GLINK wire-protocol support found in the 820 and 835 Qualcomm platforms. As the new (RPMSG-based) and old SMD implementations are mutually exclusive we have to change all client dri

linux-next: Tree for Mar 28

2017-03-27 Thread Stephen Rothwell
Hi all, Changes since 20170327: The kbuild tree gained a conflict against the input-current tree. The s390 tree gained a conflict against the kbuild tree. The md tree gained a conflict against the device-mapper tree. The vhost tree gained a conflict against the kbuild tree. The livepatching

[PATCH v6 5/5] i2c: aspeed: added slave support for Aspeed I2C driver

2017-03-27 Thread Brendan Higgins
Added slave support for Aspeed I2C controller. Supports fourteen busses present in AST24XX and AST25XX BMC SoCs by Aspeed. Signed-off-by: Brendan Higgins --- Added in v6: - Pulled slave support out of initial driver commit into its own commit. - No longer arbitrarily restrict bus to be slave

[PATCH v6 4/5] i2c: aspeed: added driver for Aspeed I2C

2017-03-27 Thread Brendan Higgins
Added initial master support for Aspeed I2C controller. Supports fourteen busses present in AST24XX and AST25XX BMC SoCs by Aspeed. Signed-off-by: Brendan Higgins --- Changes for v2: - Added single module_init (multiple was breaking some builds). Changes for v3: - Removed "bus" device tree pa

[PATCH v6 2/5] irqchip/aspeed-i2c-ic: Add I2C IRQ controller for Aspeed

2017-03-27 Thread Brendan Higgins
The Aspeed 24XX/25XX chips share a single hardware interrupt across 14 separate I2C busses. This adds a dummy irqchip which maps the single hardware interrupt to software interrupts for each of the busses. Signed-off-by: Brendan Higgins --- Added in v6: - Pulled "aspeed_i2c_controller" out into

[PATCH v6 3/5] i2c: aspeed: added documentation for Aspeed I2C driver

2017-03-27 Thread Brendan Higgins
Added device tree binding documentation for Aspeed I2C busses. Signed-off-by: Brendan Higgins --- Changes for v2: - None Changes for v3: - Removed reference to "bus" device tree param Changes for v4: - None Changes for v5: - None Changes for v6: - Replaced the controller property with a

Re: [PATCH 4/4] zram: make deduplication feature optional

2017-03-27 Thread Sergey Senozhatsky
Hello Minchan, On (03/28/17 11:50), Minchan Kim wrote: [..] > > the reason I asked was that both zram and zswap sort of trying to > > have same optimizations - zero filled pages handling, for example. > > zram is a bit ahead now (to the best of my knowledge), because of > > the recent 'same elemen

[PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C Interrupt Controller

2017-03-27 Thread Brendan Higgins
Added device tree binding documentation for Aspeed I2C Interrupt Controller. Signed-off-by: Brendan Higgins --- Added in v6: - Pulled "aspeed_i2c_controller" out into a interrupt controller since that is what it actually does. --- .../interrupt-controller/aspeed,ast2400-i2c-ic.txt | 25 +++

[PATCH v6 0/5] i2c: aspeed: added driver for Aspeed I2C

2017-03-27 Thread Brendan Higgins
Sorry for the delay, I went on a long vacation prior to receiving feedback and got back in the middle of a hardware bring up that consumed all of my attention for an extended period of time. I will try to plan upstream submissions around my other responsibilities better in the future. Addressed co

Re: [PATCH v2] arch/sparc: Avoid DCTI Couples

2017-03-27 Thread David Miller
From: Babu Moger Date: Fri, 17 Mar 2017 14:52:21 -0600 > Avoid un-intended DCTI Couples. Use of DCTI couples is deprecated. > Also address the "Programming Note" for optimal performance. > > Here is the complete text from Oracle SPARC Architecture Specs. > > 6.3.4.7 DCTI Couples > "A delayed co

Re: [RFC PATCH 3/3] of: fix node traversing in of_dma_get_range

2017-03-27 Thread Oza Oza
please find my comments inline. On Mon, Mar 27, 2017 at 8:15 PM, Robin Murphy wrote: > Hi Rob, > > On 27/03/17 15:34, Rob Herring wrote: >> On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep wrote: >>> it jumps to the parent node without examining the child node. >>> also with that, it throws "no d

Re: [Patch v2 10/11] s5p-mfc: Add support for HEVC encoder

2017-03-27 Thread Smitha T Murthy
On Mon, 2017-03-27 at 14:09 +0200, Andrzej Hajda wrote: > Hi Smitha, > > Sorry for late reply, it seems I have missed this email. > > > On 14.03.2017 12:41, Smitha T Murthy wrote: > > On Tue, 2017-03-07 at 12:33 +0100, Andrzej Hajda wrote: > >> On 03.03.2017 10:07, Smitha T Murthy wrote: > >>>

[PATCH] usb: mtu3: Replace the extcon API

2017-03-27 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Cc: Greg Kroah-Hartman Cc: Chunfeng Yun Cc: linux-...@vger.kernel.org Signed-off-by: Chanwoo Choi --- drivers/us

[PATCH v2] sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable

2017-03-27 Thread Fam Zheng
If device reports a small max_xfer_blocks and a zero opt_xfer_blocks, we end up using BLK_DEF_MAX_SECTORS, which is wrong and r/w of that size may get error. Fixes: ca369d51b3e ("block/sd: Fix device-imposed transfer length limits") Signed-off-by: Fam Zheng --- v2: Fix granularity mismatch. [Ma

linux-next: build warning after merge of the md tree

2017-03-27 Thread Stephen Rothwell
Hi Shaohua, After merging the md tree, today's linux-next build (powerpc pseries_le_defconfig) produced this warning: drivers/md/raid1.c: In function 'raid1d': drivers/md/raid1.c:2172:9: warning: 'page_len$' may be used uninitialized in this function [-Wmaybe-uninitialized] if (memcmp(page_

Re: [PATCH] sparc64: Add support for 2G hugepages

2017-03-27 Thread David Miller
From: Nitin Gupta Date: Thu, 9 Mar 2017 14:22:23 -0800 > Signed-off-by: Nitin Gupta Applied.

[PATCH 1/2] phy: qcom-usb-hs: Replace the extcon API

2017-03-27 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - (deprecated) extcon_get_cable_state_() -> extcon_get_state() Cc: Kishon Vijay Abraham I Signed-off-by: Chanwoo Choi --- drivers/phy/phy-qcom-usb-hs.c | 14 +++---

[PATCH 2/2] phy: rockchip-inno-usb2: Replace the extcon API

2017-03-27 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() - extcon_set_cable_state_() -> extcon_set_state_sync() Cc: Kishon Vijay Abraham I Cc: Heiko Stuebner Cc: linux-roc

Re: [PATCH] sparc64: Fix size check in huge_pte_alloc

2017-03-27 Thread David Miller
From: Nitin Gupta Date: Fri, 3 Mar 2017 14:40:44 -0800 > Signed-off-by: Nitin Gupta Applied.

Re: [PATCH V13 10/10] arm/arm64: KVM: add guest SEA support

2017-03-27 Thread gengdongjiu
Hi Tyler, I have a question for below code. On 2017/3/25 0:01, Christoffer Dall wrote: > is_iabt = kvm_vcpu_trap_is_iabt(vcpu); > - if (unlikely(!is_iabt && kvm_vcpu_dabt_isextabt(vcpu))) { > + if (unlikely(!is_iabt && kvm_vcpu_dabt_isextabt(vcpu)) && sea_status) { > k

Re: [PATCH v2] regulator: core: Limit propagation of parent voltage count and list

2017-03-27 Thread kbuild test robot
Hi Matthias, [auto build test WARNING on regulator/for-next] [also build test WARNING on v4.11-rc4 next-20170327] [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/linux/commits/Matthias-Kaehlcke/regulator-core

Re: [PATCH] selftests: gpio: fix Makefile

2017-03-27 Thread Fathi Boudra
On 28 March 2017 at 06:00, Michael Ellerman wrote: > Fathi Boudra writes: >> diff --git a/tools/testing/selftests/gpio/Makefile >> b/tools/testing/selftests/gpio/Makefile >> index 205e4d10e085..714f1f7df04d 100644 >> --- a/tools/testing/selftests/gpio/Makefile >> +++ b/tools/testing/selftests/gp

linux-next: manual merge of the livepatching tree with the security tree

2017-03-27 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the livepatching tree got conflicts in: include/linux/init_task.h include/linux/sched.h between commit: e4e55b47ed9a ("LSM: Revive security_task_alloc() hook and per "struct task_struct" security blob.") from the security tree and commit: d83a7cb3

Re: [PATCH] net: ipconfig: fix ic_close_devs() use-after-free

2017-03-27 Thread David Miller
From: Mark Rutland Date: Mon, 27 Mar 2017 18:00:14 +0100 > Our chosen ic_dev may be anywhere in our list of ic_devs, and we may > free it before attempting to close others. When we compare d->dev and > ic_dev->dev, we're potentially dereferencing memory returned to the > allocator. This causes KA

Re: linux-next: manual merge of the vhost tree with the kbuild tree

2017-03-27 Thread Stephen Rothwell
Hi Michael, On Tue, 28 Mar 2017 14:57:23 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the vhost tree got a conflict in: > > include/uapi/linux/Kbuild > > between commit: > > 65017bab8a9e ("uapi: export all headers under uapi directories") > > from the kbuild tree and com

Re: linux-next: build warning after merge of the char-misc tree

2017-03-27 Thread Masahiro Yamada
Hi Stephen, 2017-03-28 12:31 GMT+09:00 Stephen Rothwell : > Hi all, > > After merging the char-misc tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > ./usr/include/linux/aspeed-lpc-ctrl.h:44: found __[us]{8,16,32,64} type > without #include > > Introduced by comm

linux-next: manual merge of the vhost tree with the kbuild tree

2017-03-27 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in: include/uapi/linux/Kbuild between commit: 65017bab8a9e ("uapi: export all headers under uapi directories") from the kbuild tree and commit: 80363894995b ("virtio_mmio: expose header to userspace") from the vhost

Re: [PATCH] shmem: fix __shmem_file_setup error path leaks

2017-03-27 Thread Hillf Danton
On March 28, 2017 1:06 AM Vito Caputo wrote: > > The existing path and memory cleanups appear to be in reverse order, and > there's no iput() potentially leaking the inode in the last two error gotos. > > Also make put_memory shmem_unacct_size() conditional on !inode since if we > entered cleanu

Re: [PATCH v2] net: moxa: fix TX overrun memory leak

2017-03-27 Thread David Miller
From: Jonas Jensen Date: Mon, 27 Mar 2017 14:31:19 +0200 > @@ -25,6 +25,7 @@ > #include > #include > #include > +#include > > #include "moxart_ether.h" > > @@ -297,6 +298,7 @@ static void moxart_tx_finished(struct net_device *ndev) > tx_tail = TX_NEXT(tx_tail); > }

RE: [PATCH 2/3] tools lib api fs: Add sysfs__write_int function

2017-03-27 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of kan.li...@intel.com > Sent: Thursday, March 23, 2017 1:26 PM > Subject: [PATCH 2/3] tools lib api fs: Add sysfs__write_int function ... > diff --git a/tools/lib/api/

linux-next: build warning after merge of the char-misc tree

2017-03-27 Thread Stephen Rothwell
Hi all, After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: ./usr/include/linux/aspeed-lpc-ctrl.h:44: found __[us]{8,16,32,64} type without #include Introduced by commit 6c4e97678501 ("drivers/misc: Add Aspeed LPC control driver") Probabl

Re: Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")

2017-03-27 Thread Mike Galbraith
On Tue, 2017-03-28 at 05:35 +0300, Michael S. Tsirkin wrote: > On Tue, Mar 28, 2017 at 03:08:20AM +0200, Mike Galbraith wrote: > > On Mon, 2017-03-27 at 21:16 +0300, Michael S. Tsirkin wrote: > > > > > Mike, could you pls send lspci -vv that shows up after > > > boot? > > > > Presuming you mean t

Re: [kernel-hardening] [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-27 Thread Andrew Donnellan
On 27/03/17 18:38, Andrew Donnellan wrote: On 01/02/17 07:24, Kees Cook wrote: From: Emese Revfy The kernel already has a mechanism to free up code and data memory that is only used during kernel or module initialization. This plugin will teach the compiler to find more such code and data tha

Re: [PATCH] selftests: gpio: fix Makefile

2017-03-27 Thread Michael Ellerman
Fathi Boudra writes: > diff --git a/tools/testing/selftests/gpio/Makefile > b/tools/testing/selftests/gpio/Makefile > index 205e4d10e085..714f1f7df04d 100644 > --- a/tools/testing/selftests/gpio/Makefile > +++ b/tools/testing/selftests/gpio/Makefile > @@ -1,23 +1,24 @@ > +CFLAGS += -O2 -g -std=gn

Re: [PATCH 4/4] zram: make deduplication feature optional

2017-03-27 Thread Minchan Kim
Hi Sergey, On Tue, Mar 28, 2017 at 11:22:45AM +0900, Sergey Senozhatsky wrote: > Cc Seth and Dan, just in case > > > Hello Joonsoo, > > On (03/28/17 10:02), Joonsoo Kim wrote: > [..] > > > so I was thinking for a moment -- do we want to keep this > > > functionality in zram or may be it belongs

  1   2   3   4   5   6   7   8   9   10   >