Applied "ASoC: blackfin: Add some spaces for better code readability" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: blackfin: Add some spaces for better code readability has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: Allow automatic kernel taint on unsigned module load to be disabled

2017-08-14 Thread Matthew Garrett
On Thu, Aug 10, 2017 at 4:43 PM, Jessica Yu wrote: > I think I'm missing some context here. Could you provide some more > background and help me understand why we want to go into all this > trouble just to avoid a taint? Was there a recent bug report, mailing > list discussion, etc. that spurred

Re: [kernel-hardening] [PATCH v5 04/10] arm64: Add __flush_tlb_one()

2017-08-14 Thread Mark Rutland
On Mon, Aug 14, 2017 at 10:35:36AM -0600, Tycho Andersen wrote: > Hi Mark, > > On Sat, Aug 12, 2017 at 12:26:03PM +0100, Mark Rutland wrote: > > On Wed, Aug 09, 2017 at 02:07:49PM -0600, Tycho Andersen wrote: > > > +static inline void __flush_tlb_one(unsigned long addr) > > > +{ > > > + dsb(ishst)

Re: [PATCH v4 3/3] clk: sunxi-ng: support R40 SoC

2017-08-14 Thread icenowy
在 2017-08-15 00:12,Chen-Yu Tsai 写道: )On Sat, Aug 12, 2017 at 8:43 PM, Icenowy Zheng wrote: Allwinner R40 SoC have a clock controller module in the style of the SoCs beyond sun6i, however, it's more rich and complex. Add support for it. Signed-off-by: Icenowy Zheng --- Changes in v4: - Remove

RE: [PATCH v6 2/3] gpio: Add support for TPS68470 GPIOs

2017-08-14 Thread Mani, Rajmohan
Hi Linus, > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: Monday, August 14, 2017 6:39 AM > To: Mani, Rajmohan > Cc: linux-kernel@vger.kernel.org; linux-g...@vger.kernel.org; ACPI Devel > Maling List ; Lee Jones ; > Alexandre Courbot ; Rafael J. Wysock

Re: [PATCH v7 1/2] mtd: spi-nor: add spi_nor_init() function

2017-08-14 Thread Cyrille Pitchen
Hi Kamal, Le 02/08/2017 à 00:41, Kamal Dasu a écrit : > This patch extracts some chunks from spi_nor_init_params and spi_nor_scan() > and moves them into a new spi_nor_init() function. > > Indeed, spi_nor_init() regroups all the required SPI flash commands to be > sent to the SPI flash memory be

Re: [kernel-hardening] [PATCH v5 07/10] arm64/mm: Don't flush the data cache if the page is unmapped by XPFO

2017-08-14 Thread Mark Rutland
On Sat, Aug 12, 2017 at 12:57:37PM +0100, Mark Rutland wrote: > On Wed, Aug 09, 2017 at 02:07:52PM -0600, Tycho Andersen wrote: > > From: Juerg Haefliger > > > > If the page is unmapped by XPFO, a data cache flush results in a fatal > > page fault. So don't flush in that case. > > Do you have an

[PATCH] ACPI/APEI: Add BERT data driver

2017-08-14 Thread Luck, Tony
From: Tony Luck The ACPI Boot Error Record Table provides a method for platform firmware to give information to the operating system about error that occurred prior to boot (of particular interest are problems that caused the previous OS instance to crash). The BERT table simply provides the siz

Re: [PATCH v5 02/19] crypto: ccp: use -EAGAIN for transient busy indication

2017-08-14 Thread Gary R Hook
On 08/14/2017 10:21 AM, Gilad Ben-Yossef wrote: Replace -EBUSY with -EAGAIN when reporting transient busy indication in the absence of backlog. Signed-off-by: Gilad Ben-Yossef Reviewed-by: Gary R Hook --- drivers/crypto/ccp/ccp-crypto-main.c | 8 +++- drivers/crypto/ccp/ccp-dev.c

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-14 Thread Frederic Weisbecker
On Sun, Aug 13, 2017 at 11:13:40AM -0400, Luiz Capitulino wrote: > On Sat, 12 Aug 2017 16:10:06 +0200 > Frederic Weisbecker wrote: > > > Am I right that from now on nohz_full= users will also have > > > to specify housekeeping= in order to get nohz_full working? > > > If that's correct, then won't

Re: [kernel-hardening] [PATCH v5 04/10] arm64: Add __flush_tlb_one()

2017-08-14 Thread Tycho Andersen
On Mon, Aug 14, 2017 at 05:50:47PM +0100, Mark Rutland wrote: > On Mon, Aug 14, 2017 at 10:35:36AM -0600, Tycho Andersen wrote: > > Hi Mark, > > > > On Sat, Aug 12, 2017 at 12:26:03PM +0100, Mark Rutland wrote: > > > On Wed, Aug 09, 2017 at 02:07:49PM -0600, Tycho Andersen wrote: > > > > +static i

RE: [[PATCH v1] 00/37] Implement SMBD protocol: Series 1

2017-08-14 Thread Long Li
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Sunday, August 13, 2017 3:28 AM > To: Long Li > Cc: Steve French ; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org; Long Li > > Subject: Re: [[PATCH v1] 00/37]

