[PATCH 1/3] implement uid and gid mount options for ext2

2012-08-02 Thread Ludwig Nussel
Signed-off-by: Ludwig Nussel --- Documentation/filesystems/ext2.txt |9 fs/ext2/ext2.h |8 +++ fs/ext2/inode.c| 48 +- fs/ext2/super.c| 95 +++- 4 Dateien geändert, 147 Zei

Re: linux-next: removal of some trees

2012-08-02 Thread Stephen Rothwell
On Thu, 02 Aug 2012 17:33:44 +0800 Cong Wang wrote: > > By the way, please remove my kmap_atomic tree[1] as well, its mission is > completed now. :) Thanks for letting me know. Gone, now. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpGLp2fTpYNI.pgp Description: PGP

Re: [PATCH 1/3] implement uid and gid mount options for ext2

2012-08-02 Thread Alan Cox
> +uid=n[:m]Make all files appear to belong to uid n. > + Useful for e.g. removable media with fstab > + options 'user,uid=useruid'. The optional second > + uid m is actually written to the file

Re: [PATCH] regulator: tps6586x: add support for SYS rail

2012-08-02 Thread Laxman Dewangan
On Thursday 02 August 2012 05:10 PM, Mark Brown wrote: On Thu, Aug 02, 2012 at 04:46:33PM +0530, Laxman Dewangan wrote: +static const unsigned int tps6586x_sys_voltages[] = { + 500, +}; Is the system rail actually regulated or is it just a nominal 5V? Normally it's just the raw, unre

RE: [PATCH] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-02 Thread Virupax SADASHIVPETIMATH
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, August 02, 2012 4:30 PM > To: Virupax SADASHIVPETIMATH > Cc: ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > Praveena > NADAHALLY > Subject: Re: [PATCH] usb:musb:musb_host:

Re: [RESEND PATCHv5 09/11] modem_shm: Character device for SHM channel access.

2012-08-02 Thread Sjur Brændeland
>On Thu, Aug 2, 2012 at 12:25 PM, >Alan Cox wrote: >> Add a character device implementation for the SHM stream channels. >> The character device provides asynchronous IO and ring-buffer handling. >> The device copies data directly from the Shared Memory area into >> user-land buffers. > > What is

Re: [PATCH 17/19] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings

2012-08-02 Thread Lee Jones
From: Lee Jones Date: Tue, 31 Jul 2012 11:56:51 +0100 Subject: [PATCH 1/1] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings Here we add the required documentation for the new Device Tree bindings pertaining to the MOP500 Audio Machine driver. Signed-off-by: Lee Jones

Re: MODULE_LICENSE("GPL")??

2012-08-02 Thread Mark Hounschell
On 08/01/2012 05:43 PM, Alan Cox wrote: On Wed, 01 Aug 2012 17:24:33 -0400 Mark Hounschell wrote: What would happen if NVIDIA used this define in their proprietary driver? I Ask a lawyer but I believe Nvidia has more sense than that both politically and legally. They walk a very fine line as

Re: [PATCH 1/6] ASoC: dapm: If one widget fails, do not force all subsequent widgets to fail too

2012-08-02 Thread Lee Jones
Patch withdrawn. On Tue, Jul 31, 2012 at 02:31:23PM +0100, Lee Jones wrote: > If a list of widgets is provided and one of them fails to be added as > a control, the present semantics fail all subsequent widgets. A better > solution would be to only fail that widget, but pursue in attempting > to a

Re: [PATCH] kbuild: kvm: make export of linux/kvm_para.h unconditional

2012-08-02 Thread Will Deacon
On Thu, Jul 26, 2012 at 02:44:14PM +0100, Will Deacon wrote: > The asm-generic version of kvm_para.h is always exported, confusing the > Kbuild wildcarding that tries to detect whether the source architecture > is exporting the header, since asm-* matches the generic version. > > This patch uncond

Re: [PATCH] firmware: Remove obsolete Chelsio cxgb3 firmware

2012-08-02 Thread Tim Gardner
On 08/02/2012 01:20 AM, David Miller wrote: > > "git am" refuses to apply this to current 'net': > > Applying: firmware: Remove obsolete Chelsio cxgb3 firmware > error: removal patch leaves file contents > error: firmware/cxgb3/t3fw-7.10.0.bin.ihex: patch does not apply > Paul Gortmaker suggest

RE: [PATCH] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-02 Thread Virupax SADASHIVPETIMATH
> -Original Message- > From: Virupax SADASHIVPETIMATH > Sent: Thursday, August 02, 2012 5:35 PM > To: 'Greg KH' > Cc: ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > Praveena > NADAHALLY > Subject: RE: [PATCH] usb:musb:musb_host: Handle highmem in PIO mode > >

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-08-02 Thread Michal Hocko
On Thu 02-08-12 08:37:57, Mel Gorman wrote: > On Thu, Aug 02, 2012 at 09:19:34AM +0200, Michal Hocko wrote: [...] > > On the other hand, mine is more coupled with the sharing code so it > > makes the code easier to follow and also makes the sharing more > > effective because racing processes see pm

Re: [PATCH v2] [S390] do not clobber personality flags in sys_32_personality()

