Re: [PATCH] cifs: Do not enable debugging code by default

2012-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 10:07:02AM -0500, Jeff Layton wrote: Yeah, not many do, but presumably they'll set it once and forget about it. Once someone straightens them out, they should rarely break. OTOH, the value of defaulting to N is pretty low here. Maybe it would just be best to just drop

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-12-18 Thread Michal Hocko
On Tue 18-12-12 15:22:23, azurIt wrote: It should mitigate the problem. The real fix shouldn't be that specific (as per discussion in other thread). The chance this will get upstream is not big and that means that it will not get to the stable tree either. OOM is no longer killing

Re: [PATCH] fb: Rework locking to fix lock ordering on takeover

2012-12-18 Thread Josh Boyer
On Wed, Nov 21, 2012 at 7:53 AM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: On Wed, 21 Nov 2012 07:45:45 -0500 Josh Boyer jwbo...@gmail.com wrote: On Fri, Nov 16, 2012 at 2:27 PM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: [The fb maintainer appears to be absent at the moment]. This is

Re: [PATCH] usb: phy: samsung: Add support for USB 3.0 phy for exynos5250

2012-12-18 Thread Felipe Balbi
On Tue, Dec 18, 2012 at 08:40:26PM +0530, Vivek Gautam wrote: Adding support for USB3.0 phy for dwc3 controller on exynos5250 SOC. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/phy/samsung-usbphy.c | 339 +- let's make the phy

Re: [PATCH] spi: Add the flag indicate to registe new device as children of master or not.

2012-12-18 Thread Mark Brown
On Tue, Dec 18, 2012 at 11:29:34AM -0500, Jun Chen wrote: * @master: Controller to which device is connected + * device_was_children_of_master is flag which the device is registed + * as the children of the bus This isn't a kerneldoc style comment (it needs the @XXX: format). The name is

Re: [PATCH 01/14] perf tools: Keep group information

2012-12-18 Thread Jiri Olsa
On Mon, Dec 17, 2012 at 03:38:52PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Add a few of group-related field in struct perf_{evlist,evsel} so that the group information in a evlist can be known easily. It only counts groups which have more than 1 members since

Re: [PATCH 02/14] perf test: Add group test conditions

2012-12-18 Thread Jiri Olsa
On Mon, Dec 17, 2012 at 03:38:53PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com As some new fields for handling groups added, check them to be sure to have valid values in test__group* cases. Cc: Jiri Olsa jo...@redhat.com Acked-by: Jiri Olsa jo...@redhat.com -- To

Re: [PATCHv2 1/1] dm-integrity: integrity protection device-mapper target

2012-12-18 Thread Kasatkin, Dmitry
Hello, If there is no comments, what about applying the patch? Regards, Dmitry On Wed, Dec 5, 2012 at 1:06 PM, Kasatkin, Dmitry dmitry.kasat...@intel.com wrote: Hello, Any comments? - Dmitry On Mon, Nov 26, 2012 at 4:39 PM, Dmitry Kasatkin dmitry.kasat...@intel.com wrote:

Re: [PATCH 4/4] ARM: tegra: Set SCU base address dynamically from DT

2012-12-18 Thread Hiroshi Doyu
Hiroshi Doyu hd...@nvidia.com wrote @ Tue, 18 Dec 2012 17:15:46 +0200 (EET): Rob Herring robherri...@gmail.com wrote @ Tue, 18 Dec 2012 14:46:36 +0100: On 12/18/2012 03:21 AM, Hiroshi Doyu wrote: Hi Rob, Rob Herring robherri...@gmail.com wrote @ Mon, 17 Dec 2012 15:00:46 +0100:

Re: [PATCH 05/14] perf report: Make another loop for linking group hists

2012-12-18 Thread Jiri Olsa
On Mon, Dec 17, 2012 at 03:38:56PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Now the event grouping viewing requires linking all member hists in a group to the leader's. Thus hists__output_resort should be called after linking all events in evlist. Introduce

Re: [PATCH] cifs: Do not enable debugging code by default

2012-12-18 Thread Steve French
On Tue, Dec 18, 2012 at 9:19 AM, Borislav Petkov b...@alien8.de wrote: On Tue, Dec 18, 2012 at 10:07:02AM -0500, Jeff Layton wrote: Yeah, not many do, but presumably they'll set it once and forget about it. Once someone straightens them out, they should rarely break. OTOH, the value of

[PATCH 0/2] ARM: Exynos5250: Enabling samsung usb phy

