Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-11 Thread Tom Gundersen
On Fri, Sep 12, 2014 at 12:26 AM, Luis R. Rodriguez wrote: > On Thu, Sep 11, 2014 at 2:43 PM, Tom Gundersen wrote: >> How about simply introducing a new flag to finit_module() to indicate >> that the caller does not care about asynchronicity. We could then pass >> this from udev, but existing

Re: [PATCH 00/10] implement zsmalloc shrinking

2014-09-11 Thread Minchan Kim
On Thu, Sep 11, 2014 at 04:53:51PM -0400, Dan Streetman wrote: > Now that zswap can use zsmalloc as a storage pool via zpool, it will > try to shrink its zsmalloc zs_pool once it reaches its max_pool_percent > limit. These patches implement zsmalloc shrinking. The way the pool is > shrunk is by

[PATCH] KVM: Refactor making request to makes it meaningful

2014-09-11 Thread guohliu
This patch replace the set_bit method by kvm_make_request to makes it more readable and consistency. Signed-off-by: Guo Hui Liu --- arch/x86/kvm/x86.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index

[PATCH 2/2] locking/rwsem-spinlock: Cleanup down_read()

2014-09-11 Thread Davidlohr Bueso
... when returning from a successful lock acquisition. The horror! Signed-off-by: Davidlohr Bueso --- kernel/locking/rwsem-spinlock.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/locking/rwsem-spinlock.c b/kernel/locking/rwsem-spinlock.c index 2c93571..07e456c

[PATCH 1/2] locking/rwsem: EXPORT_SYMBOL follows function definition

2014-09-11 Thread Davidlohr Bueso
rw-semaphore is the only type of lock doing this ugliness of exporting at the end of the file. Signed-off-by: Davidlohr Bueso --- kernel/locking/rwsem-xadd.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/locking/rwsem-xadd.c b/kernel/locking/rwsem-xadd.c

Re: [PATCH v5 5/9] rtc: at91sam9: make use of syscon/regmap to access GPBR registers

2014-09-11 Thread Boris BREZILLON
On Thu, 11 Sep 2014 19:42:09 +0200 Alexandre Belloni wrote: > On 11/09/2014 at 15:53:08 +0200, Boris Brezillon wrote : > > The GPBR registers are not part of the RTT block and thus should not be > > defined in the reg property of the rtt node. > > > > Use syscon to provide a proper DT

Re: [PATCH 2/9] locktorture: Add documentation

2014-09-11 Thread Davidlohr Bueso
Cc'ing Randy. On Thu, 2014-09-11 at 20:40 -0700, Davidlohr Bueso wrote: > Just like Documentation/RCU/torture.txt, begin a document for the > locktorture module. This module is still pretty green, so I have > just added some specific sections to the doc (general desc, params, > usage, etc.).

Re: [PATCH] f2fs: Fix recover when nid of non-inode dnode < nid of inode

2014-09-11 Thread Jaegeuk Kim
On Thu, Sep 11, 2014 at 08:25:17PM +0800, Huang Ying wrote: > > On Wed, 2014-09-10 at 22:37 -0700, Jaegeuk Kim wrote: > > On Wed, Sep 10, 2014 at 07:08:32PM +0800, huang ying wrote: > > > On Wed, Sep 10, 2014 at 3:21 PM, Jaegeuk Kim wrote: > > > > > > > On Tue, Sep 09, 2014 at 07:31:49PM +0800,

Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-11 Thread Shengjiu Wang
On Thu, Sep 11, 2014 at 09:43:59PM -0500, Timur Tabi wrote: > Shengjiu Wang wrote: > >+ret = clk_prepare_enable(ssi_private->clk); > >+if (ret) > >+return ret; > > Will this work on PowerPC, where ssi_private->clk is always NULL? When ssi_private->clk is NULL, then ret = 0,

Re: [PATCH v8 09/10] x86, mpx: cleanup unused bound tables

2014-09-11 Thread Dave Hansen
On 09/11/2014 08:02 PM, Ren, Qiaowei wrote: > On 2014-09-11, Hansen, Dave wrote: >> On 09/11/2014 01:46 AM, Qiaowei Ren wrote: >>> + * This function will be called by do_munmap(), and the VMAs >>> + covering >>> + * the virtual address region start...end have already been split >>> + if >>> + *

Re: [PATCH 01/10] zsmalloc: fix init_zspage free obj linking

2014-09-11 Thread Minchan Kim
On Thu, Sep 11, 2014 at 04:53:52PM -0400, Dan Streetman wrote: > When zsmalloc creates a new zspage, it initializes each object it contains > with a link to the next object, so that the zspage has a singly-linked list > of its free objects. However, the logic that sets up the links is wrong, >

Re: [PATCH v2] checkpatch: look for common misspellings

2014-09-11 Thread Joe Perches
On Fri, 2014-09-12 at 13:09 +0900, Masanari Iida wrote: > Test with "reseting" case, codespell found 21, grep found 26. Hello Masanari. How did codespell find any uses of reseting? What version of codespell are you using? (I tested with 1.7) Looking at the git tree for codespell,

