include/linux/io-mapping.h:130:39: error: implicit declaration of function 'ioremap_wc'

2016-08-07 Thread kbuild test robot
Hi Linus, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0cbbc422d56668528f6efd1234fe908010284082 commit: 7d4defe21c682c934a19fce1ba8b54b7bde61b08 gpio: include in gpiolib-of date: 9 weeks ago config:

Re: [RFC PATCH] softirq: fix tasklet_kill() usage and users

2016-08-07 Thread Greg Kroah-Hartman
On Sat, Aug 06, 2016 at 11:07:14AM -0700, Santosh Shilimkar wrote: > ping !! ping on a "RFC" after only 5 days in the middle of the merge window? That's bold... Personally, I rarely respond to RFC patches as obviously the submitter doesn't think they solve the issue at hand :)

undefined reference to `printk'

2016-08-07 Thread kbuild test robot
Hi Peter, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0cbbc422d56668528f6efd1234fe908010284082 commit: 63a3f603413ffe82ad775f2d62a5afff87fd94a0 timeconst.pl: Eliminate Perl warning date: 3

Re: [PATCH] net: macb: Correct CAPS mask

2016-08-07 Thread David Miller
From: Harini Katakam Date: Fri, 5 Aug 2016 10:31:58 +0530 > USRIO and JUMBO CAPS have the same mask. > Fix the same. > > Fixes: ce721a702197 ("net: ethernet: cadence-macb: Add disabled usrio caps") > Cc: sta...@vger.kernel.org # v4.5+ > Signed-off-by: Harini Katakam

Re: [Patch v3 1/2] x86/mm/numa: Open code function early_get_boot_cpu_id

2016-08-07 Thread Baoquan He
Hi Ingo, Ping, Do you have another comment to this two patches? Thanks Baoquan On 07/30/16 at 07:10pm, Baoquan He wrote: > Previously early_acpi_boot_init is called in early_get_boot_cpu_id() > to get value for boot_cpu_physical_apicid. Now early_acpi_boot_init() > has been taken out and moved

Re: [PATCH] proc: much faster /proc/vmstat

2016-08-07 Thread Alexey Dobriyan
On Sun, Aug 07, 2016 at 02:35:13AM +0100, Al Viro wrote: > On Sat, Aug 06, 2016 at 03:54:56PM +0300, Alexey Dobriyan wrote: > > [sprintf sucks, let's convert numbers manually] > > > --- a/mm/vmstat.c > > +++ b/mm/vmstat.c > > @@ -1592,7 +1592,10 @@ static int vmstat_show(struct seq_file *m, void

Re: [PATCH] proc: faster /proc/*/status

2016-08-07 Thread Alexey Dobriyan
On Sat, Aug 06, 2016 at 08:16:27PM -0700, Andi Kleen wrote: > Alexey Dobriyan writes: > > - > > + seq_printf(m, "State:\t%s", get_task_state(p)); > > + > > + seq_puts(m, "\nTgid:\t"); > > The only different should be the format string. > > Scanning the format string

Re: [Intel-wired-lan] e1000e: PHY cann't be initialized correctly on some I218 controllers

2016-08-07 Thread Denis Turischev
Hi Raanan, On 08/04/2016 07:18 PM, Raanan Avargil wrote: > It is hard to determine what is exactly the problem here and what causes the > -3 error, but this is not the place to perform hw reset and retry to init the > phy. I agree that may be this is not the correct place for hw reset, can you

Re: [lkp] [x86/mm/64] 4bc0303aff: BUG: stack guard page was hit at ffffc900001bbff8

2016-08-07 Thread Andy Lutomirski
Hi Steven and Josh- This test recursively faulted in is_ftrace_trampoline. It's not immediately obvious to me what went wrong -- is_ftrace_trampoline doesn't seem to be dereferencing the provided address. On Fri, Aug 5, 2016 at 7:07 AM, kernel test robot wrote: > > FYI,

Re: [PACTH v1] cdc-wdm: Clear read pipeline in case of error

2016-08-07 Thread Oliver Neukum
On Thu, 2016-08-04 at 13:44 -0400, Robert Foss wrote: > > On 2016-08-03 06:39 AM, Oliver Neukum wrote: > > On Tue, 2016-08-02 at 10:37 -0400, Robert Foss wrote: > > How can that depend on what we return to user space? > > In the driver we can continue just ignoring errors. > > Now, if user space

Re: [PATCH 2/2] mm: compaction.c: Add/Modify direct compaction tracepoints

2016-08-07 Thread Janani Ravichandran
> On Aug 1, 2016, at 6:55 PM, Vlastimil Babka wrote: > > > Yea, this tracepoint has been odd in not printing node/zone in a friendly way > (it's possible to determine it from zone_start/zone_end though, so this is > good in general. But instead of printing nid and zid like

[PATCH v2] RANDOM: ATH9K RNG delivers zero bits of entropy

2016-08-07 Thread Stephan Mueller
The ATH9K driver implements an RNG which is completely bypassing the standard Linux HW generator logic. The RNG may or may not deliver entropy. Considering the conservative approach in treating entropy with respect to non-auditable sources, this patch changes the delivered entropy value to zero.

RE: [PATCH v5 4/8] char: rpmb: provide a user space interface

2016-08-07 Thread Winkler, Tomas
> > On Mon 2016-07-18 23:27:49, Tomas Winkler wrote: > > The user space API is achieved via two synchronous IOCTL. > > IOCTLs? Will fix > > Simplified one, RPMB_IOC_REQ_CMD, were read result cycles is > performed > > by the framework on behalf the user and second, RPMB_IOC_SEQ_CMD > where > >

Re: [PATCH 1/2] mm: page_alloc.c: Add tracepoints for slowpath

2016-08-07 Thread Janani Ravichandran
> On Aug 5, 2016, at 10:00 PM, Steven Rostedt wrote: > >> > > You probably want to clear the trace here, or set function_graph here > first. Because the function graph starts writing to the buffer > immediately. > I did that, just didn’t include it here :) >> > > When

Re: [RFC 0/4] tools lib traceevent: Install fixes

2016-08-07 Thread Jiri Olsa
On Fri, Aug 05, 2016 at 11:42:41AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 05, 2016 at 10:13:52AM -0400, Steven Rostedt escreveu: > > On Tue, 2 Aug 2016 16:01:44 +0200 > > Jiri Olsa wrote: > > > > BTW, before we start making this ready for their own libraries, I'd >

mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'

2016-08-07 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0cbbc422d56668528f6efd1234fe908010284082 commit: c1a0e9bc885d46e519fd87d35af6a7937abfb986 MIPS: Allow compact branch policy to be changed date: 10 months

Re: [PATCH 2/3] dmaengine: pl330: enable burst mode by parsing dt

2016-08-07 Thread Xing Zheng
Hi Shawn, On 2016年08月05日 10:53, Shawn Lin wrote: Currently pl330 use single mode defaultly. But burst mode can improve efficiency of memory accessing. We couldn't enable it by defalut in case of breaking any Socs which don't support it. With burst mode supported, we could see the improvement

Re: [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size)

2016-08-07 Thread Xing Zheng
Hi Shawn On 2016年08月05日 10:53, Shawn Lin wrote: Currently pl330 doesn't support transfer which doesn't align with burst len * burst size. This should be only for single mode. Let's allow it for busrt mode if available. e.g. transfers 0x10002 bytes: First loop 256*16*16=0x1, burst size is

tty: typo in comments in drivers/tty/vt/keyboard.c

2016-08-07 Thread Askar Safin
Signed-off-by: Askar Safin --- diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index 0f8caae..d5d81d4 100644 --- a/drivers/tty/vt/keyboard.c +++ b/drivers/tty/vt/keyboard.c @@ -1256,7 +1256,7 @@ static int emulate_raw(struct vc_data *vc, unsigned int

[PATCH] power: reset: reboot mode: fix build error of missing ioremap/iounmap on UM

2016-08-07 Thread Andy Yan
Add missing HAS_IOMEM dependency for MFD_SYSCON to fix the um-allyesconfig build error: drivers/mfd/syscon.c: In function 'of_syscon_register': drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration] base = ioremap(res.start,

drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'

2016-08-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0cbbc422d56668528f6efd1234fe908010284082 commit: 4fcd504edbf7c793325511c2df8dcd083958e28a power: reset: add reboot mode driver date: 5 weeks ago config: um-allyesconfig (attached as .config) compiler:

Linux 4.7: Reported regressions as of Sunday, 2016-08-07

2016-08-07 Thread Thorsten Leemhuis
Hi! Here is my seventh regression report for Linux 4.7. It lists 9 regressions I'm currently aware of. 4 of them are new; 2 are stalled until the reporter provides more feedback. The report also mentions 3 regressions that were fixed since the last report. There is also 1 I plan to remove because

Re: [git pull] vfs pile 3

2016-08-07 Thread Linus Torvalds
On Sat, Aug 6, 2016 at 11:46 PM, Al Viro wrote: > > I went for the second variant (backmerge), but if you prefer the third one, > just pull #for-linus-2 and I'll send a separate pull request for the last > commit. Or just cherry-pick that last commit from #for-linus

[lkp] [fs] 45ec18d5c7: BUG: KASAN: user-memory-access on address 00007f90291c7ec0

2016-08-07 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Nicholas-Krause/fs-Fix-kmemleak-leak-warning-in-getname_flags-about-working-on-unitialized-memory/20160804-055054 commit 45ec18d5c713bccb9807782f0dca29b92ba99784 ("fs:Fix kmemleak leak warning in getname_flags about working

Re: Linux 4.7: Reported regressions as of Sunday, 2016-08-07

2016-08-07 Thread Jörg-Volker Peetz
Hi Thorsten, the ext4 problem reported here https://lkml.org/lkml/2016/8/5/150 an here https://lkml.org/lkml/2016/8/3/262 seems to me to be a regression, partly, because my laptop with 4.7.0 was also hit by it but I didn't dug into it. There seems to be a remedy https://lkml.org/lkml/2016/8/5/367

[PATCH 2/5] perf tools: Add line argument into perf_hpp_fmt's header callback

2016-08-07 Thread Jiri Olsa
Adding line argument into perf_hpp_fmt's header callback to be able to request specific header line. Link: http://lkml.kernel.org/n/tip-d12pnr73s6u6jd6bc0q1l...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-diff.c | 3 ++- tools/perf/ui/browsers/hists.c |

[PATCH 5/5] perf tools: Add support for header span

2016-08-07 Thread Jiri Olsa
Add span argument for header callback function. The handling of this argument is completely in the hands of the callback. The only thing the caller ensures is it's zeroed on the beginning. Omitting span skipping in hierarchy headers and gtk code. The c2c code use this to span header lines based

[PATCH 1/5] perf tools: Introduce nr_header_lines into struct perf_hpp_list

2016-08-07 Thread Jiri Olsa
Currently we support just single line for header, this is first step to allow more. Store the number of header lines in perf_hpp_list, which encompasses all the display/sort entries and is thus suitable to hold this value. Link:

[PATCH 0/5] perf tools: Add support for multiline headers and spans

2016-08-07 Thread Jiri Olsa
hi, the c2c output readability heavily depends on headers being displayed on multiple lines and allowing span of some headers over multiple columns, like: #Total %All Total - Core Load Hit - -- LLC Load Hit -- - LLC Load Hitm - #

[PATCH 3/5] perf tools tui: Display multiple header lines

2016-08-07 Thread Jiri Olsa
Display multiple header lines in TUI browser, if it's configured within struct perf_hpp_list::nr_header_lines. Link: http://lkml.kernel.org/n/tip-g41e9c3nrex4vz9vfn7wb...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/browsers/hists.c | 25 +

[PATCH 4/5] perf tools stdio: Display multiple header lines

2016-08-07 Thread Jiri Olsa
Display multiple header lines in stdio output , if it's configured within struct perf_hpp_list::nr_header_lines. Link: http://lkml.kernel.org/n/tip-7zjyhlkjwibmxwt0ku50c...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/stdio/hist.c | 34

RE: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

2016-08-07 Thread Altshul, Maxim
Hi Johaness, I have prepared a patch for the issue and it is waiting for me to send it, but I feel that maybe I have not explained the previous issue well enough or I did not understand your request fully. I would like to clarify about the previous patch (the one that you applied) again: a.

Re: [lkp] [x86/mm/64] 4bc0303aff: BUG: stack guard page was hit at ffffc900001bbff8

2016-08-07 Thread Josh Poimboeuf
On Sun, Aug 07, 2016 at 01:58:16AM -0700, Andy Lutomirski wrote: > Hi Steven and Josh- > > This test recursively faulted in is_ftrace_trampoline. It's not > immediately obvious to me what went wrong -- is_ftrace_trampoline > doesn't seem to be dereferencing the provided address. It seems to be

arch/mips/include/asm/mach-cavium-octeon/mangle-port.h:19:40: error: right shift count >= width of type

2016-08-07 Thread kbuild test robot
Hi Steven, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0cbbc422d56668528f6efd1234fe908010284082 commit: 1685ddbe35cd4637f7f841d5f9755dd0470bd68d MIPS: Octeon: Changes to support readq()/writeq() usage. date:

Re: [PATCH v12 0/8] KVM PCIe/MSI passthrough on ARM/ARM64: kernel part 3/3: vfio changes

2016-08-07 Thread Auger Eric
Hi Diana, On 05/08/2016 16:46, Diana Madalina Craciun wrote: > Hi Eric, > > I have tested these patches in a VFIO PCI scenario (using the ITS > emulation) on a NXP LS2080 board. It worked fine with one e1000 card > assigned to the guest. However, when I tried to assign two cards to the > guest I

Regarding AHCI_MAX_SG and (ATA_HORKAGE_MAX_SEC_1024)

2016-08-07 Thread Tom Yan
So the (not so) recent bump of BLK_DEF_MAX_SECTORS from 1024 to 2560 (commit d2be537c3ba3) seemed to have caused trouble to some of the ATA devices, which were then worked around with ATA_HORKAGE_MAX_SEC_1024. However, I am suspecting that the bump of BLK_DEF_MAX_SECTORS is not the "real" cause

[lkp] [net/netpolicy] ed519e0259: BUG: scheduling while atomic: migration/0/15/0x00000002

2016-08-07 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux kan-liang-intel-com/net-introduce-NET-policy/20160805-034810 commit ed519e02592874e3cb2d643173e9f34bee2d74e7 ("net/netpolicy: fast path for finding the queues") in testcase: boot on test machine: 2 threads

Re: [PATCH] ARM: dts: add rk3288-firefly-reload

2016-08-07 Thread Heiko Stuebner
Hi Shawn, Am Sonntag, 7. August 2016, 11:40:21 schrieb Shawn Lin: > On 2016/7/19 3:46, Heiko Stübner wrote: > > Am Montag, 18. Juli 2016, 23:32:32 schrieb Randy Li: > >> The Firefly RK3288 Reload is a combination Firefly rk3288 core board > >> with the Reload baseboard. Add a dtsi for the Firefly

Re: [RFC PATCH v7 1/7] Restartable sequences system call

2016-08-07 Thread Mathieu Desnoyers
- On Aug 3, 2016, at 11:45 AM, Boqun Feng boqun.f...@gmail.com wrote: > On Wed, Aug 03, 2016 at 03:19:40PM +0200, Peter Zijlstra wrote: >> On Thu, Jul 21, 2016 at 05:14:16PM -0400, Mathieu Desnoyers wrote: >> > diff --git a/MAINTAINERS b/MAINTAINERS >> > index 1209323..daef027 100644 >> > ---

Re: [PATCH] scripts/Lindent: clean up and optimize

2016-08-07 Thread Jean Delvare
Hi Joe, On Fri, 05 Aug 2016 10:53:19 -0700, Joe Perches wrote: > On Fri, 2016-08-05 at 11:26 +0200, Jean Delvare wrote: > > * Add a few blank lines to improve readability. > > * Don't call cut 3 times when once is enough. > > * Drop a useless semicolon. > > As it commonly reflows > 80 column

Re: bug: using smp_processor_id() in preemptible code in rr_select_path()

2016-08-07 Thread Benjamin Block
On 12:06 Fri 05 Aug , Mike Snitzer wrote: > On Fri, Aug 05 2016 at 11:54am -0400, > Jens Axboe wrote: > > > On 08/05/2016 09:42 AM, Mike Snitzer wrote: > > >On Fri, Aug 05 2016 at 11:33P -0400, > > >Jens Axboe wrote: > > > > > >>On 08/05/2016 09:27 AM, Mike

Re: [PATCH] scripts/Lindent: clean up and optimize

2016-08-07 Thread Joe Perches
On Sun, 2016-08-07 at 17:48 +0200, Jean Delvare wrote: > Hi Joe, > > On Fri, 05 Aug 2016 10:53:19 -0700, Joe Perches wrote: > > > > On Fri, 2016-08-05 at 11:26 +0200, Jean Delvare wrote: > > > > > > * Add a few blank lines to improve readability. > > > * Don't call cut 3 times when once is

Announce loop-AES-v3.7i file/swap crypto package

2016-08-07 Thread Jari Ruusu
loop-AES changes since previous release: - Worked around block layer interface changes on 4.7 kernels. bzip2 compressed tarball is here: http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.7i.tar.bz2 md5sum dd465844a650ea4d4856ee26756a0235

Charity Project !!!

2016-08-07 Thread Friedrich And Annand Mayrhofer
My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Annand Mayrhofer.

Re: of_clk_add_(hw_)providers multipule times for one node?

2016-08-07 Thread Masahiro Yamada
Hi Stephen, 2016-08-05 6:25 GMT+09:00 Stephen Boyd : > +Rob in case he has any insight > > On 07/09, Masahiro Yamada wrote: >> Hi. >> >> I think the current code allows to add >> clk_providers multiple times against one DT node. >> >> Are there cases that really need to do

Re: [PATCH] proc: faster /proc/*/status

2016-08-07 Thread Andi Kleen
> And then what? Parsing format string is still be there. Perhaps could have a fast path for simple cases. > > This is first line of profile of the first function (format_decode) > >│ static noinline_for_stack >│ int format_decode(const char *fmt, struct printf_spec

Re: [RFC PATCH] softirq: fix tasklet_kill() usage and users

2016-08-07 Thread santosh.shilim...@oracle.com
On 8/6/16 11:52 PM, Greg Kroah-Hartman wrote: On Sat, Aug 06, 2016 at 11:07:14AM -0700, Santosh Shilimkar wrote: ping !! ping on a "RFC" after only 5 days in the middle of the merge window? That's bold... Personally, I rarely respond to RFC patches as obviously the submitter doesn't think

Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from returning NULL

2016-08-07 Thread Masahiro Yamada
Hi Stephen, 2016-08-05 5:57 GMT+09:00 Stephen Boyd : > On 07/19, Masahiro Yamada wrote: >> The .get(_hw) callback of an OF clock provider can return a NULL >> pointer in some cases. >> >> For example, of_clk_src_onecell_get() returns NULL for index 1 of a >> sparse array of

[PATCH] mfd: syscon: Make use of of_iomap

2016-08-07 Thread Andrey Smirnov
Use of_iomap instead of explicitly calling of_address_to_resource() and ioremap(). Signed-off-by: Andrey Smirnov --- drivers/mfd/syscon.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index

Linux 4.8-rc1

2016-08-07 Thread Linus Torvalds
It's been two weeks, and the merge window for 4.8 is thus closed. Due to travel last week, I actually still have a few pull requests pending in my inbox that I just wanted to take another look at before merging, but the large bulk of the merge window material has been merged, and I wanted to make

Charity Project !!!

2016-08-07 Thread Friedrich And Annand Mayrhofer
My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Annand Mayrhofer.

Re: linux-next: build failure after merge of the sound-asoc tree

2016-08-07 Thread Kuninori Morimoto
Hi > After merging the sound-asoc tree, today's linux-next build (arm > multi_v7_defconfig build) failed like this: > > sound/soc/generic/simple-card.c: In function 'asoc_simple_card_dai_link_of': > sound/soc/generic/simple-card.c:350:8: error: implicit declaration of > function

Re: [PATCH] drivers: base: dma-mapping: page align the size when unmap_kernel_range

2016-08-07 Thread Peng Fan
Hi, Kindly ping.. since more than two weeks from patch sent out. Thanks, Peng. On Thu, Jul 21, 2016 at 04:04:21PM +0800, Peng Fan wrote: >When dma_common_free_remap, the input parameter 'size' may not >be page aligned. And, met kernel warning when doing iommu dma >for usb on i.MX8 platform: >"

[PATCH v6 4/4] regulator: lp873x: Change the MFD config option as per latest naming

2016-08-07 Thread Keerthy
Change the MFD config option as per latest naming Signed-off-by: Keerthy --- drivers/regulator/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 6c88e31..97dc4cc 100644 ---

[PATCH v6 2/4] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of

[PATCH v6 1/4] Documentation: mfd: LP873X: Add information for the mfd driver

2016-08-07 Thread Keerthy
The lp873x series of PMICs have a bunch of regulators and a couple of GPO(General Purpose Outputs). Add information for the MFD and regulator drivers. Acked-by: Rob Herring Signed-off-by: Keerthy --- Changes in v6: * Added more formating for properties.

[PATCH v6 3/4] gpio: lp873x: Add support for General Purpose Outputs

2016-08-07 Thread Keerthy
Add driver for lp873x PMIC family GPOs. Two GPOs are supported and can be configured in Open-drain output or Push-pull output. Acked-by: Linus Walleij Signed-off-by: Keerthy --- drivers/gpio/Kconfig | 10 +++ drivers/gpio/Makefile | 1 +

[PATCH v6 0/4] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of

linux-next: build failure after merge of the sound-asoc tree

2016-08-07 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig build) failed like this: sound/soc/generic/simple-card.c: In function 'asoc_simple_card_dai_link_of': sound/soc/generic/simple-card.c:350:8: error: implicit declaration of function

[PATCH] USB: serial: fix memleak on error path in usb-serial

2016-08-07 Thread Alexey Klimov
udriver struct allocated by kzalloc() will not be freed if usb_register() and next calls fail. This patch fixes this by adding one more step with kfree(udriver) in error path. Cc: Alan Stern Signed-off-by: Alexey Klimov ---

(.init.text+0x122): multiple definition of `plat_irq_setup'

