Re: [PATCH 4/4] eeprom: at24: Add OF device ID table

2017-03-14 Thread Andy Shevchenko
On Tue, Mar 14, 2017 at 5:16 PM, Javier Martinez Canillas wrote: > The driver doesn't have a struct of_device_id table but supported devices > are registered via Device Trees. This is working on the assumption that a > I2C device registered via OF will always match a legacy I2C device ID and > tha

[rcu:rcu/next 40/42] include/linux/rcu_segcblist.h:672:2: note: in expansion of macro 'pr_info'

2017-03-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: 771147ecd0f12220493dba0e1e7e91e2eba7841e commit: 2c161784c6969441e409a749088a2a42198760fc [40/42] srcu: Use rcu_segcblist to track SRCU callbacks config: blackfin-allmodconfig (attached as .config) comp

Re: [PATCH] mm: move pcp and lru-pcp drainging into single wq

2017-03-14 Thread Yang Li
On Mon, Mar 13, 2017 at 4:58 AM, Michal Hocko wrote: > On Fri 10-03-17 17:31:56, Yang Li wrote: >> On Tue, Mar 7, 2017 at 7:17 AM, Michal Hocko wrote: >> > From: Michal Hocko >> > >> > We currently have 2 specific WQ_RECLAIM workqueues in the mm code. >> > vmstat_wq for updating pcp stats and lr

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

2017-03-14 Thread Tim Chen
On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: > 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 > manage

Re: [PATCH 1/2] serdev: Add serdev_device_write subroutine