2012-08-02 Thread Heiko Carstens
On Thu, Aug 02, 2012 at 09:11:23AM +0200, Jiri Kosina wrote: > There are multiple errors in how sys_32_personality() handles personality > flags stored in top three bytes. > > - directly comparing current->personality against PER_LINUX32 doesn't work > in cases when any of the personality flags

[PATCH] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-02 Thread shea
From: Shea Levy --- drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index e272214..e4ecd5e 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -73,6 +73,9 @@ static struct usb_device_id b

Re: [PATCH] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-02 Thread Shea Levy
Argh, sorry, forgot the sign-off. Will resend after checkpatch passes. Sorry for the noise. On Aug 2, 2012, at 8:42 AM, s...@shealevy.com wrote: > From: Shea Levy > > --- > drivers/bluetooth/btusb.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/bluetooth/btusb.c b/drivers

Re: [PATCH 18/19] Documentation: Define the MSP Driver Device Tree bindings

2012-08-02 Thread Lee Jones
On 31/07/12 16:10, Mark Brown wrote: On Tue, Jul 31, 2012 at 03:59:46PM +0100, Lee Jones wrote: On 31/07/12 14:55, Mark Brown wrote: +Optional properties: + - interrupts : The interrupt outputs from the device. If there's more than one interrupt then how are they ordered? It doesn

[PATCH] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-02 Thread shea
From: Shea Levy Signed-off-by: Shea Levy --- drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index e272214..e4ecd5e 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -73,6 +73,9 @@ st

[RFC ebeam PATCH v2 1/3] hid: hid-ids.h: Add vendor and device ID for eBeam classic device.

2012-08-02 Thread Yann Cantin
Signed-off-by: Yann Cantin --- drivers/hid/hid-ids.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 1dcb76f..b985059 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -271,6 +271,9 @@ #define USB_DEVICE_ID_DWAV_EGALA

[RFC ebeam PATCH v2 0/3] new USB eBeam input driver

2012-08-02 Thread Yann Cantin
Hi, Second test-drive for a new USB input driver for eBeam devices. Following Dmitry's advice, i've remove device specific infrastructure. Currently, only the Luidia eBeam classic projection model is supported. Patch 1 and 2 are here to let the ebeam driver be choose to handle the device instea

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

2012-08-02 Thread Yann Cantin
Signed-off-by: Yann Cantin --- drivers/input/misc/Kconfig | 16 + drivers/input/misc/Makefile |1 + drivers/input/misc/ebeam.c | 760 +++ 3 files changed, 777 insertions(+) create mode 100644 drivers/input/misc/ebeam.c diff --git a/drivers/input

Huge performance degradation for UDP between 2.4.17 and 2.6

2012-08-02 Thread leroy christophe
Hi I'm having a big issue with UDP. Using a powerpc board (MPC860). With our board running kernel 2.4.17, I'm able to send 16 voice packets (UDP, 96 bytes per packet) in 11 seconds. With the same board running either Kernel 2.6.35.14 or Kernel 3.4.7, I need 55 seconds to send the same amou

[RFC ebeam PATCH v2 2/3] hid: hid-core.c: Blackist eBeam classic device.

2012-08-02 Thread Yann Cantin
Signed-off-by: Yann Cantin --- drivers/hid/hid-core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 60ea284..b1ed8ee 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1908,6 +1908,9 @@ static const struct hid_de

Re: [PATCH 1/3] implement uid and gid mount options for ext2

2012-08-02 Thread Eric W. Biederman
Alan Cox writes: >> +uid=n[:m] Make all files appear to belong to uid n. >> +Useful for e.g. removable media with fstab >> +options 'user,uid=useruid'. The optional second >> +uid m is actually w

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Sasha Levin
On 08/02/2012 01:23 PM, Sasha Levin wrote: >> #define DEFINE_HASH_TABLE(name, length) struct hash_table name = { .count = >> length, .buckets = { [0 ... (length - 1)] = HLIST_HEAD_INIT } } > The limitation of this approach is that the struct hash_table variable must > be 'static', which is a bit

Re: [PATCH v2] parisc: fix personality flag check in copy_thread()

2012-08-02 Thread James Bottomley
On Thu, 2012-08-02 at 13:45 +0200, Jiri Kosina wrote: > On Thu, 2 Aug 2012, James Bottomley wrote: > > > > Directly comparing task_struct->personality against PER_* is not fully > > > correct, as it doesn't take flags potentially stored in top three bytes > > > into account. > > > > > > Analogica

Re: Q: user_enable_single_step() && update_debugctlmsr()

2012-08-02 Thread Oleg Nesterov
On 08/01, Sebastian Andrzej Siewior wrote: > > On 08/01/2012 05:14 PM, Oleg Nesterov wrote: >> On 08/01, Sebastian Andrzej Siewior wrote: >>> >>> On 08/01/2012 05:01 PM, Oleg Nesterov wrote: On 08/01, Sebastian Andrzej Siewior wrote: > So a patch like > --- a/arch/x86/kernel/step.c >>>

[PATCH] slub: use free_page instead of put_page for freeing kmalloc allocation

2012-08-02 Thread Glauber Costa
The slab allocators provide its users with memory regions, with very few placement guarantees. No user should assume an actual page is given by kmalloc calls that are multiple of a page in size. This means that we can be sure that every sane user of the interface would not mess with the page refere

