[PATCH v2] ims-pcu: Add commands supported by the new version of the FW

2014-01-01 Thread Andrey Smirnov
New version of the PCU firmware supports two new commands: - IMS_PCU_CMD_OFN_SET_CONFIG which allows to write data to the registers of one finger navigation(OFN) chip present on the device - IMS_PCU_CMD_OFN_GET_CONFIG which allows to read data form the registers of said chip. This commit

Re: [PATCH 3/7] iommu/omap: Convert to devicetree

2014-01-01 Thread Sebastian Reichel
Hi, On Thu, Jan 02, 2014 at 01:13:42AM +0100, Laurent Pinchart wrote: + .of_match_table = omap_iommu_of_match, If CONFIG_OF isn't defined (pretty unlikely I agree, but a possibility you seem to be prepared for nonetheless given the above #if), this will fail to compile. FYI:

[PATCH RESEND net-next 3/7] bonding: slight optimization for bond_alb_xmit()

2014-01-01 Thread Ding Tianhong
The bond_alb_xmit will check the return value for bond_dev_queue_xmit() every time, but the bond_dev_queue_xmit() is always return 0, it is no need to check the value every time, so remove the unneed judgement for the xmit path. Signed-off-by: Ding Tianhong dingtianh...@huawei.com ---

[PATCH RESEND net-next 2/7] bonding: slight optimization for bond_3ad_xmit_xor()

2014-01-01 Thread Ding Tianhong
The bond_dev_queue_xmit() will always return 0, and as a fast path, it is inappropriate to check the res value when xmit every package, so remove the res check and avoid once judgement for xmit. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_3ad.c | 22

[PATCH RESEND net-next 5/7] bonding: remove unwanted return value for bond_dev_queue_xmit()

2014-01-01 Thread Ding Tianhong
The return value for bond_dev_queue_xmit() will not be used anymore, so remove the return value. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_main.c | 4 +--- drivers/net/bonding/bonding.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH RESEND net-next 6/7] bonding: remove the return value for bond_3ad_bind_slave()

2014-01-01 Thread Ding Tianhong
I'm sure the operand slave and bond for the function will not be NULL, so the check for the bond will not make any sense, so remove the judgement, and the return value was useless here, remove the unwanted return value. The comments for the bond 3ad is too old, cleanup some errors and warming.

[PATCH RESEND net-next 7/7] bonding: use ether_addr_equal_64bits to instead of ether_addr_equal

2014-01-01 Thread Ding Tianhong
The net_device.dev_addr have more than 2 bytes of additional data after the mac addr, so it is safe to use the ether_addr_equal_64bits(). Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/bonding/bond_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2014-01-01 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_64bits to instead of memcmp. Modify the MAC_ADDR_COMPARE to MAC_ADDR_EQUAL, this looks more appropriate. The comments for the bond 3ad is too old, cleanup some errors and warming. Suggested-by: Joe Perches j...@perches.com Signed-off-by: Ding

[PATCH RESEND net-next 0/7] bonding: slight optimization for bonding

2014-01-01 Thread Ding Tianhong
This serious of patches will slight optimize the mac address compare and xmit path for bonding, also make some cleanups. Julia was using ether_addr_equal_64bits to instead of ether_addr_equal, it is really a hard work and she may did not make patch for bonding yet, so I have do it in this

[PATCH RESEND net-next 4/7] bonding: slight optimizztion for bond_slave_override()

2014-01-01 Thread Ding Tianhong
When the skb is xmit by the function bond_slave_override(), it will have duplicate judgement for slave state, and I think it will consumes a little performance, maybe it is negligible, so I simplify the function and remove the unwanted judgement. Signed-off-by: Ding Tianhong

Re: [PATCH] lib/vsprintf: add %pT[C012] format specifier

2014-01-01 Thread Joe Perches
On Wed, 2014-01-01 at 19:02 +0900, Tetsuo Handa wrote: Joe Perches wrote: This choice (i.e. reserve only '\xFF') is more resource economy than my previous choice (i.e. reserve '\x7F' to '\xFF') at the cost of wasting only one byte compared to my previous choice. I supposed

Re: [PATCH] mm: add a new command-line kmemcheck value