2017-03-14 Thread Andy Shevchenko
On Tue, Mar 14, 2017 at 3:48 PM, Andrey Smirnov wrote: > Add serdev_device_write() which is a blocking call allowing to transfer > arbitraty amount of data (potentially exceeding amount that > serdev_device_write_buf can process in a single call) > +int serdev_device_write(struct serdev_device *s

[PATCH] cpufreq: Fix and clean up show_cpuinfo_cur_freq()

2017-03-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is a missing newline in show_cpuinfo_cur_freq(), so add it, but while at it clean it up somewhat too. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/cpufreq.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Index: linux-pm/drivers/cpufreq/c

Re: [PATCH 2/2] serdev: Add minimal bus locking API

2017-03-14 Thread Andy Shevchenko
On Tue, Mar 14, 2017 at 3:48 PM, Andrey Smirnov wrote: > Add minimal bus locking API which is useful for serial devices that > implement request-reply protocol Can you put an example here? I'm not sure mutex is needed at all. -- With Best Regards, Andy Shevchenko

[PATCH] pinctrl: qcom: Don't clear status bit on irq_unmask

2017-03-14 Thread Bjorn Andersson
Clearing the status bit on irq_unmask will discard any pending interrupt that did arrive after the irq_ack, i.e. while the IRQ handler function was executing. Fixes: f365be092572 ("pinctrl: Add Qualcomm TLMM driver") Cc: sta...@vger.kernel.org Cc: Stephen Boyd Reported-by: Timur Tabi Signed-off-

[PATCH v4.11] cgroup, net_cls: iterate the fds of only the tasks which are being migrated

2017-03-14 Thread Tejun Heo
The net_cls controller controls the classid field of each socket which is associated with the cgroup. Because the classid is per-socket attribute, when a task migrates to another cgroup or the configured classid of the cgroup changes, the controller needs to walk all sockets and update the classid

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

2017-03-14 Thread Tim Chen
On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: > 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

Re: [PATCH] fscrypt: remove broken support for detecting keyring key revocation

2017-03-14 Thread Eric Biggers
On Tue, Feb 21, 2017 at 03:07:11PM -0800, Eric Biggers wrote: > From: Eric Biggers > > Filesystem encryption ostensibly supported revoking a keyring key that > had been used to "unlock" encrypted files, causing those files to become > "locked" again. This was, however, buggy for several reasons,

Re: [PATCH v2 2/2] iproute2: add support for invisible qdisc dumping

2017-03-14 Thread Stephen Hemminger
On Wed, 8 Mar 2017 13:04:42 +0100 (CET) Jiri Kosina wrote: > From: Jiri Kosina > > Support the new TCA_DUMP_INVISIBLE netlink attribute that allows asking > kernel to perform 'full qdisc dump', as for historical reasons some of the > default qdiscs are being hidden by the kernel. > > The com

DOM Worker: page allocation stalls (4.9.13)

2017-03-14 Thread Philip J. Freeman
My laptop became almost totally un responsive today. I was able to switch VTs but not log in and had to power cycle to regain control. I don't understand what this means. Any ideas? -- "Philip Freeman" Mar 14 14:31:20 x61s-44a5 kernel: [168382.032039] DOM Worker: page allocation stalls for 106

Re: [PATCH 1/2] blk-mq: don't complete un-started request in timeout handler

2017-03-14 Thread Bart Van Assche
On Thu, 2017-03-09 at 21:02 +0800, Ming Lei wrote: > diff --git a/block/blk-mq.c b/block/blk-mq.c > index 159187a28d66..0aff380099d5 100644 > --- a/block/blk-mq.c > +++ b/block/blk-mq.c > @@ -697,17 +697,8 @@ static void blk_mq_check_expired(struct blk_mq_hw_ctx > *hctx, > { > struct blk_mq

Re: Linux 4.11: Reported regressions as of Tuesday, 20176-03-14

2017-03-14 Thread Michael Ellerman
Thorsten Leemhuis writes: > Hi! Find below my first regression report for Linux 4.11. It lists 9 > regressions I'm currently aware of. > > As always: Are you aware of any other regressions? Then please let me > know (simply CC regressi...@leemhuis.info). And please tell me if there > is anything

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

2017-03-14 Thread Tim Chen
On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: > 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

Re: [PATCH v2] xfs: remove kmem_zalloc_greedy

2017-03-14 Thread Luis R. Rodriguez
On Tue, Mar 14, 2017 at 11:07:38AM -0700, Darrick J. Wong wrote: > On Tue, Mar 14, 2017 at 05:57:45PM +0100, Luis R. Rodriguez wrote: > > On Tue, Mar 07, 2017 at 04:35:28PM -0800, Darrick J. Wong wrote: > > > The sole remaining caller of kmem_zalloc_greedy is bulkstat, which uses > > > it to grab 1

Re: [PATCH 4/4] eeprom: at24: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
Hello Andy, On 03/14/2017 07:59 PM, Andy Shevchenko wrote: > On Tue, Mar 14, 2017 at 5:16 PM, Javier Martinez Canillas > wrote: >> The driver doesn't have a struct of_device_id table but supported devices >> are registered via Device Trees. This is working on the assumption that a >> I2C device r

Re: [PATCH v2 16/23] MAINTAINERS: Add file patterns for powerpc device tree bindings

2017-03-14 Thread Michael Ellerman
Geert Uytterhoeven writes: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: linuxppc-...@lists.ozlabs.org > ---

Re: [PATCH 0/5] fujitsu-laptop: platform device code cleanup

2017-03-14 Thread Jonathan Woithe
Hi Michael On Tue, Mar 14, 2017 at 11:26:26AM +0100, Micha?? K??pie?? wrote: > This series removes backlight-related sysfs attributes from the platform > device registered by fujitsu-laptop and does some other cleanups to > platform device code which hopefully make it easier to understand. Thanks

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Miller
From: David Daney Date: Tue, 14 Mar 2017 14:21:39 -0700 > Changes from v1: > > - Use unsigned access for SKF_AD_HATYPE > > - Added three more patches for other problems found. > > > Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module > identified some failures and unimp

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Daney
On 03/14/2017 05:29 PM, David Miller wrote: From: David Daney Date: Tue, 14 Mar 2017 14:21:39 -0700 Changes from v1: - Use unsigned access for SKF_AD_HATYPE - Added three more patches for other problems found. Testing the BPF JIT on Cavium OCTEON (mips64) with the test-bpf module ident

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-14 Thread David Miller
From: David Daney Date: Tue, 14 Mar 2017 17:34:02 -0700 > On 03/14/2017 05:29 PM, David Miller wrote: >> From: David Daney >> Date: Tue, 14 Mar 2017 14:21:39 -0700 >> >>> Changes from v1: >>> >>> - Use unsigned access for SKF_AD_HATYPE >>> >>> - Added three more patches for other problems fo

Re: [PATCH 2/4] misc: ds1682: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
Hello Arnd, Thanks a lot for your feedback. On 03/14/2017 05:46 PM, Arnd Bergmann wrote: > On Tue, Mar 14, 2017 at 4:16 PM, Javier Martinez Canillas > wrote: > >> +static const struct of_device_id ds1682_of_match[] = { >> + { .compatible = "dallas,ds1682", }, >> + {} >> +}; >> +MODU

Re: [PATCH] perf sched timehist: Add --next option

2017-03-14 Thread Brendan Gregg
On Tue, Mar 14, 2017 at 6:12 AM, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 14, 2017 at 01:56:29AM +, Brendan Gregg escreveu: >> The --next option shows the next task for each context switch, providing >> more context for the sequence of scheduler events. >> >> $ perf sched timehist --next

Re: Free after use in fw_pm_notify()->kill_requests_without_uevent() due pending_fw_head

2017-03-14 Thread Luis R. Rodriguez
On Tue, Feb 21, 2017 at 06:59:12PM -0800, Sodagudi Prasad wrote: > On 2017-01-03 07:19, Greg KH wrote: > > On Tue, Jan 03, 2017 at 06:44:03AM -0800, Sodagudi Prasad wrote: > > > > > > Hi All, > > > > > > Device has crashed due to memory access after free while > > > pending_fw_head > > > list acc

Re: [PATCH v2] firmware/Makefile: force recompilation if makefile changes

2017-03-14 Thread Luis R. Rodriguez
On Sat, Mar 11, 2017 at 02:37:02PM +0900, Masahiro Yamada wrote: > Hi Luis, > > > 2017-01-24 0:07 GMT+09:00 Luis R. Rodriguez : > > If you modify the target asm we currently do not force the > > recompilation of the firmware files. The target asm is in > > the firmware/Makefile, peg this file as

Re: media / v4l2-mc: wishlist for complex cameras (was Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline)

2017-03-14 Thread Mauro Carvalho Chehab
Em Tue, 14 Mar 2017 23:32:54 +0100 Pavel Machek escreveu: > Hi! > > > > > Even if they were merged, if we keep the same mean time to develop a > > > > libv4l plugin, that would mean that a plugin for i.MX6 could take 2-3 > > > > years to be developed. > > > > > > > > There's a clear message on

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

2017-03-14 Thread Huang, Ying
Tim Chen writes: > On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: >> 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 th

Re: [PATCH v2 3/3] arm64: exynos: Enable Exynos PMU and PM domains drivers

2017-03-14 Thread Chanwoo Choi
Hi, On 2017년 03월 15일 02:10, Krzysztof Kozlowski wrote: > Enable EXYNOS_PM_DOMAINS because recently Exynos5433 got support for > Power Management domains. The Exynos5433 pinctrl driver requires > EXYNOS_PMU to get the syscon-regmap for PMU address space. > > Signed-off-by: Krzysztof Kozlowski >

Re: [PATCH] mtd: nand: use .read_oob() instead of .cmdfunc() for bad block check

2017-03-14 Thread Masahiro Yamada
Hi Boris, Thanks for your review. 2017-03-15 5:58 GMT+09:00 Boris Brezillon : > On Wed, 15 Mar 2017 02:45:48 +0900 > Masahiro Yamada wrote: > >> The nand_default_block_markbad() is the default implementation of >> chip->block_markbad(). This is called for marking a block as bad. >> It invokes n

Re: [PATCH v2 1/3] arm64: defconfig: Enable video, DRM and LPASS drivers for Exynos5433 and Exynos7

2017-03-14 Thread Chanwoo Choi
Hi, On 2017년 03월 15일 02:10, Krzysztof Kozlowski wrote: > Enable drivers specific to Exynos5433 and Exynos7: > 1. MFD Low Power Audio SubSystem (LPASS), > 2. DRM drivers (DECON display, outputs), > 3. Drivers for video-related sub-blocks (JPEG, Multi Format Codec, >GScaler). > > Signed-off-by:

[PATCH 0/2] Drivers: hv: Support vAPIC

2017-03-14 Thread kys
From: K. Y. Srinivasan Enable autoeoi based on the hypervisor recommendations. This is required to support vAPIC. K. Y. Srinivasan (2): Drivers: hv: Fix a typo Drivers: hv: Base autoeoi enablement based on hypervisor hints arch/x86/include/uapi/asm/hyperv.h |7 ++- drivers/hv/hv.c

[PATCH 2/2] Drivers: hv: Base autoeoi enablement based on hypervisor hints

2017-03-14 Thread kys
From: K. Y. Srinivasan Don't enable auto-eoi if the hypervisor recommends otherwise. This will enable vAPIC functionality if available. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/uapi/asm/hyperv.h |5 + drivers/hv/hv.c|5 - 2 files changed, 9 inser

[PATCH 1/2] Drivers: hv: Fix a typo

2017-03-14 Thread kys
From: K. Y. Srinivasan Fix a typo in the macro. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/uapi/asm/hyperv.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h index 3a20ccf..32ea7a3 10064

Re: [RFC 1/2] clk: dt: binding for basic divider clock

2017-03-14 Thread Stephen Boyd
On 03/14, Markus Mayer wrote: > From: Mike Turquette > > Devicetree binding for the basic clock divider, plus the setup function > to register the clock. Based on the existing fixed-clock binding. > > Tero Kristo contributed helpful bug fixes to this patch. > > Signed-off-by: Mike Turquette >

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

2017-03-14 Thread Huang, Ying
Tim Chen writes: > On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: >> 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

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

2017-03-14 Thread Huang, Ying
Tim Chen writes: > On Wed, 2017-03-08 at 15:26 +0800, Huang, Ying wrote: >> 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 exis

Re: Synaptics RMI4 touchpad regression in 4.11-rc1

2017-03-14 Thread Andrew Duggan
On 03/13/2017 10:10 PM, Cameron Gutman wrote: On 03/13/2017 06:35 PM, Andrew Duggan wrote: On 03/13/2017 06:15 AM, Benjamin Tissoires wrote: [Resending, forgot to add Jiri in CC] On Mar 13 2017 or thereabouts, Benjamin Tissoires wrote: On Mar 13 2017 or thereabouts, Thorsten Leemhuis wrote:

Re: Synaptics RMI4 touchpad regression in 4.11-rc1

2017-03-14 Thread Andrew Duggan
On 03/14/2017 01:14 AM, Thorsten Leemhuis wrote: Lo! On 14.03.2017 06:10, Cameron Gutman wrote: On 03/13/2017 06:35 PM, Andrew Duggan wrote: On 03/13/2017 06:15 AM, Benjamin Tissoires wrote: On Mar 13 2017 or thereabouts, Benjamin Tissoires wrote: On Mar 13 2017 or thereabouts, Thorsten Leemh

[PATCH 1/3] ubifs: remove filename from debug messages in ubifs_readdir

2017-03-14 Thread Hyunchul Lee
if filename is encrypted, filename could have no printable characters. so remove it. Signed-off-by: Hyunchul Lee --- fs/ubifs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index 528369f..b2c8beb 100644 --- a/fs/ubifs/dir.c +++ b/fs/

[PATCH 2/3] ubifs: fix debug messages for an invalid filename in ubifs_dump_node

2017-03-14 Thread Hyunchul Lee
if a character is not printable, print '?' instead of that. Signed-off-by: Hyunchul Lee --- fs/ubifs/debug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index 1e712a36..b14c06f 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c @@

[PATCH 3/3] ubifs: fix debug messages for an invalid filename in ubifs_dump_inode

2017-03-14 Thread Hyunchul Lee
instead of filenames, print inode numbers, file types, and length. Signed-off-by: Hyunchul Lee --- fs/ubifs/debug.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index b14c06f..718b749 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/de

Re: Linux 4.11: Reported regressions as of Tuesday, 20176-03-14

2017-03-14 Thread Michel Dänzer
[ Moving this sub-thread to the amd-gfx mailing list ] On 14/03/17 07:02 PM, Thorsten Leemhuis wrote: > Hi! Find below my first regression report for Linux 4.11. It lists 9 > regressions I'm currently aware of. [...] > Desc: DRM BUG while initializing cape verde (2nd card) > Repo: 2017-03-13 ht

Re: [PATCH] perf sort: only insert overhead && overhead_children when no overhead* field given

2017-03-14 Thread Du, Changbin
hi, Arnaldo, Seems you missed this one. In some case, sort by 'Children' first doesn't make sense, bacause I only care the 'Self' overhead. btw, does perf have a option that only calculate the *real* callee 'overhead_acc'? I mean only count the samples to parent when it is called by parent. For e

Re: [PATCH] perf report: show sort_order in title

2017-03-14 Thread Du, Changbin
On Tue, Mar 14, 2017 at 10:04:16AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 14, 2017 at 10:16:44AM +0800, Du, Changbin escreveu: > > On Mon, Mar 13, 2017 at 11:57:18AM -0300, Arnaldo Carvalho de Melo wrote: > > > But then, while testing, > > > > Before: > > > > $ perf report > > >

[PATCH 3/7] sched: Out of line __update_load_avg

2017-03-14 Thread Andi Kleen
From: Andi Kleen This is a very complex function, which is called in multiple places. It is unlikely that inlining or not inlining it makes any difference for its run time. This saves around 13k text in my kernel textdata bss dec hex filename 9083992 5367600 65442

[PATCH 5/7] Out of line dma_alloc/free_attrs

2017-03-14 Thread Andi Kleen
From: Andi Kleen These functions are very big and frequently used. I don't see any sense in inlining them because they do slow operations. Out of lining them saves ~19k text in my kernel. textdata bss dec hex filename 9047801 5367568 6544255319131859609 vm

[PATCH 1/7] trace: Move trace_seq_overflowed out of line

2017-03-14 Thread Andi Kleen
From: Andi Kleen Inlining trace_seq_overflowed takes ~17k in text size in my kernel. The function doesn't seem to be time critical, so we can just out of line it. Function Total Avg Num trace_seq_has_overflowed 17134

[PATCH 7/7] Remove expensive WARN_ON in pagefault_disabled_dec

2017-03-14 Thread Andi Kleen
From: Andi Kleen pagefault_disabled_dec is frequently used inline, and it has a WARN_ON for underflow that expands to about 6.5k of extra code. The warning doesn't seem to be that useful and worth so much code so remove it. If it was needed could make it depending on some debug kernel option. S

[PATCH 2/7] x86/atomic: Move __atomic_add_unless out of line

2017-03-14 Thread Andi Kleen
From: Andi Kleen __atomic_add_unless is fairly big and often used, so it's quite expensive to inline it. But it's unlikely that a call makes much difference for such a complex function doing an expensive atomic. So out of line it. This saves around 12k of text. textdata bss dec

[PATCH 4/7] kref: Remove WARN_ON for NULL release functions

2017-03-14 Thread Andi Kleen
From: Andi Kleen The kref functions check for NULL release functions. This WARN_ON seems rather pointless. We will eventually release and then just crash nicely. It is also somewhat expensive because these functions are inlined in a lot of places. Removing the WARN_ONs saves around 2.3k in this k

Some inline debloating, 4.11 edition

2017-03-14 Thread Andi Kleen
I was looking for bloated inlines, and fixed some of the worst ones in current master. Often inlines grow over time, and at some point it doesn't make sense anymore to have them inline. But the inline attribute is often kept. The attached patches together save around 70k in my kernel. Andrew, s

[PATCH 6/7] megasas: Remove expensive inline from megasas_return_cmd

2017-03-14 Thread Andi Kleen
From: Andi Kleen Remove an inline from a fairly big function that is used often. It's unlikely that calling or not calling it makes a lot of difference. Saves around 8k text in my kernel. textdata bss dec hex filename 9047801 5367568 6544255319131859609 vm

Re: [PATCH] media: mtk-jpeg: fix continuous log "Context is NULL"

2017-03-14 Thread Rick Chang
On Tue, 2017-03-14 at 22:21 +0800, Minghsiu Tsai wrote: > The symptom is continuous log "mtk-jpeg 18004000.jpegdec: Context is NULL" > in kernel log. It is becauese the error handling in irq doesn't clear > interrupt. > > The calling flow like as below when issue happen > mtk_jpeg_device_run() > m

Re: [PATCH fixes v3] pinctrl: Really force states during suspend/resume

2017-03-14 Thread Florian Fainelli
On 03/14/2017 03:16 AM, Linus Walleij wrote: > On Thu, Mar 2, 2017 at 11:19 PM, Florian Fainelli > wrote: > >> So actually, I have been thinking about this some more, and while this >> definitively fixes my original problem with pinctrl-single, I just had >> to make another driver (sdhci-brcmstb

[PATCH] perf: double free at function perf_hpp__reset_output_field

2017-03-14 Thread changbin . du
From: Changbin Du Some perf_hpp_fmt both registered at field and sort list. For such instance, we only can free it when removed from the both lists. Signed-off-by: Changbin Du Signed-off-by: Changbin Du --- tools/perf/ui/hist.c | 25 +++-- 1 file changed, 15 insertions(+),

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

2017-03-14 Thread kbuild test robot
Hi Sean, [auto build test WARNING on robh/for-next] [also build test WARNING on v4.11-rc2 next-20170310] [cannot apply to net-next/master net/master] [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/commi

Re: [PATCH 1/5] FPGA: Add TS-7300 FPGA manager

2017-03-14 Thread Florian Fainelli
On 02/27/2017 02:14 PM, Alan Tull wrote: > From: Florian Fainelli > > Add support for loading bitstreams on the Altera Cyclone II FPGA > populated on the TS-7300 board. This is done through the configuration > and data registers offered through a memory interface between the EP93xx > SoC and th

Re: [PATCH 3/4] x86, pci: Add interface to force mmconfig

2017-03-14 Thread Andi Kleen
> I agree that it should be fairly safe to do ECAM/MMCONFIG without > locking. Can we handle the decision part by adding a "lockless" bit > to struct pci_ops? Old ops don't mention that bit, so it will be > initialized to zero and we'll do locking as today. ECAM/MMCONFIG ops > can set it and we

[PATCHv5 1/4] Staging: ks7010: ks_wlan_ioctl.h: Removed mixed spaces/tabs

2017-03-14 Thread Matthew Giassa
Removing mixed spaces/hard-tabs used to create a "column alignment" of macro names and macro values. Signed-off-by: Matthew Giassa --- drivers/staging/ks7010/ks_wlan_ioctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h b/drivers/

[PATCHv5 3/4] Staging: ks7010: ks_wlan_ioctl.h: Aligning parameters in function prototypes.

2017-03-14 Thread Matthew Giassa
Re-aligning function parameters in function prototypes by inserting additional hard-tabs to resolve a checkpatch warning. Signed-off-by: Matthew Giassa --- drivers/staging/ks7010/ks_wlan_ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_wlan_io

[PATCHv5 4/4] Staging: ks7010: ks_wlan_ioctl.h: Wrap complex macros with parentheses

2017-03-14 Thread Matthew Giassa
Wrapping all complex macros with parentheses to resolve checkpatch errors. This change, along with the preceding changes in this change set, resolves all checkpatch warnings and errors for the file. Signed-off-by: Matthew Giassa --- drivers/staging/ks7010/ks_wlan_ioctl.h | 64 +--

[PATCHv5 2/4] Staging: ks7010: ks_wlan_ioctl.h: Remove trailing white space

2017-03-14 Thread Matthew Giassa
Removing trailing white space characters in comments to resolve a checkpatch warning. Signed-off-by: Matthew Giassa --- drivers/staging/ks7010/ks_wlan_ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h b/drivers/staging/ks7010/ks_w

Re: [RFC PATCH kernel] gcc-goto.sh: Allow to pass with CONFIG_DEBUG_INFO_SPLIT=y

2017-03-14 Thread Alexey Kardashevskiy
On 14/03/17 13:54, Alexey Kardashevskiy wrote: > On 03/03/17 11:51, Alexey Kardashevskiy wrote: >> With just CONFIG_DEBUG_INFO=y, the makefile adds "-g" to >> KBUILD_CFLAGS/KBUILD_AFLAGS and the test passes. >> >> However, if CONFIG_DEBUG_INFO_SPLIT is also enabled, the makefile >> adds "-gsplit-dw

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

2017-03-14 Thread kbuild test robot
Hi Sean, [auto build test WARNING on robh/for-next] [also build test WARNING on v4.11-rc2 next-20170310] [cannot apply to net-next/master net/master] [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/commi

Re: [PATCH 4/7] kref: Remove WARN_ON for NULL release functions

2017-03-14 Thread Greg KH
On Tue, Mar 14, 2017 at 07:14:28PM -0700, Andi Kleen wrote: > From: Andi Kleen > > The kref functions check for NULL release functions. > This WARN_ON seems rather pointless. We will eventually release and > then just crash nicely. It is also somewhat expensive because > these functions are inlin

Re: [PATCH 3/4] x86, pci: Add interface to force mmconfig

2017-03-14 Thread Bjorn Helgaas
On Tue, Mar 14, 2017 at 07:24:14PM -0700, Andi Kleen wrote: > > I agree that it should be fairly safe to do ECAM/MMCONFIG without > > locking. Can we handle the decision part by adding a "lockless" bit > > to struct pci_ops? Old ops don't mention that bit, so it will be > > initialized to zero an

Re: [PATCH] cpufreq: Fix and clean up show_cpuinfo_cur_freq()

2017-03-14 Thread Viresh Kumar
On 15-03-17, 00:12, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is a missing newline in show_cpuinfo_cur_freq(), so add it, > but while at it clean it up somewhat too. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c |8 +--- > 1 file changed, 5 i

Linux 4.10.3

2017-03-14 Thread Greg KH
I'm announcing the release of the 4.10.3 kernel. All users of the 4.10 kernel series must upgrade. The updated 4.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.10.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.54

2017-03-14 Thread Greg KH
I'm announcing the release of the 4.4.54 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.15

2017-03-14 Thread Greg KH
I'm announcing the release of the 4.9.15 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.10.3

2017-03-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 6e09b3a44e9a..190a684303c1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 10 -SUBLEVEL = 2 +SUBLEVEL = 3 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processo

Re: Linux 4.9.15

2017-03-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 5e7706e94622..03df4fcacdf2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 14 +SUBLEVEL = 15 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processo

Re: Linux 4.4.54

2017-03-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 10aec937e9e4..7f54ac081cf3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 53 +SUBLEVEL = 54 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/proces

Projects Finance & Business expansion

2017-03-14 Thread Slegt Financiële Dienstverlening B . V .
Dear Sir/Madam we are Slegt Financiële Dienstverlening B.V. Re: Projects Finance & Business expansion. Kindly be informed that we are investment company and we offer a wide range of project finance packages/services to Private, Corporate & Government Agencies. And Our Financing Options and se

Re: [PATCHv5 4/4] Staging: ks7010: ks_wlan_ioctl.h: Wrap complex macros with parentheses

2017-03-14 Thread Tobin C. Harding
On Tue, Mar 14, 2017 at 07:25:54PM -0700, Matthew Giassa wrote: > Wrapping all complex macros with parentheses to resolve checkpatch > errors. This change, along with the preceding changes in this change > set, resolves all checkpatch warnings and errors for the file. > > Signed-off-by: Matthew Gi

[PATCH] net: unix: properly re-increment inflight counter of GC discarded candidates

2017-03-14 Thread Andrey Ulanov
Dmitry has reported that a BUG_ON() condition in unix_notinflight() may be triggered by a simple code that forwards unix socket in an SCM_RIGHTS message. That is caused by incorrect unix socket GC implementation in unix_gc(). The GC first collects list of candidates, then (a) decrements their "chi

[PATCH net] bridge: ebtables: fix reception of frames DNAT-ed to bridge device

2017-03-14 Thread Linus Lüssing
When trying to redirect bridged frames to the bridge device itself via the ebtables nat-prerouting chain and the dnat target then this currently fails: The ethernet destination of the frame is dnat'ed to the MAC address of the bridge itself just fine and the correctly altered frame can even be cap

Re: [PATCH 2/4] misc: ds1682: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
On 03/14/2017 09:38 PM, Javier Martinez Canillas wrote: > Hello Arnd, > > Thanks a lot for your feedback. > > On 03/14/2017 05:46 PM, Arnd Bergmann wrote: >> On Tue, Mar 14, 2017 at 4:16 PM, Javier Martinez Canillas >> wrote: >> >>> +static const struct of_device_id ds1682_of_match[] = { >>> +

[PATCH] vc04_services: Fixing coding and logical guidelines

2017-03-14 Thread Pushkar Jambhlekar
Description: in file 'vc04_services/interface/vchiq_arm/vchiq_shim.c', making changes to make code according to 'checkpath.pl'. Also, fixing logical issue, i.e. removing break after goto statement. Signed-off-by: Pushkar Jambhlekar --- .../vc04_services/interface/vchiq_arm/vchiq_shim.c | 33

[PATCH v2 2/2] mfd: tps6105x: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 1/2] mfd: retu: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

perf: rdpmc mmap page time_enabled issue

2017-03-14 Thread Vince Weaver
So another obscure rdpmc problem, turned up by the PAPI regression tests. If you use rdpmc, and your event is attached measuring another process, and then you ENABLE/DISABLE/ENABLE/rdpmc the event somehow the userpg->time_enabled field gets a weird value and that completely confuses code expect

[GIT] Networking

2017-03-14 Thread David Miller
1) Ensure that mtu is at least IPV6_MIN_MTU in ipv6 VTI tunnel driver, from Steffen Klassert. 2) Fix crashes when user tries to get_next_key on an LPM bpf map, from Alexei Starovoitov. 3) Fix detection of VLAN fitlering feature for bnx2x VF devices, from Michal Schmidt. 4) We can get a

[PATCH v3 1/2] power: supply: ltc2941-battery-gauge: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v3 2/2] power: supply: max17040: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2] usb: phy: isp1301: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2017-03-14 Thread Nayak, Rajendra
Hey Jon, Looks like there is still some interest/needs in/for this. Any thoughts on how we can move this forward? At the Linaro Connect last week, I was talking to Björn, Rajendra and Stephen more about these related issues. It definitely seems like we need to progress with this somehow, mean