[overlayfs/bug] LXC ephemeral containers have "/rootfs" prefix in /proc/self/maps entries

2012-08-02 Thread Bryan Wu
Miklos, We met a LXC issue [1] with overlayfs in Ubuntu, but with aufs it is gone. I suspect it's related to the issue you mentioned in Documentation of overlayfs: -- Symlinks in /proc/PID/ and /proc/PID/fd which point to a non-directory object in overlayfs will not contain vaid absolute paths, o

Re: [PATCH v5 1/3] block: Add test-iosched scheduler

2012-08-02 Thread merez
On Tue, July 31, 2012 8:46 am, Jens Axboe wrote: > On 07/31/2012 04:36 PM, me...@codeaurora.org wrote: >> Hi Jens, >> >> Do you have comments on this patch? >> Can we push it to kernel 3.6 version? > > I have questions - what is this good for? In other words, explain to me > why this is useful cod

Re: [PATCH 3/9] KVM: define kvm_hwpoison_pfn statically

2012-08-02 Thread Marcelo Tosatti
On Sun, Jul 29, 2012 at 04:13:41PM +0800, Xiao Guangrong wrote: > Then, get_hwpoison_pfn and is_hwpoison_pfn can be removed > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c |2 +- > include/linux/kvm_host.h |4 ++-- > virt/kvm/kvm_main.c | 13 + > 3 f

Re: [PATCH 8/9] KVM: do not release the error pfn

2012-08-02 Thread Marcelo Tosatti
On Sun, Jul 29, 2012 at 04:18:58PM +0800, Xiao Guangrong wrote: > After commit a2766325cf9f9, the error pfn is replaced by the > error code, it need not be released anymore > > [ The patch is compiling tested for powerpc ] > > Signed-off-by: Xiao Guangrong > --- > arch/powerpc/kvm/e500_tlb.c |

Re: [PATCH 4/9] KVM: define kvm_bad_pfn statically

2012-08-02 Thread Marcelo Tosatti
On Sun, Jul 29, 2012 at 04:14:25PM +0800, Xiao Guangrong wrote: > Then, remove get_bad_pfn > > Signed-off-by: Xiao Guangrong > --- > include/linux/kvm_host.h |1 + > virt/kvm/kvm_main.c |7 +-- > 2 files changed, 2 insertions(+), 6 deletions(-) > > diff --git a/include/linux/kv

Re: [PATCH 2/9] KVM: define kvm_fault_pfn statically

2012-08-02 Thread Marcelo Tosatti
On Sun, Jul 29, 2012 at 04:12:58PM +0800, Xiao Guangrong wrote: > After that, the exported and un-inline function, get_fault_pfn, > can be removed > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c |2 +- > include/linux/kvm_host.h |3 ++- > virt/kvm/kvm_main.c | 1

Re: [PATCH 7/9] KVM: define kvm_bad_page statically

2012-08-02 Thread Marcelo Tosatti
On Sun, Jul 29, 2012 at 04:16:28PM +0800, Xiao Guangrong wrote: > It is used to eliminate the overload of function call and cleanup > the code > > Signed-off-by: Xiao Guangrong > --- > include/linux/kvm_host.h |9 +++-- > virt/kvm/async_pf.c |2 +- > virt/kvm/kvm_main.c |

Re: Q: user_enable_single_step() && update_debugctlmsr()

2012-08-02 Thread Sebastian Andrzej Siewior
On 08/02/2012 03:05 PM, Oleg Nesterov wrote: I have no idea what DEBUGCTLMSR_BTF means without X86_EFLAGS_TF though. And if gdb itself is TIF_SINGLESTEP'ed, it won't return to userspace without report/schedule. In the Manuel it is only described what happens together with the TF bit. So one mig

Re: tasklist_lock lockdep warnings on 3.6

2012-08-02 Thread Dave Jones
On Mon, Jul 30, 2012 at 04:50:46PM +0200, Sasha Levin wrote: > ping? > > I'm still seeing this on linux-next. Likewise, except I'm seeing it in Linus' tree since shortly after this merge window began. (https://lkml.org/lkml/2012/7/24/443). I've spent all of this last week doing multiple atte

Re: Q: user_enable_single_step() && update_debugctlmsr()

2012-08-02 Thread Oleg Nesterov
On 08/02, Sebastian Andrzej Siewior wrote: > >>> From the link above, >> >> We have the GDB process and the (stopped) tracee T. And we have >> another task X >> ^^ > > Yes that is correct. Let me try to figure out how to plumb that leak > and fix this before playing w

Re: [PATCH] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-02 Thread David Herrmann
Hi Shea On Thu, Aug 2, 2012 at 2:45 PM, wrote: > From: Shea Levy > > > Signed-off-by: Shea Levy Why is this patch missing a commit-message? Please add one. And also include the output of "usb-devices" or the contents of /sys/kernel/debug/usb/devices in this commit-message. Regards David > -

Re: [PATCH 0/6] menuconfig: jump to search results