Re: [PATCH v8 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-09-11 Thread H. Peter Anvin
On 09/11/2014 04:37 PM, Thomas Gleixner wrote: Specifically because marshaling the data in and out of the generic decoder was more complex than a special-purpose decoder. I did not look at that detail and I trust your judgement here, but that is in no way explained in the changelog. This

[PATCH 9/9] locktorture: Introduce torture context

2014-09-11 Thread Davidlohr Bueso
The amount of global variables is getting pretty ugly. Group variables related to the execution (ie: not parameters) in a new context structure. Signed-off-by: Davidlohr Bueso --- kernel/locking/locktorture.c | 161 ++- 1 file changed, 82 insertions(+),

[PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-11 Thread Davidlohr Bueso
Most of it is based on what we already have for writers. This allows readers to be very independent (and thus configurable), enabling future module parameters to control things such as rw distribution. Furthermore, readers have their own delaying function, allowing us to test different rw critical

[PATCH 8/9] locktorture: Support rwsems

2014-09-11 Thread Davidlohr Bueso
We can easily do so with our new reader lock support. Just an arbitrary design default: readers have higher (5x) critical region latencies than writers: 50 ms and 10 ms, respectively. Signed-off-by: Davidlohr Bueso --- Documentation/locking/locktorture.txt | 2 ++ kernel/locking/locktorture.c

[PATCH] mfd: intel_soc_pmic: Add CONFIG_PM_SLEEP check for suspend_fn/resume_fn

2014-09-11 Thread Jaewon Kim
This patch fix warning message with CONFIG_PM_SLEEP disabled If CONFIG_PM_SLEEP is not enabled we receive the following warning message: drivers/mfd/intel_soc_pmic_core.c:118:12: warning: 'intel_soc_pmic_suspend' defined but not used Signed-off-by: Jaewon Kim ---

[git pull] drm fixes

2014-09-11 Thread Dave Airlie
Hi Linus, ast, i915, radeon and msm fixes, all over the place, all fixing build issues, regressions, oopses or failure to detect cards. Dave. The following changes since commit 7ec62d421bdf29cb31101ae2689f7f3a9906289a: Merge branch 'for_linus' of

Re: [PATCH v5] ASoC: tda998x: Add a codec to the HDMI transmitter

2014-09-11 Thread Dave Airlie
On 10 September 2014 19:29, Jean-Francois Moine wrote: > This patch adds a CODEC function to the NXP TDA998x HDMI transmitter. > > The CODEC handles both I2S and S/PDIF inputs. > It maintains the audio format and rate constraints according > to the HDMI device parameters (EDID) and does dynamic

Re: [PATCH v2] checkpatch: look for common misspellings

2014-09-11 Thread Masanari Iida
Talking about codespell, it detected 76 "informations" in 3.17-rc4. " grep -R informations * |wc -l" found 120 typos. Test with "occured", codespell found 46, grep found 110. Test with "reseting" case, codespell found 21, grep found 26. So I expect about half of the incoming typos will be

Re: [PATCH v3 3/3] sched: BUG when stack end location is over written

2014-09-11 Thread Michael Ellerman
On Thu, 2014-09-11 at 16:41 +0100, Aaron Tomlin wrote: > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index a285900..2a8280a 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -824,6 +824,18 @@ config SCHEDSTATS > application, you can say N to avoid the very slight

vga and 64-bit memcpy's

2014-09-11 Thread Dave Airlie
Got an bug report from someone using a silicon motion video card in VGA mode about corruption that they tracked down to 64-bit memory operations not being supported by the video card, it appears that we probably shouldn't be using > 32-bit copies on VGA memory. The include/linux/vt_buffer.h

RE: [PATCH] clk: samsung: exynos5260: fix typo in clock name

2014-09-11 Thread Pankaj Dubey
Hi Tomasz, On Friday, September 12, 2014, Tomasz Figa wrote, > To: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux-samsung- > s...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: kgene@samsung.com; s.nawro...@samsung.com; mturque...@linaro.org; > Chander Kashyap; Abhilash

[PATCH -tip 0/9] locktorture: Improve and expand lock torturing

2014-09-11 Thread Davidlohr Bueso
This set includes general updates throughout the locktorture code. Particularly support for reader locks are added as well as torturing mutexes and rwsems. With the recent locking changes, it doesn't hurt to improve our testing infrastructure, and torturing is definitely one of them. For specific

[PATCH 3/9] locktorture: Support mutexes

2014-09-11 Thread Davidlohr Bueso
Add a "mutex_lock" torture test. The main difference with the already existing spinlock tests is that the latency of the critical region is much larger. We randomly delay for (arbitrarily) either 500 ms or, otherwise, 25 ms. While this can considerably reduce the amount of writes compared to non

[PATCH 4/9] locktorture: Teach about lock debugging

2014-09-11 Thread Davidlohr Bueso
Regular locks are very different than locks with debugging. For instance for mutexes, debugging forces to only take the slowpaths. As such, the locktorture module should take this into account when printing related information -- specifically when printing user passed parameters, it seems the

[PATCH 5/9] locktorture: Make statistics generic

2014-09-11 Thread Davidlohr Bueso
The statistics structure can serve well for both reader and writer locks, thus simply rename some fields that mention 'write' and leave the declaration of lwsa. Signed-off-by: Davidlohr Bueso --- kernel/locking/locktorture.c | 32 1 file changed, 16

[PATCH 1/9] locktorture: Rename locktorture_runnable parameter

2014-09-11 Thread Davidlohr Bueso
... to just 'torture_runnable'. It follows other variable naming and is shorter. Signed-off-by: Davidlohr Bueso --- kernel/locking/locktorture.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index

[PATCH 6/9] torture: Address race in module cleanup

2014-09-11 Thread Davidlohr Bueso
When performing module cleanups by calling torture_cleanup() the 'torture_type' string in nullified However, callers are not necessarily done, and might still need to reference the variable. This impacts both rcutorture and locktorture, causing printing things like: [ 94.226618] (null)-torture:

[PATCH 2/9] locktorture: Add documentation

2014-09-11 Thread Davidlohr Bueso
Just like Documentation/RCU/torture.txt, begin a document for the locktorture module. This module is still pretty green, so I have just added some specific sections to the doc (general desc, params, usage, etc.). Further development should update the file. Signed-off-by: Davidlohr Bueso ---

[PATCH net 2/2] r8169: fix setting rx vlan

2014-09-11 Thread Hayes Wang
The setting should depend on the new features not the current one. Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index

[PATCH net 0/2] r8169: fix rx vlan

2014-09-11 Thread Hayes Wang
There are two issues for hw rx vlan. The patches are used to fix them. Hayes Wang (2): r8169: fix the default setting of rx vlan r8169: fix setting rx vlan drivers/net/ethernet/realtek/r8169.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 1.9.3 -- To unsubscribe from

[PATCH net 1/2] r8169: fix the default setting of rx vlan

2014-09-11 Thread Hayes Wang
If the parameter "features" of __rtl8169_set_features() is equal to dev->features, the variable "changed" is alwayes 0, and nothing would be changed. Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v5 4/7] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-11 Thread tangchen
Hi Paolo, On 09/11/2014 10:24 PM, Paolo Bonzini wrote: Il 11/09/2014 16:21, Gleb Natapov ha scritto: As far as I can tell the if that is needed there is: if (!is_guest_mode() || !(vmcs12->secondary_vm_exec_control & ECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES)) write(PIC_ACCESS_ADDR) In

Re: [PATCH v5 4/7] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-11 Thread tangchen
Hi Gleb, Paolo, On 09/11/2014 10:47 PM, Gleb Natapov wrote: On Thu, Sep 11, 2014 at 04:37:39PM +0200, Paolo Bonzini wrote: Il 11/09/2014 16:31, Gleb Natapov ha scritto: What if the page being swapped out is L1's APIC access page? We don't run prepare_vmcs12 in that case because it's an

Re: [PATCH v3 16/17] arcmsr: support new adapter ARC12x4 series

2014-09-11 Thread Ching Huang
On Thu, 2014-09-11 at 16:21 +0200, Tomas Henzl wrote: > On 09/11/2014 05:59 AM, Ching Huang wrote: > > On Wed, 2014-09-10 at 11:58 +0200, Tomas Henzl wrote: > >> On 09/09/2014 06:30 PM, Christoph Hellwig wrote: > >>> Ching, > >>> > >>> do you have a chance to address Thomas second concern below?

Re: [PATCH v2] clocksource: arch_timer: Allow the device tree to specify the physical timer

2014-09-11 Thread Sonny Rao
On Thu, Sep 11, 2014 at 6:17 PM, Stephen Boyd wrote: > On 09/11/14 17:14, Sonny Rao wrote: > > On Thu, Sep 11, 2014 at 4:56 PM, Stephen Boyd wrote: >> >> >> Where does this platform jump to when a CPU comes up? Is it >> rockchip_secondary_startup()? I wonder if that path could have this >>

[PATCH v3] toshiba_acpi: Support new keyboard backlight type

2014-09-11 Thread Azael Avalos
Newer Toshiba models now come with a new (and different) keyboard backlight implementation with three modes of operation: TIMER, ON and OFF, and the LED is controlled internally by the firmware. This patch adds support for that type of backlight, changing the existing code to accomodate the new

Re: [PATCH 03/10] zsmalloc: always update lru ordering of each zspage

2014-09-11 Thread Seth Jennings
On Thu, Sep 11, 2014 at 04:53:54PM -0400, Dan Streetman wrote: > Update ordering of a changed zspage in its fullness group LRU list, > even if it has not moved to a different fullness group. > > This is needed by zsmalloc shrinking, which partially relies on each > class fullness group list to be

[PATCH v2 2/2] mfd: stmpe: Document DT binding for irq_over_gpio

2014-09-11 Thread Sean Cross
STMPE now supports using a GPIO as an IRQ source. Document the device tree binding for this option. Signed-off-by: Sean Cross --- Documentation/devicetree/bindings/mfd/stmpe.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt

[PATCH v2 0/2] Add irq_over_gpio DT support to STMPE

2014-09-11 Thread Sean Cross
These patches add support for using a GPIO as an IRQ source for the STMPE module when configured using device tree. Changes since v1: - Split actual patch and Documentation into two parts Sean Cross (2): mfd: stmpe: support gpio over irq under device tree mfd: stmpe: Document DT binding

[PATCH v2 1/2] mfd: stmpe: support gpio over irq under device tree

2014-09-11 Thread Sean Cross
The stmpe_platform_data has a irq_over_gpio field, which allows the system to read STMPE events whenever an IRQ occurs on a GPIO pin. This patch adds the ability to configure this field and to use a GPIO as an IRQ source for boards configuring the STMPE in device tree. Signed-off-by: Sean Cross

linux-next: build failure after merge of the slave-dma tree

2014-09-11 Thread Stephen Rothwell
x-pci: Add support for Intel Braswell"). I have used the slave-dma tree from next-20140911 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

Re: [PATCH 01/10] zsmalloc: fix init_zspage free obj linking

2014-09-11 Thread Seth Jennings
On Thu, Sep 11, 2014 at 04:53:52PM -0400, Dan Streetman wrote: > When zsmalloc creates a new zspage, it initializes each object it contains > with a link to the next object, so that the zspage has a singly-linked list > of its free objects. However, the logic that sets up the links is wrong, >

Re: [PATCH 00/10] implement zsmalloc shrinking

2014-09-11 Thread Seth Jennings
On Thu, Sep 11, 2014 at 04:53:51PM -0400, Dan Streetman wrote: > Now that zswap can use zsmalloc as a storage pool via zpool, it will > try to shrink its zsmalloc zs_pool once it reaches its max_pool_percent > limit. These patches implement zsmalloc shrinking. The way the pool is > shrunk is by

Re: [PATCH RFC 4/4] xen, blkback: add support for multiple block rings

2014-09-11 Thread Bob Liu
On 09/12/2014 07:45 AM, Arianna Avanzini wrote: > On Fri, Aug 22, 2014 at 02:15:58PM +0100, David Vrabel wrote: >> On 22/08/14 12:20, Arianna Avanzini wrote: >>> This commit adds to xen-blkback the support to retrieve the block >>> layer API being used and the number of available hardware queues,

RE: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-11 Thread Ren, Qiaowei
On 2014-09-11, Hansen, Dave wrote: > On 09/11/2014 01:46 AM, Qiaowei Ren wrote: >> + >> +return (void __user *)(unsigned long)(xsave_buf->bndcsr.cfg_reg_u & >> +MPX_BNDCFG_ADDR_MASK); >> +} > > I don't think casting a u64 to a ulong, then to a pointer is useful. > Just

