Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Ming Lei
On Fri, May 30, 2014 at 11:35 AM, Jens Axboe wrote: > On 2014-05-29 21:34, Ming Lei wrote: >> >> On Fri, May 30, 2014 at 11:19 AM, Jens Axboe wrote: >>> >>> On 2014-05-29 20:49, Ming Lei wrote: Firstly, it isn't necessary to hold lock of vblk->vq_lock when notifying

Re: [PATCH] staging: android: fix Missing a blank line after declarations warnings

2014-05-29 Thread Scott Weir
On Wed, May 28, 2014 at 02:30:27PM -0700, Greg KH wrote: > On Wed, May 28, 2014 at 06:52:51PM +1000, Scott Weir wrote: > > This patch corrects coding style issue: > > WARNING: Missing a black line after declarations > > > > Signed-off-by: Scott Weir > > --- > >

Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-29 Thread Dave Young
Ccing Simon. Simon, appologize for not ccing you about this kernel patch. I see you have applied the userspace patch for checking sysfs runtime existance. The userspace patch depends on this patch but it is not harmful even without this kernel patch. So applying the userspace patch before this

Re: [PATCH 2/2] serial: imx: disable the receiver ready interrupt for imx_stop_rx

2014-05-29 Thread Dirk Behme
On 23.05.2014 06:32, Huang Shijie wrote: This patch disables the receiver ready interrupt for imx_stop_rx. It reduces the interrupt numbers when the uart is going to close or suspend. Signed-off-by: Huang Shijie --- drivers/tty/serial/imx.c |4 1 files changed, 4 insertions(+), 0

Re: [RFC/PATCH 0/2] perf tools: Factor sort elide

2014-05-29 Thread Namhyung Kim
On Fri, 23 May 2014 17:15:45 +0200, Jiri Olsa wrote: > hi, > factoring the elide code to make perf_hpp__should_skip > function cheap call/check again. Both look good to me! Acked-by: Namhyung Kim > > Also I was wondering.. do we want to get rid of sort_entry > structs in favor of perf_hpp__*

Re: [PATCH 0/2] x86,vdso: vdso build fixes and improvements

2014-05-29 Thread Stephen Rothwell
Hi Andy, On Thu, 29 May 2014 15:49:52 -0700 Andy Lutomirski wrote: > > On Thu, May 29, 2014 at 3:41 PM, Paul Gortmaker > wrote: > > On 14-05-29 05:57 PM, Andy Lutomirski wrote: > >> Patch 1 causes make;make to behave similarly to make if vdso2c fails. > >> Patch 2 hopefully fixes x86

[PATCH 3/3] lib: crc32: Add some additional __pure annotations

2014-05-29 Thread George Spelvin
In case they help the compiler. Signed-off-by: George Spelvin --- As long as I'm messing with it. I also have a large patch to do this to a number of lib/ headers if anyone wants. Redundant "extern" removed to keep things within 80 columns. include/linux/crc32.h | 6 +++--- lib/crc32.c

[PATCH 2/3] lib: crc32: mark test data __initconst

2014-05-29 Thread George Spelvin
>From 1ecab5281e3cfc8c2a61648410c8b25ba2654fcb Mon Sep 17 00:00:00 2001 From: George Spelvin Date: Thu, 29 May 2014 00:08:03 -0400 Subject: [PATCH 2/3] lib: crc32: mark test data __initconst So it gets discarded after the selftest. Signed-off-by: George Spelvin --- This is the patch I started

[PATCH 1/3] lib: crc32: Greatly shrink CRC combining code

2014-05-29 Thread George Spelvin
There's no need for a full 32x32 matrix, when rows before the last are just shifted copies of the rows after them. There's still room for improvement (especially on X86 processors with CRC32 and PCLMUL instructions), but this is a large step in the right direction. The internal primitive is now

Re: [PATCHv5 2/4] mailbox: Introduce framework for mailbox