2012-08-02 Thread Borislav Petkov
On Tue, Jul 31, 2012 at 09:17:51AM -0400, Benjamin Poirier wrote: > > * when searching for "DELAY" for example, I get results without numbers > > to which I can't jump to: > > > > ... > > │ Symbol: DEFAULT_IO_DELAY_TYPE [=0] > > │ Type : integer > > │ > > │ > > │ Symbol: IO_DELAY_TYPE_0

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-08-02 Thread Mel Gorman
On Thu, Aug 02, 2012 at 02:36:58PM +0200, Michal Hocko wrote: > On Thu 02-08-12 08:37:57, Mel Gorman wrote: > > On Thu, Aug 02, 2012 at 09:19:34AM +0200, Michal Hocko wrote: > [...] > > > On the other hand, mine is more coupled with the sharing code so it > > > makes the code easier to follow and a

Re: [PATCH v2] parisc: fix personality flag check in copy_thread()

2012-08-02 Thread Jiri Kosina
On Thu, 2 Aug 2012, James Bottomley wrote: > > In case of parsic, let's take a process with current->personality == > > PER_LINUX32 callling personality(PER_LINUX | UNAME26). The > > > > if (personality(current->personality) == PER_LINUX32 > > && personality == PER_LINUX) > >

Re: [PATCH] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-02 Thread Shea Levy
Hi David, On Aug 2, 2012, at 9:32 AM, David Herrmann wrote: > Hi Shea > > On Thu, Aug 2, 2012 at 2:45 PM, wrote: >> From: Shea Levy >> >> >> Signed-off-by: Shea Levy > > Why is this patch missing a commit-message? Please add one. The commit message was only one line, which git-send-emai

Re: [PATCH] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-02 Thread David Herrmann
Hi Shea On Thu, Aug 2, 2012 at 3:39 PM, Shea Levy wrote: > Hi David, > > On Aug 2, 2012, at 9:32 AM, David Herrmann wrote: > >> Hi Shea >> >> On Thu, Aug 2, 2012 at 2:45 PM, wrote: >>> From: Shea Levy >>> >>> >>> Signed-off-by: Shea Levy >> >> Why is this patch missing a commit-message? Plea

[PATCH] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-02 Thread shea
From: Shea Levy $ usb-devices T: Bus=04 Lev=04 Prnt=04 Port=02 Cnt=01 Dev#= 9 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac ProdID=821d Rev=00.86 S: Manufacturer=Apple Inc. S: Product=Bluetooth USB Host Controller C: #Ifs= 4 Cfg#= 1 Atr=e0 MxPw

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-08-02 Thread Michal Hocko
On Thu 02-08-12 14:33:10, Mel Gorman wrote: > On Thu, Aug 02, 2012 at 02:36:58PM +0200, Michal Hocko wrote: > > On Thu 02-08-12 08:37:57, Mel Gorman wrote: > > > On Thu, Aug 02, 2012 at 09:19:34AM +0200, Michal Hocko wrote: > > [...] > > > > On the other hand, mine is more coupled with the sharing

Re: [PATCH] uprobes: Ignore unsupported instructions in uprobe_mmap

2012-08-02 Thread Oleg Nesterov
On 08/02, Srikar Dronamraju wrote: > > uprobe_mmap()->install_breakpoint() can fail if the probed insn is not > supported But there are other reasons why it can fail, > However failing mmap_region()/do_fork() because of a probe on an > unsupported instruction is wrong. Srikar, I strongly, absolu

Re: [PATCH] slub: use free_page instead of put_page for freeing kmalloc allocation

2012-08-02 Thread Christoph Lameter
On Thu, 2 Aug 2012, Glauber Costa wrote: > diff --git a/mm/slub.c b/mm/slub.c > index e517d43..9ca4e20 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -3453,7 +3453,7 @@ void kfree(const void *x) > if (unlikely(!PageSlab(page))) { > BUG_ON(!PageCompound(page)); >

Re: UBI fastmap updates

2012-08-02 Thread Artem Bityutskiy
On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote: > This is the next round of UBI fastmap updates. > It fixes all issues pointed out by Shmulik. :-) I see the following errors when rung UBI tests on nandsim: [ 3698.041511] UBI error: __wl_get_peb: no free eraseblocks [ 3698.041781] UBI

Re: Huge performance degradation for UDP between 2.4.17 and 2.6

2012-08-02 Thread Eric Dumazet
On Thu, 2012-08-02 at 14:27 +0200, leroy christophe wrote: > Hi > > I'm having a big issue with UDP. Using a powerpc board (MPC860). > > With our board running kernel 2.4.17, I'm able to send 16 voice > packets (UDP, 96 bytes per packet) in 11 seconds. > With the same board running either Ke

Re: UBI fastmap updates

2012-08-02 Thread Richard Weinberger
Artem, Am Thu, 02 Aug 2012 17:12:27 +0300 schrieb Artem Bityutskiy : > On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote: > > This is the next round of UBI fastmap updates. > > It fixes all issues pointed out by Shmulik. :-) > > I see the following errors when rung UBI tests on nandsim

Re: [RFC ebeam PATCH v2 0/3] new USB eBeam input driver

2012-08-02 Thread Jiri Kosina
On Thu, 2 Aug 2012, Yann Cantin wrote: > Second test-drive for a new USB input driver for eBeam > devices. > > Following Dmitry's advice, i've remove device specific infrastructure. > > Currently, only the Luidia eBeam classic projection model is supported. > > Patch 1 and 2 are here to let the