[PATCH v2] Hibernate: Do not assume the first e820 area to be RAM

2014-09-11 Thread Lee, Chun-Yi
In arch/x86/kernel/setup.c::trim_bios_range(), the codes introduced by 1b5576e6 (base on d8a9e6a5), it updates the first 4Kb of memory to be E820_RESERVED region. That's because it's a BIOS owned area but generally not listed in the E820 table: [0.00] e820: BIOS-provided physical RAM map:

RE: [PATCH v8 09/10] x86, mpx: cleanup unused bound tables

2014-09-11 Thread Ren, Qiaowei
On 2014-09-11, Hansen, Dave wrote: > On 09/11/2014 01:46 AM, Qiaowei Ren wrote: >> + * This function will be called by do_munmap(), and the VMAs >> + covering >> + * the virtual address region start...end have already been split >> + if >> + * necessary and remvoed from the VMA list. > >

RE: [PATCH v8 06/10] mips: sync struct siginfo with general version

2014-09-11 Thread Ren, Qiaowei
On 2014-09-12, Thomas Gleixner wrote: > On Thu, 11 Sep 2014, Qiaowei Ren wrote: > >> Due to new fields about bound violation added into struct siginfo, >> this patch syncs it with general version to avoid build issue. > > You completely fail to explain which build issue is addressed by this >

