Re: [PATCH] zram: check compressor name before setting it

2015-05-25 Thread Sergey Senozhatsky
On (05/25/15 15:18), Sergey Senozhatsky wrote: find_backend() returns back to its caller a raw and completely initialized *UN-initialized. a typo. -ss -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v3 1/1] usb: ulpi: ulpi_init should be executed in subsys_initcall

2015-05-25 Thread Lu, Baolu
On 05/23/2015 12:08 AM, David Cohen wrote: Hi, On Fri, May 22, 2015 at 07:29:15PM +0800, Lu Baolu wrote: Phy drivers and the ulpi interface providers depend on the registeration of the ulpi bus. Ulpi registers the bus in module_init(). This could result in a load order issue, i.e. It's

Re: uvcvideo: Race on dev-state between uvc_disconnect() and uvc_v4l2_open()

2015-05-25 Thread Eugene Shatokhin
25.05.2015 01:32, Laurent Pinchart пишет: Hi Eugene, On Wednesday 20 May 2015 17:48:41 Eugene Shatokhin wrote: Hi, There is a race in uvcvideo module between uvc_disconnect() and uvc_v4l2_open() on dev-state. Checked and reproduced that with kernel 4.1-rc1.

Re: [PATCH v2 1/6] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-05-25 Thread Tomasz Figa
Hi, Please see my comments inline. On Fri, May 15, 2015 at 6:43 PM, Yong Wu yong...@mediatek.com wrote: This patch add mediatek iommu dts binding document. Signed-off-by: Yong Wu yong...@mediatek.com --- .../devicetree/bindings/iommu/mediatek,iommu.txt | 51 ++

[PATCH V2] irda: use msecs_to_jiffies for conversion to jiffies

2015-05-25 Thread Nicholas Mc Guire
API compliance scanning with coccinelle flagged: ./net/irda/timer.c:63:35-37: use of msecs_to_jiffies probably perferable Converting milliseconds to jiffies by val * HZ / 1000 technically is not a clean solution as it does not handle all corner cases correctly. By changing the conversion to use

Re: [PATCH v2 2/6] dt-bindings: mediatek: Add smi dts binding

2015-05-25 Thread Tomasz Figa
Hi, Please see my comments inline. On Fri, May 15, 2015 at 6:43 PM, Yong Wu yong...@mediatek.com wrote: This patch add smi binding document. Signed-off-by: Yong Wu yong...@mediatek.com --- .../bindings/soc/mediatek/mediatek,smi-larb.txt| 24 ++

Re: dell_rbtn - kernel panic at boot...

2015-05-25 Thread Pali Rohár
On Monday 25 May 2015 07:01:21 Matthew Garrett wrote: On Sun, May 24, 2015 at 09:44:32PM -0700, Darren Hart wrote: Greg, Matthew, I'm tempted to recommend this 434 line driver be rolled into dell-laptop.c. Any strong opinions? Mrm. It's slightly conceptually nasty in that one's an ACPI

[PATCH] serial: of_serial: check the return value of clk_prepare_enable()

2015-05-25 Thread Masahiro Yamada
The function clk_prepare_enable() may fail, and in that case it does not make sense to proceed. Let's check its return code and error out if it is a negative value. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- drivers/tty/serial/of_serial.c | 5 - 1 file changed, 4

Re: [PATCHv1 0/2] Adding driver for Xilinx LogiCORE IP mailbox.

2015-05-25 Thread Michal Simek
On 05/22/2015 08:03 PM, Moritz Fischer wrote: This patchset adds mailbox framework integration for the Xilinx LogiCORE IP mailbox. The Xilinx LogiCORE IP mailbox is a fpga softcore that allows interprocessor communication between AXI4 stream / memory mapped processors. Changes from v0:

Re: [PATCH] zram: check compressor name before setting it

2015-05-25 Thread Sergey Senozhatsky
On (05/22/15 15:26), Marcin Jabrzyk wrote: From the other hand, the only valid values that can be written are in 'comp_algorithm'. So when writing other one, returning -EINVAL seems to be reasonable. The user would get immediately information that he can't do that, now the information can be

Re: [PATCH v2] ARM: nommu: avoid deprecated source register on mov

2015-05-25 Thread Maxime Coquelin
Hi Stefan, On 05/23/2015 01:25 AM, Stefan Agner wrote: In Thumb2 mode, the stack register r13 is deprecated if the destination register is the program counter (r15). Similar to head.S, head-nommu.S uses r13 to store the return address used after configuring the CPU's CP15 register. However,

Re: [PATCH v2 1/2] mm/hugetlb: compute/return the number of regions added by region_add()

2015-05-25 Thread Naoya Horiguchi
On Fri, May 22, 2015 at 08:55:03PM -0700, Mike Kravetz wrote: Modify region_add() to keep track of regions(pages) added to the reserve map and return this value. The return value can be compared to the return value of region_chg() to determine if the map was modified between calls. Add