Re: tasklist_lock lockdep warnings on 3.6

2012-08-02 Thread Sasha Levin
On 08/02/2012 03:26 PM, Dave Jones wrote: > On Mon, Jul 30, 2012 at 04:50:46PM +0200, Sasha Levin wrote: > > ping? > > > > I'm still seeing this on linux-next. > > Likewise, except I'm seeing it in Linus' tree since shortly after this merge > window > began. (https://lkml.org/lkml/2012/7/24/4

[PATCH -mm] mm: hugetlbfs: Correctly populate shared pmd

2012-08-02 Thread Michal Hocko
Hi Andrew, the following patch fixes yet-another race in the hugetlb pte sharing code reported by Larry. It is based on top of the current -mm tree but it cleanly applies to linus tree as well. It should go to stable as well. The bug is there for ages but this fix is possible only since 3.0 because

Re: [PATCH 0/6] menuconfig: jump to search results

2012-08-02 Thread Benjamin Poirier
On 2012/08/02 15:32, Borislav Petkov wrote: > On Tue, Jul 31, 2012 at 09:17:51AM -0400, Benjamin Poirier wrote: > > > * when searching for "DELAY" for example, I get results without numbers > > > to which I can't jump to: > > > > > > ... > > > │ Symbol: DEFAULT_IO_DELAY_TYPE [=0] > > > │ Type

Re: [PATCH] kbuild: kvm: make export of linux/kvm_para.h unconditional

2012-08-02 Thread Avi Kivity
On 08/02/2012 03:25 PM, Will Deacon wrote: > On Thu, Jul 26, 2012 at 02:44:14PM +0100, Will Deacon wrote: >> The asm-generic version of kvm_para.h is always exported, confusing the >> Kbuild wildcarding that tries to detect whether the source architecture >> is exporting the header, since asm-* mat

Re: checkpatch.pl: Wrong check SINGLE_STATEMENT_DO_WHILE_MACRO

2012-08-02 Thread Andy Whitcroft
On Thu, Aug 02, 2012 at 10:00:04AM +0200, Schrober wrote: > Hi, > > I think your check for SINGLE_STATEMENT_DO_WHILE_MACRO is wrong. Just to give > an example: > > #define foobar(x) \ > do { \ > if (pizza_ready(x)) \ > eat_pizza(x); \ > } while (0)

Re: [PATCH] uprobes: Ignore unsupported instructions in uprobe_mmap

