[lkp] [tmpfs] afa2db2fb6: -14.5% aim9.creat-clo.ops_per_sec

2015-10-12 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit afa2db2fb6f15f860069de94a1257db57589fe95 ("tmpfs: truncate prealloc blocks past i_size")

Re: [PATCH 05/16] irqchip: Convert all alloc/xlate users from of_node to fwnode

2015-10-12 Thread Hanjun Guo
On 10/07/2015 01:36 AM, Marc Zyngier wrote: Since we now have a generic data structure to express an interrupt specifier, convert all hierarchical irqchips that are OF based to use a fwnode_handle as part of their alloc and xlate (which becomes translate) callbacks. As most of these drivers

Re: [RFC v2 5/7] powerpc: atomic: Implement cmpxchg{,64}_* and atomic{,64}_cmpxchg_* variants

2015-10-12 Thread Peter Zijlstra
On Sun, Oct 11, 2015 at 06:25:20PM +0800, Boqun Feng wrote: > On Sat, Oct 10, 2015 at 09:58:05AM +0800, Boqun Feng wrote: > > Hi Peter, > > > > Sorry for replying late. > > > > On Thu, Oct 01, 2015 at 02:27:16PM +0200, Peter Zijlstra wrote: > > > On Wed, Sep 16, 2015 at 11:49:33PM +0800, Boqun

Re: v4.3-rc4: i915: ThinkPad Yoga 12: *ERROR* The master control interrupt lied (SDE)! [regression]

2015-10-12 Thread Daniel Vetter
Another regression for Jairo to track. -Daniel On Sat, Oct 10, 2015 at 12:08:43PM -0700, Darren Hart wrote: > The Debian 3.16.0 kernel does not emit the error, but I have not attempted a > bisection. > > The warning was added by: > 38cc46d drm/i915/bdw: Ack interrupts before handling them (GEN8)

Re: [PATCH 0/2] irqchip: make non-modular code explicitly non-modular

2015-10-12 Thread Geert Uytterhoeven
Hi Paul, On Mon, Oct 12, 2015 at 1:05 AM, Paul Gortmaker wrote: > In a previous merge window, we made changes to allow better > delineation between modular and non-modular code in commit > 0fd972a7d91d6e15393c449492a04d94c0b89351 ("module: relocate module_init >

Re: [RFC v2 5/7] powerpc: atomic: Implement cmpxchg{,64}_* and atomic{,64}_cmpxchg_* variants

2015-10-12 Thread Boqun Feng
On Mon, Oct 12, 2015 at 08:46:21AM +0200, Peter Zijlstra wrote: > On Sun, Oct 11, 2015 at 06:25:20PM +0800, Boqun Feng wrote: > > On Sat, Oct 10, 2015 at 09:58:05AM +0800, Boqun Feng wrote: > > > Hi Peter, > > > > > > Sorry for replying late. > > > > > > On Thu, Oct 01, 2015 at 02:27:16PM +0200,

Re: [PATCH 3/5] ARM: shmobile: R-Mobile: add missing of_node_put

2015-10-12 Thread Geert Uytterhoeven
Hi Julia, On Sat, Oct 10, 2015 at 2:30 PM, Julia Lawall wrote: > --- a/arch/arm/mach-shmobile/pm-rmobile.c > +++ b/arch/arm/mach-shmobile/pm-rmobile.c > @@ -313,8 +313,10 @@ static int __init rmobile_add_pm_domains(void __iomem > *base, > } > >

[PATCH 1/2] base: dma-coherent: Add DT property for non exclusive shared-dma-pool

2015-10-12 Thread Neil Armstrong
In order to have the ability to declare a non exclusive shared-dma-pool, i.e. without the DMA_MEMORY_EXCLUSIVE flag, add the 'no-exclusive' DT optional parameter to initialize the coherent memory without the flag. Leave exclusive memory as default. Signed-off-by: Neil Armstrong

[PATCH 0/2] Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

2015-10-12 Thread Neil Armstrong
The shared-dma-pool dt node only exposes exclusive memory, but in order to export non-exclusive coherent memory, add the no-exclusive property and document it. Neil Armstrong (2): base: dma-coherent: Add DT property for non exclusive shared-dma-pool devicetree: reserved-memory: document the

[PATCH 2/2] devicetree: reserved-memory: document the optional no-exclusive parameter

2015-10-12 Thread Neil Armstrong
Document the 'no-exclusive' parameter used for the 'shared-dma-pool' compatible reserved-memory type. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

linux-next: build failure after merge of the dwmw2-iommu tree

2015-10-12 Thread Stephen Rothwell
Hi David, After merging the dwmw2-iommu tree, today's linux-next build (i386 defconfig) failed like this: In file included from drivers/gpu/drm/i915/i915_drv.h:50:0, from drivers/gpu/drm/i915/i915_drv.c:34: include/linux/intel-iommu.h:477:22: error: field 'notifier' has

Re: [LKP] [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Fengguang Wu
On Mon, Oct 12, 2015 at 09:33:55AM +0200, Ingo Molnar wrote: > > * kernel test robot wrote: > > > FYI, we noticed the below changes on > > > > git://internal_mailing_list_patch_tree > > Ingo-Molnar/string-Improve-the-generic-strlcpy-implementation > > commit

Re: [PATCH] rtc: at91rm9200: clear RTC alarm status flag prior to suspending

2015-10-12 Thread Alexandre Belloni
On 12/10/2015 at 07:48:18 +, Yang, Wenyou wrote : > > On 12/10/2015 at 09:17:57 +0800, Wenyou Yang wrote : > > > This patch is to clear the RTC alarm status flag prior to suspending > > > to avoid the erroneous wake-up activity. > > > > > > > Is this a new issue appearing with the sama5d2 or

Re: [LKP] [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Fengguang Wu
On Mon, Oct 12, 2015 at 03:58:32PM +0800, Fengguang Wu wrote: > On Mon, Oct 12, 2015 at 03:51:04PM +0800, Fengguang Wu wrote: > > On Mon, Oct 12, 2015 at 09:33:55AM +0200, Ingo Molnar wrote: > > > > > > * kernel test robot wrote: > > > > > > > FYI, we noticed the

[PATCH v2] mISDN: use kstrdup() in dsp_pipeline_build

2015-10-12 Thread Geliang Tang
Use kstrdup instead of strlen-kmalloc-strcpy. Remove unneeded NULL test, it will be tested inside kstrdup. Remove 0 length string test, it has been tested in the caller of dsp_pipeline_build. Signed-off-by: Geliang Tang --- Changes in v2: - Remove unneeded NULL test. ---

Re: Can't we use timeout based OOM warning/killing?

2015-10-12 Thread Tetsuo Handa
} read(fd, buf, size); /* Will cause OOM due to overcommit */ return 0; } } -- Reproducer end ------ Complete log is at http://I-love.SAKURA.ne.jp/tmp/serial-20151012.txt.xz . Uptime between 101 and 300 is a silent hang up (i.e. no

