some problems about kasan

2015-10-15 Thread zhong jiang
1、 I feel confused about one of the cases when testing the cases kasan can solve . the function come from the kernel in the /lib/test_kasan.c. static noinline void __init kmalloc_uaf2(void) { char *ptr1, *ptr2; size_t size = 43; pr_info("use-after-free after another k

[PATCH v4 74/79] include/linux/xz.h: use linux/types.h types instead of stdint.h

2015-10-15 Thread Mikko Rapeli
Kernel headers should use linux/types.h types. Signed-off-by: Mikko Rapeli --- include/linux/xz.h | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/linux/xz.h b/include/linux/xz.h index 64cffa6..7686511 100644 --- a/include/linux/xz.h +++ b/include/linux/xz.

[PATCH v4 73/79] include/linux/sdb.h: use linux/types.h types instead of stdint.h

2015-10-15 Thread Mikko Rapeli
Kernel headers should use linux/types.h types. Signed-off-by: Mikko Rapeli --- include/linux/sdb.h | 62 + 1 file changed, 29 insertions(+), 33 deletions(-) diff --git a/include/linux/sdb.h b/include/linux/sdb.h index fbb76a4..e9ff976 100644 -

Re: [PATCH 0/3] SCSI: Fix hard lockup in scsi_remove_target()

2015-10-15 Thread Johannes Thumshirn
On Wed, 2015-10-14 at 16:22 -0400, Ewan Milne wrote: > On Wed, 2015-10-14 at 07:30 -0700, James Bottomley wrote: > > On Wed, 2015-10-14 at 15:50 +0200, Johannes Thumshirn wrote: > > > Removing a SCSI target via scsi_remove_target() suspected to be > > > racy. When a > > > sibling get's removed from

Re: [PATCH 00/11] ARM: OMAP/DTS: dra7/72-evm/beagle-x15: Audio support

2015-10-15 Thread Peter Ujfalusi
Tony, On 10/12/2015 11:57 PM, Tony Lindgren wrote: > * Tony Lindgren [150914 09:32]: >> * Peter Ujfalusi [150914 01:54]: >>> Hi Tony, >>> >>> On 08/24/2015 10:19 AM, Peter Ujfalusi wrote: Hi, this series will enable analog audio (via onboard aic310x codec) for dra7-evm,

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

2015-10-15 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/15/2015 04:04 AM, Krzysztof Kozlowski wrote: > 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

Re: [PATCH V2] debugfs: Add debugfs_create_ulong()

2015-10-15 Thread Viresh Kumar
On 14-10-15, 11:51, Stephen Boyd wrote: > On 10/09, Viresh Kumar wrote: > > +struct dentry *debugfs_create_xlong(const char *name, umode_t mode, > > + struct dentry *parent, unsigned long *value) > > +{ > > + return debugfs_create_file(name, mode, parent, value, &fop

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

2015-10-15 Thread Roger Quadros
Chanwoo, On 15/10/15 05:22, Chanwoo Choi wrote: > 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

Re: [PATCH v5 00/24] dmaengine/ARM: Merge the edma drivers into one

2015-10-15 Thread Peter Ujfalusi
On 10/14/2015 05:31 PM, Vinod Koul wrote: > On Wed, Oct 14, 2015 at 02:42:42PM +0300, Peter Ujfalusi wrote: >> Hi, >> >> Cover letter: >> >> with this series the edma two driver setup will be changed to have only one >> driver to support eDMA3. The legacy edma interface will be removed and eDMA >>

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

2015-10-15 Thread Alexander Stein
Hi Mikko, On Thursday 15 October 2015 07:55:40, Mikko Rapeli wrote: > 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 he

Re: [PATCH 1/1] perf:Adding --list-opts to usage string

2015-10-15 Thread Yunlong Song
On 2015/10/14 21:40, Arnaldo Carvalho de Melo wrote: > > Le 14 oct. 2015 10:33 AM, "Yunlong Song" > a écrit : >> >> On 2015/10/14 11:10, Arnaldo Carvalho de Melo wrote: >> >> > One doesn't show what options can be used, the other does, so there is >> > an inconsist

[PATCH v3 3/4] mtd: pxa3xx_nand: rework flash detection and timing setup

2015-10-15 Thread Antoine Tenart
Rework the pxa3xx_nand driver to allow using functions exported by the nand framework to detect the flash and the timings. Then setup the timings using the helpers previously added. Signed-off-by: Antoine Tenart --- drivers/mtd/nand/pxa3xx_nand.c | 118 +

[PATCH v3 4/4] mtd: pxa3xx_nand: clean up the pxa3xx timings

2015-10-15 Thread Antoine Tenart
With the previous modifications, lots of pxa3xx specific definitions can be removed. Signed-off-by: Antoine Tenart --- drivers/mtd/nand/pxa3xx_nand.c| 20 include/linux/platform_data/mtd-nand-pxa3xx.h | 11 +++ 2 files changed, 11 insertions(+), 20 de

[PATCH v3 0/4] mtd: pxa3xx_nand: rework the timing setup

2015-10-15 Thread Antoine Tenart
Hi all, Let's try one more time to get this merged. Another series, introducing the Berlin nand support, depends on this. This series was part of a bigger one[1], which was split into smaller ones as asked by Ezequiel[2]. When we take this into account, this is v8. The aim here is to use the na

[PATCH v3 2/4] mtd: pxa3xx_nand: add helpers to setup the timings

2015-10-15 Thread Antoine Tenart
Add helpers to setup the timings in the pxa3xx driver. These helpers allow to either make use of the nand framework nand_sdr_timings or the pxa3xx specific pxa3xx_nand_host, for compatibility reasons. Signed-off-by: Antoine Tenart --- drivers/mtd/nand/pxa3xx_nand.c | 135

[PATCH v3 1/4] mtd: nand: allow compile test of MTD_NAND_PXA3xx

2015-10-15 Thread Antoine Tenart
Allow compile test of the MTD_NAND_PXA3xx nand driver. Signed-off-by: Antoine Tenart --- drivers/mtd/nand/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 3324281d1f53..0d3b7c442928 100644 --- a/drivers/mtd/nand

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

2015-10-15 Thread Krzysztof Kozlowski
On 15.10.2015 16:11, Javier Martinez Canillas wrote: > Hello Krzysztof, >>> >>> No, I only build tested on arm32 and x86. The 0-day bot haven't reported a >>> build error yet and I didn't see any platform dependent code in the drivers. >> >> I see you guys with Luis are adding a lot of COMPILE

Re: [PATCH 1/5] dt-bindings: MIPS: Document xilfpga bindings and boot style

2015-10-15 Thread James Hogan
Hi Zubair, On Wed, Oct 14, 2015 at 01:51:53PM +0100, Zubair Lutfullah Kakakhel wrote: > Xilfpga boots only with device-tree. Document the required properties > and the unique boot style > > Signed-off-by: Zubair Lutfullah Kakakhel > --- > .../devicetree/bindings/mips/img/xilfpga.txt | 76

Re: [PATCH 1/1] perf :redirection of usage strings to stdout

2015-10-15 Thread Sriram Raghunathan
Sorry, I made a mistake please ignore this patch. Sriram On Wednesday 14 October 2015 10:40 PM, Sriram Raghunathan wrote: This patch is to redirect the usage/builtin help strings to stdout rather than stderr. This is follows the patter similar to that of some of the coreutils (ls, rm). This pat

Re: [PATCH] scripts/kconfig/Makefile: Fix KBUILD_DEFCONFIG check when building with O=

2015-10-15 Thread Michal Marek
Dne 15.10.2015 v 08:05 Michael Ellerman napsal(a): > My recent commit d2036f30cfe1 ("scripts/kconfig/Makefile: Allow > KBUILD_DEFCONFIG to be a target"), contained a bug in that when it > checks if KBUILD_DEFCONFIG is a file it forgets to prepend $(srctree) to > the path. > > This causes the build

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

2015-10-15 Thread Stephen Rothwell
Hi David, On Thu, 15 Oct 2015 07:54:55 +0100 David Woodhouse wrote: > > The problem which required said patch should also be gone, though — > CONFIG_INTEL_IOMMU_SVM now selects CONFIG_MMU_NOTIFIER, and its data > structures are guarded with #ifdef CONFIG_INTEL_IOMMU_SVM. > > Apologies for the la

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

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 09:17:18AM +0200, Alexander Stein wrote: > Hi Mikko, > > On Thursday 15 October 2015 07:55:40, Mikko Rapeli wrote: > > Users of kernel header files would be happier if they did not contain > > kernel specific parts and would contain #include statements for all > > other hea

Re: ./arch/x86/include/asm/desc.h:122:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]

2015-10-15 Thread Andrey Ryabinin
2015-10-15 0:47 GMT+03:00 Borislav Petkov : > Hey, > > did the issue in $Subject get fixed somewhere? > > I remember reading something about it on lkml ... I'm an idiot :( The same failure was fixed for KMEMCHECK=y && KASAN=n config But that fix didn't fix the KMEMCHECK=y && KASAN=y case. > > In

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

2015-10-15 Thread Michal Marek
Dne 15.10.2015 v 05:27 Michael Ellerman napsal(a): > 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 w

[PATCH v2 3/3] perf help: Change the usage's stdout to stderr for consistency

2015-10-15 Thread Yunlong Song
The builtins use stderr everywhere to show the usage info when the opts or cmds are incorrectly used, for consistency, change perf's stdout to stderr to show its usage info when it is incorrectly (including no command) used. Signed-off-by: Yunlong Song --- tools/perf/builtin-help.c | 9 +

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

2015-10-15 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/15/2015 09:22 AM, Krzysztof Kozlowski wrote: > On 15.10.2015 16:11, Javier Martinez Canillas wrote: >> Hello Krzysztof, > No, I only build tested on arm32 and x86. The 0-day bot haven't reported a build error yet and I didn't see any platform dependent cod

Re: [PATCH] PM / OPP: Remove confusing error message in of_cpumask_init_opp_table()

2015-10-15 Thread Viresh Kumar
On 14-10-15, 17:52, Thomas Petazzoni wrote: > ret = of_init_opp_table(cpu_dev); > if (ret) { > - pr_err("%s: couldn't find opp table for cpu:%d, %d\n", > -__func__, cpu, ret); > - It should have be modified to pr_debug() a

Re: [PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-15 Thread Roger Quadros
On 14/10/15 23:03, Franklin S Cooper Jr. wrote: > > > On 10/14/2015 01:13 PM, Tony Lindgren wrote: >> * Franklin S Cooper Jr. [151014 09:27]: >>> >>> On 10/14/2015 11:18 AM, Tony Lindgren wrote: * Franklin S Cooper Jr. [151014 07:37]: > On 10/14/2015 09:11 AM, Roger Quadros wrote:

[PATCH v2 1/3] perf help: Add options description to 'perf -h'

2015-10-15 Thread Yunlong Song
Add options description to 'perf -h' to make it consistent with other builtins (e.g., 'perf stat -h'). Example: Before this patch: # perf -h usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS] The most commonly used perf commands are: annotateRead perf.data (created by pe

[PATCH v2 0/3] perf help: Make perf's help consistent with other builtins

2015-10-15 Thread Yunlong Song
Hi, Make some fixes to perf's help for consistency. Yunlong Song (3): perf help: Add options description to 'perf -h' perf help: Change 'usage' to 'Usage' for consistency perf help: Change the usage's stdout to stderr for consistency tools/perf/builtin-help.c | 13 +++-- to

[PATCH v2 2/3] perf help: Change 'usage' to 'Usage' for consistency

2015-10-15 Thread Yunlong Song
Capitalize 'usage' to make it consistent with all the other 'Usage' in the codes, e.g., usage_builtin. Signed-off-by: Yunlong Song --- tools/perf/builtin-help.c | 2 +- tools/perf/util/parse-options.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/built

Re: [PATCH v4 08/79] r128_drm.h: include drm/drm.h

2015-10-15 Thread Daniel Vetter
On Thu, Oct 15, 2015 at 07:55:46AM +0200, Mikko Rapeli wrote: > Fixes compile error: > > drm/r128_drm.h:156:23: error: array type has incomplete element type > struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; > > Signed-off-by: Mikko Rapeli Applied to drm-misc, thanks. -Daniel > --- > i

Re: [PATCH v4 13/79] drm/i810_drm.h: include drm/drm.h

2015-10-15 Thread Daniel Vetter
On Thu, Oct 15, 2015 at 07:55:51AM +0200, Mikko Rapeli wrote: > Fixes userspace compilation error: > > error: array type has incomplete element type > struct drm_clip_rect boxes[I810_NR_SAREA_CLIPRECTS]; > > Signed-off-by: Mikko Rapeli Applied to drm-misc, thanks. -Daniel > --- > include/uapi

Re: [linux-sunxi] [PATCH 2/6] mfd: axp20x: Split the driver into core and i2c bits

2015-10-15 Thread Chen-Yu Tsai
On Thu, Oct 15, 2015 at 6:37 AM, Julian Calaby wrote: > Hi Chen-Yu, > > On Thu, Oct 15, 2015 at 3:32 AM, Chen-Yu Tsai wrote: >> The axp20x driver assumes the device is i2c based. This is not the >> case with later models, which use a proprietary 2 wire serial bus >> called "Reduced Serial Bus". >

Re: [PATCH] PM / OPP: Remove confusing error message in of_cpumask_init_opp_table()

2015-10-15 Thread Thomas Petazzoni
Viresh, Rafael, On Thu, 15 Oct 2015 13:05:44 +0530, Viresh Kumar wrote: > On 14-10-15, 17:52, Thomas Petazzoni wrote: > > ret = of_init_opp_table(cpu_dev); > > if (ret) { > > - pr_err("%s: couldn't find opp table for cpu:%d, %d\n", > > -

Re: [PATCH 3/5] MIPS: dt: xilfpga: Add xilfpga device tree files.

2015-10-15 Thread James Hogan
On Wed, Oct 14, 2015 at 01:51:55PM +0100, Zubair Lutfullah Kakakhel wrote: > Signed-off-by: Zubair Lutfullah Kakakhel Any chance of a little more explanation, other than the subject line? > --- > arch/mips/boot/dts/Makefile| 1 + > arch/mips/boot/dts/xilfpga/Makefile|

Re: [PATCH v4 09/11] smack: namespace groundwork

2015-10-15 Thread Hillf Danton
> > +static inline void smack_userns_free(struct user_namespace *ns) > +{ > + struct smack_ns *snsp = ns->security; > + struct smack_known *skp; > + struct smack_known_ns *sknp, *n; > + > + list_for_each_entry_safe(sknp, n, &snsp->smk_mapped, smk_list_ns) { > + skp = sk

Re: [PATCH v4] Smack: limited capability for changing process label

2015-10-15 Thread Rafał Krypa
On 2015-10-14 17:54, Rafal Krypa wrote: > From: Zbigniew Jasinski > > This feature introduces new kernel interface: > > - /relabel-self - for setting transition labels list > > This list is used to control smack label transition mechanism. > List is set by, and per process. Process can transit to

Re: some problems about kasan

2015-10-15 Thread Dmitry Vyukov
On Thu, Oct 15, 2015 at 8:59 AM, zhong jiang wrote: > 1、 I feel confused about one of the cases when testing the cases kasan can > solve . the function come from the kernel in the /lib/test_kasan.c. > > static noinline void __init kmalloc_uaf2(void) > { > char *ptr1, *ptr2; >

linux-next: Tree for Oct 15

2015-10-15 Thread Stephen Rothwell
Hi all, Changes since 20151013: The asm-generic tree gained a build failure for which I applied a fix patch. The arm-soc tree gained a build failure so I used the version from next-20151013. I used the h8300 tree from next-20150828 since the current tree has been rebased onto linux-next again :

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

2015-10-15 Thread Lee Jones
On Thu, 15 Oct 2015, Stephen Rothwell wrote: > 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 tr

Re: [PATCH v4] Smack: limited capability for changing process label

2015-10-15 Thread Casey Schaufler
On 10/15/2015 12:48 AM, Rafał Krypa wrote: > On 2015-10-14 17:54, Rafal Krypa wrote: >> From: Zbigniew Jasinski >> >> This feature introduces new kernel interface: >> >> - /relabel-self - for setting transition labels list >> >> This list is used to control smack label transition mechanism. >> Lis

Re: [PATCH v4 17/79] include/uapi/sound/emu10k1.h: added EMU10K1 version of DECLARE_BITMAP macro

2015-10-15 Thread Takashi Iwai
On Thu, 15 Oct 2015 07:55:55 +0200, Mikko Rapeli wrote: > > Fixes userspace compilation error: > > error: expected specifier-qualifier-list before ‘DECLARE_BITMAP’ > DECLARE_BITMAP(gpr_valid, 0x200); /* bitmask of valid initializers */ > > DECLARE_BITMAP macro is not meant for userspace header

Re: [PATCH v4 28/79] hdspm.h: use __u8, __u32 and __u64 from linux/types.h instead of stdint.h

2015-10-15 Thread Takashi Iwai
On Thu, 15 Oct 2015 07:56:06 +0200, Mikko Rapeli wrote: > > Kernel headers should use linux/types.h based definitions. > > Signed-off-by: Mikko Rapeli Applied, thanks. Takashi > --- > include/uapi/sound/hdspm.h | 40 ++-- > 1 file changed, 18 insertions(+

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

2015-10-15 Thread Mike Snitzer
On Wed, Oct 14 2015 at 11:27pm -0400, Ming Lei wrote: > On Sat, Oct 10, 2015 at 3:52 AM, Mike Snitzer wrote: > > > > Turns out that this change: > > http://git.kernel.org/cgit/linux/kernel/git/snitzer/linux.git/commit/?h=wip&id=2639638c77768a86216be456c2764e32a2bcd841 > > > > needed to be revert

Re: [PATCH] VFIO: platform: AMD xgbe reset module

2015-10-15 Thread Eric Auger
Hi Arnd, On 10/14/2015 05:38 PM, Arnd Bergmann wrote: > On Wednesday 14 October 2015 15:33:12 Eric Auger wrote: >> --- a/drivers/vfio/platform/vfio_platform_common.c >> +++ b/drivers/vfio/platform/vfio_platform_common.c >> @@ -31,6 +31,11 @@ static const struct vfio_platform_reset_combo >> reset_l

Re: [PATCH 3/3] mfd: arizona: Remove bindings covered in new subsystem specific docs

2015-10-15 Thread Lee Jones
On Wed, 14 Oct 2015, Charles Keepax wrote: > Binding documentation has been added in new subsystem specific binding > documents. This patch removes the now duplicate documentation from the > MFD documentation. Also whilst we are at it add a missing maintainers > entry for the MFD binding document.

Re: [PATCH v4 18/79] dm-log-userspace.h: use __u32, __s32 and __u64 from linux/types.h

2015-10-15 Thread Mike Snitzer
On Thu, Oct 15 2015 at 1:55am -0400, Mikko Rapeli wrote: > Fixes userspace compilation errors like: > > linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ > > Signed-off-by: Mikko Rapeli As was already explained before, there is no need to compile this for userspace consumpt

Re: [PATCH 4/5] MIPS: xilfpga: Add mipsfpga platform code

2015-10-15 Thread James Hogan
On Wed, Oct 14, 2015 at 01:51:56PM +0100, Zubair Lutfullah Kakakhel wrote: > The xilfpga platform will be DT only. > > Add required platform code. DT files have already been added separately Please wrap to 72 characters (keeps it looking pretty in git-log output), and maybe add a full stop. > >

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

2015-10-15 Thread Thomas Gleixner
On Thu, 15 Oct 2015, Richard Cochran wrote: > Thomas seems to say that there are *other* applications that will want > to transform device time into system time, but why does your audio > application use the system time, when the audio-to-ptp time is > directly available, without any man in the mid

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

2015-10-15 Thread Thomas Gleixner
On Wed, 14 Oct 2015, Christopher Hall wrote: > On Tue, 13 Oct 2015 12:42:52 -0700, Thomas Gleixner > wrote: > > On Mon, 12 Oct 2015, Christopher S. Hall wrote: > > > audio. > > > > This wants to be a seperate patch, really. > > OK. This makes sense, I'll do this the next time. > > > > +/* This

[PATCH 0/5] x86/setup/crash: Cleanup some code

2015-10-15 Thread Borislav Petkov
From: Borislav Petkov Hi all, this is ontop of Baoquan's fix from yesterday: https://lkml.kernel.org/r/20151014104338.ga8...@pd.tnic Looking at the crashkernel reservation code made a couple of style problems wink at me so this short cleanup should address them. Please take a look and complain

[PATCH 3/5] x86/setup/crash: Cleanup some more

2015-10-15 Thread Borislav Petkov
From: Borislav Petkov * Remove unused auto_set variable * Cleanup local function variable declarations * Reformat printk string and use pr_info() No functionality change. Cc: Andrew Morton Cc: Andy Lutomirski Cc: Dave Young Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: jerry_hoem...@hp.com Cc:

[PATCH 2/5] x86/setup/crash: Remove alignment variable

2015-10-15 Thread Borislav Petkov
From: Borislav Petkov Use a macro instead. No functionality change. Cc: Andrew Morton Cc: Andy Lutomirski Cc: Dave Young Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: jerry_hoem...@hp.com Cc: Jiri Kosina Cc: Joerg Roedel Cc: Juergen Gross Cc: Mark Salter Cc: Thomas Gleixner Cc: WANG Chao C

[PATCH 1/5] x86/setup: Cleanup crashkernel reservation functions

2015-10-15 Thread Borislav Petkov
From: Borislav Petkov * Shorten variable names * Realign code, space out for better readability No code changed: # arch/x86/kernel/setup.o: textdata bss dec hex filename 45433096 69904 77543 12ee7 setup.o.before 45433096 69904 77543 12ee7 setup.o.

[PATCH 5/5] kexec/crash: Say which char is the unrecognized

2015-10-15 Thread Borislav Petkov
From: Borislav Petkov It is helpful when the crashkernel cmdline parsing routines actually say which character is the unrecognized one. Make them do so. Cc: Andrew Morton Cc: Andy Lutomirski Cc: Baoquan He Cc: Dave Young Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: jerry_hoem...@hp.com Cc: Jir

[tip:irq/core] irqchip/gic-v3: Fix translation of LPIs after conversion to irq_fwspec

2015-10-15 Thread tip-bot for Marc Zyngier
Commit-ID: db8c70ec1f9d45e530383204c57f2971df4bd334 Gitweb: http://git.kernel.org/tip/db8c70ec1f9d45e530383204c57f2971df4bd334 Author: Marc Zyngier AuthorDate: Wed, 14 Oct 2015 12:27:16 +0100 Committer: Thomas Gleixner CommitDate: Thu, 15 Oct 2015 10:18:48 +0200 irqchip/gic-v3: Fix tra

[tip:irq/core] irqchip/gic-v2m: Add support for multiple MSI frames

2015-10-15 Thread tip-bot for Marc Zyngier
Commit-ID: a71225e204f5ba8b41e7bb100ca37c074861d5b1 Gitweb: http://git.kernel.org/tip/a71225e204f5ba8b41e7bb100ca37c074861d5b1 Author: Marc Zyngier AuthorDate: Wed, 14 Oct 2015 12:27:17 +0100 Committer: Thomas Gleixner CommitDate: Thu, 15 Oct 2015 10:18:48 +0200 irqchip/gic-v2m: Add su

Re: [PATCH 14/26] clk: mvebu: Convert to clk_hw based provider APIs

2015-10-15 Thread Thomas Petazzoni
Stephen, On Wed, 14 Oct 2015 11:21:38 -0700, Stephen Boyd wrote: > How about this patch? > > ---8< > diff --git a/drivers/clk/mvebu/clk-cpu.c b/drivers/clk/mvebu/clk-cpu.c > index 5837eb8a212f..85da8b983256 100644 > --- a/drivers/clk/mvebu/clk-cpu.c > +++ b/drivers/clk/mvebu/clk-cpu.c > @@ -

[PATCH 4/5] x86/setup/crash: Check memblock_reserve() retval

2015-10-15 Thread Borislav Petkov
From: Borislav Petkov memblock_reserve() can fail but the crashkernel reservation code doesn't check that and this can lead the user into believing that the crashkernel region was actually reserved. Make sure we check that return value and we exit early with a failure message in the error case.

Re: [PATCH] ARM: SWP emulation: Restore original *data when failed

2015-10-15 Thread Russell King - ARM Linux
On Wed, Oct 14, 2015 at 10:51:17AM +0800, Shengjiu Wang wrote: > __user_swpX_asm maybe failed in first STREX operation, emulate_swpX > will try again, but the *data has been changed in first time. which > cause the result is wrong. So need to recover the *data when failed. > > Signed-off-by: Sheng

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

2015-10-15 Thread Jarkko Nikula
On 10/15/2015 08:46 AM, Xiang Wang wrote: 1. "bus speed mode" is a bit different from other parameters. Actually it can be determined by the speed setting of "i2c devices" in ACPI (I2CSerialBus). E.g. If i2c device uses 3MHz, we use High-speed mode for this i2c bus. 2. If we hardcode speed settin

Re: [PATCH 5/5] MIPS: Add xilfpga defconfig

2015-10-15 Thread James Hogan
On Wed, Oct 14, 2015 at 01:51:57PM +0100, Zubair Lutfullah Kakakhel wrote: > Signed-off-by: Zubair Lutfullah Kakakhel > --- > arch/mips/configs/xilfpga_defconfig | 59 > + > 1 file changed, 59 insertions(+) > create mode 100644 arch/mips/configs/xilfpga_defco

[PATCH v4 4/5] iommu/arm-smmu: to backward compatible with probe non-deferral

2015-10-15 Thread Zhen Lei
This patch eliminate the strong dependence on Laurent's series(to support probe deferral). That means, no matter whether Laurent's series upstreamed or not, the smmu-v3 driver will always work well. Signed-off-by: Zhen Lei --- drivers/iommu/arm-smmu-v3.c | 20 ++-- 1 file changed

Re: [PATCH] ARM: SWP emulation: Restore original *data when failed

2015-10-15 Thread Shengjiu Wang
On Thu, Oct 15, 2015 at 09:24:17AM +0100, Russell King - ARM Linux wrote: > On Wed, Oct 14, 2015 at 10:51:17AM +0800, Shengjiu Wang wrote: > > __user_swpX_asm maybe failed in first STREX operation, emulate_swpX > > will try again, but the *data has been changed in first time. which > > cause the re

[PATCH] checkkconfigsymbols.py: multiprocessing of files

2015-10-15 Thread Valentin Rothberg
Distribute the parsing of source and Kconfig files on all available cores to speed up processing. Signed-off-by: Valentin Rothberg --- scripts/checkkconfigsymbols.py | 128 - 1 file changed, 102 insertions(+), 26 deletions(-) diff --git a/scripts/checkkco

Re: [PATCH 1/3] extcon: arizona: Add extcon specific device tree binding document

2015-10-15 Thread Chanwoo Choi
Hi Charles, On 2015년 10월 14일 23:12, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > .../devicetree/bindings/extcon/extcon-arizona.txt | 15 +++ > MAINTAINERS|1 + > 2 files changed, 16 insertions(+), 0 deletions(-) > creat

Re: [PATCH v10 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-15 Thread Zhou Wang
On 2015/10/15 5:56, Arnd Bergmann wrote: > On Wednesday 14 October 2015 17:44:11 Zhou Wang wrote: >> On 2015/10/14 17:06, Arnd Bergmann wrote: >>> On Wednesday 14 October 2015 16:59:03 Zhou Wang wrote: Hi Arnd, In Hip05 PCIe host, it uses GITS_TRANSLATER's address to get TLP pac

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

2015-10-15 Thread Chanwoo Choi
Roger, On 2015년 10월 15일 16:16, Roger Quadros wrote: > Chanwoo, > > On 15/10/15 05:22, Chanwoo Choi wrote: >> 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

Re: [PATCH] staging: nvec: fixed few coding style warnings

2015-10-15 Thread Marc Dietrich
Am Mittwoch, 14. Oktober 2015, 21:12:36 schrieb Dan Carpenter: > On Wed, Oct 14, 2015 at 07:38:22PM +0530, Sakshi Bansal wrote: > > Fixed allignmnet issues and block comments usage > > Split it apart by type of fix. > > > @@ -617,7 +618,7 @@ static irqreturn_t nvec_interrupt(int irq, void *dev) >

Re: [PATCH] genirq/msi: Do not use pci_msi_[un]mask_irq as default methods

2015-10-15 Thread Thomas Gleixner
On Tue, 13 Oct 2015, Marc Zyngier wrote: > When we create a generic MSI domain, that MSI_FLAG_USE_DEF_CHIP_OPS > is set, and that any of .mask or .unmask are NULL in the irq_chip > structure, we set them to pci_msi_[un]mask_irq. > > This is a bad idea for at least two reasons: > - PCI_MSI might n

[PATCH v4 2/5] iommu/arm-smmu: rename __arm_smmu_get_pci_sid

2015-10-15 Thread Zhen Lei
Remove the word "pci", to make this function can also be used by non-pci devices. Signed-off-by: Zhen Lei --- drivers/iommu/arm-smmu-v3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index 3a54af1..b577d61 10064

[PATCH v4 5/5] iommu/arm-smmu: describe the limitation of #iommu-cells

2015-10-15 Thread Zhen Lei
Only support #iommu-cells = <1>. Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt b/Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt index

[PATCH v4 0/5] iommu/arm-smmu: add support for non-pci devices

2015-10-15 Thread Zhen Lei
Hi, all: It's been a long time since my patch v3. I don't known when Laurent's probe-deferral series will be upstreamed? I really have no time to wait. So I add patch 4/5, to keep both cases(Laurent's series upstreamed or not), smmu-v3 can always work well. Changelog: v3 -> v4: 1. base upon the

[PATCH v4 3/5] iommu/arm-smmu: add support for non-pci devices

2015-10-15 Thread Zhen Lei
This patch support a master with multiple stream IDs, but doesn't support a master behinds more than one SMMUs. Signed-off-by: Zhen Lei --- drivers/iommu/arm-smmu-v3.c | 40 ++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/arm-

Re: [PATCH 14/26] clk: mvebu: Convert to clk_hw based provider APIs

2015-10-15 Thread Thomas Petazzoni
Stephen, On Wed, 14 Oct 2015 14:08:59 -0700, Stephen Boyd wrote: > Here's that untested patch, which we can throw into clk-next for > v4.4 > > -8< > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index b005f666e3a1..16b86a551bcb 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/

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

2015-10-15 Thread Arnd Bergmann
On Thursday 01 October 2015 15:33:02 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 calling clone(). > > [1] http://lxr.free-electrons.com/source/arch/arm64/kernel/pr

[PATCH v4 1/5] iommu/arm-smmu: to support probe deferral

2015-10-15 Thread Zhen Lei
For pci devices, only the root nodes have "iommus" property. So we should traverse all of its sub nodes in of_xlate. There exists two cases: Case 1: .add_device(sub node) happened before .of_xlate(root node) Case 2: .add_device(sub node) happened after .of_xlate(root node) (1).add_device

Re: [PATCH v2 0/4] timer: Improve itimers scalability

2015-10-15 Thread Ingo Molnar
* Jason Low wrote: > While running a database workload on a 16 socket machine, there were > scalability issues related to itimers. The following link contains a > more detailed summary of the issues at the application level. > > https://lkml.org/lkml/2015/8/26/737 > > Commit 1018016c706f addre

[PATCH] perf build: Add fixdep to .gitignore

2015-10-15 Thread Yunlong Song
Commit 7c422f5572667fef0db38d2046ecce69dcf0afc8 ("tools build: Build fixdep helper from perf and basic libs") dynamically creates fixdep during the perf building. Add it to .gitignore. Signed-off-by: Yunlong Song --- tools/build/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 10064

Re: [PATCH v7,3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-10-15 Thread James Hogan
Hi Harvey, On Tue, Oct 06, 2015 at 05:27:17PM +0100, Harvey Hunt wrote: > From: Alex Smith > > Add device tree nodes for the NEMC and BCH to the JZ4780 device tree, > and make use of them in the Ci20 device tree to add a node for the > board's NAND. > > Note that since the pinctrl driver is not

Re: [PATCH] staging: nvec: fixed few coding style warnings

2015-10-15 Thread Dan Carpenter
On Thu, Oct 15, 2015 at 10:39:02AM +0200, Marc Dietrich wrote: > > > - if (unlikely(nvec->rx == NULL)) { > > > + if (!unlikely(nvec->rx)) { > > > > This isn't right. You intented to say: > > > > if (unlikely(!nvec->rx)) { > > > > But even better to just remov

Re: [PATCH v4 45/79] linux/if.h linux/hdlc/ioctl.h: move IFNAMSIZ definition to hdlc/ioctl.h

2015-10-15 Thread Frans Klaver
Hi, On Thu, Oct 15, 2015 at 7:56 AM, Mikko Rapeli wrote: > And include linux/hdlc/ioctl.h from linux/if.h. That appears to have already been the case before this patch. You just add a comment behind the include statement. > diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h > index

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

2015-10-15 Thread Lars-Peter Clausen
On 10/15/2015 03:36 AM, Shawn Lin wrote: [...] > + > + if (snd_dmaengine_pcm_get_caps(&pdev->dev, &dma_caps) == 0) { > + if (dma_caps.max_burst > 4) { > + i2s->playback_dma_data.maxburst = 4; > + i2s->capture_dma_data.maxburst = 4; > +

Re: [PATCH 2/5] power_supply: charger-manager: add missing of_node_put

2015-10-15 Thread Sebastian Reichel
Hi, On Sat, Oct 10, 2015 at 02:30:51PM +0200, Julia Lawall wrote: > for_each_child_of_node performs an of_node_get on each iteration, so > a break out of the loop requires an of_node_put. > > The semantic patch that fixes this problem is as follows > (http://coccinelle.lip6.fr): > > // > @@ > e

Re: [PATCH] ARM: SWP emulation: Restore original *data when failed

2015-10-15 Thread Russell King - ARM Linux
On Thu, Oct 15, 2015 at 04:36:31PM +0800, Shengjiu Wang wrote: > On Thu, Oct 15, 2015 at 09:24:17AM +0100, Russell King - ARM Linux wrote: > > On Wed, Oct 14, 2015 at 10:51:17AM +0800, Shengjiu Wang wrote: > > > __user_swpX_asm maybe failed in first STREX operation, emulate_swpX > > > will try agai

[PATCH] ARM: dts: uniphier: fix IRQ number for devices on PH1-LD6b ref board

2015-10-15 Thread Masahiro Yamada
The IRQ signal from external devices on this board is connected to the XIRQ1 pin of the SoC. The IRQ number should be 51, not 50. Fixes: a5e921b4771f ("ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support") Signed-off-by: Masahiro Yamada --- Hi Olof and Arnd, Could you apply thi

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

2015-10-15 Thread Arnd Bergmann
On Thursday 15 October 2015 13:26:02 Stephen Rothwell wrote: > 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 >

[PATCH v3 3/3] sched: make it possible to account fair class load avg consistently

2015-10-15 Thread byungchul.park
From: Byungchul Park Current code can account fair class load average for the time the task was absent from the fair class thanks to ATTACH_AGE_LOAD. However, it doesn't work in the cases that either migration or group change happened in the other sched classes. This patch introduces more genera

[PATCH v3 0/3] sched: account fair load avg consistently

2015-10-15 Thread byungchul.park
From: Byungchul Park * change from v2 to v3 - consider otimization in the case of migration - split patches to 3 to be reviewed easily * change from v1 to v2 - make set_task_rq() do that role instead of migration callback - make set_task_rq() do that role instead of move group callback - remove

[PATCH v3 2/3] sched: factor out the code getting cfs_rq's last_update_time

2015-10-15 Thread byungchul.park
From: Byungchul Park In the case that rq->lock may not be held, care must be taken to get a cfs_rq's last_update_time instead of just reading the variable. Since it can happen at serveral places in the code in future, this patch factors it out to a helper function. Signed-off-by: Byungchul Park

[PATCH v3 1/3] sched: introduce a new migration flag to task_struct

2015-10-15 Thread byungchul.park
From: Byungchul Park This patch removes a weird coupling between se->avg.last_update_time and the condition checking for migration, and introduce a new migration flag. Now, scheduler can use the flag instead of se->avg.last_update_time to check if migration already happened or not. Signed-off-by

[PATCH] media: vb2: Allow reqbufs(0) with "in use" MMAP buffers

2015-10-15 Thread Tomasz Figa
From: John Sheu Videobuf2 presently does not allow VIDIOC_REQBUFS to destroy outstanding buffers if the queue is of type V4L2_MEMORY_MMAP, and if the buffers are considered "in use". This is different behavior than for other memory types and prevents us from deallocating buffers in following two

[PATCH 0/3] ARM: dts: uniphier: DTS updates for UniPhier SoCs for Linux 4.14-rc1

2015-10-15 Thread Masahiro Yamada
Hi Olof and Arnd, Please apply this series to ARM-SOC for the next merge window. Thanks Masahiro Yamada Masahiro Yamada (3): ARM: dts: uniphier: change the external bus address mapping ARM: dts: uniphier: add ProXstream2 Vodka board support ARM: dts: uniphier: add ProXstream2 Gentil boar

[PATCH 2/3] ARM: dts: uniphier: add ProXstream2 Vodka board support

2015-10-15 Thread Masahiro Yamada
Initial version of DTS for ProXstream2 Vodka board. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/uniphier-proxstream2-vodka.dts | 79 2 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 a

[PATCH 1/3] ARM: dts: uniphier: change the external bus address mapping

2015-10-15 Thread Masahiro Yamada
In UniPhier SoCs before ProXstream2 and PH1-LD6b, two address spaces 0x - 0x0fff 0x4000 - 0x4fff are both mapped to the external bus (also called system bus), so either was OK. In the newest two SoCs, the former (0x - 0x0fff) is assigned for the serial NOR interfa

[PATCH 3/3] ARM: dts: uniphier: add ProXstream2 Gentil board support

2015-10-15 Thread Masahiro Yamada
Initial version of DTS for ProXstream2 Gentil board. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/uniphier-proxstream2-gentil.dts | 79 +++ 2 files changed, 80 insertions(+) create mode 100644 arch/arm/boot/d

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

2015-10-15 Thread Benjamin Cama
Hi everyone, Le 2015-10-15 08:22, Gregory CLEMENT a écrit : On jeu., oct. 15 2015, Ben Hutchings wrote: 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

Re: [PATCH v3 1/4] mtd: nand: allow compile test of MTD_NAND_PXA3xx

2015-10-15 Thread kbuild test robot
Hi Antoine, [auto build test ERROR on mtd/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Antoine-Tenart/mtd-pxa3xx_nand-rework-the-timing-setup/20151015-152337 config: i386-allmodconfig (att

Re: [PATCH 0/5] x86/setup/crash: Cleanup some code

2015-10-15 Thread Dave Young
On 10/15/15 at 10:20am, Borislav Petkov wrote: > From: Borislav Petkov > > Hi all, > > this is ontop of Baoquan's fix from yesterday: > https://lkml.kernel.org/r/20151014104338.ga8...@pd.tnic > > Looking at the crashkernel reservation code made a couple of style > problems wink at me so this sh

  1   2   3   4   5   6   7   8   9   10   >