[PATCH v4 36/79] include/uapi/asm-generic/signal.h: use __kernel_size_t instead of size_t

2015-10-14 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 9df61f1..0a7c415

[PATCH v4 04/79] drm_mode.h: use __u32 and __u64 from linux/types.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm_mode.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/uapi/drm/drm_mode.h

[PATCH v4 22/79] cld.h: use __u8, __u16, __s16, __u32 and __s64 from linux/types.h

2015-10-14 Thread Mikko Rapeli
Fixes userspace compilation errors like: linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/nfsd/cld.h | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/include/uapi/linux/nfsd/cld.h

[PATCH v4 02/79] scripts/headers_compile_test.sh: compile test script for exported headers

2015-10-14 Thread Mikko Rapeli
Users of kernel header files would be happier if they did not contain kernel specific parts and would contain #include statements for all other header files that they depend on, and in general would compile. For each header file exported to userspace, this script creates a simple .c file which

[PATCH v4 03/79] drm.h: use __kernel_size_t instead of size_t

2015-10-14 Thread Mikko Rapeli
Fall back to size_t for non Linux platforms. Fixes userspace compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/uapi/drm/drm.h

[PATCH v4 01/79] headers_install.sh: enhance error handling

2015-10-14 Thread Mikko Rapeli
Exit with error if using undefined variables or if any sub command fails with error return value. unidef needs special handling since but this can be done without the trap. Enables exaniming intermediate files if some commands failed. Signed-off-by: Mikko Rapeli --- scripts/headers_install.sh |

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-14 Thread Richard Cochran
On Wed, Oct 14, 2015 at 06:57:33PM -0700, Christopher Hall wrote: > >>+#define SHADOW_HISTORY_DEPTH 7 > > > >And that number is 7 because? > > Due to power of 2 it will be 8 instead. As above the useful history is 8-2*1 > ms (1 ms is the minimum jiffy length). Array size 4 would not be enough >

[PATCH v4 00/79] Userspace compile test and fixes for exported uapi header files

2015-10-14 Thread Mikko Rapeli
v4: tried to fix v03 review findings tried to fix all hack patches v3: https://lkml.org/lkml/2015/5/30/96 tried to fix all v2 review findings tried to guess how to fix a few more issue with a few hacks, 0 files fail and 760 files pass the compile test on 32bit x86 v2:

[PATCH v2] powerpc/mpc5xxx: Avoid dereferencing potentially freed memory

2015-10-14 Thread Christophe JAILLET
Use 'of_property_read_u32()' instead of 'of_get_property()'+pointer dereference in order to avoid access to potentially freed memory. Use 'of_get_next_parent()' to simplify the while() loop and avoid the need of a temp variable. Signed-off-by: Christophe JAILLET --- v2: Use of_property_read_u32

Re: [PATCH v2] ARM: fix vdsomunge not to depend on glibc specific byteswap.h

2015-10-14 Thread H. Nikolaus Schaller
Am 14.10.2015 um 16:16 schrieb Nathan Lynch : > On 10/14/2015 07:47 AM, H. Nikolaus Schaller wrote: >>> diff --git a/arch/arm/vdso/vdsomunge.c b/arch/arm/vdso/vdsomunge.c >>> index aedec81..27a9a0b 100644 >>> --- a/arch/arm/vdso/vdsomunge.c >>> +++ b/arch/arm/vdso/vdsomunge.c >>> @@ -45,7 +45,18

[PATCH v3] ARM: fix vdsomunge not to depend on glibc specific byteswap.h

2015-10-14 Thread H. Nikolaus Schaller
If the host toolchain is not glibc based then the arm kernel build fails with HOSTCC arch/arm/vdso/vdsomunge arch/arm/vdso/vdsomunge.c:48:22: fatal error: byteswap.h: No such file or directory Observed: with omap2plus_defconfig and compile on Mac OS X with arm ELF cross-compiler. Reason:

Re: [PATCHv4 1/1] SCSI: hosts: update to use ida_simple for host_no management

2015-10-14 Thread Hannes Reinecke
On 10/14/2015 08:53 PM, James Bottomley wrote: > On Wed, 2015-10-14 at 11:34 -0700, Lee Duncan wrote: >> On 10/14/2015 06:55 AM, James Bottomley wrote: >>> On Wed, 2015-10-07 at 16:51 -0700, Lee Duncan wrote: Update the SCSI hosts module to use the ida_simple*() routines to manage its

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

2015-10-14 Thread Xiang Wang
2015-10-12 16:31 GMT+08:00 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 >>

Re: [PATCH v2 7/7] Smack: Handle labels consistently in untrusted mounts