Re: [PATCH 3/5] ARM: shmobile: R-Mobile: add missing of_node_put

2015-10-12 Thread Julia Lawall
On Mon, 12 Oct 2015, Geert Uytterhoeven wrote: > Hi Julia, > > On Sat, Oct 10, 2015 at 2:30 PM, Julia Lawall wrote: > > --- a/arch/arm/mach-shmobile/pm-rmobile.c > > +++ b/arch/arm/mach-shmobile/pm-rmobile.c > > @@ -313,8 +313,10 @@ static int __init

Re: [PATCH] i2c: return probe deferred status on dev_pm_domain_attach

2015-10-12 Thread Wolfram Sang
And add the original patch author to CC when resending. signature.asc Description: Digital signature

Build regressions/improvements in v4.3-rc5

2015-10-12 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.3-rc5[1] compared to v4.2[2]. Summarized: - build errors: +13/-8 - build warnings: +189/-111 JFYI, when comparing v4.3-rc5[1] to v4.3-rc4[3], the summaries are: - build errors: +13/-6 - build warnings: +54/-51 Note

Re: 4.3 group scheduling regression

2015-10-12 Thread Peter Zijlstra
On Sun, Oct 11, 2015 at 07:42:01PM +0200, Mike Galbraith wrote: > (change subject, CCs) > > On Sun, 2015-10-11 at 04:25 +0200, Mike Galbraith wrote: > > > > Is the interactivity the same (horrible) at fe32d3cd5e8e (ie, before the > > > load tracking rewrite from Yuyang)? > > It is the rewrite,

Re: [PATCH 2/2] i2c: designware: enable High-speed mode for pcidrv

2015-10-12 Thread Xiang Wang
Hi, Andy Thanks for your comments. [Andy] Don't see a relationship between PCI driver and this ACPI stuff. Although this is a pci driver, we may enumerate the i2c devices from DSDT table while i2c controllers are enumerated via PCI. In this scenario, in DSDT, there are descriptions of i2c devices

Re: [PATCH v13 00/23] Compile-time stack metadata validation

2015-10-12 Thread Ingo Molnar
* Josh Poimboeuf wrote: > Hi Ingo, > > Do you have any more objections to these patches? Would you be willing > to apply them? So I still don't like the tool namespace you picked: Git-alike generic naming plus subcommands work so much better that I'm not sure why we

Re: [PATCH 2/2] gpio: omap: convert to use generic irq handler

2015-10-12 Thread Thomas Gleixner
Grygorii, can you please provide a patch set against 4.1-RT? That stuff rejects left and right. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: 4.3 group scheduling regression

2015-10-12 Thread Peter Zijlstra
On Mon, Oct 12, 2015 at 09:44:57AM +0200, Mike Galbraith wrote: > It's odd to me that things look pretty much the same good/bad tree with > hogs vs hogs or hogs vs tbench (with top anyway, just adding up times). > Seems Xorg+mplayer more or less playing cross group ping-pong must be > the

Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter

2015-10-12 Thread Wei Xu
On 10/9/2015 7:26 PM, Arnd Bergmann wrote: > On Friday 09 October 2015 17:10:36 Wei Xu wrote: >> Replace console with stdout-path so that we don't have to put the >> console on the kernel command line. >> >> Remove earlyprintk to allow the kernel to boot on a system even >> if DEBUG_LL is