2012-08-02 Thread Oleg Nesterov
Forgot to mention... On 08/02, Srikar Dronamraju wrote: > > While at it, add a missing put_uprobe() in the path where uprobe_mmap() > races with uprobe_unregister(). > ... > @@ -1051,8 +1051,10 @@ int uprobe_mmap(struct vm_area_struct *vma) > if (ret == -EEXIST) { >

Re: [Xen-devel] [PATCH 01/24] arm: initial Xen support

2012-08-02 Thread Konrad Rzeszutek Wilk
On Thu, Aug 02, 2012 at 08:35:51AM +0100, Ian Campbell wrote: > On Wed, 2012-08-01 at 19:27 +0100, Rob Herring wrote: > > On 07/26/2012 10:33 AM, Stefano Stabellini wrote: > > > - Basic hypervisor.h and interface.h definitions. > > > - Skelethon enlighten.c, set xen_start_info to an empty struct. >

Re: UBI fastmap updates

2012-08-02 Thread Artem Bityutskiy
On Thu, 2012-08-02 at 16:15 +0200, Richard Weinberger wrote: > > If I understand correctly, it can be only because of a bug. If I am > > correct, could you please add a 'dump_stack()' to improve the error > > report? > > > > This can happen if all PEBs are used and fastmap is unable to find (or >

Re: [PATCH 3.5 2/2] seccomp: Future-proof against silly tracers

2012-08-02 Thread Will Drewry
On Thu, Jul 26, 2012 at 10:41 AM, Andy Lutomirski wrote: > On Tue, Jul 17, 2012 at 4:19 PM, Andy Lutomirski wrote: >> Currently, if a tracer changes a syscall nr to __NR_future_enosys, >> behavior will differ between kernels that know about >> __NR_future_enosys (and return -ENOSYS) and older ker

Re: [PATCH -mm] mm: hugetlbfs: Correctly populate shared pmd

2012-08-02 Thread Rik van Riel
On 08/02/2012 10:16 AM, Michal Hocko wrote: Hi Andrew, the following patch fixes yet-another race in the hugetlb pte sharing code reported by Larry. It is based on top of the current -mm tree but it cleanly applies to linus tree as well. It should go to stable as well. The bug is there for ages b

Re: linux-next: build warning after merge of the final tree

2012-08-02 Thread Nathan Zimmer
On 08/01/2012 11:04 PM, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (sparc64 defconfig) produced this warning: mm/shmem.c: In function 'shmem_interleave': mm/shmem.c:1343:9: warning: assignment makes integer from pointer without a cast [enabled by def

[PATCH] intel_idle: Check cpu_idle_get_driver() for NULL before dereferencing it.

2012-08-02 Thread Konrad Rzeszutek Wilk
If the machine is booted without any cpu_idle driver set (b/c disable_cpuidle() has been called) we should follow other users of cpu_idle API and check the return value for NULL before using it. Reported-by: Mark van Dijk Tested-by: Mark van Dijk Suggested-by: Jan Beulich Signed-off-by: Konrad

Re: [PATCH] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-02 Thread Alan Stern
On Thu, 2 Aug 2012, Virupax Sadashivpetimath wrote: > In case of USB bulk transfer, when himem page > is received, the usb_sg_init function sets the > urb transfer buffer to NULL. When such URB > transfer is handled, kernel crashes in PIO mode. > Handle this by mapping the highmem buffer in PIO mo

Re: [PATCH RESEND v5] mmc: core: Remove bounce buffer in mmc_send_cxd_data()

2012-08-02 Thread S, Venkatraman
On Thu, Aug 2, 2012 at 12:37 PM, Kyungsik Lee wrote: > It is expected that Extended CSD register(the size of this register > is larger than CID/CSD) will be referenced more frequently as more > fields have been added to Extended CSD and it seems that it is not > a good option to double the memory

Re: UBI fastmap updates

2012-08-02 Thread Richard Weinberger
Am Thu, 02 Aug 2012 17:29:01 +0300 schrieb Artem Bityutskiy : > On Thu, 2012-08-02 at 16:15 +0200, Richard Weinberger wrote: > > > If I understand correctly, it can be only because of a bug. If I > > > am correct, could you please add a 'dump_stack()' to improve the > > > error report? > > > > >

Re: UBI fastmap updates

2012-08-02 Thread Artem Bityutskiy
On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote: > This is the next round of UBI fastmap updates. > It fixes all issues pointed out by Shmulik. :-) Hi Richard, when I try to attach mtdram (NOR flash), UBI fails: [ 7106.353791] UBI assert failed in ubi_io_is_bad at 623 (pid 5411) [ 71

Re: [PATCH] spi: omap2-mcspi: Fix the error handling in probe

2012-08-02 Thread Guenter Roeck
On Thu, Aug 02, 2012 at 03:37:13PM +0530, Shubhrajyoti wrote: > On Wednesday 01 August 2012 08:37 PM, Guenter Roeck wrote: > > On Wed, Aug 01, 2012 at 03:06:28PM +0530, Shubhrajyoti D wrote: > >> The kfree() is taken care of by the spi core (spi_master_release() > >> function) > >> that is called

Re: UBI fastmap updates

2012-08-02 Thread Richard Weinberger
Am Thu, 02 Aug 2012 17:58:50 +0300 schrieb Artem Bityutskiy : > On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote: > > This is the next round of UBI fastmap updates. > > It fixes all issues pointed out by Shmulik. :-) > > Hi Richard, > > when I try to attach mtdram (NOR flash), UBI fai

Re: [next:akpm 129/309] net/core/sock.c:274:36: error: initializer element is not constant

2012-08-02 Thread Fengguang Wu
On Thu, Jul 26, 2012 at 10:06:41AM -0700, Tony Luck wrote: > On Tue, Jul 24, 2012 at 10:10 PM, James Bottomley > wrote: > >> Here is the line in sock.i: > >> > >> struct static_key memalloc_socks = ((struct static_key) { .enabled = > >> ((atomic_t) { (0) }) }); > > > > The above line contains two

Re: UBI fastmap updates

2012-08-02 Thread Artem Bityutskiy
On Thu, 2012-08-02 at 16:59 +0200, Richard Weinberger wrote: > Am Thu, 02 Aug 2012 17:58:50 +0300 > schrieb Artem Bityutskiy : > > > On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote: > > > This is the next round of UBI fastmap updates. > > > It fixes all issues pointed out by Shmulik. :

Re: UBI fastmap updates

2012-08-02 Thread Richard Weinberger
Am Thu, 02 Aug 2012 18:18:48 +0300 schrieb Artem Bityutskiy : > > Hmm, and without fastmap it works fine? > > Yes. > > > I don't see much fastmap related here. > > It is related to your changes in attach.c. Okay, I'll dig into the issue. Thanks, //richard -- To unsubscribe from this list: send

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-02 Thread Francois Rigaut
Greg, Seth, Here is what the message.log shows: switching to the HD4000 (integrated): Aug 3 00:49:55 poliahu.ctio.noao.edu WindowServer[79]: Received display connect changed for display 0x42803c0 Aug 3 00:49:55 poliahu.ctio.noao.edu WindowServer[79]: CGXMuxAcknowledge: Posting glitchless ac

[PATCH] checkpatch: Add control statement test to SINGLE_STATEMENT_DO_WHILE_MACRO

2012-08-02 Thread Joe Perches
commit b13edf7ff2d ("checkpatch: add checks for do {} while (0) macro misuses") added a test that is overly simplistic for single statement macros. Macros that start with control tests should be enclosed in a do {} while (0) loop. Add the necessary control tests to the check. Signed-off-by: Joe

Re: [PATCH 0/7] Add support for Freescale's mc34708 to mc13xxx driver

2012-08-02 Thread Fabio Estevam
Hi Uwe, On Thu, Jul 12, 2012 at 6:57 AM, Uwe Kleine-König wrote: > Hello, > > This series was tested on a Phytec pcm038 (mc13783 on spi) using > traditional boot (i.e. not dt) and on a i.MX53 based machine (mc34708 on > i2c) using dt boot. > > Philippe's patches are already in next, they are just

Re: [PATCH v5 3/6] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-02 Thread Ira W. Snyder
On Thu, Aug 02, 2012 at 07:21:51AM +, Liu Qiang-B32616 wrote: > > -Original Message- > > From: Ira W. Snyder [mailto:i...@ovro.caltech.edu] > > Sent: Thursday, August 02, 2012 1:25 AM > > To: Liu Qiang-B32616 > > Cc: linux-cry...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux- >

Re: linux-next: Tree for Aug 2 (dm-raid)

2012-08-02 Thread Randy Dunlap
On 08/01/2012 09:15 PM, Stephen Rothwell wrote: > Hi all, > > Please do not add anything to linux-next included branches/series that is > destined for v3.7 until after v3.6-rc1 is released. > > Reminder: do not rebase your branches before asking Linus to pull them ... > > Changes since 20120731

Re: [PATCH 08/11] perf tool: precise mode requires exclude_guest

2012-08-02 Thread David Ahern
Hi Peter: On 7/25/12 11:50 PM, Gleb Natapov wrote: On Wed, Jul 25, 2012 at 10:35:46PM +0200, Peter Zijlstra wrote: On Tue, 2012-07-24 at 18:15 +0200, Robert Richter wrote: thanks for this hint. On AMD cpus precise_ip maps to IBS, which does not support hardware options as perfctrs do. Thus, f

Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c)

2012-08-02 Thread Randy Dunlap
On 08/01/2012 09:15 PM, Stephen Rothwell wrote: > Hi all, > > Please do not add anything to linux-next included branches/series that is > destined for v3.7 until after v3.6-rc1 is released. > > Reminder: do not rebase your branches before asking Linus to pull them ... > > Changes since 20120731

Re: [RFC PATCH 05/23 V2] mm,migrate: use N_MEMORY instead N_HIGH_MEMORY

2012-08-02 Thread Christoph Lameter
On Thu, 2 Aug 2012, Lai Jiangshan wrote: > The code here need to handle with the nodes which have memory, we should > use N_MEMORY instead. Acked-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Eric W. Biederman
Sasha Levin writes: > On 08/02/2012 12:32 PM, Josh Triplett wrote: >> What about using a C99 flexible array member? Kernel style prohibits >> variable-length arrays, but I don't think the same rationale applies to >> flexible array members. >> >> struct hash_table { >> size_t count; >> s

Re: [PATCH] regulator: tps6586x: add support for SYS rail

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 05:21:38PM +0530, Laxman Dewangan wrote: > On Thursday 02 August 2012 05:10 PM, Mark Brown wrote: > >Is the system rail actually regulated or is it just a nominal 5V? > >Normally it's just the raw, unregulated input switched in with FETs or > >whatever. > It is unregulated

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-02 Thread Seth Forshee
On Fri, Aug 03, 2012 at 12:57:33AM +1000, Francois Rigaut wrote: > Greg, Seth, > > Here is what the message.log shows: > > switching to the HD4000 (integrated): > > Aug 3 00:49:55 poliahu.ctio.noao.edu WindowServer[79]: Received display > connect changed for display 0x42803c0 > Aug 3 00:49:55

Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c)

