[PATCH] genalloc: Make the avail variable an atomic64_t

2017-10-25 Thread sbates
From: Stephen Bates If the amount of resources allocated to a gen_pool exceeds 2^32 then the avail atomic overflows and this causes problems when clients try and borrow resources from the pool. Add the header to pull in atomic64 operations on platforms that do not support them natively. Signed

Re: [1/2] drivers: firmware: psci: Add psci_is_available()

2017-10-25 Thread Lorenzo Pieralisi
On Wed, Oct 11, 2017 at 10:03:01AM +0200, Geert Uytterhoeven wrote: > PSCI support may be disabled at build time (by configuration) or at > run-time (PSCI firmware not present). While CONFIG_ARM_PSCI_FW can be > used to check for build time enablement, there is currently no simple > way to check i

Re: [PATCH v3] f2fs: add cur_reserved_blocks to support soft block reservation

2017-10-25 Thread Chao Yu
On 2017/10/25 22:06, Yunlong Song wrote: > Hi, Chao, >     Please see my comments below. > > On 2017/10/25 20:26, Chao Yu wrote: >> On 2017/10/25 18:02, Yunlong Song wrote: >>> ping... >> I've replied in this thread, check your email list please, or you can check >> the >> comments in below link:

Re: [PATCH] genalloc: Make the avail variable an atomic64_t

2017-10-25 Thread Logan Gunthorpe
On 25/10/17 09:32 AM, sba...@raithlin.com wrote: From: Stephen Bates If the amount of resources allocated to a gen_pool exceeds 2^32 then the avail atomic overflows and this causes problems when clients try and borrow resources from the pool. Add the header to pull in atomic64 operations on

Re: [RFC PATCH 0/9] V4L2 Jobs API WIP