2014-01-01 Thread Xishi Qiu
On 2013/12/31 18:12, Vegard Nossum wrote: (Oops, resend to restore Cc.) Hi, On 31 December 2013 09:32, Xishi Qiu qiuxi...@huawei.com wrote: Add a new command-line kmemcheck value: kmemcheck=3 (disable the feature), this is the same effect as CONFIG_KMEMCHECK disabled. After doing this,

Re: [PATCH] lib/vsprintf: add %pT[C012] format specifier

2014-01-01 Thread Joe Perches
btw: Those -6.6 field width uses really are just for debugging and I think should be removed. I didn't notice any other uses of field widths and current-value. Are there any? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 23/25] thermal: exynos: fix error return code

2014-01-01 Thread Zhang Rui
On Sun, 2013-12-29 at 23:47 +0100, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Set the return variable to an error code as done elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) //

[PATCH][Resend] Staging: comedi: replace printk() calls with dev_dbg() in pcmmio.c

2014-01-01 Thread Chase Southwood
From: Chase Southwood chase.southw...@yahoo.com This is a patch for pcmmio.c that changes several printk() calls to dev_dbg() or dev_err() to fix checkpatch.pl warnings. Patched from 3.13-rc6. Signed-off-by: Chase Southwood chase.southw...@yahoo.com --- drivers/staging/comedi/drivers/pcmmio.c

Re: [PATCH V2] thermal: imx: correct suspend/resume flow

2014-01-01 Thread Zhang Rui
On Tue, 2013-12-24 at 09:43 -0500, Anson Huang wrote: Fixes regression introduced by: commit 37713a1e8e4c1a1067ad4c99296f78d3c82ed9c4 Author: Philipp Zabel p.za...@pengutronix.de Date: Thu Aug 1 18:33:12 2013 +0200 thermal: imx: implement thermal alarm interrupt handling The

Re: [PATCH V2] thermal: imx: correct suspend/resume flow

2014-01-01 Thread Shawn Guo
On Thu, Jan 02, 2014 at 10:01:51AM +0800, Zhang Rui wrote: On Tue, 2013-12-24 at 09:43 -0500, Anson Huang wrote: Fixes regression introduced by: commit 37713a1e8e4c1a1067ad4c99296f78d3c82ed9c4 Author: Philipp Zabel p.za...@pengutronix.de Date: Thu Aug 1 18:33:12 2013 +0200

Re: Build and Source Tree Requirements for Out-of-tree Modules

2014-01-01 Thread Shea Levy
Hi, On 01/01/2014 03:04 PM, Austin S Hemmelgarn wrote: On 01/01/2014 10:11 AM, Shea Levy wrote: Hi all, I am a package maintainer for the kernel for the NixOS distribution. We support users building out-of-tree modules and other packages that might depend on the kernel source or build trees,

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Gene Heskett
On Wednesday 01 January 2014, Jason Cooper wrote: Gene, Most people on this list receive several _hundred_ to a couple thousand emails per day. Please use a concise and descriptive Subject line so your email catches the eye of folks who can most help you. I've updated it in this reply to:

Re: [PATCH] thermal:samsung: fix compilation warning

2014-01-01 Thread Zhang Rui
On Fri, 2013-12-20 at 17:42 +0530, Naveen Krishna Chatradhi wrote: This patch fixes a compilation warning. warning: passing argument 5 of 'thermal_zone_device_register' discards 'const' qualifier from pointer target type [enabled by default] include/linux/thermal.h:270:29: note: expected

Re: [PATCH v12 1/4] thermal: samsung: replace inten_ bit fields with intclr_

2014-01-01 Thread Zhang Rui
On Thu, 2013-12-19 at 11:35 +0530, Naveen Krishna Chatradhi wrote: This patch replaces the inten_rise_shift/mask and inten_fall_shift/mask with intclr_rise_shift/mask and intclr_fall_shift/mask respectively. Currently, inten_rise_shift/mask and inten_fall_shift/mask bits are only used to

Re: [PATCH] drivers: thermal: Mark function as static in x86_pkg_temp_thermal.c

2014-01-01 Thread Zhang Rui
On Wed, 2013-12-18 at 10:40 -0800, j...@joshtriplett.org wrote: On Wed, Dec 18, 2013 at 11:16:02PM +0530, Rashika Kheria wrote: Mark function sys_set_trip_temp() as static in x86_pkg_temp_thermal.c because it is not used outside this file. This eliminates the following warning in