2015-10-14 Thread Casey Schaufler
On 10/13/2015 10:04 AM, Seth Forshee wrote: > The SMACK64, SMACK64EXEC, and SMACK64MMAP labels are all handled > differently in untrusted mounts. This is confusing and > potentically problematic. Change this to handle them all the same > way that SMACK64 is currently handled; that is, read the

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-14 Thread Richard Cochran
On Wed, Oct 14, 2015 at 07:34:03PM -0700, Christopher Hall wrote: > I hope this is helpful. Thanks. So the DSP does not produce or consume system time stamps. Fine. Still I fail to understand why you need the system time. Thomas seems to say that there are *other* applications that will want to

Re: [PATCH 15/19] KVM: PPC: e500: fix handling local_sid_lookup result

2015-10-14 Thread Paul Mackerras
On Thu, Sep 24, 2015 at 04:00:23PM +0200, Andrzej Hajda wrote: > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107

Re: [PATCH 16/31] perf tools: Add prologue for BPF programs for fetching arguments

2015-10-14 Thread Namhyung Kim
On Wed, Oct 14, 2015 at 12:41:27PM +, Wang Nan wrote: > From: He Kuang > > This patch generates prologue for a BPF program which fetch arguments > for it. With this patch, the program can have arguments as follow: > > SEC("lock_page=__lock_page page->flags") > int lock_page(struct pt_regs

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

2015-10-14 Thread Darren Hart
On Mon, Oct 12, 2015 at 10:02:06AM +0300, Jani Nikula wrote: > 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

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Boqun Feng
On Wed, Oct 14, 2015 at 08:07:05PM -0700, Paul E. McKenney wrote: > On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: [snip] > > > > I'm afraid more than that, the above litmus also shows that > > > > CPU 0 CPU 1 > > -

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

2015-10-14 Thread Darren Hart
On Mon, Oct 12, 2015 at 02:19:43PM +0300, Andy Shevchenko wrote: > 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

[PATCH] mm: Introduce kernelcore=reliable option

2015-10-14 Thread Taku Izumi
Xeon E7 v3 based systems supports Address Range Mirroring and UEFI BIOS complied with UEFI spec 2.5 can notify which ranges are reliable (mirrored) via EFI memory map. Now Linux kernel utilize its information and allocates boot time memory from reliable region. My requirement is: - allocate

Re: [PATCH] arm, omap2, sram: On HS/EMU devices, only 64K internal SRAM is available.

2015-10-14 Thread Heiko Schocher
Hello Tony, Am 15.10.2015 um 00:20 schrieb Tony Lindgren: * Tony Lindgren [151014 10:56]: * Heiko Schocher [151012 22:58]: Of this, secure content (including PPA) uses initial portion of the SRAM. This chunk is not (and shouldn't be) accessible from the public code. The minimum size of

[PATCH] [trivial] treewide: Fix typo in printk

2015-10-14 Thread Masanari Iida
This patch fix multiple spelling typos found in various part of kernel. Signed-off-by: Masanari Iida --- drivers/firmware/efi/libstub/fdt.c | 2 +- drivers/infiniband/hw/cxgb4/cm.c | 2 +- drivers/md/raid0.c | 4 ++--

[PATCH net-next] net: hisilicon: fixes a bug when using ethtool -S

2015-10-14 Thread yankejian
From: lipeng this patch fixes a bug in hns driver. when we want to get statistic info by using ethtool -S, it shows us there are 3 wrong counters info. because the strings related to the registers are wrong. it needs to modify the strings which give us wrong info. Signed-off-by: lipeng

Re: [PATCH] watchdog: Add sysctl knob hardlockup_panic

2015-10-14 Thread kbuild test robot
Hi Don, [auto build test ERROR on next-20151013 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Don-Zickus/watchdog-Add-sysctl-knob-hardlockup_panic/20151015-104506 config: sparc64-defconfig (attached as

Re: [PATCH v4 2/2] arm64: Expand the stack trace feature to support IRQ stack

2015-10-14 Thread AKASHI Takahiro
Jungseok, On 10/14/2015 09:55 PM, Jungseok Lee wrote: On Oct 14, 2015, at 9:24 PM, Jungseok Lee wrote: On Oct 14, 2015, at 4:13 PM, AKASHI Takahiro wrote: On 10/09/2015 11:24 PM, James Morse wrote: Hi Jungseok, On 07/10/15 16:28, Jungseok Lee wrote: Currently, a call trace drops a process

Re: [PATCH v6 01/10] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2015-10-14 Thread Vinod Koul
On Thu, Oct 15, 2015 at 09:35:12AM +0800, Shawn Lin wrote: > From: Boojin Kim > Please fix the subsystem name in this series. Its dmaengine:... Git log should tell you the acceptable style for a subsystem -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH v2 2/4] dmaengine: Add STM32 DMA driver

2015-10-14 Thread Vinod Koul
On Wed, Oct 14, 2015 at 05:41:26PM +0200, M'boumba Cedric Madianga wrote: > 2015-10-14 17:28 GMT+02:00 Daniel Thompson : > > On 14/10/15 16:26, M'boumba Cedric Madianga wrote: > >> > >> 2015-10-14 16:24 GMT+02:00 Daniel Thompson : > >>> > >>> > >>> Hmnnn... > >>> > >>> The dmaengine framework will

Re: [PATCH v6 09/10] snd: dmaengine-pcm: add snd_dmaengine_pcm_get_caps interface

2015-10-14 Thread Vinod Koul
On Thu, Oct 15, 2015 at 09:36:38AM +0800, Shawn Lin wrote: > +int snd_dmaengine_pcm_get_caps(struct device *dev, struct dma_slave_caps > *caps) > +{ > + struct snd_soc_platform *platform; > + struct dmaengine_pcm *pcm; > + int ret = -ENODEV; > + > + platform =

Re: [PATCH] arm, omap2, sram: On HS/EMU devices, only 64K internal SRAM is available.

2015-10-14 Thread Heiko Schocher
Hello Tony, Am 14.10.2015 um 19:49 schrieb Tony Lindgren: * Heiko Schocher [151012 22:58]: Of this, secure content (including PPA) uses initial portion of the SRAM. This chunk is not (and shouldn't be) accessible from the public code. The minimum size of this chunk (0x350) is used in this

Re: [PATCH 02/13] dmaengine: edma: Optimize memcpy operation

2015-10-14 Thread Vinod Koul
On Wed, Oct 14, 2015 at 06:02:18PM +0300, Peter Ujfalusi wrote: > On 10/14/2015 05:41 PM, Vinod Koul wrote: > > On Wed, Oct 14, 2015 at 04:12:13PM +0300, Peter Ujfalusi wrote: > >> @@ -1320,41 +1317,92 @@ static struct dma_async_tx_descriptor > >> *edma_prep_dma_memcpy( > >>struct dma_chan

Re: [PATCH] zsmalloc: don't test shrinker_enabled in zs_shrinker_count()

2015-10-14 Thread Sergey Senozhatsky
On (10/15/15 11:29), Minchan Kim wrote: [..] > I'm in favor of removing shrinker disable feature with this patch( > although we didn't implement it yet) because if there is some problem > of compaction, we should reveal and fix it without hiding with the > feature. > sure. > One thing I want is

Re: linux-next: build failure after merge of the slave-dma tree

2015-10-14 Thread Stephen Rothwell
Hi Vinod, On Thu, 15 Oct 2015 03:35:42 + "Koul, Vinod" wrote: > > So should I ask Linus to apply this fix once merge window opens or you will > send > this, how do we go about fixing this one :) > > Or should I merge the above commit from asm-generic tree? Up to you. Though you should

[PATCH 1/2] ARM: at91/pm: move enter sleep code to a procedure

2015-10-14 Thread Wenyou Yang
To make the code more legible and to prepare for the ULP1 support in the future, move the Master clock, PLLA, MOR handling code and the sleep code to a separate procedure. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm_suspend.S | 132 --- 1 file

[PATCH 0/2] ARM: at91/pm: add ULP1 support

2015-10-14 Thread Wenyou Yang
This patch series is to add the ultra Low-power mode 1(ULP1) mode support. The ULP1 mode is introduced by SAMA5D2. In ULP1 mode, the system can achieve the lowest power consumption, and it can be woken up more quickly, about 30uS. Wenyou Yang (2): ARM: at91/pm: move enter sleep code to a

Re[4]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1

2015-10-14 Thread shrybman
> Donald, Shane, > Thanks for reporting this. Sure! Thanks for looking into it. > You have similar hardware: > > Shane: > > smpboot: CPU0: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz (fam: 06, > model: 0f, stepping: 06) > > Donald: > > CPU : Intel Core 2 CPU 6600 @ 2.4GHz > > I think I

[PATCH 2/2] ARM: at91/pm: add ultra Low-power mode 1(ULP1) support

2015-10-14 Thread Wenyou Yang
The Ultra Low-power mode 1(ULP1) is introduced by SAMA5D2. In the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator, so as to achieve the lowest power consumption with the system in retention mode and able to resume on the wake up events. As soon as the wake up

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

2015-10-14 Thread kbuild test robot
Hi Stephen, [auto build test ERROR on next-20151013 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Stephen-Rothwell/linux-next-build-failure-after-merge-of-the-mfd-tree/20151015-102814 config:

Re: linux-next: build failure after merge of the slave-dma tree

2015-10-14 Thread Koul, Vinod
On Thu, 2015-10-15 at 11:51 +1100, Stephen Rothwell wrote: > Hi Vinod, > > After merging the slave-dma tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/dma/idma64.h:19:47: fatal error: asm-generic/io-64-nonatomic-lo-hi.h: > No > such file or directory >

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 11:11:01AM +0800, Boqun Feng wrote: > Hi Paul, > > On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > [snip] > > > To that end, the herd tool can make a diagram of what it thought > > >

Re: [PATCH v2] block: flush queued bios when the process blocks

2015-10-14 Thread Ming Lei
On Sat, Oct 10, 2015 at 3:52 AM, Mike Snitzer wrote: > On Thu, Oct 08 2015 at 11:08am -0400, > Mike Snitzer wrote: > >> On Thu, Oct 08 2015 at 11:04am -0400, >> Mikulas Patocka wrote: >> >> > >> > >> > On Tue, 6 Oct 2015, Mike Snitzer wrote: >> > >> > > To give others context for why I'm caring

Re: [RFC, 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-10-14 Thread Michael Ellerman
On Wed, 2015-10-14 at 09:54 -0700, Olof Johansson wrote: > On Tue, Oct 13, 2015 at 4:43 PM, Michael Ellerman wrote: > > On Tue, 2015-10-13 at 14:02 -0700, Olof Johansson wrote: > >> On Fri, Oct 2, 2015 at 12:47 AM, Michael Ellerman > >> wrote: > >> > On Wed, 2015-23-09 at 05:40:34 UTC, Michael

Re: [PATCH 3.16.y-ckt 053/133] ARM: orion5x: fix legacy orion5x IRQ numbers

2015-10-14 Thread Ben Hutchings
On Wed, 2015-09-30 at 10:50 +0100, Luis Henriques wrote: > 3.16.7-ckt18 -stable review patch.  If anyone has any objections, please let > me know. > > -- > > From: Benjamin Cama > > commit 5be9fc23cdb42e1d383ecc8eae8a8ff70a752708 upstream. > > Since v3.18, attempts to deliver

Re: [PATCH] selftests: memfd_test: Revised STACK_SIZE to make it 16-byte aligned

2015-10-14 Thread Chunyan Zhang
Hello Shuah, Can this patch be allowed to merge into next realse? Thanks, Chunyan On Thu, Oct 1, 2015 at 3:33 PM, Chunyan Zhang wrote: > There is a mandate of 16-byte aligned stack on AArch64 [1], so the > STACK_SIZE here should also be 16-byte aligned, otherwise we would > get an error when

Re: [PATCH v6 10/10] ASoC: rockchip_i2s: modify DMA max burst to 1

2015-10-14 Thread kbuild test robot
Hi Yiwei, [auto build test ERROR on rockchip/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Shawn-Lin/Fix-broken-DMAFLUSHP-on-Rockchips-platform/20151015-094613 config: x86_64-allmodconfig

Re: [PATCH v4 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-14 Thread Alim Akhtar
+CCing kishon Vijay, On 10/14/2015 06:25 PM, Alim Akhtar wrote: From: Seungwon Jeon This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernation/unhibernation. Signed-off-by: Seungwon Jeon

Re: [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging

2015-10-14 Thread Guenter Roeck
On 10/14/2015 07:52 PM, Andrew Lunn wrote: On Wed, Oct 14, 2015 at 09:28:55PM -0400, Vivien Didelot wrote: On Oct. Thursday 15 (42) 12:46 AM, Andrew Lunn wrote: On Sun, Oct 11, 2015 at 06:08:34PM -0400, Vivien Didelot wrote: DSA and its drivers currently hook the NETDEV_CHANGEUPPER net_device

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Boqun Feng
Hi Paul, On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: [snip] > > To that end, the herd tool can make a diagram of what it thought > > happened, and I have attached it. I used this diagram to try and force > > this

Re: [alsa-devel] [PATCH v6 09/10] snd: dmaengine-pcm: add snd_dmaengine_pcm_get_caps interface

2015-10-14 Thread kbuild test robot
Hi Shawn, [auto build test WARNING on rockchip/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Shawn-Lin/Fix-broken-DMAFLUSHP-on-Rockchips-platform/20151015-094613 reproduce: make htmldocs All

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 09:22:26AM +0800, Boqun Feng wrote: > On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > > > On Wed, Oct 14, 2015 at 11:04:19PM +0200, Peter Zijlstra wrote: > > > > On Wed, Oct 14, 2015 at

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > > On Wed, Oct 14, 2015 at 11:04:19PM +0200, Peter Zijlstra wrote: > > > On Wed, Oct 14, 2015 at 01:19:17PM -0700, Paul E. McKenney wrote: > > > > Suppose we have

linux-next: manual merge of the tip tree with the arm64 tree

2015-10-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: Documentation/arm/uefi.txt between commit: d4dddfdbbc75 ("arm64/efi: remove /chosen/linux, uefi-stub-kern-ver DT property") from the arm64 tree and commit: c9494dc81875 ("arm64: Use core efi=debug instead of

Re: [PATCH v2] scsi: kconfig: When possible, compile drivers with COMPILE_TEST

2015-10-14 Thread kbuild test robot
Hi Luis, [auto build test WARNING on scsi/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Luis-de-Bethencourt/scsi-kconfig-When-possible-compile-drivers-with-COMPILE_TEST/20151015-073819 config:

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

2015-10-14 Thread Stephen Rothwell
Hi David, On Mon, 12 Oct 2015 18:32:57 +1100 Stephen Rothwell wrote: > > 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:

Re: [PATCH v2 1/3] unix: fix use-after-free in unix_dgram_poll()

2015-10-14 Thread Jason Baron
> > X-Signed-Off-By: Rainer Weikusat > Hi, So the patches I've posted and yours both use the idea of a relaying the remote peer wakeup via callbacks that are internal to the net/unix, such that we avoid exposing the remote peer wakeup to the external poll()/select()/epoll(). They differ

Re: [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging

2015-10-14 Thread Andrew Lunn
On Wed, Oct 14, 2015 at 09:28:55PM -0400, Vivien Didelot wrote: > On Oct. Thursday 15 (42) 12:46 AM, Andrew Lunn wrote: > > On Sun, Oct 11, 2015 at 06:08:34PM -0400, Vivien Didelot wrote: > > > DSA and its drivers currently hook the NETDEV_CHANGEUPPER net_device > > > event in > > > order to

RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1

2015-10-14 Thread Brown, Len
> > > Did you try reverting the "x86/smpboot: Remove > APIC.wait_for_init_deassert > > > and atomic init_deasserted" patch? > > > > Yes, please let me know if reverting that patch helps you too. > > How? Please send a patch or git cmd(s).I have the > git/stable/linux-stable.git on my

Re: [PATCH v4 3/4] Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping

2015-10-14 Thread Christopher Hall
On Tue, 13 Oct 2015 06:59:26 -0700, Richard Cochran wrote: On Mon, Oct 12, 2015 at 11:45:21AM -0700, Christopher S. Hall wrote: +struct ptp_sys_offset_precise { + unsigned int rsv[4];/* Reserved for future use. */ + struct ptp_clock_time dev; + struct ptp_clock_time

Re: [PATCH v4 8/8] zram: enable contextless compression alg in zram

2015-10-14 Thread Joonsoo Kim
On Thu, Oct 15, 2015 at 11:05:49AM +0900, Sergey Senozhatsky wrote: > On (10/14/15 16:38), Joonsoo Kim wrote: > [..] > > @@ -352,6 +352,7 @@ static ssize_t comp_algorithm_show(struct device *dev, > > size_t sz; > > struct zram *zram = dev_to_zram(dev); > > > > +

Re: [PATCH 3/4] mmc: mediatek: Add tune support

2015-10-14 Thread Chaotian Jing
On Wed, 2015-10-14 at 12:05 +0200, Ulf Hansson wrote: > On 13 October 2015 at 11:37, Chaotian Jing wrote: > > Add CMD19/CMD21 support for EMMC/SD/SDIO tuning > > Add HS400 mode support > > > > Signed-off-by: Chaotian Jing > > --- > > drivers/mmc/host/mtk-sd.c | 359 > >

RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1

2015-10-14 Thread Donald Parsons
On Thu, 2015-10-15 at 02:09 +, Brown, Len wrote: > Donald, Shane, > Thanks for reporting this. > > > > I also tried suggested /vmlinuz-4.3.0-rc3 parameter in grub: > > > "cpu_init_udelay=1" > > > which did not help getting missing CPU back online. > > right, if the issue is

Re: [PATCH v9 5/5] nvme: LightNVM support

2015-10-14 Thread kbuild test robot
Hi Matias, [auto build test WARNING on block/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Matias-Bj-rling/Support-for-Open-Channel-SSDs/20151014-224617 reproduce: # apt-get install

Re: linux-next: build failure after merge of the arm-soc tree

2015-10-14 Thread Jisheng Zhang
Dear all, On Thu, 15 Oct 2015 10:19:20 +1100 Stephen Rothwell wrote: > Hi all, > > After merging the arm-soc tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > arch/arm/boot/dts/berlin2q.dtsi:62.24-25 syntax error > FATAL ERROR: Unable to parse input tree I just

[PATCH] watchdog: Add sysctl knob hardlockup_panic

2015-10-14 Thread Don Zickus
The only way to enable a hardlockup to panic the machine is to set 'nmi_watchdog=panic' on the kernel command line. This makes it awkward for end users and folks who want to run automate tests (like myself). Mimic the softlockup_panic knob and create a /proc/sys/kernel/hardlockup_panic knob.

Re: [PATCH v2 7/9] mm/compaction: redesign compaction

2015-10-14 Thread Joonsoo Kim
On Wed, Oct 14, 2015 at 01:38:07PM +0200, Vlastimil Babka wrote: > On 08/24/2015 04:19 AM, Joonsoo Kim wrote: > > [...] > > > This patch solves these problems mentioned in above. > > Freepage scanner is largely changed to scan zone from zone_start_pfn > > to zone_end_pfn. And, by this change,

Re: linux-next: build failure after merge of the asm-generic tree

2015-10-14 Thread Stephen Rothwell
Hi, On Thu, 15 Oct 2015 07:32:27 +0800 kbuild test robot wrote: > > [auto build test ERROR on v4.3-rc5 -- if it's inappropriate base, please > suggest rules for selecting the more suitable base] I think you should just ignore any patches from me that have "linux-next:" in the subject line as

[PATCH] iommu/vt-d: Use cmpxchg16b to update posted format IRTE atomically

2015-10-14 Thread Feng Wu
If IRTE is in posted format, the 'pda' field goes across the 64-bit boundary, we need use cmpxchg16b to atomically update it. We only expose posted-interrupt when X86_FEATURE_CX16 is supported and use to update it atomically. Signed-off-by: Feng Wu --- drivers/iommu/intel_irq_remapping.c | 33

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-14 Thread Christopher Hall
Richard, On Tue, 13 Oct 2015 14:12:24 -0700, Richard Cochran wrote: On Tue, Oct 13, 2015 at 09:15:51PM +0200, Thomas Gleixner wrote: Can we at least have a explanation of how the firmware operates? How are (ART,sys) pairs are generated, and how they are supposed to get into the DSP?

Re: [PATCH] zsmalloc: don't test shrinker_enabled in zs_shrinker_count()

2015-10-14 Thread Minchan Kim
On Wed, Oct 14, 2015 at 10:57:59AM +0900, Sergey Senozhatsky wrote: > We don't let user to disable shrinker in zsmalloc (once > it's been enabled), so no need to check ->shrinker_enabled > in zs_shrinker_count(), at the moment at least. I'm in favor of removing shrinker disable feature with this

linux-next: build failure after merge of the mfd tree

2015-10-14 Thread Stephen Rothwell
Hi Lee, After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/mfd/intel-lpss.c:29:47: fatal error: asm-generic/io-64-nonatomic-lo-hi.h: No such file or directory #include ^ Caused by commit

Re: linux-next: manual merge of the mfd tree with the arm-soc tree

2015-10-14 Thread Krzysztof Kozlowski
2015-10-15 11:19 GMT+09:00 Stephen Rothwell : > Hi Lee, > > Today's linux-next merge of the mfd tree got a conflict in: > > Documentation/devicetree/bindings/mfd/s2mps11.txt > > between commit: > > 6a4479f96543 ("dt-bindings: Document grounded ACOKB pin on S2MPS11") > > from the arm-soc tree

Re: [PATCH] zsmalloc: use preempt.h for in_interrupt()

2015-10-14 Thread Minchan Kim
On Wed, Oct 14, 2015 at 10:13:20PM +0900, Sergey Senozhatsky wrote: > A cosmetic change. > > Commit c60369f01125 ("staging: zsmalloc: prevent mappping > in interrupt context") added in_interrupt() check to > zs_map_object() and 'hardirq.h' include; but in_interrupt() > macro is defined in

Re: [PATCH v4] extcon: Modify the id and name of external connector

2015-10-14 Thread Chanwoo Choi
Hi Roger, On 2015년 10월 14일 16:13, Roger Quadros wrote: > Chanwoo, > > On 08/10/15 12:24, Chanwoo Choi wrote: >> This patch modifies the id and name of external connector with the >> additional prefix to clarify both attribute and meaning of external >> connector as following: >> - EXTCON_CHG_*

Re: [PATCH V2 2/2] bpf: control a set of perf events by creating a new ioctl PERF_EVENT_IOC_SET_ENABLER

2015-10-14 Thread xiakaixu
于 2015/10/15 5:28, Alexei Starovoitov 写道: > On 10/14/15 5:37 AM, Kaixu Xia wrote: >> +event->p_sample_disable = _event->sample_disable; > > I don't like it as a concept and it's buggy implementation. > What happens here when enabler is alive, but other event is destroyed? > >> ---

linux-next: manual merge of the mfd tree with the arm-soc tree

2015-10-14 Thread Stephen Rothwell
Hi Lee, Today's linux-next merge of the mfd tree got a conflict in: Documentation/devicetree/bindings/mfd/s2mps11.txt between commit: 6a4479f96543 ("dt-bindings: Document grounded ACOKB pin on S2MPS11") from the arm-soc tree and commit: db96ec728d69 ("mfd: dt-bindings: Document pulled

Re: [PATCH] acpi: set return value to const char for some functions

2015-10-14 Thread Joe Perches
On Wed, 2015-10-14 at 20:53 +, Moore, Robert wrote: > In ACPICA, we tend to be very careful concerning the "const" keyword in order > to avoid a phenomenon known as "const pollution". > > That is not to say that we won't use const in some limited cases. Please describe the effects of "const

Re: [PATCH 09/31] perf tools: Compile scriptlets to BPF objects when passing '.c' to --event

2015-10-14 Thread Wangnan (F)
On 2015/10/14 23:45, Namhyung Kim wrote: On Wed, Oct 14, 2015 at 12:41:20PM +, Wang Nan wrote: This patch provides infrastructure for passing source files to --event directly using: # perf record --event bpf-file.c command This patch does following works: 1) Allow passing '.c' file

[PATCH 00/13] ACPICA: 20150930 Release

2015-10-14 Thread Lv Zheng
The 20150930 ACPICA kernel-resident subsystem updates are linuxized based on the linux-pm/linux-next branch. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 + allyes 2. i386 + allno 3. i386 + default + ACPI_DEBUGGER=y 4. i386 + default +

[PATCH 02/13] ACPICA: iASL: Add symbolic operator support for Index() operator.

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit fbe67c46830f10c839941f8512cac5bddcb86bd3 Index (, 2) is now supported by [2] This patch doesn't affect Linux kernel. Link: https://github.com/acpica/acpica/commit/fbe67c46 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng ---

[PATCH 04/13] ACPICA: Debugger: Update mutexes used for multithreaded debugger

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit 6b2701f619040e803313363f516b200e362a9100 Make these mutex objects independent of the deadlock detection mechanism. This mechanism caused failures with the multithread debugger. This patch doesn't affect Linux kernel as debugger is currently not fully functioning

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-14 Thread Huan Wang
> On Wednesday 14 October 2015 10:18:47 Huan Wang wrote: > > > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > > > > > > > > > wrote: > > > > > > > > > > > [Alison Wang] Thanks for your reply. I agreed with you about > > > > > >

[PATCH 06/13] ACPICA: Improve typechecking, both compile-time and runtime

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit 8d0f96e2a11a4ceabb2cae4b41e0ce1f4d3786b9 Adds much stricter typechecking in the iASL compiler, and also adds some additional checking in the interpreter. Link: https://github.com/acpica/acpica/commit/8d0f96e2 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng ---

Re: [PATCH v2] watchdog: Compile possible drivers with COMPILE_TEST

2015-10-14 Thread Krzysztof Kozlowski
2015-10-15 7:40 GMT+09:00 Guenter Roeck : > On 10/14/2015 03:11 PM, Luis de Bethencourt wrote: >> >> On 14/10/15 22:35, Guenter Roeck wrote: >>> >>> On 10/14/2015 11:55 AM, Luis de Bethencourt wrote: These drivers have depends that aren't build dependencies, so it's a good idea to

RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1

2015-10-14 Thread Brown, Len
Donald, Shane, Thanks for reporting this. > > I also tried suggested /vmlinuz-4.3.0-rc3 parameter in grub: > >        "cpu_init_udelay=1" > > which did not help getting missing CPU back online. right, if the issue is caused by the patch below, that cmdline will not help. > Did you try

[PATCH 09/13] ACPICA: Debugger: Fix "quit/exit" command by cleaning up user commands termination logic

2015-10-14 Thread Lv Zheng
ACPICA commit 0dd68e16274cd38224aa4781eddc57dc2cbaa108 The quit/exit commands shouldn't invoke acpi_terminate_debugger() and acpi_terminate() right in the user command loop, because when the debugger exits, the kernel ACPI subsystem shouldn't be terminated (acpi_terminate()) and the debugger

Re: [PATCH v2] fs/binfmt_elf_fdpic.c: provide NOMMU loader for regular ELF binaries

2015-10-14 Thread Greg Ungerer
Hi Rich, On 14/10/15 01:49, Rich Felker wrote: > On Tue, Oct 13, 2015 at 10:55:45PM +1000, Greg Ungerer wrote: >> Hi Rich, >> >> On 09/10/15 02:38, Rich Felker wrote: >>> From: Rich Felker >>> >>> The ELF binary loader in binfmt_elf.c requires an MMU, making it >>> impossible to use regular ELF

[PATCH 13/13] ACPICA: Update version to 20150930

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit e9c75ca267262326e80d49a290e8387a5963e2d2 Version 20150930. Link: https://github.com/acpica/acpica/commit/e9c75ca2 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 11/13] ACPI: Enable build of AML interpreter debugger

2015-10-14 Thread Lv Zheng
This patch enables ACPICA debugger files using a configurable CONFIG_ACPI_DEBUGGER configuration item. Those debugger related code that was originally masked as ACPI_FUTURE_USAGE now gets unmasked. Necessary OSL stubs are also added in this patch: 1. acpi_os_readable(): This should be arch

[PATCH 12/13] ACPICA: Debugger: Fix dead lock issue ocurred in single stepping mode

2015-10-14 Thread Lv Zheng
ACPICA commit 35273add90da19cd8790fdb5735f52e3c9861684 When single step execution is not ended, executing another control methods leads to dead locks around interpreter lock/namespace lock/method serialization lock. So we should only allow one execution from the debugger at same time. Lv Zheng.

[PATCH 10/13] ACPICA: Debugger: Fix "terminate" command by cleaning up subsystem shutdown logic

2015-10-14 Thread Lv Zheng
ACPICA commit 7e823714911480be47e310fb1b3590d289b9fd99 Segmentation fault can be seen for executing the "terminate" command. This is because acpi_ut_subsystem_shutdown() is errnously called multiple times. This patch cleans up acpi_ut_subsystem_shutdown() logics to fix this issue. Lv Zheng.

[PATCH 03/13] ACPICA: Update exception code for "file not found" error

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit ac1564c26d239348ef13455f61d5616f3961ff43 Used by the ACPICA applications. This patch is a bit broken due to non-portable inclusion as on some platforms, there is no such a header file for their lib-c exports. Fortunately, Linux doesn't compile utfileio.c for

[PATCH 05/13] ACPICA: Update NFIT table to rename a flags field

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit 534deab97fb416a13bfede15c538e2c9eac9384a Updated one of the memory subtable flags to clarify. Link: https://github.com/acpica/acpica/commit/534deab9 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/nfit.c |6 +++--- drivers/acpi/nfit.h

[PATCH 01/13] ACPICA: Remove unnecessary conditional compilation.

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit eea1f0e561893b6d6417913b2d224082fe3a0a5e Remove use of ACPI_DEBUGGER and ACPI_DISASSEMBLER where these defines are used around entire modules. Note: This type of code also causes problems with IDEs. Link: https://github.com/acpica/acpica/commit/eea1f0e5

[PATCH 07/13] ACPICA: iASL: General cleanup of the file suffix #defines

2015-10-14 Thread Lv Zheng
From: Bob Moore ACPICA commit bed456ed2976bdaafdef406b982fdf6c539befc0 Removed some extraneous defines, reordered others. Link: https://github.com/acpica/acpica/commit/bed456ed Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/acapps.h |2 +-

linux-next: manual merge of the drm-misc tree with the drm-intel tree

2015-10-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/i915_irq.c between commit: fd8f507c0de9 ("drm/i915: s/PIPE_FRMCOUNT_GM45/PIPE_FRMCOUNT_G4X/ etc.") from the drm-intel tree and commit: 88e72717c2de ("drm/irq: Use unsigned int pipe in public

Re: [PATCH v4 8/8] zram: enable contextless compression alg in zram

2015-10-14 Thread Sergey Senozhatsky
On (10/14/15 16:38), Joonsoo Kim wrote: [..] > @@ -352,6 +352,7 @@ static ssize_t comp_algorithm_show(struct device *dev, > size_t sz; > struct zram *zram = dev_to_zram(dev); > > + deprecated_attr_warn("comp_algorithm"); > down_read(>init_lock); > sz =

Re: [PATCH] clk: Allow drivers to build if COMPILE_TEST is enabled

2015-10-14 Thread Krzysztof Kozlowski
2015-10-15 4:08 GMT+09:00 Javier Martinez Canillas : > Hello Stephen, > > On 10/14/2015 08:38 PM, Stephen Boyd wrote: >> On 10/13, Javier Martinez Canillas wrote: >>> diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig >>> index 1530c9352a76..fc50b6264bed 100644 >>> ---

Re: [PATCH] hwrng: stm32 - Fix build with CONFIG_PM

2015-10-14 Thread Herbert Xu
On Wed, Oct 14, 2015 at 05:04:55PM +0100, Daniel Thompson wrote: > Commit c6a97c42e399 ("hwrng: stm32 - add support for STM32 HW RNG") > was inadequately tested (actually it was tested quite hard so > incompetent would be a better description that inadequate) and does > not compile on platforms

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

2015-10-14 Thread Herbert Xu
On Thu, Oct 15, 2015 at 12:37:00PM +1100, Stephen Rothwell wrote: > Hi Herbert, > > After merging the crypto tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/char/hw_random/stm32-rng.c: In function 'stm32_rng_runtime_suspend': >

[PATCH v6 08/10] spi: rockchip: modify DMA max burst to 1

2015-10-14 Thread Shawn Lin
From: Addy Ke Generic dma controller on Rockchips' platform cannot support DMAFLUSHP instruction which make dma to flush the req of non-aligned or non-multiple of what we need. That will cause an unrecoverable dma bus error. The saftest way is to set dma max burst to 1. Signed-off-by: Addy ke

  1   2   3   4   5   6   7   8   9   10   >