[GIT] Networking

2012-08-13 Thread David Miller
Most importantly this should cure the ipv4-mapped ipv6 socket TCP crashes some people were seeing, otherwise: 1) Fix e1000e autonegotiation handling regression, from Tushar Dave. 2) Fix TX data corruption race on e1000e down, also from Tushar Dave. 3) Fix bfin_sir IRDA driver build, from

Re: [PATCH] m68k: add generic atomic64_t support

2012-08-13 Thread Greg Ungerer
Hi Geert, On 13/08/12 00:47, Geert Uytterhoeven wrote: Hi Fengguang, On Sun, Aug 12, 2012 at 4:23 PM, Fengguang Wu fengguang...@intel.com wrote: This fixes build errors like: fs/namespace.c:2290:1: error: unknown type name 'atomic64_t' fs/namespace.c:2290:1: error: implicit declaration of

Re: [flame^Wreview] net: netprio_cgroup: rework update socket logic

2012-08-13 Thread John Fastabend
OK clearly I screwed it up thanks for reviewing Al. How about this. fdt = files_fdtable(files); for (fd = 0; fd fdt-max_fds; fd++) { struct socket *sock; int err = 0; sock =

[PATCH] dlm: cleanup send_to_sock routine

2012-08-13 Thread Ying Xue
Remove unnecessary code form send_to_sock routine. Signed-off-by: Ying Xue ying@windriver.com --- fs/dlm/lowcomms.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 5c1b0e3..f8eefe2 100644 --- a/fs/dlm/lowcomms.c +++

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-13 Thread Dan Carpenter
On Mon, Aug 13, 2012 at 10:06:26AM +0800, wei_w...@realsil.com.cn wrote: +int rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val) +{ + int err, i, finished = 0; + u16 data = 0; + u8 *ptr, tmp; + + rtsx_pci_init_cmd(pcr); + + rtsx_pci_add_cmd(pcr,

[GIT PULL] leds fix for 3.6

2012-08-13 Thread Bryan Wu
Hi Linus, Please consider the following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds.git fixes-for-3.6 for you to fetch

Re: [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t'

2012-08-13 Thread Eric W. Biederman
Fengguang Wu fengguang...@intel.com writes: Hi Geert, This is the build error I get, on Eric's userns tree. tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-always-map-user-v45 head: 38a0b1b84f5f613ff4e01fffda27f87d4cb2b649 commit:

Re: [PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Paul Menzel
Dear Chen, thanks for your patch. Firstly, is Chen your first or last name? If it is your first name, your From address should be switched. Am Montag, den 13.08.2012, 10:09 +0800 schrieb Huacai Chen: When SWIOTLB is configured, if without this patch kernel compilation fails. Secondly, could

Re: [PATCH] firewire: core: feed /dev/random with devices' GUIDs

2012-08-13 Thread Clemens Ladisch
Stefan Richter wrote: On Aug 12 Clemens Ladisch wrote: Send the GUIDs of newly registered controllers and devices to the /dev/random driver to help seed its pools. This looks good to me, almost. Isn't the call in fw_card_add redundant? The local node's fw_device instance initializer feeds

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-13 Thread wwang
于 2012年08月13日 14:40, Dan Carpenter 写道: Looks like bitwise OR was intended here. Hi Dan: Thank you. I will resend the patches. BR, wwang -- 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 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-13 Thread Dan Carpenter
On Mon, Aug 13, 2012 at 03:10:50PM +0800, wwang wrote: 于 2012年08月13日 14:40, Dan Carpenter 写道: Looks like bitwise OR was intended here. Hi Dan: Thank you. I will resend the patches. It's always best to hold off a day on resending, in case there are other comments. regards, dan carpenter

Re: [PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Huacai Chen
On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear Chen, thanks for your patch. Firstly, is Chen your first or last name? If it is your first name, your From address should be switched. Chen is may last name. Am Montag, den 13.08.2012, 10:09 +0800

Re: [PATCH 12/41] mxser: allow overlapping vector

2012-08-13 Thread Jiri Slaby
On 08/13/2012 03:50 AM, Rusty Russell wrote: On Tue, 7 Aug 2012 21:47:37 +0200, Jiri Slaby jsl...@suse.cz wrote: For many cards, this saves some IO space because interrupt status port has precedence over the rest of ports on the card. Hence it can be mapped to a hole in I/O ports. Here we

Re: [lm-sensors] hwmon : raw reading - temperature conversion

2012-08-13 Thread Bitan Biswas
Hi Guenter, Thank you for the guidance. But looking at the hwmon linux documentation, seems the sensor kernel drivers should report only raw readings. The raw readings can be converted into required output, e.g. temperature in this case, by respective user space implementation. raw means

Re: [PATCH 5/5] x86: Move enabling of PSE and PGE out of init_memory_mapping

2012-08-13 Thread Borislav Petkov
Hi Tejun, On Sat, Aug 11, 2012 at 01:01:33PM -0700, Tejun Heo wrote: Shouldn't this happen before init_memory_mapping() is called multiple times? It does. Those CR4 flags are set before the loop which calls init_memory_mapping(). Also, there seem to be other stuff which need to be moved

Re: [PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Paul Menzel
Dear Huacai, Am Montag, den 13.08.2012, 15:16 +0800 schrieb Huacai Chen: On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote: thanks for your patch. Firstly, is Chen your first or last name? If it is your first name, your From address should be switched. Chen is may last name. I am

Re: rcu stalls seen with numasched_v2 patches applied.

2012-08-13 Thread Peter Zijlstra
On Fri, 2012-08-10 at 21:54 +0530, Srikar Dronamraju wrote: This change worked well on the 2 node machine but on the 8 node machine it hangs with repeated messages Pid: 60935, comm: numa01 Tainted: GW3.5.0-numasched_v2_020812+ #4 Call Trace: IRQ [810d32e2] ?

Re: [alsa-devel] [PATCH V5 14/18] ALSA: HDA: Make hda sound card usable for Loongson.

2012-08-13 Thread Takashi Iwai
At Sat, 11 Aug 2012 17:32:19 +0800, Huacai Chen wrote: Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec, this patch modify patch_conexant.c to add Lemote specific code. Signed-off-by: Jie Chen ch...@lemote.com Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by:

Re: [RFC][PATCH 4/4] perf/events: Use helper functions in event assignment to shrink macro size

2012-08-13 Thread Peter Zijlstra
On Thu, 2012-08-09 at 23:43 -0400, Steven Rostedt wrote: plain text document attachment (0004-perf-events-Use-helper-functions-in-event-assignment.patch) From: Steven Rostedt srost...@redhat.com The functions that assign the contents for the perf software events are defined by the

Re: [PATCH v2 09/11] memcg: propagate kmem limiting information to children

2012-08-13 Thread Glauber Costa
On 08/10/2012 09:51 PM, Kamezawa Hiroyuki wrote: +/* + * Once enabled, can't be disabled. We could in theory disable + * it if we haven't yet created any caches, or if we can shrink + * them all to death. But it is not worth the trouble +

Re: [PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Huacai Chen
On Mon, Aug 13, 2012 at 3:50 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear Huacai, Am Montag, den 13.08.2012, 15:16 +0800 schrieb Huacai Chen: On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote: thanks for your patch. Firstly, is Chen your first or last name? If it is

Re: [PATCH v2 07/11] mm: Allocate kernel pages to the right memcg

2012-08-13 Thread Glauber Costa
On 08/10/2012 09:36 PM, Greg Thelen wrote: On Thu, Aug 09 2012, Glauber Costa wrote: When a process tries to allocate a page with the __GFP_KMEMCG flag, the page allocator will call the corresponding memcg functions to validate the allocation. Tasks in the root memcg can always proceed. To

Re: [PATCH v2 07/11] mm: Allocate kernel pages to the right memcg

2012-08-13 Thread Glauber Costa
On 08/10/2012 09:33 PM, Kamezawa Hiroyuki wrote: (2012/08/09 22:01), Glauber Costa wrote: When a process tries to allocate a page with the __GFP_KMEMCG flag, the page allocator will call the corresponding memcg functions to validate the allocation. Tasks in the root memcg can always proceed.

Re: [PATCH v2 02/11] memcg: Reclaim when more than one page needed.

2012-08-13 Thread Glauber Costa
On 08/10/2012 10:54 PM, Michal Hocko wrote: On Thu 09-08-12 17:01:10, Glauber Costa wrote: From: Suleiman Souhlal ssouh...@freebsd.org mem_cgroup_do_charge() was written before kmem accounting, and expects three cases: being called for 1 page, being called for a stock of 32 pages, or being

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-13 Thread Glauber Costa
On 08/11/2012 09:11 AM, Greg Thelen wrote: On Thu, Aug 09 2012, Glauber Costa wrote: This patch introduces infrastructure for tracking kernel memory pages to a given memcg. This will happen whenever the caller includes the flag __GFP_KMEMCG flag, and the task belong to a memcg other than the

Re: rcu stalls seen with numasched_v2 patches applied.

2012-08-13 Thread Peter Zijlstra
On Mon, 2012-08-13 at 09:51 +0200, Peter Zijlstra wrote: On Fri, 2012-08-10 at 21:54 +0530, Srikar Dronamraju wrote: This change worked well on the 2 node machine but on the 8 node machine it hangs with repeated messages Pid: 60935, comm: numa01 Tainted: GW

Re: [PATCH] smb347_charger: fix battery status reporting logic for charger faults

2012-08-13 Thread Mika Westerberg
On Fri, Jul 20, 2012 at 07:22:48PM +0530, Ramakrishna Pallala wrote: This patch checks for charger status register for determining the battery charging status and reports Discharing/Charging/Not Charging/Full accordingly. This patch also adds the interrupt support for Safety Timer

Re: RFC: mutex: hung tasks on SMP platforms with asm-generic/mutex-xchg.h

2012-08-13 Thread Peter Zijlstra
On Thu, 2012-08-09 at 12:57 -0400, Nicolas Pitre wrote: In other words, I think this should look like this: diff --git a/include/asm-generic/mutex-xchg.h b/include/asm-generic/mutex-xchg.h index 580a6d35c7..44a66c99c8 100644 --- a/include/asm-generic/mutex-xchg.h +++

[PATCH] TTY: mxser, fix invalid module_parm permissions

2012-08-13 Thread Jiri Slaby
444 means 0674 and we do not definitely want that. Use S_IRUGO which is much more safer. Signed-off-by: Jiri Slaby jsl...@suse.cz Reported-by: Rusty Russell ru...@ozlabs.org --- drivers/tty/mxser.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/mxser.c

[PATCH] TTY: mxser, fix invalid module_parm permissions

2012-08-13 Thread Jiri Slaby
444 means 0674 and we do not definitely want that. Use S_IRUGO which is much more safer. Signed-off-by: Jiri Slaby jsl...@suse.cz Reported-by: Rusty Russell ru...@ozlabs.org --- Sorry for multiple copies (if any). drivers/tty/mxser.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 0/5] rbtree based interval tree as a prio_tree replacement

2012-08-13 Thread Peter Zijlstra
On Tue, 2012-08-07 at 00:25 -0700, Michel Lespinasse wrote: a faster worst-case complexity of O(k+log N) for stabbing queries in a well-balanced prio tree, vs O(k*log N) for interval trees (where k=number of matches, N=number of intervals). Now this sounds great, but in practice prio trees

Re: [alsa-devel] [PATCH V5 14/18] ALSA: HDA: Make hda sound card usable for Loongson.

2012-08-13 Thread Huacai Chen
OK, I will improve the code. On Mon, Aug 13, 2012 at 4:00 PM, Takashi Iwai ti...@suse.de wrote: At Sat, 11 Aug 2012 17:32:19 +0800, Huacai Chen wrote: Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec, this patch modify patch_conexant.c to add Lemote specific code.

Re: [PATCH v7 1/4] mm: introduce compaction and migration for virtio ballooned pages

2012-08-13 Thread Michael S. Tsirkin
On Fri, Aug 10, 2012 at 02:55:14PM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-13 Thread Glauber Costa
+ * Needs to be called after memcg_kmem_new_page, regardless of success or + * failure of the allocation. if @page is NULL, this function will revert the + * charges. Otherwise, it will commit the memcg given by @handle to the + * corresponding page_cgroup. + */ +static

Re: [PATCH v2 04/11] kmem accounting basic infrastructure

2012-08-13 Thread Glauber Costa
On 08/10/2012 09:02 PM, Kamezawa Hiroyuki wrote: (2012/08/09 22:01), Glauber Costa wrote: This patch adds the basic infrastructure for the accounting of the slab caches. To control that, the following files are created: * memory.kmem.usage_in_bytes * memory.kmem.limit_in_bytes *

Re: [PATCH v7 2/4] virtio_balloon: introduce migration primitives to balloon pages

2012-08-13 Thread Michael S. Tsirkin
On Fri, Aug 10, 2012 at 02:55:15PM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of

Re: [RFC PATCH 0/4] ftrace: Add use of -mfentry for x86_64

2012-08-13 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 08/07/2012 12:38 PM, Steven Rostedt wrote: This is an RFC patch set that makes gcc use the -mfentry option with -pg. This will set the ftrace 'hook' to the beginning of the function and also remove the requirement that -pg enables frame pointers.

Re: [PATCH v2 07/11] mm: Allocate kernel pages to the right memcg

2012-08-13 Thread Mel Gorman
On Mon, Aug 13, 2012 at 12:03:38PM +0400, Glauber Costa wrote: On 08/10/2012 09:33 PM, Kamezawa Hiroyuki wrote: (2012/08/09 22:01), Glauber Costa wrote: When a process tries to allocate a page with the __GFP_KMEMCG flag, the page allocator will call the corresponding memcg functions to

[PATCH] x86_dump_trace: avoiding endless IRQ is printed

2012-08-13 Thread Liu, Chuansheng
From: liu chuansheng chuansheng@intel.com Subject: [PATCH] x86_dump_trace: avoiding endless IRQ is printed Found the case that endless IRQ printing in dump_trace, and no real meaningful stack traces are output, so there should one rare case that possibly context-previous_esp = context or

Re: [RFC ebeam PATCH v2 3/3] input: misc: New USB eBeam input driver.

2012-08-13 Thread Jiri Kosina
On Fri, 3 Aug 2012, Yann Cantin wrote: +#include linux/hid.h As this driver is not a HID bus driver, why do you need this include? Cinder, removed +#define DRIVER_VERSIONv0.7 I don't think we need to be tracking driver versions for newly submitted drivers, git is much

Re: [flame^Wreview] net: netprio_cgroup: rework update socket logic

2012-08-13 Thread Joe Perches
On Sun, 2012-08-12 at 22:55 -0700, John Fastabend wrote: On 8/12/2012 6:53 PM, Al Viro wrote: Ladies and gentlemen, who the devil had reviewed that little gem? commit 406a3c638ce8b17d9704052c07955490f732c2b8 Author: John Fastabend john.r.fastab...@intel.com Date: Fri Jul 20

[BUG Report] BUG: unable to handle kernel NULL pointer dereference at

2012-08-13 Thread Liu Bo
Hi all, I'm using mainline upstream 3.6.0-rc1 compiled based on Fedora-16. When I unplug my mobile usb card, I hit this: [ 247.017258] BUG: unable to handle kernel NULL pointer dereference at (null) [ 247.017378] IP: [a03bf27f] stop_read_write_urbs+0x3f/0x90 [usb_wwan] [

Re: [PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Paul Menzel
Am Montag, den 13.08.2012, 16:04 +0800 schrieb Huacai Chen: On Mon, Aug 13, 2012 at 3:50 PM, Paul Menzel wrote: Am Montag, den 13.08.2012, 15:16 +0800 schrieb Huacai Chen: On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote: […] Am Montag, den 13.08.2012, 10:09 +0800 schrieb Huacai Chen:

Re: RFC: mutex: hung tasks on SMP platforms with asm-generic/mutex-xchg.h

2012-08-13 Thread Will Deacon
Hi Peter, On Mon, Aug 13, 2012 at 09:15:04AM +0100, Peter Zijlstra wrote: On Thu, 2012-08-09 at 12:57 -0400, Nicolas Pitre wrote: In other words, I think this should look like this: diff --git a/include/asm-generic/mutex-xchg.h b/include/asm-generic/mutex-xchg.h index

XFS status update for July 2012

2012-08-13 Thread Christoph Hellwig
July saw the release of Linux 3.5, which included an average sized XFS update: 81 files changed, 2633 insertions(+), 3004 deletions(-) Noteworthy updates in Linux 3.5 include the removal of the xfsbufd background thread which writes metadata buffers, background processing of CIL flushes and

bisected regression: v3.6-rc1: resume from s2ram does not restore ata_piix (v3.5 worked)

2012-08-13 Thread Sergei Trofimovich
It's a laptop compaq 2510p (~5 years old core2 laptop) with a single SATA drive: 00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) Subsystem: Hewlett-Packard Company Device 30c9 Kernel driver in use: ata_piix kernel v3.5 worked fine.

Re: [PATCH 2/3] perf: teach perf inject to merge sched_stat_* and sched_switch events

2012-08-13 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: static int process_sample_event(struct perf_tool *tool __used, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel,

[PATCH] davinci: fix build warning when CONFIG_DEBUG_SECTION_MISMATCH is enabled

2012-08-13 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/dm355_ccdc.c |2 +- drivers/media/video/davinci/dm644x_ccdc.c |2 +- drivers/media/video/davinci/isif.c

[PATCH] mmc: card: Skip secure option for MoviNAND.

2012-08-13 Thread IAN CHEN
From 5c60eb8be04c7440d6e33b8f72ea2046a3657ac4 Mon Sep 17 00:00:00 2001 From: ian.cy.chen ian.cy.c...@samsung.com Date: Mon, 13 Aug 2012 10:53:55 +0900 Subject: [PATCH] mmc: card: Skip secure option for MoviNAND. For several MoviNAND, there are some known issue with secure option. For these

Re: [BUG Report] BUG: unable to handle kernel NULL pointer dereference at

2012-08-13 Thread Bjørn Mork
Liu Bo liub.li...@gmail.com writes: I'm using mainline upstream 3.6.0-rc1 compiled based on Fedora-16. When I unplug my mobile usb card, I hit this: [ 247.017258] BUG: unable to handle kernel NULL pointer dereference at (null) [ 247.017378] IP: [a03bf27f]

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-13 Thread Glauber Costa
Here's the dmesg splat. Do you always get this report in the same way? I managed to get a softirq inconsistency like yours, but the complaint goes for a different lock. [ 335.550398] = [ 335.554739] [ INFO: inconsistent lock state ] [ 335.559091]

[PATCHv2 1/4] arm/dts: omap5-evm: Add I2C support

2012-08-13 Thread Sourav Poddar
Add I2C data node in omap5 device tree file. Tested on omap5430 evm. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com ---

[PATCHv2 0/4] Add device tree data for omap5

2012-08-13 Thread Sourav Poddar
The following patch series add i2c support for omap5. As well as enable I2C based devices like pressure and temperature through device tree. Also add onchip keypad dts data. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Sourav

[PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-13 Thread Sourav Poddar
Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Sourav Poddar

[PATCH 4/4] arm/dts: omap5-evm: Add bmp085 sensor support

2012-08-13 Thread Sourav Poddar
Add bmp085 pressure sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Sourav Poddar

[PATCH 3/4] arm/dts: omap5-evm: Add keypad data

2012-08-13 Thread Sourav Poddar
Add keypad data node in omap5 device tree file. Also fill the device tree binding parameters with the required value in omap5-evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar

Re: [PATCH 2/3] HWPOISON: undo memory error handling for dirty pagecache

2012-08-13 Thread Jun'ichi Nomura
On 08/11/12 08:09, Andi Kleen wrote: Naoya Horiguchi n-horigu...@ah.jp.nec.com writes: Current memory error handling on dirty pagecache has a bug that user processes who use corrupted pages via read() or write() can't be aware of the memory error and result in discarding dirty data silently.

Re: [PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-13 Thread Artem Bityutskiy
On Wed, 2012-08-08 at 10:18 -0300, Fabio Estevam wrote: On Wed, Aug 8, 2012 at 10:05 AM, Dirk Behme dirk.be...@de.bosch.com wrote: Yes. But it seems it's not handled there? I'm trying since ~2 weeks to get something like your patch applied to get the broken mainline fixed, but

[PATCH 0/2] GMBUS EDID read bit-banging fallback

2012-08-13 Thread Jani Nikula
Alex, Maciej, please test the following to see if it fixes the issue [1], thanks. BR, Jani. [1] https://bugzilla.kernel.org/show_bug.cgi?id=45881 Jani Nikula (2): drm/i915: extract connector update from intel_ddc_get_modes() for reuse drm/i915: fall back to bit-banging if GMBUS fails

[PATCH 1/2] drm/i915: extract connector update from intel_ddc_get_modes() for reuse

2012-08-13 Thread Jani Nikula
Refactor the connector update part of intel_ddc_get_modes() into a separate intel_connector_update_modes() function for reuse. No functional changes. Signed-off-by: Jani Nikula jani.nik...@intel.com --- drivers/gpu/drm/i915/intel_drv.h |2 ++ drivers/gpu/drm/i915/intel_modes.c | 31

[PATCH 2/2] drm/i915: fall back to bit-banging if GMBUS fails in CRT EDID reads

2012-08-13 Thread Jani Nikula
GMBUS was enabled over bit-banging as the default in commits: commit c3dfefa0a6d235bd465309e12f4c56ea16e7 Author: Daniel Vetter daniel.vet...@ffwll.ch Date: Tue Feb 14 22:37:25 2012 +0100 drm/i915: reenable gmbus on gen3+ again and commit 0fb3f969c8683505fb7323c06bf8a999a5a45a15

Re: [BUG Report] BUG: unable to handle kernel NULL pointer dereference at

2012-08-13 Thread Liu Bo
On 08/13/2012 06:01 PM, Bjørn Mork wrote: Liu Bo liub.li...@gmail.com writes: I'm using mainline upstream 3.6.0-rc1 compiled based on Fedora-16. When I unplug my mobile usb card, I hit this: [ 247.017258] BUG: unable to handle kernel NULL pointer dereference at (null) [

Re: [PATCH] netvm: check for page == NULL when propogating the skb-pfmemalloc flag

2012-08-13 Thread Mel Gorman
On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote: From: Mel Gorman mgor...@suse.de Date: Tue, 7 Aug 2012 09:55:55 +0100 Commit [c48a11c7: netvm: propagate page-pfmemalloc to skb] is responsible for the following bug triggered by a xen network driver ... The problem is that

[PATCHv2 4/4] arm/dts: omap5-evm: Add bmp085 sensor support

2012-08-13 Thread Sourav Poddar
Add bmp085 pressure sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Sourav Poddar

[PATCHv2 3/4] arm/dts: omap5-evm: Add keypad data

2012-08-13 Thread Sourav Poddar
Add keypad data node in omap5 device tree file. Also fill the device tree binding parameters with the required value in omap5-evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar

Re: [BUG] perf: sharing of cpuctx between core and ibs PMU causes problems

2012-08-13 Thread Peter Zijlstra
OK,.. so the AMD IBS PMUs actually have perf_invalid_context. Lemme have a proper look... Weirdness.. perf_pmu_register() will allocate a pmu-pmu_cpu_context for each PMU. find_pmu_context() even special cases the perf_invalid_context to return NULL to force the allocation instead of sharing

[RFC PATCH 2/2] vfs: replace bdevname(bdev, b) with bdev-bd_name

2012-08-13 Thread Yuanhan Liu
Since we embeded block device name into struct block_device, we don't need call a function bdevname() to get the name any more. Here this patch replace all the code using bdevname() in vfs layer to bdev-bd_name. This patch servers as an example of using embeded block device name. It makes the

[RFC PATCH 1/2] block: embed bdevname in struct block_device

2012-08-13 Thread Yuanhan Liu
Embed block device name in struct block_device, thus we can replace the following code: char b[BDEVNAME_SIZE]; printk(KERN_XXX ...%s..\n, bdevname(bdev, b); with a much simpler and less stack usage version: printk(KERN_XXX ...%s..\n, bdev-bd_name); This is a RFC version,

Re: [PATCH v3 08/10] IPC: message queue copy feature introduced

2012-08-13 Thread Stanislav Kinsbursky
12.08.2012 13:48, Manfred Spraul пишет: I would keep it simple - unless there is a clear use case where peek by id is useful. Or - since MSG_COPY is linux specific anyway: What about storing the number of the message that should be returned in *msgp? Store it as int64, just to avoid any 32/64

Re: [PATCH 0/5] rbtree based interval tree as a prio_tree replacement

2012-08-13 Thread Michel Lespinasse
On Mon, Aug 13, 2012 at 1:20 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, 2012-08-07 at 00:25 -0700, Michel Lespinasse wrote: a faster worst-case complexity of O(k+log N) for stabbing queries in a well-balanced prio tree, vs O(k*log N) for interval trees (where k=number of matches,

[PATCH repost] kvm: drop parameter validation

2012-08-13 Thread Michael S. Tsirkin
We validate irq pin number when routing is setup, so code handling illegal irq # in pic and ioapic on each injection is never called. Drop it. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Reposting, applies without changes to kvm/next. arch/x86/kvm/i8259.c | 16 +++-

Re: [PATCH] netvm: check for page == NULL when propogating the skb-pfmemalloc flag

2012-08-13 Thread Mel Gorman
Resending to correct Jeremy's address. On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote: From: Mel Gorman mgor...@suse.de Date: Tue, 7 Aug 2012 09:55:55 +0100 Commit [c48a11c7: netvm: propagate page-pfmemalloc to skb] is responsible for the following bug triggered by a xen

Re: [PATCH 09/10] ARM: rpc: Fix building RiscPC

2012-08-13 Thread Russell King - ARM Linux
On Fri, Aug 10, 2012 at 11:03:58AM +, Arnd Bergmann wrote: On Thursday 09 August 2012, Russell King - ARM Linux wrote: On Wed, Aug 08, 2012 at 11:27:57PM +0200, Arnd Bergmann wrote: ARMv3 support was removed in 357c9c1f07 ARM: Remove support for ARMv3 ARM610 and ARM710 CPUs, which

[PATCH 00/12] thp: optimize use of khugepaged_mutex and dependence of CONFIG_NUMA

2012-08-13 Thread Xiao Guangrong
khugepaged_mutex is used very complexly and there are too many small pieces of the code depend on CONFIG_NUMA, they make the code very hardly understand This patchset try to optimize use of khugepaged_mutex and reduce dependence of CONFIG_NUMA, after the patchset, the code is more readable -- To

[PATCH 01/12] thp: fix the count of THP_COLLAPSE_ALLOC

2012-08-13 Thread Xiao Guangrong
THP_COLLAPSE_ALLOC is double counted if NUMA is disabled since it has already been calculated in khugepaged_alloc_hugepage Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 02/12] thp: remove unnecessary check in start_khugepaged

2012-08-13 Thread Xiao Guangrong
The check is unnecessary since if mm_slot_cache or mm_slots_hash initialize failed, no sysfs interface will be created Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 03/12] thp: move khugepaged_mutex out of khugepaged

2012-08-13 Thread Xiao Guangrong
Currently, hugepaged_mutex is used really complexly and hard to understand, actually, it is just used to serialize start_khugepaged and khugepaged for these reasons: - khugepaged_thread is shared between them - the thp disable path (echo never transparent_hugepage/enabled) is nonblocking, so we

[PATCH 04/12] thp: remove unnecessary khugepaged_thread check

2012-08-13 Thread Xiao Guangrong
Now, khugepaged creation and cancel are completely serial under the protection of khugepaged_mutex, it is impossible that many khugepaged entities are running Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c |5 + 1 files changed, 1 insertions(+), 4

[PATCH 05/12] thp: remove wake_up_interruptible in the exit path

2012-08-13 Thread Xiao Guangrong
Add the check of kthread_should_stop() to the conditions which are used to wakeup on khugepaged_wait, then kthread_stop is enough to let the thread exit Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c | 35 +-- 1 files

[PATCH 06/12] thp: remove some code depend on CONFIG_NUMA

2012-08-13 Thread Xiao Guangrong
If NUMA is disabled, hpage is used as page pre-alloc, so there are two cases for hpage: - it is !NULL, means the page is not consumed otherwise, - the page has been consumed If NUMA is enabled, hpage is just used as alloc-fail indicator which is not a real page, NULL means not fail triggered.

[PATCH 07/12] thp: merge page pre-alloc in khugepaged_loop into khugepaged_do_scan

2012-08-13 Thread Xiao Guangrong
There are two pre-alloc operations in these two function, the different is: - it allows to sleep if page alloc fail in khugepaged_loop - it exits immediately if page alloc fail in khugepaged_do_scan Actually, in khugepaged_do_scan, we can allow the pre-alloc to sleep on the first failure, then

[PATCH 08/12] thp: release page in page pre-alloc path

2012-08-13 Thread Xiao Guangrong
If NUMA is enabled, we can release the page in the page pre-alloc operation, then the CONFIG_NUMA dependent code can be reduced Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c | 19 +++ 1 files changed, 7 insertions(+), 12 deletions(-) diff

[PATCH 09/12] thp: introduce khugepaged_prealloc_page and khugepaged_alloc_page

2012-08-13 Thread Xiao Guangrong
They are used to abstract the difference between NUMA enabled and NUMA disabled to make the code more readable Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c | 166 -- 1 files changed, 98 insertions(+), 68

[PATCH 10/12] thp: remove khugepaged_loop

2012-08-13 Thread Xiao Guangrong
Merge khugepaged_loop into khugepaged Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 82f6cce..6ddf671 100644 ---

[PATCH 11/12] thp: use khugepaged_enabled to remove duplicate code

2012-08-13 Thread Xiao Guangrong
Use khugepaged_enabled to see whether thp is enabled Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 6ddf671..6becf6c 100644 ---

[PATCH 12/12] thp: remove unnecessary set_recommended_min_free_kbytes

2012-08-13 Thread Xiao Guangrong
Since it is called in start_khugepaged Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- mm/huge_memory.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 6becf6c..6533956 100644 --- a/mm/huge_memory.c +++

Re: [PATCH 01/12] thp: fix the count of THP_COLLAPSE_ALLOC

2012-08-13 Thread Kirill A. Shutemov
On Mon, Aug 13, 2012 at 07:13:16PM +0800, Xiao Guangrong wrote: THP_COLLAPSE_ALLOC is double counted if NUMA is disabled since it has already been calculated in khugepaged_alloc_hugepage Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Acked-by: Kirill A. Shutemov

[GIT PULL] s390 patches for the 3.6-rc1

2012-08-13 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive some s390 patches on top of 3.6-rc1. Included are bug fixes and a patch to enable system call filtering with BPF. Heiko Carstens (4): s390/mm:

Re: [flame^Wreview] net: netprio_cgroup: rework update socket logic

2012-08-13 Thread Neil Horman
On Sun, Aug 12, 2012 at 10:55:17PM -0700, John Fastabend wrote: On 8/12/2012 6:53 PM, Al Viro wrote: Ladies and gentlemen, who the devil had reviewed that little gem? commit 406a3c638ce8b17d9704052c07955490f732c2b8 Author: John Fastabend john.r.fastab...@intel.com Date: Fri Jul 20

[PATCH] ARM: EXYNOS: Add audio I2S clock control

2012-08-13 Thread tobetter
From: Dongjin Kim dongjin@agreeyamobility.net This patch adds the clock controls for the audio subsystem channel 0, and fixes invalid clock gating for i2s.0. Signed-off-by: Dongjin Kim dongjin@agreeyamobility.net --- arch/arm/mach-exynos/clock-exynos4.c | 254

[PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Stanislav Kinsbursky
When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But in this point current-nsproxy is set to NULL and all namespaces will be destroyed one by one. I.e. we can't dereference current-nsproxy to obtain uts

Re: [PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Jeff Layton
On Mon, 13 Aug 2012 15:21:56 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But in this point current-nsproxy is set to NULL and all

Re: [RFC 5/5] uprobes: add global breakpoints

2012-08-13 Thread Peter Zijlstra
On Tue, 2012-08-07 at 18:12 +0200, Sebastian Andrzej Siewior wrote: By setting an uprobe tracepoint, one learns whenever a certain point within a program is reached / passed. This is recorded and the application continues. This patch adds the ability to hold the program once this point has

Re: [PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Stanislav Kinsbursky
Thanks, Jeff. Will fix. 13.08.2012 15:35, Jeff Layton пишет: On Mon, 13 Aug 2012 15:21:56 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But

[PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Stanislav Kinsbursky
v2: 1) rpc_clnt_set_nodename() prototype updated. 2) fixed errors in comment. When child reaper exits, it can destroy mount namespace it belongs to, and if there are NFS mounts inside, then it will try to umount them. But in this point current-nsproxy is set to NULL and all namespaces will be

Re: [PATCHv2 0/4] Add device tree data for omap5

2012-08-13 Thread Shilimkar, Santosh
Sourav, On Mon, Aug 13, 2012 at 3:35 PM, Sourav Poddar sourav.pod...@ti.com wrote: The following patch series add i2c support for omap5. As well as enable I2C based devices like pressure and temperature through device tree. Also add onchip keypad dts data. Cc: Benoit Cousson

Re: [PATCH v2 4/6] x86: Add clear_page_nocache

2012-08-13 Thread Kirill A. Shutemov
On Thu, Aug 09, 2012 at 04:22:04PM +0100, Jan Beulich wrote: On 09.08.12 at 17:03, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: ... --- arch/x86/include/asm/page.h |2 ++ arch/x86/include/asm/string_32.h |5 + arch/x86/include/asm/string_64.h

Re: [PATCH] Smack: remove task_wait() hook.

2012-08-13 Thread Jarkko Sakkinen
On Thu, Aug 09, 2012 at 05:46:38PM -0700, Casey Schaufler wrote: On 12/20/2011 11:20 PM, Jarkko Sakkinen wrote: Allow SIGCHLD to be passed to child process without explicit policy. This will help to keep the access control policy simple and easily maintainable with complex applications

Re: [PATCH] sched: fix divide by zero at {thread_group,task}_times

2012-08-13 Thread Stanislaw Gruszka
On Wed, Aug 08, 2012 at 10:08:20PM +0200, Peter Zijlstra wrote: On Wed, 2012-08-08 at 21:50 +0200, Mike Galbraith wrote: 32bit built do_div() and div64_u64() both sucked equally compared to 64bit /me peeks at div64_u64 fallback implementation and sees why, it still does a single div, it

[PATCH] [trivial] mfd: Fix typo in mfd

2012-08-13 Thread Masanari Iida
Correct spelling typo in drivers/mfd Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/mfd/ab8500-gpadc.c| 2 +- drivers/mfd/rc5t583.c | 2 +- drivers/mfd/rdc321x-southbridge.c | 2 +- drivers/mfd/tps65911-comparator.c | 2 +- include/linux/mfd/max8998.h |

  1   2   3   4   5   6   7   8   9   10   >