Re: [tip:x86/cpu] x86, AMD: Enable WC+ memory type on family 10 processors

2013-02-13 Thread Pekka Enberg
On Wed, Feb 13, 2013 at 2:21 AM, H. Peter Anvin h...@zytor.com wrote: + rdmsrl(MSR_AMD64_BU_CFG2, value); + value = ~(1ULL 24); + wrmsrl(MSR_AMD64_BU_CFG2, value); + } }

Re: [ 00/22] 3.0.64-stable review

2013-02-13 Thread Satoru Takeuchi
At Tue, 12 Feb 2013 12:36:43 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.0.64 release. There are 22 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH 1/9] virtio: add functions for piecewise addition of buffers

2013-02-13 Thread Paolo Bonzini
Il 12/02/2013 21:49, Michael S. Tsirkin ha scritto: On Tue, Feb 12, 2013 at 09:08:27PM +0100, Paolo Bonzini wrote: Il 12/02/2013 19:23, Michael S. Tsirkin ha scritto: On Tue, Feb 12, 2013 at 07:04:27PM +0100, Paolo Bonzini wrote: Perhaps, but 3 or 4 arguments (in/out/nsg or

linux-next: manual merge of the akpm tree with the ipsec-next tree

2013-02-13 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in net/xfrm/xfrm_policy.c between commit 7cb8a93968e3 (xfrm: Allow inserting policies with matching mark and different priorities) from the ipsec-next tree and commit hlist: drop the node parameter from iterators from the akpm

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Glauber Costa
On 02/12/2013 09:37 PM, Johannes Weiner wrote: All reads from root-dead_count are atomic already, so I am not sure what you mean here. Anyway, I hope I won't make this even more confusing if I post what I have right now: Yes, but we are doing two reads. Can't the memcg that we'll store in

Re: [tip:x86/cpu] x86, AMD: Enable WC+ memory type on family 10 processors

2013-02-13 Thread Cyrill Gorcunov
On Wed, Feb 13, 2013 at 10:06:25AM +0200, Pekka Enberg wrote: On Wed, Feb 13, 2013 at 2:21 AM, H. Peter Anvin h...@zytor.com wrote: + rdmsrl(MSR_AMD64_BU_CFG2, value); + value = ~(1ULL 24); + wrmsrl(MSR_AMD64_BU_CFG2,

Re: [PATCH 2/5] perf, x86: Basic Haswell PMU support v4

2013-02-13 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: +static int hsw_hw_config(struct perf_event *event) +{ + int ret = intel_pmu_hw_config(event); + + if (ret) + return ret; + if (!boot_cpu_has(X86_FEATURE_RTM) !boot_cpu_has(X86_FEATURE_HLE)) + return 0; +

Re: [PATCH v2 0/1] OMAP4: DSS: Add panel for Blaze Tablet boards

2013-02-13 Thread Tomi Valkeinen
Hi, On 2013-02-08 17:43, Ruslan Bilovol wrote: Hi, This patch adds support for TC358765 DSI-to-LVDS transmitter from Toshiba, that is used in OMAP4 Blaze Tablet development platform. It was originally developed a long time ago and was used internally survived few kernel migrations.

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-13 Thread Paolo Bonzini
Il 12/02/2013 10:52, Ingo Molnar ha scritto: Check the list I gave (unmodified): - Pekka listed new virtio drivers that were done via tools/kvm. vhost-scsi got in first in tools/kvm, but out-of-tree patches had existed for QEMU for more than a year. It was developed with QEMU. - Pekka

Re: [PATCH] x86: Lock down MSR writing in secure boot

2013-02-13 Thread Paolo Bonzini
Il 13/02/2013 07:33, H. Peter Anvin ha scritto: Sounds like you are thinking of CAP_SYS_ADMIN, but I don't really see a huge difference between MSRs and I/O control registers... just different address spaces. Not having CAP_SYS_RAWIO blocks various SCSI commands, for instance. These might

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-13 Thread Holger Hoffstätte
On 12.02.2013 21:42, Sarah Sharp wrote: [..] I think I see the issue. Your host controller reports the Inactive state after a USB disconnect. My host controllers go to the RxDetect state on a disconnect. The patches that went into 3.8 and the stable kernels to better handle the Inactive

Re: [PATCH v2 00/14] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542)

2013-02-13 Thread Paolo Bonzini
Il 06/02/2013 16:15, Paolo Bonzini ha scritto: This series regards the whitelist that is used for the SG_IO ioctl. This whitelist has three problems: * the bitmap of allowed commands is designed for MMC devices (roughly, play/burn CDs without requiring root) but some opcodes overlap

Re: [PATCH v5 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2013-02-13 Thread Felipe Balbi
On Tue, Feb 12, 2013 at 10:31:00PM -0800, kg...@kernel.org wrote: Vivek Gautam wrote: Based on 'usb-next' Changes from v4: - Modifying function names and driver names to follow a common naming convention. usb2phy for samsung-usb2phy driver usb3phy for

Re: [PATCH 0/3] [GIT PULL] sched: clean ups and a minor fix

2013-02-13 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: Ingo, The first of the patches is a minor fix to when a woken RT task is about to preempt a pinned RT task, push_rt_task() is called to try to migrate the woken task if possible (to avoid preempting a pinned RT task that may be the second

Re: [PATCH v2] ata: Fix DVD not dectected at some Haswell platforms

2013-02-13 Thread Libor Pechacek
Youquan Song, On Fri 01-02-13 10:19:42, Youquan Song wrote: There is a quirk patch 5e5a4f5d5a08c9c504fe956391ac3dae2c66556d ata_piix: make DVD Drive recognisable on systems with Intel Sandybridge chipsets(v2) This quirk patch fixes one kind of bug inside some Intel Sandybridge

Re: [GIT PULL rcu/srcu] SRCU commits for 3.9

2013-02-13 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, This series contains SRCU changes for 3.9. These include debugging aids, updates that move towards the goal of permitting srcu_read_lock() and srcu_read_unlock() to be used from idle and offline CPUs, and a few small

[PATCH v3] sched: fix wrong rq's runnable_avg update with rt task

2013-02-13 Thread Vincent Guittot
When a RT task is scheduled on an idle CPU, the update of the rq's load is not done because CFS's functions are not called. Then, the idle_balance, which is called just before entering the idle function, updates the rq's load and makes the assumption that the elapsed time since the last update,

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-13 Thread Pekka Enberg
On Wed, Feb 13, 2013 at 10:23 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 12/02/2013 10:52, Ingo Molnar ha scritto: Check the list I gave (unmodified): - Pekka listed new virtio drivers that were done via tools/kvm. vhost-scsi got in first in tools/kvm, but out-of-tree patches had

[PATCH] regulator: tps51632: Use regulator_[get|set]_voltage_sel_regmap

2013-02-13 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/tps51632-regulator.c | 52 +--- 1 file changed, 8 insertions(+), 44 deletions(-) diff --git a/drivers/regulator/tps51632-regulator.c b/drivers/regulator/tps51632-regulator.c index 7560d07..6e67be7

[RFC 1/1] xattr: provide integrity. namespace to read real values

2013-02-13 Thread Dmitry Kasatkin
User space tools use getxattr() system call to read values of extended attributes. getxattr() system call uses vfs_getattr(), which for security. namespace might get a value of the xattr indirectly from LSM via calling xattr_getsecurity(). For that reason value set by setxattr and read by getxattr

Re: [PATCH v2 10/13] mailbox: create dbx500 mailbox driver

2013-02-13 Thread Mark Rutland
On Tue, Feb 12, 2013 at 08:01:05PM +, Loic PALLARDY wrote: Hi Mark, Thanks for your comments. On 02/12/2013 11:39 AM, Mark Rutland wrote: Hello, I have a few comments on the devicetree binding and the way it's parsed. +static const struct of_device_id dbx500_mailbox_match[] =

Re: [PATCH v5 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2013-02-13 Thread Vivek Gautam
On Wed, Feb 13, 2013 at 2:02 PM, Felipe Balbi ba...@ti.com wrote: On Tue, Feb 12, 2013 at 10:31:00PM -0800, kg...@kernel.org wrote: Vivek Gautam wrote: Based on 'usb-next' Changes from v4: - Modifying function names and driver names to follow a common naming convention.

Re: [PATCH 5/5] perf, x86: Move NMI clearing to end of PMI handler after the counter registers are reset

2013-02-13 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: On Tue, Feb 12, 2013 at 09:43:46AM +0100, Ingo Molnar wrote: Was this stress-tested on all affected main CPU types, or only on Haswell? I tested it on Haswell and Ivy Bridge. I can also try Westmere and a Saltwell(Atom), but for the majority of

Re: [PATCH 0/3] scheduler include file reorganization

2013-02-13 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: Hi, On Mon, 11 Feb 2013 10:54:58 +0100, Ingo Molnar wrote: * Clark Williams willi...@redhat.com wrote: I figured that was coming. :) ;-) I'll look at it again and see about pulling the autogroup/cgroup stuff into it's own header.

Re: [PATCH v3] IIO ADC support for AD7923

2013-02-13 Thread Lars-Peter Clausen
On 02/13/2013 07:47 AM, Christophe Leroy wrote: This patch adds support for Analog Devices AD7923 ADC in the IIO Subsystem. Signed-off-by: Patrick Vasseur patrick.vass...@c-s.fr Signed-off-by: Christophe Leroy christophe.le...@c-s.fr Looks good, thanks. Reviewed-by: Lars-Peter Clausen

Re: [PATCH v3] IIO ADC support for AD7923

2013-02-13 Thread Jonathan Cameron
On 13/02/13 09:19, Lars-Peter Clausen wrote: On 02/13/2013 07:47 AM, Christophe Leroy wrote: This patch adds support for Analog Devices AD7923 ADC in the IIO Subsystem. Signed-off-by: Patrick Vasseur patrick.vass...@c-s.fr Signed-off-by: Christophe Leroy christophe.le...@c-s.fr Looks good,

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-13 Thread Ingo Molnar
* anish singh anish198519851...@gmail.com wrote: Is the below patch picked up? On Sun, Feb 3, 2013 at 9:31 PM, anish kumar anish198519851...@gmail.com wrote: From: anish kumar anish198519851...@gmail.com This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-13 Thread Ingo Molnar
* Pekka Enberg penb...@kernel.org wrote: I think Ingo confused virtio and vhost. IIRC, Asias developed vhost-blk using tools/kvm. Erm, indeed - sorry. Thanks, Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [ 00/36] 3.4.31-stable review

2013-02-13 Thread Satoru Takeuchi
At Tue, 12 Feb 2013 12:40:54 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.31 release. There are 36 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

[PATCH 0/5] omap[4/5] I2c/Spi dts patches

2013-02-13 Thread Sourav Poddar
Hi Tony, These patches were send as seperate ones before[1], but did not recieve any comments. Resending them all as a single patch series, as some affect the same files. [1]: https://patchwork.kernel.org/patch/2054891/ https://patchwork.kernel.org/patch/2054871/

[PATCH 2/5] arm: dts: omap5-evm: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap 5430evm results in the following error omap_i2c 4807.i2c: did not get pins for i2c error: -19 [1.024261] omap_i2c 4807.i2c: bus 0 rev0.12 at 100 kHz [1.030181] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [1.037384] omap_i2c 48072000.i2c:

[PATCH 4/5] arm: dts: omap5: add SPI devices to OMAP5 DeviceTree file

2013-02-13 Thread Sourav Poddar
From: Felipe Balbi ba...@ti.com Add all 4 mcspi instances to omap5.dtsi file. Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 40 1 files changed, 40 insertions(+), 0

[PATCH 5/5] arm: dts: omap5-evm: Add mcspi data

2013-02-13 Thread Sourav Poddar
Add mcspi node and pinmux data for omap5 mcspi controller. Tested on omap5430 evm with 3.8-rc6 custom kernel. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/omap5-evm.dts | 46 +++ 1 files changed, 46 insertions(+), 0 deletions(-)

[PATCH 3/5] arm: dts: omap4-panda: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap4 panda results in the following error [0.27] omap_i2c 4807.i2c: did not get pins for i2c error: -19 [0.445770] omap_i2c 4807.i2c: bus 0 rev0.11 at 400 kHz [0.473937] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [0.474670] omap_i2c

[PATCH 1/5] arm: dts: omap4-sdp: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap 4430sdp results in the following error omap_i2c 4807.i2c: did not get pins for i2c error: -19 [1.024261] omap_i2c 4807.i2c: bus 0 rev0.12 at 100 kHz [1.030181] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [1.037384] omap_i2c 48072000.i2c:

Re: MODSIGN without RTC?

2013-02-13 Thread Alexander Holler
Am 07.02.2013 08:01, schrieb Alexander Holler: And the dream of every vendor, finally a working expiration date. And a nice TV-B-Gone, just feed a wrong date once. ;) Just in case someone missed what I wanted to hint: That date problem has implications for devices with a RTC too. If they

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Arend van Spriel
On 02/13/2013 04:35 AM, Peter Hurley wrote: On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: 3.7-stable review patch. If anyone has any objections, please let me know. FWIW, I never saw this on 3.7 but it happened 1st time on 3.8-rcX I haven't tested this fix either. Dito. Gr.

[PATCH 0/9] extcon: Update for extcon-max8997/77693

2013-02-13 Thread Chanwoo Choi
This patchset add a few new feature of extcon-max8997 and fix minor issue of extcon-max8997/77693. Update extcon-max8997 driver - Consolidate duplicate code - Set default uart/usb path for internal line of muic device - Set default ADC debounce time - Use wq to check cable state after certain

[PATCH 6/9] extcon: max8997: Set default of ADC debounce time during initialization

2013-02-13 Thread Chanwoo Choi
This patch set default of ADC Debounce Time(25ms) during probe step. Also, can possible change ADC Debounce Time according to H/W situation by using max8997_set_adc_debounce_time() Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com ---

[PATCH 9/9] extcon: max8997: Use workqueue to check cable state after completing boot of platform

2013-02-13 Thread Chanwoo Choi
This patch use delayed workqueue to check cable state after a certain time. If extcon-max8997 driver check cable state during booting of platform, this couldn't send the correct notification of cable state to extcon consumer. Alwasys, this driver should check cable state after the completion of

[PATCH 8/9] extcon: max8997: Set default UART/USB path on probe

2013-02-13 Thread Chanwoo Choi
This patch set default H/W line path according to platfomr data. The MAX8997 MUIC device can possibly set UART/USB or UART_AUX /USB_AUX to internal H/W line path of MUIC device. Namely, only one H/W line is used for two operation. For example, if H/W line path of MAX8997 device set UART/USB,

[PATCH 5/9] extcon: max8997: Remove duplicate code related to set H/W line path

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com --- drivers/extcon/extcon-max8997.c | 62 ++--- include/linux/mfd/max8997-private.h | 19 +++- 2 files changed, 69 insertions(+), 12 deletions(-)

[PATCH 7/9] extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type

2013-02-13 Thread Chanwoo Choi
This patch make max8997_muic_get_cable_type() function to remove duplicate code for checking ADC/Charger cable type because almost internal function need to read adc/chg_type value of MUIC register. Also, remove *_detach() function, extcon-max8997 driver treat attach/detach operation of cable in

[PATCH 2/9] extcon: max77693: Convert to devm_input_allocate_device()

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com --- drivers/extcon/extcon-max77693.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index

[PATCH 3/9] extcon: max77693: Remove unnecessary goto statement to improve readability

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com --- drivers/extcon/extcon-max77693.c | 77 ++-- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c

[PATCH 4/9] extcon: max8997: Move defined constant to header file

2013-02-13 Thread Chanwoo Choi
This patch move defined constants to header file(max77693-private.h) because of mask/unmask selectively interrupt of MUIC device according to attribute of H/W board. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com ---

Re: [PATCH 1/2] perf stat: refactor aggregation code

2013-02-13 Thread Stephane Eranian
On Wed, Feb 13, 2013 at 8:50 AM, Namhyung Kim namhy...@kernel.org wrote: Hi Stephane, On Tue, 12 Feb 2013 15:09:27 +0100, Stephane Eranian wrote: Refactor aggregation code by introducing a single aggr_mode variable and an enum for aggregation. Also refactor cpumap code having to do with

[PATCH] USB: EHCI: make ehci-mv a separate driver

2013-02-13 Thread Manjunath Goudar
Separate the mv host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Eric Miao eric.y.m...@gmail.com Cc: Haojian Zhuang

Re: [char-misc-next 01/12 v3] mei: Rename mei_device to mei_host

2013-02-13 Thread Samuel Ortiz
On Tue, Feb 12, 2013 at 11:09:00PM +, Arnd Bergmann wrote: On Tuesday 12 February 2013, gre...@linuxfoundation.org wrote: Please let's find something that makes both hw and Linux happy I still believe it makes sense to use mei_device for what we add to the MEI bus. I'd be

[PATCH 1/9] extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com --- drivers/extcon/extcon-gpio.c | 2 +- include/linux/extcon/extcon-gpio.h | 52 ++ include/linux/extcon/extcon_gpio.h | 52

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Ben Skeggs
On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: On 02/13/2013 04:35 AM, Peter Hurley wrote: On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: 3.7-stable review patch. If anyone has any objections, please let me know. FWIW, I never saw this on 3.7 but it happened

Re: [PATCH 00/08] clocksource: sh_cmt: CMT driver update

2013-02-13 Thread Guennadi Liakhovetski
Hi Magnus On Fri, 14 Dec 2012, Magnus Damm wrote: clocksource: sh_cmt: CMT driver update [PATCH 01/08] clocksource: sh_cmt: Take care of clk_put() when setup_irq() fails [PATCH 02/08] clocksource: sh_cmt: Initialize 'max_match_value' and 'lock' in sh_cmt_setup() [PATCH 03/08]

[PATCH nf-next] netfilter: nf_ct_reasm: fix per-netns sysctl initialization

2013-02-13 Thread Michal Kubecek
Adjusting of data pointers in net/netfilter/nf_conntrack_frag6_* sysctl table for other namespaces points to wrong netns_frags structure and has reversed order of entries. Problem introduced by commit c038a767cd69 in 3.7-rc1 Signed-off-by: Michal Kubecek mkube...@suse.cz ---

Re: [PATCH] regulator: as3711: Fix checking if no platform initialization data

2013-02-13 Thread Guennadi Liakhovetski
On Wed, 13 Feb 2013, Axel Lin wrote: To skip registering regulator if no platform initialization data, we should check reg_data rather than ri-desc.name. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks Guennadi ---

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Tue 12-02-13 14:53:58, Johannes Weiner wrote: [...] iteration: rcu_read_lock() dead_count = atomic_read(hierarchy-dead_count) smp_rmb() previous = iterator-position if (iterator-dead_count != dead_count) /* A cgroup in our hierarchy was killed, pointer might be dangling */ don't

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Arend van Spriel
On 02/13/2013 10:43 AM, Ben Skeggs wrote: On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: On 02/13/2013 04:35 AM, Peter Hurley wrote: On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: 3.7-stable review patch. If anyone has any objections, please let me know. FWIW, I

Re: [patch for-3.8] net, sctp: remove CONFIG_EXPERIMENTAL

2013-02-13 Thread Steven Whitehouse
Hi, On Tue, 2013-02-12 at 16:24 -0800, David Rientjes wrote: From: Kees Cook keesc...@chromium.org This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. Acked-by: David S. Miller

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-13 Thread anish singh
On Wed, Feb 13, 2013 at 2:51 PM, Ingo Molnar mi...@kernel.org wrote: * anish singh anish198519851...@gmail.com wrote: Is the below patch picked up? On Sun, Feb 3, 2013 at 9:31 PM, anish kumar anish198519851...@gmail.com wrote: From: anish kumar anish198519851...@gmail.com This

Re: [PATCH v3 4/5] of: Create function for counting number of phandles in a property

2013-02-13 Thread Andreas Larsson
On 2013-02-13 00:06, Grant Likely wrote: This patch creates of_count_phandle_with_args(), a new function for counting the number of phandle+argument tuples in a given property. This is better than the existing method of parsing each phandle individually until parsing fails which is a horribly

Re: [PATCH v3 5/5] gpio: Make of_count_named_gpios() use new of_count_phandle_with_args()

2013-02-13 Thread Andreas Larsson
On 2013-02-13 00:06, Grant Likely wrote: This patch replaces the horribly coded of_count_named_gpios() with a call to of_count_phandle_with_args() which is far more efficient. This also changes the return value of of_gpio_count() of_gpio_named_count() from 'unsigned int' to 'int' so that it can

Re: [REGRESSION] [nailed] USB boot failure: USB: EHCI: make ehci-pci a separate driver

2013-02-13 Thread Andreas Mohr
Indeed, adding ehci_pci to /etc/initramfs-tools/modules and running update-initramfs -u -k 3.7.0-rc5+ to get /boot/initrd.img-3.7.0-rc5+ of the formerly broken -rc5+ build corrected manages to fix boot. On Wed, Feb 13, 2013 at 08:44:09AM +0100, Andreas Mohr wrote: (is there a way to

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-13 Thread Grant Likely
On Mon, 11 Feb 2013 16:26:46 -0700, Stephen Warren swar...@wwwdotorg.org wrote: On 02/11/2013 03:19 PM, Grant Likely wrote: of_get_next_available_child() obtains the devtree_lock and then calls of_device_is_available() which also attempts to claim the lock. This is obviously incorrect and

Re: [PATCH V3] ia64/mm: fix a bad_page bug when crash kernel booting

2013-02-13 Thread Matt Fleming
On Thu, 2013-02-07 at 14:09 +0800, Xishi Qiu wrote: Sorry, this bug will be happen when use Sparse-Memory(section is valid, but last several pages are invalid). If use Flat-Memory, crash kernel will boot successfully. I think the following patch would be better. Hi Andrew, will

Re: [RFC PATCH 0/8] virtio: new API for addition of buffers, scatterlist changes

2013-02-13 Thread Rusty Russell
Jens Axboe ax...@kernel.dk writes: On Fri, Feb 08 2013, Rusty Russell wrote: Paolo Bonzini pbonz...@redhat.com writes: The virtqueue_add_buf function has two limitations: 1) it requires the caller to provide all the buffers in a single call; 2) it does not support chained scatterlists:

RE: [PATCH vringh 2/2] caif_virtio: Introduce caif over virtio

2013-02-13 Thread Rusty Russell
Sjur BRENDELAND sjur.brandel...@stericsson.com writes: Hi Rusty, From: Rusty Russell [mailto:ru...@rustcorp.com.au] sjur.brandel...@stericsson.com writes: +struct cfv_napi_context { + struct vringh_kiov riov; + unsigned short head; +}; Usually we use an int, and -1. I imagine

[RFC PATCH 0/5] UBIFS: improve xattr and add support for security.* XATTR

2013-02-13 Thread Marc Kleine-Budde
Hello, this patch series is based on Subodh Nijsure's patch [1] from May 2012. I've splitted up the patch into smaller changes and fixed a locking problem. This series is tested on mx28-evk with NAND. However, With lockdep enabled a possible circular locking dependency is detected, as reported in

[PATCH RFC 2/5] UBIFS: fix couple bugs in UBIFS extended attribute length calculation

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure snijs...@grid-net.com Signed-off-by: Subodh Nijsure snijs...@grid-net.com Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- fs/ubifs/journal.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c

[PATCH RFC 1/5] UBIFS: xattr: protect ui_size and data_len by ui_mutex

2013-02-13 Thread Marc Kleine-Budde
This patch moves the modification of ui-ui_size and ui-data_len in the create_xattr() and change_xattr() functions, so that they are protected by the ui_mutex as stated in the documenation of the the struct ubifs_inode. Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- fs/ubifs/xattr.c |

[PATCH RFC 3/5] UBIFS: Add xattr support for symlinks

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure snijs...@grid-net.com Signed-off-by: Subodh Nijsure snijs...@grid-net.com Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- fs/ubifs/file.c |4 fs/ubifs/xattr.c | 18 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git

[PATCH RFC 5/5] UBIFS: add ubifs_err() to print error reason

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure snijs...@grid-net.com This patch add ubifs_err() output to some error pathes to tell the user what's going on. Signed-off-by: Subodh Nijsure snijs...@grid-net.com Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- fs/ubifs/dir.c | 20

[PATCH RFC 4/5] UBIFS: Add security.* XATTR support for the UBIFS

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure snijs...@grid-net.com Signed-off-by: Subodh Nijsure snijs...@grid-net.com Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- fs/ubifs/dir.c | 16 +++ fs/ubifs/journal.c |3 +- fs/ubifs/super.c |1 + fs/ubifs/ubifs.h |4 +++

Re: [PATCH 1/9] virtio: add functions for piecewise addition of buffers

2013-02-13 Thread Michael S. Tsirkin
On Wed, Feb 13, 2013 at 09:06:27AM +0100, Paolo Bonzini wrote: Il 12/02/2013 21:49, Michael S. Tsirkin ha scritto: On Tue, Feb 12, 2013 at 09:08:27PM +0100, Paolo Bonzini wrote: Il 12/02/2013 19:23, Michael S. Tsirkin ha scritto: On Tue, Feb 12, 2013 at 07:04:27PM +0100, Paolo Bonzini

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Tue 12-02-13 12:37:41, Johannes Weiner wrote: On Tue, Feb 12, 2013 at 06:12:16PM +0100, Michal Hocko wrote: [...] diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 727ec39..31bb9b0 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -144,8 +144,13 @@ struct mem_cgroup_stat_cpu {

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Wed 13-02-13 12:11:59, Glauber Costa wrote: On 02/12/2013 09:37 PM, Johannes Weiner wrote: All reads from root-dead_count are atomic already, so I am not sure what you mean here. Anyway, I hope I won't make this even more confusing if I post what I have right now: Yes, but we are

Re: MAINTAINERS: Remove Mark M. Hoffman

2013-02-13 Thread Jean Delvare
On Tue, 12 Feb 2013 16:46:01 -0800, Andrew Morton wrote: On Fri, 8 Feb 2013 10:54:37 +0100 Jean Delvare kh...@linux-fr.org wrote: Mark M. Hoffman stopped working on the Linux kernel several years ago, so he should no longer be listed as a driver maintainer. I'm not even sure if his

[PATCH 1/5] fb: hx8357: Change parameters of the write function to u8

2013-02-13 Thread Maxime Ripard
Moving from void* to u8* removes the need for castslater on in the function. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/video/backlight/hx8357.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/backlight/hx8357.c

[PATCH 3/5] fb: hx8357: Remove useless error message

2013-02-13 Thread Maxime Ripard
In case of a failing allocation, a dump stack will be printed anyway, so the dev_err is redundant. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/video/backlight/hx8357.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 5/5] fb: hx8357: Use static arrays for LCD configuration

2013-02-13 Thread Maxime Ripard
This allows a smaller and less error-prone code by using static arrays and the ARRAY_SIZE macro. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/video/backlight/hx8357.c | 173 +- 1 file changed, 95 insertions(+), 78 deletions(-)

[PATCH 4/5] fb: hx8357: Remove trailing period

2013-02-13 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/video/backlight/hx8357.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c index 7c82561..6da8ebe 100644 ---

Re: [PATCH] memcg: Add memory.pressure_level events

2013-02-13 Thread Kamezawa Hiroyuki
Hi, (2013/02/11 9:02), Anton Vorontsov wrote: diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt index addb1f1..006ef58 100644 --- a/Documentation/cgroups/memory.txt +++ b/Documentation/cgroups/memory.txt @@ -40,6 +40,7 @@ Features: - soft limit - moving

[PATCH 2/5] fb: hx8357: Fix inverted parameters for kcalloc

2013-02-13 Thread Maxime Ripard
The element size and the number of elements was inverted in the kcalloc call. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/video/backlight/hx8357.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/hx8357.c

[PATCH v2] MAINTAINERS: Remove Mark M. Hoffman

2013-02-13 Thread Jean Delvare
Mark M. Hoffman stopped working on the Linux kernel several years ago, so he should no longer be listed as a driver maintainer. I'm not even sure if his e-mail address still works. I can take over 3 drivers he was responsible for, the 4th one will fall down to the subsystem maintainer. Also give

Re: [Bisected][-next-20130204+] [x86/kvm] udevd:[97]: segfault at ffffffffff5fd020 ip 00007fff069e277f sp 00007fff068c9ef8 error d

2013-02-13 Thread Gleb Natapov
On Tue, Feb 12, 2013 at 04:39:03PM -0800, H. Peter Anvin wrote: On 02/12/2013 04:26 PM, Peter Hurley wrote: With -next-20130204+ in ubuntu 12.10 VM (so the 80x25 VGA device/console): [0.666410] udevd[97]: starting version 175 [0.674043] udevd[97]: udevd:[97]: segfault at

Re: [PATCH 00/08] clocksource: sh_cmt: CMT driver update

2013-02-13 Thread Simon Horman
On Wed, Feb 13, 2013 at 10:45:13AM +0100, Guennadi Liakhovetski wrote: Hi Magnus On Fri, 14 Dec 2012, Magnus Damm wrote: clocksource: sh_cmt: CMT driver update [PATCH 01/08] clocksource: sh_cmt: Take care of clk_put() when setup_irq() fails [PATCH 02/08] clocksource: sh_cmt:

[PATCH] Remove obsolete email address for Zwane Mwaikambo

2013-02-13 Thread Russell King - ARM Linux
Zwane's arm.linux.org.uk email address has not been functional for a number of years now. It's time that all references to it were removed. I no longer have a forwarding address for Zwane, as I had assumed that my repeated requests over a number of years to Zwane to avoid use of this address had

[PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-02-13 Thread Mel Gorman
Andrew or Ingo, please pick up. Changelog since v1 o Add reviewed-bys and acked-bys A user reported a bug whereby a backup process accessing /proc/kcore caused an oops. BUG: unable to handle kernel paging request at bb00ff33b000 IP: [8103157e] kern_addr_valid+0xbe/0x110 PGD 0

Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-02-13 Thread Gerd Hoffmann
On 02/12/13 16:21, Andy King wrote: Hi Gerd, +struct vsock_transport { ... Whoa. This has grown *alot*. Care to explain this please? Patch creating a Documentation/virtual/vsock.txt would be cool. Yes, it grew because of the notification stuff, which I'd forgotten about until I

Re: iio: adc: add exynos5 adc driver under iio framwork

2013-02-13 Thread Naveen Krishna Ch
Hello Guenter, I've s setup like the below one, kindly, help me find the right device tree not params ADC 0 1 1 1 1 On 13 February 2013 08:18, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: On 13 February 2013 02:37, Guenter Roeck li...@roeck-us.net wrote:

Re: [PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-02-13 Thread Ingo Molnar
* Mel Gorman mgor...@suse.de wrote: Andrew or Ingo, please pick up. Already did - will push it out later today. Thanks, Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-13 Thread Lars Poeschel
On Monday 11 February 2013 at 22:25:51, Grant Likely wrote: On Mon, 11 Feb 2013 12:52:42 +0100, Lars Poeschel la...@wh2.tu-dresden.de wrote: +Optional device specific properties: +- mcp,chips : This is a table with 2 columns and up to 8 entries. The first column + is a is_present

Re: [PATCH 2/5] iommu: remove redundant NULL check before dma_ops_domain_free().

2013-02-13 Thread Joerg Roedel
On Tue, Feb 12, 2013 at 05:01:50AM +0100, Cyril Roelandt wrote: dma_ops_domain_free on a NULL pointer is a no-op, so the NULL check in amd_iommu_init_dma_ops() can be removed. Signed-off-by: Cyril Roelandt tipec...@gmail.com --- drivers/iommu/amd_iommu.c |3 +-- 1 file changed, 1

Re: [PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-02-13 Thread Mel Gorman
On Wed, Feb 13, 2013 at 12:10:31PM +0100, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: Andrew or Ingo, please pick up. Already did - will push it out later today. Whoops, thanks. Sorry for the noise. -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line

[PATCH -next 1/1] net: skbuff: fix compile error in skb_panic()

2013-02-13 Thread James Hogan
I get the following build error on next-20130213 due to the following commit: commit f05de73bf82fbbc00265c06d12efb7273f7dc54a (skbuff: create skb_panic() function and its wrappers). It adds an argument called panic to a function that uses the BUG() macro which tries to call panic

Re: [REGRESSION] [nailed] USB boot failure: USB: EHCI: make ehci-pci a separate driver

2013-02-13 Thread Colin Guthrie
'Twas brillig, and Andreas Mohr at 13/02/13 10:05 did gyre and gimble: Indeed, adding ehci_pci to /etc/initramfs-tools/modules and running update-initramfs -u -k 3.7.0-rc5+ to get /boot/initrd.img-3.7.0-rc5+ of the formerly broken -rc5+ build corrected manages to fix boot. I think

Re: [PATCH] of: dma.c: fix memory leakage

2013-02-13 Thread Cong Ding
On Tue, Feb 12, 2013 at 09:40:25AM -0800, Vinod Koul wrote: On Tue, Jan 22, 2013 at 10:10:53AM +, Cong Ding wrote: On Sun, Jan 20, 2013 at 04:24:49PM -0600, Rob Herring wrote: On 01/19/2013 07:06 AM, Cong Ding wrote: The memory allocated to ofdma might be a leakage when error occurs.

[GIT PULL] at91: more DT changes related to MTD for 3.9

2013-02-13 Thread Nicolas Ferre
Hi Olof, Arnd, I would like you to consider this little pull request for modification of some AT91 Device Tree files. We have had a discussion about this material earlier and now that Artem has queued the driver modifications for MTD, I would like to know if it is possible to add these two

key signing request: folks in Bangalore

2013-02-13 Thread Vineet Gupta
Hi, Sorry for the explicit CCs. I'm looking for people in/around Bangalore who can sign my gpg key. Background: I'm the maintainer of a new Linux kernel port (ARC Linux) which has been discussed on lkml and arch mailing lists in recent months. The port is already in Linux next and for further

Re: [PATCH 3/3 RESEND] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-13 Thread Mark Brown
On Wed, Feb 13, 2013 at 08:45:56AM +0100, Guennadi Liakhovetski wrote: On Wed, 13 Feb 2013, Marek Szyprowski wrote: BTW, mmc_regulator_get_ocrmask() won't work with continuous range regulators. This seems like a problem, that has to be fixed... Indeed, what's the issue? signature.asc

[PATCH] mm: Limit pgd range freeing to mm-task_size

2013-02-13 Thread Catalin Marinas
ARM processors with LPAE enabled use 3 levels of page tables, with an entry in the top level (pgd) covering 1GB of virtual space. Because of the branch relocation limitations on ARM, the loadable modules are mapped 16MB below PAGE_OFFSET, making the corresponding 1GB pgd shared between kernel

[PATCH] x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs

2013-02-13 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de The x86, AMD: Enable WC+ memory type on family 10 processors patch currently in -tip added a workaround for AMD F10h CPUs which #GPs my guest when booted in kvm. This is because it accesses MSR_AMD64_BU_CFG2 which is not currently ignored by kvm. Do that because

  1   2   3   4   5   6   7   8   9   10   >