RE: [alsa-devel] [PATCH] ASoC: simple-card: Add device's module clock selection.

2014-01-01 Thread li.xi...@freescale.com
Subject: Re: [alsa-devel] [PATCH] ASoC: simple-card: Add device's module clock selection. On 12/23/2013 08:25 AM, Xiubo Li wrote: diff --git a/a.out b/a.out new file mode 100644 index 000..e69de29 This patch did add a empty a.out file in the toplevel folder. - Lars Yes,

Re: Possible 3.13-rc nouveau regression with GT 560 Ti

2014-01-01 Thread Sid Boyce
On 01/01/14 18:46, Ilia Mirkin wrote: On Wed, Jan 1, 2014 at 9:04 AM, Sid Boyce sbo...@blueyonder.co.uk wrote: On 01/01/14 00:55, Ilia Mirkin wrote: On Tue, Dec 31, 2013 at 7:41 PM, Sid Boyce sbo...@blueyonder.co.uk wrote: On 31/12/13 10:36, Ilia Mirkin wrote: Having a dmesg would be nice.

Re: Possible 3.13-rc nouveau regression with GT 560 Ti

2014-01-01 Thread Ilia Mirkin
On Wed, Jan 1, 2014 at 9:36 PM, Sid Boyce sbo...@blueyonder.co.uk wrote: On 01/01/14 18:46, Ilia Mirkin wrote: On Wed, Jan 1, 2014 at 9:04 AM, Sid Boyce sbo...@blueyonder.co.uk wrote: On 01/01/14 00:55, Ilia Mirkin wrote: On Tue, Dec 31, 2013 at 7:41 PM, Sid Boyce sbo...@blueyonder.co.uk

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Gene Heskett
On Wednesday 01 January 2014, Gene Heskett wrote: On Wednesday 01 January 2014, Jason Cooper wrote: Can you please repost that X64 default configuration make line, that message seems to have encountered my expiry rules. Thanks Jason. Cheers, Gene -- To unsubscribe from this list: send the line

RE: [alsa-devel] [PATCH] ASoC: simple-card: Add device's module clock selection.

2014-01-01 Thread li.xi...@freescale.com
Hi Mark, Lars Subject: Re: [alsa-devel] [PATCH] ASoC: simple-card: Add device's module clock selection. On Wed, Jan 01, 2014 at 01:11:09PM +0100, Lars-Peter Clausen wrote: On 12/23/2013 08:25 AM, Xiubo Li wrote: diff --git a/a.out b/a.out new file mode 100644 index

Re: [PATCH v7 00/12] kexec kernel efi runtime support

2014-01-01 Thread Dave Young
On Sat, Dec 21, 2013 at 05:35:15PM +, Matt Fleming wrote: On Fri, 20 Dec, at 06:02:10PM, Dave Young wrote: Here is the V7 patchset for supporting kexec kernel efi runtime. Per pervious discussion I pass the 1st kernel efi runtime mapping via setup_data to 2nd kernel. Besides of the

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Randy Dunlap
On 01/01/14 18:40, Gene Heskett wrote: On Wednesday 01 January 2014, Gene Heskett wrote: On Wednesday 01 January 2014, Jason Cooper wrote: Can you please repost that X64 default configuration make line, that message seems to have encountered my expiry rules. Thanks Jason. Jason said: $

Re: [PATCH] thermal: ti-soc-thermal: clk_round_rate() can return a zero upon error

