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

2014-08-26 Thread Stephan Mueller
Am Dienstag, 26. August 2014, 14:38:12 schrieb Herbert Xu: Hi Herbert, >On Tue, Aug 26, 2014 at 04:14:56PM +1000, Stephen Rothwell wrote: >> Hi Herbert, >> >> After merging the crypto tree, today's linux-next build (powerpc >> ppc44x_defconfig, i386 defconfig and sparc defconfig) produced these

Re: [PATCH -mm] prctl: PR_SET_MM -- Introduce PR_SET_MM_MAP operation, v4

2014-08-26 Thread Cyrill Gorcunov
On Mon, Aug 25, 2014 at 02:08:43PM +0400, Cyrill Gorcunov wrote: > During development of c/r we've noticed that in case if we need to > support user namespaces we face a problem with capabilities in > prctl(PR_SET_MM, ...) call, in particular once new user namespace > is created capable(CAP_SYS_RES

Re: [PATCH v4] spi: spi-imx: add DMA support

2014-08-26 Thread Robin Gong
On Mon, Aug 25, 2014 at 10:07:22AM +0200, Marek Vasut wrote: > On Saturday, August 23, 2014 at 02:13:55 AM, Robin Gong wrote: > > After enable DMA > > Please also add a commit message which describes the change, not only some > test > results. > > [...] > Ok, I will enrich it in next version.

[PATCH] net: stmmac: fix warning from Sparse for socfpga

2014-08-26 Thread Ley Foon Tan
Warning: drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:41: sparse: cast removes address space of expression drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:38: sparse: incorrect type in assignment (different address spaces) Signed-off-by: Ley Foon Tan --- drivers/net/ethernet/s

Re: [PATCH v3 2/8] ARM: tegra: Add SATA controller to Tegra124 device tree

2014-08-26 Thread Mikko Perttunen
On 25/08/14 20:23, Stephen Warren wrote: On 07/16/2014 02:54 AM, Mikko Perttunen wrote: This adds the integrated AHCI-compliant Serial ATA controller present in Tegra124 systems-on-chip to the Tegra124 device tree. I have applied patches 2 and 3 to Tegra's for-3.18/dt branch. I fixed the DT no

Re: [PATCH v9 1/2] regulator: Add driver for max77802 PMIC PMIC regulators

2014-08-26 Thread Mark Brown
On Mon, Aug 25, 2014 at 08:40:40AM -0700, Doug Anderson wrote: > On Mon, Aug 25, 2014 at 2:07 AM, Javier Martinez Canillas > > I see, so probably until we have a way to define the operating mode for > > each regulator using DT we should set the opmode to normal when enabling a > > regulator indepe

About the reboot hang issue with EHCI driver on the Baytrail platform

2014-08-26 Thread Gavin Guo
Hi, I found that in the Baytrail-m platform if the "USB3.0 Configuration in Pre-OS" is set to Auto in the BIOS, the system will boot with EHCI-enabled. And test reboot 200 times. It sometimes hang in the shutdown process "ehci-pci :00:1d.0: shutdown." I also found that sometimes hang in the bo

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-08-26 Thread Jason Wang
On 08/25/2014 09:16 PM, Eliezer Tamir wrote: > On 22/08/2014 17:16, Eric Dumazet wrote: >> > On Fri, 2014-08-22 at 17:08 +0800, Jason Wang wrote: >> > >>> >> But this is just for current process. We want to determine whether or >>> >> not it was worth to loop busily in current process by checking

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

2014-08-26 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc64 defconfig) failed like this: kernel/built-in.o: In function `proc_dowatchdog': (.text+0x6a620): undefined reference to `watchdog_hardlockup_detector_is_enabled' kernel/built-in.o: In function `proc_dowatchdog': (.text+0x6a

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

2014-08-26 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm defconfig) produced these warnings: In file included from /scratch/sfr/next/include/asm-generic/bug.h:13:0, from /scratch/sfr/next/arch/arm/include/asm/bug.h:61, from /scratch/sfr/next/

Re: [PATCHv4 0/4] pwm: imx: support output polarity inversion

2014-08-26 Thread Lothar Waßmann
Hi, Lothar Waßmann wrote: > This patch series adds support for polarity inversion to the pwm-imx > driver. The patches have been tested on i.MX6, i.MX53 and with the > ti-ehrpwm.c driver. > > Changes wrt. v2: > - make the use of '#pwm-cells = <3>' optional, so that the change does > not break e

Re: [PATCH] net: stmmac: fix warning from Sparse for socfpga

2014-08-26 Thread Giuseppe CAVALLARO
On 8/26/2014 9:11 AM, Ley Foon Tan wrote: Warning: drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:41: sparse: cast removes address space of expression drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:38: sparse: incorrect type in assignment (different address spaces) Signed-off-b

Re: [PATCH] HID: input: force generic axis to be mapped to their user space axis

2014-08-26 Thread Jiri Kosina
On Mon, 25 Aug 2014, Benjamin Tissoires wrote: > Atmel 840B digitizer presents a stylus interface which reports twice > the X coordinate and then twice the Y coordinate. In its current > implementation, hid-input assign the first X to X, then the second to Y, > then the first Y to Z, then the seco

Re: [PATCH v6 1/3] mfd: devicetree: bindings: Add Qualcomm RPM DT binding

2014-08-26 Thread Lee Jones
On Mon, 25 Aug 2014, Bjorn Andersson wrote: > Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660, > 8960 and 8064 based devices. The binding currently describes the rpm > itself and the regulator subnodes. > > Signed-off-by: Bjorn Andersson > --- > Documentation/devicetree/