Re: [PATCH RFC] fpga: add FPGA Bus device framework

2017-08-14 Thread Moritz Fischer
On Mon, Aug 14, 2017 at 5:59 AM, Wu, Hao wrote: >> On Tue, Aug 8, 2017 at 1:25 PM, Wu, Hao wrote: >> >> On Thu, Aug 3, 2017 at 2:53 AM, Wu Hao wrote: >> >> > On Wed, Aug 02, 2017 at 04:16:32PM -0500, Alan Tull wrote: >> >> >> On Wed, Aug 2, 2017 at 7:19 AM, Wu Hao wrote: >> >> >> > This patch i

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-14 Thread Borislav Petkov
On Mon, Aug 14, 2017 at 04:48:57PM +, Kani, Toshimitsu wrote: > Right, but the issue is how [ghes_edac_]report_mem_error() protects > from possible concurrent calls from multiple GHES sources when there is > only a single mci. Do you know of an actual firmware reporting multiple errors concurr

RE: [PATCH 0/5] cramfs refresh for embedded usage

2017-08-14 Thread Chris Brandt
On Friday, August 11, 2017, Nicolas Pitre wrote: > This series brings a nice refresh to the cramfs filesystem, adding the > following capabilities: > > - Direct memory access, bypassing the block and/or MTD layers entirely. > > - Ability to store individual data blocks uncompressed. > > - Abilit

Re: [PATCH] ARM: bcm2836: Send event when onlining other cores

2017-08-14 Thread Stefan Wahren
Hi Florian, > Florian Fainelli hat am 14. August 2017 um 18:25 > geschrieben: > > > > > On 08/08/2017 04:04 AM, Phil Elwell wrote: > > Secondary cores should enter a low-power idle state when waiting to > > be started. The "wfe" instruction causes a core to wait until an event > > or interru

Re: [PATCH] irq_work: improve the flag definitions

2017-08-14 Thread Bartosz Golaszewski
2017-08-14 14:19 GMT+02:00 Andy Shevchenko : > On Mon, Aug 14, 2017 at 2:56 PM, Bartosz Golaszewski wrote: >> IRQ_WORK_FLAGS is defined simply to 3UL. This is confusing as it >> says nothing about its purpose. Define IRQ_WORK_FLAGS as a bitwise >> OR of IRQ_WORK_PENDING and IRQ_WORK_BUSY. >> >> Wh

Re: [PATCH 10/14] arm64: assembler: allow adr_this_cpu to use the stack pointer

2017-08-14 Thread Catalin Marinas
On Mon, Aug 07, 2017 at 07:36:01PM +0100, Mark Rutland wrote: > From: Ard Biesheuvel > > Given that adr_this_cpu already requires a temp register in addition > to the destination register, tweak the instruction sequence so that sp > may be used as well. > > This will simplify switching to per-cp

Re: [PATCH V3 1/2] use direname instead of custom code

2017-08-14 Thread Steven Rostedt
I'm back from vacation! On Thu, 3 Aug 2017 00:15:57 +0200 Federico Vaga wrote: > Prefer well known functions like `dirname(3)` instead of custom > implementation for the same functionality > > Signed-off-by: Federico Vaga > --- > trace-record.c | 45 ++---

