[PATCH firmware] rtl_nic: add firmware for RTL8168H and RTL8107E

2014-09-11 Thread Hayes Wang
File: rtl_nic/rtl8168h-1.fw Version: 0.0.1 File: rtl_nic/rtl8168h-2.fw Version: 0.0.1 File: rtl_nic/rtl8107e-1.fw Version: 0.0.1 File: rtl_nic/rtl8107e-2.fw Version: 0.0.1 Signed-off-by: Hayes Wang --- WHENCE| 12 rtl_nic/rtl8107e-1.fw | Bin 0 -> 2496 bytes rtl_n

[PATCH v6 2/8] mfd: max14577: Map charger device to its own of_node

2014-09-11 Thread Krzysztof Kozlowski
Add a "maxim,max14577-charger" of_compatible to the mfd_cell so the MFD child device (the charger) will have its own of_node set. This will be used by the max14577 charger driver in next patches to obtain battery configuration from DTS. Signed-off-by: Krzysztof Kozlowski Cc: Kyungmin Park Acked-

[PATCH v6 3/8] charger: max14577: Add support for MAX77836 charger

2014-09-11 Thread Krzysztof Kozlowski
Add support for MAX77836 charger to the max14577 driver. The MAX77836 charger is almost the same as 14577 model except: - No dead-battery detection; - Support for special charger (like in MAX77693); - Support for DX over-voltage protection (like in MAX77693); - Lower values of charging current

[PATCH v6 4/8] regulator/mfd: max14577: Export symbols for calculating charger current

2014-09-11 Thread Krzysztof Kozlowski
This patch prepares for changing the max14577 charger driver to allow configuring battery-dependent settings from DTS. The patch moves from regulator driver to MFD core driver and exports: - function for calculating register value for charger's current; - table of limits for chargers (MAX14577,

[PATCH v6 6/8] power: max17040: Add ID for MAX77836 Fuel Gauge block

2014-09-11 Thread Krzysztof Kozlowski
MAX77836 has the same Fuel Gauge as MAX17040/17048. The max17040 driver can be safely re-used. The patch adds MAX77836 device to the array of i2c_device_id. Additionally it removes the id associated with MAX17040 device as the value is not used. Signed-off-by: Krzysztof Kozlowski Cc: Kyungmin Par

[PATCH v6 0/8] charger/mfd: max14577: Add support for MAX77836

2014-09-11 Thread Krzysztof Kozlowski
Hi, This is a sixth version of patches adding support for MAX77836 device to the max14577 drivers. This patchset has been on the lists for quite long time and was already reviewed by all necessary maintainers except power supply. I need acks from power supply subsystem (patches: 3, 5-8). Genera

[PATCH v6 5/8] charger: max14577: Configure battery-dependent settings from DTS and sysfs

2014-09-11 Thread Krzysztof Kozlowski
Remove hard-coded values for: - Fast Charge current, - End Of Charge current, - Fast Charge timer, - Overvoltage Protection Threshold, - Battery Constant Voltage, and use DTS or sysfs to configure them. This allows using the max14577 charger driver with different batteries. Now the charger dr

[PATCH v6 1/8] mfd: max14577: Add defines for MAX77836 charger

2014-09-11 Thread Krzysztof Kozlowski
Prepare for adding support for MAX77836 charger to the max14577 charger driver by adding necessary new defines and prefixes to existing ones. The MAX77836 uses slightly different values for ChgTyp field of STATUS2 register. On the MAX14577 value of 0x6 is reserved and 0x7 dead battery. On the MAX7

[PATCH v6 7/8] devicetree: mfd: max14577: Add device tree bindings document

2014-09-11 Thread Krzysztof Kozlowski
Add document describing device tree bindings for MAX14577 MFD drivers: MFD core, extcon, regulator and charger. Both MAX14577 and MAX77836 chipsets are documented. Signed-off-by: Krzysztof Kozlowski Cc: Kyungmin Park Cc: devicet...@vger.kernel.org Reviewed-by: Tomasz Figa Acked-by: Andrew Mort

[PATCH v6 8/8] Documentation: charger: max14577: Document exported sysfs entry

