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

2013-04-25 Thread Stephen Rothwell
Hi Tomi, On Fri, 26 Apr 2013 08:31:03 +0300 Tomi Valkeinen wrote: > > On 2013-04-26 08:10, Stephen Rothwell wrote: > > > > After merging the omap_dss2 tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > drivers/video/ps3fb.c: In function 'ps3fb_mmap': > >

Re: [PATCH 1/2] lib: Add lz4 compressor module

2013-04-25 Thread Stephen Rothwell
Hi, On Fri, 26 Apr 2013 14:02:01 +0900 "Chanho Min" wrote: > > > @@ -0,0 +1,23 @@ > +#include > + > +int __attribute__((weak)) __clzsi2(int val) We have __weak in -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpUXjGrThgHW.pgp Description: PGP signature

Re: For review (v2): user_namespaces(7) man page

2013-04-25 Thread richard -rw- weinberger
On Fri, Apr 26, 2013 at 2:54 AM, Eric W. Biederman wrote: > richard -rw- weinberger writes: > >> On Wed, Mar 27, 2013 at 10:26 PM, Michael Kerrisk (man-pages) >> wrote: >>>Inside the user namespace, the shell has user and group ID 0, >>>and a full set of permitted and

Re: [PATCH 0/6] Davinci fbdev driver and enable it for DMx platform

2013-04-25 Thread Prabhakar Lad
Hi Laurent, On Thu, Apr 25, 2013 at 2:32 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thank you for the patch. > > On Wednesday 24 April 2013 17:30:02 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> This patch series adds an fbdev driver for Texas >> Instruments Davinci SoC.The display

Re: [PATCH 07/21] oss/dmabuf: use dma_map_single

2013-04-25 Thread Takashi Iwai
At Thu, 25 Apr 2013 19:28:50 +0200, Arnd Bergmann wrote: > > The virt_to_bus/bus_to_virt functions have been deprecated > for as long as I can remember, and they are used in very > few remaining instances, usually in obscure ISA device > drivers. The OSS sound drivers are the only ones that are >

Re: [PATCH 06/21] ALSA: ali5451: use mdelay instead of large udelay constants

2013-04-25 Thread Takashi Iwai
At Thu, 25 Apr 2013 19:28:49 +0200, Arnd Bergmann wrote: > > ARM cannot handle udelay for more than 2 miliseconds, so we > should use mdelay instead for those. > > Signed-off-by: Arnd Bergmann > Cc: Takashi Iwai > Cc: alsa-de...@alsa-project.org Thanks, applied to sound git tree. Takashi

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

2013-04-25 Thread Tomi Valkeinen
On 2013-04-26 08:10, Stephen Rothwell wrote: > Hi Tomi, > > After merging the omap_dss2 tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/video/ps3fb.c: In function 'ps3fb_mmap': > drivers/video/ps3fb.c:710:2: error: implicit declaration of function >

linux-next: manual merge of the trivial tree with the arm tree

2013-04-25 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in arch/arm/kvm/arm.c between commit 3414bbfff98b ("ARM: KVM: move exit handler selection to a separate file") from the arm tree and commit b23f7a09f935 ("treewide: Fix typo in printk and comments") from the trivial tree. The

Re: [PATCH 1/2] acpi: video: add function to support unregister backlight

2013-04-25 Thread Aaron Lu
On 04/22/2013 08:39 PM, Chun-Yi Lee wrote: From: "Lee, Chun-Yi" There have situation we unregister whole acpi/video driver by downstream driver just want to remove backlight control interface of acpi/video. It caues we lost other functions of acpi/video, e.g. transfer acpi event to input

Re: [PATCH] x86: add phys addr validity check for /dev/mem mmap

2013-04-25 Thread Will Huck
Hi Peter, On 04/02/2013 08:28 PM, Frantisek Hrbata wrote: When CR4.PAE is set, the 64b PTE's are used(ARCH_PHYS_ADDR_T_64BIT is set for X86_64 || X86_PAE). According to [1] Chapter 4 Paging, some higher bits in 64b PTE are reserved and have to be set to zero. For example, for IA-32e and 4KB page

linux-next: build failure after merge of the omap_dss2 tree

2013-04-25 Thread Stephen Rothwell
Hi Tomi, After merging the omap_dss2 tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/video/ps3fb.c: In function 'ps3fb_mmap': drivers/video/ps3fb.c:710:2: error: implicit declaration of function 'vm_ioremap_memory' [-Werror=implicit-function-declaration]

[PATCH -next] x86, doc: Add LZ4 magic number for the new compression

2013-04-25 Thread Kyungsik Lee
Documentation/x86/boot.txt is updated to list the LZ4 magic number. This LZ4 magic number is used for the new compression format. Signed-off-by: Kyungsik Lee Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Russell King Cc: Borislav Petkov Cc: Florian Fainelli Cc: Yann Collet