2014-01-01 Thread Zhang Rui
On Mon, 2013-12-09 at 18:09 -0800, Paul Walmsley wrote: Treat both negative and zero return values from clk_round_rate() as errors. This is needed since subsequent patches will convert clk_round_rate()'s return value to be an unsigned type, rather than a signed type, since some clock sources

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Gene Heskett
On Wednesday 01 January 2014, Randy Dunlap wrote: On 01/01/14 18:40, Gene Heskett wrote: On Wednesday 01 January 2014, Gene Heskett wrote: On Wednesday 01 January 2014, Jason Cooper wrote: Can you please repost that X64 default configuration make line, that message seems to have encountered my

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2014-01-01 Thread Wei Ni
On 11/13/2013 03:46 AM, Eduardo Valentin wrote: + +/** + * of_parse_thermal_zones - parse device tree thermal data + * + * Initialization function that can be called by machine initialization + * code to parse thermal data and populate the thermal framework + * with hardware thermal

RE: [PATCH] ASoC: add snd_soc_of_parse_master_clkdir() for dt

2014-01-01 Thread li.xi...@freescale.com
Subject: Re: [PATCH] ASoC: add snd_soc_of_parse_master_clkdir() for dt On Tue, Dec 31, 2013 at 04:10:44PM +0800, Xiubo Li wrote: I'm not very sure whether this patch is need for dt. It's not clear to me - it's not adding much on top of just passing the full property string to

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2014-01-01 Thread Wei Ni
On 11/13/2013 03:46 AM, Eduardo Valentin wrote: ... + +/** + * of_parse_thermal_zones - parse device tree thermal data + * + * Initialization function that can be called by machine initialization + * code to parse thermal data and populate the thermal framework + * with hardware thermal

Re: Possible 3.13-rc nouveau regression with GT 560 Ti

2014-01-01 Thread Sid Boyce
On 02/01/14 02:40, Ilia Mirkin wrote: On Wed, Jan 1, 2014 at 9:36 PM, Sid Boyce sbo...@blueyonder.co.uk wrote: On 01/01/14 18:46, Ilia Mirkin wrote: On Wed, Jan 1, 2014 at 9:04 AM, Sid Boyce sbo...@blueyonder.co.uk wrote: On 01/01/14 00:55, Ilia Mirkin wrote: On Tue, Dec 31, 2013 at 7:41 PM,

Re: [PATCH] x86: Add check for number of available vectors before CPU down [v2]

2014-01-01 Thread Chen, Gong
On Tue, Dec 31, 2013 at 04:22:09PM -0500, Prarit Bhargava wrote: Okay, how about, if (irq_has_action(irq) !irqd_is_per_cpu(data) ((!cpumask_empty(affinity_new)) !cpumask_subset(affinity_new, online_new)) ||

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2014-01-01 Thread Wei Ni
Sorry, please ignore this mail. This is not my regularly mail address. Thanks. Wei. On 01/02/2014 10:55 AM, Wei Ni wrote: On 11/13/2013 03:46 AM, Eduardo Valentin wrote: + +/** + * of_parse_thermal_zones - parse device tree thermal data + * + * Initialization function that can be

[PATCH v2] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2014-01-01 Thread jiel
From: Jane Li j...@marvell.com When a CPU is hot removed we'll cancel all the delayed work items via gov_cancel_work(). Sometimes the delayed work function determines that it should adjust the delay for all other CPUs that the policy is managing. If this scenario occurs, the canceling CPU will

Re: [PATCH] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2014-01-01 Thread Jane Li
Yes, I test it. After adding cpufreq_governor_lock in gov_queue_work() and running same test, there is no debugobjects warning. But it really can't work at all.. There should be a separate copy of lock in every file that includes cpufreq.h.. And so this shouldn't have worked. Oh.. I understand

[PATCH net-next v2 0/6] support new chip

2014-01-01 Thread Hayes Wang
Remove the trailing /* CRC */ for patch #3. Change the return value type of rtl_ops_init() from int to boolean for patch #4. Replace VENDOR_ID_SAMSUNG with SAMSUNG_VENDOR_ID for patch #6. Hayes Wang (6): r8152: move rtl8152_unload and ocp_reg_write r8152: modify the method of accessing PHY

[PATCH net-next v2 2/6] r8152: modify the method of accessing PHY

2014-01-01 Thread Hayes Wang
The old method to access PHY is through mdio channel. Replace it with the OCP channel. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 52 + 1 file changed, 18 insertions(+), 34 deletions(-) diff --git

[PATCH net-next v2 5/6] r8152: split rtl8152_enable

2014-01-01 Thread Hayes Wang
Split the contents of rtl8152_enable() into rtl_set_eee_plus() and rtl_enable(). Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c

[PATCH net-next v2 4/6] r8152: add rtl_ops

2014-01-01 Thread Hayes Wang
The different chips may have different settings. This makes it easy to let different chips have the same flow with differnt settings. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 57 +++-- 1 file changed, 50

[PATCH net-next v2 6/6] r8152: support RTL8153