[Bugfix] x86, NUMA, ACPI: Online node earlier when doing CPU hot-addition

2014-09-11 Thread Jiang Liu
With typical CPU hot-addition flow on x86, PCI host bridges embedded in physical processor are always associated with NOMA_NO_NODE, which may cause sub-optimal performance. 1) Handle CPU hot-addition notification acpi_processor_add() acpi_processor_get_info()

[PATCH net-next v2] r8152: support VLAN

2014-09-11 Thread Hayes Wang
Support hw VLAN for tx and rx. And enable them by default. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 79 - 1 file changed, 65 insertions(+), 14 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index

Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-11 Thread Timur Tabi
Shengjiu Wang wrote: + ret = clk_prepare_enable(ssi_private->clk); + if (ret) + return ret; Will this work on PowerPC, where ssi_private->clk is always NULL? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Deadlock in vtime_account_user() vs itself across a page fault

2014-09-11 Thread Frederic Weisbecker
On Thu, Sep 11, 2014 at 11:54:34PM +0100, David Howells wrote: > > Whilst trying to use docker, I'm occasionally seeing the attached deadlock in > user time accounting, with a page fault in the middle. The relevant lines > from the pre-fault bits of stack: > > [] ?

Re: [PATCH] slab: implement kmalloc guard

2014-09-11 Thread Mikulas Patocka
On Mon, 8 Sep 2014, Christoph Lameter wrote: > On Mon, 8 Sep 2014, Mikulas Patocka wrote: > > > I don't know what you mean. If someone allocates 1 objects with sizes > > from 1 to 1, you can't have 1 slab caches - you can't have a slab > > cache for each used size. Also - you can't