2017-10-25 Thread Laurent Pinchart
Hello, On Monday, 23 October 2017 11:45:01 EEST Alexandre Courbot wrote: > On Thu, Oct 19, 2017 at 11:43 PM, Sakari Ailus wrote: > > On Thu, Sep 28, 2017 at 06:50:18PM +0900, Alexandre Courbot wrote: > >> Hi everyone, > >> > >> Here is a new attempt at the "request" (which I propose to rename "j

Re: [f2fs-dev] [PATCH 1/2] f2fs: add missing quota_initialize in f2fs_set_acl

2017-10-25 Thread Chao Yu
On 2017/10/25 14:30, Jaegeuk Kim wrote: > On 10/25, Chao Yu wrote: >> On 2017/10/25 13:44, Jaegeuk Kim wrote: >>> On 10/24, Chao Yu wrote: On 2017/10/24 6:14, Jaegeuk Kim wrote: > This patch adds to call quota_intialize in f2fs_set_acl. > > Signed-off-by: Jaegeuk Kim > --- >>>

Re: Re [PATCH v2] lib: optimize cpumask_next_and()

2017-10-25 Thread Yury Norov
On Wed, Oct 25, 2017 at 05:28:41PM +0200, Clement Courbet wrote: > Thanks for the comments Yury. > > > But I'd like also to keep _find_next_bit() consistent with > > _find_next_bit_le() > > Not sure I understand what you're suggesting here: Do you want a > find_next_and_bit_le() or do you want to

RE: [PATCH net-next 2/2] net: dsa: lan9303: Learn addresses on CPU port when bridged

2017-10-25 Thread Woojung.Huh
Hi Egil, > >> @@ -62,7 +80,10 @@ static struct sk_buff *lan9303_xmit(struct sk_buff > *skb, > >> struct net_device *dev) > >> > >>lan9303_tag = (u16 *)(skb->data + 2 * ETH_ALEN); > >>lan9303_tag[0] = htons(ETH_P_8021Q); > >> - lan9303_tag[1] = htons(dp->index | BIT(4)); > >> + lan9303_ta

Re: [PATCH v3] cpuset: Enable cpuset controller in default hierarchy

2017-10-25 Thread Waiman Long
On 10/06/2017 05:10 PM, Waiman Long wrote: > Given the fact that thread mode had been merged into 4.14, it is now > time to enable cpuset to be used in the default hierarchy (cgroup v2) > as it is clearly threaded. > > The cpuset controller had experienced feature creep since its > introduction mor

Re: [PATCH] I2C-Octeon: Use common error handling code in octeon_i2c_probe()

2017-10-25 Thread David Daney
On 10/25/2017 02:52 AM, SF Markus Elfring wrote: From: Markus Elfring NAK. We don't need any more Markus Elfring spam. Date: Wed, 25 Oct 2017 11:45:48 +0200 Add a jump target so that a specific error message is stored only once at the end of this function implementation. Please read C s

Re: alpha boot hang - 4.14-rc* regression

2017-10-25 Thread Meelis Roos
> > > > > > removing libata modules and rebooting fixes it - so it seems to be > > > > > > loading of libata. > > > > > > > > > > Can you please cherry-pick: > > > > > > > > > > commit b1f9e5e355e9 ("ide: fix IRQ assignment for PCI bus order > > > > > probing") > > > > > > > > > > from mainlin

Re: [PATCH 6/8] PCI: host: brcmstb: add MSI capability

2017-10-25 Thread Jim Quinlan
On Wed, Oct 25, 2017 at 9:22 AM, Bjorn Helgaas wrote: > On Tue, Oct 24, 2017 at 02:15:47PM -0400, Jim Quinlan wrote: >> This commit adds MSI to the Broadcom STB PCIe host controller. It does >> not add MSIX since that functiostbsrvnality is not in the HW. The MSI >> controller is physically locat

Re: [PATCH] wimax/i2400m: Remove VLAIS

2017-10-25 Thread Dan Williams
On Tue, 2017-10-24 at 21:00 +, Perez-Gonzalez, Inaky wrote: > > ping > > any comments on this? > > None from me; I don't have access to this HW anymore, so I can't > validate > if the change would work or not. I still have a 5350 around somewhere, I can make sure firmware loads if you like.

Re: [PATCH] iio/accel/bmc150: Improve unlocking of a mutex in two functions

2017-10-25 Thread Hans de Goede
Hi, On 25-10-17 16:33, SF Markus Elfring wrote: From: Markus Elfring Date: Wed, 25 Oct 2017 16:26:29 +0200 Add a jump target so that a call of the function "mutex_unlock" is mostly stored at the end of these function implementations. Replace five calls by goto statements. This issue was detec

Re: [PATCH] sound: Convert timers to use timer_setup()

2017-10-25 Thread Takashi Iwai
On Wed, 25 Oct 2017 17:09:27 +0200, Kees Cook wrote: > > In preparation for unconditionally passing the struct timer_list > pointer to all timer callbacks, switch to using the new timer_setup() > and from_timer() to pass the timer pointer explicitly. These are all the > "mechanical" changes remain

[PATCH] staging: rtl8723bs: Fix space before '[' error.

2017-10-25 Thread Arvind Yadav
Fix checkpatch.pl error: ERROR: space prohibited before open square bracket '['. Signed-off-by: Arvind Yadav --- drivers/staging/rtl8723bs/os_dep/rtw_proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/rtw_proc.c b/drivers/staging/rt

RE: [patch v9 1/4] drivers: jtag: Add JTAG core driver

2017-10-25 Thread Oleksandr Shamray
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, October 20, 2017 5:54 PM > To: Oleksandr Shamray > Cc: a...@arndb.de; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; devicet...@vger.kernel.org; > open...@lists.ozlabs.org; j...

Re: [PATCH 4/8] PCI: host: brcmstb: add dma-ranges for inbound traffic

2017-10-25 Thread Jim Quinlan
On Wed, Oct 25, 2017 at 5:46 AM, David Laight wrote: > From: Jim QuinlanPCIE_IPROC_MSI >> Sent: 24 October 2017 19:16 >> The Broadcom STB PCIe host controller is intimately related to the >> memory subsystem. This close relationship adds complexity to how cpu >> system memory is mapped to PCIe me

[GIT PULL 00/15] perf/core inlining improvements

2017-10-25 Thread Arnaldo Carvalho de Melo
t repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.15-20171025 for you to fetch changes up to d8a88dd243a170a226aba33e7c53704db2f82aa6: perf util: Enable handling of inlined frames by default (2017-10-25

[PATCH 06/15] perf report: Fall-back to function name comparison for -g srcline

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff When a callchain entry has no srcline available, we ended up comparing the instruction pointer. I consider this to be not too useful. Rather, I think we should group the entries by function name, which this patch adds. For people who want to split the data on the IP boundary, u

[PATCH 01/15] perf report: Remove code to handle inline frames from browsers

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff The follow-up commits will make inline frames first-class citizens in the callchain, thereby obsoleting all of this special code. Signed-off-by: Milian Wolff Reviewed-by: Jiri Olsa Reviewed-by: Namhyung Kim Cc: David Ahern Cc: Peter Zijlstra Cc: Yao Jin Link: http://lkml

[PATCH 10/15] perf report: Compare symbol name for inlined frames when sorting

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff Similar to the callstack frame matching, we also have to compare the symbol name when sorting hist entries. The reason is twofold: On one hand, multiple inlined functions will use the same symbol start/end values of the parent, non-inlined symbol. As such, all of these symbols

[PATCH 14/15] perf report: Use srcline from callchain for hist entries

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff This also removes the symbol name from the srcline column, more on this below. This ensures we use the correct srcline, which could originate from a potentially inlined function. The hist entries used to query for the srcline based purely on the IP, which leads to wrong result

[PATCH 12/15] perf report: Cache failed lookups of inlined frames

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff When no inlined frames could be found for a given address, we did not store this information anywhere. That means we potentially do the costly inliner lookup repeatedly for cases where we know it can never succeed. This patch makes dso__parse_addr_inlines always return a valid

[PATCH 13/15] perf report: Cache srclines for callchain nodes

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff On one hand this ensures that the memory is properly freed when the DSO gets freed. On the other hand this significantly speeds up the processing of the callchain nodes when lots of srclines are requested. For one of my data files e.g.: Before: Performance counter stats for

[PATCH 15/15] perf util: Enable handling of inlined frames by default

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff Now that we have caches in place to speed up the process of finding inlined frames and srcline information repeatedly, we can enable this useful option by default. Suggested-by: Ingo Molnar Signed-off-by: Milian Wolff Reviewed-by: Andi Kleen Cc: David Ahern Cc: Jin Yao Cc

[PATCH 11/15] perf report: Properly handle branch count in match_chain()

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff Some of the code paths I introduced before returned too early without running the code to handle a node's branch count. By refactoring match_chain to only have one exit point, this can be remedied. Signed-off-by: Milian Wolff Acked-by: Namhyung Kim Cc: David Ahern Cc: Jin

[PATCH 08/15] perf script: Mark inlined frames and do not print DSO for them

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff Instead of showing the (repeated) DSO name of the non-inlined frame, we now show the "(inlined)" suffix instead. Before: 214f7 __hypot_finite (/usr/lib/libm-2.25.so) ace3 hypot (/usr/lib/libm-2.25.so) a4a std::__compl

[PATCH 09/15] perf callchain: Compare symbol name for inlined frames when matching

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff The fake symbols we create for inlined frames will represent different functions but can use the symbol start address. This leads to issues when different inline branches all lead to the same function. Before: ~ $ perf report -s sym -i perf.inlining.data --inline --stdio -

[PATCH 05/15] perf callchain: Create real callchain entries for inlined frames

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff The inline_node structs are maintained by the new dso->inlines tree. This in turn keeps ownership of the fake symbols and srcline string representing an inline frame. This tree is sorted by address to allow quick lookups. All other entries of the symbol beside the function nam

[PATCH 02/15] perf callchain: Store srcline in callchain_cursor_node

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff This is mostly a preparation to enable the creation of full callchain nodes for inline frames. Such frames will reference the IP of the non-inlined frame, but hold the symbol and srcline for an inlined location. As such, we won't be able to query the srcline on-demand based on

[PATCH 04/15] perf callchain: Refactor inline_list to store srcline string directly

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff This is a preparation for the creation of real callchain entries for inlined frames. The rest of the perf code uses the srcline string. As such, using that also for the srcline API allows us to simplify some of the upcoming code. Most notably, it will allow us to cache the srcl

[PATCH 07/15] perf callchain: Mark inlined frames in output by " (inlined)" suffix

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff The original patch that introduced inline frame output in the various browsers used this suffix already. The new centralized approach that uses fake symbols for inlined frames was missing this approach so far. Instead of changing the symbol name itself, we only print the suffi

[PATCH 03/15] perf callchain: Refactor inline_list to operate on symbols

2017-10-25 Thread Arnaldo Carvalho de Melo
From: Milian Wolff This is a requirement to create real callchain entries for inlined frames. Since the list of inlines usually contains the target symbol too, i.e. the location where the frames get inlined to, we alias that symbol and reuse it as-is is. This ensures that other dependent functio

Re: [PATCH] Input: gtco - fix potential out-of-bound access

2017-10-25 Thread Dmitry Torokhov
On Wed, Oct 25, 2017 at 12:33:38PM +0200, Andrey Konovalov wrote: > On Tue, Oct 24, 2017 at 6:39 PM, Dmitry Torokhov > wrote: > > On Tue, Oct 24, 2017 at 01:04:03PM +0200, Andrey Konovalov wrote: > >> On Tue, Oct 24, 2017 at 7:28 AM, Dmitry Torokhov > >> wrote: > >> > parse_hid_report_descriptor(

Re: [PATCH] iio/accel/bmc150: Improve unlocking of a mutex in two functions

2017-10-25 Thread SF Markus Elfring
> IMHO, if you do this, you should rework the function so that there is a > single unlock call > at the end, not a separate one in in error label. Thanks for your update suggestion. Does it indicate that I may propose similar source code adjustments in this software area? > Could e.g. change t

Re: [RFC PATCH 0/9] V4L2 Jobs API WIP

2017-10-25 Thread Hans Verkuil
On 10/25/2017 05:48 PM, Laurent Pinchart wrote: > Hello, > > On Monday, 23 October 2017 11:45:01 EEST Alexandre Courbot wrote: >> On Thu, Oct 19, 2017 at 11:43 PM, Sakari Ailus wrote: >>> On Thu, Sep 28, 2017 at 06:50:18PM +0900, Alexandre Courbot wrote: Hi everyone, Here is a new

Re: [PATCH] media: pvrusb2: Convert timers to use timer_setup()

2017-10-25 Thread Mike Isely
Acked-By: Mike Isely On Tue, 24 Oct 2017, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Mike Isely > Cc: Mauro Carvalh

Re: [PATCH] iio/accel/bmc150: Improve unlocking of a mutex in two functions

2017-10-25 Thread Hans de Goede
Hi, On 25-10-17 18:15, SF Markus Elfring wrote: IMHO, if you do this, you should rework the function so that there is a single unlock call at the end, not a separate one in in error label. Thanks for your update suggestion. Does it indicate that I may propose similar source code adjustments

Re: [PATCH] drivers/net: netronome: Convert timers to use timer_setup()

2017-10-25 Thread Jakub Kicinski
On Wed, 25 Oct 2017 03:51:38 -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Jakub Kicinski > Cc: "David S. Miller"

Re: [PATCH] media: pvrusb2: Convert timers to use timer_setup()

2017-10-25 Thread Mike Isely
Ack'ed (separate formal reply) -Mike On Wed, 25 Oct 2017, Kees Cook wrote: > Eek, sorry, this uses timer_setup_on_stack() which is only in -next. > If you can Ack this, I can carry it in the timer tree. > > Thanks! > > -Kees > > On Tue, Oct 24, 2017 at 5:22 PM, Kees Cook wrote: > > In pre

[PATCH v2] tracing: Allocate mask_str buffer dynamically

2017-10-25 Thread changbin . du
From: Changbin Du The default NR_CPUS can be very large, but actual possible nr_cpu_ids usually is very small. For my x86 distribution, the NR_CPUS is 8192 and nr_cpu_ids is 4. About 2 pages are wasted. Most machines don't have so many CPUs, so define a array with NR_CPUS just wastes memory. So

Re: [PATCH] PM / QoS: Fix device resume latency PM QoS

2017-10-25 Thread Rafael J. Wysocki
On Wed, Oct 25, 2017 at 9:27 AM, Ramesh Thomas wrote: > On 2017-10-24 at 13:23:23 +0200, Rafael J. Wysocki wrote: >> On Tue, Oct 24, 2017 at 10:49 AM, Rafael J. Wysocki >> wrote: >> > On Tuesday, October 24, 2017 7:54:09 AM CEST Ramesh Thomas wrote: >> >> On 2017-10-20 at 13:27:34 +0200, Rafael

Re: [PATCH] Input: synaptics-rmi4: Limit the range of what GPIOs are buttons

2017-10-25 Thread Dmitry Torokhov
On Wed, Oct 25, 2017 at 03:37:35PM +0200, Benjamin Tissoires wrote: > On Oct 24 2017 or thereabouts, Andrew Duggan wrote: > > By convention the first 6 bits of F30 Ctrl 2 and 3 are used to signify > > I really do not like the "by convention". What if future firmware > developers are willing to add

Re: [PATCH] net: xfrm_user: use BUG_ON instead of if condition followed by BUG

2017-10-25 Thread Gustavo A. R. Silva
Hi all, Quoting Steffen Klassert : On Wed, Oct 25, 2017 at 01:22:22PM +0900, David Miller wrote: From: Herbert Xu Date: Wed, 25 Oct 2017 12:05:41 +0800 > On Tue, Oct 24, 2017 at 05:48:42PM +0900, David Miller wrote: >> >> This discussion has happened before. >> >> But I'll explain the conclu

Re: [PATCH] fs, mm: account filp and names caches to kmemcg

2017-10-25 Thread Johannes Weiner
On Wed, Oct 25, 2017 at 04:12:21PM +0200, Michal Hocko wrote: > On Wed 25-10-17 09:11:51, Johannes Weiner wrote: > > On Wed, Oct 25, 2017 at 09:15:22AM +0200, Michal Hocko wrote: > [...] > > > ... we shouldn't make it more loose though. > > > > Then we can end this discussion right now. I pointed

Re: [PATCH] xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()

2017-10-25 Thread Boris Ostrovsky
On 10/25/2017 11:08 AM, Juergen Gross wrote: > In case gntdev_mmap() succeeds only partially in mapping grant pages > it will leave some vital information uninitialized needed later for > cleanup. This will lead to an out of bounds array access when unmapping > the already mapped pages. > > So just

Re: [PATCH 0/9] Enable dw-mmc multi-card support

2017-10-25 Thread Ulf Hansson
Hi Liming, Sorry for jumping into the discussion like this. [...] >> >> This series of commits enables the multi-card support for the dw-mmc >> >> controller. It includes two parts as below. >> >> >> >> The first part (patches 1-7) reverts the series of recent commits >> >> that removed the mult

Linux Foundation Technical Advisory Board election results 2017

2017-10-25 Thread H. Peter Anvin
The TAB elections are now complete. Thank you to all the candidates for putting their names forward. With 73 ballots cast, the top 5 candidates received: Steve Rostedt 58 Jonathan Corbet 57 Greg Kroah-Hartman 57 Tim Bird39 Ted Ts'o37 It was

Re: [PATCH 0/9] Enable dw-mmc multi-card support

2017-10-25 Thread Ulf Hansson
[...] > Unfortunate patch 8 and 9 does *not* solve the fundamental problem > with multiple slots. You can't solve it without involving the mmc > core, as explained in earlier discussions [1]. > This link got lost, so here it is: [1] https://www.spinics.net/lists/linux-mmc/msg46549.html [...] K

Re: [PATCH] kernel/kprobes: add check to avoid kprobe memory leak

2017-10-25 Thread Masami Hiramatsu
On Tue, 24 Oct 2017 20:17:02 +0800 JianKang Chen wrote: > The function register_kretprobe is used to initialize a struct > kretprobe and allocate a list table for kprobe instance. > However,in this function, there is a memory leak. > > The test case: > > static struct kretprobe rp; > struct kr

Re: [PATCH 0/2] ARM-OMAP3: Fine-tuning for omap3xxx_hwmod_init()

2017-10-25 Thread Tony Lindgren
* SF Markus Elfring [171020 08:17]: > From: Markus Elfring > Date: Fri, 20 Oct 2017 17:08:09 +0200 > > Two update suggestions were taken into account > from static source code analysis. Thanks applying into omap-for-v4.15/coccinelle. Regards, Tony

Re: iio/accel/bmc150: Improve unlocking of a mutex in two functions

2017-10-25 Thread SF Markus Elfring
> If that is the only unlock in the function, then it is probably > best to keep things as is. In general gotos are considered > better then multiple unlocks, but not having either is > even better. Thanks for your quick feedback. >> How do you think about to use the following code variant then?

Re: Detecting page cache trashing state

2017-10-25 Thread Daniel Walker
On 09/28/2017 08:49 AM, Ruslan Ruslichenko -X (rruslich - GLOBALLOGIC INC at Cisco) wrote: Hi Johannes, Hopefully I was able to rebase the patch on top v4.9.26 (latest supported version by us right now) and test a bit. The overall idea definitely looks promising, although I have one question

Re: [PATCH] net: sunrpc: svcauth_gss: use BUG_ON instead of if condition followed by BUG

2017-10-25 Thread Jeff Layton
On Tue, 2017-10-24 at 15:12 -0500, Gustavo A. R. Silva wrote: > Quoting "J. Bruce Fields" : > > > On Tue, Oct 24, 2017 at 02:18:52PM -0400, Jeff Layton wrote: > > > On Tue, 2017-10-24 at 13:53 -0400, J. Bruce Fields wrote: > > > > On Tue, Oct 24, 2017 at 01:26:49PM -0400, Weston Andros Adamson wro

Re: [PATCH v2 0/2] mtd: nand: wait for tWHR, and fix the setup_data_interface of Denali

2017-10-25 Thread Masahiro Yamada
Hi Marc, 2017-10-19 23:58 GMT+09:00 Marc Gonzalez : > On 13/10/2017 10:34, Masahiro Yamada wrote: > >> 2017-10-04 20:05, Marc Gonzalez wrote: >> >>> On 29/09/2017 16:33, Masahiro Yamada wrote: >>> tango_nand.c is the only driver that sets NAND_WAIT_TCCS. Now, there is completely no

Re: [GIT PULL 00/15] perf/core inlining improvements

2017-10-25 Thread Ingo Molnar
ernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2017-10-24 10:53:04 +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.15-20171025 > > for you to fetch changes

[PATCH v2 7/9] ARM: dts: stm32: add exti support for stm32h743

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre This patch adds support of external interrupt (exti) for stm32h743. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32h743.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi index 58ec22

[PATCH v2 6/9] irqchip: stm32: move the wakeup on interrupt mask

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre Move irq_set_wake on interrupt mask, needed to wake up from low power mode as the event mask is not able to do so. Signed-off-by: Ludovic Barre --- drivers/irqchip/irq-stm32-exti.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/irqchi

RE: [PATCH] wimax/i2400m: Remove VLAIS

2017-10-25 Thread Perez-Gonzalez, Inaky
>On Tue, 2017-10-24 at 21:00 +, Perez-Gonzalez, Inaky wrote: >> > ping any comments on this? >> >> None from me; I don't have access to this HW anymore, so I can't >> validate if the change would work or not. > I still have a 5350 around somewhere, I can make sure firmware loads if > you like.

Re: [fstests PATCH v2] generic: add test for DAX MAP_SYNC support

2017-10-25 Thread Ross Zwisler
On Wed, Oct 25, 2017 at 03:19:22PM +0300, Amir Goldstein wrote: > On Sun, Oct 22, 2017 at 9:56 AM, Amir Goldstein wrote: > > On Sat, Oct 21, 2017 at 12:25 AM, Ross Zwisler > > wrote: > >> Add a test that exercises DAX's new MAP_SYNC flag. > >> > >> This test creates a file and writes to it via an

[PATCH v2 0/9] irqchip: stm32: add stm32h7 support

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre This series adds: -Management of multi-bank of external interrupts stm32h7 has up to 96 inputs (3 banks of 32 inputs). -Fix initial value after cold/hot boot (wakeup issue). Changes v2: -Remove irq_mask and adds const on struct stm32_exti_bank -Add wrapper functions pending

[PATCH v2 2/9] irqchip: stm32: add multi-bank management

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre -Prepare to manage multi-bank of external interrupts (N banks of 32 inputs). -Prepare to manage registers offsets by compatible (registers offsets could be different follow per stm32 platform). Signed-off-by: Ludovic Barre --- drivers/irqchip/irq-stm32-exti.c | 151

[PATCH v2 5/9] irqchip: stm32: fix initial values

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre -After cold boot, imr default value depends on hardware configuration. -After hot reboot the registers must be cleared to avoid residue. Signed-off-by: Ludovic Barre --- drivers/irqchip/irq-stm32-exti.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/ir

[PATCH v2 9/9] ARM: dts: stm32: add support of exti on stm32h743 pinctrl

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre This patch adds support of external interrupt (exti) on all gpio ports of stm32h743. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743-pinctrl.d

[PATCH v2 8/9] ARM: dts: stm32: add system config bank node for stm32h743

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre This patch adds system config support for stm32h743. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32h743.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi index 6b2fb4c..b17aa5c 100644

[PATCH v2 3/9] dt-bindings: interrupt-controllers: add compatible string for stm32h7

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre This patch updates stm32-exti documentation with stm32h7-exti compatible string. Signed-off-by: Ludovic Barre --- .../devicetree/bindings/interrupt-controller/st,stm32-exti.txt| 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devi

[PATCH v2 4/9] irqchip: stm32: add stm32h7 support

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre stm32h7 has up to 96 inputs (3 banks of 32 inputs max). Signed-off-by: Ludovic Barre --- drivers/irqchip/irq-stm32-exti.c | 42 1 file changed, 42 insertions(+) diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm

[PATCH v2 1/9] irqchip: stm32: select GENERIC_IRQ_CHIP

2017-10-25 Thread Ludovic Barre
From: Ludovic Barre This patch adds GENERIC_IRQ_CHIP to stm32 exti config. Signed-off-by: Ludovic Barre --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 9d8a1dd..c067aae 100644 --- a/drivers/irqchip/Kconfig

Re: [PATCH 2/2] Add /proc/PID/{smaps, numa_maps} support for DAX

2017-10-25 Thread Dave Hansen
On 10/25/2017 02:30 AM, Michal Hocko wrote: >> >> 7f6c1780-7f6c17e0 rw-s 00:06 20559 /dev/dax12.0 >> Size: 6144 kB >> . >> . >> . >> Ptes@2MB:6144 kB > This says how but it doesn't tell why and who is going to use the > information and what for.

Re: [PATCH v3 2/2] ima: check signature enforcement against cmdline param instead of CONFIG

2017-10-25 Thread Mimi Zohar
On Wed, 2017-10-25 at 13:05 -0200, Bruno E. O. Meneguele wrote: > On 24-10, Mimi Zohar wrote: > > On Tue, 2017-10-24 at 15:37 -0200, Bruno E. O. Meneguele wrote: > > > When the user requests MODULE_CHECK policy and its kernel is compiled > > > with CONFIG_MODULE_SIG_FORCE not set, all modules would

Re: [RFC 10/14] bootsplash: Add animation support

2017-10-25 Thread Randy Dunlap
On 10/25/17 05:45, Max Staudt wrote: > @@ -117,17 +128,45 @@ static bool is_fb_compatible(struct fb_info *info) > */ > void bootsplash_render_full(struct fb_info *info) > { > + bool is_update = false; > + > mutex_lock(&splash_global.data_lock); > > - if (!is_fb_compatible(info))

[tip:perf/core] perf callchain: Refactor inline_list to store srcline string directly

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 2be8832f3c51cf9e36a3e80ff57f4137505c2ba4 Gitweb: https://git.kernel.org/tip/2be8832f3c51cf9e36a3e80ff57f4137505c2ba4 Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:32:58 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:55 -0300 perf callchain

[tip:perf/core] perf callchain: Refactor inline_list to operate on symbols

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: fea0cf842c7aa08950063264ab1cfbce4ba38c1b Gitweb: https://git.kernel.org/tip/fea0cf842c7aa08950063264ab1cfbce4ba38c1b Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:32:57 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:55 -0300 perf callchain

[tip:perf/core] perf callchain: Store srcline in callchain_cursor_node

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 40a342cda2cd9bc8f7bf81c5ce1a141584760757 Gitweb: https://git.kernel.org/tip/40a342cda2cd9bc8f7bf81c5ce1a141584760757 Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:32:56 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:55 -0300 perf callchain

[tip:perf/core] perf report: Fall-back to function name comparison for -g srcline

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: cbe50f61727f538f05e63186c2e0022182a3a28f Gitweb: https://git.kernel.org/tip/cbe50f61727f538f05e63186c2e0022182a3a28f Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:33:00 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:55 -0300 perf report: F

[tip:perf/core] perf callchain: Mark inlined frames in output by " (inlined)" suffix

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 8932f8071cae8a12dfd5f49224ee176b0da4 Gitweb: https://git.kernel.org/tip/8932f8071cae8a12dfd5f49224ee176b0da4 Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:33:01 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:56 -0300 perf callchain

[tip:perf/core] perf callchain: Create real callchain entries for inlined frames

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 11ea2515f32e783b9a7984c148e742c377383915 Gitweb: https://git.kernel.org/tip/11ea2515f32e783b9a7984c148e742c377383915 Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:32:59 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:55 -0300 perf callchain

[tip:perf/core] perf report: Remove code to handle inline frames from browsers

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 2a704fc8db7b0080a67d9f4f4cb2a7bcaf79949d Gitweb: https://git.kernel.org/tip/2a704fc8db7b0080a67d9f4f4cb2a7bcaf79949d Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:32:55 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:55 -0300 perf report: R

[tip:perf/core] perf script: Mark inlined frames and do not print DSO for them

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 9628b56dc1240ce0faa3bd9b7a3390fa4451c59f Gitweb: https://git.kernel.org/tip/9628b56dc1240ce0faa3bd9b7a3390fa4451c59f Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:33:02 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:56 -0300 perf script: M

[tip:perf/core] perf callchain: Compare symbol name for inlined frames when matching

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 9856240ad3269f2fdab0b2fa4400ef8aab792061 Gitweb: https://git.kernel.org/tip/9856240ad3269f2fdab0b2fa4400ef8aab792061 Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:33:03 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:56 -0300 perf callchain

[PATCH] usb: gadget: composite: mark expected switch fall-throughs

2017-10-25 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/composite.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/composite.c b/drivers/u

[tip:perf/core] perf report: Properly handle branch count in match_chain()

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: bf36eb5c4b3ef0ebfb19b1a67a5fa5821e6c9fa7 Gitweb: https://git.kernel.org/tip/bf36eb5c4b3ef0ebfb19b1a67a5fa5821e6c9fa7 Author: Milian Wolff AuthorDate: Fri, 20 Oct 2017 12:14:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 25 Oct 2017 10:50:37 -0300 perf report:

Re: [RFC 10/14] bootsplash: Add animation support

2017-10-25 Thread Max Staudt
On 10/25/2017 07:20 PM, Randy Dunlap wrote: > On 10/25/17 05:45, Max Staudt wrote: >> @@ -117,17 +128,45 @@ static bool is_fb_compatible(struct fb_info *info) >> */ >> void bootsplash_render_full(struct fb_info *info) >> { >> +bool is_update = false; >> + >> mutex_lock(&splash_global.d

Re: [PATCH 6/8] PCI: host: brcmstb: add MSI capability

2017-10-25 Thread Bjorn Helgaas
[+cc Ray, Scott, Jon] On Wed, Oct 25, 2017 at 11:28:07AM -0400, Jim Quinlan wrote: > On Tue, Oct 24, 2017 at 2:57 PM, Florian Fainelli > wrote: > > Hi Jim, > > > > On 10/24/2017 11:15 AM, Jim Quinlan wrote: > >> This commit adds MSI to the Broadcom STB PCIe host controller. It does > >> not add

[tip:perf/core] perf report: Cache failed lookups of inlined frames

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: b38775cf7678d7715b35dded3dcfab66e244baae Gitweb: https://git.kernel.org/tip/b38775cf7678d7715b35dded3dcfab66e244baae Author: Milian Wolff AuthorDate: Thu, 19 Oct 2017 13:38:33 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 25 Oct 2017 10:50:45 -0300 perf report:

[tip:perf/core] perf report: Compare symbol name for inlined frames when sorting

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: aa441895f7b4ff5394d4964a8e6749f3866e44d0 Gitweb: https://git.kernel.org/tip/aa441895f7b4ff5394d4964a8e6749f3866e44d0 Author: Milian Wolff AuthorDate: Mon, 9 Oct 2017 22:33:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Oct 2017 09:59:56 -0300 perf report: C

[tip:perf/core] perf report: Cache srclines for callchain nodes

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 21ac9d547fdde79c1e8692587d9044fde549214b Gitweb: https://git.kernel.org/tip/21ac9d547fdde79c1e8692587d9044fde549214b Author: Milian Wolff AuthorDate: Thu, 19 Oct 2017 13:38:34 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 25 Oct 2017 10:50:46 -0300 perf report:

[tip:perf/core] perf report: Use srcline from callchain for hist entries

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: 1fb7d06a509e82893e59e0f0b223e7d5d6d0ef8c Gitweb: https://git.kernel.org/tip/1fb7d06a509e82893e59e0f0b223e7d5d6d0ef8c Author: Milian Wolff AuthorDate: Thu, 19 Oct 2017 13:38:35 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 25 Oct 2017 10:50:46 -0300 perf report:

[tip:perf/core] perf util: Enable handling of inlined frames by default

2017-10-25 Thread tip-bot for Milian Wolff
Commit-ID: d8a88dd243a170a226aba33e7c53704db2f82aa6 Gitweb: https://git.kernel.org/tip/d8a88dd243a170a226aba33e7c53704db2f82aa6 Author: Milian Wolff AuthorDate: Thu, 19 Oct 2017 13:38:36 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 25 Oct 2017 10:50:47 -0300 perf util: En

Re: [RFC 01/14] bootsplash: Initial implementation showing black screen

2017-10-25 Thread Randy Dunlap
On 10/25/17 05:45, Max Staudt wrote: > diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig > index 7f1f1fbcef9e..a6617c07229a 100644 > --- a/drivers/video/console/Kconfig > +++ b/drivers/video/console/Kconfig > @@ -151,6 +151,30 @@ config FRAMEBUFFER_CONSOLE_ROTATION >

[PATCH] usb: gadget: udc: dummy_hcd: mark expected switch fall-throughs

2017-10-25 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/usb/gadget/udc/dummy_hcd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/u

Re: iio/accel/bmc150: Improve unlocking of a mutex in two functions

2017-10-25 Thread Hans de Goede
Hi, On 25-10-17 18:58, SF Markus Elfring wrote: If that is the only unlock in the function, then it is probably best to keep things as is. In general gotos are considered better then multiple unlocks, but not having either is even better. Thanks for your quick feedback. How do you think abo

Re: [PATCH] fs, mm: account filp and names caches to kmemcg

2017-10-25 Thread Michal Hocko
On Wed 25-10-17 12:44:02, Johannes Weiner wrote: > On Wed, Oct 25, 2017 at 04:12:21PM +0200, Michal Hocko wrote: [...] I yet have to digest the first path of the email but the remaining just sounds we are not on the same page. > > So how about we start with a BIG FAT WARNING for the failure case?

Re: n900 in next-20170901

2017-10-25 Thread Tony Lindgren
* Joonsoo Kim [171022 21:51]: > On Fri, Oct 20, 2017 at 10:31:47AM -0700, Tony Lindgren wrote: > > * Joonsoo Kim [171019 18:53]: > > > Oops... I made a mistak. Could you test with reverting commit > > > c977ee2803787363187d6aca9cebdabc793c6531 ("omap: forcibly call > > > save_secure_ram_context()

Re: [RFC 08/14] bootsplash: Add file reading and picture rendering

2017-10-25 Thread Randy Dunlap
On 10/25/17 05:45, Max Staudt wrote: > diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig > index a6617c07229a..c3496c5ac2bb 100644 > --- a/drivers/video/console/Kconfig > +++ b/drivers/video/console/Kconfig > @@ -175,6 +175,14 @@ config BOOTSPLASH >If unsure, s

Re: [tip:x86/mm] x86/mm: Add support for early encryption/decryption of memory

2017-10-25 Thread Dave Hansen
On 07/18/2017 03:51 AM, tip-bot for Tom Lendacky wrote: > +/* > + * This routine does not change the underlying encryption setting of the > + * page(s) that map this memory. It assumes that eventually the memory is > + * meant to be accessed as either encrypted or decrypted but the contents > + * a

Re: [PATCH V2 0/3] RDMA/hns: Add Features & Code improvements for hip08

2017-10-25 Thread Doug Ledford
On Wed, 2017-10-18 at 17:32 +0800, Wei Hu (Xavier) wrote: > This patch-set introduce PBL page size configuration support, > updating PD&CQE&MTT specification and IRRL table chunk size > for hip08. > > Wei Hu (Xavier) (3): > RDMA/hns: Support WQE/CQE/PBL page size configurable feature in > hip08

Re: [PATCH] wimax/i2400m: Remove VLAIS

2017-10-25 Thread Dan Williams
On Wed, 2017-10-25 at 17:12 +, Perez-Gonzalez, Inaky wrote: > > On Tue, 2017-10-24 at 21:00 +, Perez-Gonzalez, Inaky wrote: > > > > ping any comments on this? > > > > > > None from me; I don't have access to this HW anymore, so I can't > > > validate if the change would work or not. > > I

Re: Re [PATCH v2] lib: optimize cpumask_next_and()

2017-10-25 Thread Yury Norov
On Wed, Oct 25, 2017 at 06:50:14PM +0300, Yury Norov wrote: > On Wed, Oct 25, 2017 at 05:28:41PM +0200, Clement Courbet wrote: > > Thanks for the comments Yury. > > > > > But I'd like also to keep _find_next_bit() consistent with > > > _find_next_bit_le() > > > > Not sure I understand what you're

<    1   2   3   4   5   6   7   8   >