2016-08-07 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 29b4817d4018df78086157ea3a55c1d9424a7cfc commit: 7480e0aabd5f9e6c3e3b72ed206e89284e90f11f sh: add device tree support and generic board using device tree

Re: [PATCH] ARM: dts: add rk3288-firefly-reload

2016-08-07 Thread Shawn Lin
在 2016/8/7 22:44, Heiko Stuebner 写道: Hi Shawn, Am Sonntag, 7. August 2016, 11:40:21 schrieb Shawn Lin: On 2016/7/19 3:46, Heiko Stübner wrote: Am Montag, 18. Juli 2016, 23:32:32 schrieb Randy Li: The Firefly RK3288 Reload is a combination Firefly rk3288 core board with the Reload baseboard.

Re: [PATCH] fix platform_no_drv_owner.cocci warnings

2016-08-07 Thread Vinod Koul
On Wed, Jul 27, 2016 at 04:41:16PM +0200, Julia Lawall wrote: > No need to set .owner here. The core will do it. And which tree was this generated against :-) Upstream doesn't have _dpdma.c > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Julia Lawall

RE: [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output

2016-08-07 Thread Zheng, Lv
> From: Alexander Kuleshov [mailto:kuleshovm...@gmail.com] > Subject: [PATCH] ACPICA: Remove unnecessary '\n' in the end of > ACPI_INFO output > > as the ACPI_INFO already prints `\n` in the end itself. [Lv Zheng] Looks good. Acked-by: Lv Zheng However this patch should go

RE: [PATCH v2] RANDOM: ATH9K RNG delivers zero bits of entropy

2016-08-07 Thread Pan, Miaoqing
The entropy was evaluated by crypto expert, the analysis report show the ADC with at least 10bits and up to 22 bits of min-entropy for a 32 bits value, we conservatively assume the min-entropy is 10 bits out of 32 bits, so that's why set entropy quality to 320/1024 = 10/32. Also we have

Re: [PATCH v3 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-07 Thread Dave Young
On 08/03/16 at 08:59am, Zhou Wenjian wrote: > v2->v3: add description of nr_cpus. > v1->v2: change nr_cpus to maxcpus > > nr_cpus can help to save memory. So we should remind user of it. > > Signed-off-by: Zhou Wenjian > --- > Documentation/kdump/kdump.txt | 2 ++ >

[PATCH] mm: fix the incorrect hugepages count

2016-08-07 Thread zhongjiang
From: zhong jiang when memory hotplug enable, free hugepages will be freed if movable node offline. therefore, /proc/sys/vm/nr_hugepages will be incorrect. The patch fix it by reduce the max_huge_pages when the node offline. Signed-off-by: zhong jiang

Re: [PATCH RESEND] net: can: Introduce MEN 16Z192-00 CAN controller driver

2016-08-07 Thread Benjamin Poirier
On 2016/07/26 11:16, Andreas Werner wrote: [...] > + > + /* Lock for CTL_BTR register access. > + * This register combines bittiming bits > + * and the operation mode bits. > + * It is also used for bit r/m/w access > + * to all registers. > + */ > + spinlock_t

Re: [PATCH] treewide: fix a bunch of typos (Documentation/)

2016-08-07 Thread Randy Dunlap
On 08/07/16 06:56, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada for the Documentation/* files: All of the changes look correct, but a couple of them could use some more attention: --- a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt

Re: linux-next: Tree for Aug 8

2016-08-07 Thread Stephen Rothwell
Hi Andrew, On Mon, 8 Aug 2016 13:51:22 +1000 Andrew Donnellan wrote: > > On 08/08/16 13:17, Stephen Rothwell wrote: > > Please do not add material destined for v4.9 to your linux-next included > > branches until after v4.8-rc1 has been released. > > Which has

Re: [PATCH] treewide: fix a bunch of typos (part 2)

2016-08-07 Thread Randy Dunlap
On 08/07/16 06:56, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada ipc/: all OK kernel/ : all OK lib/: all OK scripts/ : all OK security/ : all OK tools/ : all OK block/ comments (otherwise all OK): --- a/block/scsi_ioctl.c +++

Re: [PATCH] treewide: fix a bunch of typos (part 2)

2016-08-07 Thread Masahiro Yamada
Hi Randy, Thanks for taking a close look! 2016-08-08 13:50 GMT+09:00 Randy Dunlap : > --- a/net/sctp/transport.c > +++ b/net/sctp/transport.c > @@ -630,9 +630,7 @@ void sctp_transport_reset(struct sctp_transport *t) > t->srtt = 0; > t->rttvar = 0; > > -

Re: [PATCH] USB: serial: fix memleak on error path in usb-serial

2016-08-07 Thread Alan Stern
On Mon, 8 Aug 2016, Alexey Klimov wrote: > udriver struct allocated by kzalloc() will not be freed > if usb_register() and next calls fail. This patch fixes this > by adding one more step with kfree(udriver) in error path. > > Cc: Alan Stern > Signed-off-by: Alexey

drivers/pinctrl/intel/pinctrl-merrifield.c:518:10: error: implicit declaration of function 'readl'

2016-08-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 29b4817d4018df78086157ea3a55c1d9424a7cfc commit: 4e80c8f505741cbdef3e10862ea36057e8d85e7c pinctrl: intel: Add Intel Merrifield pin controller support date: 6 weeks ago config:

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-07 Thread Theodore Ts'o
On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: > > > [1] > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/ext4/inode.c?id=b47820edd1634dc1208f9212b7ecfb4230610a23 > > > > I added the patch, rebuilt and rebooted. It will take some time > > before

Re: [PATCH] drivers: base: dma-mapping: page align the size when unmap_kernel_range

2016-08-07 Thread Greg KH
On Mon, Aug 08, 2016 at 12:29:08PM +0800, Peng Fan wrote: > Hi, > > Kindly ping.. since more than two weeks from patch sent out. It's the merge window, we can't take new patches during then. Relax, it will be handled when I catch up...

Re: [PATCH v5 2/3] mfd: lp873x: Add lp873x PMIC support

2016-08-07 Thread Keerthy
On Friday 05 August 2016 02:31 PM, Lee Jones wrote: On Fri, 05 Aug 2016, Keerthy wrote: On Friday 05 August 2016 01:33 PM, Lee Jones wrote: On Wed, 29 Jun 2016, Keerthy wrote: The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It

Re: [PATCH v2 6/6] dmaengine: omap-dma: Support for LinkedList transfer of slave_sg

2016-08-07 Thread Vinod Koul
On Wed, Jul 20, 2016 at 11:50:32AM +0300, Peter Ujfalusi wrote: > sDMA in OMAP3630 or newer SoC have support for LinkedList transfer. When > LinkedList or Descriptor load feature is present we can create the > descriptors for each and program sDMA to walk through the list of > descriptors instead

linux-next: build failure after merge of Linus' tree

2016-08-07 Thread Stephen Rothwell
Hi all, With Linus' tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/infiniband/sw/built-in.o:(.opd+0x1698): multiple definition of `copy_data' drivers/infiniband/hw/built-in.o:(.opd+0xe5f8): first defined here drivers/infiniband/sw/built-in.o:(.opd+0x1320):

Re: [PATCH v4 0/6] power: add power sequence library

2016-08-07 Thread Peter Chen
On Sat, Aug 06, 2016 at 02:00:08PM +0200, Oscar wrote: > El 2016-08-02 05:30, Peter Chen escribió: > >Hi all, > > > >This is a follow-up for my last power sequence framework patch set > >[1]. > >According to Rob Herring and Ulf Hansson's comments[2], I use a > >generic > >power sequence library

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-07 Thread Aaron Lu
On Fri, Aug 05, 2016 at 07:53:38PM +0800, Xin Long wrote: > >> It doesn't make much sense to me. the codes I added cannot be > >> triggered without enable any pr policies. and I also did the tests in > > > > It seems these pr policies has to be turned on by user space, i.e. > > netperf in this

linux-next: Tree for Aug 8

2016-08-07 Thread Stephen Rothwell
Hi all, Please do not add material destined for v4.9 to your linux-next included branches until after v4.8-rc1 has been released. Changes since 20160805: Linus' tree gained a build failure for which I disabled a new driver. The sound-asoc tree gained a build failure so I used the version from

[PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

2016-08-07 Thread Leo Yan
In current kernel config 'CONFIG_STUB_CLK_HI6220' is disabled by default, as result stub clock driver has not been registered and CPUFreq driver cannot work. This patch is to enable stub clock driver in config for ARCH_HISI. Reported-by: Dietmar Eggemann Signed-off-by:

Re: linux-next: Tree for Aug 8

2016-08-07 Thread Andrew Donnellan
On 08/08/16 13:17, Stephen Rothwell wrote: Please do not add material destined for v4.9 to your linux-next included branches until after v4.8-rc1 has been released. Which has now happened :) -- Andrew Donnellan OzLabs, ADL Canberra andrew.donnel...@au1.ibm.com IBM Australia

warning: (DRM_KMS_FB_HELPER && ..) selects FB_DEFERRED_IO which has unmet direct dependencies (HAS_IOMEM && ..)

2016-08-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 29b4817d4018df78086157ea3a55c1d9424a7cfc commit: 339b19e3c4ff728a5dcdbd388a5fbe83c1aabc37 drm/ast: make fbdev support really optional date: 3 weeks ago config: x86_64-randconfig-s5-08081114 (attached as

Re: [PATCH v5 5/6] dmaengine: pl330: Make sure microcode is privileged

2016-08-07 Thread Vinod Koul
On Wed, Jul 27, 2016 at 04:42:07PM -0700, Mitchel Humpherys wrote: > The PL330 performs privileged instruction fetches. This can result in > SMMU permission faults on SMMUs that implement the ARMv8 VMSA, which Lot of acronyms with no explanation whatsoever > specifies that mappings that are

[PATCH RESEND v2 0/8] Cache-coherent DMA access using UIO

2016-08-07 Thread Anup Patel
The goal of this patchset is to improve UIO framework and UIO dmem driver to allow cache-coherent DMA accesses from user-space. This patchset is based on two previous patchsets: 1) [PATCH v5 0/6] UIO driver for APM X-Gene QMTM (Refer, http://www.spinics.net/lists/devicetree/msg58244.html) 2)

[PATCH] scripts: Translate profile2linkerlist.

2016-08-07 Thread Jorge Natz
profile2linkerlist.pl is a script that takes the sorted output of the readprofile command and turns it into a list of C functions in a format for linker lists. Make the script more portable across POSIX systems. This script does not use any shell-specific features, only POSIX ones. A POSIX

Re: [PATCH v2 3/4] perf/core: introduce PMU_EV_CAP_READ_ACTIVE_PKG

2016-08-07 Thread Nilay Vaish
On 08/06/16 22:12, David Carrillo-Cisneros wrote: diff --git a/kernel/events/core.c b/kernel/events/core.c index 34049cc..77f1bd3 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -,6 +,26 @@ struct perf_read_data { int ret; }; +static int find_cpu_to_read(struct

Re: [RFC PATCH v7 1/7] Restartable sequences system call

2016-08-07 Thread Boqun Feng
On Sun, Aug 07, 2016 at 03:36:24PM +, Mathieu Desnoyers wrote: > - On Aug 3, 2016, at 11:45 AM, Boqun Feng boqun.f...@gmail.com wrote: > > > On Wed, Aug 03, 2016 at 03:19:40PM +0200, Peter Zijlstra wrote: > >> On Thu, Jul 21, 2016 at 05:14:16PM -0400, Mathieu Desnoyers wrote: > >> > diff

Re: [PATCH] proc: faster /proc/*/status

2016-08-07 Thread Andi Kleen
> > > It is so bloated that gcc needs to be asked to not screw up with stack > > > size. > > What happens when you drop all the noinlines for this? I assume > > this would alread make it faster. And now that we have bigger > > stacks we can likely tolerate it. > > %pV recurses through these code

Charity Project !!!

2016-08-07 Thread Friedrich And Annand Mayrhofer
My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Annand Mayrhofer.

[PATCH] mtd: spi-nor: Add s25fs256s1 spi-nor flash support

2016-08-07 Thread Jagan Teki
Add Atmel s25fs256s1 spi-nor flash to the list of spi_nor_ids. In spansion S25FS-S family the physical sectors are grouped as normal and parameter sectors. Parameter sectors are 4kB in size with 8 set located at the bottom or top address of a device. Normal sectors are similar to other flash

Re: [PATCH] proc: faster /proc/*/status

2016-08-07 Thread Joe Perches
On Sun, 2016-08-07 at 10:44 -0700, Andi Kleen wrote: > > > > It is so bloated that gcc needs to be asked to not screw up with stack > > > > size. > > > What happens when you drop all the noinlines for this? I assume > > > this would alread make it faster. And now that we have bigger > > > stacks

[PATCH 1/6] hwmon: (lm95241) Fix overflow problems, write conversion rate to chip

2016-08-07 Thread Guenter Roeck
Writing the update_interval attribute could result in an overflow if a number close to the maximum unsigned long was written. At the same time, even though the chip supports setting the conversion rate, the selected conversion rate was not actually written to the chip. Fix the second problem by

[PATCH 5/6] hwmon: (lm95241) Use BIT macro where appropriate

2016-08-07 Thread Guenter Roeck
Drop some of the SHIFT defines since shift is implied with BIT(). Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95241.c | 45 + 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/drivers/hwmon/lm95241.c

[PATCH 3/6] hwmon: (lm95241) Order include files alphabetically

2016-08-07 Thread Guenter Roeck
Simplify detecting duplicate include files and finding the right place for adding new ones. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95241.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/hwmon/lm95241.c b/drivers/hwmon/lm95241.c

[PATCH 2/6] hwmon: (lm95241) Add support for fault attributes

2016-08-07 Thread Guenter Roeck
The chip reports if remote diodes are present, which can be used for the fault attrributes. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95241.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/lm95241.c

Re: [PATCH] proc: faster /proc/*/status

2016-08-07 Thread Joe Perches
On Sun, 2016-08-07 at 09:59 -0700, Andi Kleen wrote: > > And then what? Parsing format string is still be there. > Perhaps could have a fast path for simple cases. > > > > This is first line of profile of the first function (format_decode) > > > >    │ static noinline_for_stack > >   

Re: [PATCH] scripts: Translate profile2linkerlist.

2016-08-07 Thread Michal Marek
Dne 7.8.2016 v 20:33 Jorge Natz napsal(a): > -while (<>) { > - my $line = $_; > - > - $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/; > - > - print "*(.text.$1)\n" [...] > + LINE=$( echo $LINE | sed -e s"/[0-9.][0-9.]*//" -e s"/[0-9.][0-9.]*$//" > | xargs) > + case $LINE in

  1   2   3   >