2014-01-01 Thread Hayes Wang
Support new chip RTL8153 which is the USB 3.0 giga ethernet adapter. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/cdc_ether.c | 10 + drivers/net/usb/r8152.c | 615 +++- drivers/net/usb/r815x.c | 2 +- 3 files changed, 621

[PATCH net-next v2 1/6] r8152: move rtl8152_unload and ocp_reg_write

2014-01-01 Thread Hayes Wang
Change the locations of rtl8152_unload() and ocp_reg_write(). Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 58 - 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/net/usb/r8152.c

[PATCH net-next v2 3/6] r8152: change some definitions

2014-01-01 Thread Hayes Wang
Replace RX_BUF_THR with RX_THR_HIGH. Replace RWSUME_INDICATE with RESUME_INDICATE. Add CRC_SIZE, TX_ALIGN, and RX_ALIGN. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git

[PATCH v2] ASoC: soc-core: add snd_soc_of_parse_master_clkdir() for dt

2014-01-01 Thread Xiubo Li
This patch adds snd_soc_of_parse_master_clkdir() and supports below style on dt: master-clkdir-out; If this property is absent 0 will be returned, 1 otherwise. 0 : SND_SOC_CLOCK_IN 1 : SND_SOC_CLOCK_OUT Signed-off-by: Xiubo Li li.xi...@freescale.com --- include/sound/soc.h | 1 +

Re: [PATCH net-next v2 0/6] support new chip

2014-01-01 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Thu, 2 Jan 2014 11:22:38 +0800 Remove the trailing /* CRC */ for patch #3. Change the return value type of rtl_ops_init() from int to boolean for patch #4. Replace VENDOR_ID_SAMSUNG with SAMSUNG_VENDOR_ID for patch #6. Series applied, thank

RE: [PATCH] ASoC: simple-card: Add DAPM routes parse from device tree

2014-01-01 Thread li.xi...@freescale.com
Subject: Re: [PATCH] ASoC: simple-card: Add DAPM routes parse from device tree On Mon, Dec 23, 2013 at 12:57:01PM +0800, Xiubo Li wrote: Parses a simple DAPM route table from device tree. I've applied this on the basis that it's using a generic feature and won't do any harm but given

Re: [PATCH RESEND net-next 0/7] bonding: slight optimization for bonding

2014-01-01 Thread David Miller
From: Ding Tianhong dingtianh...@huawei.com Date: Thu, 2 Jan 2014 09:12:50 +0800 This serious of patches will slight optimize the mac address compare and xmit path for bonding, also make some cleanups. Julia was using ether_addr_equal_64bits to instead of ether_addr_equal, it is really a

Re: [PATCH 1/1] thermal: fix cpu_cooling max_level behavior

2014-01-01 Thread Zhang Rui
On Fri, 2013-12-06 at 09:52 -0400, Eduardo Valentin wrote: On 13-11-2013 14:11, Eduardo Valentin wrote: As per Documentation/thermal/sysfs-api.txt, max_level is an index, not a counter. Thus, in case a CPU has 3 valid frequencies, max_level is expected to be 2, for instance. The

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Ken Moffat
On Wed, Jan 01, 2014 at 09:25:55PM -0500, Gene Heskett wrote: On Wednesday 01 January 2014, Jason Cooper wrote: Are the rootfs binaries 32 bit? If so, did you enable CONFIG_IA32_EMULATION? That line above does not now exist in my .config for 3.8.2. Ditto for the .config in 3.12.6.

Re: [PATCH net-next v3 04/19] net: enic: slight optimization of addr compare

2014-01-01 Thread Sujith Sankar (ssujith)
Looks good. Acked by: Sujith Sankar ssuj...@cisco.com On 30/12/13 1:42 PM, Govindarajulu Varadarajan (gvaradar) gvara...@cisco.com wrote: On Mon, 30 Dec 2013, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: Christian Benvenuti be...@cisco.com

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Ken Moffat
On Thu, Jan 02, 2014 at 04:08:15AM +, Ken Moffat wrote: Anyway, best of luck and I hope you get it sorted. One further suggestion, since you appear to be at the running round in circles stage - 1. Start with a good kernel. In this case, I suppose 3.8.2 is the right place to begin. 2.

Re: [PATCH] lib/vsprintf: add %pT[C012] format specifier