2012-08-02 Thread Matthew Garrett
Cc:ing Corentin: On Thu, Aug 02, 2012 at 09:07:04AM -0700, Randy Dunlap wrote: > when CONFIG_ACPI is not enabled: (on i386) > > drivers/platform/x86/apple-gmux.c: In function 'gmux_probe': > drivers/platform/x86/apple-gmux.c:196:2: error: implicit declaration of > function 'acpi_video_dmi_promot

Re: UBI fastmap updates

2012-08-02 Thread Artem Bityutskiy
On Thu, 2012-08-02 at 16:51 +0200, Richard Weinberger wrote: > Every time fastmap writes a new fastmap to the flash it tries to get a > new PEB and returns the old one (used for the old fastmap) back to the > WL sub-system. OK. > If no free PEBs are available (E.g Volume is full or the erase work

Re: [NEW DRIVER V1 4/7] DA9058 RTC driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:56AM +0100, Anthony Olech wrote: > -comment "I2C RTC drivers" > - depends on I2C > - > -if I2C > - > config RTC_DRV_88PM860X > tristate "Marvell 88PM860x" > depends on RTC_CLASS && I2C && MFD_88PM860X > @@ -135,6 +130,21 @@ config RTC_DRV_88PM860X >

Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c)

2012-08-02 Thread Seth Forshee
On Thu, Aug 02, 2012 at 09:07:04AM -0700, Randy Dunlap wrote: > On 08/01/2012 09:15 PM, Stephen Rothwell wrote: > > > Hi all, > > > > Please do not add anything to linux-next included branches/series that is > > destined for v3.7 until after v3.6-rc1 is released. > > > > Reminder: do not rebase

Re: [PATCH] mfd: add MAX8907 core driver