Re: [2/2] coresight: Fix reference count for software sources

2017-03-14 Thread Chunyan Zhang
Hi Suzuki, On 15 March 2017 at 02:06, Suzuki K Poulose wrote: > On 14/03/17 17:40, Mathieu Poirier wrote: >> >> On 14 March 2017 at 11:32, Mathieu Poirier >> wrote: >>> >>> From: "Suzuki K. Poulose" >>> >>> For software sources (i.e STM), there could be multiple agents >>> generating the trace

[PATCH] drivers/staging/goldfish/goldfish_nand.c: Fixed Coding style Warnings.

2017-03-14 Thread mshan
Embedded function names are less appropriate to use when refactoring, can cause function renaming. Prefer the use of "%s", __func__ to embedded function names Signed-off-by: mshan --- drivers/staging/goldfish/goldfish_nand.c | 16 1 file changed, 8 insertions(+), 8 deletions(-)

Re: [PATCH] Fixed a minor coding style warning. Arguments in the macros should be coverd in brackets to aviod any precedence issues.

2017-03-14 Thread kbuild test robot
Hi mshan, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.11-rc2 next-20170310] [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/mshan/Fixed-a-minor-coding-style-wa

Re: [PATCH V7 0/7] LPC: legacy ISA I/O support

2017-03-14 Thread zhichang.yuan
Hi, Arnd, Many thanks for your review! On 2017/3/14 16:39, Arnd Bergmann wrote: > On Mon, Mar 13, 2017 at 3:42 AM, zhichang.yuan > wrote: >> This patchset supports the IPMI-bt device attached to the Low-Pin-Count >> interface implemented on Hisilicon Hip06/Hip07 SoC. >> -

Re: [PATCH 1/2] mm: Change generic FALLBACK zonelist creation process

2017-03-14 Thread John Hubbard
On 03/14/2017 06:33 AM, Anshuman Khandual wrote: On 03/08/2017 04:37 PM, John Hubbard wrote: [...] There was a discussion, on an earlier version of this patchset, in which someone pointed out that a slight over-allocation on a device that has much more memory than the CPU has, could use up syst

Re: [PATCH v3 2/5] thermal: add trace events to the power allocator governor

2017-03-14 Thread Viresh Kumar
Hi Javi, Sorry for picking up an old thread, but i had a question for you. On Mon, Mar 2, 2015 at 10:47 PM, Javi Merino wrote: > diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > @@ -588,12 +590,20 @@ static int cpufreq_get_requested_power(struct > thermal_cooling_de

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-14 Thread Akshay Bhat
Hi Wolfgang, On Tue, Mar 14, 2017 at 2:08 PM, Wolfgang Grandegger wrote: ...snip >> /disconnect cable >> can0 2088 [8] 00 00 00 19 00 00 28 00 ERRORFRAME >> protocol-violation{{}{acknowledge-slot}} >> bus-error >> error-counter-tx-rx{{40}{0}} >> can0

[PATCH v2 01/17] iio: adc: ina2xx: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 05/17] iio: light: us5182d: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 04/17] iio: dac: mcp4725: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 00/17] iio: Add OF device table to I2C drivers that are missing it

2017-03-14 Thread Javier Martinez Canillas
Hello, This series add OF device ID tables to IIO I2C drivers whose devices are either used in Device Tree source files or are listed in binding docs as a compatible string. That's done because the plan is to change the I2C core to report proper OF modaliases instead of always reporting a MODALIA

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