[rcu:rcu/next 14/14] tick-sched.c:undefined reference to `__divdi3'

2017-08-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: 33103e7b1f89ef432dfe3337d2a6932cdf5c1312 commit: 33103e7b1f89ef432dfe3337d2a6932cdf5c1312 [14/14] EXP: Trace tick return from tick_nohz_stop_sched_tick config: i386-randconfig-n0-08141229 (attached as .

[PATCH][RFC] PM / Hibernate: Feed NMI wathdog when creating snapshot

2017-08-14 Thread Chen Yu
There is a problem that when counting the pages for creating the hibernation snapshot will take significant amount of time, especially on system with large memory. Since the counting job is performed with irq disabled, this might lead to NMI lockup. The following warning were found on a system with

[PATCH] media: ddbridge: constify stv0910_p and lnbh25_cfg

2017-08-14 Thread Julia Lawall
These structures are only copied into other stuructures, so they can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/pci/ddbridge/ddbridge-core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/ddbridge/ddbr

Re: [PATCH 14/14] arm64: add VMAP_STACK overflow detection

2017-08-14 Thread Mark Rutland
On Mon, Aug 14, 2017 at 04:32:53PM +0100, Will Deacon wrote: > Just some minor comments on this (after taking ages to realise you were > using tpidr_el0 as a temporary rather than tpidr_el1 and getting totally > confused!). > > On Mon, Aug 07, 2017 at 07:36:05PM +0100, Mark Rutland wrote: > > +st

Re: [PATCH v2 1/1] livepatch: add (un)patch callbacks

2017-08-14 Thread Josh Poimboeuf
On Mon, Aug 14, 2017 at 10:53:08AM -0400, Joe Lawrence wrote: > On 08/11/2017 04:44 PM, Josh Poimboeuf wrote: > > On Tue, Aug 08, 2017 at 03:36:07PM -0400, Joe Lawrence wrote: > >> +++ b/Documentation/livepatch/callbacks.txt > >> @@ -0,0 +1,75 @@ > >> +(Un)patching Callbacks > >> +=

Re: input: touchscreen: mxs-lradc: use correct error check

2017-08-14 Thread Dmitry Torokhov
On Tue, Aug 08, 2017 at 09:00:37PM +0800, Pan Bian wrote: > Function devm_ioremap() will return a NULL pointer on failure. However, > in function mxs_lradc_ts_probe(), its return value is checked with > IS_ERR(), which cannot detect the exceptional case. > > Signed-off-by: Pan Bian Applied, than

RE: [PATCH 0/5] cramfs refresh for embedded usage

2017-08-14 Thread Nicolas Pitre
On Mon, 14 Aug 2017, Chris Brandt wrote: > On Friday, August 11, 2017, Nicolas Pitre wrote: > > This series brings a nice refresh to the cramfs filesystem, adding the > > following capabilities: > > > > - Direct memory access, bypassing the block and/or MTD layers entirely. > > > > - Ability to

Re: [PATCH V3 2/2] It makes the code clearer and less error prone.

2017-08-14 Thread Steven Rostedt
On Thu, 3 Aug 2017 00:15:58 +0200 Federico Vaga wrote: Why did you change the subject? The previous patch had a much better one: "trace-cmd: Use asprintf when possible" Or was it the tool you used to send the patches that chopped it off? A quick scan of the patch looks good. I'll look a bit de

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-14 Thread Luiz Capitulino
On Mon, 14 Aug 2017 19:01:09 +0200 Frederic Weisbecker wrote: > > > Perhaps I should remove the nohz_full= parameter altogether and let > > > nohz_full controlled > > > by housekeeping= only. How much can kernel parameters be considered as > > > kernel ABIs? > > > > That's a very good questi

early x86 unseeded randomness

2017-08-14 Thread Borislav Petkov
Hi, how about we address that unseeded randomness usage during early boot by falling back on the TSC on x86? I mean, we already do that for the stack canary value anyway... --- diff --git a/arch/x86/include/asm/stackprotector.h b/arch/x86/include/asm/stackprotector.h index 8abedf1d650e..e636ac6f

Re: [PATCH v2] netfilter: nf_nat_h323: fix logical-not-parentheses warning

2017-08-14 Thread Nick Desaulniers
Minor nit for the commit message that can get fixed up when being merged: On Fri, Aug 11, 2017 at 11:16 AM, Nick Desaulniers wrote: > if (x) > return > ... > > rather than: > > if (!x == 0) should remove the `!`, ex: if (x == 0) > ... > else > return -- Thanks, ~Nick Desaulniers

[PATCH] sound: emu8000: constify emu8000_ops

2017-08-14 Thread Julia Lawall
The structure emu8000_ops is only copied into another structure, so it can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/isa/sb/emu8000_callback.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/isa/sb/emu8000_callback.c b/sound/

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

2017-08-14 Thread Ingo Molnar
x27;perf-core-for-mingo-4.14-20170801' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2017-08-10 17:07:02 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/pe

Re: [PATCH v10 3/5] PCI: Disable Relaxed Ordering Attributes for AMD A1100

2017-08-14 Thread Raj, Ashok
On Mon, Aug 14, 2017 at 11:44:57PM +0800, Ding Tianhong wrote: > Casey reported that the AMD ARM A1100 SoC has a bug in its PCIe > Root Port where Upstream Transaction Layer Packets with the Relaxed > Ordering Attribute clear are allowed to bypass earlier TLPs with > Relaxed Ordering set, it would

[PATCH v2] media: ddbridge: constify stv0910_p and lnbh25_cfg

2017-08-14 Thread Julia Lawall
These structures are only copied into other structures, so they can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v2: fix typo in the commit message drivers/media/pci/ddbridge/ddbridge-core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g

Re: [PATCH v2] sched/topology: Introduce NUMA identity node sched domain

2017-08-14 Thread Borislav Petkov
Dropping stable@ from CC. When using git send-email, make sure to exclude stable@ from the list of recipients as this is not how we send a patch to stable. On Fri, Aug 11, 2017 at 02:41:15AM -0500, Suravee Suthikulpanit wrote: > On AMD Family17h-based (EPYC) system, a NUMA node can contain > upto

[tip:perf/core] perf scripting python: Add ppc64le to audit uname list

2017-08-14 Thread tip-bot for Naveen N. Rao
Commit-ID: 6fae8663c9940bcaa9edd8e21a9ae0f562789a3d Gitweb: http://git.kernel.org/tip/6fae8663c9940bcaa9edd8e21a9ae0f562789a3d Author: Naveen N. Rao AuthorDate: Wed, 2 Aug 2017 20:12:16 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 10:42:52 -0300 perf scripting

Re: [PATCH 10/14] arm64: assembler: allow adr_this_cpu to use the stack pointer

2017-08-14 Thread Mark Rutland
On Mon, Aug 14, 2017 at 06:13:39PM +0100, Catalin Marinas wrote: > On Mon, Aug 07, 2017 at 07:36:01PM +0100, Mark Rutland wrote: > > .macro adr_this_cpu, dst, sym, tmp > > - adr_l \dst, \sym > > + adrp\tmp, \sym > > + add \dst, \tmp, #:lo12:\sym > > mrs \tmp, tpidr_el1

Re: [PATCH] arm64: dts: realtek: Clean up RTD1295 UART reg property

2017-08-14 Thread Andreas Färber
Am 30.07.2017 um 13:17 schrieb Andreas Färber: > The downstream RTD1195 and apparently RTD1295 trees have a modified 8250 > serial driver that acknowledges its interrupts using the second reg area, > which is an irq mux. > > Drop these unused second reg entries for the UART nodes. > > Fixes: 72a7

[tip:perf/core] perf vendor events powerpc: remove suffix in mapfile

2017-08-14 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: 2862a16875452b697c65d8e06cc010c922d19171 Gitweb: http://git.kernel.org/tip/2862a16875452b697c65d8e06cc010c922d19171 Author: Sukadev Bhattiprolu AuthorDate: Thu, 27 Jul 2017 01:42:29 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 10:42:52 -0300 perf ve

[tip:perf/core] perf tools: Add missing newline to expr parser error messages

2017-08-14 Thread tip-bot for Andi Kleen
Commit-ID: c295036b6a2cf968ceac76d16d5fac43e22369f7 Gitweb: http://git.kernel.org/tip/c295036b6a2cf968ceac76d16d5fac43e22369f7 Author: Andi Kleen AuthorDate: Mon, 24 Jul 2017 16:40:05 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 10:42:53 -0300 perf tools: Add

[tip:perf/core] perf stat: Fix saved values rbtree lookup

2017-08-14 Thread tip-bot for Andi Kleen
Commit-ID: 5e97665f91d343b5bcf1f92249e45e18987ffd00 Gitweb: http://git.kernel.org/tip/5e97665f91d343b5bcf1f92249e45e18987ffd00 Author: Andi Kleen AuthorDate: Mon, 24 Jul 2017 16:40:03 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 10:42:52 -0300 perf stat: Fix s

[tip:perf/core] perf test: Make 'list' subcommand match main 'perf test' numbering/matching

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 28765bf263fcfef2f1508d603a7171b8263a3d68 Gitweb: http://git.kernel.org/tip/28765bf263fcfef2f1508d603a7171b8263a3d68 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Aug 2017 11:16:40 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 10:42:53 -0300 per

Re: early x86 unseeded randomness

2017-08-14 Thread Linus Torvalds
On Mon, Aug 14, 2017 at 10:35 AM, Borislav Petkov wrote: > > how about we address that unseeded randomness usage during early boot by > falling back on the TSC on x86? I mean, we already do that for the stack > canary value anyway... That patch is completely broken: > + if (crng_ready())

[tip:perf/core] perf test: Add infrastructure to run shell based tests

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1209b273a25ee60a267b606bea77e068b8556a8d Gitweb: http://git.kernel.org/tip/1209b273a25ee60a267b606bea77e068b8556a8d Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 3 Aug 2017 16:49:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:22 -0300 per

[tip:perf/core] perf test: Add 'struct test *' to the test functions

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 81f17c90f14122123cc52d1609f567834e56b122 Gitweb: http://git.kernel.org/tip/81f17c90f14122123cc52d1609f567834e56b122 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 3 Aug 2017 15:16:31 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 10:42:53 -0300 per

[tip:perf/core] perf test: Make 'list' use same filtering code as main 'perf test'

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6d02acc1918094de12f885b35db9477e579b6bd0 Gitweb: http://git.kernel.org/tip/6d02acc1918094de12f885b35db9477e579b6bd0 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Aug 2017 11:16:40 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:27 -0300 per

[tip:perf/core] perf test shell: Add 'probe_vfs_getname' shell test

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a3534842ddd04675abc67e80432aacc01670cca8 Gitweb: http://git.kernel.org/tip/a3534842ddd04675abc67e80432aacc01670cca8 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 3 Aug 2017 16:54:53 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:28 -0300 per

Re: [PATCH] nokia n900: update dts with camera support

2017-08-14 Thread Tony Lindgren
* Pali Rohár [170813 08:38]: > On Thursday 10 August 2017 22:49:23 Pavel Machek wrote: > > > > Add camera support to N900 dts. Also add a note about MMC & debugging. > > > > Signed-off-by: Pavel Machek > > Looks good, > > Acked-by: Pali Rohár Applying into omap-for-v4.14/dt-v2 thanks. Tony

[tip:perf/core] perf test shell: Install shell tests

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 122e0b947052f6106595fa29d63d514d2ebcdad9 Gitweb: http://git.kernel.org/tip/122e0b947052f6106595fa29d63d514d2ebcdad9 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Aug 2017 12:19:44 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:28 -0300 per

[tip:perf/core] perf test shell: Move vfs_getname probe function to lib

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5ce669a59503f7c05c4648c70fe72bbe42613743 Gitweb: http://git.kernel.org/tip/5ce669a59503f7c05c4648c70fe72bbe42613743 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Aug 2017 14:18:29 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:29 -0300 per

[tip:perf/core] perf test shell: Add test using probe:vfs_getname and verifying results

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6060c7264ded3f6fa17e74bca3e192ce477e8063 Gitweb: http://git.kernel.org/tip/6060c7264ded3f6fa17e74bca3e192ce477e8063 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Aug 2017 14:39:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:30 -0300 per

Re: [PATCH v1 1/1] watchdog: iTCO_wdt: Move update_no_reboot_bit() out of atomic context

2017-08-14 Thread Guenter Roeck
On Thu, Jul 27, 2017 at 11:08:44AM -0700, sathyanarayanan.kuppusw...@linux.intel.com wrote: > From: Kuppuswamy Sathyanarayanan > > In iTCO_wdt_start() and iTCO_wdt_stop() functions, update_no_reboot_bit() > call has been made within io_lock spin lock context. But if the > update_no_reboot_bit()

[tip:perf/core] perf test shell: Add test using vfs_getname + 'perf trace'

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e498f336d66f804f87787b2ec31821e349a37b7b Gitweb: http://git.kernel.org/tip/e498f336d66f804f87787b2ec31821e349a37b7b Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Aug 2017 17:06:26 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:30 -0300 per

[tip:perf/core] perf record: Fix wrong size in perf_record_mmap for last kernel module

2017-08-14 Thread tip-bot for Thomas Richter
Commit-ID: 9ad4652b66f19a60f07e63b942b80b5c2d7465bf Gitweb: http://git.kernel.org/tip/9ad4652b66f19a60f07e63b942b80b5c2d7465bf Author: Thomas Richter AuthorDate: Thu, 3 Aug 2017 15:49:02 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:32 -0300 perf record:

[tip:perf/core] perf util: Take elf_name as const string in dso__demangle_sym

2017-08-14 Thread tip-bot for Milian Wolff
Commit-ID: 80c345b255cbb4e9dfb193bf0bf5536217237f6a Gitweb: http://git.kernel.org/tip/80c345b255cbb4e9dfb193bf0bf5536217237f6a Author: Milian Wolff AuthorDate: Sun, 6 Aug 2017 23:24:34 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:31 -0300 perf util: Take

[tip:perf/core] perf srcline: Do not consider empty files as valid srclines

2017-08-14 Thread tip-bot for Milian Wolff
Commit-ID: d964b1cdbd94f359f1f65f81440be84ceb45978e Gitweb: http://git.kernel.org/tip/d964b1cdbd94f359f1f65f81440be84ceb45978e Author: Milian Wolff AuthorDate: Sun, 6 Aug 2017 23:24:45 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:31 -0300 perf srcline: D

[tip:perf/core] perf report: Fix module symbol adjustment for s390x

2017-08-14 Thread tip-bot for Thomas Richter
Commit-ID: 4a084ecfc8217bca1ab074feb4bc8a2c0f828960 Gitweb: http://git.kernel.org/tip/4a084ecfc8217bca1ab074feb4bc8a2c0f828960 Author: Thomas Richter AuthorDate: Thu, 3 Aug 2017 15:49:01 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:06:32 -0300 perf report:

Re: [PATCH v2] dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-08-14 Thread Guenter Roeck
On Tue, Aug 15, 2017 at 12:41:38AM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > This updates dt-binding documentation for MediaTek MT7622 and > MT7623 SoC. For the both SoCs supported all rely on the fallback > binding of the case with "mediatek,mt6589-wdt". > > Signed-off-by: Sean

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-14 Thread Kani, Toshimitsu
On Mon, 2017-08-14 at 19:05 +0200, Borislav Petkov wrote: > On Mon, Aug 14, 2017 at 04:48:57PM +, Kani, Toshimitsu wrote: > > Right, but the issue is how [ghes_edac_]report_mem_error() protects > > from possible concurrent calls from multiple GHES sources when > > there is only a single mci. >

[tip:perf/core] perf test shell: Add uprobes + backtrace ping test

2017-08-14 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8fc375d7d36c72b4c2d55f5c24be022a939295d4 Gitweb: http://git.kernel.org/tip/8fc375d7d36c72b4c2d55f5c24be022a939295d4 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 10 Aug 2017 14:50:49 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 11 Aug 2017 16:18:49 -0300 pe

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

2017-08-14 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 14, 2017 at 07:39:48PM +0200, Ingo Molnar escreveu: > * Arnaldo Carvalho de Melo wrote: > > Infrastructure: > > - Add support for shell based tests in 'perf test', add a few that > > run 'perf probe', 'perf trace', using kprobes, uprobes to check > > the output of those tools and

Re: [PATCH 4/4] MIPS/ptrace: Add PTRACE_SET_SYSCALL operation

2017-08-14 Thread Kees Cook
On Mon, Aug 14, 2017 at 2:41 AM, James Hogan wrote: > On Fri, Aug 11, 2017 at 03:23:34PM -0700, Kees Cook wrote: >> On Fri, Aug 11, 2017 at 1:56 PM, James Hogan wrote: >> > Add a PTRACE_SET_SYSCALL ptrace operation to allow the system call to be >> > cancelled independently to the value of the v0

[PATCH net-next] bpf/verifier: track liveness for pruning

2017-08-14 Thread Edward Cree
State of a register doesn't matter if it wasn't read in reaching an exit; a write screens off all reads downstream of it from all explored_states upstream of it. This allows us to prune many more branches; here are some processed insn counts for some Cilium programs: Program bef

Re: nvmet_fc: add defer_req callback for deferment of cmd buffer return

2017-08-14 Thread James Smart
On 8/14/2017 9:38 AM, Christoph Hellwig wrote: On Mon, Aug 14, 2017 at 10:19:24AM -0400, Dave Jones wrote: > + > +/* Cleanup defer'ed IOs in queue */ > +list_for_each_entry(deferfcp, &queue->avail_defer_list, req_list) { > +list_del(&deferfcp->req_list);

Re: [PATCH] [media] media: imx: depends on V4L2 sub-device userspace API

2017-08-14 Thread Steve Longerbeam
Hi Akturk, this has already been fixed, see 4560cb4a0c ("media: imx: add VIDEO_V4L2_SUBDEV_API dependency"). Steve On 08/14/2017 04:00 AM, Cihangir Akturk wrote: This driver uses various v4l2_subdev_get_try_*() functions provided by V4L2 sub-device userspace API. Current configuration of Kconf

Re: [PATCH] liquidio: fix duplicated code for different branches

2017-08-14 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sat, 12 Aug 2017 20:38:55 -0500 > Refactor code in order to avoid identical code for different branches. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Applied.

Re: [PATCH] qlge: fix duplicated code for different branches

2017-08-14 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sat, 12 Aug 2017 20:58:40 -0500 > Refactor code in order to avoid identical code for different branches. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Applied.

Re: [lkp-robot] [ipc] cb6268f05d: reaim.jobs_per_min 865% improvement

2017-08-14 Thread Kees Cook
On Sun, Aug 13, 2017 at 11:05 PM, kernel test robot wrote: > > Greeting, > > FYI, we noticed a 865% improvement of reaim.jobs_per_min due to commit: > > > commit: cb6268f05df684e00607762fd8ad95d515e2407f ("ipc: optimize > semget/shmget/msgget for lots of keys") > url: > https://github.com/0day-c

Re: early x86 unseeded randomness

2017-08-14 Thread Borislav Petkov
On Mon, Aug 14, 2017 at 10:47:47AM -0700, Linus Torvalds wrote: > Plus on modern x86, you'll always get at least the hardware > randomness, which is fundamentally much better anyway. Right, my only intention was to get rid of those: [0.00] random: get_random_bytes called from start_kernel

Re: [lkp-robot] [net] 98cd1552ea: BUG:unable_to_handle_kernel

2017-08-14 Thread Linus Torvalds
On Sun, Aug 13, 2017 at 11:10 PM, kernel test robot wrote: > FYI, we noticed the following commit: > > commit: 98cd1552ea27e512c7e99e2aa76042a26e4fb25c ("net: dsa: Mock-up driver") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > in testcase: trinity > with following pa

Re: [PATCH v2 16/18] hwmon: add support for sensors exported via ARM SCMI

2017-08-14 Thread Guenter Roeck
On Mon, Aug 14, 2017 at 04:09:18PM +0100, Sudeep Holla wrote: > Hi Guenter, > > On 07/08/17 13:25, Sudeep Holla wrote: > > > > > > On 04/08/17 20:32, Guenter Roeck wrote: > >> On Fri, Aug 04, 2017 at 03:31:42PM +0100, Sudeep Holla wrote: > > > > [...] > > > >>> + platform_set_drvdata(pdev, scm

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-14 Thread Borislav Petkov
On Mon, Aug 14, 2017 at 05:52:25PM +, Kani, Toshimitsu wrote: > Yes, but this ACK is done per a GHES entry as well. So is the ghes_edac_report_mem_error() call. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

RE: [PATCH 0/5] cramfs refresh for embedded usage

2017-08-14 Thread Chris Brandt
On Monday, August 14, 2017, Nicolas Pitre wrote: > > I just applied the patches tried this simple test: > > - tested with a Renesas RZ/A1 (Cortex-A9...so it has an MMU). > > - I set the sticky bit for busybox before using mkcramfs > > You need the newer mkcramfs I linked to in the documentation.

Re: [PATCH v10 3/5] PCI: Disable Relaxed Ordering Attributes for AMD A1100

2017-08-14 Thread Casey Leedom
| From: Raj, Ashok | Sent: Monday, August 14, 2017 10:19 AM |   | On Mon, Aug 14, 2017 at 11:44:57PM +0800, Ding Tianhong wrote: | > Casey reported that the AMD ARM A1100 SoC has a bug in its PCIe | > Root Port where Upstream Transaction Layer Packets with the Relaxed | > Ordering Attribute cle

Re: [PATCH 2/2] PCI: dwc: spear13xx: utilize dw_pcie_readX_dbi/dw_pcie_writeX_dbi macros

2017-08-14 Thread Bjorn Helgaas
On Fri, Jul 14, 2017 at 02:07:35PM +0200, Niklas Cassel wrote: > Signed-off-by: Niklas Cassel Pratyush, are you OK with this? > --- > drivers/pci/dwc/pcie-spear13xx.c | 22 ++ > 1 file changed, 10 insertions(+), 12 deletions(-) > > diff --git a/drivers/pci/dwc/pcie-spear13x

[PATCH v2] msleep() delays - replace with usleep_range() in TPM 1.2/2.0 generic drivers

2017-08-14 Thread Hamza Attak
The patch simply replaces all msleep function calls with usleep_range calls in the generic drivers. Tested with an Infineon TPM 1.2, using the generic tpm-tis module, for a thousand PCR extends, we see results going from 1m57s unpatched to 40s with the new patch. We obtain similar results when usi

RE: [[PATCH v1] 02/37] [CIFS] SMBD: Add structure for SMBD transport

2017-08-14 Thread Long Li
> -Original Message- > From: Stefan Metzmacher [mailto:me...@samba.org] > Sent: Monday, August 14, 2017 6:41 AM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org; linux-r...@vger.kernel.org; Christoph Hellwig > >

Re: [PATCH v3 pci] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-08-14 Thread Lorenzo Pieralisi
On Fri, Aug 11, 2017 at 06:02:53PM -0600, Khuong Dinh wrote: > This patch makes pci-xgene-msi driver ACPI-aware and provides > MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. > > Signed-off-by: Khuong Dinh > [Take over from Duc Dang] > Acked-by: Marc Zyngier > --- > v3:

Re: [PATCH v10 0/5] Add new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

2017-08-14 Thread David Miller
It looks like we are really close on this. Please just remove the Intel signoff from the AMD patch, and I don't think it's wise to wait for an AMD person to signoff on it given the state of affairs for that chipset. Thanks.

RE: [[PATCH v1] 12/37] [CIFS] SMBD: Handle send completion from CQ

2017-08-14 Thread Long Li
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Sunday, August 13, 2017 3:20 AM > To: Long Li > Cc: Steve French ; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org; Long Li > > Subject: Re: [[PATCH v1] 12/37]

Re: [PATCH net-next v3] net: phy: Use tab for indentation in Kconfig

2017-08-14 Thread David Miller
From: Michal Simek Date: Mon, 14 Aug 2017 15:43:00 +0200 > Using tabs instead of space for indentation. > > Signed-off-by: Michal Simek > Reviewed-by: Andrew Lunn Applied, thanks.

RE: [PATCH 0/5] cramfs refresh for embedded usage

2017-08-14 Thread Nicolas Pitre
On Mon, 14 Aug 2017, Chris Brandt wrote: > On Monday, August 14, 2017, Nicolas Pitre wrote: > > > I just applied the patches tried this simple test: > > > - tested with a Renesas RZ/A1 (Cortex-A9...so it has an MMU). > > > - I set the sticky bit for busybox before using mkcramfs > > > > You nee

Re: early x86 unseeded randomness

2017-08-14 Thread Linus Torvalds
On Mon, Aug 14, 2017 at 11:00 AM, Borislav Petkov wrote: > On Mon, Aug 14, 2017 at 10:47:47AM -0700, Linus Torvalds wrote: >> Plus on modern x86, you'll always get at least the hardware >> randomness, which is fundamentally much better anyway. > > Right, my only intention was to get rid of those:

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-14 Thread Kani, Toshimitsu
On Mon, 2017-08-14 at 20:05 +0200, Borislav Petkov wrote: > On Mon, Aug 14, 2017 at 05:52:25PM +, Kani, Toshimitsu wrote: > > Yes, but this ACK is done per a GHES entry as well. > > So is the ghes_edac_report_mem_error() call. Right, ghes_edac_report_mem_error() gets serialized per a GHES ent

RE: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD message with no payload

2017-08-14 Thread Long Li
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Sunday, August 13, 2017 3:24 AM > To: Long Li > Cc: Steve French ; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org; Long Li > > Subject: Re: [[PATCH v1] 16/37]

[PATCH] checkpatch: Add --strict check for ifs with unnecessary parentheses

2017-08-14 Thread Joe Perches
An if statement test like if ((foo == bar) && (baz != qux)) can arguably be better written without the parentheses as if (foo == bar && baz != qux) Add a test to find these cases. Signed-off-by: Joe Perches --- David Miller recently commented on the use of unnecessary parenthese

Re: RGB support prototype

2017-08-14 Thread Jacek Anaszewski
Hi, On 08/13/2017 01:41 PM, Pavel Machek wrote: > Hi! > >>> You mentioned you was working on RGB support prototype. Could you post >>> copy of the patches (even if unfinished)? >> >> Unfortunately it is at the stage of unfinished proof of concept and >> I haven't managed yet to try how it fits to

[rcu:rcu/next 14/14] tick-sched.c:undefined reference to `__aeabi_ldivmod'