Re: [PATCH 1/2] irqchip/renesas-intc-irqpin: Remove obsolete platform data support

2015-10-12 Thread Thomas Gleixner
On Mon, 12 Oct 2015, Simon Horman wrote: > On Fri, Oct 09, 2015 at 02:19:51PM +0200, Thomas Gleixner wrote: > > On Wed, 7 Oct 2015, Geert Uytterhoeven wrote: > > > On Wed, Oct 7, 2015 at 8:51 PM, kbuild test robot wrote: > > > > [auto build test ERROR on v4.3-rc4 -- if it's

Re: [PATCH 00/16] Divorcing irqdomain and device_node

2015-10-12 Thread Hanjun Guo
On 10/12/2015 10:40 AM, Hanjun Guo wrote: On 10/12/2015 05:01 AM, Thomas Gleixner wrote: On Tue, 6 Oct 2015, Marc Zyngier wrote: [This patch series used to be called "Making the generic ACPI GSI layer irqdomain aware", but as I've radically changed my approach to this problem, I've decided to

Re: [PATCH v7 05/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-10-12 Thread Yakir Yang
On 10/12/2015 02:54 PM, Krzysztof Kozlowski wrote: On 12.10.2015 13:29, Yakir Yang wrote: Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT

RE: [PATCH] rtc: at91rm9200: clear RTC alarm status flag prior to suspending

2015-10-12 Thread Yang, Wenyou
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2015年10月12日 15:51 > To: Yang, Wenyou > Cc: Alessandro Zummo; Ferre, Nicolas; Desroches, Ludovic; rtc- > li...@googlegroups.com; linux-kernel@vger.kernel.org; linux-arm- >

[tip:sched/urgent] sched, tracing: Stop/ start critical timings around the idle=poll idle loop

2015-10-12 Thread tip-bot for Daniel Bristot de Oliveira
Commit-ID: 9babcd7929bc8967ae3bb6093f603b93c2f9958f Gitweb: http://git.kernel.org/tip/9babcd7929bc8967ae3bb6093f603b93c2f9958f Author: Daniel Bristot de Oliveira AuthorDate: Thu, 8 Oct 2015 15:36:06 -0300 Committer: Ingo Molnar CommitDate: Mon, 12

Re: [4.1.3-rt8] [report][cpuhotplug] BUG: spinlock bad magic on CPU#0, sh/137

2015-10-12 Thread Thomas Gleixner
On Fri, 9 Oct 2015, Grygorii Strashko wrote: > I can constantly see below error report with 4.1 RT-kernel on TI ARM dra7-evm > if I'm trying to unplug cpu1: > > [ 57.737589] CPU1: shutdown > [ 57.767537] BUG: spinlock bad magic on CPU#0, sh/137 > [ 57.767546] lock: 0xee994730, .magic:

Re: linux-next: manual merge of the tip tree with the crypto tree

2015-10-12 Thread Herbert Xu
On Mon, Oct 12, 2015 at 02:24:21PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the tip tree got a conflict in: > > arch/x86/Makefile > > between commit: > > e38b6b7fcfd1 ("crypto: x86/sha - Add build support for Intel SHA Extensions > optimized SHA1 and

[PATCH] input: cyapa: fix the copy paste error on electrodes_rx value

2015-10-12 Thread Dudley Du
Fix the copy paste error on the electrodes_rx value set code which will cause the electrodes_rx value be always set to the value of electrodes_y. Reviewed-by: Dmitry Torokhov Reviewed-by: Sudip Mukherjee Signed-off-by: Dudley Du

Re: [PATCH 3/5] ARM: shmobile: R-Mobile: add missing of_node_put

2015-10-12 Thread Geert Uytterhoeven
On Mon, Oct 12, 2015 at 9:29 AM, Thomas Petazzoni wrote: > On Mon, 12 Oct 2015 09:18:52 +0200, Geert Uytterhoeven wrote: > >> > pd = kzalloc(sizeof(*pd), GFP_KERNEL); >> > - if (!pd) >> > + if (!pd) { >> > +

Re: [LKP] [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Huang, Ying
Ingo Molnar writes: > * kernel test robot wrote: > >> FYI, we noticed the below changes on >> >> git://internal_mailing_list_patch_tree >> Ingo-Molnar/string-Improve-the-generic-strlcpy-implementation >> commit

RE: [PATCH V1 0/2] Add DA9021 support to the existing DA9052/53 driver

2015-10-12 Thread Opensource [Steve Twiss]
On 09 October 2015 13:52 Steve Twiss wrote: > To: Mark Brown; Lee Jones > Cc: LINUXKERNEL; Liam Girdwood; Samuel Ortiz; David Dajun Chen; Support > Opensource > Subject: RE: [PATCH V1 0/2] Add DA9021 support to the existing DA9052/53 > driver > > On 09 October 2015 12:36 Mark Brown wrote: > >

Re: [LKP] [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Ingo Molnar
* Fengguang Wu wrote: > On Mon, Oct 12, 2015 at 03:51:04PM +0800, Fengguang Wu wrote: > > On Mon, Oct 12, 2015 at 09:33:55AM +0200, Ingo Molnar wrote: > > > > > > * kernel test robot wrote: > > > > > > > FYI, we noticed the below changes on

Re: [PATCH V6] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-12 Thread Changsheng Liu
在 2015/10/12 9:45, Tang Chen 写道: Hi Ishimatsu, On 10/10/2015 02:13 AM, Yasuaki Ishimatsu wrote: Hi Tang, On Fri, 9 Oct 2015 15:59:38 +0800 Tang Chen wrote: Hi, I don't mean to offend, but I really think it is not necessary to do this. hot-added memory will be

RE: [PATCH 02/10] Drivers: hv: utils: run polling callback always in interrupt context

2015-10-12 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Friday, October 9, 2015 4:29 AM > To: Vitaly Kuznetsov > Cc: KY Srinivasan ; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org;

Re: [PATCH 01/16] irqdomain: Use an accessor for the of_node field

2015-10-12 Thread Hanjun Guo
On 10/07/2015 01:36 AM, Marc Zyngier wrote: The struct irq_domain contains a "struct device_node *" field (of_node) that is almost the only link between the irqdomain and the device tree infrastructure. In order to prepare for the removal of that field, convert all users to use an accessor.

Re: [PATCH] powerpc/pseries/hvcserver: don't memset pi_buff if it is null

2015-10-12 Thread Colin Ian King
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/10/15 01:35, Daniel Axtens wrote: > > Hi Colin, > > This looks good. Out of curiousity, how did you find it? Code > inspection? Bug? Static analysis? static analysis with cppcheck. I forgot to mention that in the commit message. > > Not

[PATCH] arm: dts: Fix audio card detection on peach boards

2015-10-12 Thread Alim Akhtar
Since the merge of 2fad972 ("ARM: dts: Add mclk entry for Peach boards"), sound card detection is broken on peach boards and gives below errors: [3.630457] max98090 7-0010: MAX98091 REVID=0x51 [3.634233] max98090 7-0010: use default 2.8v micbias [3.640985] snow-audio sound: HiFi <->

[PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-12 Thread Changsheng Liu
From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE, When the memory is hot added, should_add_memory_movable() return 0 because all zones including ZONE_MOVABLE are empty, so the memory that was hot added will be assigned to ZONE_NORMAL and ZONE_NORMAL will

RE: e1000e: hard system lockup on Linux 4.2

2015-10-12 Thread Avargil, Raanan
Hi Jason, Your analysis is correct. The issue was initially reported by Valdis Kletnieks (valdis.kletni...@vt.edu) http://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20150615/000992.html Commit 37b12910dd11d9ab969f2c310dc9160b7f3e3405 fixes the lockup issue, and according to my last

Re: [Intel-gfx] [PATCH 09/20] i915: switch from acpi_os_ioremap to memremap

2015-10-12 Thread Daniel Vetter
On Fri, Oct 09, 2015 at 06:16:25PM -0400, Dan Williams wrote: > i915 expects the OpRegion to be cached (i.e. not __iomem), so explicitly > map it with memremap rather than the implied cache setting of > acpi_os_ioremap(). > > Cc: Daniel Vetter > Cc: Jani Nikula

Re: [PATCH 1/2] irqchip/renesas-intc-irqpin: Remove obsolete platform data support

2015-10-12 Thread Geert Uytterhoeven
Hi Thomas, [CC arnd] On Mon, Oct 12, 2015 at 8:52 AM, Thomas Gleixner wrote: > On Mon, 12 Oct 2015, Simon Horman wrote: >> On Fri, Oct 09, 2015 at 02:19:51PM +0200, Thomas Gleixner wrote: >> > On Wed, 7 Oct 2015, Geert Uytterhoeven wrote: >> > > On Wed, Oct 7, 2015 at 8:51

[PATCH] mfd: axp20x: Add a cell for the power button part of the,axp288 PMICs

2015-10-12 Thread Borun Fu
This patch adds the mfd cell info for axp288 power key device. Signed-off-by: Borun Fu Signed-off-by: Fei Yang --- drivers/mfd/axp20x.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/mfd/axp20x.c

Re: [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Ingo Molnar
* kernel test robot wrote: > FYI, we noticed the below changes on > > git://internal_mailing_list_patch_tree > Ingo-Molnar/string-Improve-the-generic-strlcpy-implementation > commit 5f6f0801f5fdfce4984c6a14f99dbfbb417acb66 ("string: Improve the generic > strlcpy()

[tip:x86/boot] x86/kexec: Remove obsolete 'in_crash_kexec' flag

2015-10-12 Thread tip-bot for Minfei Huang
Commit-ID: e9c40d257fdd58c5cc97d3fe3aa141dd23ee5e9d Gitweb: http://git.kernel.org/tip/e9c40d257fdd58c5cc97d3fe3aa141dd23ee5e9d Author: Minfei Huang AuthorDate: Tue, 6 Oct 2015 02:35:55 +0800 Committer: Ingo Molnar CommitDate: Mon, 12 Oct 2015

Re: 4.3 group scheduling regression

2015-10-12 Thread Mike Galbraith
On Mon, 2015-10-12 at 09:23 +0200, Peter Zijlstra wrote: > On Sun, Oct 11, 2015 at 07:42:01PM +0200, Mike Galbraith wrote: > > (change subject, CCs) > > > > On Sun, 2015-10-11 at 04:25 +0200, Mike Galbraith wrote: > > > > > > Is the interactivity the same (horrible) at fe32d3cd5e8e (ie, before

RE: [f2fs-dev] [PATCH] f2fs: merge meta writes as many possible

2015-10-12 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, October 09, 2015 8:29 AM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH] f2fs: merge

[RFC] arm64: add kc_offset_to_vaddr and kc_vaddr_to_offset macro

2015-10-12 Thread yalin wang
This patch add kc_offset_to_vaddr() and kc_vaddr_to_offset(), the default version doesn't work on arm64, because arm64 kernel address is below the PAGE_OFFSET, like module address and vmemmap address are all below PAGE_OFFSET address. Signed-off-by: yalin wang ---

Re: [PATCH] rtc: at91rm9200: clear RTC alarm status flag prior to suspending

2015-10-12 Thread Alexandre Belloni
Hi Wenyou, On 12/10/2015 at 09:17:57 +0800, Wenyou Yang wrote : > This patch is to clear the RTC alarm status flag prior to suspending > to avoid the erroneous wake-up activity. > Is this a new issue appearing with the sama5d2 or was it present from the beginning? > Signed-off-by: Wenyou Yang

Re: bindeb-pkg error (was Re: kbuild misc changes for v4.3-rc1 )

2015-10-12 Thread Riku Voipio
On 12 October 2015 at 05:58, Pranith Kumar wrote: > Hi Michal, Hi Pranith, I've trimmed the CC-list - I doubt all those people care about building kernel debian packages, and presume they get to read this via lkml/linux-kbuild anyways. > Other than that, I keep

Re: Updated scalable urandom patchkit

2015-10-12 Thread George Spelvin
>> I'm not thrilled with incrementing the pointer from i to len, but mixing >> at positions i+k to i+k+len. The whole LFSR scheme relies on a regular >> pass structure. > That part I'm not worried about. We still have a regular pass > structure --- since for each CPU, we are still iterating

Re: [PATCH 6/6] watchdog: sama5d4: try to set timeout from device tree first

2015-10-12 Thread Alexandre Belloni
Hi Sylvain, The rest of the series looks good to me, one comment below: On 08/10/2015 at 23:34:34 +0200, Sylvain Rochet wrote : > watchdog_init_timeout function doesn't try to get the "timeout-sec" DT > property if timeout_parm is not zero. This change makes this DT property > working for the

RE: bisected: Re: 4.3.0-rc3-00042: ACPI Warning: AcpiEnable failed

2015-10-12 Thread Zheng, Lv
Hi, Rafael The bug has been fixed. The root cause is the previous commit doesn't cover a hidden logic: acpi_enable() should rely on the existence of FADT while currently it relies on the number of loaded tables. The fix that removes the hidden logic is an ACPICA commit. Shall we wait until it

[RFC] fixmap: change temp variable name

2015-10-12 Thread yalin wang
Change temp variable name addr to addr, so that not conflict with the caller's variable name, it will build error if call like this: __set_fixmap_offset(idx, addr, flags) Signed-off-by: yalin wang --- include/asm-generic/fixmap.h | 6 +++--- 1 file changed, 3

RE: [PATCH 6/6] watchdog: sama5d4: try to set timeout from device tree first

2015-10-12 Thread Yang, Wenyou
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2015年10月12日 15:50 > To: Sylvain Rochet > Cc: Guenter Roeck; Boris BREZILLON; linux-kernel@vger.kernel.org; Ferre, > Nicolas; Desroches, Ludovic; linux-arm-ker...@lists.infradead.org;

Re: [PATCH v2 1/1] x86/early_printk: Use __iomem address space for IO

2015-10-12 Thread Andy Shevchenko
On Sun, 2015-10-11 at 21:18 +0200, Thomas Gleixner wrote: > Andy, > > On Fri, 9 Oct 2015, Andy Shevchenko wrote: > > #ifdef CONFIG_PCI > > static void mem32_serial_out(unsigned long addr, int offset, int > value) > > { > > - u32 *vaddr = (u32 *)addr; > > + void __iomem *vaddr = (void

Re: [Linaro-acpi] [PATCH v5 0/5] Provide better MADT subtable sanity checks

2015-10-12 Thread Hanjun Guo
On 10/12/2015 11:58 AM, Pat Erley wrote: On 10/11/2015 08:49 PM, Hanjun Guo wrote: On 10/12/2015 11:08 AM, Pat Erley wrote: On 10/05/2015 10:12 AM, Al Stone wrote: On 10/05/2015 07:39 AM, Rafael J. Wysocki wrote: On Wednesday, September 30, 2015 10:10:16 AM Al Stone wrote: On 09/30/2015

[PATCH v2 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range

2015-10-12 Thread Gerlando Falauto
When configuring the MDIO subsystem it is also necessary to configure the TBI register. Make sure the TBI is contained within the mapped register range in order to: a) make sure the address is computed correctly b) make users aware that we're actually accessing that register In case of error,

[PATCH v2 2/2] net/fsl_pq_mdio: fix computed address for the TBI register

2015-10-12 Thread Gerlando Falauto
commit afae5ad78b342f401c28b0bb1adb3cd494cb125a "net/fsl_pq_mdio: streamline probing of MDIO nodes" added support for different types of MDIO devices: 1) Gianfar MDIO nodes that only map the MII registers 2) Gianfar MDIO nodes that map the full MDIO register set 3) eTSEC2 MDIO nodes (which map

[tip:timers/core] timers, kselftest: Add 'adjtick' test to validate adjtimex() tick adjustments

2015-10-12 Thread tip-bot for John Stultz
Commit-ID: 6035519fcf5aa17084b41790cdc584d881d82c03 Gitweb: http://git.kernel.org/tip/6035519fcf5aa17084b41790cdc584d881d82c03 Author: John Stultz AuthorDate: Mon, 5 Oct 2015 18:16:57 -0700 Committer: Ingo Molnar CommitDate: Mon, 12 Oct 2015

Re: [PATCH] arm: dts: Fix audio card detection on peach boards

2015-10-12 Thread Krzysztof Kozlowski
On 12.10.2015 15:26, Alim Akhtar wrote: > Since the merge of 2fad972 ("ARM: dts: Add mclk entry for Peach boards"), Please switch to longer SHA abbreviation: $ git config core.abbrev 12 > sound card detection is broken on peach boards and gives below errors: > > [3.630457] max98090 7-0010:

Re: v4.3-rc4: i915: ThinkPad Yoga 12: *ERROR* The master control interrupt lied (SDE)!

2015-10-12 Thread Jani Nikula
On Sat, 10 Oct 2015, Darren Hart wrote: > The Debian 3.16.0 kernel does not emit the error, but I have not attempted a > bisection. > > The warning was added by: > 38cc46d drm/i915/bdw: Ack interrupts before handling them (GEN8) > 2014-06-18 (1 year, 4 months ago), Oscar

Re: [PATCH 3/5] ARM: shmobile: R-Mobile: add missing of_node_put

2015-10-12 Thread Thomas Petazzoni
Dear Geert Uytterhoeven, On Mon, 12 Oct 2015 09:18:52 +0200, Geert Uytterhoeven wrote: > > pd = kzalloc(sizeof(*pd), GFP_KERNEL); > > - if (!pd) > > + if (!pd) { > > + of_node_put(np); > > return -ENOMEM; >

RE: [PATCH] rtc: at91rm9200: clear RTC alarm status flag prior to suspending

2015-10-12 Thread Yang, Wenyou
Hi Alexandre, > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2015年10月12日 14:53 > To: Yang, Wenyou > Cc: Alessandro Zummo; Ferre, Nicolas; Desroches, Ludovic; rtc- > li...@googlegroups.com; linux-kernel@vger.kernel.org; linux-arm- >

[PATCH] linux/compiler.h: fix stale comment on {READ,WRITE}_ONCE

2015-10-12 Thread Rasmus Villemoes
Commit 7bd3e239d6c6 ("locking: Remove atomicy checks from {READ,WRITE}_ONCE") removed said warning. Signed-off-by: Rasmus Villemoes --- include/linux/compiler.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/compiler.h

Re: [LKP] [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Fengguang Wu
On Mon, Oct 12, 2015 at 03:51:04PM +0800, Fengguang Wu wrote: > On Mon, Oct 12, 2015 at 09:33:55AM +0200, Ingo Molnar wrote: > > > > * kernel test robot wrote: > > > > > FYI, we noticed the below changes on > > > > > > git://internal_mailing_list_patch_tree > > >

Re: [RFC] mm: fix a BUG, the page is allocated 2 times

2015-10-12 Thread yalin wang
> On Oct 12, 2015, at 15:38, Vlastimil Babka wrote: > > On 10/12/2015 04:40 AM, yalin wang wrote: >> Remove unlikely(order), because we are sure order is not zero if >> code reach here, also add if (page == NULL), only allocate page again if >> __rmqueue_smallest() failed or

[PATCH] spi: ti-qspi: Fix data corruption seen on r/w stress test

2015-10-12 Thread Vignesh R
Writing invalid command to QSPI_SPI_CMD_REG will terminate current transfer and de-assert the chip select. This has to be done before calling spi_finalize_current_message(). Because spi_finalize_current_message() will mark the end of current message transfer and schedule the next transfer. If the

Re: [LKP] [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Ingo Molnar
* Huang, Ying wrote: > Ingo Molnar writes: > > > * kernel test robot wrote: > > > >> FYI, we noticed the below changes on > >> > >> git://internal_mailing_list_patch_tree > >>

Re: [RFC] arm: add __initbss section attribute

2015-10-12 Thread Ard Biesheuvel
On 12 October 2015 at 05:59, yalin wang wrote: > This attribute can make init data to be into .initbss section, > this will make the data to be NO_BITS in vmlinux, can shrink the > Image file size, and speed up the boot up time. > > Signed-off-by: yalin wang

[PATCH 3/3] ARM: dts: stm32f429: Adopt STM32 RNG driver

2015-10-12 Thread Daniel Thompson
New bindings and driver have been created for STM32 series parts. This patch integrates this changes. Signed-off-by: Daniel Thompson Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stm32f429.dtsi | 7 +++ 1 file changed, 7

Re: [PATCH v2 5/5] mfd: arizona: Update DT binding document for jack detection invert

2015-10-12 Thread Charles Keepax
On Mon, Oct 05, 2015 at 11:01:05AM +0100, Lee Jones wrote: > On Fri, 02 Oct 2015, Charles Keepax wrote: > > > Add additional binding for inverting the polarity of the detection on > > the jack detection pins. > > > > Signed-off-by: Charles Keepax > > --- > >

Re: [LKP] [lkp] [string] 5f6f0801f5: BUG: KASan: out of bounds access in strlcpy+0xc8/0x250 at addr ffff88011a666ee0

2015-10-12 Thread Fengguang Wu
On Mon, Oct 12, 2015 at 10:17:14AM +0200, Ingo Molnar wrote: > > * Fengguang Wu wrote: > > > On Mon, Oct 12, 2015 at 03:51:04PM +0800, Fengguang Wu wrote: > > > On Mon, Oct 12, 2015 at 09:33:55AM +0200, Ingo Molnar wrote: > > > > > > > > * kernel test robot

[PATCH v2] rtc: at91rm9200: clear RTC alarm status flag prior to suspending

2015-10-12 Thread Wenyou Yang
As said in the SAMA5D2 datasheet, "Prior to instructing the device to enter ULP mode 1, ... and the internal sources of wake-up must be cleared." This patch is to clear the RTC alarm status flag prior to suspending to avoid the erroneous wake-up activity, as it is often used as the wake-up source

[PATCH 5/6] x86/microcode/amd: Extract current patch level read to a function

2015-10-12 Thread Borislav Petkov
From: Borislav Petkov Pave the way for checking the current patch level of the microcode in a core. We want to be able to do stuff depending on the patch level - in this case decide whether to update or not. But that will be added in a later patch. Drop unused local var uci

[PATCH 6/6] x86/microcode/amd: Do not overwrite final patch levels

2015-10-12 Thread Borislav Petkov
From: Borislav Petkov A certain number of patch levels of applied microcode should not be overwritten by the microcode loader, otherwise bad things will happen. Check those and abort update if the current core has one of those final patch levels applied by the BIOS. 32-bit needs

[PATCH 3/6] x86/ras/mce_amd_inj: Trigger deferred and thresholding errors interrupts

2015-10-12 Thread Borislav Petkov
From: Aravind Gopalakrishnan Add the capability to trigger deferred error interrupts and threshold interrupts in order to test the APIC interrupt handler functionality for these type of errors. Update README section about the same too. Signed-off-by: Aravind

[PATCH 1/6] x86/mce: Don't clear shared banks on Intel when offlining CPUs

2015-10-12 Thread Borislav Petkov
From: Ashok Raj It is not safe to clear global MCi_CTL banks during CPU offline or suspend/resume operations. These MSRs are either thread-scoped (meaning private to a thread), or core-scoped (private to threads in that core only), or with a socket scope: visible and

[RFC v2 0/9] Additional kmsg devices

2015-10-12 Thread Paul Osmialowski
Dear All, This is the second iteration of Marcin Niesluchowski's serie of patches extending kmsg interface with ability to dynamically create (and destroy) kmsg-like devices which can be used by userspace for logging. Some changes were introduced in this iteration: - all occurences of '#ifdef

[RFC v2 7/9] kmsg: add ioctl for adding and deleting kmsg* devices

2015-10-12 Thread Paul Osmialowski
From: Marcin Niesluchowski There is no possibility to add/delete kmsg* buffers from userspace. Adds following ioctl for main kmsg device adding and deleting additional kmsg devices: * KMSG_CMD_BUFFER_ADD * KMSG_CMD_BUFFER_DEL Signed-off-by: Marcin Niesluchowski

[RFC v2 2/9] printk: add one function for storing log in proper format

2015-10-12 Thread Paul Osmialowski
From: Marcin Niesluchowski Preparation commit for future changes purpose. Separate code responsible for storing log message in proper format from operations on consoles by putting it in another function. Signed-off-by: Marcin Niesluchowski

[RFC v2 6/9] kmsg: add predefined _PID, _TID, _COMM keywords to kmsg* log dict

2015-10-12 Thread Paul Osmialowski
From: Marcin Niesluchowski kmsg* devices write operation wrote no dict along with message Due to usage of kmsg devices in userspace dict has been added identifying pid, tid and comm of writing process. Signed-off-by: Marcin Niesluchowski ---

[RFC v2 1/9] printk: move code regarding log message storing format

2015-10-12 Thread Paul Osmialowski
From: Marcin Niesluchowski Preparation commit for future changes purpose. Moves some code responsible for storing log messages in proper format. Signed-off-by: Marcin Niesluchowski --- kernel/printk/printk.c | 254

Re: [PATCH] md: fix 32-bit build warning

2015-10-12 Thread Arnd Bergmann
On Monday 12 October 2015 15:59:27 Neil Brown wrote: > > diff --git a/drivers/md/md.c b/drivers/md/md.c > > index 7fff1e6884d6..e13f72a3b561 100644 > > --- a/drivers/md/md.c > > +++ b/drivers/md/md.c > > @@ -8987,9 +8987,9 @@ static void check_sb_changes(struct mddev *mddev, > > struct md_rdev

Re: [PATCH 1/3] doc: dt: fpga: Added Documentation for Xilinx Zynq FPGA manager.

2015-10-12 Thread Michal Simek
On 10/09/2015 06:04 PM, Josh Cartwright wrote: > On Fri, Oct 09, 2015 at 12:45:05AM +0200, Moritz Fischer wrote: >> Signed-off-by: Moritz Fischer >> --- >> .../bindings/fpga/xilinx-zynq-fpga-mgr.txt | 26 >> ++ >> 1 file changed, 26

Re: H264 headers generation for driver

2015-10-12 Thread Hans Verkuil
On 09/29/2015 08:59 PM, Andrey Utkin wrote: > This is a new chapter of tw5864 video grabber & encoder driver > development drama. > Last state of code is here (tw5864 branch, drivers/staging/media/tw5864): > https://github.com/bluecherrydvr/linux/tree/tw5864/drivers/staging/media/tw5864 > >

Re: [PATCH v3 1/4] usb: gadget: f_midi: free usb request when done

2015-10-12 Thread Felipe Tonello
Hi Balbi, On Sun, Oct 11, 2015 at 8:08 PM, Clemens Ladisch wrote: > Felipe Balbi wrote: >> Clemens Ladisch writes: >>> Felipe Tonello wrote: req->actual == req->length means that there is no data left to enqueue, >>> >>> This condition is not checked

Re: [PATCH v2 4/5] mfd: arizona: Update DT binding documentation for mic detection

2015-10-12 Thread Chanwoo Choi
On 2015년 10월 12일 19:16, Chanwoo Choi wrote: > Hi Charles, > > On 2015년 10월 12일 17:45, Charles Keepax wrote: >> On Wed, Oct 07, 2015 at 01:26:42PM +0100, Lee Jones wrote: >>> On Wed, 07 Oct 2015, Mark Brown wrote: >>> On Fri, Oct 02, 2015 at 05:29:22PM +0100, Charles Keepax wrote: > Add

Re: 4.3 group scheduling regression

2015-10-12 Thread Mike Galbraith
On Mon, 2015-10-12 at 10:12 +0800, Yuyang Du wrote: > I am guessing it is in calc_tg_weight(), and naughty boys do make them more > favored, what a reality... > > Mike, beg you test the following? Wow, that was quick. Dinky patch made it all better.

[PATCH v2 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()

2015-10-12 Thread Markos Chandras
From: Alex Smith Add user-mode implementations of gettimeofday() and clock_gettime() to the VDSO. This is currently usable with 2 clocksources: the CP0 count register, which is accessible to user-mode via RDHWR on R2 and later cores, or the MIPS Global Interrupt Controller

Re: [PATCH 1/2] i2c: scan entire ACPI namespace for I2C connections

2015-10-12 Thread Mika Westerberg
On Fri, Oct 09, 2015 at 05:41:46PM -0700, Dustin Byford wrote: > An I2cSerialBus connection resource descriptor may indicate a > ResourceSource (a string uniquely identifying the I2C bus controller) > anywhere in the ACPI namespace. However, when enumerating connections to a > I2C bus controller,

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 12 October 2015 at 11:14, Krzysztof Kozlowski wrote: > On 12.10.2015 00:46, Anand Moon wrote: >> Added support for UHS-I bus speed 50MB/s (SDR50, DDR50) 104MB/s (SDR104) > > This description is not entirely correct. The MMC driver already > supports

[PATCH v2 0/5] intel_scu_ipc: bug fixes and amendments

2015-10-12 Thread Andy Shevchenko
There are couple of bugfixes (patches 1 & 5) and amendments to the driver. Patch series has been tested on Intel Medfield and Intel Edison (Merrifield) boards. Changes v2: - improve patch 4 commit message (suggested by Darren) - leave only fix of a potential bug in patch 5 Andy Shevchenko (5):

[PATCH v2 4/5] intel_scu_ipc: switch to use module_pci_driver() macro

2015-10-12 Thread Andy Shevchenko
Eliminate some boilerplate code by using module_pci_driver() instead of init/exit, moving the salient bits from init into probe. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/intel_scu_ipc.c | 23 ++- 1 file changed, 6

[PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings

2015-10-12 Thread Daniel Thompson
This adds documentation of device tree bindings for the STM32 hardware random number generator. Signed-off-by: Daniel Thompson Acked-by: Maxime Coquelin Acked-by: Rob Herring ---

Re: [PATCH 2/2] i2c: designware: enable High-speed mode for pcidrv

2015-10-12 Thread Andy Shevchenko
On Mon, 2015-10-12 at 15:41 +0800, Xiang Wang wrote: > Hi, Andy > Thanks for your comments. > > [Andy] Don't see a relationship between PCI driver and this ACPI > stuff. > Although this is a pci driver, we may enumerate the i2c devices from > DSDT table while i2c controllers are enumerated via

  1   2   3   4   5   6   7   8   9   10   >