Re: perf top -g -U --sort=symbol --children == lalalalala?

2014-09-11 Thread Mike Galbraith
On Thu, 2014-09-11 at 18:30 -0300, Arnaldo Carvalho de Melo wrote: > Also, looking at the changelog entries and at tools/perf/Documentation/ > the only description for --children, the default, is: > > > --children:: > Accumulate callchain of children to parent entry so

RE: [PATCH 4/4 v3] GPIO: gpio-dwapb: Suspend & Resume PM enabling

2014-09-11 Thread Chen, Alvin
> On Tue, 9 Sep 2014, Weike Chen wrote: > > > > > struct dwapb_gpio; > > +struct dwapb_context; > > > > struct dwapb_gpio_port { > > struct bgpio_chip bgc; > > boolis_registered; > > struct dwapb_gpio *gpio; > > + struct dwapb_context*ctx; > >

[PATCH v2 0/2] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-09-11 Thread micky_ching
From: Micky Ching v2: using (err < 0) to check if a function failed, not using "if (err)" and "if (err < 0)" in mixing way. This patch fix rts5227 and rts5249 suspend issue, when card reader resumed from suspend state, the power state should reset before send buffer command. The original not

[PATCH v2 2/2] mfd: rtsx: fix PM suspend for 5249

2014-09-11 Thread micky_ching
From: Micky Ching Fix rts5249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fail. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c | 17 + 1 file changed, 17

[Patch Part3 V5 1/8] iommu/vt-d: Introduce helper function dmar_walk_resources()

2014-09-11 Thread Jiang Liu
Introduce helper function dmar_walk_resources to walk resource entries in DMAR table and ACPI buffer object returned by ACPI _DSM method for IOMMU hot-plug. Signed-off-by: Jiang Liu --- drivers/iommu/dmar.c| 209 +++ drivers/iommu/intel-iommu.c |

[Patch Part3 V5 2/8] iommu/vt-d: Dynamically allocate and free seq_id for DMAR units

2014-09-11 Thread Jiang Liu
Introduce functions to support dynamic IOMMU seq_id allocating and releasing, which will be used to support DMAR hotplug. Also rename IOMMU_UNITS_SUPPORTED as DMAR_UNITS_SUPPORTED. Signed-off-by: Jiang Liu --- drivers/iommu/dmar.c| 40 ++--

[PATCH] perf tools: define _DEFAULT_SOURCE for glibc_2.20

2014-09-11 Thread Chanho Park
_BSD_SOURCE was deprecated in favour of _DEFAULT_SOURCE since glibc 2.20[1]. To avoid build warning on glibc2.20, _DEFAULT_SOURCE should also be defined. [1]: https://sourceware.org/glibc/wiki/Release/2.20 Signed-off-by: Chanho Park --- tools/perf/util/util.h | 2 ++ 1 file changed, 2

[Patch Part3 V5 5/8] iommu/vt-d: Enhance intel_irq_remapping driver to support DMAR unit hotplug

2014-09-11 Thread Jiang Liu
Implement required callback functions for intel_irq_remapping driver to support DMAR unit hotplug. Signed-off-by: Jiang Liu --- drivers/iommu/intel_irq_remapping.c | 222 ++- 1 file changed, 169 insertions(+), 53 deletions(-) diff --git

[Patch Part3 V5 8/8] pci, ACPI, iommu: Enhance pci_root to support DMAR device hotplug

2014-09-11 Thread Jiang Liu
Finally enhance pci_root driver to support DMAR device hotplug when hot-plugging PCI host bridges. Signed-off-by: Jiang Liu --- drivers/acpi/pci_root.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index

[Patch Part3 V5 4/8] iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug

2014-09-11 Thread Jiang Liu
According to Intel VT-d specification, _DSM method to support DMAR hotplug should exist directly under corresponding ACPI object representing PCI host bridge. But some BIOSes doesn't conform to this, so search for _DSM method in the subtree starting from the ACPI object representing the PCI host

[Patch Part3 V5 6/8] iommu/vt-d: Enhance error recovery in function intel_enable_irq_remapping()

2014-09-11 Thread Jiang Liu
Enhance error recovery in function intel_enable_irq_remapping() by tearing down all created data structures. Signed-off-by: Jiang Liu --- drivers/iommu/intel_irq_remapping.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/intel_irq_remapping.c

[Patch Part3 V5 7/8] iommu/vt-d: Enhance intel-iommu driver to support DMAR unit hotplug

2014-09-11 Thread Jiang Liu
Implement required callback functions for intel-iommu driver to support DMAR unit hotplug. Signed-off-by: Jiang Liu --- drivers/iommu/intel-iommu.c | 206 +++ 1 file changed, 151 insertions(+), 55 deletions(-) diff --git a/drivers/iommu/intel-iommu.c

[Patch Part3 V5 3/8] iommu/vt-d: Implement DMAR unit hotplug framework

2014-09-11 Thread Jiang Liu
On Intel platforms, an IO Hub (PCI/PCIe host bridge) may contain DMAR units, so we need to support DMAR hotplug when supporting PCI host bridge hotplug on Intel platforms. According to Section 8.8 "Remapping Hardware Unit Hot Plug" in "Intel Virtualization Technology for Directed IO Architecture

[Patch Part3 V5 0/8] Enable support of Intel DMAR device hotplug

2014-09-11 Thread Jiang Liu
When hot plugging a descrete IOH or a physical processor with embedded IIO, we need to handle DMAR(or IOMMU) unit in the PCIe host bridge if DMAR is in use. This patch set tries to enhance current DMAR/IOMMU/IR drivers to support hotplug and is based on latest Linus master branch. All

[PATCH] mmc: rtsx: add card power off during probe

2014-09-11 Thread micky_ching
From: Roger Tseng Some platform have both UEFI driver and MFD/mmc driver, if entering linux while card in the slot, the card power is already on, and rtsx-mmc driver have no chance to make card power off. This will lead UHSI card failed to enter UHSI mode. It is hard to control the UEFI driver

Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module

2014-09-11 Thread Shengjiu Wang
On Thu, Sep 11, 2014 at 03:57:37PM -0700, Nicolin Chen wrote: > On Thu, Sep 11, 2014 at 01:38:29PM +0800, Shengjiu Wang wrote: > > Move the ipg clock enable and disable operation to startup and shutdown, > > that is only enable ipg clock when ssi is working. Keep clock is disabled > > when ssi is

Re: [PATCH/RESEND] tty: serial: msm: Add DT based earlycon support

2014-09-11 Thread Rob Herring
On Thu, Sep 11, 2014 at 5:14 PM, Stephen Boyd wrote: > Add support for DT based early console on platforms with the msm > serial hardware. > > Cc: Rob Herring > Signed-off-by: Stephen Boyd One comment, but looks good to me. Acked-by: Rob Herring > +static int __init >

RE: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Chen, Hanxiao
> -Original Message- > From: Aristeu Rozanski [mailto:a...@redhat.com] > > On Thu, Sep 11, 2014 at 05:51:31PM +0800, Chen Hanxiao wrote: > > Use marco instead of magic number > > for max user namespace level. > > patch is ok, but you might want to do s/marco/macro/ > Sorry for that

Re: [PATCH] fsnotify: don't put user context if it was never assigned

2014-09-11 Thread Sasha Levin
On 09/11/2014 04:43 PM, Andrew Morton wrote: > On Tue, 29 Jul 2014 09:25:14 -0400 Sasha Levin wrote: > >> > On some failure paths we may attempt to free user context even >> > if it wasn't assigned yet. This will cause a NULL ptr deref >> > and a kernel BUG. > Are you able to identify "some

Re: [PATCH v2 4/5] toshiba_acpi: Support new keyboard backlight type

2014-09-11 Thread Azael Avalos
Hi Darren, 2014-09-11 18:36 GMT-06:00 Darren Hart : > On Wed, Sep 10, 2014 at 09:01:56PM -0600, Azael Avalos wrote: > > Hi Azael, > >> Newer Toshiba models now come with a new (and different) keyboard >> backlight implementation with three modes of operation: TIMER, >> ON and OFF, and the LED is

Re: [PATCH v4 2/4] Input: misc: Add haptic driver on max77693

2014-09-11 Thread Jaewon Kim
Hello Dmity Torokhov. 2014년 09월 12일 02:10에 Dmitry Torokhov 이(가) 쓴 글: On Thu, Sep 11, 2014 at 09:54:20PM +0900, Jaewon Kim wrote: This patch add max77693-haptic device driver to support the haptic controller on MAX77693. The MAX77693 is a Multifunction device with PMIC, CHARGER, LED, MUIC,

[PATCH v2 1/2] mfd: rtsx: fix PM suspend for 5227

2014-09-11 Thread micky_ching
From: Micky Ching Fix rts5227 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fail. Signed-off-by: Micky Ching --- drivers/mfd/rts5227.c| 19 +++

Re: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

2014-09-11 Thread Alexei Starovoitov
On Thu, Sep 11, 2014 at 6:17 PM, Andy Lutomirski wrote: > On Thu, Sep 11, 2014 at 3:29 PM, Alexei Starovoitov wrote: >> On Thu, Sep 11, 2014 at 2:54 PM, Andy Lutomirski wrote: the verifier log contains full trace. Last unsafe instruction + error in many cases is useless. What we

Re: [PATCH RFC 2/2] memcg: add threshold for anon rss

2014-09-11 Thread Kamezawa Hiroyuki
(2014/09/12 0:41), Vladimir Davydov wrote: > Though hard memory limits suit perfectly for sand-boxing, they are not > that efficient when it comes to partitioning a server's resources among > multiple containers. The point is a container consuming a particular > amount of memory most of time may

Re: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite

2014-09-11 Thread Andy Lutomirski
On Thu, Sep 11, 2014 at 3:29 PM, Alexei Starovoitov wrote: > On Thu, Sep 11, 2014 at 2:54 PM, Andy Lutomirski wrote: >>> >>> the verifier log contains full trace. Last unsafe instruction + error >>> in many cases is useless. What we found empirically from using >>> it over last 2 years is that

Re: [PATCH RFC 1/2] memcg: use percpu_counter for statistics

2014-09-11 Thread Kamezawa Hiroyuki
(2014/09/12 0:41), Vladimir Davydov wrote: > In the next patch I need a quick way to get a value of > MEM_CGROUP_STAT_RSS. The current procedure (mem_cgroup_read_stat) is > slow (iterates over all cpus) and may sleep (uses get/put_online_cpus), > so it's a no-go. > > This patch converts memory

RE: [PATCH v4 9/9] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-09-11 Thread Peter Chen
> On Thu, Sep 11, 2014 at 08:54:47AM +0800, Peter Chen wrote: > > On Wed, Sep 03, 2014 at 09:40:40AM +0200, Antoine Tenart wrote: > > > @@ -595,23 +639,27 @@ static int ci_hdrc_probe(struct platform_device > *pdev) > > > return -ENODEV; > > > } > > > > > > - if

