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

2013-04-30 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/block/mtip32xx/mtip32xx.c between commit 2077d947260c (mtip32xx: Workaround for unaligned writes) from the block tree and commit mtip32xx: convert to batch completion from the akpm tree. I fixed it up (see below) and

Re: generic_make_request not locked

2013-04-30 Thread Jens Axboe
On Tue, Apr 30 2013, remaper wrote: /* * We only want one -make_request_fn to be active at a time, * else stack usage with stacked devices could be a problem. * So use current-bio_list to keep a list of requests * submited by a make_request_fn function. * current-bio_list is also used

Re: [PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-30 Thread Sascha Hauer
Hi, One more point for your devicetree conversions, On Mon, Apr 29, 2013 at 01:30:01PM +0530, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the mt9p031 sensor driver. +static struct mt9p031_platform_data + *mt9p031_get_pdata(struct i2c_client

[PATCHv4 2/3] net: velocity: Convert to generic dma functions

2013-04-30 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz ---

[PATCHv4 0/3] Add support for velocity network driver on platform devices

2013-04-30 Thread Tony Prisk
v4 changes: Code tidyup as requested by Francois Romieu Removed '#ifdef PCI' around PCI code. Compile tested on (!)PCI and (!)PM. v3 changes: Rebased against net-next. Fix errors in pm code. v2 changes: Drop patch #1 as requested by David Miller. Correct the PHYID_ICPLUS_IP101A MII bits - should

[PATCHv4 1/3] net: velocity: Rename vptr-dev to vptr-netdev

2013-04-30 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz ---

[PATCHv4 3/3] net: velocity: Add platform device support to VIA velocity driver

2013-04-30 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +-

Re: [PATCH 4/4] fsfreeze: return EINTR from mnt_want_write and mnt_want_write_file

2013-04-30 Thread Marco Stornelli
2013/4/29 Jan Kara j...@suse.cz: On Fri 26-04-13 10:53:27, Marco Stornelli wrote: Replaced sb_start_write with sb_start_write_killable inside mnt_want_write and mnt_want_write_file. The patch looks good. You can add: Reviewed-by: Jan Kara j...@suse.cz

Re: [GIT PATCH] USB patches for 3.10-rc1

2013-04-30 Thread Felipe Balbi
Hi, On Mon, Apr 29, 2013 at 02:31:59PM -0700, Linus Torvalds wrote: On Mon, Apr 29, 2013 at 2:14 PM, Alan Stern st...@rowland.harvard.edu wrote: What other things seemed odd about Greg's pull request? The only other thing I noticed was the new CONFIG_USB_PHY quesiton, which is not

[tip:timers/nohz] nohz: Protect smp_processor_id() in tick_nohz_task_switch()

2013-04-30 Thread tip-bot for Li Zhong
Commit-ID: 6296ace467c8640317414ba589b124323806f7ce Gitweb: http://git.kernel.org/tip/6296ace467c8640317414ba589b124323806f7ce Author: Li Zhong zh...@linux.vnet.ibm.com AuthorDate: Sun, 28 Apr 2013 11:25:58 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 29 Apr 2013

Why not are all serial devices named ttyS* ?

2013-04-30 Thread Francis Moreau
Hi, I'm just wondering why device nodes of some serial drivers (mostly when arch != x86) are not always named ttyS[:digit:] ? For example, I have a ARM based platform which has a serial device node named ttymxc0. I don't see any advantages to do this but only require one to handle special cases

Re: [PATCH] partitions/efi.c: replace useless kzalloc's by kmalloc's

2013-04-30 Thread Jens Axboe
On Mon, Apr 29 2013, Philippe De Muyter wrote: In alloc_read_gpt_entries and alloc_read_gpt_header, the kzalloc'ated zones are either totally overwritten by the following read_lba call, or freed. As kmalloc is cheaper than kzalloc, use kmalloc. Applied, thanks. -- Jens Axboe -- To

RE: X86 fpu registers in a signal handler's ucontext

2013-04-30 Thread Warlich, Christof
Andi Kleen a...@firstfloor.org writes: The FP registers are restored lazily, but the state for this is kept in the kernel. I'm not sure if I understand lazily in this context: Do you mean that FP registers _are_ restored within the kernel, but _not_ from a (possibly modified) ucontext of a

Re: [PATCH 2/5] Add aix lvm partitions support files

2013-04-30 Thread Jens Axboe
On Mon, Apr 29 2013, Philippe De Muyter wrote: Hi Karel On Mon, Apr 29, 2013 at 02:36:51PM +0200, Karel Zak wrote: On Mon, Apr 29, 2013 at 01:40:41PM +0200, Philippe De Muyter wrote: why not memset(pps_found, )? I also see magical constant 16 Actually 16 is the maximum

Re: [PATCH 2/5] Add aix lvm partitions support files

2013-04-30 Thread Philippe De Muyter
On Tue, Apr 30, 2013 at 08:41:52AM +0200, Jens Axboe wrote: On Mon, Apr 29 2013, Philippe De Muyter wrote: so sda is 8,0 and sdb is 8,16 and if, while discovering partitions of /dev/sda, I try to make a partition 16 or higher, it is silently discarded by 'put_partition'. Is that

Re: [PATCH v3 0/6] Android Binder IPC Fixes

2013-04-30 Thread Kirill A. Shutemov
On Fri, Apr 12, 2013 at 01:25:49PM +0100, Serban Constantinescu wrote: The patch set has been successfully tested with a 64bit Linux userspace and 64bit binder unit-tests. This patch set has been successfully tested on 32bit platforms(ARMv7 VExpress) and 64bit platforms(ARMv8 RTSM) running a

Re: [PATCH] relay: move remove_buf_file inside relay_close_buf PING..

2013-04-30 Thread Dmitry Monakhov
On Mon, 22 Apr 2013 11:57:52 +0400, Dmitry Monakhov dmonak...@openvz.org wrote: Non-text part: multipart/mixed Seriously. Am I an only one who use blktrace? Jens can you please take it? Hi, Let someone please finally take care of this patch. Originally it was submitted here

Re: [PATCH] Msleep_interruptible() on a dual processor system may wait a long time.

2013-04-30 Thread Srivatsa S. Bhat
On 04/30/2013 06:50 AM, David VomLehn wrote: Msleep_interruptible() on a dual processor system may wait a long time. On some reboots, calling msleep_interruptible() from CPU 1 on a dual processor system will not return for seconds or even minutes. This happens because ksoftirqd/1 migrates to

Re: [PATCH 2/5] Add aix lvm partitions support files

2013-04-30 Thread Philippe De Muyter
On Mon, Apr 29, 2013 at 11:50:51PM +0200, Philippe De Muyter wrote: On Mon, Apr 29, 2013 at 01:40:41PM +0200, Philippe De Muyter wrote: On Mon, Apr 29, 2013 at 11:37:56AM +0200, Karel Zak wrote: Philippe, do you have any disk image with AIX LVM? It would be nice to have a way how to

[PATCH 3/4] ARM: shmobile: move r8a7740 DMA controller DT node under a dma-mux node

2013-04-30 Thread Guennadi Liakhovetski
On r8a7740 multiple DMA controllers can serve the same slaves with the same DMA slave IDs. To use this feature DMA controller DT nodes have to be grouped under dma-mux multiplexer nodes and slaves have to be modified to reference multiplexer nodes instead of individual DMA DT nodes. Future patches

[PATCH/RFC 0/4] dmaengine: add DT support for DMA multiplexers

2013-04-30 Thread Guennadi Liakhovetski
Previously an issue has been discussed, arising on sh-/r-mobile ARM-based systems. There we typically have multiple DMA controller instances with exactly equal or very similar capabilities. Each of them can serve the same slaves, using the same slave identifiers (request line IDs). With the

[PATCH 4/4] OF: modify function stubs to match proper function declarations.

2013-04-30 Thread Guennadi Liakhovetski
of_parse_phandle_with_args() and of_count_phandle_with_args() functions are declared with their first parameter as const. However, their respective stubs, used when CONFIG_OF isn't defined, don't have the const modifier. This patch adds it to fix the mismatch. Signed-off-by: Guennadi Liakhovetski

Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper

2013-04-30 Thread Julian Anastasov
Hello, On Tue, 30 Apr 2013, Simon Horman wrote: This is intended for use in loops which read data protected by RCU and may have a large number of iterations. Such an example is dumping the list of connections known to IPVS: ip_vs_conn_array() and ip_vs_conn_seq_next(). The call

[PATCH 2/4] dmaengine: add support for DMA multiplexer DT nodes

2013-04-30 Thread Guennadi Liakhovetski
If a slave can use any of several DMA controllers on the system, multiple DMA descriptors can be listed in its dmas DT property with the same channel name and different DMA controller phandles. However, if multiple such slaves can use any of a set of DMA controllers on the system, listing them all

[PATCH 1/4] OF: add a new phandle parsing function for grouped nodes

2013-04-30 Thread Guennadi Liakhovetski
Sometimes it is useful to group similar DT nodes under a common parent, when a different node can reference the group, meaning, that any subnode will do the job. An example of such a group is a DMA multiplexer, when a DMA slave can be served by any DMA controller from the group. This patch

x86/pci/mrst: force all pci config toward 0:0:0, 0:2:0 and 0:3:0 to type 1

2013-04-30 Thread Bin Gao
x86/pci/mrst: force all pci config access toward 0:0:0, 0:2:0 and 0:3:0 to type 1 For real pci devices 0:0:0, 0:2:0 and 0:3:0, there is either no pci shim, or no guarantee of data correctness of offset 256-4k. So for whatever reason, Linux kernel should not do MMCFG pci config access to those

Re: [PATCH 2/5] Add aix lvm partitions support files

2013-04-30 Thread Philippe De Muyter
On Tue, Apr 30, 2013 at 09:08:40AM +0200, Philippe De Muyter wrote: On Mon, Apr 29, 2013 at 11:50:51PM +0200, Philippe De Muyter wrote: On Mon, Apr 29, 2013 at 01:40:41PM +0200, Philippe De Muyter wrote: On Mon, Apr 29, 2013 at 11:37:56AM +0200, Karel Zak wrote: Philippe, do you

Re: [PATCH v4 00/22] x86, ACPI, numa: Parse numa info early

2013-04-30 Thread Tang Chen
Hi Yinghai, all, I've tested this patch-set with my following patch-set: [PATCH v1 00/12] Arrange hotpluggable memory in SRAT as ZONE_MOVABLE. https://lkml.org/lkml/2013/4/19/94 Using ACPI table override, I overrided SRAT on my box like this: [0.00] SRAT: Node 0 PXM 0 [mem

Re: [ANNOUNCE] 3.8.10-rt6

2013-04-30 Thread Sebastian Andrzej Siewior
On 04/29/2013 10:46 PM, Bernhard Schiffner wrote: Known issues: - SLxB is broken on PowerPC. - suspend / resume seems to program program the timer wrong and wait ages until it continues. Yes, it's a annoying problem here too. How can I help to solve it? Are you referring to

HPET rtc emulation

2013-04-30 Thread Christian Gmeiner
Hi. I am working with a platform that has a problem with the RTC alarm interrupt - tested with rtctest from /Documentation/rtc.txt. So I thought that I could use the HPET emulation. As far as I understand in the HPET emulation mode no RTC irq will be used -- RTC alarm interrupt is done via HPET.

[patch] configfs: use capped length for -store_attribute()

2013-04-30 Thread Dan Carpenter
The difference between count and len is that len is capped at 4095. Changing it like this makes it match how sysfs_write_file() is implemented. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- This is a static analysis patch. I haven't found any store_attribute() functions where this

Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper

2013-04-30 Thread Simon Horman
On Tue, Apr 30, 2013 at 10:12:38AM +0300, Julian Anastasov wrote: Hello, On Tue, 30 Apr 2013, Simon Horman wrote: This is intended for use in loops which read data protected by RCU and may have a large number of iterations. Such an example is dumping the list of connections

Re: WRITE SAME failed. Manually zeroing with 3w-xxxx driver

2013-04-30 Thread Florian Westphal
Martin K. Petersen martin.peter...@oracle.com wrote: Florian == Florian Westphal f...@strlen.de writes: Florian After update to 3.8 dmesg is spammed with: kernel: [ Florian 280.272094] 3w-: scsi8: Unknown scsi opcode: 0x41 kernel: [ Florian 280.272107] sd 8:0:0:0: [sda] Unhandled error

Re: linux-next: build warning while building Linus' tree

2013-04-30 Thread Tomi Valkeinen
Hi, On 04/30/2013 02:55 AM, Stephen Rothwell wrote: Hi Tomi, In Linus' tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/video/ps3fb.c: In function 'ps3fb_mmap': drivers/video/ps3fb.c:712:2: warning: suggest parentheses around '+' inside ''

[GIT PULL] x86/asm updates for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus HEAD: bec1b9e76353ecf05fac6a87f8e4102dfb618cd2 extable: Flip the sorting message Small tweak to reduce kmsg boot time spam. out-of-topic

Re: [PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper

2013-04-30 Thread Julian Anastasov
Hello, On Tue, 30 Apr 2013, Simon Horman wrote: +static void inline cond_resched_rcu_lock(void) +{ + if (need_resched()) { Ops, it should be without above need_resched. Thanks, to clarify, just this: static void inline cond_resched_rcu_lock(void) {

[PATCH 3.8-stable] lib/int_sqrt.c: optimize square root algorithm

2013-04-30 Thread Jonghwan Choi
This patch looks like it should be in the 3.8-stable tree, should we apply it? -- From: Davidlohr Bueso davidlohr.bu...@hp.com commit 30493cc9dddb68066dcc4878015660fdaa8e0965 upstream Optimize the current version of the shift-and-subtract (hardware) algorithm, described by John

[GIT PULL] x86/cleanups for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-cleanups-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cleanups-for-linus HEAD: d50ba3687b99213501463a1947e3dd5b98bc2d99 x86/lib: Fix spelling, put space between a numeral and its units Misc smaller cleanups.

[GIT PULL] x86/cpu changes for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-cpu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpu-for-linus HEAD: 1077c932db63ecc571c31df1c24d4a44e30928e5 x86, CPU, AMD: Drop useless label The biggest change is x86 CPU bug handling refactoring and

Re: linux-next: manual merge of the net-next tree with the net tree

2013-04-30 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Fri, 26 Apr 2013 13:24:47 +1000 Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c between commit ecf01c22be03 (bnx2x: Prevent NULL pointer dereference in kdump) from the net tree

Re: linux-next: manual merge of the net-next tree with the net tree

2013-04-30 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Fri, 26 Apr 2013 13:27:01 +1000 Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/emulex/benet/be.h between commit bc0c3405abbb (be2net: fix a Tx stall bug caused by a specific ipv6 packet) from the net tree

Re: linux-next: build failure after merge of the net-next tree

2013-04-30 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Fri, 26 Apr 2013 13:48:14 +1000 Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/net/ethernet/emulex/benet/be_main.c: In function 'be_insert_vlan_in_pkt':

Re: linux-next: manual merge of the net-next tree with the net tree

2013-04-30 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Tue, 30 Apr 2013 12:24:23 +1000 Today's linux-next merge of the net-next tree got a conflict in net/mac802154/mac802154.h between commit 2c1bbbffa0b6 (net: mac802154: comparision issue of type cast, finding by EXTRA_CFLAGS=-W) from the net

[GIT PULL] x86/debug changes for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-debug-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-debug-for-linus HEAD: 147ea09119e45caf2e8bf57c9e54cc930ccfeda9 x86, early-printk: Update earlyprintk documentation (and kill x86 copy) Two small changes: a

[GIT PULL] x86 KASLR changes for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-kaslr-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-kaslr-for-linus HEAD: c889ba801dc3b3a0155fa77d567f2c3a6097de1c x86, relocs: Refactor the relocs tool to merge 32- and 64-bit ELF This merge contains changes

[GIT PULL] x86/mm changes for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-mm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-for-linus HEAD: 13f72756da86f155898e2c2022f7b3a106c3742e x86/iommu/dmar: Remove warning for HPET scope type Misc smaller changes all over the map.

[GIT PULL] x86/paravirt changes for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-paravirt-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-paravirt-for-linus HEAD: 4d681be3c33dd74efffbe2a8f70634f7128602ec x86, wakeup, sleep: Use pvops functions for changing GDT entries Various

[GIT PULL] x86/platform changes for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-platform-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-platform-for-linus HEAD: 06d219dc22daa26b79ec8e611caa68801607f15d x86/setup: Drop unneeded include asm/dmi.h Small fixes and cleanups all over the map.

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-30 Thread Mike Galbraith
On Tue, 2013-04-30 at 07:16 +0200, Mike Galbraith wrote: Well now, that's not exactly what I expected to see for AIM7 compute. Filesystem is munching cycles otherwise used for compute when load is spread across the whole box vs consolidated. So AIM7 compute performance delta boils down to:

[GIT] trivial

2013-04-30 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git for-linus to receive 3.10 merge window updates from trivial queue. == Usual stuff, mostly comment fixes, typo fixes, printk fixes and small code cleanups. == You are going to get two conflicts:

[GIT] HID

2013-04-30 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive HID subsystem updates for 3.10. Highlights: - hid driver transport cleanup, finalizing the long-desired decoupling of core from transport layers, by Benjamin Tissoires and Henrik

Re: [PATCH v3 0/6] Android Binder IPC Fixes

2013-04-30 Thread Serban Constantinescu
Hi Arve, On 30/04/13 00:13, Arve Hjønnevåg wrote: On Mon, Apr 29, 2013 at 9:16 AM, Serban Constantinescu serban.constantine...@arm.com wrote: Hi all, Any feedback or comments on this patch set? You don't seem to have addressed my feedback on the previous patch set. For v3 I have modified

[GIT PULL] x86/ras changes for v3.10

2013-04-30 Thread Ingo Molnar
Linus, Please pull the latest x86-ras-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-ras-for-linus HEAD: 5379f8c0d72cab43bbe6d974ceb3ad84dddc2b8e Merge tag 'edac_amd_f16h' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras into x86/ras This

[PATCH] memory hotplug: fix warnings

2013-04-30 Thread Vincent Stehlé
Fix the following compilation warnings: mm/slab.c: In function ‘kmem_cache_init_late’: mm/slab.c:1778:2: warning: statement with no effect [-Wunused-value] mm/page_cgroup.c: In function ‘page_cgroup_init’: mm/page_cgroup.c:305:2: warning: statement with no effect [-Wunused-value]

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-30 Thread Ingo Molnar
* Mike Galbraith bitbuc...@online.de wrote: On Tue, 2013-04-30 at 07:16 +0200, Mike Galbraith wrote: Well now, that's not exactly what I expected to see for AIM7 compute. Filesystem is munching cycles otherwise used for compute when load is spread across the whole box vs consolidated.

[PATCH 3.8-stable] kernel/audit_tree.c: tree will leak memory when failure occurs in audit_trim_trees()

2013-04-30 Thread Jonghwan Choi
This patch looks like it should be in the 3.8-stable tree, should we apply it? -- From: Chen Gang gang.c...@asianux.com commit 12b2f117f3bf738c1a00a6f64393f1953a740bd4 upstream audit_trim_trees() calls get_tree(). If a failure occurs we must call put_tree().

Re: [ANNOUNCE] 3.8.10-rt6

2013-04-30 Thread John Kacur
On Mon, 29 Apr 2013, Clark Williams wrote: On Mon, 29 Apr 2013 22:12:02 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: - suspend / resume seems to program program the timer wrong and wait ages until it continues. It has to be something we're doing when we

Re: [GIT PULL] EFI merge botch fix

2013-04-30 Thread Ingo Molnar
* Matt Fleming m...@console-pimps.org wrote: Hi folks, This commit fixes the merge botch I created when merging -rc8 into tip/x86/efi, where I dropped the select UCS2_STRING string from drivers/firmware/Kconfig. The string actually needs to be moved to arch/ia64 because parts of the core

Re: [GIT PULL rcu/doc] Reducing OS jitter from per-CPU kthreads

2013-04-30 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, This series includes documentation for reducing OS jitter due to per-CPU kthreads. It is available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/doc for you to

Re: [GIT PULL tip/timers/nohz] Documentation for adaptive ticks

2013-04-30 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, This change adds documentation for CONFIG_NO_HZ_IDLE and CONFIG_NO_HZ_FULL. It is available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/nohz for you to fetch

Re: [PATCH v3 0/6] Android Binder IPC Fixes

2013-04-30 Thread Serban Constantinescu
Hi Kirill, On 30/04/13 08:31, Kirill A. Shutemov wrote: On Fri, Apr 12, 2013 at 01:25:49PM +0100, Serban Constantinescu wrote: The patch set has been successfully tested with a 64bit Linux userspace and 64bit binder unit-tests. This patch set has been successfully tested on 32bit

Re: [PATCH v3 0/6] Android Binder IPC Fixes

2013-04-30 Thread Kirill A. Shutemov
On Tue, Apr 30, 2013 at 09:52:34AM +0100, Serban Constantinescu wrote: Hi Kirill, On 30/04/13 08:31, Kirill A. Shutemov wrote: On Fri, Apr 12, 2013 at 01:25:49PM +0100, Serban Constantinescu wrote: The patch set has been successfully tested with a 64bit Linux userspace and 64bit binder

[PATCH v2 08/13] x86, numa: Move memory_add_physaddr_to_nid() to CONFIG_NUMA.

2013-04-30 Thread Tang Chen
memory_add_physaddr_to_nid() is declared in include/linux/memory_hotplug.h, protected by CONFIG_NUMA. And in x86, the definitions are protected by CONFIG_MEMORY_HOTPLUG. memory_add_physaddr_to_nid() uses numa_meminfo to find the physical address's nid. It has nothing to do with memory hotplug.

[PATCH v2 10/13] x86, acpi, numa, mem-hotplug: Introduce MEMBLK_HOTPLUGGABLE to mark and reserve hotpluggable memory.

2013-04-30 Thread Tang Chen
We mark out movable memory ranges and reserve them with MEMBLK_HOTPLUGGABLE flag in memblock.reserved. This should be done after the memory mapping is initialized because the kernel now supports allocate pagetable pages on local node, which are kernel pages. The reserved hotpluggable will be

[PATCH v2 12/13] x86, numa, acpi, memory-hotplug: Make movablecore=acpi have higher priority.

2013-04-30 Thread Tang Chen
Arrange hotpluggable memory as ZONE_MOVABLE will cause NUMA performance decreased because the kernel cannot use movable memory. For users who don't use memory hotplug and who don't want to lose their NUMA performance, they need a way to disable this functionality. So, if users specify

[PATCH v2 05/13] x86, numa, acpi, memory-hotplug: Consider hotplug info when cleanup numa_meminfo.

2013-04-30 Thread Tang Chen
Since we have introduced hotplug info into struct numa_meminfo, we need to consider it when cleanup numa_meminfo. The original logic in numa_cleanup_meminfo() is: Merge blocks on the same node, holes between which don't overlap with memory on other nodes. This patch modifies

Re: [PATCH] PCI: Fix racing for pci device removing via sysfs

2013-04-30 Thread Gu Zheng
On 04/30/2013 02:15 AM, Bjorn Helgaas wrote: On Mon, Apr 29, 2013 at 08:19:10AM -0700, Yinghai Lu wrote: On Mon, Apr 29, 2013 at 3:04 AM, Gu Zheng guz.f...@cn.fujitsu.com wrote: On 04/27/2013 05:01 AM, Yinghai Lu wrote: On Fri, Apr 26, 2013 at 1:53 PM, Bjorn Helgaas bhelg...@google.com wrote:

[PATCH v2 09/13] x86, numa, memblock: Introduce MEMBLK_LOCAL_NODE to mark and reserve node-life-cycle data.

2013-04-30 Thread Tang Chen
node-life-cycle data (whose life cycle is the same as a node) allocated by memblock should be marked so that when we free usable memory to buddy system, we can skip them. This patch introduces a flag MEMBLK_LOCAL_NODE for memblock to reserve node-life-cycle data. For now, it is only kernel direct

[PATCH v2 11/13] x86, memblock, mem-hotplug: Free hotpluggable memory reserved by memblock.

2013-04-30 Thread Tang Chen
We reserved hotpluggable memory in memblock. And when memory initialization is done, we have to free it to buddy system. This patch free memory reserved by memblock with flag MEMBLK_HOTPLUGGABLE. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- include/linux/memblock.h |1 +

[PATCH v2 00/13] Arrange hotpluggable memory in SRAT as ZONE_MOVABLE.

2013-04-30 Thread Tang Chen
In memory hotplug situation, the hotpluggable memory should be arranged in ZONE_MOVABLE because memory in ZONE_NORMAL may be used by kernel, and Linux cannot migrate pages used by kernel. So we need a way to specify hotpluggable memory as movable. It should be as easy as possible. According to

[PATCH v2 07/13] x86, numa, mem-hotplug: Mark nodes which the kernel resides in.

2013-04-30 Thread Tang Chen
If all the memory ranges in SRAT are hotpluggable, we should not arrange them all in ZONE_MOVABLE. Otherwise the kernel won't have enough memory to boot. This patch introduce a global variable kernel_nodemask to mark all the nodes the kernel resides in. And no matter if they are hotpluggable, we

[PATCH v2 13/13] doc, page_alloc, acpi, mem-hotplug: Add doc for movablecore=acpi boot option.

2013-04-30 Thread Tang Chen
Since we modify movablecore boot option to support movablecore=acpi, this patch adds doc for it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- Documentation/kernel-parameters.txt |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

[PATCH v2 06/13] memblock, numa: Introduce flag into memblock.

2013-04-30 Thread Tang Chen
There is no flag in memblock to discribe what type the memory is. Sometimes, we may use memblock to reserve some memory for special usage. For example, as Yinghai did in his patch, allocate pagetables on local node before all the memory on the node is mapped. Please refer to Yinghai's patch: v1:

Re: [PATCH v3 1/6] at_hdmac: move to generic DMA binding

2013-04-30 Thread Vinod Koul
On Mon, Apr 22, 2013 at 12:22:32PM +0200, Nicolas Ferre wrote: On 04/19/2013 11:11 AM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Update at_hdmac driver to support generic DMA device tree binding. Devices can still request channel with

[PATCH v2 04/13] x86, numa, acpi, memory-hotplug: Introduce hotplug info into struct numa_meminfo.

2013-04-30 Thread Tang Chen
Since Yinghai has implement Allocate pagetable pages in local node, for a node with hotpluggable memory, we have to allocate pagetable pages first, and then reserve the rest as hotpluggable memory in memblock. But the kernel parse SRAT first, and then initialize memory mapping. So we have to

[PATCH v2 02/13] acpi: Print Hot-Pluggable Field in SRAT.

2013-04-30 Thread Tang Chen
The Hot-Pluggable field in SRAT suggests if the memory could be hotplugged while the system is running. Print it as well when parsing SRAT will help users to know which memory is hotpluggable. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- arch/x86/mm/srat.c |9 ++--- 1 files

[PATCH v2 03/13] page_alloc, mem-hotplug: Improve movablecore to {en|dis}able using SRAT.

2013-04-30 Thread Tang Chen
The Hot-Pluggable Fired in SRAT specified which memory ranges are hotpluggable. We will arrange hotpluggable memory as ZONE_MOVABLE for users who want to use memory hotplug functionality. But this will cause NUMA performance decreased because kernel cannot use ZONE_MOVABLE. So we improve

[PATCH v2 01/13] x86: get pg_data_t's memory from other node

2013-04-30 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, use memblock_alloc_try_nid() instead of memblock_alloc_nid() to retry when the

Re: [ANNOUNCE] 3.4.41-rt55-feat3

2013-04-30 Thread Tim Sander
Hi Steve and all RT Folks I'm pleased to announce the 3.4.41-rt55-feat3 feature release. Note, I first uploaded -feat2 then realized I didn't add a compile fix by Mike Galbraith, and then created the -feat3 with that fix. I just wanted to say thanks that this patch enables compilation again

linux-next build error (at91) - use of bool in mach/arch.h

2013-04-30 Thread Nicolas Ferre
Hi, Today I discovered an issue while building linux-next for at91: CC arch/arm/mach-at91/at91sam9260_devices.o In file included from /home/nferre/dev/lnx_buid_test/arch/arm/mach-at91/at91sam9260_devices.c:12:0: /home/nferre/dev/lnx_buid_test/arch/arm/include/asm/mach/arch.h:46:2: error:

[PATCH -tip 3/4] sched: Avoid prev-stime underflow

2013-04-30 Thread Stanislaw Gruszka
Dave Hansen reported strange utime/stime values on his system: https://lkml.org/lkml/2013/4/4/435 This happens because prev-stime value is bigger than rtime value. Root of the problem are non-monotonic rtime values (i.e. current rtime is smaller than previous rtime) and that should be debugged

[PATCH -tip 4/4] Revert math64: New div64_u64_rem helper

2013-04-30 Thread Stanislaw Gruszka
This reverts commit f792685006274a850e6cc0ea9ade275ccdfc90bc. Scaling cputime code was changed and does not need div64_u64_rem primitives. They seems to have no other users, so let's remove them. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- include/linux/math64.h | 19

[PATCH -tip 2/4] sched: Do not account bogus utime

2013-04-30 Thread Stanislaw Gruszka
Due to rounding in scale_stime(), for big numbers, scaled stime values will grow in chunks. Since rtime grow in jiffies and we calculate utime like below: prev-stime = max(prev-stime, stime); prev-utime = max(prev-utime, rtime - prev-stime); we could erroneously account stime

[PATCH -tip 1/4] sched: Avoid cputime scaling overflow

2013-04-30 Thread Stanislaw Gruszka
Here is patch, which add Linus cputime scaling algorithm to the kernel. This is follow up of commit d9a3c9823a2e6a543eb7807fb3d15d8233817ec5 sched: Lower chances of cputime scaling overflow which try to avoid multiplication overflow, but not guarantee that the overflow will not happen. Linus

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-30 Thread Mike Galbraith
On Tue, 2013-04-30 at 10:41 +0200, Ingo Molnar wrote: * Mike Galbraith bitbuc...@online.de wrote: On Tue, 2013-04-30 at 07:16 +0200, Mike Galbraith wrote: Well now, that's not exactly what I expected to see for AIM7 compute. Filesystem is munching cycles otherwise used for compute

Re: linux-next build error (at91) - use of bool in mach/arch.h

2013-04-30 Thread Geert Uytterhoeven
On Tue, Apr 30, 2013 at 11:33 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: So, I am wondering if the best correction is to add the types.h header file in the asm/mach/arch.h file, like this: --- a/arch/arm/include/asm/mach/arch.h +++ b/arch/arm/include/asm/mach/arch.h @@ -8,6 +8,8 @@

[PATCH] Fix section to __init. Align with usage in acpixf.h . Fixes warning during compilation with clang.

2013-04-30 Thread dl9pf
From: Jan-Simon Möller dl...@gmx.de Signed-off-by: Jan-Simon Möller dl...@gmx.de --- include/acpi/acpiosxf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 5b3d2bd..64b8c76 100644 --- a/include/acpi/acpiosxf.h +++

[PATCH] ARM: sunxi: Fix Mini X-plus device tree build

2013-04-30 Thread Maxime Ripard
Commit b00adbe0 (ARM: sunxi: Rename uart nodes to serial) changed the node names in the DTSI, changes that were not accordingly made to the Mini X-Plus device tree. This breakage slipped through because it was not properly declared in the Makefile. Fix both issues. Signed-off-by: Maxime Ripard

[PATCH] edac: Don't give write permission to read-only file

2013-04-30 Thread Srivatsa S. Bhat
I get the following warning on boot: [ cut here ] WARNING: at drivers/base/core.c:575 device_create_file+0x9a/0xa0() Hardware name: -[8737R2A]- Write permission without 'store' Modules linked in: sb_edac(+) edac_core i2c_i801 i2c_core lpc_ich mfd_core shpchp wmi ioatdma

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-30 Thread Mike Galbraith
On Tue, 2013-04-30 at 11:35 +0200, Mike Galbraith wrote: On Tue, 2013-04-30 at 10:41 +0200, Ingo Molnar wrote: Which are the workloads where 'powersaving' mode hurts workload performance measurably? Well, it'll lose throughput any time there's parallel execution potential but it's

Kconfig softdepends idea

2013-04-30 Thread Tomi Valkeinen
Hi, I have an idea to improve the Kconfig dependencies, especially for subsystem maintainers. First a bit of history: I recently changed the Kconfig rules for omapdss driver to not depend on OMAP platform, as the driver itself uses no OMAP specific APIs, and can be compiled fine on, say, x86.

[PATCH 1/2] clk: sun5i: Add compatibles for Allwinner A13

2013-04-30 Thread Maxime Ripard
The A13 has a lot less clocks than the one found in the Allwinner A10. Add these stripped down clocks to the clock driver and in the documentation. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 117 +++--

[PATCH 2/2] ARM: sun5i: Update the clock compatible strings

2013-04-30 Thread Maxime Ripard
The Allwinner A13 has a smaller clock set than the one found in the A10. Fix the A13 device tree and documentation to reflect this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun5i-a13.dtsi | 35 --- 1 file changed, 12

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-30 Thread Mike Galbraith
On Tue, 2013-04-30 at 11:49 +0200, Mike Galbraith wrote: On Tue, 2013-04-30 at 11:35 +0200, Mike Galbraith wrote: On Tue, 2013-04-30 at 10:41 +0200, Ingo Molnar wrote: Which are the workloads where 'powersaving' mode hurts workload performance measurably? Well, it'll lose

[PATCH] [TRIVIAL] FIX: unintended variable name reuse

2013-04-30 Thread dl9pf
From: Jan-Simon Möller dl...@gmx.de The variable name events_group is already in used and led to a compilation error when using clang to build the Linux Kernel . The fix is just to rename the var. No functional change. Please apply. Fix suggested in discussion by PaX Team pagee...@freemail.hu

RE: [PATCH V4 5/9] mtd: replace the hardcode with the onfi_feature()

2013-04-30 Thread Gupta, Pekon
- *busw = 0; - if (le16_to_cpu(p-features) 1) - *busw = NAND_BUSWIDTH_16; + + *busw = (onfi_feature(chip) ONFI_FEATURE_16_BIT_BUS) ? + NAND_BUSWIDTH_16 : 0; Is this really needed ? you have already checked the 'onfi_version' above in

[PATCH 1/1] ASoC: McASP: Add device tree binding for defining separate clock and sync used by tx and rx.

2013-04-30 Thread Marek Belisko
Add new property tx-rx-clk-separate which we can distinquish between common and separate clock for tx and rx blocks. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../bindings/sound/davinci-mcasp-audio.txt |2 ++ include/linux/platform_data/davinci_asp.h

Re: [PATCH v3 0/6] Android Binder IPC Fixes

2013-04-30 Thread Serban Constantinescu
On 30/04/13 11:04, Kirill A. Shutemov wrote: On Tue, Apr 30, 2013 at 09:52:34AM +0100, Serban Constantinescu wrote: Hi Kirill, On 30/04/13 08:31, Kirill A. Shutemov wrote: On Fri, Apr 12, 2013 at 01:25:49PM +0100, Serban Constantinescu wrote: The patch set has been successfully tested with a

Re: MFD: move ssbi driver into drivers/mfd

2013-04-30 Thread Samuel Ortiz
Hi Arnd, On Tue, Apr 30, 2013 at 12:00:19AM +0200, Arnd Bergmann wrote: There is no reason for ssbi to have its own top-level driver directory when the only users of this interface are all MFD drivers. The only mainline driver using it at the moment (PM8921) is marked broken and in fact does

Re: Kconfig softdepends idea

2013-04-30 Thread Sam Ravnborg
So, my idea is to have a new kind of Kconfig dependency. I'll call it softdepends in lack of better name. A driver maintainer could use softdepends on ARCH_OMAP, instead of depends on ARCH_OMAP, to say that this driver does not actually build depend on ARCH_OMAP, but for all normal purposes

  1   2   3   4   5   6   7   8   9   10   >