Re: [PATCH 1/2] lib: Add lz4 compressor module

2013-04-25 Thread Chanho Min
>> gcc seems to define __builtin_clz as __clzsi2 in some architecture. >> But, kernel doesn't link libgcc.a. >> If kernel should use gcc's built-in function without libgcc.a, >> do we need to port __clzsi2 to 'arch/*/lib/*'? > >This breaks alpha (gcc-4.4.4) as well. Can we please get this fixed

Re: [PATCH 2/3] f2fs: add a tracepoint on f2fs_new_inode

2013-04-25 Thread Namjae Jeon
2013/4/25, Jaegeuk Kim : > This can help when debugging the free nid allocation flows. > > Signed-off-by: Jaegeuk Kim Yes, Agreed also. Reviewed-by: Namjae Jeon Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] process cputimer is moving faster than its corresponding clock

2013-04-25 Thread Olivier Langlois
On Fri, 2013-04-19 at 11:08 -0700, KOSAKI Motohiro wrote: > On Fri, Apr 19, 2013 at 10:38 AM, KOSAKI Motohiro > wrote: > >> I feel we are hitting the same issue than this patch: > >> https://lkml.org/lkml/2013/4/5/116 > >> > >> I'm adding Kosaki in Cc, who proposed roughly the same fix. > > > >

Re: Linux 3.0.75

2013-04-25 Thread Greg KH
diff --git a/Makefile b/Makefile index 71e8efa..30ad2fe 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 74 +SUBLEVEL = 75 EXTRAVERSION = NAME = Sneaky Weasel diff --git a/arch/arm/mm/cache-feroceon-l2.c b/arch/arm/mm/cache-feroceon-l2.c index

Linux 3.0.75

2013-04-25 Thread Greg KH
I'm announcing the release of the 3.0.75 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.4.42

2013-04-25 Thread Greg KH
diff --git a/Makefile b/Makefile index 90c3a6f..35c00db 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 41 +SUBLEVEL = 42 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c index

Linux 3.4.42

2013-04-25 Thread Greg KH
I'm announcing the release of the 3.4.42 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 2/3] posix_timers: Defer per process timer stop after timers processing

2013-04-25 Thread Olivier Langlois
On Fri, 2013-04-19 at 14:47 +0200, Frederic Weisbecker wrote: > > > > > I might be mistaken but I believe that firing timers are not rescheduled > > in the current interrupt context. They are going to be rescheduled later > > from the task context handling the timer generated signal. > > No,

Re: Linux 3.8.9

2013-04-25 Thread Greg KH
diff --git a/Makefile b/Makefile index 7684f95..3ae4796 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 8 -SUBLEVEL = 8 +SUBLEVEL = 9 EXTRAVERSION = NAME = Displaced Humerus Anterior diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c index

Linux 3.8.9

2013-04-25 Thread Greg KH
I'm announcing the release of the 3.8.9 kernel. All users of the 3.8 kernel series must upgrade. The updated 3.8.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.8.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] PCI: Remove duplicate pci_disable_device for pcie port

2013-04-25 Thread Yijing Wang
Hi Yinghai, We should not remove this additional pci_disable_device(). Because we enable pcie port device twice before. The first is pci_enable_brides(), in x86, it was called in pci_assign_unassigned_resources(). The second in pcie_port_device_register(). So we should call

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Mike Qiu
于 2013/4/26 11:42, Chen Gang 写道: On 2013年04月26日 11:25, Chen Gang wrote: On 2013年04月26日 11:08, Mike Qiu wrote: 于 2013/4/26 10:06, Chen Gang 写道: On 2013年04月26日 10:03, Mike Qiu wrote: �� 2013/4/26 9:36, Chen Gang д��: On 2013��04��26�� 09:18, Chen Gang wrote: On 2013��04��26�� 09:06, Chen

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

2013-04-25 Thread Stephen Rothwell
Hi Cascardo, On Wed, 24 Apr 2013 14:53:04 -0300 Thadeu Lima de Souza Cascardo wrote: > > On Thu, Apr 18, 2013 at 01:18:43PM +1000, Stephen Rothwell wrote: > > > > Today's linux-next merge of the net-next tree got a conflict in > > drivers/infiniband/hw/cxgb4/qp.c between commit 5b0c275926b8 >

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

2013-04-25 Thread Stephen Rothwell
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': drivers/net/ethernet/emulex/benet/be_main.c:786:3: error: too few arguments to function

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-25 Thread Jassi Brar
Hi Suman, On 26 April 2013 03:59, Suman Anna wrote: > On 04/25/2013 12:20 AM, Jassi Brar wrote: > tranmitting right away. OK, I thought you didn't want buffering, if that > is not the case, then the buffering should be within the main driver > code, like it is now, but configurable based on the

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
On 2013年04月26日 11:25, Chen Gang wrote: > On 2013年04月26日 11:08, Mike Qiu wrote: >> 于 2013/4/26 10:06, Chen Gang 写道: >>> On 2013年04月26日 10:03, Mike Qiu wrote: �� 2013/4/26 9:36, Chen Gang д��: >> On 2013��04��26�� 09:18, Chen Gang wrote: On 2013��04��26�� 09:06, Chen Gang wrote:

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