2012-08-02 Thread Mark Brown
On Wed, Aug 01, 2012 at 02:48:05PM -0600, Stephen Warren wrote: > From: Gyungoh Yoo > > The MAX8907 is an I2C-based power-management IC containing voltage > regulators, a reset controller, a real-time clock, and a touch-screen > controller. Reviewed-by: Mark Brown -- To unsubscribe from this li

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Josh Triplett
On Thu, Aug 02, 2012 at 03:04:19PM +0200, Sasha Levin wrote: > On 08/02/2012 01:23 PM, Sasha Levin wrote: > >> #define DEFINE_HASH_TABLE(name, length) struct hash_table name = { .count > >> = length, .buckets = { [0 ... (length - 1)] = HLIST_HEAD_INIT } } > > The limitation of this approach is tha

Re: [PATCH v2] sparc64: do not clobber personality flags in sys_sparc64_personality()

2012-08-02 Thread Sam Ravnborg
On Thu, Aug 02, 2012 at 09:12:46AM +0200, Jiri Kosina wrote: > >From 4f000eda5917ceecb03767962026cc6a390b8216 Mon Sep 17 00:00:00 2001 > From: Jiri Kosina > Date: Wed, 1 Aug 2012 21:10:51 +0200 > Subject: [PATCH 4/4] sparc64: do not clobber personality flags in > sys_sparc64_personality() > > Th

Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c)

2012-08-02 Thread Randy Dunlap
On 08/02/2012 09:15 AM, Seth Forshee wrote: > On Thu, Aug 02, 2012 at 09:07:04AM -0700, Randy Dunlap wrote: >> On 08/01/2012 09:15 PM, Stephen Rothwell wrote: >> >>> Hi all, >>> >>> Please do not add anything to linux-next included branches/series that is >>> destined for v3.7 until after v3.6-rc1

Re: [PATCH] checkpatch: Add control statement test to SINGLE_STATEMENT_DO_WHILE_MACRO

2012-08-02 Thread Andy Whitcroft
On Thu, Aug 02, 2012 at 08:26:53AM -0700, Joe Perches wrote: > The patch below is tested with: > $ cat t.c > > #define bar_1(foo)\ > if (foo)\ > baz(); \ > > #define bar_2(foo)

Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c)

2012-08-02 Thread Seth Forshee
On Thu, Aug 02, 2012 at 09:19:30AM -0700, Randy Dunlap wrote: > On 08/02/2012 09:15 AM, Seth Forshee wrote: > > > On Thu, Aug 02, 2012 at 09:07:04AM -0700, Randy Dunlap wrote: > >> On 08/01/2012 09:15 PM, Stephen Rothwell wrote: > >> > >>> Hi all, > >>> > >>> Please do not add anything to linux-ne

Re: UBI fastmap updates

2012-08-02 Thread Richard Weinberger
Am Thu, 02 Aug 2012 19:17:47 +0300 schrieb Artem Bityutskiy : > On Thu, 2012-08-02 at 16:51 +0200, Richard Weinberger wrote: > > Every time fastmap writes a new fastmap to the flash it tries to > > get a new PEB and returns the old one (used for the old fastmap) > > back to the WL sub-system. > >

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-08-02 Thread Witold Szczeponik
Hi Len and Bjorn, is there anything that needs to be done in order for the patch series to be included in either 3.6 or 3.7? Except for the (viable) question as to whether or not a sysfs interface should accept complex inputs (as it currently does and which is not introduced by this patch series

[GIT PULL] Final ceph bits for 3.6

2012-08-02 Thread Sage Weil
Hi Linus, Please pull these last two patches from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus The first patch fixes up the old crufty open intent code to use the atomic_open stuff properly, and the second fixes a possible null deref and memory leak with the c

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Sasha Levin
On 08/02/2012 06:03 PM, Eric W. Biederman wrote: > Sasha Levin writes: >> On 08/02/2012 12:32 PM, Josh Triplett wrote: >>> What about using a C99 flexible array member? Kernel style prohibits >>> variable-length arrays, but I don't think the same rationale applies to >>> flexible array members. >

Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c)

2012-08-02 Thread Seth Forshee
On Thu, Aug 02, 2012 at 11:31:54AM -0500, Seth Forshee wrote: > On Thu, Aug 02, 2012 at 09:19:30AM -0700, Randy Dunlap wrote: > > On 08/02/2012 09:15 AM, Seth Forshee wrote: > > > > > On Thu, Aug 02, 2012 at 09:07:04AM -0700, Randy Dunlap wrote: > > >> On 08/01/2012 09:15 PM, Stephen Rothwell wrot

Re: linux-next: Tree for Aug 2 (drivers/platform/x86/apple-gmux.c)

2012-08-02 Thread Randy Dunlap
On 08/02/2012 09:31 AM, Seth Forshee wrote: > On Thu, Aug 02, 2012 at 09:19:30AM -0700, Randy Dunlap wrote: >> On 08/02/2012 09:15 AM, Seth Forshee wrote: >> >>> On Thu, Aug 02, 2012 at 09:07:04AM -0700, Randy Dunlap wrote: On 08/01/2012 09:15 PM, Stephen Rothwell wrote: > Hi all, >>

<    1   2   3   4   >