Re: [PATCH 1/2] mmc: sunxi: fix timeout in sunxi_mmc_oclk_onoff

2015-05-25 Thread Hans de Goede
Hi, On 24-05-15 20:07, Michal Suchanek wrote: The 250ms timeout is too short. On my system enabling the oclk takes under 50ms and disabling slightly over 100ms when idle. Under load disabling the clock can take over 350ms. This does not make mmc clock gating look like good option to have on

Re: [PATCH 3/4] drm/tegra: Add VIC support

2015-05-25 Thread Arto Merilainen
On 05/22/2015 01:25 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, May 21, 2015 at 05:40:31PM +0300, Mikko Perttunen wrote: On 05/21/2015 04:20 PM, Arto Merilainen wrote: [...] +static int vic_is_addr_reg(struct device *dev, u32 class, u32 offset, u32 val) +{ + struct

Re: [PATCH] cpufreq:cpufreq-nforce2 - Fix typo in comment to function nforce2_init().

2015-05-25 Thread Viresh Kumar
On 23-05-15, 10:36, Shailendra Verma wrote: Always mention something here on why this is required. Even if the subject is good enough :) Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- drivers/cpufreq/cpufreq-nforce2.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] cpufreq:gx-suspmod - Fix two typos in two comments.

2015-05-25 Thread Viresh Kumar
On 23-05-15, 10:36, Shailendra Verma wrote: Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- drivers/cpufreq/gx-suspmod.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/gx-suspmod.c b/drivers/cpufreq/gx-suspmod.c index

Re: [RFC] Add --show-total-period for perf annotate

2015-05-25 Thread Martin Liška
On 05/23/2015 06:08 AM, Andi Kleen wrote: Martin Liška mli...@suse.cz writes: I've been working on a new feature for perf annotate, which should be able to annotate instructions with total spent time (compared to percentage usage). Let's consider following use-case. You want to compare two

Re: [PATCH] zram: check compressor name before setting it

2015-05-25 Thread Marcin Jabrzyk
On 25/05/15 09:34, Sergey Senozhatsky wrote: On (05/25/15 09:15), Marcin Jabrzyk wrote: [..] I'm perfectly fine with this solution. It just does what I'd expect. cool, let's hear from Minchan. btw, if we decide to move on, how do you guys want to route it? do you want Marcin (I don't

Re: [PATCH 1/1] x86_64: fix KASan shadow region page tables

2015-05-25 Thread Andrey Ryabinin
On 05/22/2015 07:03 PM, Alexander Popov wrote: Physical addresses in KASan shadow region page tables need fixup: kernel halts without it if phys_base is not zero. Indeed. Since we have to patch page tables anyway, compile-time created kasan page tables become pointless. So, I'd suggest to

Re: [RESEND PATCH v1 2/2] drm: bridge/dw_hdmi-i2s-audio: add audio driver

2015-05-25 Thread Paul Bolle
Just a nit: a license mismatch. On Fri, 2015-05-22 at 10:14 -0500, Yakir Yang wrote: --- /dev/null +++ b/drivers/gpu/drm/bridge/dw_hdmi-i2s-audio.c + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as

Re: [git pull] vfs part 2