2013-04-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in include/net/tcp.h between commit 093162553c33 ("tcp: force a dst refcount when prequeue packet") from the net tree and commit b2fb4f54ecd4 ("tcp: uninline tcp_prequeue()") from the net-next tree. I fixed it up (I used the

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

2013-04-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in include/linux/pci.h between commit f39d5b72913e ("PCI: Remove "extern" from function declarations") from the pci tree and commit 5a8eb24292ff ("pci: Add SRIOV helper function to determine if VFs are assigned to guest") from

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

2013-04-25 Thread Stephen Rothwell
Hi all, 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 and commit 0ad3157e813a ("be2net: Avoid flashing BE3 UFI on BE3-R chip")

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
On 2013年04月26日 11:08, Mike Qiu wrote: > 于 2013/4/26 10:06, Chen Gang 写道: >> On 2013年04月26日 10:03, Mike Qiu wrote: >>> �� 2013/4/26 9:36, Chen Gang д��: > On 2013��04��26�� 09:18, Chen Gang wrote: >>> On 2013��04��26�� 09:06, Chen Gang wrote: >>> CFAR is the Come From Register. It

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

2013-04-25 Thread Stephen Rothwell
Hi all, 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 and commit 5b0752c863d7 ("bnx2x: Fix VF statistics") from the net-next tree.

Re: "attempt to move .org backwards" still show up

2013-04-25 Thread Mike Qiu
于 2013/4/25 14:25, Paul Mackerras 写道: On Thu, Apr 25, 2013 at 12:05:54PM +0800, Mike Qiu wrote: This has block my work now So I hope you can take a look ASAP Thanks :) Mike As a quick fix, turn on CONFIG_KVM_BOOK3S_64_HV. That will eliminate the immediate problem. Thanks got it, I will have

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-25 Thread Sasha Levin
On 04/25/2013 10:01 PM, Dave Jones wrote: > On Thu, Apr 25, 2013 at 08:51:27PM -0400, Sasha Levin wrote: > > On 04/24/2013 06:46 PM, Andrew Morton wrote: > > > Guys, did this get fixed? > > > > I've stopped seeing that during fuzzing, so I guess that it got fixed > somehow... > > We've had

Re: [PATCH V4 0/5] powerpc, perf: BHRB based branch stack enablement on POWER8

2013-04-25 Thread Michael Neuling
Anshuman, IIRC there are new bits in the FSCR and HFSCR you need to enable for the PMU and BRHB. Can you please check these are enabled? Mikey Anshuman Khandual wrote: > Branch History Rolling Buffer (BHRB) is a new PMU feaure in > IBM > POWER8 processor which records the

Re: [PATCH] Reset PCIe devices to stop ongoing DMA

2013-04-25 Thread Takao Indoh
(2013/04/26 3:01), Don Dutile wrote: > On 04/25/2013 01:11 AM, Takao Indoh wrote: >> (2013/04/25 4:59), Don Dutile wrote: >>> On 04/24/2013 12:58 AM, Takao Indoh wrote: This patch resets PCIe devices on boot to stop ongoing DMA. When "pci=pcie_reset_devices" is specified, a hot reset is

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Mike Qiu
于 2013/4/26 10:06, Chen Gang 写道: On 2013年04月26日 10:03, Mike Qiu wrote: �� 2013/4/26 9:36, Chen Gang д��: On 2013��04��26�� 09:18, Chen Gang wrote: On 2013��04��26�� 09:06, Chen Gang wrote: CFAR is the Come From Register. It saves the location of the last branch and is hence overwritten by

[PATCH] cgroup: restore the call to eventfd->poll()

2013-04-25 Thread Li Zefan
I mistakenly removed the call to eventfd->poll() while I was actually intending to remove the return value... Calling evenfd->poll() will hook cgroup_event_wake() to the poll waitqueue, which will be called to unregister eventfd when rmdir a cgroup or close eventfd. Signed-off-by: Li Zefan ---

[PATCH] cgroup: fix use-after-free when umounting cgroupfs

2013-04-25 Thread Li Zefan
Try: # mount -t cgroup xxx /cgroup # mkdir /cgroup/sub && rmdir /cgroup/sub && umount /cgroup And you might see this: ida_remove called for id=1 which is not allocated. It's because cgroup_kill_sb() is called to destroy root->cgroup_ida and free cgrp->root before ida_simple_removed() is

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-25 Thread H. Peter Anvin
On 04/24/2013 04:40 PM, Simon Jeons wrote: > > I see in memblock_trim_memory(): start = round_up(orig_start, align); > here align is PAGE_SIZE, so the dump of zone ranges in my machine is [ > 0.00] DMA [mem 0x1000-0x00ff]. Why PFN 0 is not > used? just for align? > PFN 0

