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 se

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 experime

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 wrote: > On Fri, 22 May 2015 11:18:38 -0700 Ming Lin wrote: > >> From: Kent Overstreet >> >> Remove bio_fits_rdev() completely, because ->merge_bvec_fn() has now >> gone. There's no point in calling bio_fits_rdev() only for ensuring >> aligned read fro

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

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

2015-05-25 Thread Naveen N. Rao
/proc//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 --- fs/proc/base.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions

Re: Device Tree Blob (DTB) licence

2015-05-25 Thread Rob Landley
On Fri, May 22, 2015 at 2:27 PM, Yann Droneaud 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. They're also not an

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 informa

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 > --- > drivers/cpufreq/cpufreq-nforce2.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drive

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 > --- > 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 1d723dc..3488c9c 100644 > ---

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] 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 repos

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 > --- > drivers/cpufreq/exynos-cpufreq.c |6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/dri

[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: Linu

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 cr

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 phase

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 als

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 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 different compil

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 wrote: > On Sun, May 24, 2015 at 10:48 PM, NeilBrown wrote: > > On Fri, 22 May 2015 11:18:38 -0700 Ming Lin wrote: > > > >> From: Kent Overstreet > >> > >> Remove bio_fits_rdev() completely, because ->merge_bvec_fn() has now > >> gone. There's no poi

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 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 bringing up new boar

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 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 wrote: So the rule has been: What are the kernel requirements for the toolcha

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 mind

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 c

[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 --- Changes since v1: - s/PFT/PTM/ to describe device and not protocol implementation drivers/hwtracing/coresight/coresight-etm3x.c |

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 simplif

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 Walms

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 a

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; +

[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 spel

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 wrote: [snip] > + > +struct mtk_iommu_info { > + void __iomem*base; > + int irq; > + struct device *dev; > + struct device *larbdev[MTK_IOMMU_LA

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 --- drivers/regulator/da9062-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9062-regulator.c b/drivers/regulator/da9062-regulator.c index 9805

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 e

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 mig

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 ca

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 wrote: > We can now use generic wakeirq handling and remove the custom handling > for the wake-up interrupts. > > Signed-off-by: Tony Lindgren Rafael, if you are fine with it, please take this one through your linux-pm tree. Acked-by: Ulf Hansson Kind re

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 > > 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 other miscellaneous debug regi

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.

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: [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] 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 > >--- > > > >Based on top of the Berlin clock rework series. >

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"; > >+functio

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 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 d

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 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: Boris Brezi

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

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 > 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 Fed

[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 Signed-off-by: Nikhil Badola --- drivers/usb/host/ehci-fsl.c | 1 + drivers/usb/host/fsl-mph-dr-of.c | 2 ++ include/linux/fsl_devices.h

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); > -

[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 --- 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 --- a/include/dt-bindings/mfd/arizona.h +

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 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 --- drivers/mfd/arizona-core.c | 39 ++ include/linux/mfd/arizona/core.h |5 2 files changed, 44 insertio

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 linu

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) a

[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 r

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:

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 cur

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 reusi

[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 --- v2: * do not merge 'f2fs_end_io_crypto_work' and 'return' to indicate f2fs_end_io_crypto_work is defined to be a void retur

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

2015-05-25 Thread fu . wei
From: Fu Wei 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 amd-seattle-soc.dtsi. (2)Introd

[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 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 Acked-by: Suravee Suthikulpanit Tested-by: Suravee Suthikulpanit Signed-off-by: Fu Wei --- arch/arm64/boot/dts/amd/amd

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

2015-05-25 Thread fu . wei
From: Fu Wei 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": drivers/char/ipmi/

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

2015-05-25 Thread fu . wei
From: Fu Wei 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 Signed-off-by: Fu Wei --- .../devicetree/bindings/watchdog/sbsa-gwdt.txt | 36 +

[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 --- fs/f2fs/namei.c | 9 + 1 file changed, 9 insertions(+) diff --git

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

2015-05-25 Thread fu . wei
From: Fu Wei 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 Tested-by: Timur Tabi Signed-off-by: Fu Wei --- arch/arm64/

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

2015-05-25 Thread fu . wei
From: Fu Wei 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 Signed-off-by: Fu Wei --- arch/arm64/boot/dts/arm/foundation-v8.dts | 10 ++ 1 file changed, 10 insertions(+) d

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

2015-05-25 Thread fu . wei
From: Fu Wei 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. Acked-by: Arnd Bergmann

[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 --- fs/f2fs/crypto_policy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

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 th

[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 --- fs/f2fs/crypto_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

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 : > 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 i

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 > >

[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 N

[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 --- drivers/power/Kconfig |7 + drivers/power/Makefile |1 + drivers/power/rt9455_charger.c | 1821 3 files chang

[PATCH 1/3] of: Add vendor prefix for Richtek Technology Corporation

2015-05-25 Thread Anda-Maria Nicolae
Signed-off-by: Anda-Maria Nicolae --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 8033919..7b8c129 100644 --- a/Docume

[PATCH 2/3] Documentation: devicetree: Add Richtek RT9455 bindings

2015-05-25 Thread Anda-Maria Nicolae
Signed-off-by: Anda-Maria Nicolae --- .../devicetree/bindings/power/rt9455_charger.txt | 46 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/rt9455_charger.txt diff --git a/Documentation/devicetree/bindings/power/rt9455_charge

Re: [PATCH v3 2/2] soc: Add driver for Freescale Vybrid Platform

2015-05-25 Thread maitysanchayan
Hello Arnd, On 15-05-22 15:20:00, Arnd Bergmann wrote: > On Friday 22 May 2015 14:02:52 Stefan Agner wrote: > > > Can you use syscon_regmap_lookup_by_phandle instead, and put the > > > phandles in the fsl,vf610-mscm-cpucfg node? > > > > Hm, with that we would wire up hardware modules which does n

[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 ma

Re: [PATCH 1/4] arm64: gicv3: its: Encode domain number in PCI stream id

2015-05-25 Thread Marc Zyngier
On Fri, 22 May 2015 23:57:40 +0100 "Chalamarla, Tirumalesh" wrote: Hi Tirumalesh, > > > On May 22, 2015, at 1:26 AM, Marc Zyngier wrote: > > > > On 20/05/15 13:48, Robert Richter wrote: > >> Mark, > >> > >> thanks for review, also of the other patches of this series. > >> > >> See below > >

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 arch/powerpc/

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

2015-05-25 Thread Ingo Molnar
* Huang Rui 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 01 c9

Re: [PATCH] perf: fix wrong DEBUG configuration

2015-05-25 Thread Ingo Molnar
* Martin Liška 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 non-initialized. s/Ri

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 cir

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 table

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

2015-05-25 Thread Paul Bolle
On Fri, 2015-05-22 at 21:28 +0200, Luis R. Rodriguez wrote: > > So I see your GYM and LOCKER example, or better, the original FW & > > CRYPTO warning and I wonder why do we actually go and check dependencies > > of selected symbols when resolving given symbol. > > I'm no kconfig expert and I wond

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

2015-05-25 Thread Robert Jarzmik
Robert Jarzmik writes: > Robert Jarzmik writes: > >> Robert Jarzmik 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 is >> short. Apart from patch 6/6 where I still hav

Re: [PATCH] perf: fix wrong DEBUG configuration

2015-05-25 Thread Martin Liška
On 05/25/2015 12:47 PM, Ingo Molnar wrote: * Martin Liška 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

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

2015-05-25 Thread Stephen Rothwell
Hi all, After merging the extcon tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/power/axp288_charger.c: In function 'axp288_charger_probe': drivers/power/axp288_charger.c:851:8: error: incompatible type for argument 2 of 'extcon_register_notifier' ret = extcon_

Re: [PATCH] perf: fix wrong DEBUG configuration

2015-05-25 Thread Ingo Molnar
* Martin Liška 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: [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 bod

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 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 debuggin

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 > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Lars-Peter Clausen > Cc: Mark Rutland > Cc: Pawe

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 an

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

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 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 destroying user'

Re: [PATCH] cgroup: add explicit cast and comment for return type conversion

2015-05-25 Thread Tejun Heo
Hello, Nicholas. On Mon, May 25, 2015 at 07:57:42AM +0200, Nicholas Mc Guire wrote: > nop not downward but signed/unsigned if it were down it would not be > a problem but signed/unsigned can be - for those cases where it can't > be fixed up by changing the declarations or return variable types >

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-25 Thread Heikki Krogerus
Hi, > Why do we even need that? If you take patch that makes ulpi_init a > subsys_initcall you won't have this problem, and no additional weird > hacks and errors will be needed Using subsys_initcall will work around the problem for now, but I would not make the assumption that there will never b

[PATCH] ARM: dts: odroidxu3: Enable wake alarm of S2MPS11 RTC

2015-05-25 Thread Krzysztof Kozlowski
The IRQB of S2MPS11 PMIC is wired to XEINT4 (GPX0-4) through pull-up resistor. Add interrupt properties and pinctrl configuration to enable RTC wake alarm of rtc-s5m driver. This also removes a warning: sec_pmic 4-0066: No interrupt specified, no interrupts Signed-off-by: Krzysztof Kozlowski ---

Re: [RFC PATCH v3 30/37] perf bpf: Add bpf-loader and open ELF object files

2015-05-25 Thread Wangnan (F)
On 2015/5/23 1:24, Jiri Olsa wrote: On Sun, May 17, 2015 at 10:56:55AM +, Wang Nan wrote: SNIP +#define DEFINE_PRINT_FN(name, level) \ +static int libbpf_##name(const char *fmt, ...) \ +{ \ + va_list args; \ +

Re: [PATCH] cgroup: add explicit cast and comment for return type conversion

2015-05-25 Thread Nicholas Mc Guire
On Mon, 25 May 2015, Tejun Heo wrote: > Hello, Nicholas. > > On Mon, May 25, 2015 at 07:57:42AM +0200, Nicholas Mc Guire wrote: > > nop not downward but signed/unsigned if it were down it would not be > > a problem but signed/unsigned can be - for those cases where it can't > > be fixed up by ch

Re: [PATCH] HID: usbhid: add Chicony/Pixart usb optical mouse that needs QUIRK_ALWAYS_POLL

2015-05-25 Thread Jiri Kosina
On Thu, 21 May 2015, Herton R. Krzesinski wrote: > I received a report from an user of following mouse which needs this quirk: > > usb 1-1.6: USB disconnect, device number 58 > usb 1-1.6: new low speed USB device number 59 using ehci_hcd > usb 1-1.6: New USB device found, idVendor=04f2, idProduct

  1   2   3   4   5   >