2015-05-25 Thread Andrey Ryabinin
On 04/23/2015 01:16 PM, Andrey Ryabinin wrote: On 04/15/2015 09:14 PM, Al Viro wrote: 9p: switch p9_client_write() to passing it struct iov_iter * Hi Al, This change caused following: [ 91.637917] == [

[PATCH] regulator: da9062: Fix modalias

2015-05-25 Thread Axel Lin
Remove extra space between platform prefix and driver name in MODULE_ALIAS. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/da9062-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9062-regulator.c

Re: [PATCH V8 00/28] Add new powerpc specific ELF core notes

2015-05-25 Thread Anshuman Khandual
On 05/19/2015 08:37 PM, Anshuman Khandual wrote: From: Anshuman Khandual anshuman@localhost.localdomain This patch series adds twelve new ELF core note sections which can be used with existing ptrace request PTRACE_GETREGSET-SETREGSET for accessing various transactional memory and

Re: [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask

2015-05-25 Thread Charles Keepax
On Sat, May 23, 2015 at 06:32:29PM +0200, Maciej S. Szmigiero wrote: snd_soc_pcm_stream.formats is a bitmask of SNDRV_PCM_FMTBIT_*, not of SNDRV_PCM_FORMAT_* (which are sequential integers), however some of ASoC CODEC drivers use these values instead. Found out by sparse on 0-day kernel

Re: [PATCH] ARM: berlin: add SPI nodes for BG2Q

2015-05-25 Thread Antoine Tenart
Sebastian, On Wed, May 20, 2015 at 06:58:35PM +0200, Sebastian Hesselbarth wrote: On 20.05.2015 14:53, Antoine Tenart wrote: The BG2Q SoC has two SPI controllers. Add the corresponding nodes. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- Based on top of the Berlin

Re: [RFC PATCH v3 21/37] bpf tools: Create eBPF maps defined in an object file

2015-05-25 Thread Wangnan (F)
On 2015/5/19 2:48, Alexei Starovoitov wrote: On 5/17/15 3:56 AM, Wang Nan wrote: This patch creates maps based on 'map' section in object file using bpf_create_map(), and store the fds into an array in 'struct bpf_object'. Since the byte order of the object may differ from the host, swap map

Re: [PATCH 2/2] mmc: sunxi: Also set SDXC_LOW_POWER_ON

2015-05-25 Thread Hans de Goede
Hi, On 24-05-15 20:04, Michal Suchanek wrote: The function sunxi_mmc_oclk_onoff filters out the SDXC_LOW_POWER_ON flag but never sets it. Set SDXC_LOW_POWER_ON when oclk is disabled. Nack, looking at the datasheet I do not thing this patch actually does anything, according to the datasheet

linux-next: manual merge of the kvm tree with Linus' tree

2015-05-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in arch/x86/kvm/x86.c between commit c447e76b4cab (kvm/fpu: Enable eager restore kvm FPU for MPX) from the tree and commit 653f52c316a4 (kvm,x86: load guest FPU context more eagerly) from the kvm tree. I fixed it up (I used the

[GIT PULL] pin control fixes for the v4.1 kernel cycle

2015-05-25 Thread Linus Walleij
Hi Linus, here are some three pin control fixes for the v4.1 cycle, all driver-specific. Business as usual and calm as it should be in this portion of the merge window. Please pull them in! Yours, Linus Walleij The following changes since commit 030bbdbf4c833bc69f502eae58498bc5572db736:

Re: [PATCH] cpufreq:exynos-cpufreq - Fix for memory leak in case SOC name does not match.

2015-05-25 Thread Viresh Kumar
On 25-05-15, 07:39, Shailendra Verma wrote: During probe free the memory allocated to exynos_info in case of unknown SOC type. Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- drivers/cpufreq/exynos-cpufreq.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

Re: [PATCH v4 06/11] md/raid5: get rid of bio_fits_rdev()

2015-05-25 Thread NeilBrown
On Mon, 25 May 2015 00:03:20 -0700 Ming Lin m...@kernel.org wrote: On Sun, May 24, 2015 at 10:48 PM, NeilBrown ne...@suse.de wrote: On Fri, 22 May 2015 11:18:38 -0700 Ming Lin m...@kernel.org wrote: From: Kent Overstreet kent.overstr...@gmail.com Remove bio_fits_rdev() completely,

Re: [PATCH 3/4] drm/tegra: Add VIC support

2015-05-25 Thread Arto Merilainen
Hi Thierry, Thank you for your thorough analysis - and sorry for a bunch of very silly mistakes. I am skipping most trivial parts and focus on the trickier comments and questions. On 05/22/2015 02:47 PM, Thierry Reding wrote: + + struct tegra_bo *ucode_bo; + bool ucode_valid;

Re: [PATCH v2 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-05-25 Thread Tomasz Figa
Hi, Please see my comments inline. On Fri, May 15, 2015 at 6:43 PM, Yong Wu yong...@mediatek.com wrote: [snip] + +struct mtk_iommu_info { + void __iomem*base; + int irq; + struct device *dev; + struct device

[PATCH] [media] lmedm04: Neaten logging

2015-05-25 Thread Joe Perches
Use a more current logging style. o Use pr_fmt o Add missing newlines to formats o Remove used-once lme_debug macro incorporating it into dbg_info o Remove unnecessary allocation error messages o Remove unnecessary semicolons from #defines o Remove info macro and convert uses to pr_info o Fix

linux-next: manual merge of the extcon tree with the battery tree

2015-05-25 Thread Stephen Rothwell
Hi Chanwoo, Today's linux-next merge of the extcon tree got a conflict in include/linux/mfd/axp20x.h between commit 843735b788a4 (power: axp288_charger: axp288 charger driver) from the battery tree and commit f03123783d4e (extcon: axp288: Add axp288 extcon driver support) from the extcon tree. I

Re: [PATCH v6] serial: 8250_uniphier: add UniPhier serial driver

2015-05-25 Thread Shevchenko, Andriy
On Mon, 2015-05-25 at 12:44 +0900, Masahiro Yamada wrote: Add the driver for on-chip UART used on UniPhier SoCs. This hardware is similar to 8250, but the register mapping is slightly different: - The offset to FCR, MCR is different. - The divisor latch access bit does not exist.

Re: [RFC v1] tree-wide: remove select FW_LOADER uses

2015-05-25 Thread Paul Bolle
On Fri, 2015-05-22 at 22:12 +0200, Geert Uytterhoeven wrote: On Fri, May 22, 2015 at 9:30 PM, Austin S Hemmelgarn ahferro...@gmail.com wrote: Either way SUSE kernels also have EXPERT=y as well. Would not be surprised if other major distributions also have EXPERT=y. Right, I believe

[PATCH] drivers:usb:fsl: Introduce FSL_USB2_PHY_UTMI_DUAL macro

2015-05-25 Thread Nikhil Badola
Introduce FSL_USB2_PHY_UTMI_DUAL macro for setting phy mode in SOCs such has T4240, T1040, T2080 which have utmi dual-phy Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- drivers/usb/host/ehci-fsl.c | 1 +

Re: [PATCH 5/6] staging:lustre: style cleanups for lib-socket.c

2015-05-25 Thread Dan Carpenter
On Fri, May 22, 2015 at 02:32:31PM -0400, James Simmons wrote: @@ -167,13 +164,14 @@ lnet_ipif_enumerate (char ***namesp) if (nalloc * sizeof(*ifr) PAGE_CACHE_SIZE) { toobig = 1; nalloc = PAGE_CACHE_SIZE/sizeof(*ifr); -

Re: [PATCH 4/7 V2] workqueue: reuse the current per-node pwq when its attrs unchanged

2015-05-25 Thread Lai Jiangshan
Hi, TJ The patch 4/5/6 does reduce cpu and temporary-memory usage sometimes. But it is in slow path where small optimization is commonly unwelcome at. Do I need to refactor the patches? I'm in doubt for the necessary. Thanks, Lai -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v4 06/11] md/raid5: get rid of bio_fits_rdev()

2015-05-25 Thread Ming Lin
On Sun, May 24, 2015 at 10:48 PM, NeilBrown ne...@suse.de wrote: On Fri, 22 May 2015 11:18:38 -0700 Ming Lin m...@kernel.org wrote: From: Kent Overstreet kent.overstr...@gmail.com Remove bio_fits_rdev() completely, because -merge_bvec_fn() has now gone. There's no point in calling

RE: [PATCH v3 20/21] nfit-test: manufactured NFITs for interface development

2015-05-25 Thread Elliott, Robert (Server Storage)
-Original Message- From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of Dan Williams Sent: Wednesday, May 20, 2015 3:58 PM To: ax...@kernel.dk Subject: [PATCH v3 20/21] nfit-test: manufactured NFITs for interface development ... Attached is some experimental

Re: [RFC PATCH v3 18/37] bpf tools: Record map accessing instructions for each program

2015-05-25 Thread Wangnan (F)
On 2015/5/19 2:34, Alexei Starovoitov wrote: On 5/17/15 3:56 AM, Wang Nan wrote: This patch records the indics of instructions which are needed to be relocated. Those information are saved in 'reloc_desc' field in 'struct bpf_program'. In loading phase (this patch takes effect in opening

Re: [RFC PATCH v2 03/15] perf bpf: Save pt_regs info from debuginfo

2015-05-25 Thread He Kuang
On 2015/5/24 21:31, Masami Hiramatsu wrote: On 2015/05/24 17:27, He Kuang wrote: Save reg number in function convert_variable_location() instead of the register string name, so we can fetch the target register from bpf context register later. This is not needed because you can also get

Re: [PATCH 00/15] MIPS Malta DT Conversion

2015-05-25 Thread Rob Landley
On Fri, May 22, 2015 at 10:50 AM, Paul Burton paul.bur...@imgtec.com wrote: This series begins converting the MIPS Malta board to use device tree, which is done with a few goals in mind: - To modernise the Malta board support, providing a cleaner example to people referencing it when

Re: [PATCH] perf: fix wrong DEBUG configuration

2015-05-25 Thread Martin Liška
On 05/22/2015 09:02 AM, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@kernel.org wrote: Em Wed, May 20, 2015 at 06:16:51PM +0200, Martin Liška escreveu: On 05/20/2015 04:55 PM, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@kernel.org wrote: So the rule has been: What are the

Re: [PATCH V5 00/13] POWER DSCR fixes, improvements, docs and tests

2015-05-25 Thread Anshuman Khandual
On 05/21/2015 12:13 PM, Anshuman Khandual wrote: This patch series has patches for POWER DSCR fixes, improvements, in code documentaion, kernel support user documentation and selftest based test cases. It has got five test cases which are derived from Anton's DSCR test bucket which can

Re: [PATCH 5/5] mmc: omap_hsmmc: Change wake-up interrupt to use generic wakeirq

2015-05-25 Thread Ulf Hansson
On 14 May 2015 at 01:36, Tony Lindgren t...@atomide.com wrote: We can now use generic wakeirq handling and remove the custom handling for the wake-up interrupts. Signed-off-by: Tony Lindgren t...@atomide.com Rafael, if you are fine with it, please take this one through your linux-pm tree.

Re: [v7 4/8] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2015-05-25 Thread Thomas Gleixner
On Mon, 25 May 2015, Feng Wu wrote: We don't need to migrate the irqs for VT-d Posted-Interrupts here. When 'pst' is set in IRTE, the associated irq will be posted to guests instead of interrupt remapping. The destination of the interrupt is set in Posted-Interrupts Descriptor, and the

Re: [RFC] signal:remove duplicate code

2015-05-25 Thread Richard Weinberger
Am 25.05.2015 um 07:49 schrieb yalin wang: __dequeue_signal() is only called by dequeue_signal(), after that, dequeue_signal() will call recalc_sigpending(), this function will set or unset TIF_SIGPENDING bit, so we don't need do this in __dequeue_signal() Signed-off-by: yalin wang

Re: [PATCH] backlight: pwm: handle EPROBE_DEFER while requesting the PWM

2015-05-25 Thread Boris Brezillon
Hi Lee, On Thu, 12 Mar 2015 09:02:24 + Lee Jones lee.jo...@linaro.org wrote: On Thu, 19 Feb 2015, Nicolas Ferre wrote: When trying to request the PWM device with devm_pwm_get(), the EPROBE_DEFER flag is not handled properly. It can lead to the PWM not being found. Signed-off-by:

Re: RaspberryPi is this a real kernel?

2015-05-25 Thread John Whitmore
On Sun, May 24, 2015 at 09:11:56PM -0400, valdis.kletni...@vt.edu wrote: On Sun, 24 May 2015 11:32:36 +0100, John Whitmore said: $ ./mkknlimg ../../linux/arch/arm/boot/zImage 3.18.0-can+.img tail: +: invalid number of bytes * Is this a valid kernel? In pass-through mode. Looks like

[PATCH] rtc: pcf8563 fix: return -EINVAL if we read an invalid time.

2015-05-25 Thread Jan Kardell
Return -EINVAL if the voltage low bit is set or the time looks invalid to avoid getting a bogus time at boot. There was a comment stating that util-linux hwclock refuses to set a new time if we return an error code on read, but at least the current version do set the time as expected. Anyway most

linux-next: manual merge of the userns tree with the vfs tree

2015-05-25 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in fs/libfs.c between commit 61ba64fc0768 (libfs: simple_follow_link()) from the vfs tree and commit d5044ae07353 (fs: Add helper functions for permanently empty directories.) from the userns tree. I fixed it up (see below) and

[PATCH] proc/schedstat: Expose /proc/pid/schedstat if delay accounting is enabled

2015-05-25 Thread Naveen N. Rao
/proc/pid/schedstat is currently only available if CONFIG_SCHEDSTATS is enabled. But, all the fields that this exposes are available and valid if CONFIG_TASK_DELAY_ACCT is enabled as well. Signed-off-by: Naveen N. Rao naveen.n@linux.vnet.ibm.com --- fs/proc/base.c | 11 +++ 1 file

Re: [PATCH] zram: check compressor name before setting it

2015-05-25 Thread Marcin Jabrzyk
Hi Sergey, On 25/05/15 08:18, Sergey Senozhatsky wrote: On (05/22/15 15:26), Marcin Jabrzyk wrote: From the other hand, the only valid values that can be written are in 'comp_algorithm'. So when writing other one, returning -EINVAL seems to be reasonable. The user would get immediately

Re: Device Tree Blob (DTB) licence

2015-05-25 Thread Rob Landley
On Fri, May 22, 2015 at 2:27 PM, Yann Droneaud ydrone...@opteya.com wrote: I've added licens...@fsf.ogrg in Cc: in my previous message to have an advice on this subject, but I failed to notice licens...@fsf.org is not a mailing list: I was assigned request ID [gnu.org #1017262]. Regards.

[GIT PULL] GPIO fixes for the v4.1 series

2015-05-25 Thread Linus Walleij
Hi Linus, here are two GPIO fixes targeted for stable. Nothing special, a blurb in the signed tag. Please pull this in! Yours, Linus Walleij The following changes since commit 030bbdbf4c833bc69f502eae58498bc5572db736: Linux 4.1-rc3 (2015-05-10 15:12:29 -0700) are available in the git

Re: [PATCH] zram: check compressor name before setting it

2015-05-25 Thread Sergey Senozhatsky
On (05/25/15 09:15), Marcin Jabrzyk wrote: [..] I'm perfectly fine with this solution. It just does what I'd expect. cool, let's hear from Minchan. btw, if we decide to move on, how do you guys want to route it? do you want Marcin (I don't mind) or me (of course, with the appropriate

[PATCH v2] coresight-etm3x: Add Qualcomm PTM v1.1 peripheral ID

2015-05-25 Thread Ivan T. Ivanov
Add Qualcomm's PTM v1.1 peripheral ID to supported devices. This device could be found at least in MSM8974 and APQ8064 chipsets. Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org --- Changes since v1: - s/PFT/PTM/ to describe device and not protocol implementation

linux-next: manual merge of the tty tree with the tty.current tree

2015-05-25 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in drivers/tty/serial/amba-pl011.c between commit 43dd1f9a5b05 (serial/amba-pl011: Unconditionally poll for FIFO space before each TX char) from the tty.current tree and commit 1e84d22322ce (serial/amba-pl011: Refactor and simplify

RE: [PATCH v5 19/21] clk: tegra: Add Super Gen5 Logic

2015-05-25 Thread Bill Huang
-Original Message- From: ble...@google.com [mailto:ble...@google.com] On Behalf Of Benson Leung Sent: Friday, May 15, 2015 3:37 AM To: Rhyland Klein Cc: Peter De Schrijver; Mike Turquette; Stephen Warren; Stephen Boyd; Thierry Reding; Alexandre Courbot; Bill Huang; Paul Walmsley;

Re: [RFC PATCH v2 09/15] perf probe: Support $params without debuginfo

2015-05-25 Thread He Kuang
hi, On 2015/5/24 16:49, Masami Hiramatsu wrote: On 2015/05/24 17:28, He Kuang wrote: When probing at function entry, fallback $params to calling regs if no debuginfo is provided. Before this path: $ perf probe -v --add='generic_perform_write $params' ... Added new event:

Re: [PATCH] ARM: berlin: add SPI nodes for BG2Q

2015-05-25 Thread Antoine Tenart
On Thu, May 21, 2015 at 01:21:42AM +0200, Sebastian Hesselbarth wrote: On 20.05.2015 14:53, Antoine Tenart wrote: + +spi0_pmux: spi0-pmux { +groups = G8, G9, G10, G11; +function = spi1; +

[PATCH 2/2] mfd: arizona: Add DT/ACPI u32 helper functions

2015-05-25 Thread Charles Keepax
Add helpers to read u32's and arrays of u32's from device tree or ACPI using the new device properties API. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c | 39 ++ include/linux/mfd/arizona/core.h |

[PATCH 1/2] mfd: arizona: Add convience defines for micd_rate/micd_bias_starttime

2015-05-25 Thread Charles Keepax
Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- include/dt-bindings/mfd/arizona.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/dt-bindings/mfd/arizona.h b/include/dt-bindings/mfd/arizona.h index c7af7c7..5556099 100644 ---

Re: [RESEND PATCH v1 2/2] drm: bridge/dw_hdmi-i2s-audio: add audio driver

2015-05-25 Thread Yakir
Hi Paul, 在 2015/5/25 16:24, Paul Bolle 写道: Just a nit: a license mismatch. On Fri, 2015-05-22 at 10:14 -0500, Yakir Yang wrote: --- /dev/null +++ b/drivers/gpu/drm/bridge/dw_hdmi-i2s-audio.c + * This program is free software; you can redistribute it and/or modify + * it under the terms of the

[PATCH v3 0/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-25 Thread fu . wei
From: Fu Wei fu@linaro.org This patchset: (1)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt for FDT info of SBSA Generic Watchdog, and give two examples of adding SBSA Generic Watchdog device node into the dts files: foundation-v8.dts and

[PATCH 2/3] f2fs crypto: check dir entry just for directory

2015-05-25 Thread Chao Yu
This patch fixes to add a judgement condition to verify type of the target inode before empty directory verification. So wrong verification could be avoided for non-directory inode. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/crypto_policy.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] drm/atomic: fix out of bounds read in for_each_*_in_state helpers

2015-05-25 Thread Andrey Ryabinin
for_each_*_in_state validate array index after access to array elements, thus perform out of bounds read. Fix this by validating index in the first place and read array element iff validation was successful. Fixes: df63b9994eaf (drm/atomic: Add for_each_{connector,crtc,plane}_in_state helper

Re: [RFC PATCH 2/4] x86, mwaitt: introduce mwaitx idle with a configurable timer

2015-05-25 Thread Ingo Molnar
* Huang Rui ray.hu...@amd.com wrote: No, the timeout value doesn't decide how 'deep' the power state enters. Basically, the same power consumption with any timeout. I summarized the comparison of mwait and mwaitx MWAIT MWAITX opcode 0f

Re: [PATCH v3 1/6] Documentation: dmaengine: pxa-dma design

2015-05-25 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Robert Jarzmik robert.jarz...@free.fr writes: Robert Jarzmik robert.jarz...@free.fr writes: Hi Vinod, ... removed most of the people as this is a non-technical mail ... I hope to land this in the upcoming merge window. We're at -rc3, so time

Re: [RFC v1] tree-wide: remove select FW_LOADER uses

2015-05-25 Thread Paul Bolle
On Fri, 2015-05-22 at 11:52 -0700, Dmitry Torokhov wrote: selects still don't cascade down - right? select statements trigger the select statements of the selected symbol, if that's what you mean. Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] perf: fix wrong DEBUG configuration

2015-05-25 Thread Ingo Molnar
* Martin Liška mli...@suse.cz wrote: Right optimize debugging experience is given by passing -Og to compiler. Assign default value for pointers that are identified by compiler as non-initialized. s/Right optimize debugging experience is given/ Correct debugging experience is given/

Re: [PATCH 1/8] kernel/exit.c: make sure current's nsproxy != NULL while checking caps

2015-05-25 Thread Lukasz Pawelczyk
On sob, 2015-05-23 at 12:49 -0500, Eric W. Biederman wrote: Lukasz Pawelczyk l.pawelc...@samsung.com writes: There is a rare case where current's nsproxy might be NULL but we are required to check for credentials and capabilities. It sometimes happens during an exit_group() syscall while

RE: [f2fs-dev] [PATCH 2/3] f2fs crypto: use bounce pages from mempool first

2015-05-25 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Friday, May 22, 2015 8:40 AM To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Cc: Jaegeuk Kim Subject: [f2fs-dev] [PATCH 2/3] f2fs crypto: use

Re: [RFC PATCH 2/2] arm64: Implement vmalloc based thread_info allocator

2015-05-25 Thread Jungseok Lee
On May 25, 2015, at 2:49 AM, Arnd Bergmann wrote: On Monday 25 May 2015 01:02:20 Jungseok Lee wrote: Fork-routine sometimes fails to get a physically contiguous region for thread_info on 4KB page system although free memory is enough. That is, a physically contiguous region, which is currently

[PATCH 3/3] f2fs crypto: allow setting encryption policy once

2015-05-25 Thread Chao Yu
This patch add XATTR_CREATE flag in setxattr when setting encryption context for inode. Without this flag the context could be set more than once, this should never happen. So, fix it. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/crypto_policy.c | 4 ++-- 1 file changed, 2

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-25 Thread Kirill A. Shutemov
On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: Hi all, I noticed a regression on my arm64 APM X-Gene system a couple of weeks back. I would occassionally see the system lock up and see RCU stalls during the caching phase of kernbench. I then wrote a small script that

Re: [PATCH v6] serial: 8250_uniphier: add UniPhier serial driver

2015-05-25 Thread Masahiro Yamada
Hi Andy, 2015-05-25 18:14 GMT+09:00 Shevchenko, Andriy andriy.shevche...@intel.com: On Mon, 2015-05-25 at 12:44 +0900, Masahiro Yamada wrote: Add the driver for on-chip UART used on UniPhier SoCs. This hardware is similar to 8250, but the register mapping is slightly different: - The

Re: [BUG] Read-Only THP causes stalls (commit 10359213d)

2015-05-25 Thread Christoffer Dall
On Mon, May 25, 2015 at 01:05:15PM +0300, Kirill A. Shutemov wrote: On Sun, May 24, 2015 at 09:34:04PM +0200, Christoffer Dall wrote: Hi all, I noticed a regression on my arm64 APM X-Gene system a couple of weeks back. I would occassionally see the system lock up and see RCU stalls

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

2015-05-25 Thread Stephen Rothwell
Hi Eric, After merging the userns tree, today's linux-next build (powerpc allnoconfig) failed like this: In file included from include/linux/kobject.h:21:0, from include/linux/device.h:17, from arch/powerpc/include/asm/io.h:27, from

Re: [PATCH] perf: fix wrong DEBUG configuration

2015-05-25 Thread Ingo Molnar
* Martin Liška mli...@suse.cz wrote: Currently, GCC optimizes -O6 same as -O3 level, thus change the value to -O6. s/to -O6 to -O3 Right optimize debugging experience is given by passing -Og to compiler. Assign default value for pointers that are identified by compiler as

Re: [PATCH] ARM: module: Add .ref.text to arm unwind tables

2015-05-25 Thread vigneshr
Forgot to add Maintainers. Adding them now. On 05/13/2015 08:20 AM, Vignesh Radhakrishnan wrote: Functions inside kernel modules that use __ref will end up being placed in .ARM.exidx.ref.text section by gcc. Currently we don't consider adding these functions to arm unwind tables. Hence,

Re: [RFC v1] tree-wide: remove select FW_LOADER uses

2015-05-25 Thread Paul Bolle
On Fri, 2015-05-22 at 14:43 -0700, j...@joshtriplett.org wrote: Ideally, someone should teach Kconfig to handle recursive dependencies, I'm probably reading too much in this remark, but how should it handle that other than returning an error because the configuration it's fed makes it run in

Re: [PATCH v5 36/37] MIPS: ingenic: initial JZ4780 support

2015-05-25 Thread Hauke Mehrtens
On 05/24/2015 05:11 PM, Paul Burton wrote: Support the Ingenic JZ4780 SoC using the existing code under arch/mips/jz4740 now that it has been generalised sufficiently. Signed-off-by: Paul Burton paul.bur...@imgtec.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala

Re: [PATCH] perf: fix wrong DEBUG configuration

2015-05-25 Thread Martin Liška
On 05/25/2015 01:09 PM, Ingo Molnar wrote: * Martin Liška mli...@suse.cz wrote: Right optimize debugging experience is given by passing -Og to compiler. Assign default value for pointers that are identified by compiler as non-initialized. s/Right optimize debugging experience is given/

Re: [PATCH v4 1/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-25 Thread Gregory CLEMENT
Hi Andrew, On 20/05/2015 13:00, Sebastian Hesselbarth wrote: On 20.05.2015 12:20, Andrew wrote: Sebastian Hesselbarth писал 20.05.2015 12:05: On 19.05.2015 23:10, Andrew Andrianov wrote: DNS-327L is a 2-bay NAS with the following specs: [...] Signed-off-by: Andrew Andrianov

linux-next: build failure after merge of the akpm-current tree

2015-05-25 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: __NR_syscalls (364) is not one more than the last syscall (364) Caused by commit d7766613717b (userfaultfd: activate syscall). (BTW, I notice that this patch was not cc'd to any

[PATCH v2 1/2] f2fs: avoid duplicated code by reusing f2fs_read_end_io

2015-05-25 Thread Chao Yu
This patch tries to clean up code because part code of f2fs_read_end_io and mpage_end_io are the same, so it's better to merge and reuse them. Signed-off-by: Chao Yu chao2...@samsung.com --- v2: * do not merge 'f2fs_end_io_crypto_work' and 'return' to indicate f2fs_end_io_crypto_work is

RE: [PATCH 1/2] f2fs: avoid duplicated code by reusing f2fs_read_end_io

2015-05-25 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Wednesday, May 20, 2015 1:49 AM To: Chao Yu Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] f2fs: avoid duplicated code by reusing

[PATCH 1/3] f2fs crypto: check context consistent for rename2

2015-05-25 Thread Chao Yu
For exchange rename, we should check context consistent of encryption between new_dir and old_inode or old_dir and new_inode. Otherwise inheritance of parent's encryption context will be broken. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/namei.c | 9 + 1 file changed, 9

[PATCH v3 6/6] ACPI: import watchdog info of GTDT into platform device

2015-05-25 Thread fu . wei
From: Fu Wei fu@linaro.org Parse SBSA Generic Watchdog Structure in GTDT table of ACPI, and create a platform device with that information. This platform device can be used by the ARM SBSA Generic Watchdog driver. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by:

[PATCH v3 3/6] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2015-05-25 Thread fu . wei
From: Fu Wei fu@linaro.org This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Suravee

[PATCH v3 4/6] Watchdog: introdouce pretimeout into framework

2015-05-25 Thread fu . wei
From: Fu Wei fu@linaro.org Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API watchdog_init_timeouts Reasons: (1)kernel already has two watchdog drivers are using pretimeout:

[PATCH v3 1/6] Documentation: add sbsa-gwdt.txt documentation

2015-05-25 Thread fu . wei
From: Fu Wei fu@linaro.org The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for introducing SBSA(Server Base System Architecture) Generic Watchdog device node info into FDT. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Fu Wei fu@linaro.org ---

[PATCH v3 2/6] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-05-25 Thread fu . wei
From: Fu Wei fu@linaro.org This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Fu Wei fu@linaro.org --- arch/arm64/boot/dts/arm/foundation-v8.dts | 10

[PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-25 Thread fu . wei
From: Fu Wei fu@linaro.org This driver bases on linux kernel watchdog framework, and use pretimeout in the framework. It supports getting timeout and pretimeout from parameter and FDT at the driver init stage. In first timeout, the interrupt routine run panic to save system context.

[PATCH 0/3] Add support for Richtek RT9455 battery charger

2015-05-25 Thread Anda-Maria Nicolae
Hello, The next 3 patches do the following: - first patch adds Richtek Technology Corporation in the vendor-prefixes list - second patch adds device tree binding example for Richtek RT9455 battery charger - third patch adds the driver for Richtek RT9455 battery charger Thanks, Anda Anda-Maria

[PATCH 3/3] power_supply: Add support for Richtek RT9455 battery charger

2015-05-25 Thread Anda-Maria Nicolae
Based on the datasheet found here: http://www.richtek.com/download_ds.jsp?p=RT9455 Signed-off-by: Anda-Maria Nicolae anda-maria.nico...@intel.com --- drivers/power/Kconfig |7 + drivers/power/Makefile |1 + drivers/power/rt9455_charger.c | 1821

  1   2   3   4   5   6   7   8   9   10   >