[PATCH] forced argument Was Re: sparse: incorrect type in argument 1 (different address spaces)

2013-04-25 Thread Christopher Li
On 04/22/2013 11:16 PM, Dan Carpenter wrote: > That didn't work. It's the the void * in the parameter list that's > the problem. We'd need to do something like the patch below: > > Otherwise we could add "__ok_to_cast" thing to Sparse maybe? Thanks for the insight. I make a small patch to test

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
On 2013年04月26日 10:03, Mike Qiu wrote: > �� 2013/4/26 9:36, Chen Gang д��: >> > On 2013��04��26�� 09:18, Chen Gang wrote: >>> >> On 2013��04��26�� 09:06, Chen Gang wrote: > CFAR is the Come From Register. It saves the location of the last >> > branch and is hence overwritten by

Re: "attempt to move .org backwards" still show up

2013-04-25 Thread Chen Gang
On 2013年04月26日 09:58, Mike Qiu wrote: > 于 2013/4/25 19:16, Chen Gang 写道: >> On 2013年04月25日 14:25, Paul Mackerras wrote: >>> On Thu, Apr 25, 2013 at 12:05:54PM +0800, Mike Qiu wrote: > This has block my work now > So I hope you can take a look ASAP > Thanks > :) > > Mike >>>

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Mike Qiu
于 2013/4/26 9:36, Chen Gang 写道: > On 2013年04月26日 09:18, Chen Gang wrote: >> On 2013年04月26日 09:06, Chen Gang wrote: CFAR is the Come From Register. It saves the location of the last > branch and is hence overwritten by any branch. > >>> Do we process it just like others done (e.g.

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-25 Thread Dave Jones
On Thu, Apr 25, 2013 at 08:51:27PM -0400, Sasha Levin wrote: > On 04/24/2013 06:46 PM, Andrew Morton wrote: > > Guys, did this get fixed? > > I've stopped seeing that during fuzzing, so I guess that it got fixed > somehow... We've had reports of users hitting this in 3.8 eg:

Re: "attempt to move .org backwards" still show up

2013-04-25 Thread Mike Qiu
于 2013/4/25 19:16, Chen Gang 写道: On 2013年04月25日 14:25, Paul Mackerras wrote: On Thu, Apr 25, 2013 at 12:05:54PM +0800, Mike Qiu wrote: This has block my work now So I hope you can take a look ASAP Thanks :) Mike As a quick fix, turn on CONFIG_KVM_BOOK3S_64_HV. That will eliminate the

Re: [Resend][Bug fix PATCH v5] Reusing a resource structure allocated by bootmem

2013-04-25 Thread Yasuaki Ishimatsu
2013/04/25 5:37, Andrew Morton wrote: On Wed, 24 Apr 2013 08:50:21 +0900 Yasuaki Ishimatsu wrote: When hot removing memory presented at boot time, following messages are shown: [ 296.867031] [ cut here ] [ 296.922273] kernel BUG at mm/slub.c:3409! ... The reason

[PATCH] PCI: move down pci_fixup_final for hotplug path

2013-04-25 Thread Yinghai Lu
David found some resource conflict issue after | PCI: Put pci_dev in device tree as early as possible | commit 4f535093cf8f6da8cfda7c36c2c1ecd2e9586ee4 and | USB: Fix handoff when BIOS disables host PCI device | commit: cab928ee1f221c9cc48d6615070fefe2e444384a for usb qirks for hotplug path.

[PATCH -v3] PCI, ACPI, hotplug: Fix BUS_CHECK event handle on root bridge

2013-04-25 Thread Yinghai Lu
Gavin found that acpiphp does not handle hotplug anymore even after now we have acpiphp built-in preparing for v3.10. Bjorn analyzed bootlog, he found that acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 ACPI: PCI Root Bridge [PCI0] (domain [bus 00-3e]) \_SB_.PCI0:_OSC

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

2013-04-25 Thread Yinghai Lu
Gu found nested removing through echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > /sys/bus/pci/devices/\:1a\:01.0/remove will cause kernel crash as bus get freed. [ 418.946462] CPU 4 [ 418.968377] Pid: 512, comm: kworker/u:2 Tainted: GW3.8.0 #2

[PATCH] PCI: Remove duplicate pci_disable_device for pcie port

2013-04-25 Thread Yinghai Lu
During chasing one PCI xHCI hotplug problem, David Bulkow found static void pcie_portdrv_remove(struct pci_dev *dev) { pcie_port_device_remove(dev); pci_disable_device(dev); } and void pcie_port_device_remove(struct pci_dev *dev)

[PATCH 0/2] sched: Add cond_resched_rcu_lock() helper