2012-12-18 Thread Vivek Gautam
This patch-set enables the samsung-usbphy driver on exynos5250, which enables the support for USB2 type and USB3 type phys. The corresponding phy driver patches are available at: 1) https://lkml.org/lkml/2012/12/18/201 2)

[PATCH 1/2] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-12-18 Thread Vivek Gautam
Adding usbphy node for Exynos5250 along with the necessary device data to be parsed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 22 ++ arch/arm/mach-exynos/include/mach/map.h |1 +

[PATCH 2/2] ARM: Exynos5250: Enabling USB 3.0 phy for samsung-usbphy driver

2012-12-18 Thread Vivek Gautam
Adding base address information required for enabling USB 3.0 DRD phy on exynos5250 SOC. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi

Re: [PATCH 03/14] perf header: Ensure read/write finished successfully

2012-12-18 Thread Jiri Olsa
On Mon, Dec 17, 2012 at 03:38:54PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Use readn instead of read and check return value of do_write. Suggested-by: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Jiri Olsa jo...@redhat.com Acked-by: Jiri Olsa

Re: [PATCH 06/14] perf hists: Resort hist entries using group members for output

2012-12-18 Thread Jiri Olsa
On Mon, Dec 17, 2012 at 03:38:57PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com SNIP +static int hist_entry__sort_on_period(struct hist_entry *a, + struct hist_entry *b) +{ + int ret; + int i, nr_members; + struct

Re: [PATCH v2 00/11] tty: Fix buffer work access-after-free

2012-12-18 Thread Sasha Levin
On Fri, Dec 14, 2012 at 1:22 PM, Peter Hurley pe...@hurleysoftware.com wrote: I wasn't sure if this is something to squeeze into 3.8, so don't yell if not. At least Sasha can apply this and re-test against trinity. Changes in v2: - Please review tty: Don't flush buffer when closing ldisc.

[PATCH] memcg: don't register hotcpu notifier from -css_alloc()

2012-12-18 Thread Tejun Heo
648bb56d07 (cgroup: lock cgroup_mutex in cgroup_init_subsys()) made cgroup_init_subsys() grab cgroup_mutex before invoking -css_alloc() for the root css. Because memcg registers hotcpu notifier from -css_alloc() for the root css, this introduced circular locking dependency between cgroup_mutex

RE: [patch 3/7] mm: vmscan: clarify how swappiness, highest priority, memcg interact

2012-12-18 Thread Satoru Moriya
On 12/17/2012 01:12 PM, Johannes Weiner wrote: A swappiness of 0 has a slightly different meaning for global reclaim (may swap if file cache really low) and memory cgroup reclaim (never swap, ever). In addition, global reclaim at highest priority will scan all LRU lists equal to their

Re: [PATCH 07/14] perf ui/hist: Add support for event group view

2012-12-18 Thread Jiri Olsa
On Mon, Dec 17, 2012 at 03:38:58PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp functions which looks almost identical. SNIP - -static int

Re: [PATCH V1 1/2] Xen acpi memory hotplug driver

2012-12-18 Thread Konrad Rzeszutek Wilk
Not only inform firmware. Hotplug notify callback will invoke acpi_bus_add - ... - implicitly invoke drv-ops.add method to add the hotadded memory device. Gotcha. ? So it will lose the notification and no way to add the new memory device in the future. Xen memory hotplug

Re: [PATCH] [RFC] drm/radeon: return 0 on successful gpu reset

2012-12-18 Thread Alex Deucher
On Tue, Dec 18, 2012 at 5:36 AM, Christian König deathsim...@vodafone.de wrote: On 17.12.2012 22:31, Paul Bolle wrote: On an (outdated) laptop the radeon driver (almost always) prints, during the first resume of each session: [drm] crtc 1 is connected to a TV This message is a bit

Re: [PATCH v2 5/5] virtio-scsi: introduce multiqueue support

2012-12-18 Thread Paolo Bonzini
Il 18/12/2012 16:03, Michael S. Tsirkin ha scritto: On Tue, Dec 18, 2012 at 03:08:08PM +0100, Paolo Bonzini wrote: Il 18/12/2012 14:57, Michael S. Tsirkin ha scritto: -static int virtscsi_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *sc) +static int virtscsi_queuecommand(struct

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-18 Thread Srivatsa S. Bhat
On 12/14/2012 11:33 PM, Oleg Nesterov wrote: On 12/13, Srivatsa S. Bhat wrote: On 12/13/2012 09:47 PM, Oleg Nesterov wrote: On 12/13, Srivatsa S. Bhat wrote: On 12/13/2012 12:42 AM, Srivatsa S. Bhat wrote: Even I don't spot anything wrong with it. But I'll give it some more thought..

Re: [PATCH v2 5/5] virtio-scsi: introduce multiqueue support

2012-12-18 Thread Michael S. Tsirkin
On Tue, Dec 18, 2012 at 04:51:28PM +0100, Paolo Bonzini wrote: Il 18/12/2012 16:03, Michael S. Tsirkin ha scritto: On Tue, Dec 18, 2012 at 03:08:08PM +0100, Paolo Bonzini wrote: Il 18/12/2012 14:57, Michael S. Tsirkin ha scritto: -static int virtscsi_queuecommand(struct Scsi_Host *sh,

Re: [PATCH] usb: host: tegra: make use of PHY pointer of HCD

2012-12-18 Thread Alan Stern
On Tue, 18 Dec 2012, Venu Byravarasu wrote: As pointer to PHY structure can be stored in struct usb_hcd making use of it, to call PHY APIs. Call to usb_phy_shutdown() is moved up in tegra_ehci_remove(), so that to avoid dereferencing of hcd after its freed up. Signed-off-by: Venu

Re: [PATCH v2 00/44] Meta Linux Kernel Port

2012-12-18 Thread James Hogan
On 05/12/12 18:39, Al Viro wrote: On Wed, Dec 05, 2012 at 05:11:32PM +, Al Viro wrote: On Wed, Dec 05, 2012 at 04:08:18PM +, James Hogan wrote: other work not included: * switch to generic kernel_{thread,execve} (will be posted separately to aid review) other changes: ... *

[PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Michal Hocko
Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. This works just fine most of the time but we can get in troubles with non-preemptible kernel (CONFIG_PREEMPT_NONE or

Re: [PATCH] HDA: Fix sound resume hang

2012-12-18 Thread Takashi Iwai
At Tue, 18 Dec 2012 23:59:33 +0800, Daniel J Blueman wrote: Resuming a switcheroo'd HDA controller hangs since the completion is one-shot (thus works the first time). Fix by using completions that explictly need rearming, so remain fired before. Signed-off-by: Daniel J Blueman

Re: [PATCH 6/6] Add 32 bit VDSO support for 32 and 64 bit kernels

2012-12-18 Thread H. Peter Anvin
On 12/18/2012 01:40 AM, stef...@seibold.net wrote: From: Stefani Seibold stef...@seibold.net This patch adds support for 32 bit VDSO. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. For 32 bit programs running

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Toshi Kani
On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: On Monday, December 17, 2012 05:08:17 PM Toshi Kani wrote: On Thu, 2012-12-13 at 23:17 +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com (snip) struct acpi_device_ops { Index:

[PATCH] HDA: Fix sound resume hang

2012-12-18 Thread Daniel J Blueman
Resuming a switcheroo'd HDA controller hangs since the completion is one-shot (thus works the first time). Fix by using completions that explictly need rearming, so remain fired before. Signed-off-by: Daniel J Blueman dan...@quora.org --- sound/pci/hda/hda_intel.c |4 ++-- 1 file changed, 2

Re: [PATCH] [RFC] cpufreq: can't raise max frequency with cpu_thermal

2012-12-18 Thread Doug Anderson
On Tue, Dec 18, 2012 at 12:29 AM, Sonny Rao sonny...@chromium.org wrote: The cpu_thermal generic thermal management code has a bug where once max cpu frequency has been lowered in sysfs (scaling_max_freq) it is not possible to raise the max back up later. The bug is that the notifer gets

Re: [PATCH] usb: phy: tegra: Using devm API for memory allocation

2012-12-18 Thread Stephen Warren
On 12/17/2012 11:21 PM, Venu Byravarasu wrote: Using devm_kzalloc for allocating memory needed for PHY pointer and hence removing kfree calls to PHY pointer. Since the kfree() here used to be in tegra_usb_phy_close() rather than any remove() function, does it actually make sense to use

[ANNOUNCE] Kconfiglib: a flexible Python Kconfig parser and library - now on GitHub

2012-12-18 Thread Ulf Magnusson
Hi, Kconfiglib is a flexible Python Kconfig parser and library, first introduced in https://lkml.org/lkml/2011/2/1/439. I have updated it for Linux 3.7.0 and put it on GitHub at https://github.com/ulfalizer/Kconfiglib, making some improvements in the process: - The installation has been

Re: [PATCH RESEND 5/6 v10] gpio: Add device tree support to block GPIO API

2012-12-18 Thread Mark Rutland
On Tue, Dec 18, 2012 at 02:30:23PM +, Roland Stigge wrote: Hi Mark, On 12/17/2012 04:51 PM, Mark Rutland wrote: +static int __devinit gpioblock_of_probe(struct platform_device *pdev) +{ + struct device_node *block; + unsigned *gpios; + int ngpio; + int ret; + struct

Re: [PATCH] memcg: don't register hotcpu notifier from -css_alloc()

2012-12-18 Thread Michal Hocko
On Tue 18-12-12 07:40:30, Tejun Heo wrote: 648bb56d07 (cgroup: lock cgroup_mutex in cgroup_init_subsys()) made cgroup_init_subsys() grab cgroup_mutex before invoking -css_alloc() for the root css. Because memcg registers hotcpu notifier from -css_alloc() for the root css, this introduced

Re: [PATCH] memcg: don't register hotcpu notifier from -css_alloc()

2012-12-18 Thread Tejun Heo
Hey, Michal. On Tue, Dec 18, 2012 at 05:40:22PM +0100, Michal Hocko wrote: +/* + * The rest of init is performed during -css_alloc() for root css which + * happens before initcalls. hotcpu_notifier() can't be done together as + * it would introduce circular locking by adding cgroup_lock

Re: [PATCH v2 00/11] tty: Fix buffer work access-after-free

2012-12-18 Thread Peter Hurley
On Tue, 2012-12-18 at 10:44 -0500, Sasha Levin wrote: I'm still seeing that warning with the new patch series: [ 549.561769] [ cut here ] [ 549.598755] WARNING: at drivers/tty/n_tty.c:160 n_tty_set_room+0xff/0x130() [ 549.604058] scheduling buffer work for halted

Re: [PATCH V2] serial: tegra: add serial driver

2012-12-18 Thread Stephen Warren
On 12/17/2012 11:59 PM, Laxman Dewangan wrote: Nvidia's Tegra has multiple uart controller which supports: A few nits: That should be NVIDIA. .../devicetree/bindings/serial/serial-tegra.txt| 24 + I strongly object to this name; I believe nvidia,tegra20-hsuart.txt is correct. +NVIDIA

Re: [boot crash] Re: [GIT PULL[ block drivers bits for 3.8

2012-12-18 Thread Linus Torvalds
On Tue, Dec 18, 2012 at 3:42 AM, Jens Axboe ax...@kernel.dk wrote: Bah. Does the below fix it up for you? Grr. This is still bullshit. Doing this: alignment = sector 9; is fundamentally crap, because 'sector_t' may well be 32-bit (non-large-block device case). And we're supposed

[PATCH 1/1] fat:fix incorrect function comment

2012-12-18 Thread Ravishankar N
fat_search_long() returns 0 on success, -ENOENT/ENOMEM on failure.Change the function comment accordingly. While at it, fix some trivial typos. modified: fs/fat/dir.c modified: fs/fat/inode.c modified: fs/fat/misc.c Signed-off-by: Ravishankar N cybera...@gmail.com

Re: [PATCH 6/6] Add 32 bit VDSO support for 32 and 64 bit kernels

2012-12-18 Thread Stefani Seibold
Am Dienstag, den 18.12.2012, 08:17 -0800 schrieb H. Peter Anvin: On 12/18/2012 01:40 AM, stef...@seibold.net wrote: From: Stefani Seibold stef...@seibold.net This patch adds support for 32 bit VDSO. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64

Re: [PATCH 1/2] Add kcmp.2 manpage

2012-12-18 Thread Michael Kerrisk (man-pages)
Hello Cyrill, On Mon, Jul 23, 2012 at 12:15 AM, Cyrill Gorcunov gorcu...@openvz.org wrote: NAME kcmp - compare if two processes do share a particular kernel resource Very late follow up on this page, sorry. You didn't provide a copyright or license for this page. Could you please supply

Re: [PATCH 2/4] ARM: tegra: add connection name for uart clock table

2012-12-18 Thread Stephen Warren
On 12/18/2012 12:05 AM, Laxman Dewangan wrote: On Tuesday 18 December 2012 03:14 AM, Stephen Warren wrote: On 12/17/2012 05:08 AM, Laxman Dewangan wrote: Add connection name uart-clk for the uart clock information. Does the UART receive more than one clock, so that it actually cares what the

Re: [PATCH] megaraid: convert to work_struct

2012-12-18 Thread Tejun Heo
On Thu, Dec 13, 2012 at 04:53:18PM +0800, Xiaotian Feng wrote: There's no need to use delayed work, convert to use work_struct and cancel_work_sync(). Requested-by: Tejun Heo t...@kernel.org Signed-off-by: Xiaotian Feng dannyf...@tencent.com Cc: Neela Syam Kolli megaraidli...@lsi.com Cc:

Re: [PATCH 1/9] mailbox: OMAP: introduce mailbox framework

2012-12-18 Thread Tony Lindgren
* Loic Pallardy loic.pallardy-...@stericsson.com [121218 05:15]: Actually moving it from plat-omap, as this framework/driver code is supposed to be under drivers/ folder. The framework should work with the current supported OMAP processors (OMAP1+) that have mailbox and can be used as a method

Re: [PATCH 1/2] Add kcmp.2 manpage

2012-12-18 Thread Cyrill Gorcunov
On Tue, Dec 18, 2012 at 05:54:49PM +0100, Michael Kerrisk (man-pages) wrote: Hello Cyrill, On Mon, Jul 23, 2012 at 12:15 AM, Cyrill Gorcunov gorcu...@openvz.org wrote: NAME kcmp - compare if two processes do share a particular kernel resource Very late follow up on this page,

Re: Strange results of DIV_ROUND_CLOSEST

2012-12-18 Thread Guenter Roeck
On Tue, Dec 18, 2012 at 04:03:41PM +0100, Juergen Beisert wrote: Hi list, commit 263a523d18bca306016d75f5c8d5c57c37fe52fb changes the code of DIV_ROUND_CLOSEST in include/linux/kernel.h to fix a compile time warning. But now feeding in a zero into this macro results into 4198403. Tested

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Borislav Petkov
On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: Add MCE decoding logic for AMD Family 16h processors. Signed-off-by: Jacob Shin jacob.s...@amd.com --- drivers/edac/mce_amd.c | 120 ++-- drivers/edac/mce_amd.h |6 +++ 2 files

[PATCH RESEND] Documentation: kernel-parameters.txt remove capability.disable

2012-12-18 Thread Josh Boyer
Remove the documentation for capability.disable. The code supporting this parameter was removed with: commit 5915eb53861c5776cfec33ca4fcc1fd20d66dd27 Author: Miklos Szeredi mszer...@suse.cz Date: Thu Jul 3 20:56:05 2008 +0200 security: remove dummy module

Re: epoll with ONESHOT possibly fails to deliver events

2012-12-18 Thread Andreas Voellmy
BTW, I simplified the test program a bit: I removed the loop that epoll_waits on the eventfd fd and reads from it (I also removed the epoll instance in that loop). The bug still occurs with this removed. Now the bug is triggered simply by adding the call to eventfd_write after processing each

Re: [PATCH v5 1/2] ARM: davinci: dm365: add support for v4l2 video display

2012-12-18 Thread Prabhakar Lad
Sekhar, Thanks for the review. On Tue, Dec 4, 2012 at 6:44 PM, Sekhar Nori nsek...@ti.com wrote: On 12/3/2012 1:51 PM, Prabhakar Lad wrote: From: Manjunath Hadli manjunath.ha...@ti.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365.

Re: [PATCH] [RFC] drm/radeon: return 0 on successful gpu reset

2012-12-18 Thread Paul Bolle
On Tue, 2012-12-18 at 10:22 -0500, Alex Deucher wrote: On Tue, Dec 18, 2012 at 5:36 AM, Christian König deathsim...@vodafone.de wrote: On 17.12.2012 22:31, Paul Bolle wrote: 1) Sent as an RFC because I do not understand why this laptop (almost always) prints the crtc 1 message on first

Re: [PATCH 03/15] workqueue: use new hashtable implementation

2012-12-18 Thread Tejun Heo
On Mon, Dec 17, 2012 at 10:01:23AM -0500, Sasha Levin wrote: Switch workqueues to use the new hashtable implementation. This reduces the amount of generic unrelated code in the workqueues. This patch depends on d9b482c (hashtable: introduce a small and naive hashtable) which was merged in

Re: [PATCH] [RFC] drm/radeon: return 0 on successful gpu reset

2012-12-18 Thread Alex Deucher
On Tue, Dec 18, 2012 at 12:28 PM, Paul Bolle pebo...@tiscali.nl wrote: On Tue, 2012-12-18 at 10:22 -0500, Alex Deucher wrote: On Tue, Dec 18, 2012 at 5:36 AM, Christian König deathsim...@vodafone.de wrote: On 17.12.2012 22:31, Paul Bolle wrote: 1) Sent as an RFC because I do not understand

Re: Lockdep failure in 3.7.0 with zcache

2012-12-18 Thread Alex Villací­s Lasso
El 18/12/12 11:04, Alex Villací­s Lasso escribió: I enabled CONFIG_PROVE_LOCKING=y and added slub_debug=FZPU in order to track down https://bugs.freedesktop.org/show_bug.cgi?id=57122 . While running the recompiled kernel with CONFIG_ZCACHE2=y, I got a INFO: possible irq lock inversion dependency

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Jacob Shin
On Tue, Dec 18, 2012 at 06:19:15PM +0100, Borislav Petkov wrote: On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: Add MCE decoding logic for AMD Family 16h processors. Signed-off-by: Jacob Shin jacob.s...@amd.com --- drivers/edac/mce_amd.c | 120

Re: [PATCH] x86,apic: Blacklist x2APIC on some platforms

2012-12-18 Thread H. Peter Anvin
On 12/18/2012 09:07 AM, Youquan Song wrote: Blacklist x2apic when Nivida graphics enabled on Lenovo ThinkPad T420. Also set blacklist x2apic for Lenovo ThinkPad W520 and L520. I thought we had gotten reports that the Nvidia correlation was false? -hpa -- To unsubscribe from this

[PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. As per the kernel docs, clk_get() cannot return NULL. * clk_get - lookup and obtain a reference to a clock producer. * @dev: device for clock consumer * @id: clock consumer ID * * Returns a struct clk corresponding to the clock producer, or * valid IS_ERR()

[PATCH RESEND 4/6] clk: s5p-tv: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk li...@prisktech.co.nz CC: Kyungmin Park kyungmin.p...@samsung.com CC: Tomasz Stanislawski t.stanisl...@samsung.com CC: linux-me...@vger.kernel.org ---

[PATCH RESEND 3/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk li...@prisktech.co.nz CC: Inki Dae inki@samsung.com CC: Joonyoung Shim jy0922.s...@samsung.com CC: Seung-Woo Kim sw0312@samsung.com CC: Kyungmin Park

[PATCH RESEND 1/6] clk: omap: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk li...@prisktech.co.nz Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/plat-omap/dmtimer.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH RESEND 2/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. In the fail: path of mixer_resources_init() and vp_resources_init() the first clk tested cannot be NULL either, so IS_ERR_OR_NULL is removed from these as well. Other clocks may still be NULL as they haven't

[PATCH RESEND 5/6] clk: s5p-fimc: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk li...@prisktech.co.nz CC: Kyungmin Park kyungmin.p...@samsung.com CC: Tomasz Stanislawski t.stanisl...@samsung.com CC: linux-me...@vger.kernel.org ---

[PATCH RESEND 6/6] clk: s5p-g2d: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk li...@prisktech.co.nz CC: Kyungmin Park kyungmin.p...@samsung.com CC: Tomasz Stanislawski t.stanisl...@samsung.com CC: linux-me...@vger.kernel.org ---

Re: [PATCH 3/3] perf tests: Add event parsing test for '*:*' tracepoints

2012-12-18 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 17, 2012 at 02:08:38PM +0100, Jiri Olsa escreveu: Adding event parsing test for '*:*' tracepoints. Checking the count matches all the tracepoints available plus current standard tracepoint perf_event_attr check. This test exposes warnings from traceevent lib about not being able

Re: [PATCH 1/2] Add kcmp.2 manpage

2012-12-18 Thread Cyrill Gorcunov
On Tue, Dec 18, 2012 at 09:06:24PM +0400, Cyrill Gorcunov wrote: On Tue, Dec 18, 2012 at 05:54:49PM +0100, Michael Kerrisk (man-pages) wrote: Hello Cyrill, On Mon, Jul 23, 2012 at 12:15 AM, Cyrill Gorcunov gorcu...@openvz.org wrote: NAME kcmp - compare if two processes do

Re: [PATCH 3/3] perf tools: Fix a misuse of for_each_set_bit() in session.c

2012-12-18 Thread Akemi Yagi
On Mon, 27 Aug 2012 16:18:15 +0800, Feng Tang wrote: It's a compile error: cc1: warnings being treated as errors util/session.c: In function ‘perf_session_deliver_event’: util/include/linux/bitops.h:104: error: dereferencing pointer ‘p’ does break strict-aliasing rules

Re: [PATCH] x86,apic: Blacklist x2APIC on some platforms

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 9:33 AM, H. Peter Anvin h...@linux.intel.com wrote: On 12/18/2012 09:07 AM, Youquan Song wrote: Blacklist x2apic when Nivida graphics enabled on Lenovo ThinkPad T420. Also set blacklist x2apic for Lenovo ThinkPad W520 and L520. I thought we had gotten reports that the

Re: Why Linux kernel forced to enter X2APIC mode( just because of booting cpu has supported x2apic) without depending on BIOS' setting in MSR-x2apic enablement bit ?

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 1:50 AM, Zhang, Lin-Bao (Linux Kernel RD) linbao.zh...@hp.com wrote: Hi Suresh and other guys , In 3.4.4/3.6.6 ,I found a x2apic issue . if I am wrong , sorry first , and welcome your correction . thanks for your forwarding other maintainers. I am testing a

[PATCH v2 00/10] tx/rx LED trigger support

2012-12-18 Thread Fabio Baltieri
Hi All, this is the v2 of the canbus LED series. Changes from v1: - moved all framework patches before driver ones - added usb_8dev driver patch to the series (based on v9 version) - added by S-o-b to all patches in this series The last usb_8dev patch requires Bernd's patch. A part from this

[PATCH 07/10] can: c_can: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on c_can devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Bhupesh Sharma bhupesh.sha...@st.com Cc: AnilKumar Ch anilku...@ti.com Cc: Wolfgang Grandegger

[Patch][resend] SGI-XP: Handle non-fatal traps.

2012-12-18 Thread Robin Holt
We found a user code which was raising a divide-by-zero trap. That trap would lead to XPC connections between system-partitions being torn down due to the die_chain notifier callouts it received. This also revealed a different issue where multiple callers into xpc_die_deactivate() would all

[PATCH] checkpatch: Warn on #include uapi/...

2012-12-18 Thread Joe Perches
Avoid specifying include paths with uapi/... as userspace should not use that path. Neaten message line wrapping above. Signed-off-by: Joe Perches j...@perches.com cc: David Howells dhowe...@redhat.com --- scripts/checkpatch.pl |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-)

[RFC GIT PULL] tracing: Minor updates and fixes

2012-12-18 Thread Steven Rostedt
Linus, As Ingo is busy working hard on the NUMA patches, it seems that one of my old pull requests have slipped through. https://lkml.org/lkml/2012/11/28/690 as well as a little reminder: https://lkml.org/lkml/2012/12/13/715 The changes are contained to just the files that I maintain, and are

Re: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver

2012-12-18 Thread Bryan Wu
Hi Kim This patchset looks good, but I need some time to review it more carefully especially during this merge window + holiday time. Thanks, -Bryan On Wed, Dec 12, 2012 at 5:59 AM, Kim, Milo milo@ti.com wrote: LP5521, LP5523 and L55231 have common features as below. Register access via

[PATCH 10/10] can: usb_8dev: add LED trigger support

2012-12-18 Thread Fabio Baltieri
From: Bernd Krumboeck b.krumbo...@gmail.com Add support for canbus activity led indicators on usb_8dev devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Signed-off-by: Bernd Krumboeck krumbo...@universalnet.at

[PATCH 05/10] can: at91_can: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on at91_can devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde m...@pengutronix.de Signed-off-by: Fabio

[PATCH 03/10] can: rename LED trigger name on netdev renames

2012-12-18 Thread Fabio Baltieri
From: Kurt Van Dijck kurt.van.di...@eia.be The LED trigger name for CAN devices is based on the initial CAN device name, but does never change. The LED trigger name is not guaranteed to be unique in case of hotplugging CAN devices. This patch tries to address this problem by modifying the LED

[PATCH 04/10] can: flexcan: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on flexcan devices by calling appropriate can_led_* functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Oliver Hartkopp socket...@hartkopp.net Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde

[PATCH 01/10] can: add tx/rx LED trigger support

2012-12-18 Thread Fabio Baltieri
This patch implements the functions to add two LED triggers, named ifname-tx and ifname-rx, to a canbus device driver. Triggers are called from specific handlers by each CAN device driver and can be disabled altogether with a Kconfig option. The implementation keeps the LED on when the interface

[PATCH 08/10] can: mcp251x: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on mcp251x devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Christian Pellegrin chrip...@fsfe.org Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde

[PATCH 06/10] can: ti_hecc: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on ti_hecc devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Anant Gole anantg...@ti.com Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde

[PATCH 02/10] can: export a safe netdev_priv wrapper for candev

2012-12-18 Thread Fabio Baltieri
From: Kurt Van Dijck kurt.van.di...@eia.be In net_device notifier calls, it was impossible to determine if a CAN device is based on candev in a safe way. This patch adds such test in order to access candev storage from within those notifiers. Signed-off-by: Kurt Van Dijck kurt.van.di...@eia.be

[PATCH 09/10] can: sja1000: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on sja1000 devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Oliver Hartkopp socket...@hartkopp.net Cc: Wolfgang Grandegger w...@grandegger.com Cc: Marc Kleine-Budde

Re: [git pull] Please pull powerpc.git next branch

2012-12-18 Thread Linus Torvalds
On Mon, Dec 17, 2012 at 3:31 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Sat, 2012-12-15 at 07:44 +1100, Benjamin Herrenschmidt wrote: Hi Linus ! Finally managed to get my head away from some other distractions to put this pull request together, sorry for the lateness :-)

Re: [RFC PATCH 01/10] s390/pci: base support

2012-12-18 Thread Sebastian Ott
On Thu, 13 Dec 2012, Bjorn Helgaas wrote: On Thu, Dec 13, 2012 at 4:51 AM, Jan Glauber j...@linux.vnet.ibm.com wrote: On Mon, 2012-12-10 at 14:14 -0700, Bjorn Helgaas wrote: On Wed, Nov 14, 2012 at 2:41 AM, Jan Glauber j...@linux.vnet.ibm.com wrote: Add PCI support for s390, (only 64

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Jacob Shin
On Tue, Dec 18, 2012 at 11:30:24AM -0600, Jacob Shin wrote: On Tue, Dec 18, 2012 at 06:19:15PM +0100, Borislav Petkov wrote: On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: +/* internal error type */ +const char * const uu_msgs[] = { RESV, RESV, HWA, RESV };

vfs trace points?: was: cifs: Do not enable debugging code by default

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 09:33 -0600, Steve French wrote: On Tue, Dec 18, 2012 at 9:19 AM, Borislav Petkov b...@alien8.de wrote: On Tue, Dec 18, 2012 at 10:07:02AM -0500, Jeff Layton wrote: Yeah, not many do, but presumably they'll set it once and forget about it. Once someone straightens them

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 18:19 +0100, Borislav Petkov wrote: On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: Add MCE decoding logic for AMD Family 16h processors. [] + switch (xec) { + case 0x04 ... 0x05: + pr_cont(Parity error in %s.\n, +

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-18 Thread Borislav Petkov
On Mon, Dec 17, 2012 at 11:09:43AM -0800, Joe Perches wrote: This needs a new test here to avoid chirping on files that aren't added, deleted or renamed. next if ($realfile eq $modifiedfile); Hmm, I don't think that catches file renames when using the normal 'git diff' output:

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 12:09:45PM -0600, Jacob Shin wrote: I think I meant to say as in uu_msgs[] above. HWA stands for Hardware Assertion .. Yep, I got it. You mean this: const char * const uu_msgs[] = { RESV, RESV, HWA, RESV }; and HWA is bit setting 0x2. You don't need to add a comment to

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 10:24:29AM -0800, Joe Perches wrote: or without all the unnecessary parens and using char: pr_cont(%cBUFF parity error\n, xec == 4 ? 'I' : 'O'); Char is fine, the parens make this more readable when you look at it again after a couple of months

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 19:33 +0100, Borislav Petkov wrote: On Tue, Dec 18, 2012 at 10:24:29AM -0800, Joe Perches wrote: or without all the unnecessary parens and using char: pr_cont(%cBUFF parity error\n, xec == 4 ? 'I' : 'O'); Char is fine, the parens make this more

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Rik van Riel
On 12/18/2012 11:11 AM, Michal Hocko wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. This works just fine most of the time but we can get in troubles with non-preemptible

Re: [PATCH RESEND 3/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Dan Carpenter
On Wed, Dec 19, 2012 at 06:34:05AM +1300, Tony Prisk wrote: Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. The original code is correct. clk_get() can return NULL depending on the .config. regards, dan carpenter -- To unsubscribe from this list:

Re: [PATCH 09/12] cfq-iosched: enable full blkcg hierarchy support

2012-12-18 Thread Vivek Goyal
On Fri, Dec 14, 2012 at 02:41:22PM -0800, Tejun Heo wrote: With the previous two patches, all cfqg scheduling decisions are based on vfraction and ready for hierarchy support. The only thing which keeps the behavior flat is cfqg_flat_parent() which makes vfraction calculation consider all

Re: [PATCH 1/2 v2] menuconfig: Add Save/Load buttons

2012-12-18 Thread Yann E. MORIN
Wang, All, On Tuesday 18 December 2012 Wang YanQing wrote: If menuconfig have Save/Load button like alternative .config editors, xconfig, nconfig, etc.We will have a obvious benefit when use menuconfig just like when we use others, we can Save/Load our .config quickly and conveniently.

Re: [PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get

2012-12-18 Thread Dan Carpenter
On Wed, Dec 19, 2012 at 06:34:02AM +1300, Tony Prisk wrote: Resend to include mailing lists. As per the kernel docs, clk_get() cannot return NULL. It returns NULL if CONFIG_HAVE_CLK is disabled. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe

<    2   3   4   5   6   7   8   9   10   >