Re: [remoteproc:for-next 6/9] remoteproc_virtio.c:(.text+0x238e7e): undefined reference to `vring_transport_features'

2012-10-09 Thread Ohad Ben-Cohen
On Tue, Oct 9, 2012 at 3:28 PM, Dan Carpenter dan.carpen...@oracle.com wrote: Unless there is a good reason why That's what I'm asking. Is there an inherent coupling with some platform/architecture ? E.g., OMAP remote processors only go with OMAP chips. -- To unsubscribe from this list: send the

Re: [PATCH][GPIO] Add IRQ edge setter to gpiolib

2012-10-09 Thread Drasko DRASKOVIC
On Tue, Oct 9, 2012 at 2:00 PM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Oct 5, 2012 at 3:16 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: [Me] If I understand correctly the below more or less exports struct irq_chip to userspace, trying to hide it by instead exposing a

Re: [PATCH v3 10/10] mm: kill vma flag VM_RESERVED and mm-reserved_vm counter

2012-10-09 Thread Alex Williamson
On Tue, 2012-10-09 at 21:12 +0900, Linus Torvalds wrote: On Tue, Oct 9, 2012 at 7:02 PM, Eric Dumazet eric.duma...@gmail.com wrote: It seems drivers/vfio/pci/vfio_pci.c uses VM_RESERVED Yeah, I just pushed out what I think is the right (trivial) fix. Thank you, looks correct to me as

RE: [PATCH] RapidIO: Fix trivial comment error.

2012-10-09 Thread Bounine, Alexandre
-Original Message- From: David Daney [mailto:ddaney.c...@gmail.com] Sent: Monday, October 08, 2012 8:39 PM To: Matt Porter; Bounine, Alexandre; Jiri Kosina Cc: linux-kernel@vger.kernel.org; David Daney; Chad Reese Subject: [PATCH] RapidIO: Fix trivial comment error. From: Chad

Re: [3.6-rc7] switcheroo race with Intel HDA...

2012-10-09 Thread Daniel J Blueman
On 9 October 2012 21:04, Takashi Iwai ti...@suse.de wrote: At Tue, 9 Oct 2012 19:23:56 +0800, Daniel J Blueman wrote: On 9 October 2012 18:07, Takashi Iwai ti...@suse.de wrote: At Tue, 09 Oct 2012 12:04:08 +0200, Takashi Iwai wrote: At Tue, 9 Oct 2012 00:34:09 +0800, Daniel J Blueman

Re: [remoteproc:for-next 6/9] remoteproc_virtio.c:(.text+0x238e7e): undefined reference to `vring_transport_features'

2012-10-09 Thread Dan Carpenter
On Tue, Oct 09, 2012 at 04:15:15PM +0200, Ohad Ben-Cohen wrote: On Tue, Oct 9, 2012 at 3:28 PM, Dan Carpenter dan.carpen...@oracle.com wrote: Unless there is a good reason why That's what I'm asking. Is there an inherent coupling with some platform/architecture ? E.g., OMAP remote

Re: [RFC PATCH 1/5] amd_iommu: Split IOMMU group initialization

2012-10-09 Thread Shuah Khan
Alex, couple of comments in-lined: On Mon, Oct 8, 2012 at 10:49 PM, Alex Williamson alex.william...@redhat.com wrote: This needs to be broken apart, start with pulling all the IOMMU group init code into a new function. Signed-off-by: Alex Williamson alex.william...@redhat.com ---

Re: [PATCH 01/49] ACPI: delelte more BFS/GTS related definition and code

2012-10-09 Thread Konrad Rzeszutek Wilk
On Sat, Oct 06, 2012 at 04:09:22PM -0400, Len Brown wrote: From: Feng Tang feng.t...@intel.com The title has 'delete' misspelled. This is a follow on for commmit 3f6f49c7 ACPI: delete _GTS/_BFS support to do more cleanup. Signed-off-by: Feng Tang feng.t...@intel.com Signed-off-by: Bob