2013-04-25 Thread Simon Horman
Add a helper that 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(). This series also updates the two ip_vs functions mentioned above to use

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

2013-04-25 Thread Simon Horman
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(). As suggested by Eric Dumazet. Cc: Eric Dumazet Cc: Julian Anastasov

[PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections

2013-04-25 Thread Simon Horman
This avoids the situation where a dump of a large number of connections may prevent scheduling for a long time while also avoiding excessive calls to rcu_read_unlock() and rcu_read_lock(). Cc: Eric Dumazet Cc: Julian Anastasov Signed-off-by: Simon Horman --- net/netfilter/ipvs/ip_vs_conn.c |

Re: [PATCH 3/3] f2fs: enhnace alloc_nid and build_free_nids flows

2013-04-25 Thread Namjae Jeon
2013/4/25, Jaegeuk Kim : > In order to avoid build_free_nid lock contention, let's change the order of > function calls as follows. > > At first, check whether there is enough free nids. > - If available, just get a free nid with spin_lock without any overhead. > - Otherwise, conduct

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
On 2013年04月26日 09:18, Chen Gang wrote: > On 2013年04月26日 09:06, Chen Gang wrote: >>> CFAR is the Come From Register. It saves the location of the last branch and is hence overwritten by any branch. >> Do we process it just like others done (e.g. 0x300, 0xe00, 0xe20 ...) ? >> . =

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-25 Thread Minchan Kim
Hello hpa, On Wed, Apr 24, 2013 at 03:51:12PM -0700, H. Peter Anvin wrote: > On 04/10/2013 01:02 AM, Minchan Kim wrote: > > > > When I am looking at the code, I was wonder about the logic of GHZP(aka, > > get_huge_zero_page) reference handling. The logic depends on that page > > allocator never

Re: [PATCH 1/2] netfilter: idletimers - fix the case of already expired timer

2013-04-25 Thread Pablo Neira Ayuso
Hi, Same thing with this patch: https://patchwork.kernel.org/patch/2333841/ Regards. On Sun, Apr 21, 2013 at 11:53:13AM +0200, dmitry pervushin wrote: > From: dmitry pervushin > > Fix the case in which timer has expired and we refresh it without > sending the notification > > Signed-off-by:

Re: [PATCH 2/2] netfilter: idletimers - add send_nl_msg field

2013-04-25 Thread Pablo Neira Ayuso
Hi Dmitry, You got some feedback for this patch: https://patchwork.kernel.org/patch/2333851/ This patch still seem not to address some spots I already mention. Please, have a look at my previous email and let me know if you have any question. Thanks. On Sun, Apr 21, 2013 at 11:53:14AM +0200,

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
On 2013年04月26日 09:06, Chen Gang wrote: >> CFAR is the Come From Register. It saves the location of the last >> > branch and is hence overwritten by any branch. >> > > Do we process it just like others done (e.g. 0x300, 0xe00, 0xe20 ...) ? > . = 0x900 > .globl decrementer_pSeries >

Re: [PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-04-25 Thread ZhenHua
On 04/25/2013 10:54 PM, Alan Stern wrote: On Thu, 25 Apr 2013, ZhenHua wrote: +#define UHCI_SUSPENDRH_RETRY_MAX 10 +#define UHCI_SUSPENDRH_RETRY_DELAY100 Why is the delay set to 100 us? Isn't that excessively large? How long does it take for this controller to go into suspend?

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
On 2013年04月26日 07:16, Michael Neuling wrote: >> > diff --git a/arch/powerpc/kernel/exceptions-64s.S >> > b/arch/powerpc/kernel/exceptions-64s.S >> > index e789ee7..8997de2 100644 >> > --- a/arch/powerpc/kernel/exceptions-64s.S >> > +++ b/arch/powerpc/kernel/exceptions-64s.S >> > @@ -254,7 +254,11

Re: For review (v2): user_namespaces(7) man page

2013-04-25 Thread Eric W. Biederman
richard -rw- weinberger writes: > On Wed, Mar 27, 2013 at 10:26 PM, Michael Kerrisk (man-pages) > wrote: >>Inside the user namespace, the shell has user and group ID 0, >>and a full set of permitted and effective capabilities: >> >>bash$ cat /proc/$$/status | egrep

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-25 Thread Sasha Levin
On 04/24/2013 06:46 PM, Andrew Morton wrote: > On Thu, 11 Apr 2013 11:14:29 -0400 Sasha Levin wrote: > >> On 04/11/2013 11:13 AM, Kirill A. Shutemov wrote: >>> Sasha Levin wrote: On 04/10/2013 04:02 AM, Minchan Kim wrote: > I don't know this issue was already resolved. If so, my reply

Re: [PATCH] MAINTAINERS: Update Grant's email address and maintainership

2013-04-25 Thread Stephen Rothwell
Hi Mark, On Fri, 19 Apr 2013 11:22:37 +0100 Mark Brown wrote: > > On Fri, Apr 19, 2013 at 09:18:58AM +1000, Stephen Rothwell wrote: > > > Done. Should I also use your kernel.org address as your contact address > > (instead of broo...@opensource.wolfsonmicro.com)? > > Yes, please - the Wolfson

Re: [PATCH 11/21] irqdomain: export irq_domain_add_simple

2013-04-25 Thread Simon Horman
On Thu, Apr 25, 2013 at 07:28:54PM +0200, Arnd Bergmann wrote: > All other irq_domain_add_* functions are exported already, and apparently > this one got left out by mistake, which causes build errors for ARM > allmodconfig kernels: > > ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-rcar.ko]

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-04-25 Thread Simon Horman
On Thu, Apr 25, 2013 at 07:28:46PM +0200, Arnd Bergmann wrote: > The irqchip_init function is only available when building > with CONFIG_OF enabled, which causes this build failure for > bonito_defconfig: > > arch/arm/mach-shmobile/built-in.o: In function `r8a7740_init_irq_of': >

Re: [PATCH 10/21] [SCSI] nsp32: use mdelay instead of large udelay constants

2013-04-25 Thread Masanori Goto
2013/4/25 Arnd Bergmann > > ARM cannot handle udelay for more than 2 miliseconds, so we > should use mdelay instead for those. > Singed-off-by: GOTO Masanori > Signed-off-by: Arnd Bergmann > Cc: GOTO Masanori > Cc: YOKOTA Hiroshi > Cc: "James E.J. Bottomley" > Cc:

Re: [PATCH] mm, highmem: remove useless virtual variable in page_address_map

2013-04-25 Thread Joonsoo Kim
On Thu, Apr 25, 2013 at 03:00:57PM -0700, Andrew Morton wrote: > On Mon, 22 Apr 2013 17:26:28 +0900 Joonsoo Kim wrote: > > > We can get virtual address without virtual field. > > So remove it. > > > > ... > > > > --- a/mm/highmem.c > > +++ b/mm/highmem.c > > @@ -320,7 +320,6 @@

Re: [PATCH v2 12/15] powerpc/85xx: add time base sync support for e6500

2013-04-25 Thread Scott Wood
On 04/24/2013 07:28:18 PM, Zhao Chenhui wrote: On Wed, Apr 24, 2013 at 05:38:16PM -0500, Scott Wood wrote: > On 04/24/2013 06:29:29 AM, Zhao Chenhui wrote: > >On Tue, Apr 23, 2013 at 07:04:06PM -0500, Scott Wood wrote: > >> On 04/19/2013 05:47:45 AM, Zhao Chenhui wrote: > >> >From: Chen-Hui Zhao

[PATCH -v2] x86: Add a Kconfig shortcut for kvm guest kernel

2013-04-25 Thread Borislav Petkov
From: Borislav Petkov Date: Tue, 16 Apr 2013 18:24:34 +0200 Subject: [PATCH -v2] x86: Add a Kconfig shortcut for kvm guest kernel This is pretty useful for the case where people want to boot the resulting kernel in qemu/kvm. Instead of going and searching for each required option through the

Re: [PATCH 1/3] f2fs: check nid == 0 in add_free_nid

2013-04-25 Thread Namjae Jeon
2013/4/25, Jaegeuk Kim : > It is more obvious that add_free_nid checks whether the free nid is zero or > not. > > Signed-off-by: Jaegeuk Kim Looks reasonable to me. Reviewed-by: Namjae Jeon Thanks~. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v2] f2fs: avoid frequent background GC

2013-04-25 Thread Namjae Jeon
2013/4/25, Jaegeuk Kim : > Hi, Namjae, > > Agreed. How about this? > > Chang log from v1: > o change timings - min 30s, max 60s, nogc 5 min > o remove nonreachable routine > o consider NOGC_SLEEP_TIME in increate/decrease_sleep_time > > From 806e344624414fcf9fc87f6193265859027d51b5 Mon Sep 17

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-25 Thread Andy Green
On 26/04/13 06:29, the mail apparently from Suman Anna included: Hi - 3. Shareable/exclusive nature of a mailbox. If it is shareable, then duplicating the behavior between clients is not worth it, and this should be absorbed into the respective controller driver. I think the mailbox should

[GIT PULL for v3.9-final] media fixes

2013-04-25 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For two driver fixes. One avoids reading any file at a system with a cx25821 board (fortunately, this is not a common device). The other one prevents reading after a buffer with ISDB-T

mmotm 2013-04-25-16-24 uploaded

2013-04-25 Thread akpm
The mm-of-the-moment snapshot 2013-04-25-16-24 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Stephen Boyd
On 04/25/13 16:06, Rob Herring wrote: > On 04/25/2013 05:48 PM, Stephen Boyd wrote: > >> We don't really care about CNTFRQ because it's duplicated into each >> view. We do care about CNTNSAR. Luckily the spec "just works" there in >> the sense that we can use CNTTIDR in conjunction with CNTACRn

Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-25 Thread Kay Sievers
On Wed, Apr 24, 2013 at 8:55 PM, John Stultz wrote: >> FWIW, in the light of the original change, I've just removed the >> /dev/rtc creation from the default udev rules now, so that thing will >> be phased out in the future. > > Is that actually wanted? What happens to applications that use

Re: [PATCH V2 1/4] perf: Add hardware breakpoint address mask

2013-04-25 Thread Jacob Shin
On Thu, Apr 25, 2013 at 10:17:35AM -0700, H. Peter Anvin wrote: > On 04/25/2013 10:06 AM, Oleg Nesterov wrote: > >> > >> The downside is that in userland perf tool we need differing documentation > >> on what the mask syntax means for each architecture. > > > > Personally I think this is

Re: Bcache v. whatever

2013-04-25 Thread Andrew Morton
On Mon, 14 Jan 2013 14:32:02 -0800 Kent Overstreet wrote: > Bcache: a block layer SSD cache sparc64 gcc-3.4.5: drivers/md/bcache/btree.c: In function `bch_btree_read': drivers/md/bcache/btree.c:266: error: invalid operands to binary + drivers/md/bcache/btree.c: In function `__btree_write':

Re: [PATCH v2] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Michael Neuling
Chen Gang wrote: > > When CONFIG_KVM_BOOK3S_64_PR is enabled, > MASKABLE_EXCEPTION_PSERIES(0x900 ...) will includes __KVMTEST, it will > exceed 0x980 which STD_EXCEPTION_HV(0x980 ...) will use, it will cause > compiling issue. > > The related errors: > arch/powerpc/kernel/exceptions-64s.S:

Re: [PATCH] pinctrl: document the "GPIO mode" pitfall

2013-04-25 Thread Laurent Pinchart
Hi Linus, On Thursday 25 April 2013 23:39:18 Linus Walleij wrote: > On Tue, Apr 23, 2013 at 3:33 PM, Laurent Pinchart wrote: > >> +And your machine configuration may look like this: > >> +-- > >> + > >> +static unsigned long uart_default_mode[] = {

Re: [GIT PULL] x86 fixes for 3.9

2013-04-25 Thread Michel Lespinasse
On Thu, Apr 25, 2013 at 3:54 PM, H. Peter Anvin wrote: > On 04/25/2013 03:53 PM, Michel Lespinasse wrote: >> On Thu, Apr 25, 2013 at 3:23 PM, Matthew Garrett >> wrote: >>> On Thu, 2013-04-25 at 15:20 -0700, Linus Torvalds wrote: On Thu, Apr 25, 2013 at 2:44 PM, H. Peter Anvin wrote:

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Rob Herring
On 04/25/2013 05:48 PM, Stephen Boyd wrote: > On 04/25/13 14:47, Rob Herring wrote: >> On 04/15/2013 04:33 PM, Stephen Boyd wrote: >>> On 04/15/13 14:20, Rob Herring wrote: On Fri, Apr 12, 2013 at 7:27 PM, Stephen Boyd wrote: > @@ -26,3 +30,52 @@ Example: >

Re: [PATCH 6/8] gpio-tz1090: add TZ1090 gpio driver

2013-04-25 Thread Linus Walleij
On Tue, Apr 23, 2013 at 4:33 PM, James Hogan wrote: > Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC. > This doesn't include low-power GPIOs as they're controlled separately > via the Powerdown Controller (PDC) registers. > > The driver is instantiated by device tree and

Re: [GIT PULL] x86 fixes for 3.9

2013-04-25 Thread H. Peter Anvin
On 04/25/2013 03:53 PM, Michel Lespinasse wrote: > On Thu, Apr 25, 2013 at 3:23 PM, Matthew Garrett > wrote: >> On Thu, 2013-04-25 at 15:20 -0700, Linus Torvalds wrote: >>> On Thu, Apr 25, 2013 at 2:44 PM, H. Peter Anvin >>> wrote: - if (!sys_table->runtime->query_variable_info)

Re: [GIT PULL] x86 fixes for 3.9

2013-04-25 Thread Michel Lespinasse
On Thu, Apr 25, 2013 at 3:23 PM, Matthew Garrett wrote: > On Thu, 2013-04-25 at 15:20 -0700, Linus Torvalds wrote: >> On Thu, Apr 25, 2013 at 2:44 PM, H. Peter Anvin wrote: >> > >> > - if (!sys_table->runtime->query_variable_info) >> > + if (sys_table->runtime->hdr.revision < >> >

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Stephen Boyd
On 04/25/13 14:47, Rob Herring wrote: > On 04/15/2013 04:33 PM, Stephen Boyd wrote: >> On 04/15/13 14:20, Rob Herring wrote: >>> On Fri, Apr 12, 2013 at 7:27 PM, Stephen Boyd wrote: @@ -26,3 +30,52 @@ Example: <1 10 0xf08>;

Re: [PATCH v3 -next 4/5] x86: Add support for LZ4-compressed kernel

2013-04-25 Thread Andrew Morton
On Wed, 6 Mar 2013 15:37:38 +0900 Kyungsik Lee wrote: > On Tue, Mar 05, 2013 at 08:13:38AM -0800, H. Peter Anvin wrote: > > Please add the new magic to Documentation/x86/boot.txt as well. > > Ok, I will update it as soon as the patch set is stabilized. It's been six weeks. Please send the

Re: [PATCH 1/2] lib: Add lz4 compressor module

2013-04-25 Thread Andrew Morton
On Mon, 22 Apr 2013 18:22:18 +0900 "Chanho Min" wrote: > >> +#define HTYPE const u8* > >> + > >> +#ifdef __BIG_ENDIAN > >> +#define LZ4_NBCOMMONBYTES(val) (__builtin_clz(val) >> 3) > >> +#else > >> +#define LZ4_NBCOMMONBYTES(val) (__builtin_ctz(val) >> 3) > >> +#endif > > > >It seems at least

Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-04-25 Thread Linus Walleij
On Tue, Apr 23, 2013 at 4:33 PM, James Hogan wrote: > Add a pin control driver for the main pins on the TZ1090 SoC. This > doesn't include the low-power pins as they're controlled separately via > the Powerdown Controller (PDC) registers. > > Signed-off-by: James Hogan > Cc: Grant Likely > Cc:

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-25 Thread Suman Anna
Jassi, On 04/25/2013 12:20 AM, Jassi Brar wrote: > On 25 April 2013 04:46, Suman Anna wrote: >> On 04/24/2013 03:56 AM, Jassi Brar wrote: >> > >> I think there are two things here - one is what the client needs to do >> upon sending/receiving a message, and the other is what the send API or >>

Re: [PATCH V2] usb: storage: Convert US_DEBUGP to usb_stor_dbg

2013-04-25 Thread Andrew Morton
On Mon, 22 Apr 2013 12:35:26 -0700 (PDT) David Rientjes wrote: > On Fri, 19 Apr 2013, Joe Perches wrote: > > > @@ -966,11 +934,13 @@ static int realtek_cr_autosuspend_setup(struct > > us_data *us) > > static void realtek_cr_destructor(void *extra) > > { > > struct rts51x_chip *chip =

[PATCH 2/2] vfio: Use down_reads to protect iommu disconnects

2013-04-25 Thread Alex Williamson
If a group or device is released or a container is unset from a group it can race against file ops on the container. Protect these with down_reads to allow concurrent users. Signed-off-by: Alex Williamson Reported-by: Michael S. Tsirkin --- drivers/vfio/vfio.c | 62

[PATCH 1/2] vfio: Convert container->group_lock to rwsem

2013-04-25 Thread Alex Williamson
All current users are writers, maintaining current mutual exclusion. This lets us add read users next. Signed-off-by: Alex Williamson --- drivers/vfio/vfio.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/vfio/vfio.c b/drivers/vfio/vfio.c

[PATCH 0/2] Protect against iommu driver disconnect

2013-04-25 Thread Alex Williamson
Michael Tsirkin pointed out that file operations on /dev/vfio/vfio dereference iommu_driver and iommu_data without a lock. If releasing a group or unsetting the container occurs concurrently, we could race. We currently use a mutex when setting this association, so we can convert to a rwsem

Re: [GIT PULL] x86 fixes for 3.9

2013-04-25 Thread Matthew Garrett
On Thu, 2013-04-25 at 15:20 -0700, Linus Torvalds wrote: > On Thu, Apr 25, 2013 at 2:44 PM, H. Peter Anvin wrote: > > > > - if (!sys_table->runtime->query_variable_info) > > + if (sys_table->runtime->hdr.revision < > > EFI_2_00_SYSTEM_TABLE_REVISION) > > return

Re: [ANNOUNCE] 3.4.41-rt55-feat1

2013-04-25 Thread Steven Rostedt
On Fri, 2013-04-26 at 00:20 +0200, Thomas Gleixner wrote: > Tim, > > On Thu, 25 Apr 2013, Tim Sander wrote: > > handler. But normally the HR_TIMER is set. So we switched it off on this > > very > > purpose. As we also have also PREEMPT_RT_FULL set the proposed solution to > > allow only

[PATCH] kvm, svm: Fix typo in printk message

2013-04-25 Thread Borislav Petkov
From: Borislav Petkov It is "exit_int_info". It is actually EXITINTINFO in the official docs but we don't like screaming docs. Signed-off-by: Borislav Petkov --- arch/x86/kvm/svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c

  1   2   3   4   5   6   7   8   9   10   >