2014-01-01 Thread Tetsuo Handa
Joe Perches wrote: On Wed, 2014-01-01 at 19:02 +0900, Tetsuo Handa wrote: Joe Perches wrote: This choice (i.e. reserve only '\xFF') is more resource economy than my previous choice (i.e. reserve '\x7F' to '\xFF') at the cost of wasting only one byte compared to my previous

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Gene Heskett
On Wednesday 01 January 2014, Ken Moffat wrote: On Wed, Jan 01, 2014 at 09:25:55PM -0500, Gene Heskett wrote: On Wednesday 01 January 2014, Jason Cooper wrote: Are the rootfs binaries 32 bit? If so, did you enable CONFIG_IA32_EMULATION? That line above does not now exist in my .config for

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-01 Thread Gene Heskett
On Wednesday 01 January 2014, Ken Moffat wrote: On Thu, Jan 02, 2014 at 04:08:15AM +, Ken Moffat wrote: Anyway, best of luck and I hope you get it sorted. One further suggestion, since you appear to be at the running round in circles stage - 1. Start with a good kernel. In this case, I

Re: [PATCH v2] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2014-01-01 Thread Viresh Kumar
On 2 January 2014 08:44, j...@marvell.com wrote: From: Jane Li j...@marvell.com When a CPU is hot removed we'll cancel all the delayed work items via gov_cancel_work(). Sometimes the delayed work function determines that it should adjust the delay for all other CPUs that the policy is

Re: [PATCH v2 2/9] POWERPC: pseries: cpuidle: remove superfluous dev-state_count initialization

2014-01-01 Thread Deepthi Dharwar
On 12/21/2013 12:17 AM, Bartlomiej Zolnierkiewicz wrote: pseries cpuidle driver sets dev-state_count to drv-state_count so the default dev-state_count initialization in cpuidle_enable_device() (called from cpuidle_register_device()) can be used instead. Signed-off-by: Bartlomiej

Re: [PATCH v2 3/9] POWERPC: pseries: cpuidle: use the common cpuidle_[un]register() routines

2014-01-01 Thread Deepthi Dharwar
On 12/21/2013 12:17 AM, Bartlomiej Zolnierkiewicz wrote: It is now possible to use the common cpuidle_[un]register() routines (instead of open-coding them) so do it. Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

Re: [PATCH] thermal: exynos: handle gate clock for misplaced TRIMINFO register

2014-01-01 Thread Zhang Rui
On Thu, 2013-11-07 at 18:12 +0530, Naveen Krishna Chatradhi wrote: On Exynos5420 the TMU(4) for GPU has a seperate clock enable bit from the other TMU channels(0 ~ 3). Hence, accessing TRIMINFO for base_second should be acompanied by enabling the respective clock. This patch which allow for

Dear Customer

2014-01-01 Thread www.Naukri.com
Dear Customer This message is from Naukri.com to all Employers registered With Naukri.com. we are currently carrying out maintenance exercise to improve our quality service, and reduce the rate of spam in our job portal. please confirm and upgrade your employers account click the link blow

Re: mm: kernel BUG at include/linux/swapops.h:131!

2014-01-01 Thread Bob Liu
On 12/24/2013 01:24 AM, Sasha Levin wrote: Ping? I've also Cc'ed the this page shouldn't be locked at all team. I have no idea why this BUG_ON was triggered. And it looks like 'mm: kernel BUG at mm/huge_memory.c:1440!' have the same call trace with this one. Perhaps they were introduced by

[PATCH v10 02/16] vrange: Clear volatility on new mmaps

2014-01-01 Thread Minchan Kim
From: John Stultz john.stu...@linaro.org At lsf-mm, the issue was brought up that there is a precedence with interfaces like mlock, such that new mappings in a pre-existing range do no inherit the mlock state. This is mostly because mlock only modifies the existing vmas, and so any new mmaps

[PATCH v10 01/16] vrange: Add vrange support to mm_structs

2014-01-01 Thread Minchan Kim
This patch adds vroot on mm_struct so process can set volatile ranges on anonymous memory. This is somewhat wasteful, as it increases the mm struct even if the process doesn't use vrange syscall. So a later patch will provide dynamically allocated vroots. One of note on this patch is

[PATCH v10 04/16] vrange: Add new vrange(2) system call