Re: [remoteproc:for-next 6/9] remoteproc_virtio.c:(.text+0x238e7e): undefined reference to `vring_transport_features'

2012-10-09 Thread Ohad Ben-Cohen
On Tue, Oct 9, 2012 at 4:26 PM, Dan Carpenter dan.carpen...@oracle.com wrote: If it already compiles fine on x86 then there is no advantage to disabling it. Not really; that's really a hardware question and not a software one. There are hardware devices that can go with any

Re: [RFC PATCH 1/5] amd_iommu: Split IOMMU group initialization

2012-10-09 Thread Alex Williamson
On Tue, 2012-10-09 at 08:33 -0600, Shuah Khan wrote: Alex, couple of comments in-lined: On Mon, Oct 8, 2012 at 10:49 PM, Alex Williamson alex.william...@redhat.com wrote: This needs to be broken apart, start with pulling all the IOMMU group init code into a new function.

[char-misc-next 1/6] mei: rename mei_cl_cb.information to mei_cl_cb.buf_idx

2012-10-09 Thread Tomas Winkler
rename 'information' member of the struct mei_cl_cb to more self-descriptive 'buf_idx' Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/interrupt.c | 43 - drivers/misc/mei/iorw.c | 17 +++

[char-misc-next 3/6] mei: mei_write: revamp error path handling

2012-10-09 Thread Tomas Winkler
1. unify common amt and regular error path and use it early in the function 2. fix indentation 3. propagate error code directly from copy_from_user 4. print out errors using dev_err instead of dev_dbg Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/main.c | 75

[char-misc-next 4/6] mei: kill usless struct mei_io_list

2012-10-09 Thread Tomas Winkler
kill useless mei_io_list list wrapper and use directly struct mei_cl_cb mei_cb which was its only member for managing io queues Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/init.c | 29 ++--- drivers/misc/mei/interrupt.c | 134

[char-misc-next 6/6] mei: use mei_io_cb_ warppers also for control flows

2012-10-09 Thread Tomas Winkler
move the mei_io_cb_ wrappers to to iorw.c for global use and use them also for handling control flows Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/init.c|4 +- drivers/misc/mei/iorw.c| 120 +--

[char-misc-next 5/6] mei: rename mei_free_cb_private to mei_io_cb_free

2012-10-09 Thread Tomas Winkler
1. cb_private was an old name that we depriacated in earlier cleanups 2. we also group the funcion declaration with other _io_ functions 3. Don't check cb for NULL as mei_io_cb_free is NULL safe Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/init.c |4 ++--

[char-misc-next 2/6] mei: add allocation and initialization wrappers for io callback

2012-10-09 Thread Tomas Winkler
mei_io_cb_init - allocat and initializate mei_cl_cb mei_io_cb_alloc_req/resp_buf are separate function as buffers are not always needed Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/main.c | 111 -- 1 files changed, 87

Re: [PATCH] firmware: Don't attempt to allocate zero bytes with vmalloc()

2012-10-09 Thread Ming Lei
On Tue, Oct 9, 2012 at 8:36 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Oct 09, 2012 at 08:02:18PM +0800, Ming Lei wrote: If loading via user space, timeout or not depends on userspace, at least udev won't timeout on non-existent firmware image. This may be a mdev or

Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-10-09 Thread Mike Yoknis
On Mon, 2012-10-08 at 16:16 +0100, Mel Gorman wrote: On Wed, Oct 03, 2012 at 08:56:14AM -0600, Mike Yoknis wrote: memmap_init_zone() loops through every Page Frame Number (pfn), including pfn values that are within the gaps between existing memory sections. The unneeded looping will become

Re: [PATCH 2.6.32.y, 2.6.34.y] ALSA: hda - ALSA HD Audio patch for Intel Panther Point DeviceIDs

2012-10-09 Thread Paul Gortmaker
On 12-10-08 09:55 PM, Ben Hutchings wrote: On Mon, 2012-10-08 at 18:07 -0700, Jonathan Nieder wrote: From: Seth Heasley seth.heas...@intel.com Date: Wed, 20 Apr 2011 10:59:57 -0700 commit d2edeb7c6f1dada8ca7d5c23e42d604e92ae0c76 upstream. This patch adds the HD Audio Controller DeviceIDs

Re: [GIT PULL] Disintegrate UAPI for sound

2012-10-09 Thread Takashi Iwai
At Tue, 09 Oct 2012 14:58:41 +0100, David Howells wrote: Takashi Iwai ti...@suse.de wrote: Can you merge the following branch into the sound tree please. The changes look OK, but is it targeted for 3.7 or 3.8 in general? I assumed the latter. Either will do. There are no

Re: [PATCH v4 05/14] Add a __GFP_KMEMCG flag

2012-10-09 Thread Michal Hocko
On Mon 08-10-12 14:06:11, Glauber Costa wrote: This flag is used to indicate to the callees that this allocation is a kernel allocation in process context, and should be accounted to current's memcg. It takes numerical place of the of the recently removed __GFP_NO_KSWAPD. [ v4: make flag

Re: [PATCH 0/3 v3] perf: precise mode and exclude_guest

2012-10-09 Thread David Ahern
On 9/13/12 2:59 PM, David Ahern wrote: Hopefully this wraps up the precise mode-exclude_guest dependency. I'm sure someone will let me know if I screwed up the attribution in the second patch. David Ahern (2): perf tool: precise mode requires exclude_guest perf tool: give user better

[PATCH 0/6] udf: Extent cache and bunch of cleanups and other patches

2012-10-09 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This patchset implements extent caching in UDF. While reading/writing to a file, currently, UDF reads metadata serially which takes a lot of time depending on the number of extents present in the file. Caching last accessd extent improves metadata read

Re: [PATCH v4 08/14] res_counter: return amount of charges after res_counter_uncharge

2012-10-09 Thread Michal Hocko
On Mon 08-10-12 14:06:14, Glauber Costa wrote: [...] diff --git a/kernel/res_counter.c b/kernel/res_counter.c index ad581aa..7b3d6dc 100644 --- a/kernel/res_counter.c +++ b/kernel/res_counter.c @@ -86,33 +86,39 @@ int res_counter_charge_nofail(struct res_counter *counter, unsigned long val,

[PATCH 1/6] udf: fix memory leak while allocating blocks during write

2012-10-09 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Need to brelse the buffer_head stored in cur_epos and next_epos. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/udf/inode.c |4 1 file changed, 4 insertions(+) diff --git

[PATCH 2/6] udf: don't increment lenExtents while writing to a hole

2012-10-09 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Incrementing lenExtents even while writing to a hole is bad for performance as calls to udf_discard_prealloc and udf_truncate_tail_extent would not return from start if isize != lenExtents Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by:

[PATCH 3/6] udf: update inode's iblock count when allocating new block

2012-10-09 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Currently, du will show wrong block count. This patch fix it. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/udf/inode.c |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [ANNOUNCE] 3.6.1-rt1

2012-10-09 Thread Steven Rostedt
On Tue, 2012-10-09 at 15:46 +0200, Thomas Gleixner wrote: Dear RT Folks, I'm pleased to announce the 3.6.1-rt1 release. Thomas, First I want to say, and I'm sure I speak for a lot of people on this, is Thank you!. I know how hard it is to deal with the issues of mainline in a RT specific

[PATCH 4/6] udf: remove un-needed variable from inode_getblk

2012-10-09 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com The variable last_block is not needed. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/udf/inode.c |3 --- 1 file changed, 3 deletions(-) diff --git a/fs/udf/inode.c b/fs/udf/inode.c

[PATCH 5/6] udf: implement extent caching while reading-writing to a file

2012-10-09 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This patch implements extent caching. Instead of reading metadata everytime from file's starting position, now we read from the cached extent. This speeds up the transformation of file logical offsets to corresponding on-disk blocks. Signed-off-by:

[PATCH 6/6] udf: use extent cache when moving to last extent

2012-10-09 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Use extent cache when moving to last extent. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/udf/truncate.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v4 08/14] res_counter: return amount of charges after res_counter_uncharge

2012-10-09 Thread Glauber Costa
On 10/09/2012 07:08 PM, Michal Hocko wrote: As I have already mentioned in my previous feedback this is cetainly not atomic as you the lock protects only one group in the hierarchy. How is the return value from this function supposed to be used? So, I tried to make that clearer in the updated

Re: [REPOST] RFC: sched: Prevent wakeup to enter critical section needlessly

2012-10-09 Thread Oleg Nesterov
On 10/09, Peter Zijlstra wrote: One thing you might need to consider is the memory ordering, will the list_empty -- either careful or not -- observe the right list pointer, or could it -- when racing with wait_event()/prepare_to_wait() -- observe a stale value. Or.. is that all already

[RFC] Posix timers improvements, requied for CRIU project

2012-10-09 Thread Stanislav Kinsbursky
Hi. We would like to make CRIU able to migrate posix timers. Currently we require additional info, which have to be provided by kernel. In particular, it's: 1) Timers id's. 2) Timer clock (gained by id). 3) Timer sigevent structure. 4) Timer current overrun status (not the last one). We are not

[PATCH 2/9] ARM: export set_irq_flags

2012-10-09 Thread Arnd Bergmann
The recently added Emma Mobile GPIO driver calls set_irq_flags and irq_set_chip_and_handler for the interrupts it exports and it can be built as a module, which currently fails with ERROR: set_irq_flags [drivers/gpio/gpio-em.ko] undefined! We either need to replace the call to set_irq_flags with

[PATCH 8/9] ARM: binfmt_flat: unused variable 'persistent'

2012-10-09 Thread Arnd Bergmann
The flat_get_addr_from_rp() macro does not use the 'persistent' argument on ARM, causing a harmless compiler warning. A cast to void removes that warning. Without this patch, building at91x40_defconfig results in: fs/binfmt_flat.c: In function 'load_flat_file': fs/binfmt_flat.c:746:17: warning:

[PATCH 7/9] ARM: be really quiet when building with 'make -s'

2012-10-09 Thread Arnd Bergmann
Sometimes we want the kernel build process to only print messages on errors, e.g. in automated build testing. This uses the kecho macro that the build system provides to hide a few informational messages. Nothing changes for a regular make or make V=1. Without this patch, building any ARM kernel

[PATCH 6/9] ARM: pass -marm to gcc by default for both C and assembler

2012-10-09 Thread Arnd Bergmann
The Linaro cross toolchain and probably others nowadays default to building in THUMB2 mode. When building a kernel for a CPU that does not support THUMB2, the compiler complains about incorrect flags. We can work around this by setting -marm for all non-T2 builds. Without this patch, building

[PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
* The XEN_BALLOON code requires the balloon infrastructure that is not getting built on ARM. * The tmem hypercall is not available on ARM * ARMv6 does not support cmpxchg on 16-bit words that are used in the * sys-hypervisor.c needs to include linux/err.h in order to use the

[GIT PULL 0/9] ARM architecture fixes for 3.7

2012-10-09 Thread Arnd Bergmann
From: a...@arndb.de Hi Russell, Here are some patches that belong into your domain, I hope you can just send the lot to Linus the next time you send other patches. These bug fixes all address problems found with automated build testing. Some of them have been around for a long time, other bugs

[PATCH 3/9] ARM: Fix another build warning in arch/arm/mm/alignment.c

2012-10-09 Thread Arnd Bergmann
One such warning was recently fixed in a761cebf ARM: Fix build warning in arch/arm/mm/alignment.c but only for the thumb2 case, this fixes the other half. arch/arm/mm/alignment.c: In function 'do_alignment': arch/arm/mm/alignment.c:327:15: error: 'offset.un' may be used uninitialized in this

[PATCH 9/9] ARM: warnings in arch/arm/include/asm/uaccess.h

2012-10-09 Thread Arnd Bergmann
On NOMMU ARM, the __addr_ok() and __range_ok() macros do not evaluate their arguments, which may lead to harmless build warnings in some code where the variables are not used otherwise. Adding a cast to void gets rid of the warning and does not make any semantic changes. Without this patch,

[PATCH 4/9] ARM: export default read_current_timer

2012-10-09 Thread Arnd Bergmann
read_current_timer is used by get_cycles since ARM: 7538/1: delay: add registration mechanism for delay timer sources, and get_cycles can be used by device drivers in loadable modules, so it has to be exported. Without this patch, building imote2_defconfig fails with ERROR: read_current_timer

[PATCH 1/9] ARM: kprobes: make more tests conditional

2012-10-09 Thread Arnd Bergmann
The mls instruction is not available in ARMv6K or below, so we should make the test conditional on at least ARMv7. ldrexd/strexd are available in ARMv6K or ARMv7, which we can test by checking the CONFIG_CPU_32v6K symbol. /tmp/ccuMTZ8D.s: Assembler messages: /tmp/ccuMTZ8D.s:22188: Error: selected

Re: CMA and zone watermarks

2012-10-09 Thread Rabin Vincent
Hi Marek, Minchan, 2012/10/9 Marek Szyprowski m.szyprow...@samsung.com: Could You run your test with latest linux-next kernel? There have been some patches merged to akpm tree which should fix accounting for free and free cma pages. I hope it should fix this issue. I've tested with the

[PATCH] tools/power: turbostat: make Makefile a bit more capable

2012-10-09 Thread Mark Asselstine
The turbostat Makefile is pretty simple, its output is placed in the same directory as the source, the install rule has no concept of a prefix or sysroot, and you can set CC to use a specific compiler but not use the more familiar CROSS_COMPILE. By making a few minor changes these limitations are

Re: [PATCH 0/11] introduce macros for i2c_msg initialization

2012-10-09 Thread Jean Delvare
Hi Julia, On Sun, 7 Oct 2012 17:38:30 +0200, Julia Lawall wrote: This patch set introduces some macros for describing how an i2c_msg is being initialized. There are three macros: I2C_MSG_READ, for a read message, I2C_MSG_WRITE, for a write message, and I2C_MSG_OP, for some other kind of

[PATCH 0/3] new ARM-soc warning fixes

2012-10-09 Thread Arnd Bergmann
Hi Olof, Here are three more fixes that I'd like to merge through the arm-soc as time permits. All of them should be completely harmless and they only fix harmless gcc warnings. I don't know what your plans are for sending the next fixes branch. I've uploaded these into a new fixes2 branch on

[PATCH 1/3] ARM: shmobile: mark shmobile_init_late as __init

2012-10-09 Thread Arnd Bergmann
Patch 35f2b0bd59 ARM: shmobile: Move definition of shmobile_init_late() to header moved the definition of the shmobile_init_late function, but dropped the __init annotation, which is now causing warnings because the function calls shmobile_suspend_init, which is also marked init. Without this

[PATCH 2/3] ARM: assabet: fix bogus warning in get_assabet_scr (again)

2012-10-09 Thread Arnd Bergmann
Russell fixed this bogus warning before in 2f3eca8b4f Shut up gcc warning in assabet.c, but apparently gcc has become smarter (or dumber) since 2005, and the same warning came up again. This uses the uninitialized_var() macro to convince gcc that the variable is actually being initialized. 100

[PATCH 3/3] ARM: integrator: use __iomem pointers for MMIO, part 2

2012-10-09 Thread Arnd Bergmann
Due to some interesting merges in the integrator code, not all users of mmio pointers were converted before, this fixes all warnings that got introduced as a consequence. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Linus Walleij linus.wall...@linaro.org Cc: Russell King

Re: [PATCH v4 08/14] res_counter: return amount of charges after res_counter_uncharge

2012-10-09 Thread Michal Hocko
On Tue 09-10-12 19:14:57, Glauber Costa wrote: On 10/09/2012 07:08 PM, Michal Hocko wrote: As I have already mentioned in my previous feedback this is cetainly not atomic as you the lock protects only one group in the hierarchy. How is the return value from this function supposed to be

[PATCH] x86/perf: Fix virtualization sanity check

2012-10-09 Thread Andre Przywara
In check_hw_exists() we try to detect non-emulated MSR accesses by writing an arbitrary value into one of the PMU registers and check if it's value after a readout is still the same. This algorithm silently assumes that the register does not contain the magic value already, which is wrong in at

[PATCH] x86/perf: Fix virtualization sanity check

2012-10-09 Thread Andre Przywara
In check_hw_exists() we try to detect non-emulated MSR accesses by writing an arbitrary value into one of the PMU registers and check if it's value after a readout is still the same. This algorithm silently assumes that the register does not contain the magic value already, which is wrong in at

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Ian Campbell
On Tue, 2012-10-09 at 16:22 +0100, Arnd Bergmann wrote: * The XEN_BALLOON code requires the balloon infrastructure that is not getting built on ARM. I've got patches to enable this, but not for 3.7 so this looks good for now. * The tmem hypercall is not available on ARM * ARMv6 does not

[PATCH] pinctrl: sirf: remove sirfsoc_gpio_set_pull function

2012-10-09 Thread Arnd Bergmann
The prima2 platform advertises needing no mach/gpio.h header file, but its pinctrl driver now has a sirfsoc_gpio_set_pull function that uses constants defined in arch/arm/mach-prima2/include/mach/gpio.h, which fails to build. Fortunately, the sirfsoc_gpio_set_pull is not used anywhere in the

Re: [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Stefano Stabellini
Thanks for the patch and sorry for the build breakage! On Tue, 9 Oct 2012, Arnd Bergmann wrote: * The XEN_BALLOON code requires the balloon infrastructure that is not getting built on ARM. * The tmem hypercall is not available on ARM * ARMv6 does not support cmpxchg on 16-bit words that

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Ian Campbell wrote: * The tmem hypercall is not available on ARM * ARMv6 does not support cmpxchg on 16-bit words that are used in the missing the end of this sentence? Right, I meant to say * ARMv6 does not support cmpxchg on 16-bit words that are used in

Re: [PATCH 4/9] ARM: export default read_current_timer

2012-10-09 Thread Jonathan Austin
Hi Arnd, On 09/10/12 16:22, Arnd Bergmann wrote: read_current_timer is used by get_cycles since ARM: 7538/1: delay: add registration mechanism for delay timer sources, and get_cycles can be used by device drivers in loadable modules, so it has to be exported. Without this patch, building

Re: [PATCH] x86/perf: Fix virtualization sanity check

2012-10-09 Thread Peter Zijlstra
On Tue, 2012-10-09 at 17:38 +0200, Andre Przywara wrote: First you need an AMD family 10h/12h CPU. These do not reset the PERF_CTR registers on a reboot. Now you boot bare metal Linux, which goes successfully through this check, but leaves the magic value of 0xabcd in the register. You don't

Re: [PATCH 0/11] introduce macros for i2c_msg initialization

2012-10-09 Thread Julia Lawall
On Tue, 9 Oct 2012, Jean Delvare wrote: Hi Julia, On Sun, 7 Oct 2012 17:38:30 +0200, Julia Lawall wrote: This patch set introduces some macros for describing how an i2c_msg is being initialized. There are three macros: I2C_MSG_READ, for a read message, I2C_MSG_WRITE, for a write

Re: [PATCH v2 5/6] Add a V4L2 driver for SI476X MFD

2012-10-09 Thread halli manjunatha
On Tue, Oct 9, 2012 at 4:38 AM, Hans Verkuil hverk...@xs4all.nl wrote: Note: I'm CC-ing Halli. Halli, can you take a look at the proposed controls? On Mon 8 October 2012 19:57:17 Andrey Smirnov wrote: On 10/08/2012 02:30 AM, Hans Verkuil wrote: On Sat October 6 2012 03:55:01 Andrey Smirnov

Re: [PATCH] w1/ds2482: use module_i2c_driver to simplify the code

2012-10-09 Thread Evgeniy Polyakov
On Mon, Oct 08, 2012 at 10:06:07PM +0800, Wei Yongjun (weiyj...@gmail.com) wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Use the module_i2c_driver() macro to make the code smaller and a bit simpler. dpatch engine is used to auto generate this patch.

Re: [RFC PATCH 02/10] sched: Task placement for heterogeneous systems based on task load-tracking

2012-10-09 Thread Morten Rasmussen
Hi Viresh, On Thu, Oct 04, 2012 at 07:02:03AM +0100, Viresh Kumar wrote: Hi Morten, On 22 September 2012 00:02, morten.rasmus...@arm.com wrote: From: Morten Rasmussen morten.rasmus...@arm.com This patch introduces the basic SCHED_HMP infrastructure. Each class of cpus is represented

Re: [PATCH 2/3] x86, mm: Don't clear page table if next range is ram

2012-10-09 Thread Konrad Rzeszutek Wilk
On Sat, Oct 06, 2012 at 12:44:28AM -0700, Yinghai Lu wrote: During adding code from BRK to map buffer for final page table, It should be safe to remove early_memmap for page table accessing. But get panic after that. It turns out we clear the initial page table wrongly for next range

Re: [PATCH 3/3] x86, mm: Remove early_memremap workaround for page table accessing

2012-10-09 Thread Konrad Rzeszutek Wilk
On Sat, Oct 06, 2012 at 12:44:29AM -0700, Yinghai Lu wrote: Not needed anymore after premaping page table buf and not clear initial page table wrongly. Your comment should include what patch made the iomap/iounmap part unnecessary. .. and also explain how this work-around is not required

Re: [PATCH 1/8] exofs: drop lock/unlock super

2012-10-09 Thread Marco Stornelli
Il 09/10/2012 01:24, Al Viro ha scritto: On Mon, Oct 08, 2012 at 02:58:05PM -0700, Boaz Harrosh wrote: Hi Marco I was sure you guys where pushing this patch through some vfs tree. (Hence my Acked-by below). I have just sent Linus a pull request for the 3.7 Kernel. I could perhaps append this

Re: [PATCH] x86/perf: Fix virtualization sanity check

2012-10-09 Thread Konrad Rzeszutek Wilk
On Tue, Oct 09, 2012 at 05:38:34PM +0200, Andre Przywara wrote: In check_hw_exists() we try to detect non-emulated MSR accesses by writing an arbitrary value into one of the PMU registers and check if it's value after a readout is still the same. This algorithm silently assumes that the

Re: [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Russell King - ARM Linux
On Tue, Oct 09, 2012 at 05:22:59PM +0200, Arnd Bergmann wrote: * The XEN_BALLOON code requires the balloon infrastructure that is not getting built on ARM. * The tmem hypercall is not available on ARM * ARMv6 does not support cmpxchg on 16-bit words that are used in the in the what? --

Re: [PATCH v2 0/2] Reset PCIe devices to address DMA problem on kdump with iommu

2012-10-09 Thread Don Dutile
On 10/09/2012 05:03 AM, Takao Indoh wrote: (2012/10/03 22:23), Don Dutile wrote: On 10/02/2012 03:49 AM, Takao Indoh wrote: These patches reset PCIe devices at boot time to address DMA problem on kdump with iommu. When reset_devices is specified, a hot reset is triggered on each PCIe root port

[git pull] signals.git - part 1

2012-10-09 Thread Al Viro
This one is mostly kernel_thread/kernel_execve infrastructure + conversions for arm, x86, um, alpha and s390; all of that has sat in linux-next for a while. There are several moderately unpleasant conflicts; I hadn't rebased that branch, but I'd put proposed conflict resolution into

Re: [PATCH 4/9] ARM: export default read_current_timer

2012-10-09 Thread Russell King - ARM Linux
On Tue, Oct 09, 2012 at 04:40:54PM +0100, Jonathan Austin wrote: Hi Arnd, On 09/10/12 16:22, Arnd Bergmann wrote: diff --git a/arch/arm/lib/delay.c b/arch/arm/lib/delay.c index 9d0a300..0dc5385 100644 --- a/arch/arm/lib/delay.c +++ b/arch/arm/lib/delay.c @@ -45,6 +45,7 @@ int

Re: [GIT PULL 0/9] ARM architecture fixes for 3.7

2012-10-09 Thread Russell King - ARM Linux
On Tue, Oct 09, 2012 at 05:22:54PM +0200, Arnd Bergmann wrote: Here are some patches that belong into your domain, I hope you can just send the lot to Linus the next time you send other patches. These bug fixes all address problems found with automated build testing. Some of them have been

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Ian Campbell
On Tue, 2012-10-09 at 16:39 +0100, Arnd Bergmann wrote: On Tuesday 09 October 2012, Ian Campbell wrote: * The tmem hypercall is not available on ARM * ARMv6 does not support cmpxchg on 16-bit words that are used in the missing the end of this sentence? Right, I meant to say

[PATCH] Staging: winbond: wbusb: Fixed coding style issue

2012-10-09 Thread Adil Mujeeb
Repalces printk's with pr_debug Signed-off-by: Adil Mujeeb mujeeb.a...@gmail.com --- linux-3.6-rc7/drivers/staging/winbond/wbusb.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/linux-3.6-rc7/drivers/staging/winbond/wbusb.c

Re: [PATCH 03/10] x86, mm: get early page table from BRK

2012-10-09 Thread Konrad Rzeszutek Wilk
On Mon, Oct 08, 2012 at 09:39:11PM -0700, Yinghai Lu wrote: Get pgt_buf early from BRK, and use it to map page table at first. also use the left at first, then use new one. Left? -v2: extra xen call back for that new range. -v3: fix compiling about #llx in print out that is reported by

Re: [PATCH 04/10] x86, mm: Don't clear page table if next range is ram

2012-10-09 Thread Konrad Rzeszutek Wilk
On Mon, Oct 08, 2012 at 09:39:12PM -0700, Yinghai Lu wrote: After we add code use BRK to map buffer for final page table, .. mention the name of the patch that adds this. What is 'final page table'? Isn't this just the existing bootup tables modified to cover more memory. It should be safe

Re: [PATCH] ubi: use list_move_tail instead of list_del/list_add_tail

2012-10-09 Thread Richard Weinberger
Am Tue, 9 Oct 2012 14:14:21 +0800 schrieb Wei Yongjun weiyj...@gmail.com: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using list_move_tail() instead of list_del() + list_add_tail(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by:

Re: [ANNOUNCE] 3.6.1-rt1

2012-10-09 Thread Thomas Gleixner
On Tue, 9 Oct 2012, Steven Rostedt wrote: On Tue, 2012-10-09 at 15:46 +0200, Thomas Gleixner wrote: So instead of splitting the softirq threads I split the softirq locks so different softirqs can be handled seperately. If a softirq is raised in the context of a thread, then

Re: [PATCH 2/9] ARM: export set_irq_flags

2012-10-09 Thread Thomas Gleixner
On Tue, 9 Oct 2012, Arnd Bergmann wrote: The recently added Emma Mobile GPIO driver calls set_irq_flags and irq_set_chip_and_handler for the interrupts it exports and it can be built as a module, which currently fails with ERROR: set_irq_flags [drivers/gpio/gpio-em.ko] undefined! We

Re: [PATCH V2 4/4] regulator: tps65090: add external control support for DCDC

2012-10-09 Thread Stephen Warren
On 10/09/2012 04:33 AM, Venu Byravarasu wrote: Laxman Dewangan wrote at Tuesday, October 09, 2012 3:19 PM: The TPS65090's DCDC output can also be enable/disable through the external digital input signal. Add support for enable/disable either through register access via I2C or through external

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-09 Thread Jan Kara
On Mon 08-10-12 21:24:40, Hugh Dickins wrote: On Mon, 1 Oct 2012, Jan Kara wrote: On s390 any write to a page (even from kernel itself) sets architecture specific page dirty bit. Thus when a page is written to via standard write, HW dirty bit gets set and when we later map and unmap

Re: [PATCH] Staging: winbond: wbusb: Fixed coding style issue

2012-10-09 Thread Joe Perches
On Tue, 2012-10-09 at 21:40 +0530, Adil Mujeeb wrote: Repalces printk's with pr_debug [] diff --git a/linux-3.6-rc7/drivers/staging/winbond/wbusb.c b/linux-3.6-rc7/drivers/staging/winbond/wbusb.c index 0ca857a..48fe622 100644 --- a/linux-3.6-rc7/drivers/staging/winbond/wbusb.c +++

Re: [PATCH 07/10] x86, xen, mm: Do not need to check if page table is ioremap

2012-10-09 Thread Konrad Rzeszutek Wilk
On Mon, Oct 08, 2012 at 09:39:15PM -0700, Yinghai Lu wrote: All page table buf are pre-mapped, and could use _va to access them. __va, not _va. And can you also include the name of the patch that makes them pre-mapped? Remove the not needed checking. sigh Remove the ioremap check.

Re: [PATCH] [RFC] pidns: don't zap processes several times

2012-10-09 Thread Oleg Nesterov
On 10/08, Andrey Wagin wrote: 2012/10/7 Oleg Nesterov o...@redhat.com: Perhaps we should MAX_PID_NS_LEVEL instead? Yes, we can. Could I just define MAX_PID_NS_LEVEL in a code: #define MAX_PID_NS_LEVEL ((PAGE_SIZE - offsetof(struct pid, numbers)) / sizeof(struct upid)) Or even less.

Re: [PATCH] pinctrl: sirf: remove sirfsoc_gpio_set_pull function

2012-10-09 Thread Barry Song
Hi Arnd, 2012/10/9 Arnd Bergmann a...@arndb.de: The prima2 platform advertises needing no mach/gpio.h header file, but its pinctrl driver now has a sirfsoc_gpio_set_pull function that uses constants defined in arch/arm/mach-prima2/include/mach/gpio.h, which fails to build. Fortunately, the

Re: [Xen-devel] [PATCH v2] Persistent grant maps for xen blk drivers

2012-10-09 Thread Roger Pau Monné
On 24/09/12 13:36, Jan Beulich wrote: On 21.09.12 at 17:52, Oliver Chick oliver.ch...@citrix.com wrote: Changes since v1: * Maximum number of persistent grants per device now 64, rather than 256, as this is the actual maxmimum request in a (1 page) ring. As said previously, I don't see

Re: [PATCH 1/8] exofs: drop lock/unlock super

2012-10-09 Thread Al Viro
On Tue, Oct 09, 2012 at 05:55:12PM +0200, Marco Stornelli wrote: Thanks Al. For me there aren't problems to push it via Al or via other trees. For example the patch for ext4 is in Ted's tree. You tell me what you want and I do it :) Um... Then I'd better drop the ext4 part and hold the final

Re: [RFC PATCH 04/10] sched: Introduce priority-based task migration filter

2012-10-09 Thread Morten Rasmussen
On Thu, Oct 04, 2012 at 07:27:00AM +0100, Viresh Kumar wrote: On 22 September 2012 00:02, morten.rasmus...@arm.com wrote: +config SCHED_HMP_PRIO_FILTER + bool (EXPERIMENTAL) Filter HMP migrations by task priority + depends on SCHED_HMP Should it depend on EXPERIMENTAL?

Re: [PATCH 2/6] xen-blkfront: handle backend CLOSED without CLOSING

2012-10-09 Thread Konrad Rzeszutek Wilk
On Fri, Oct 05, 2012 at 04:57:36PM +0100, David Vrabel wrote: On 05/10/12 12:55, Jan Beulich wrote: On 05.10.12 at 13:42, David Vrabel david.vra...@citrix.com wrote: On 02/10/12 21:02, Konrad Rzeszutek Wilk wrote: On Mon, Oct 01, 2012 at 06:19:19PM +0100, David Vrabel wrote: On 25/09/12

Re: acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-10-09 Thread Toshi Kani
On Tue, 2012-10-09 at 17:48 +0900, Yasuaki Ishimatsu wrote: acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when dev argument is NULL. Thus even if device

Re: [PATCH] Staging: winbond: wbusb: Fixed coding style issue

2012-10-09 Thread Greg KH
On Tue, Oct 09, 2012 at 09:22:18AM -0700, Joe Perches wrote: On Tue, 2012-10-09 at 21:40 +0530, Adil Mujeeb wrote: Repalces printk's with pr_debug [] diff --git a/linux-3.6-rc7/drivers/staging/winbond/wbusb.c b/linux-3.6-rc7/drivers/staging/winbond/wbusb.c index 0ca857a..48fe622 100644

Re: [PATCH 1/4] ACPI: add drivers_autoprobe in struct acpi_device

2012-10-09 Thread Konrad Rzeszutek Wilk
On Thu, Oct 04, 2012 at 08:15:44AM -0700, Yinghai Lu wrote: On Thu, Oct 4, 2012 at 6:03 AM, Konrad Rzeszutek Wilk kon...@kernel.org wrote: On Wed, Oct 3, 2012 at 7:00 PM, Yinghai Lu ying...@kernel.org wrote: To use to control the delay attach driver for acpi_device. blinks I am not

Re: [RFC PATCH 2/7] swiotlb: Make io_tlb_start a physical address instead of a virtual address

2012-10-09 Thread Konrad Rzeszutek Wilk
On Thu, Oct 04, 2012 at 01:22:58PM -0700, Alexander Duyck wrote: On 10/04/2012 10:19 AM, Konrad Rzeszutek Wilk wrote: @@ -450,7 +451,7 @@ void *swiotlb_tbl_map_single(struct device *hwdev, dma_addr_t tbl_dma_addr, io_tlb_list[i] = 0;

Re: [PATCH 11/11] net: xilinx: Show csum in bootlog

2012-10-09 Thread Ben Hutchings
On Tue, 2012-10-09 at 11:08 +0200, Michal Simek wrote: On 10/05/2012 03:51 PM, Ben Hutchings wrote: On Fri, 2012-10-05 at 11:35 +0200, Michal Simek wrote: On 10/04/2012 09:15 PM, Ben Hutchings wrote: On Thu, 2012-10-04 at 20:14 +0200, Michal Simek wrote: Just show current setting in

Re: [RFC PATCH 02/10] sched: Task placement for heterogeneous systems based on task load-tracking

2012-10-09 Thread Viresh Kumar
On 9 October 2012 21:26, Morten Rasmussen morten.rasmus...@arm.com wrote: On Thu, Oct 04, 2012 at 07:02:03AM +0100, Viresh Kumar wrote: On 22 September 2012 00:02, morten.rasmus...@arm.com wrote: SCHED_HMP requires that the platform implements arch_get_hmp_domains() which should set up the

[PATCH 0/5] Memory policy corruption fixes -stable

2012-10-09 Thread Mel Gorman
This is a backport of the series Memory policy corruption fixes V2. This should apply to 3.6-stable, 3.5-stable, 3.4-stable and 3.0-stable without any difficulty. It will not apply cleanly to 3.2 but just drop the revert patch and the rest of the series should apply. I tested 3.6-stable and

[PATCH 1/5] revert mm: mempolicy: Let vma_merge and vma_split handle vma-vm_policy linkages

2012-10-09 Thread Mel Gorman
From: KOSAKI Motohiro kosaki.motoh...@gmail.com commit 8d34694c1abf29df1f3c7317936b7e3e2e308d9b upstream. Commit 05f144a0d5c2 (mm: mempolicy: Let vma_merge and vma_split handle vma-vm_policy linkages) removed vma-vm_policy updates code but it is the purpose of mbind_range(). Now, mbind_range()

[PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-10-09 Thread Mel Gorman
commit 00442ad04a5eac08a98255697c510e708f6082e2 upstream. Commit cc9a6c877661 (cpuset: mm: reduce large amounts of memory barrier related damage v3) introduced a potential memory corruption. shmem_alloc_page() uses a pseudo vma and it has one significant unique combination, vma-vm_ops=NULL and

[PATCH 4/5] mempolicy: fix refcount leak in mpol_set_shared_policy()

2012-10-09 Thread Mel Gorman
From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com commit 63f74ca21f1fad36d075e063f06dcc6d39fe86b2 upstream. When shared_policy_replace() fails to allocate new-policy is not freed correctly by mpol_set_shared_policy(). The problem is that shared mempolicy code directly call kmem_cache_free()

<    1   2   3   4   5   6   7   8   9   10   >