[PATCHv2] ARM: debug: uncompress debug support for omap2plus

2014-08-26 Thread kpark3469
From: Sahara Since OMAP low-level debug code places data in the .data section, The symbol DEBUG_UNCOMPRESS was defined with !DEBUG_OMAP2PLUS_UART. This patch removes the part using data section in debug/omap2plus.S, so DEBUG_UNCOMPRESS is now available on OMAP system. Signed-off-by: Sahara Test

Re: [PATCH v2 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-08-26 Thread Mikko Perttunen
On 25/08/14 22:22, Stephen Warren wrote: On 08/18/2014 11:08 AM, Andrew Bresticker wrote: In addition to the PCIe and SATA PHYs, the XUSB pad controller also supports 3 UTMI, 2 HSIC, and 2 USB3 PHYs. Each USB3 PHY uses a single PCIe or SATA lane and is mapped to one of the three UTMI ports. Th

Re: [PATCH 1/4] ARM: rockchip: rk3288: Switch to use the proper PWM IP

2014-08-26 Thread Thierry Reding
On Mon, Aug 25, 2014 at 04:40:57PM -0700, Doug Anderson wrote: [...] > I was doing some thinking about what to do, then. I wondered whether > the right thing to do is not to make a "rk3288 syscon" driver that > configures these bits, but rather to make a "rk3288" driver has access > to the syscon.

[RFC] mm: show deferred_compaction state in page alloc fail

2014-08-26 Thread Minchan Kim
Recently, I saw several reports that high order allocation failed although there were many freeable pages but it's hard to reproduce so asking them to reproduce the problem several time is really painful. A culprit I doubt is compaction deferring logic which prevent compaction for a while so high

Re: [PATCH v5 4/5] Regulator: RK808: modify for struct rk808 change

2014-08-26 Thread Mark Brown
On Mon, Aug 25, 2014 at 09:37:06PM +0800, Chris Zhong wrote: > The "dev" has been deleted from "struct rk808" in rk808 mfd driver > so rk808->dev should be replaced by &client->dev here. Applied, thanks. signature.asc Description: Digital signature

[PATCH] DRBG: fix bit shifting on 32 bit systems

2014-08-26 Thread Stephan Mueller
Use ULL to mark a 64 bit value. Reported-by: Stephen Rothwell Reported-by: kbuild test robot Signed-off-by: Stephan Mueller --- include/crypto/drbg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/crypto/drbg.h b/include/crypto/drbg.h index 3d8e73a..dd52aee 100

[PATCH] DRBG: fix sparse warning for cpu_to_be[32|64]

2014-08-26 Thread Stephan Mueller
The sparse tool complained that the cpu_to_be[32|64] functions return __be[32|64] instead of __u32 or __u64. The patch replaces the __u32 and __u64 with __be32 and __be64. Reported-by: kbuild test robot Signed-off-by: Stephan Mueller --- crypto/drbg.c | 4 ++-- 1 file changed, 2 insertions(+),

Re: [PATCH] DRBG: fix bit shifting on 32 bit systems

2014-08-26 Thread Herbert Xu
On Tue, Aug 26, 2014 at 09:31:02AM +0200, Stephan Mueller wrote: > Use ULL to mark a 64 bit value. > > Reported-by: Stephen Rothwell > Reported-by: kbuild test robot > Signed-off-by: Stephan Mueller I don't think this works as size_t is still 32-bit which means that you'll return zero. Cheers

Re: [PATCH] DRBG: fix sparse warning for cpu_to_be[32|64]

2014-08-26 Thread Herbert Xu
On Tue, Aug 26, 2014 at 09:32:24AM +0200, Stephan Mueller wrote: > The sparse tool complained that the cpu_to_be[32|64] functions return > __be[32|64] instead of __u32 or __u64. The patch replaces the __u32 and > __u64 with __be32 and __be64. > > Reported-by: kbuild test robot > Signed-off-by: St

[PATCH v3] drivers/base: Fix length checks in create_syslog_header()/dev_vprintk_emit()

2014-08-26 Thread Ben Hutchings
snprintf() returns the number of bytes that could have been written (excluding the null), not the actual number of bytes written. Given a long enough subsystem or device name, these functions will advance beyond the end of the on-stack buffer in dev_vprintk_exit(), resulting in an information leak

linux-next: Tree for Aug 26

2014-08-26 Thread Stephen Rothwell
Hi all, Changes since 20140825: The net tree gained a build failure for which I reverted a commit. The mfd tree still had its build failure so I used the version from next-20140822. The trivial tree gained a conflict against Linus' tree. The staging tree still had its build failure for which I

Re: [PATCH] DRBG: fix bit shifting on 32 bit systems

2014-08-26 Thread Stephan Mueller
Am Dienstag, 26. August 2014, 15:32:19 schrieb Herbert Xu: Hi Herbert, > On Tue, Aug 26, 2014 at 09:31:02AM +0200, Stephan Mueller wrote: > > Use ULL to mark a 64 bit value. > > > > Reported-by: Stephen Rothwell > > Reported-by: kbuild test robot > > Signed-off-by: Stephan Mueller > > I don'

Re: [PATCH v5 3/4] zram: zram memory size limitation

2014-08-26 Thread Joonsoo Kim
On Mon, Aug 25, 2014 at 09:05:55AM +0900, Minchan Kim wrote: > @@ -513,6 +540,14 @@ static int zram_bvec_write(struct zram *zram, struct > bio_vec *bvec, u32 index, > ret = -ENOMEM; > goto out; > } > + > + if (zram->limit_pages && > + zs_get_total_

Re: [PATCHv4 4/4] pwm: imx: support output polarity inversion

2014-08-26 Thread Shawn Guo
On Wed, Aug 20, 2014 at 08:55:56AM +0200, Lothar Waßmann wrote: > The i.MX pwm unit on i.MX27 and newer SoCs provides a configurable > output polarity. This patch adds support to utilize this feature where > available. > > Signed-off-by: Lothar Waßmann Acked-by: Shawn Guo -- To unsubscribe from

Re: [PATCH 0/5] kexec: minor fixups and enhancements

2014-08-26 Thread Dave Young
On 08/25/14 at 12:59pm, Vivek Goyal wrote: > On Fri, Aug 22, 2014 at 06:39:47PM +, Geoff Levand wrote: > > Hi, > > > > Here are a few minor fixups and enhancements for kexec support. > > > > Patch 3 and 4 that add preprocessor macros for the kimage list flags are > > ones that I use in the a

Re: [PATCH v4] spi: spi-imx: add DMA support

2014-08-26 Thread Marek Vasut
On Tuesday, August 26, 2014 at 09:17:59 AM, Robin Gong wrote: > On Mon, Aug 25, 2014 at 10:07:22AM +0200, Marek Vasut wrote: > > On Saturday, August 23, 2014 at 02:13:55 AM, Robin Gong wrote: > > > After enable DMA > > > > Please also add a commit message which describes the change, not only > > s

Re: [PATCH 0/8] Tegra124 EMC (external memory controller) support

2014-08-26 Thread Mikko Perttunen
On 25/08/14 20:40, Stephen Warren wrote: On 07/11/2014 08:18 AM, Mikko Perttunen wrote: Hi everyone, this series adds support for the EMC (external memory controller) clock in the Tegra124 system-on-chip. The series has been tested on Jetson TK1. The first two patches remove the old "emc_mux"

Re: [PATCH 10/12] mmc: sdhi: Fixup system PM suspend lock-up

2014-08-26 Thread Geert Uytterhoeven
On Mon, Aug 25, 2014 at 2:26 PM, Ulf Hansson wrote: > At system PM suspend, the tmio core accessed the internal registers of > the controller without first moving the device into active state. This > caused a lock-up in system PM suspend phase. > > The reason for the register access were masking o

Re: [PATCH v6 net-next 4/6] bpf: enable bpf syscall on x64 and i386

2014-08-26 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Mon, Aug 25, 2014 at 6:07 PM, David Miller wrote: > > From: Alexei Starovoitov > > Date: Mon, 25 Aug 2014 18:00:56 -0700 > > > >> - > >> +asmlinkage long sys_bpf(int cmd, unsigned long arg2, unsigned long arg3, > >> + unsigned long arg4, uns

Re: [PATCH v2 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-08-26 Thread Arnd Bergmann
On Tuesday 26 August 2014 08:57:31 Thierry Reding wrote: > On Mon, Aug 25, 2014 at 01:01:52PM -0600, Stephen Warren wrote: > > On 08/18/2014 11:08 AM, Andrew Bresticker wrote: > [...] > > >+static int tegra_xusb_mbox_probe(struct platform_device *pdev) > > > > >+res = platform_get_resource(pde

Re: [PATCH v4] spi: spi-imx: add DMA support

2014-08-26 Thread Robin Gong
On Tue, Aug 26, 2014 at 09:26:40AM +0200, Marek Vasut wrote: > On Tuesday, August 26, 2014 at 09:17:59 AM, Robin Gong wrote: > > On Mon, Aug 25, 2014 at 10:07:22AM +0200, Marek Vasut wrote: > > > On Saturday, August 23, 2014 at 02:13:55 AM, Robin Gong wrote: > > > > After enable DMA > > > > > > Pl

Re: [PATCH 00/12] mmc: tmio: Fixup PM support

2014-08-26 Thread Geert Uytterhoeven
Hi Ulf, On Mon, Aug 25, 2014 at 2:25 PM, Ulf Hansson wrote: > This patchset fixup the PM support for tmio and the tmio hosts. > Some re-structuring of the code was also necessary to accomplish the above. > > A few of these patches has been posted earlier, but at that time I couldn't > get > help

Re: [PATCH 10/10] tools lib api: Adopt fdarray class from perf's evlist

2014-08-26 Thread Namhyung Kim
Hi Arnaldo, On Fri, 22 Aug 2014 17:59:50 -0300, Arnaldo Carvalho de Melo wrote: > +int fdarray__add(struct fdarray *fda, int fd) > +{ > + /* > + * XXX: 64 is arbitrary, just not to call realloc at each fd. > + * Find a better autogrowing heuristic > + */ > + if (fda->nr

Re: [PATCH] net: stmmac: fix warning from Sparse for socfpga

2014-08-26 Thread Ley Foon Tan
On Tue, Aug 26, 2014 at 3:24 PM, Giuseppe CAVALLARO wrote: >> @@ -119,7 +119,8 @@ static int socfpga_dwmac_parse_data(struct >> socfpga_dwmac *dwmac, struct device * >> return -EINVAL; >> } >> >> - dwmac->splitter_base = (void *)devm_ioremap_re

[Resend PATCH V2] X86/CPU: Avoid 100ms sleep for cpu offline during S3

2014-08-26 Thread Lan Tianyu
With some bad kernel configures, cpu offline consumes more than 100ms during S3. This because native_cpu_die() would fall into 100ms sleep when cpu idle loop thread marked cpu state to DEAD slower. It's timing related issue. What native_cpu_die() does is that poll cpu state and wait for 100ms if cp

Re: [PATCH v6 net-next 4/6] bpf: enable bpf syscall on x64 and i386

2014-08-26 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Mon, Aug 25, 2014 at 8:52 PM, Stephen Hemminger > wrote: > > Per discussion at Kernel Summit. Every new syscall requires > > a manual page and test programs. We have had too many new syscalls > > that are DOA. > > There is verifier testsuite that is testing eBP

Re: [PATCH 0/8] Tegra124 EMC (external memory controller) support

2014-08-26 Thread Thierry Reding
On Tue, Aug 26, 2014 at 10:42:21AM +0300, Mikko Perttunen wrote: > On 25/08/14 20:40, Stephen Warren wrote: > >On 07/11/2014 08:18 AM, Mikko Perttunen wrote: > >>Hi everyone, > >> > >>this series adds support for the EMC (external memory controller) clock > >>in the Tegra124 system-on-chip. The ser

[GIT PULL] s390 patches for the 3.17-rc3

2014-08-26 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Wire up the system calls seccomp, getrandom and memfd_create. Use static system information as input to add_device_randomness. And

Re: [PATCH v2 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-08-26 Thread Thierry Reding
On Tue, Aug 26, 2014 at 09:43:50AM +0200, Arnd Bergmann wrote: > On Tuesday 26 August 2014 08:57:31 Thierry Reding wrote: > > On Mon, Aug 25, 2014 at 01:01:52PM -0600, Stephen Warren wrote: > > > On 08/18/2014 11:08 AM, Andrew Bresticker wrote: > > [...] > > > >+static int tegra_xusb_mbox_probe(str

Re: [PATCH] sound: pci: ctxfi: ctatc.c: printk replacement

2014-08-26 Thread Sudip Mukherjee
On Tue, Aug 26, 2014 at 08:27:09AM +0200, Takashi Iwai wrote: > At Mon, 25 Aug 2014 23:26:52 +0530, > Sudip Mukherjee wrote: > > > > printk replaced ith corresponding pr_err > > fixed three broken user-visible strings > > fixed a checkpatch warning of space before new line > > Fixes are good, but

Re: [PATCH] iio: core: Propagate error codes from OF layer to client drivers

2014-08-26 Thread Ivan T. Ivanov
Hi, On Mon, 2014-08-25 at 09:54 -0700, Guenter Roeck wrote: > On Mon, Aug 25, 2014 at 05:10:31PM +0100, Jonathan Cameron wrote: > > On 25/08/14 13:57, Ivan T. Ivanov wrote: > > > Do not overwrite error codes returned from of_iio_channel_get(). > > > Error codes are used to distinguish between "io-

Re: [PATCH v5 3/4] zram: zram memory size limitation

2014-08-26 Thread Minchan Kim
Hey Joonsoo, On Tue, Aug 26, 2014 at 04:37:30PM +0900, Joonsoo Kim wrote: > On Mon, Aug 25, 2014 at 09:05:55AM +0900, Minchan Kim wrote: > > @@ -513,6 +540,14 @@ static int zram_bvec_write(struct zram *zram, struct > > bio_vec *bvec, u32 index, > > ret = -ENOMEM; > > goto

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-26 Thread Alexander Holler
Am 25.08.2014 15:08, schrieb Jon Loeliger: Anyway, instead of going back and forth between "deferred probe is good" and "deferred probe is bad", how about we do something useful now and concentrate on how to make use of the information we have in DT with the goal to reduce the number of cases

Re: [PATCHv2] ARM: debug: uncompress debug support for omap2plus

2014-08-26 Thread Russell King - ARM Linux
On Tue, Aug 26, 2014 at 04:28:59PM +0900, kpark3...@gmail.com wrote: > From: Sahara > > Since OMAP low-level debug code places data in the .data section, > The symbol DEBUG_UNCOMPRESS was defined with !DEBUG_OMAP2PLUS_UART. > This patch removes the part using data section in debug/omap2plus.S, >

Re: [PATCH v6 net-next 4/6] bpf: enable bpf syscall on x64 and i386

2014-08-26 Thread Daniel Borkmann
On 08/26/2014 09:46 AM, Ingo Molnar wrote: * Alexei Starovoitov wrote: On Mon, Aug 25, 2014 at 8:52 PM, Stephen Hemminger wrote: Per discussion at Kernel Summit. Every new syscall requires a manual page and test programs. We have had too many new syscalls that are DOA. There is verifier tes

Re: [PATCH v6 net-next 4/6] bpf: enable bpf syscall on x64 and i386

2014-08-26 Thread Ingo Molnar
* Daniel Borkmann wrote: > On 08/26/2014 09:46 AM, Ingo Molnar wrote: > >* Alexei Starovoitov wrote: > >>On Mon, Aug 25, 2014 at 8:52 PM, Stephen Hemminger > >> wrote: > >>>Per discussion at Kernel Summit. Every new syscall requires > >>>a manual page and test programs. We have had too many new

Re: [PATCHv2] perf tools: Add +field argument support for --sort option

2014-08-26 Thread Namhyung Kim
Hi Jiri, On Sat, 23 Aug 2014 14:59:48 +0200, Jiri Olsa wrote: > Adding support to add field(s) to default sort order > via using the '+' prefix, like for report: > > $ perf report > Samples: 2K of event 'cycles', Event count (approx.): 882172583 > Overhead Command Shared Object

Re: [PATCH][input-led] Defer input led work to workqueue

2014-08-26 Thread Johannes Berg
On Tue, 2014-08-26 at 03:54 +0200, Samuel Thibault wrote: > + vt_led_wq = alloc_workqueue("input_leds", WQ_UNBOUND, 0); > + if (!vt_led_wq) > + return -ENOMEM; Does this really need a separate workqueue rather than just using schedule_work()? There doesn't seem to be much poin

Re: [PATCH 0/8] Tegra124 EMC (external memory controller) support

2014-08-26 Thread Mikko Perttunen
On 26/08/14 10:47, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 26, 2014 at 10:42:21AM +0300, Mikko Perttunen wrote: On 25/08/14 20:40, Stephen Warren wrote: On 07/11/2014 08:18 AM, Mikko Perttunen wrote: Hi everyone, this series adds support for the EMC (external memory

Re: [PATCH] net: stmmac: fix warning from Sparse for socfpga

2014-08-26 Thread Giuseppe CAVALLARO
On 8/26/2014 9:47 AM, Ley Foon Tan wrote: On Tue, Aug 26, 2014 at 3:24 PM, Giuseppe CAVALLARO wrote: @@ -119,7 +119,8 @@ static int socfpga_dwmac_parse_data(struct socfpga_dwmac *dwmac, struct device * return -EINVAL; } - dwmac->splitter_

[PATCH] DRBG: fix maximum value checks on 32 bit systems

2014-08-26 Thread Stephan Mueller
The maximum values for additional input string or generated blocks is larger than 1<<32. To ensure a sensible value on 32 bit systems, return SIZE_MAX on 32 bit systems. This value is lower than the maximum allowed values defined in SP800-90A. The standard allow lower maximum values, but not larger

[RFC PATCH v3 2/4] mm/page_alloc: add freepage on isolate pageblock to correct buddy list

2014-08-26 Thread Joonsoo Kim
In free_pcppages_bulk(), we use cached migratetype of freepage to determine type of buddy list where freepage will be added. This information is stored when freepage is added to pcp list, so if isolation of pageblock of this freepage begins after storing, this cached information could be stale. In

[RFC PATCH v3 4/4] mm/page_alloc: restrict max order of merging on isolated pageblock

2014-08-26 Thread Joonsoo Kim
Current pageblock isolation logic could isolate each pageblock individually. This causes freepage accounting problem if freepage with pageblock order on isolate pageblock is merged with other freepage on normal pageblock. We can prevent merging by restricting max order of merging to pageblock order

Re: [PATCH] DRBG: fix maximum value checks on 32 bit systems

2014-08-26 Thread Herbert Xu
On Tue, Aug 26, 2014 at 10:06:52AM +0200, Stephan Mueller wrote: > The maximum values for additional input string or generated blocks is > larger than 1<<32. To ensure a sensible value on 32 bit systems, return > SIZE_MAX on 32 bit systems. This value is lower than the maximum allowed > values defi

[RFC PATCH v3 3/4] mm/page_alloc: move migratetype recheck logic to __free_one_page()

2014-08-26 Thread Joonsoo Kim
All the caller of __free_one_page() has same migratetype recheck logic, so we can move it to __free_one_page(). This reduce line of code and help future maintenance. This is also preparation step for "mm/page_alloc: restrict max order of merging on isolated pageblock" which fix the freepage accouti

[RFC PATCH v3 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-08-26 Thread Joonsoo Kim
There are two paths to reach core free function of buddy allocator, __free_one_page(), one is free_one_page()->__free_one_page() and the other is free_hot_cold_page()->free_pcppages_bulk()->__free_one_page(). Each paths has race condition causing serious problems. At first, this patch is focused on

[RFC PATCH v3 0/4] fix freepage count problems in memory isolation

2014-08-26 Thread Joonsoo Kim
problems can be possible on memory hot remove users, although I didn't check it further. This patchset is based on linux-next-20140826. Please see individual patches for more information. Thanks. [1]: https://lkml.org/lkml/2014/7/4/79 [2]: lkml.org/lkml/2014/8/6/52 [3]: Aggressively alloc

Re: [PATCH v2 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-08-26 Thread Arnd Bergmann
On Tuesday 26 August 2014 09:50:25 Thierry Reding wrote: > On Tue, Aug 26, 2014 at 09:43:50AM +0200, Arnd Bergmann wrote: > > On Tuesday 26 August 2014 08:57:31 Thierry Reding wrote: > > > On Mon, Aug 25, 2014 at 01:01:52PM -0600, Stephen Warren wrote: > > > > On 08/18/2014 11:08 AM, Andrew Brestic

Re: [PATCH] net: stmmac: fix warning from Sparse for socfpga

2014-08-26 Thread Ley Foon Tan
On Sel, 2014-08-26 at 10:04 +0200, Giuseppe CAVALLARO wrote: > > > > >> > >> patch should be for net-next > > Do you mean the patch need based on net-next git? > > yes I do. > > > I'm using linux-next git now. > > ok, can you signal it in the subject (e.g. [PATCH (net-next)] > This can help o

Re: [PATCH] regmap: Fix regcache debugfs initialization

2014-08-26 Thread Mark Brown
On Sun, Aug 24, 2014 at 03:32:27PM +0200, Lars-Peter Clausen wrote: > Commit 6cfec04bcc05 ("regmap: Separate regmap dev initialization") moved the > regmap debugfs initialization after regcache initialization. This means > that the regmap debugfs directory is not created yet when the cache Applied

Re: [PATCH/RFC] hash: Let gcc decide how to multiply

2014-08-26 Thread Rasmus Villemoes
David Miller writes: > From: Daniel Borkmann > Date: Mon, 25 Aug 2014 14:58:37 +0200 > >> On 08/25/2014 02:13 PM, Rasmus Villemoes wrote: >>> A 9+ years old comment in hash_64 says that gcc can't optimize >>> multiplication by GOLDEN_RATIO_PRIME_64. Well, compilers get smarter >>> and CPUs get f

Re: [PATCH] Input: ALPS - suppress message about 'Unknown touchpad'

2014-08-26 Thread Hans de Goede
Hi, On 08/25/2014 08:30 PM, Dmitry Torokhov wrote: > When we fail to match data returned by E7 and EC reports we state that we > found "Unknown ALPS touchpad" whereas it is most likely it is not ALPS > touchpad at all. Change wording a bit and reduce the message to debug so > that it does not litt

Re: [PATCH] sound: pci: ctxfi: ctatc.c: printk replacement

2014-08-26 Thread Takashi Iwai
At Tue, 26 Aug 2014 13:21:00 +0530, Sudip Mukherjee wrote: > > On Tue, Aug 26, 2014 at 08:27:09AM +0200, Takashi Iwai wrote: > > At Mon, 25 Aug 2014 23:26:52 +0530, > > Sudip Mukherjee wrote: > > > > > > printk replaced ith corresponding pr_err > > > fixed three broken user-visible strings > > >

Re: [PATCH 1/3] Adding Skyworks SKY81452 MFD driver

2014-08-26 Thread Lee Jones
On Mon, 25 Aug 2014, Gyungoh Yoo wrote: > On Thu, Aug 21, 2014 at 10:45:02AM +0100, Lee Jones wrote: > > When you send patch-sets, you should send them connected to one > > another AKA threaded. That way, when we're reviewing we can look at > > the other patches in the set for reference. See the

Re: [PATCH v3 1/6] perf: add ability to sample machine state on interrupt

2014-08-26 Thread Namhyung Kim
Hi Stephane, On Mon, 18 Aug 2014 01:18:15 +0200, Stephane Eranian wrote: > Enable capture of interrupted machine state for each > sample. > > Registers to sample are passed per event in the > sample_regs_intr bitmask. > > To sample interrupt machine state, the > PERF_SAMPLE_INTR_REGS must be passe

[PATCHv4 4/6] phy: remove the old lookup method

2014-08-26 Thread Heikki Krogerus
The users of the old method are now converted to the new one. Signed-off-by: Heikki Krogerus Tested-by: Vivek Gautam --- drivers/phy/phy-bcm-kona-usb2.c | 2 +- drivers/phy/phy-berlin-sata.c| 2 +- drivers/phy/phy-core.c | 45 +++- dr

[PATCHv2] ARM: debug: uncompress debug support for omap2plus

2014-08-26 Thread kpark3469
From: Sahara Since OMAP low-level debug code places data in the .data section, The symbol DEBUG_UNCOMPRESS was defined with !DEBUG_OMAP2PLUS_UART. This patch removes the part using data section in debug/omap2plus.S, so DEBUG_UNCOMPRESS is now available on OMAP system. Signed-off-by: Sahara Test

[PATCH v2] DRBG: fix maximum value checks on 32 bit systems

2014-08-26 Thread Stephan Mueller
The maximum values for additional input string or generated blocks is larger than 1<<32. To ensure a sensible value on 32 bit systems, return SIZE_MAX on 32 bit systems. This value is lower than the maximum allowed values defined in SP800-90A. The standard allow lower maximum values, but not larger

[PATCH] ARM: compressed/head.S: use addruart properly

2014-08-26 Thread kpark3469
From: Sahara This patch fixes compile error in compressed/head.S, when DEBUG is defined. Since addruart macro accepts 3 params, rp, rv, and tmp, loadsp macro also needs to be fixed. Or you will meet the following error messages: Error: ARM register expected -- `mov ,#(5<<1)' Error: shift expressi

Re: [PATCH v2 2/4] Documentation/scheduler/sched-deadline.txt: Rewrite section 4 intro

2014-08-26 Thread Juri Lelli
On 21/08/14 14:46, Ingo Molnar wrote: > * Juri Lelli wrote: > >> Section 4 intro was still describing the old interface. Rewrite it. >> >> Signed-off-by: Juri Lelli >> Signed-off-by: Luca Abeni >> Cc: Randy Dunlap >> Cc: Peter Zijlstra >> Cc: Ingo Molnar >> Cc: Henrik Austad >> Cc: Dario Fa

Re: [PATCH v5 2/5] MFD: RK808: Add new mfd driver for RK808

2014-08-26 Thread Lee Jones
On Mon, 25 Aug 2014, Doug Anderson wrote: > On Mon, Aug 25, 2014 at 6:31 AM, Chris Zhong wrote: > > The RK808 chip is a power management IC for multimedia and handheld > > devices. It contains the following components: > > > > - Regulators > > - RTC > > > > The RK808 core driver is registered as a

Re: [PATCH v5 2/5] MFD: RK808: Add new mfd driver for RK808

2014-08-26 Thread Lee Jones
On Tue, 26 Aug 2014, Chris Zhong wrote: > On 08/26/2014 04:44 AM, Doug Anderson wrote: > >On Mon, Aug 25, 2014 at 6:31 AM, Chris Zhong wrote: [...] > >You need a Signed-off-by: Zhang Qing > > Done [...] > >I think Lee's "Grim" comment here was that prefixing globals with "g_" > >is not consi

[PATCH] i2c documentation: rename variable "register" to "reg"

2014-08-26 Thread José Manuel Alarcón Roldán
The example code provided with the i2c device interface documentation won't compile since it uses the reserved word "register" to name a variable. The compiler fails with this error message: error: expected identifier or '(' before '=' token __u8 register = 0x20; /* Device register to access

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-26 Thread Grant Likely
On Mon, 25 Aug 2014 15:37:16 +0200, Thierry Reding wrote: > On Mon, Aug 25, 2014 at 08:08:59AM -0500, Jon Loeliger wrote: > > > > > > > > Anyway, instead of going back and forth between "deferred probe is good" > > > and "deferred probe is bad", how about we do something useful now and > > > co

[PATCH 3/6] fuse: wait for end of IO on release (v2)

2014-08-26 Thread Maxim Patlasov
There are two types of I/O activity that can be "in progress" at the time of fuse_release() execution: asynchronous read-ahead and write-back. The patch ensures that they are completed before fuse_release_common sends FUSE_RELEASE to userspace. So far as fuse_release() waits for end of async I/O,

[Bugfix] x86, irq: Fix bug in setting IOAPIC pin attributes

2014-08-26 Thread Jiang Liu
On startup, IOAPIC driver preallocates IRQ descriptors and programs IOAPIC pins with default level and polarity attributes for all legacy IRQs. Later legacy IRQ users may fail to set IOAPIC pin attributes if the requested attributes conflicts with the default IOAPIC pin attributes. So change mp_irq

Re: [PATCH v2] DRBG: fix maximum value checks on 32 bit systems

2014-08-26 Thread Herbert Xu
On Tue, Aug 26, 2014 at 10:29:45AM +0200, Stephan Mueller wrote: > The maximum values for additional input string or generated blocks is > larger than 1<<32. To ensure a sensible value on 32 bit systems, return > SIZE_MAX on 32 bit systems. This value is lower than the maximum > allowed values defi

Re: [PATCH] Fix faulty logic in the case of recursive printk

2014-08-26 Thread Jan Kara
On Sun 24-08-14 12:01:36, Patrick Palka wrote: > We shouldn't set text_len in the code path that detects printk recursion > because text_len corresponds to the length of the string inside textbuf. > A few lines down from the line > > text_len = strlen(recursion_msg); > > is the line > >

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-26 Thread Thierry Reding
On Tue, Aug 26, 2014 at 09:42:08AM +0100, Grant Likely wrote: > On Mon, 25 Aug 2014 15:37:16 +0200, Thierry Reding > wrote: [...] > > There are somewhat standardized bindings for the above and especially > > for bindings of the type that clocks implement this is trivial. We can > > simply iterate

Re: [PATCH] ARM: errata: Workaround for Cortex-A12 erratum 818325

2014-08-26 Thread Kever Yang
Hi Russell, I'd value your feedback on this if you have a moment. I think this will need by rk3288 soc. Thanks On 08/18/2014 05:58 PM, Kever Yang wrote: From: Huang Tao On Cortex-A12 (r0p0..r0p1-00lac0-rc11), when a CPU executes a sequence of two conditional store instructions with opposite

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-26 Thread Grant Likely
On Mon, 25 Aug 2014 08:08:59 -0500, Jon Loeliger wrote: > > > > > Anyway, instead of going back and forth between "deferred probe is good" > > and "deferred probe is bad", how about we do something useful now and > > concentrate on how to make use of the information we have in DT with the > > go

Re: [PATCH v2] DRBG: fix maximum value checks on 32 bit systems

2014-08-26 Thread Stephan Mueller
Am Dienstag, 26. August 2014, 16:43:43 schrieb Herbert Xu: Hi Herbert, > On Tue, Aug 26, 2014 at 10:29:45AM +0200, Stephan Mueller wrote: > > The maximum values for additional input string or generated blocks is > > larger than 1<<32. To ensure a sensible value on 32 bit systems, return > > SIZE_

Re: [RFC PATCH -logging 00/10] scsi/constants: Output continuous error messages on trace

2014-08-26 Thread Hannes Reinecke
On 08/22/2014 02:39 AM, Elliott, Robert (Server Storage) wrote: -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Yoshihiro YUNOMAE Sent: Friday, 08 August, 2014 6:50 AM Subject: [RFC PATCH -logging 00/10] scsi/constants: Out

RE: [PATCH v2 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-08-26 Thread David Laight
From: Thierry Reding ... > > Is _nocache required? I don't see other drivers using it. I assume there's > > nothing special about the mbox registers. > > Most drivers should be using devm_ioremap_resource() which will use the > _nocache variant of devm_ioremap() when appropriate. Usually the regio

Re: [PATCH v2] DRBG: fix maximum value checks on 32 bit systems

2014-08-26 Thread Herbert Xu
On Tue, Aug 26, 2014 at 10:52:45AM +0200, Stephan Mueller wrote: > Am Dienstag, 26. August 2014, 16:43:43 schrieb Herbert Xu: > > Hi Herbert, > > > On Tue, Aug 26, 2014 at 10:29:45AM +0200, Stephan Mueller wrote: > > > The maximum values for additional input string or generated blocks is > > > la

[PATCH v2] ata: ahci_tegra: Read calibration fuse

2014-08-26 Thread Mikko Perttunen
The original version of the driver did not read the SATA calibration fuse to remove the dependency to the fuse driver. The fuse driver is now merged, so add this functionality. The calibration fuse contains a 2-bit value used to pick a set of calibration values for the SATA pad. Signed-off-by: Mi

Re: [PATCH v2] intel_idle: add idle values for Cherrytrail/Braswell

2014-08-26 Thread Mika Westerberg
On Tue, Aug 26, 2014 at 10:38:32AM +0800, Li, Aubrey wrote: > On 2014/8/25 18:12, Mika Westerberg wrote: > > On Fri, Aug 22, 2014 at 10:06:21PM +0800, Li, Aubrey wrote: > >> On 2014/8/22 19:39, Mika Westerberg wrote: > >>> From: Mahesh Kumar P > >>> > >>> Cherrytrail/Braswell is a successor of Int

Re: [PATCH v6 2/4] net: moxa: replace build_skb() with netdev_alloc_skb_ip_align() / memcpy()

2014-08-26 Thread Arnd Bergmann
On Monday 25 August 2014 16:22:22 Jonas Jensen wrote: > @@ -226,13 +226,15 @@ static int moxart_rx_poll(struct napi_struct *napi, int > budget) > if (len > RX_BUF_SIZE) > len = RX_BUF_SIZE; > > - skb = build_skb(priv->rx_buf[rx_head], priv->r

Re: [PATCH] ASoC: fsl-sai: using 'lsb-first' property instead of 'big-endian-data'.

2014-08-26 Thread Mark Rutland
On Mon, Aug 25, 2014 at 08:16:01AM +0100, Xiubo Li wrote: > This property used for configuring whether the LSB or the MSB is transmitted > first for the fifo data. I don't follow the rationale for this change. This looks like a pointless renaming. Why is this any better? Thanks, Mark. > Signed

[PATCH RFC] x86 early_ioremap: increase FIX_BTMAPS_SLOTS to 8

2014-08-26 Thread Dave Young
3.16 kernel boot fail with earlyprintk=efi, it keeps scrolling at the bottom line of screen. Bisected, the first bad commit is below: commit 86dfc6f339886559d80ee0d4bd20fe5ee90450f0 Author: Lv Zheng Date: Fri Apr 4 12:38:57 2014 +0800 ACPICA: Tables: Fix table checksums verification before

Re: Linux UDF support

2014-08-26 Thread Jan Kara
Hello, On Sun 24-08-14 14:46:46, Pali Rohár wrote: > I would like to know what is state of linux UDF driver. It is > experimental or is now suitable for storing data? The kernel driver is quite stable. I would happily use it for USB sticks etc. I would be reluctant to use it for say /home bec

Re: [PATCH v6 4/6] mfd: Add hi6421 PMIC core driver

2014-08-26 Thread Lee Jones
On Mon, 25 Aug 2014, Guodong Xu wrote: > On 08/20/2014 04:09 PM, Lee Jones wrote: > > On Mon, 18 Aug 2014, Guodong Xu wrote: > >> This adds driver to support HiSilicon Hi6421 PMIC. Hi6421 includes multi- > >> functions, such as regulators, codec, ADCs, Coulomb counter, etc. > >> This driver include

Re: [PATCH v2 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-08-26 Thread Thierry Reding
On Tue, Aug 26, 2014 at 10:09:25AM +0200, Arnd Bergmann wrote: > On Tuesday 26 August 2014 09:50:25 Thierry Reding wrote: > > On Tue, Aug 26, 2014 at 09:43:50AM +0200, Arnd Bergmann wrote: > > > On Tuesday 26 August 2014 08:57:31 Thierry Reding wrote: > > > > On Mon, Aug 25, 2014 at 01:01:52PM -060

Re: [PATCH v9 1/2] regulator: Add driver for max77802 PMIC PMIC regulators

2014-08-26 Thread Javier Martinez Canillas
Hello Mark, On 08/26/2014 09:17 AM, Mark Brown wrote: > On Mon, Aug 25, 2014 at 08:40:40AM -0700, Doug Anderson wrote: >> > Can you please test the following change [0] so I can post as a proper >> > patch? Doug, Mark do you think that forcing the regulator to opmode normal >> > when enabling is t

RE: [PATCH v6 2/4] net: moxa: replace build_skb() with netdev_alloc_skb_ip_align() / memcpy()

2014-08-26 Thread David Laight
From: Arnd Bergmann > On Monday 25 August 2014 16:22:22 Jonas Jensen wrote: > > @@ -226,13 +226,15 @@ static int moxart_rx_poll(struct napi_struct *napi, > > int budget) > > if (len > RX_BUF_SIZE) > > len = RX_BUF_SIZE; > > > > - skb = build_sk

Re: [PATCH v9 1/2] regulator: Add driver for max77802 PMIC PMIC regulators

2014-08-26 Thread Mark Brown
On Tue, Aug 26, 2014 at 11:08:07AM +0200, Javier Martinez Canillas wrote: > On 08/26/2014 09:17 AM, Mark Brown wrote: > > No, this doesn't make any obvious sense to me at all. Picking normal as > > a default if the hardware reads back off due to overlapping > > impelementation or something *might

  1   2   3   4   5   6   7   8   9   >