2014-09-11 Thread Krzysztof Kozlowski
Document the 'fast charge timer' setting exported by max14577 driver through sysfs entry. Signed-off-by: Krzysztof Kozlowski Cc: Kyungmin Park Acked-by: Andrew Morton --- Documentation/ABI/testing/sysfs-class-power | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentati

Re: [PATCH] net/phy: micrel: Disable asymmetric pause for KSZ9031

2014-09-11 Thread Mike Looijmans
On 09/11/2014 08:41 PM, Florian Fainelli wrote: On 09/11/2014 06:45 AM, Mike Looijmans wrote: Our KSZ9031 appears to suffer from the same hardware bug as described for the KSZ9021 in commit 32fcafbcd1c9f6c7013016a22a5369b4acb93577, you have to unplug the cable and plug it back to get it to work.

[PATCH 1/4] unicore32-oldabi: add CONFIG_UNICORE32_OLDABI for distinguishing two ABIs

2014-09-11 Thread gxt
From: Guan Xuetao Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui --- arch/unicore32/Kconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index 928237a..e5d25b4 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfi

[PATCH 3/4] unicore32-oldabi: add sigcontext.h support for UNICORE32_OLDABI

2014-09-11 Thread gxt
From: Guan Xuetao Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui --- arch/unicore32/include/uapi/asm/sigcontext.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/unicore32/include/uapi/asm/sigcontext.h b/arch/unicore32/include/uapi/asm/sigcontext.h index 6a2d767..c

[PATCH 4/4] unicore32-oldabi: add oldabi syscall interface

2014-09-11 Thread gxt
From: Qin Rui Define unicore32 oldabi syscall in arch/unicore32/include/uapi/asm/unistd-oldabi.h. And implement some architecture related syscalls. Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui --- arch/unicore32/Kconfig | 3 + arch/unicore32/include/asm

[PATCH 2/4] unicore32-oldabi: add stat.h support for UNICORE32_OLDABI

2014-09-11 Thread gxt
From: Guan Xuetao Remove generated code in arch/unicore32/include/asm/Kbuild, and restore asm/stat.h for UNICORE32_OLDABI. Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui --- arch/unicore32/include/asm/Kbuild | 1 - arch/unicore32/include/uapi/asm/stat-oldabi.h | 71 +++

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

2014-09-11 Thread Jacek Anaszewski
Hi Bryan, Thanks for a review. On 09/12/2014 03:11 AM, Bryan Wu wrote: 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 V4

Re: [PATCH V2 2/2] Input: misc: introduce palmas-pwrbutton

2014-09-11 Thread Dmitry Torokhov
On Thu, Sep 11, 2014 at 07:01:19AM -0500, Nishanth Menon wrote: > Hi Dimtry, > > On 14:13-20140910, Dmitry Torokhov wrote: > > On Thu, Aug 21, 2014 at 02:01:43PM -0500, Nishanth Menon wrote: > > > On 08/21/2014 01:03 PM, Dmitry Torokhov wrote: > > > > > > I believe I have taken care of other conc

Re: [PATCH] perf symbols: Add path to Ubuntu kernel debuginfo file

2014-09-11 Thread Namhyung Kim
On Tue, 9 Sep 2014 09:11:52 +1000, Anton Blanchard wrote: > Ubuntu places the kernel debuginfo in /usr/lib/debug/boot/vmlinux-* > > Signed-off-by: Anton Blanchard It seems that you need to rebase it onto current acme/perf/core as there're little change in this area. The patch itself looks good t

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

2014-09-11 Thread Dmitry Torokhov
On Fri, Sep 12, 2014 at 10:38:41AM +0900, Jaewon Kim wrote: > 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 MAX776

Re: [PATCH 0/8] GenWQE: Add return code checking and cleanup (v3)

2014-09-11 Thread Frank Haverkamp
Hi Greg, Am Mittwoch, den 10.09.2014, 16:37 +0200 schrieb Frank Haverkamp: > We tested "misc/GenWQE: fix pci_enable_msi usage" from Sebastian Ott > successfully on our machine. The modification of the return code is > now fixed too. The driver version as sysfs entry was removed. The > driver versi

Re: [PATCH] perf: Ignore stripped vmlinux and fallback to kallsyms