2014-01-01 Thread Minchan Kim
This patch adds new system call sys_vrange. NAME vrange - Mark or unmark range of memory as volatile SYNOPSIS int vrange(unsigned_long start, size_t length, int mode, int *purged); DESCRIPTION Applications can use vrange(2) to advise the kernel

[PATCH v10 00/16] Volatile Ranges v10

2014-01-01 Thread Minchan Kim
Hey all, Happy New Year! I know it's bad timing to send this unfamiliar large patchset for review but hope there are some guys with freshed-brain in new year all over the world. :) And most important thing is that before I dive into lots of testing, I'd like to make an agreement on design issues

[PATCH v10 13/16] vrange: Allocate vroot dynamically

2014-01-01 Thread Minchan Kim
This patch allocates vroot dynamically when vrange syscall is called so if anybody doesn't call vrange syscall, we don't waste memory space occupied by vroot. The vroot is allocated by SLAB_DESTROY_BY_RCU, thus because we can't guarantee vroot's validity when we are about to access vroot of a

[PATCH v10 08/16] vrange: Send SIGBUS when user try to access purged page

2014-01-01 Thread Minchan Kim
By vrange(2) semantic, a user should see SIGBUS if they try to access purged page without marking the memory as non-voaltile (ie, vrange(...VRANGE_NOVOLATILE)). This allows for optimistic traversal of volatile pages, without having to mark them non-volatile first and the SIGBUS allows

[PATCH v10 05/16] vrange: Add basic functions to purge volatile pages

2014-01-01 Thread Minchan Kim
This patch adds discard_vpage and related functions to purge anonymous and file volatile pages. It is in preparation for purging volatile pages when memory is tight. The logic to trigger purge volatile pages will be introduced in the next patch. Cc: Mel Gorman m...@csn.ul.ie Cc: Hugh Dickins

[PATCH v10 06/16] vrange: introduce fake VM_VRANGE flag

2014-01-01 Thread Minchan Kim
This patch introduce fake VM_VRANGE flag in vma-vm_flags. Actually, vma-vm_flags doesn't have such flag and it is just used to detect a page is volatile page or not in page_referenced. For it, page_referenced's vm_flags argument semantic is changed so that caller should specify what kinds of

[PATCH v10 16/16] vrange: Add vmstat counter about purged page

2014-01-01 Thread Minchan Kim
Adds some vmstat for analysise vrange working. [PGDISCARD|PGVSCAN]_[KSWAPD|DIRECT] means purged page/scanning so we could see effectiveness of vrange. PGDISCARD_RESCUED means how many of pages we are missing in core discarding logic of vrange so if it is big in no big memory pressure, it may

[PATCH v10 07/16] vrange: Purge volatile pages when memory is tight

2014-01-01 Thread Minchan Kim
This patch adds purging logic of volatile pages into direct reclaim path so that if vrange pages are selected as victim, they could be discarded rather than swapping out. Direct purging doesn't consider volatile page's recency because it would be better to free the page rather than swapping out

[PATCH v10 15/16] vrange: Prevent unnecessary scanning

2014-01-01 Thread Minchan Kim
Now, we scan and discard volatile pages per vrange size but vrange size is virtual address so we couldn't imagine how many of rss be there. It could make too excessive scanning in reclaim path if the range is too big but doesn't have rss so that CPU burns out. Another problem is we always start

[PATCH v10 10/16] vrange: Purging vrange-anon pages from shrinker

2014-01-01 Thread Minchan Kim
This patch provides the logic to discard anonymous vranges by generating the page list for the volatile ranges setting the ptes volatile, and discarding the pages. Cc: Mel Gorman m...@csn.ul.ie Cc: Hugh Dickins hu...@google.com Cc: Dave Hansen dave.han...@intel.com Cc: Rik van Riel

[PATCH v10 11/16] vrange: support shmem_purge_page

2014-01-01 Thread Minchan Kim
If VM discards volatile page of shmem/tmpfs, it should remove exceptional swap entry from radix tree as well as page itself. For it, this patch introduces shmem_purge_page and free_swap_and_ cache_locked which is needed because I don't want to add more overhead in hot path(ex, zap_pte). A later

[PATCH v10 14/16] vrange: Change purged with hint