2014-05-29 Thread Jassi Brar
On Thu, May 29, 2014 at 9:13 PM, Matt Porter wrote: > On Fri, May 16, 2014 at 07:03:25PM +0530, Jassi Brar wrote: >> On 15 May 2014 19:57, Arnd Bergmann wrote: >> > On Thursday 15 May 2014 11:41:00 Jassi Brar wrote: > > ... > >> >> +struct mbox_controller { >> >> + struct device *dev; >> >>

Re: [PATCH v2 03/18] PCI: designware: Configuration space should be specified in 'reg'

2014-05-29 Thread Kishon Vijay Abraham I
Hi, On Thursday 29 May 2014 10:02 PM, Murali Karicheri wrote: > On 5/29/2014 2:38 AM, ABRAHAM, KISHON VIJAY wrote: >> The configuration address space has so far been specified in *ranges*, >> however it should be specified in *reg* making it a platform MEM resource. >> Hence used

Re: [PATCH v4 00/16] PCI/iommu: Fix DMA alias problems

2014-05-29 Thread Andrew Cooks
On Thu, May 29, 2014 at 4:29 AM, Bjorn Helgaas wrote: > On Thu, May 22, 2014 at 05:07:23PM -0600, Alex Williamson wrote: >> For testing, this version can be found in my git tree: >> >> git://github.com/awilliam/linux-vfio.git dma-alias-v4 >> >> Please report any issues. >> >> v4: >> - Change

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread George Spelvin
Olay, recompiled with the acpi-cpufreq driver, so the performance governor actually works, pegging the frequency at 3900 MHz. Existing (old) code: [ 455.641397] [ 455.641397] testing speed of crc32c [ 455.641403] test 0 ( 16 byte blocks, 16 bytes per update, 1 updates): 73

Re: [PATCH v11 0/3] Exynos 5410 support

2014-05-29 Thread Tomasz Figa
Hi Andreas, On 29.05.2014 20:00, Andreas Färber wrote: [snip] > Some of the low-hanging fruit like no heartbeat/SD LEDs, no RTC, no > usb3503 and thus no network I'm already looking into myself. For now I'm > putting everything into the SMDK .dts, but I guess we'll need to split > off

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 9:21 PM, Greg KH wrote: On Thu, May 29, 2014 at 02:26:55PM +0530, Satish Patel wrote: On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: +/** + * struct sc_phy - The basic smart card phy structure + * + * @dev: phy device + *

Re: [PATCH] clk: exynos5420: Keep aclk66_peric enabled during boot

2014-05-29 Thread Tomasz Figa
Hi, On 30.05.2014 00:29, Mike Turquette wrote: > Quoting Doug Anderson (2014-05-29 14:21:36) >> Right now if you've got earlyprintk enabled on exynos5420-peach-pit >> then you'll get a hang on boot. Here's why: >> >> 1. The i2c-s3c2410 driver will probe at subsys_initcall. It will >>enable

Re: [PATCH v4 1/3] mfd: intel_soc_pmic: Core driver

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 7:40 PM, Lee Jones wrote: > [...] > >> +static int intel_soc_pmic_find_gpio_irq(struct device *dev) >> +{ >> +struct gpio_desc *desc; >> +int irq; >> + >> +desc = devm_gpiod_get_index(dev, KBUILD_MODNAME, 0); > > What does "KBUILD_MODNAME" translate to? It translates

Re: [PATCHSET 00/27] perf tools: Add support to accumulate hist periods (v11)

2014-05-29 Thread Namhyung Kim
On Thu, 29 May 2014 15:59:00 +0200, Jiri Olsa wrote: > On Thu, May 29, 2014 at 12:58:03PM +0900, Namhyung Kim wrote: >> Hello, >> >> This is a new attempt to implement cumulative hist period report. >> This work begins from Arun's SORT_INCLUSIVE patch [1] but I completely >> rewrote it from

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 9:50 PM, Al Viro wrote: > > BTW, how serious is the problem with __lockref_is_dead(>d_lockref) > with only ->d_parent->d_lock held? From my reading of lib/lockref.c it > should be safe - we only do lockref_mark_dead() with ->d_parent->d_lock > held, and it'll provide all

Re: [PATCH v4 2/3] mfd: intel_soc_pmic: Crystal Cove support

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 7:49 PM, Lee Jones wrote: > On Thu, 29 May 2014, Zhu, Lejun wrote: > >> This patch provides chip-specific support for Crystal Cove. Crystal >> Cove is the PMIC in Baytrail-T platform. (...) >> +enum crystal_cove_irq { >> +PWRSRC_IRQ = 0, >> +THRM_IRQ, >> +BCU_IRQ, >> +

Re: [PATCH v4 3/3] mfd: intel_soc_pmic: Build files

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 7:43 PM, Lee Jones wrote: >> This patch adds Intel SoC PMIC support to the build files. > These changes shouldn't really be in a separate patch. I'll move them into the first (core.c) patch. Best Regards Lejun -- To unsubscribe from this list: send the line "unsubscribe

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-29 Thread Al Viro
On Thu, May 29, 2014 at 12:14:51PM -0700, Linus Torvalds wrote: > Yeah, I don't think you can reproduce that, but I guess renaming > directories into each other (two renames needed) could trigger an ABBA > deadlock by changing the topological order of dentry/parent. > > I suspect there's no way

Re: [PATCH 18/27] perf tools: Add callback function to hist_entry_iter

2014-05-29 Thread Namhyung Kim
On Thu, 29 May 2014 15:16:51 +0200, Jiri Olsa wrote: > On Thu, May 29, 2014 at 12:58:21PM +0900, Namhyung Kim wrote: >> +static int hist_iter__report_callback(struct hist_entry_iter *iter, >> + struct addr_location *al, void *arg) >> +{ >> +int err = 0; >> +

Re: [RFC PATCH 3/3] clk: tegra: Implement Tegra124 shared/cbus clks

2014-05-29 Thread Mike Turquette
Quoting Nishanth Menon (2014-05-29 16:22:45) > On 05/26/2014 08:07 AM, Thierry Reding wrote: > > On Wed, May 14, 2014 at 12:35:18PM -0700, Mike Turquette wrote: > >> Quoting Thierry Reding (2014-05-14 07:27:40) > > [...] > >>> As for shared clocks I'm only aware of one use-case, namely EMC

[PATCH 6/6] staging: comedi: addi_apci_1564: cleanup v_ADDI_Interrupt()

2014-05-29 Thread Chase Southwood
Move the function apci1564_interrupt() from hwdrv_apci1564.c to addi_apci_1564.c. On moving, for now just strip out all of the code for interrupts that the driver does not yet support at this time. Rename the variable ui_InterruptStatus_1564 to ctrl, and change the return from IRQ_RETVAL(1) to

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread J. R. Okajima
"J. R. Okajima": > - readlink.test, > fs_op readlink $file -R $testdir/direct_dir_sym100 ${termslash:+-E > EINVAL} > It expects "$testdir/direct_dir_sym100". Does it mean UnionMount > converts the target path? > For example, > - /u = /rw + /ro > - /rw/symlinkA doesn't exist > -

[PATCH 5/6] staging: comedi: addi_apci_1564: hook-up the interrupt subdevice

2014-05-29 Thread Chase Southwood
The board supported by this driver can generate an interrupt based on the state of input channels 0-15. The apci1564_di_config() function is used to configure which inputs are used to generate the interrupt. Currently this function is broken since it does not follow the comedi API for insn_config

[PATCH 3/6] staging: comedi: addi_apci_1564: introduce apci1564_private struct

2014-05-29 Thread Chase Southwood
The addi_private struct defined in addi-data/addi_common.h is very bloated and contains many fields which addi_apci_1564 does not require. In the interest of eventually removing this driver's dependency on addi_common.h, we can create a private data struct specifically for addi_apci_1564

[PATCH 4/6] staging: comedi: addi_apci_1564: add a subdevice for Change-of-State interrupt support

2014-05-29 Thread Chase Southwood
This board supports an interrupt that can be generated by an AND/OR combination of 16 of the input channels. Create a separate subdevice to handle this interrupt. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten --- drivers/staging/comedi/drivers/addi_apci_1564.c | 16

[PATCH 1/6] staging: comedi: addi_apci_1564: remove send_sig() use

2014-05-29 Thread Chase Southwood
The addi-data drivers use send_sig() to let the user know when an interrupt has occurred. The "standard" way to do this in the comedi subsystem is to have a subdevice that supports asynchronous commands and use comedi_event() to signal the user. Remove the send_sig() usage in this driver.

[PATCH 2/6] staging: comedi: addi_apci_1564: remove use of devpriv->b_OutputMemoryStatus

2014-05-29 Thread Chase Southwood
This member of the private data struct is only set at one location in the entire driver, and then never even used for anything. Let's just remove its use. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeeten --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c | 5

[PATCH 0/6] staging: comedi: addi_apci_1564: fix Change-of-State interrupt functionality.

2014-05-29 Thread Chase Southwood
This patchset introduces a new private data struct for this driver, adds all of the code required to support Change-of-State interrupts for the digital input subsystem, and finally focuses and fixes apci1564_interrupt() to service this type of interrupt correctly. Chase Southwood (6): staging:

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 7:12 PM, Minchan Kim wrote: > > Interim report, > > And result is as follows, It reduce about 800-byte compared to > my first report but still stack usage seems to be high. > Really needs diet of VM functions. Yes. And in this case uninlining things might actually help,

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread Sedat Dilek
On Fri, May 30, 2014 at 6:15 AM, Sedat Dilek wrote: > On Thu, May 29, 2014 at 10:59 PM, David Howells wrote: >> Sedat Dilek wrote: >> >>> "Fixable" in your testsuite? >> >> Done and pushed. >> > > Thanks. > > I still see lots of... > > umount: /mnt: not mounted > > ...and impermissible.test

Re: [PATCH 0/3] staging: comedi: addi_apci_1564: prepare for adding Change-of-State interrupt support

2014-05-29 Thread Chase Southwood
Hi Greg, On Sat, May 24, 2014 at 5:23 PM, Chase Southwood wrote: > This patchset adds the required subdevice for supporting DI COS interrupts, > as well as introducing a driver-specific private data struct that will > make the COS interrupt operations much more straightforward and clean. > >

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread Sedat Dilek
On Thu, May 29, 2014 at 10:59 PM, David Howells wrote: > Sedat Dilek wrote: > >> "Fixable" in your testsuite? > > Done and pushed. > Thanks. I still see lots of... umount: /mnt: not mounted ...and impermissible.test fails here... *** *** ./run.sh impermissible.test *** umount: /mnt: not

[PATCH 1/2] hugetlb: restrict hugepage_migration_support() to x86_64

2014-05-29 Thread Naoya Horiguchi
Curretly hugepage migration is available for all archs which support pmd-level hugepage, but testing is done only for x86_64 and there're bugs for other archs. So to avoid breaking such archs, this patch limits the availability strictly to x86_64 until developers of other archs get interested in

[PATCH 2/2] hugetlb: rename hugepage_migration_support() to ..._supported()

2014-05-29 Thread Naoya Horiguchi
We already have a function named hugepage_supported(), and the similar name hugepage_migration_support() is a bit unconfortable, so let's rename it hugepage_migration_supported(). Signed-off-by: Naoya Horiguchi --- include/linux/hugetlb.h | 4 ++-- mm/hugetlb.c| 2 +- mm/migrate.c

Re: [PATCH v3 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-05-29 Thread Satish Patel
On 5/29/2014 9:23 PM, Greg Kroah-Hartman wrote: On Thu, May 29, 2014 at 03:35:37PM +0530, Satish Patel wrote: +enum usim_card_mode { + USIM_CARD_MODE_ASYNC = 0, /* asynchronous mode */ + USIM_CARD_MODE_SYNC_TYPE1, /* synchronous mode: Type 1 */ +

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 7:17 PM, Rob Herring wrote: On Thu, May 29, 2014 at 3:34 AM, Satish Patel wrote: On 5/29/2014 12:23 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: SmartCard controller uses this interface to communicate with SmartCard via PHY Some

Re: [PATCH v11 0/3] Exynos 5410 support

2014-05-29 Thread Tushar Behera
On Thu, May 29, 2014 at 11:30 PM, Andreas Färber wrote: > Hi Tarek, > > > And I reproducibly get failures for CPUs 1-3, resulting in only one CPU > in /proc/cpuinfo (compared to 4 on downstream 3.14): > > [0.045778] CPU: Testing write buffer coherency: ok > [0.045968] /cpus/cpu@0 missing

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

2014-05-29 Thread Stephen Rothwell
Hi Tomi, Today's linux-next merge of the omap_dss2 tree got a conflict in arch/arm/boot/dts/am437x-gp-evm.dts between commit 99ffa6425f1b ("ARM: dts: am437x-gp-evm: add support for parallel NAND flash") from the arm-soc tree and commit 0186bec97131 ("ARM: dts: am437x-gp-evm: add LCD data") from

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Ming Lei
On Fri, May 30, 2014 at 11:19 AM, Jens Axboe wrote: > On 2014-05-29 20:49, Ming Lei wrote: >> >> Firstly, it isn't necessary to hold lock of vblk->vq_lock >> when notifying hypervisor about queued I/O. >> >> Secondly, virtqueue_notify() will cause world switch and >> it may take long time on some

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread J. R. Okajima
David Howells: > http://git.infradead.org/users/dhowells/unionmount-testsuite.git I've found some interesting cases. - impermissible.test, open_file_as_bin -t -w $file -E EACCES When $termslash is "/", a '/' is appended to the expanded $file, such as "/path/fileA/". If fileA is a

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Jens Axboe
On 2014-05-29 21:34, Ming Lei wrote: On Fri, May 30, 2014 at 11:19 AM, Jens Axboe wrote: On 2014-05-29 20:49, Ming Lei wrote: Firstly, it isn't necessary to hold lock of vblk->vq_lock when notifying hypervisor about queued I/O. Secondly, virtqueue_notify() will cause world switch and it may

Re: [PATCH 5/7 v6] trace, RAS: Add eMCA trace event interface

2014-05-29 Thread Chen, Gong
On Thu, May 29, 2014 at 09:12:51AM -0400, Steven Rostedt wrote: > What do you think gets recorded in the ring buffer? The pointer to the > string? No! You copy the entire string into the ring buffer, with > markers and all. How big is that string? 60 chars? 80? I see you > recording meta data

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

2014-05-29 Thread Stephen Rothwell
Hi Chris, After merging the mmc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/mmc/host/sunxi-mmc.c:25:29: fatal error: linux/clk/sunxi.h: No such file or directory Caused by commit 19b7f796c375 ("mmc: sunxi: Add driver for SD/MMC hosts found on Allwinner

[PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-29 Thread Dave Young
For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec boot failure. To address this issue do not export runtime maps

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-29 Thread Alex Elder
On 05/23/2014 07:53 PM, Mike Turquette wrote: > Quoting Alex Elder (2014-05-20 05:52:39) >> @@ -743,11 +746,16 @@ struct clk *kona_clk_setup(struct kona_clk *bcm_clk) >> clk = clk_register(NULL, _clk->hw); >> if (IS_ERR(clk)) { >> pr_err("%s: error registering clock

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Jens Axboe
On 2014-05-29 20:49, Ming Lei wrote: Firstly, it isn't necessary to hold lock of vblk->vq_lock when notifying hypervisor about queued I/O. Secondly, virtqueue_notify() will cause world switch and it may take long time on some hypervisors(such as, qemu-arm), so it isn't good to hold the lock and

[RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-05-29 Thread Masami Hiramatsu
On ia64 and ppc64, the function pointer does not point the entry address of the function, but the address of function discriptor (which contains the entry address and misc data.) Since the kprobes passes the function pointer stored by NOKPROBE_SYMBOL() to kallsyms_lookup_size_offset() for

Re: [PATCH V2 1/2] ftrace: Make saved_cmdlines use seq_read

2014-05-29 Thread Steven Rostedt
On Thu, 20 Feb 2014 17:44:31 +0900 Yoshihiro YUNOMAE wrote: > Current tracing_saved_cmdlines_read() implementation is naive; > simply allocate a big buffer, construct output data on the > buffer for each read operation, and then copy a portion of > the buffer to the user space buffer. This can

Re: [PATCH 2/3] hwmon: (iManager2) Add support for IT8516/18/28

2014-05-29 Thread Guenter Roeck
On 05/28/2014 10:57 PM, Wei-Chun Pan wrote: Advantech's new module comes equipped with "iManager" - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech

Ask for help on the memory allocation for process shared mutex (resend with plain text)

2014-05-29 Thread yang ben
Dear experts, I came across a memory/mutex issue. Would you kindly shed some light on it? I use pthread_mutex_xxx API to protect processes in user space. Since it should be process shared, I allocated a shared memory to store pthread_mutex_t structure. The shared memory is allocated using

[PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Ming Lei
Firstly, it isn't necessary to hold lock of vblk->vq_lock when notifying hypervisor about queued I/O. Secondly, virtqueue_notify() will cause world switch and it may take long time on some hypervisors(such as, qemu-arm), so it isn't good to hold the lock and block other vCPUs. On arm64 quad core

Re: [RFT PATCH -next v2] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-05-29 Thread Masami Hiramatsu
(2014/05/30 4:13), Suzuki K. Poulose wrote: >> @@ -2042,7 +2043,8 @@ static int __init populate_kprobe_blacklist(unsigned >> long *start, >> unsigned long offset = 0, size = 0; >> >> for (iter = start; iter < end; iter++) { >> -if (!kallsyms_lookup_size_offset(*iter, , ))

Re: [PATCH v3] pinctrl: to avoid duplicated calling enable_pinmux_setting for a pin

2014-05-29 Thread FanWu
On 05/30/2014 03:19 AM, Stephen Warren wrote: On 05/25/2014 08:43 PM, f...@marvell.com wrote: From: Fan Wu What the patch did: 1.To call pinmux_disable_setting ahead of pinmux_enable_setting in each time of calling pinctrl_select_state 2.Remove the HW disable operation in in

Re: Performance regression in v3.14

2014-05-29 Thread Greg Kroah-Hartman
On Wed, May 28, 2014 at 09:59:45AM +0200, Johan Hovold wrote: > [ +CC: Greg, Doug, Stratos, Yuyang ] > > On Wed, May 21, 2014 at 11:00:51AM +0200, Johan Hovold wrote: > > On Wed, May 07, 2014 at 07:10:49AM -0700, Dirk Brandewie wrote: > > > On 05/06/2014 10:40 PM, Viresh Kumar wrote: > > > >

Re: [PATCH] export efi.flags to sysfs

2014-05-29 Thread Dave Young
On 05/29/14 at 08:45am, Vivek Goyal wrote: > On Thu, May 29, 2014 at 10:08:37AM +0800, Dave Young wrote: > > On 05/28/14 at 08:40am, Vivek Goyal wrote: > > > On Wed, May 28, 2014 at 10:13:59AM +0800, Dave Young wrote: > > > > On 05/27/14 at 09:34am, Vivek Goyal wrote: > > > > > On Mon, May 26,

Re: [PATCH 0/5] mm: i_mmap_mutex to rwsem

2014-05-29 Thread Davidlohr Bueso
ping? Andrew any chance of getting this in -next? On Thu, 2014-05-22 at 20:33 -0700, Davidlohr Bueso wrote: > This patchset extends the work started by Ingo Molnar in late 2012, > optimizing the anon-vma mutex lock, converting it from a exclusive mutex > to a rwsem, and sharing the lock for

[PATCH 9/10] ACPI / scan: always register ACPI LPSS scan handler

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Prevent platform devices from being created for ACPI LPSS devices if CONFIG_X86_INTEL_LPSS is unset by compiling out the LPSS scan handler's callbacks only in that case and still compiling its device ID list in and registering the scan handler in either case. This change

[PATCH 8/10] ACPI / scan: always register memory hotplug scan handler

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Prevent platform devices from being created for ACPI memory device objects if CONFIG_ACPI_HOTPLUG_MEMORY is unset by compiling out the memory hotplug scan handler's callbacks only in that case and still compiling its device ID list in and registering the scan handler in

[PATCH 3/10] ACPI / scan: drop IDs that do not comply with the ACPI PNP ID rule

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui The PNP ACPI scan handler device ID list includes all the IDs from all of the struct pnp_device_id instances in the tree, but some of them do not follow the ACPI PNP ID rule (3 letters + 4 hex digits). For those IDs, the coressponding devices will never be enumerated via ACPI,

[PATCH 6/10] ACPI / scan: Change the meaning of missing .attach() in scan handlers

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Currently, some scan handlers can be compiled out entirely, which leaves the device objects they normally attach to without a scan handler. This isn't a problem as long as we don't have any default enumeration mechanism that applies to all devices without a scan handler.

[PATCH 4/10] ACPI / scan: drop unsupported serial IDs from PNP ACPI scan handler ID list

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui The "serial" PNP driver supports some "unknown" PNP modems (PNPCXXX/PNPDXXX) by matching magic strings in the PNP device name or the PNP device card name. ACPI enumerated PNP devices neither are PNP cards, nor have those magic strings in device names, so this mechamism never

[PATCH 7/10] ACPI / scan: always register container scan handler

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Prevent platform devices from being created for ACPI containers if CONFIG_ACPI_CONTAINER is unset by compiling out the container scan handler's callbacks only in that case and still compiling its device ID list in and registering the scan handler in either case. This

[PATCH 2/10] ACPI / PNP: use device ID list for PNPACPI device enumeration

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui ACPI can be used to enumerate PNP devices, but the code does not handle this in the right way currently. Namely, if an ACPI device object 1. Has a _CRS method, 2. Has an identification of "three capital characters followed by four hex digits", 3. Is not in the excluded

Re: [PATCH] gpio: Add support for Intel Crystal Cove PMIC

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 9:51 PM, Linus Walleij wrote: > On Thu, May 29, 2014 at 9:21 AM, Zhu, Lejun wrote: > >> Devices based on Intel SoC products such as Baytrail have a Power >> Management IC. In the PMIC there are subsystems for voltage regulation, >> A/D conversion, GPIO and PWMs. The PMIC in

[PATCH 5/10] ACPI / scan: introduce platform_id device PNP type flag

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Only certain types of ACPI device objects can be enumerated as platform devices, so in order to distinguish them from the others introduce a new ACPI device PNP type flag, platform_id, and set it for devices with a valid _HID to start with. This change is based on a

[PATCH 0/10] ACPI enumeration rework (was: Re: [PATCH V7 00/11] ACPI: ACPI enumeration rework)

2014-05-29 Thread Rafael J. Wysocki
On Friday, May 23, 2014 02:02:22 AM Zhang Rui wrote: > Hi, all, > > Currently, PNP bus is used as the default bus for for enumerating ACPI > devices with _HID/_CID. > For a device that needs to be enumerated to platform bus, we need to add > its id string to the platform scan handler white list

[PATCH 1/10] ACPI / scan: .match() callback for ACPI scan handlers

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Introduce a .match() callback for ACPI scan handlers to allow them to use more elaborate matching algorithms if necessary. That is needed for the upcoming PNP scan handler in particular. This change is based on a Zhang Rui's prototype. Signed-off-by: Rafael J. Wysocki

[PATCH 10/10] ACPI / scan: use platform bus type by default for _HID enumeration

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui Because of the growing demand for enumerating ACPI devices to platform bus, change the code to enumerate ACPI devices to platform bus by default. That will happen if the device object 1. Has pnp.type.platform_id set (device objects with _HID currently). 2. Does not have a scan

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 6:58 PM, Dave Chinner wrote: > > If the patch I sent solves the swap stack usage issue, then perhaps > we should look towards adding "blk_plug_start_async()" to pass such > hints to the plug flushing. I'd want to use the same behaviour in > __xfs_buf_delwri_submit() for

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Minchan Kim
On Fri, May 30, 2014 at 10:15:58AM +1000, Dave Chinner wrote: > On Fri, May 30, 2014 at 08:36:38AM +0900, Minchan Kim wrote: > > Hello Dave, > > > > On Thu, May 29, 2014 at 11:58:30AM +1000, Dave Chinner wrote: > > > On Thu, May 29, 2014 at 11:30:07AM +1000, Dave Chinner wrote: > > > > On Wed,

[PATCH] drm/exynos: remove unnecessary exynos_hdmi.h file

2014-05-29 Thread Jingoo Han
The exynos_hdmi.h has been used for the dedicated i2c drivers that were already removed. Thus, the unnecessary exynos_hdmi.h should be removed. Signed-off-by: Jingoo Han --- drivers/gpu/drm/exynos/exynos_hdmi.h | 23 --- 1 file changed, 23 deletions(-) delete mode 100644

Re: [PATCH v4] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 9:37 PM, Linus Walleij wrote: > On Tue, May 27, 2014 at 2:04 PM, Grygorii Strashko > wrote: >> On 05/27/2014 11:46 AM, Mika Westerberg wrote: (...) > > My idea is that you should call gpiochip_add() *first* and then > add the IRQs to the chip. In succession. > > Rationale: with

Re: [PATCH 13/14] perf tests: Add test for caching dso file descriptors

2014-05-29 Thread Namhyung Kim
Hi Jiri, On Thu, 29 May 2014 10:37:32 +0200, Jiri Olsa wrote: > On Thu, May 29, 2014 at 09:06:05AM +0900, Namhyung Kim wrote: >> On Tue, 27 May 2014 09:54:36 +0200, Jiri Olsa wrote: >> > On Tue, May 27, 2014 at 10:36:44AM +0900, Namhyung Kim wrote: >> >> On Thu, 15 May 2014 19:23:34 +0200, Jiri

United Nations Poverty Threshold 2014 Grant Award Winners!!!

2014-05-29 Thread UNITED NATIONS
Dear Sir/Madam, I am directed to inform you that a Grant Award have been approved by the United Nations Development Programmed (UNDP) under your watch. Kindly establish communication to know more about your approval details with the contact information Sincerely, Mr. Jan Knutsson For:

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Chinner
On Thu, May 29, 2014 at 06:24:02PM -0700, Linus Torvalds wrote: > On Thu, May 29, 2014 at 5:50 PM, Minchan Kim wrote: > >> > >> You could also try Dave's patch, and _not_ do my mm/vmscan.c part. > > > > Sure. While I write this, Rusty's test was crached so I will try Dave's > > patch, > > them

Re: [PATCH V4 3/3] cpufreq: Tegra: implement intermediate frequency callbacks

2014-05-29 Thread Viresh Kumar
On 29 May 2014 23:10, Stephen Warren wrote: > This patch breaks Tegra. The reason is below. Lets see what blunder I made :) >> diff --git a/drivers/cpufreq/tegra-cpufreq.c >> b/drivers/cpufreq/tegra-cpufreq.c > >> -static int tegra_cpu_clk_set_rate(unsigned long rate) >> +static unsigned int

Re: [PATCH] net: ks8851: Don't use regulator_get_optional()

2014-05-29 Thread Nishanth Menon
wn > Signed-off-by: Stephen Boyd > --- Reviewed-and-Tested-by: Nishanth Menon SDP2430: with next-20140529: before patch: https://github.com/nmenon/kernel-test-logs/blob/next-20140529/omap2plus_defconfig/sdp2430.txt After patch: http://slexy.org/raw/s21sryFhAx Looks good. --- Regards

Re: [PATCH] hugetlb: restrict hugepage_migration_support() to x86_64 (Re: BUG at mm/memory.c:1489!)

2014-05-29 Thread Hugh Dickins
On Fri, 30 May 2014, Michael Ellerman wrote: > > diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h > index 3c1b968..f230a97 100644 > --- a/include/linux/mempolicy.h > +++ b/include/linux/mempolicy.h > @@ -175,6 +175,12 @@ static inline int vma_migratable(struct vm_area_struct >

Re: [PATCH] export efi.flags to sysfs

2014-05-29 Thread Dave Young
On 05/29/14 at 02:10pm, Fleming, Matt wrote: > On 29 May 2014 13:59, Vivek Goyal wrote: > > > > Only second kernel boots with "noefi" and this parameter is appened by > > kexec-tools to second kernel command line. So first kernel will still > > boot *without noefi* and kexec-tools wil think that

[PATCH] extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate

2014-05-29 Thread Chanwoo Choi
This patch set the parent device of extcon device using first parameter of devm_extco_dev_allocate() to remove duplicate code on all of extcon provider drivers. Signed-off-by: Chanwoo Choi Reported-by: Charles Keepax Cc: Charles Keepax Cc: Mark Brown Cc: Graeme Gregory Cc: Kishon Vijay

Re: [PATCH] of: treat PCI config space as IORESOURCE_MEM type

2014-05-29 Thread Liviu Dudau
On Thu, May 29, 2014 at 07:29:31PM -0600, Bjorn Helgaas wrote: > On Thu, May 29, 2014 at 6:56 PM, Liviu Dudau wrote: > > On Thu, May 29, 2014 at 03:51:28PM -0500, Kumar Gala wrote: > >> > >> On May 29, 2014, at 3:44 PM, Rob Herring wrote: > >> > >> > On Thu, May 29, 2014 at 11:03 AM, Kumar Gala

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread George Spelvin
> This is odd. On my Ivy Bridge system the CPU speed from /proc/cpuinfo > is at max freq once I set the performance governor. > The numbers above almost look like > the cpu frequency is fluctuating and an average is taken. > What version of the kernel are you running? Is >

Re: [PATCH] drm/exynos: hdmi: remove the i2c drivers and use devtree - continued

2014-05-29 Thread Jingoo Han
On Friday, May 30, 2014 1:42 AM, Tomasz Figa wrote: > On 29.05.2014 18:36, Lee Jones wrote: > > There appears to have been a merge error on commit: > > > > 2b76813: drm/exynos: hdmi: remove the i2c drivers and use > > > > The original submission can be found at: > > > >

Re: [PATCH] hugetlb: restrict hugepage_migration_support() to x86_64 (Re: BUG at mm/memory.c:1489!)

2014-05-29 Thread Michael Ellerman
On Thu, 2014-05-29 at 14:34 -0400, Naoya Horiguchi wrote: > On Thu, May 29, 2014 at 06:59:43PM +1000, Michael Ellerman wrote: > > Applying your patch and running trinity pretty immediately results in the > > following, which looks related (sys_move_pages() again) ? > > > > Unable to handle kernel

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Chinner
On Fri, May 30, 2014 at 09:32:19AM +0900, Minchan Kim wrote: > On Fri, May 30, 2014 at 10:21:13AM +1000, Dave Chinner wrote: > > On Thu, May 29, 2014 at 08:06:49PM -0400, Dave Jones wrote: > > > On Fri, May 30, 2014 at 09:53:08AM +1000, Dave Chinner wrote: > > > > > > > That sounds like a plan.

Re: [PATCH 4/4] extcon: arizona: Correct typo to disable regulation for button detection

2014-05-29 Thread Chanwoo Choi
On 05/30/2014 12:27 AM, Charles Keepax wrote: > We can use the bypass mode on the MICVDD reg for button detection, as > the comment in the code states, however the code was mistakenly > disabling bypass. This patch corrects this and allows bypass mode during > button detection. > > Signed-off-by:

Re: [PATCH v3 13/13] mmc: mmci: Add Qcom specific pio_read function.

2014-05-29 Thread Stephen Boyd
On 05/29/14 00:43, Linus Walleij wrote: > On Wed, May 28, 2014 at 3:57 PM, Srinivas Kandagatla > wrote: > >>> This doesn't look endianness agnostic. Shouldn't we use ioread32_rep() >>> to read this fifo? >> Is'nt readl endianess aware? > At least once a year read through arch/arm/include/asm/io.h

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 5:05 PM, Linus Torvalds wrote: > > So maybe test a patch something like the attached. > > NOTE! This is absolutely TOTALLY UNTESTED! It's still untested, but I realized that the whole "blk_flush_plug_list(plug, true);" thing is pointless, since schedule() itself will do

Re: [PATCH] of: treat PCI config space as IORESOURCE_MEM type

2014-05-29 Thread Bjorn Helgaas
On Thu, May 29, 2014 at 6:56 PM, Liviu Dudau wrote: > On Thu, May 29, 2014 at 03:51:28PM -0500, Kumar Gala wrote: >> >> On May 29, 2014, at 3:44 PM, Rob Herring wrote: >> >> > On Thu, May 29, 2014 at 11:03 AM, Kumar Gala wrote: >> >> If we have a PCI config space specified in something like a

Re: rcu alignment warning tripping on m68k

2014-05-29 Thread Greg Ungerer
On 29/05/14 23:11, One Thousand Gnomes wrote: > On Thu, 29 May 2014 12:08:32 +1000 > Greg Ungerer wrote: > >> Hi All, >> >> Inside kernel/rcy/tree.c in __call_rcu() it does an alignment check on >> the head pointer passed in. This trips on m68k systems, because they only >> need alignment of

Re: [PATCH 3/4] extcon: arizona: Update manual headphone detection calculation

2014-05-29 Thread Chanwoo Choi
Hi Charles, On 05/30/2014 12:27 AM, Charles Keepax wrote: > The higher levels of impedance have a higher minimum value than the > first level. As the same value was used for all levels, higher impedances > were reported with a very low level of accuracy. This patch applies the > approriate lower

[PATCH v2 RESEND 3/4] staging: ion: remove order argument from free_buffer_page()

2014-05-29 Thread Heesub Shin
Now that the pages returned from the pool are compound pages, we do not need to pass the order information to free_buffer_page(). Signed-off-by: Heesub Shin Reviewed-by: Mitchel Humpherys Tested-by: John Stultz --- drivers/staging/android/ion/ion_system_heap.c | 9 - 1 file changed, 4

[PATCH v2 RESEND 4/4] staging: ion: optimize struct ion_system_heap

2014-05-29 Thread Heesub Shin
struct ion_system_heap has an array for storing pointers to page pools and it is allocated separately from the containing structure. There is no point in allocating those two small objects individually, bothering slab allocator. Using a variable length array simplifies code lines and reduces

[PATCH v2 RESEND 2/4] staging: ion: remove struct page_info

2014-05-29 Thread Heesub Shin
ION system heap creates a temporary list of pages to build scatter/gather table, introducing an internal data type, page_info. Now that the order field has been removed from it, we do not need to depend on such data type anymore. Signed-off-by: Heesub Shin Reviewed-by: Mitchel Humpherys

[PATCH v2 RESEND 1/4] staging: ion: remove order from struct page_info

2014-05-29 Thread Heesub Shin
ION system heap uses an internal data structure, struct page_info, for tracking down the meta information of the pages allocated from the pool. Now that the pool returns compound pages, we don't need to store page order in struct page_info. Signed-off-by: Heesub Shin Reviewed-by: Mitchel

Re: [PATCH 2/4] extcon: arizona: Use extcon cable API

2014-05-29 Thread Chanwoo Choi
On 05/30/2014 12:27 AM, Charles Keepax wrote: > From: Nikesh Oswal > > Use extcon cable API instead of state API as it is much more > idiomatic. > > Signed-off-by: Nikesh Oswal > Signed-off-by: Charles Keepax > --- > drivers/extcon/extcon-arizona.c | 15 ++- > 1 files changed,

  1   2   3   4   5   6   7   8   9   10   >