2017-08-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: 33103e7b1f89ef432dfe3337d2a6932cdf5c1312 commit: 33103e7b1f89ef432dfe3337d2a6932cdf5c1312 [14/14] EXP: Trace tick return from tick_nohz_stop_sched_tick config: arm-shmobile_defconfig (attached as .confi

Re: [PATCH] arm64: bcm2837 dts: enable bcm2708 frambuffer driver for the raspberry pi-3

2017-08-14 Thread Eric Anholt
VOTARY GITHUB writes: > From 3200cb6fd787390df1bccf1bb1f7a67ca04136fd Mon Sep 17 00:00:00 2001 > From: VT-Github-Raspberrypi > Date: Tue, 8 Aug 2017 16:57:15 +0530 > Subject: [PATCH] arm64: bcm2837 dts: enable bcm2708 frambuffer driver for the >  raspberry pi-3 > > This fb drivers to make render

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-14 Thread Mike Galbraith
On Mon, 2017-08-14 at 13:34 -0400, Luiz Capitulino wrote: > On Mon, 14 Aug 2017 19:01:09 +0200 > > > What is the source of the load balancing inducing such latency when a single > > task is affine to a CPU? If this is idle load balancing, it is now affine to > > housekeepers. If this is task wakeu

[v5 0/4] cgroup-aware OOM killer

2017-08-14 Thread Roman Gushchin
This patchset makes the OOM killer cgroup-aware. v5: - Rebased on top of Michal Hocko's patches, which have changed the way how OOM victims becoming an access to the memory reserves. Dropped corresponding part of this patchset - Separated the oom_kill_process() splitting into a standal

[v5 4/4] mm, oom, docs: describe the cgroup-aware OOM killer

2017-08-14 Thread Roman Gushchin
Update cgroups v2 docs. Signed-off-by: Roman Gushchin Cc: Michal Hocko Cc: Vladimir Davydov Cc: Johannes Weiner Cc: Tetsuo Handa Cc: David Rientjes Cc: Tejun Heo Cc: kernel-t...@fb.com Cc: cgro...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux...@kv

[v5 1/4] mm, oom: refactor the oom_kill_process() function

2017-08-14 Thread Roman Gushchin
The oom_kill_process() function consists of two logical parts: the first one is responsible for considering task's children as a potential victim and printing the debug information. The second half is responsible for sending SIGKILL to all tasks sharing the mm struct with the given victim. This co

[v5 2/4] mm, oom: cgroup-aware OOM killer

2017-08-14 Thread Roman Gushchin
Traditionally, the OOM killer is operating on a process level. Under oom conditions, it finds a process with the highest oom score and kills it. This behavior doesn't suit well the system with many running containers: 1) There is no fairness between containers. A small container with few large pr

[v5 3/4] mm, oom: introduce oom_priority for memory cgroups

2017-08-14 Thread Roman Gushchin
Introduce a per-memory-cgroup oom_priority setting: an integer number within the [-1, 1] range, which defines the order in which the OOM killer selects victim memory cgroups. OOM killer prefers memory cgroups with larger priority if they are populated with elegible tasks. The oom_priority

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-14 Thread Borislav Petkov
On Mon, Aug 14, 2017 at 06:17:47PM +, Kani, Toshimitsu wrote: > Right, ghes_edac_report_mem_error() gets serialized per a GHES entry, > but not globally. Globally what? What is the actual potential scenario for concurrency issues you see? Example pls. -- Regards/Gruss, Boris. Good mail

RE: [PATCH 0/5] cramfs refresh for embedded usage

2017-08-14 Thread Chris Brandt
On Monday, August 14, 2017, Nicolas Pitre wrote: > > However, now with your mkcramfs tool, I can no longer mount my cramfs > > image as the rootfs on boot. I was able to do that before (ie, 30 > minutes > > ago) when using the community mkcramfs (ie, 30 minutes ago). > > > > I get this: > > > > [

Re: [PATCH] serial: imx: Improve PIO prevention if TX DMA has been started

2017-08-14 Thread Clemens Gruber
Hello Uwe, On Mon, Aug 14, 2017 at 08:51:49AM +0200, Uwe Kleine-König wrote: > Hello Clemens, > > On Sun, Aug 13, 2017 at 12:07:56AM +0200, Clemens Gruber wrote: > > On Sat, Aug 12, 2017 at 09:54:51PM +0200, Uwe Kleine-König wrote: > > > On Sat, Aug 12, 2017 at 05:12:10PM +0200, Clemens Gruber wr

Re: [PATCH] ARM: bcm2836: Send event when onlining other cores

2017-08-14 Thread Stefan Wahren
Hi Eric, > Stefan Wahren hat am 14. August 2017 um 19:11 > geschrieben: > > > Hi Florian, > > > Florian Fainelli hat am 14. August 2017 um 18:25 > > geschrieben: > > > > > > > > > > On 08/08/2017 04:04 AM, Phil Elwell wrote: > > > Secondary cores should enter a low-power idle state when

[PATCH v2 0/3] enable eeprom "size" property and runtime pm

2017-08-14 Thread Divagar Mohandass
This series adds support for eeprom "size" property which will be read by the driver for eeprom size. The existing ACPI has a different default size which can be overridden with a DSD property value provided by the platform FW. This series also adds support for runtime PM. The eeprom driver curren

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