Re: [PATCH/RFC v5 2/4] leds: implement sysfs interface locking mechanism

2014-09-11 Thread Bryan Wu
On Wed, Aug 20, 2014 at 6:41 AM, Jacek Anaszewski wrote: > Add a mechanism for locking LED subsystem sysfs interface. > This patch prepares ground for addition of LED Flash Class > extension, whose API will be integrated with V4L2 Flash API. > Such a fusion enforces introducing a locking scheme,

Re: [PATCH v8 00/10] Intel MPX support

2014-09-11 Thread Dave Hansen
On 09/11/2014 01:46 AM, Qiaowei Ren wrote: > MPX kernel code, namely this patchset, has mainly the 2 responsibilities: > provide handlers for bounds faults (#BR), and manage bounds memory. Qiaowei, We probably need to mention here what "bounds memory" is, and why it has to be managed, and who is

Re: [PATCH] mtd: nand: gpmi: add proper raw access support

2014-09-11 Thread Huang Shijie
On Thu, Sep 11, 2014 at 04:38:47PM +0200, Boris BREZILLON wrote: > Hi Huang, > > On Thu, 11 Sep 2014 22:25:13 +0800 > Huang Shijie wrote: > > > Hi Boris, > > > > On Thu, Sep 11, 2014 at 02:36:16PM +0200, Boris BREZILLON wrote: > > > Hi Huang, > > > > > > On Thu, 11 Sep 2014 20:09:30 +0800 > >

SUPPLY ORDER (AGC)

2014-09-11 Thread YOLANDA AMSTRONG
Hello, I am re-sending our order specifications again, not sure you received our first inquiry email requesting you to send your best competitive prices. Please find below our official purchase order file & do let us have your quotations as regards our PO. LOG-IN TO VIEW FILE...

Re: [PATCH] mtd: nand: gpmi: add proper raw access support

2014-09-11 Thread Huang Shijie
On Thu, Sep 11, 2014 at 04:45:36PM +0200, Boris BREZILLON wrote: > On Thu, 11 Sep 2014 22:29:32 +0800 > Huang Shijie wrote: > > > On Wed, Sep 10, 2014 at 10:55:39AM +0200, Boris BREZILLON wrote: > > +static int gpmi_ecc_read_page_raw(struct mtd_info *mtd, > > > +

Re: [PATCH v2 4/5] toshiba_acpi: Support new keyboard backlight type

2014-09-11 Thread Darren Hart
On Wed, Sep 10, 2014 at 09:01:56PM -0600, Azael Avalos wrote: Hi Azael, > Newer Toshiba models now come with a new (and different) keyboard > backlight implementation with three modes of operation: TIMER, > ON and OFF, and the LED is controlled internally by the firmware. > > This patch adds

Re: [PATCH 2/2] leds: trigger: gpio: make ledtrig-gpio useable with GPIO drivers requiring threaded irqs

2014-09-11 Thread Bryan Wu
On Tue, Sep 9, 2014 at 12:40 AM, Lothar Waßmann wrote: > When trying to use the LED GPIO trigger with e.g. the PCA953x GPIO > driver, request_irq() fails with -EINVAL, because the GPIO driver > requires a nested interrupt handler. > > Use request_any_context_irq() to be able to use any GPIO

Re: repeated bugs in new rtl wifi drivers

2014-09-11 Thread Larry Finger
On 09/11/2014 06:50 PM, Kees Cook wrote: On Thu, Sep 11, 2014 at 4:38 PM, Larry Finger wrote: On 09/11/2014 05:27 PM, Kees Cook wrote: Hi, I keep fixing this same bug that keeps showing up in the rtl wifi drivers. CL_PRINTF keeps getting redefined (incorrectly) instead of using a correctly

Re: [PATCH 1/2] leds: trigger: gpio: fix warning in gpio trigger for gpios whose accessor function may sleep

2014-09-11 Thread Bryan Wu
On Tue, Sep 9, 2014 at 12:40 AM, Lothar Waßmann wrote: > When using a GPIO driver whose accessor functions may sleep (e.g. an > I2C GPIO extender like PCA9554) the following warning is issued: > WARNING: CPU: 0 PID: 665 at drivers/gpio/gpiolib.c:2274 > gpiod_get_raw_value+0x3c/0x48() > Modules

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-11 Thread Dave Hansen
On 09/11/2014 04:28 PM, Thomas Gleixner wrote: > On Thu, 11 Sep 2014, Qiaowei Ren wrote: >> This patch adds the PR_MPX_REGISTER and PR_MPX_UNREGISTER prctl() >> commands. These commands can be used to register and unregister MPX >> related resource on the x86 platform. > > I cant see anything

Re: futex_wait_setup sleeping while atomic bug.

2014-09-11 Thread Darren Hart
On Thu, Sep 11, 2014 at 04:53:38PM -0700, Davidlohr Bueso wrote: > On Thu, 2014-09-11 at 23:52 +0200, Thomas Gleixner wrote: > > From: Thomas Gleixner > > Date: Thu, 11 Sep 2014 23:44:35 +0200 > > Subject: futex: Unlock hb->lock in futex_wait_requeue_pi() error path > > That's the second time we

Re: [PATCH/RFC] timer: make deferrable cpu unbound timers really not bound to a cpu

2014-09-11 Thread Joonwoo Park
On Thu, Sep 11, 2014 at 04:56:52PM -0700, Joonwoo Park wrote: > When a deferrable work (INIT_DEFERRABLE_WORK, etc.) is queued via > queue_delayed_work() it's probably intended to run the work item on any > CPU that isn't idle. However, we queue the work to run at a later time > by starting a

RE: [PATCH v4 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-11 Thread Peter Chen
> On Thu, Sep 11, 2014 at 09:07:10AM +0800, Peter Chen wrote: > > On Wed, Sep 03, 2014 at 09:48:26AM +0200, Antoine Tenart wrote: > > > + > > > +static int ci_hdrc_usb2_dt_probe(struct device *dev, > > > + struct ci_hdrc_platform_data *ci_pdata) { > > > + ci_pdata->phy

Re: [PATCH v2] clocksource: arch_timer: Allow the device tree to specify the physical timer

2014-09-11 Thread Doug Anderson
Stephen, On Thu, Sep 11, 2014 at 4:56 PM, Stephen Boyd wrote: > On 09/11/14 10:43, Marc Zyngier wrote: If I was suicidal, I'd suggest you could pass a parameter to the command line, interpreted by the timer code... But I since I'm not, let's pretend I haven't said anything... ;-)

[PATCH RFC v2 1/5] xen, blkfront: port to the the multi-queue block layer API

2014-09-11 Thread Arianna Avanzini
This commit introduces support for the multi-queue block layer API, and at the same time removes the existing request_queue API support. The changes are only structural, and the number of supported hardware contexts is forcedly set to one. Signed-off-by: Arianna Avanzini ---

[PATCH RFC v2 3/5] xen, blkfront: negotiate the number of block rings with the backend

2014-09-11 Thread Arianna Avanzini
This commit implements the negotiation of the number of block rings to be used; as a default, the number of rings is decided by the frontend driver and is equal to the number of hardware queues that the backend makes available. In case of guest migration towards a host whose devices expose a

[PATCH RFC v2 4/5] xen, blkback: introduce support for multiple block rings

2014-09-11 Thread Arianna Avanzini
This commit adds to xen-blkback the support to map and make use of a variable number of ringbuffers. The number of rings to be mapped is forcedly set to one. Signed-off-by: Arianna Avanzini --- drivers/block/xen-blkback/blkback.c | 377 ---

Re: /proc//exe symlink behavior change in >=3.15.

2014-09-11 Thread Mateusz Guzik
On Thu, Sep 11, 2014 at 06:39:58PM -0500, Chuck Ebbert wrote: > On Sun, 7 Sep 2014 09:56:08 +0200 > Mateusz Guzik wrote: > > > On Sat, Sep 06, 2014 at 11:44:32PM +0200, Piotr Karbowski wrote: > > > Hi, > > > > > > Starting with kernel 3.15 the 'exe' symlink under /proc// acts > > > diffrent >

  1   2   3   4   5   6   7   8   9   10   >