2014-01-01 Thread Minchan Kim
struct vrange has a purged field which is just flag to express the range was purged or not so what we need is just a bit. It means it's too bloated. This patch changes the name with hint so upcoming patch will use other extra bitfield for other purpose. Cc: Mel Gorman m...@csn.ul.ie Cc: Hugh

[PATCH v10 12/16] vrange: Support background purging for vrange-file

2014-01-01 Thread Minchan Kim
Add support to purge vrange file pages. This is useful, since some filesystems like shmem/tmpfs use anonymous pages, which won't be aged off the page LRU if swap is disabled. Cc: Mel Gorman m...@csn.ul.ie Cc: Hugh Dickins hu...@google.com Cc: Dave Hansen dave.han...@intel.com Cc: Rik van Riel

[PATCH v10 09/16] vrange: Add core shrinking logic for swapless system

2014-01-01 Thread Minchan Kim
This patch adds the core volatile range shrinking logic needed to allow volatile range purging to function on swapless systems because current VM doesn't age anonymous pages in case of swapless system. Hook shrinking volatile pages logic into VM's reclaim path directly, where is shrink_list which

Re: [PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unaligned for bond addr compare

2014-01-01 Thread Julia Lawall
-// compare MAC addresses -#define MAC_ADDRESS_COMPARE(A, B) memcmp(A, B, ETH_ALEN) +/* compare MAC addresses */ +#define MAC_ADDRESS_EQUAL(A, B) \ + ether_addr_equal_64bits((const u8 *)A, (const u8 *)B) Are the casts needed? julia -- To unsubscribe from this list: send the line

[PATCH] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-01 Thread Lan Tianyu
The aml method _BIX of NEC LZ750/LS returns a broken package which skip the first member Revision according ACPI 5.0 spec Table 10-234. This patch is to add a quirk for this machine to skip member Revision during parsing _BIX returned package. Reported-and-tested-by: Francisco Castro

[PATCHv8 1/2] ARM: dts: vf610: Add eDMA node

2014-01-01 Thread Jingchang Lu
Signed-off-by: Jingchang Lu b35...@freescale.com --- changes in v8: describe dmamux info in edma node to avoid confusion. change eDMA requst source macro definitions. changes in v7: fix dmamux2 and dmamux3 register number. no changes in v2 ~ v6. arch/arm/boot/dts/vf610.dtsi | 31

[PATCHv8 0/2] dma: Add Freescale eDMA engine driver support

2014-01-01 Thread Jingchang Lu
This series add Freescale eDMA engine support. Jingchang Lu (2): ARM: dts: vf610: Add eDMA node dma: Add Freescale eDMA engine driver support Documentation/devicetree/bindings/dma/fsl-edma.txt | 67 arch/arm/boot/dts/vf610.dtsi | 31 ++

[PATCH] Thermal: update thermal zone device after setting emul_temp

2014-01-01 Thread Lan Tianyu
This patch is to update thermal zone device after setting emul_temp in order to make governor work according to input temperature immediately. Signed-off-by: Lan Tianyu tianyu@intel.com --- drivers/thermal/thermal_core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCHv8 2/2] dma: Add Freescale eDMA engine driver support

2014-01-01 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Jingchang Lu b35...@freescale.com --- changes in v8: change the edma driver according eDMA dts change. add big-endian

[PATCH v3]vt: use vc_allocate in con_init

2014-01-01 Thread Wang YanQing
After a5f4f52e82114e85aa1a066bd1a450acc19a464d (vt: use kzalloc() instead of the bootmem allocator), con_init began to use kzalloc to initialize vc_data, this patch convert con_init to use vc_allocate. The benefit we get: 1: reduce code duplication 2: vc_allocate is more robust 3: use kmalloc

ARM: Whether a bank must be fully contained by a section?

2014-01-01 Thread Wang Nan
Hi Russell, By reading the code of show_mem(), I found that there is an assumption that the page structs must be continuous for each bank: for_each_bank (i, mi) { ... page = pfn_to_page(pfn1); end = pfn_to_page(pfn2 - 1) + 1;

[PATCH v2] perf: add support for the xtensa architecture

2014-01-01 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- v2: use the core ID field from /proc/cpuinfo (Max Filippov) --- tools/perf/perf.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/perf/perf.h b/tools/perf/perf.h index b079304bd53d..e441864dbe03 100644 --- a/tools/perf/perf.h +++

<    1   2   3