2014-09-11 Thread Namhyung Kim
Hi Anton, On Tue, 9 Sep 2014 08:59:29 +1000, Anton Blanchard wrote: > If a vmlinux is stripped, perf will use it and ignore kallsyms. We > end up with useless profiles where everything maps to a few > runtime symbols: > > 63.39% swapper [kernel.kallsyms] [k] hcall_real_table > 4.

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-11 Thread Namhyung Kim
On Mon, 8 Sep 2014 10:38:47 -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Sep 07, 2014 at 10:24:12PM +0200, Stephane Eranian escreveu: >> Can't you figure out it is from the kernel (in perf record) by remembering >> you got the buildid from /sys/kernel/notes? > > Sure, the question was more abou

[Patch v2 2/2] export the kernel image size KERNEL_IMAGE_SIZE

2014-09-11 Thread Baoquan He
Now kaslr makes kernel image size changable, not the fixed size 512M. So KERNEL_IMAGE_SIZE need be exported to VMCOREINFO, otherwise makedumfile will crash. Signed-off-by: Baoquan He Acked-by: Kees Cook Acked-by: Vivek Goyal --- kernel/kexec.c | 3 +++ 1 file changed, 3 insertions(+) diff --g

[Patch v2 1/2] kaslr: check if kernel location is changed

2014-09-11 Thread Baoquan He
Function handle_relocations() is used to do the relocations handling for i686 and kaslr of x86_64. For 32 bit the relocation handling is mandotary to perform. For x86_64 only when kaslr is enabled and a random kernel location is chosen successfully the relocation handling shound be done. However pr

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

2014-09-11 Thread Markus Pargmann
Hi, On Fri, Sep 12, 2014 at 10:01:12AM +0800, Shengjiu Wang wrote: > 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 en

LETS SAVE A LIFE!

2014-09-11 Thread Engineer John Brucker
Beloved, We have never met before and I have no justifiable reason to contact you this way. I do urge you to listen to me and not pass judgement. I am writing this mail to you with heavy tears In my eyes and great sorrow in my heart because my Doctor told me that I have few months to live. I and

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-11 Thread Namhyung Kim
Hi Arnaldo, On Fri, 5 Sep 2014 12:44:02 -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Sep 06, 2014 at 12:16:40AM +0900, Namhyung Kim escreveu: >> Hi Adrian and Arnaldo, >> >> 2014-09-05 (금), 11:11 -0300, Arnaldo Carvalho de Melo: >> > Em Fri, Sep 05, 2014 at 10:22:40AM +0300, Adrian Hunter esc

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: > Currently in the event of a stack overrun a call to schedule() > does not check for this type of corruption. This corruption is > often silent and can go unnoticed. However once the corrupted > region is examined at a later stage, the outcome

Re: [PATCH] phy: miphy365x: Select GENERIC_PHY rather than depends on

2014-09-11 Thread Kishon Vijay Abraham I
Hi, On Thursday 11 September 2014 11:17 PM, Peter Griffin wrote: > Change miphy365x over to select GENERIC_PHY like all other phy drivers. A patch for this by Lee Jones has already been merged and should come up in this -rc cycle. Thanks Kishon > Also update the help message as the new stih410 S

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 scr

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 f

[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 916e895..5fed2d

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

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

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 representa

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.). Furth

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

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 >>> + * nec

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

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, https://github

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 whol

[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(+), 79

[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 --- drivers/mfd/intel_soc_pmic_cor

[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 git://git.kernel.org/pub/scm/linux/kernel/g

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 in

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 det

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 over

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 defaul

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 Kesavan

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

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

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

[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 insertions(+)

[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 0955b88..

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

[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 f3ce284..7a

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

[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 a/drive

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 othe

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

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

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

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

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 b/Documentation/

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

[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
"spi/pxa2xx-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, > and

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 f

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 ta

[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. > > "remvoe

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

[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 2130c75

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

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: > > [] ? cpuacct_account_field+0x

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 th

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

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

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

[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 ++-- drivers/

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

[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 a/drivers/iommu/intel_irq

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

[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 b/driv

[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 b/d

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

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

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

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 i

  1   2   3   4   5   6   7   8   9   10   >