Re: [PATCH] pci: remove redundant function calls in pci_reassigndev_resource_alignment()

2012-12-27 Thread Yinghai Lu
On Thu, Dec 27, 2012 at 11:31 PM, Lin Feng wrote: > pci_reassigndev_resource_alignment() potentially calls > pci_specified_resource_alignment() twice, which is redundant. > > pci_is_reassigndev() is only called in pci_reassigndev_resource_alignment(), > and from sematic/functionality aspects

Re: how to look for source code in kernel

2012-12-27 Thread Eric W. Biederman
anish singh writes: > On Fri, Dec 28, 2012 at 10:42 AM, amit mehta wrote: > On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > > can anybody tell me how to look into source code, as most are hidden in > > kernel. > > You can find the Linux source code at

[PATCH] pci: remove redundant function calls in pci_reassigndev_resource_alignment()

2012-12-27 Thread Lin Feng
pci_reassigndev_resource_alignment() potentially calls pci_specified_resource_alignment() twice, which is redundant. pci_is_reassigndev() is only called in pci_reassigndev_resource_alignment(), and from sematic/functionality aspects pci_specified_resource_alignment() is sufficient to substitute,

[PATCH] perf symbol: Include elf.h header regardless LIBELF_SUPPORT

2012-12-27 Thread Namhyung Kim
From: Namhyung Kim The elf.h header file is used for NO_LIBELF build too so it should be included anyway. Also remove duplicated include of the header file in symbol-*.c. This patch fixes following build error on NO_LIBELF build: CC tests/hists_link.o tests/hists_link.c: In function

Re: ppoll() stuck on POLLIN while TCP peer is sending

2012-12-27 Thread Eric Wong
Eric Wong wrote: > I'm finding ppoll() unexpectedly stuck when waiting for POLLIN on a > local TCP socket. The isolated code below can reproduces the issue > after many minutes (<1 hour). It might be easier to reproduce on > a busy system while disk I/O is happening. Ugh, I can't seem to

Re: [PATCH 1/2] i2c: exynos5: add High Speed I2C controller driver

2012-12-27 Thread Naveen Krishna Ch
Hello Balbi, On 28 December 2012 04:27, Felipe Balbi wrote: > Hi, > > On Tue, Dec 25, 2012 at 04:55:54PM +0530, Naveen Krishna Chatradhi wrote: >> Adds support for High Speed I2C driver found in Exynos5 and later >> SoCs from Samsung. This driver currently supports Auto mode. >> >> Driver only

Re: how to look for source code in kernel

2012-12-27 Thread Alex Belits
On Fri, 28 Dec 2012, anish singh wrote: have source insight.We can use wine in linux but that sucks. Funny you say that! Never heard of cscope, ctags ? It is not as convenient as source insight or is it? There is also LXR. If it's not good enough for you, then don't look at it. -- To

RE: echo 1 > /proc/sys/vm/compact_memory -> sh: write error: Bad address

2012-12-27 Thread Liu Hui-R64343
>-Original Message- >From: David Rientjes [mailto:rient...@google.com] >Sent: Friday, December 28, 2012 6:39 AM >To: Liu Hui-R64343 >Cc: Mel Gorman; linux-kernel@vger.kernel.org >Subject: Re: echo 1 > /proc/sys/vm/compact_memory -> sh: write error: Bad >address > >On Thu, 27 Dec 2012, Liu

Re: how to look for source code in kernel

2012-12-27 Thread Chen Gang F T
于 2012年12月28日 13:12, amit mehta 写道: On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > can anybody tell me how to look into source code, as most are hidden in > kernel. You can find the Linux source code at http://kernel.org/ . >> for browsing the code unfortunately

Re: how to look for source code in kernel

2012-12-27 Thread Chen Gang F T
于 2012年12月28日 13:12, amit mehta 写道: On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > can anybody tell me how to look into source code, as most are hidden in > kernel. You can find the Linux source code at http://kernel.org/ . >> for browsing the code unfortunately

Re: Bad magic number and

2012-12-27 Thread Prashant Shah
Hi, On Fri, Dec 28, 2012 at 10:57 AM, Manish Katiyar wrote: > > > On Thu, Dec 27, 2012 at 8:29 PM, sham pavman > wrote: >> >> I've tried that as well.. and the result is the same. >> I've little idea on how to start debugging. >> If you can provide some info it would be great. Check your mkfs

Re: [PATCH 1/2] vhost_net: correct error hanlding in vhost_net_set_backend()

2012-12-27 Thread Jason Wang
On 12/27/2012 09:14 PM, Michael S. Tsirkin wrote: > On Thu, Dec 27, 2012 at 02:39:19PM +0800, Jason Wang wrote: >> Fix the leaking of oldubufs and fd refcnt when fail to initialized used ring. >> >> Signed-off-by: Jason Wang >> --- >> drivers/vhost/net.c | 14 +++--- >> 1 files

Re: how to look for source code in kernel

2012-12-27 Thread anish singh
On Fri, Dec 28, 2012 at 10:42 AM, amit mehta wrote: On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > can anybody tell me how to look into source code, as most are hidden in > kernel. You can find the Linux source code at http://kernel.org/ . >> for

Re: [PATCH 08/14] xen: netback: Remove redundant check on unsigned variable

2012-12-27 Thread Tushar Behera
On 11/16/2012 02:46 PM, Ian Campbell wrote: > On Fri, 2012-11-16 at 06:50 +, Tushar Behera wrote: >> No need to check whether unsigned variable is less than 0. >> >> CC: Ian Campbell >> CC: xen-de...@lists.xensource.com >> CC: net...@vger.kernel.org >> Signed-off-by: Tushar Behera > >

Re: how to look for source code in kernel

2012-12-27 Thread amit mehta
>>> On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: >>> > can anybody tell me how to look into source code, as most are hidden in >>> > kernel. >>> >>> You can find the Linux source code at http://kernel.org/ . > for browsing the code unfortunately there is no good tool as in

Re: [PATCH 10/14] atm: Removed redundant check on unsigned variable

2012-12-27 Thread Tushar Behera
Ping. On 11/16/2012 12:20 PM, Tushar Behera wrote: > No need to check whether unsigned variable is less than 0. > > CC: Chas Williams > CC: linux-atm-gene...@lists.sourceforge.net > CC: net...@vger.kernel.org > Signed-off-by: Tushar Behera > --- > drivers/atm/fore200e.c |2 +- > 1 files

Re: [PATCH 1/2] vhost_net: correct error hanlding in vhost_net_set_backend()

2012-12-27 Thread Jason Wang
On 12/27/2012 09:03 PM, Michael S. Tsirkin wrote: > On Thu, Dec 27, 2012 at 02:39:20PM +0800, Jason Wang wrote: >> Currently, polling error were ignored in vhost. This may lead some issues >> (e.g >> kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix >> this >> by: >> >>

Re: how to look for source code in kernel

2012-12-27 Thread anish singh
On Fri, Dec 28, 2012 at 1:23 AM, Henrique Rodrigues wrote: > http://lxr.linux.no/ is a really good linux cross referencing website for > code reference. > > On Thu, Dec 27, 2012 at 10:40 AM, Jonathan Neuschäfer > wrote: >> >> On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: >> >

Re: [PATCH v1] lib: cpu_rmap: avoid flushing all workqueues

2012-12-27 Thread Josh Triplett
On Thu, Dec 27, 2012 at 11:24:34AM -0800, David Decotigny wrote: > In some cases, free_irq_cpu_rmap() is called while holding a lock > (eg. rtnl). This can lead to deadlocks, because it invokes > flush_scheduled_work() which ends up waiting for whole system > workqueue to flush, but some pending

Re: [PATCH 2/2] vhost: handle polling failure

2012-12-27 Thread Jason Wang
On 12/27/2012 06:01 PM, Wanlong Gao wrote: > On 12/27/2012 02:39 PM, Jason Wang wrote: >> > Currently, polling error were ignored in vhost. This may lead some issues >> > (e.g >> > kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix >> > this >> > by: > Can this kernel

Re: [PATCH] bnx2x: use ARRAY_SIZE where possible

2012-12-27 Thread David Miller
From: "Eilon Greenstein" Date: Sun, 23 Dec 2012 10:49:27 +0200 > On Thu, 2012-12-20 at 14:11 -0500, Sasha Levin wrote: >> Signed-off-by: Sasha Levin > > Acked-by Eilon Greenstein Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Minimum toolchain requirements?

2012-12-27 Thread Rob Landley
On 12/27/2012 02:09:33 PM, Shaun Ruffell wrote: Hi Rob, On Fri, Dec 14, 2012 at 04:25:10PM -0600, Rob Landley wrote: > Although the README and Documentation/Changes both say the kernel > builds with gcc 3.2, this is no loner the case. In reality the new > 3.7 kernel no longer builds under

Re: kernel panic when running /etc/init.d/iptables restart

2012-12-27 Thread canqun zhang
Hi all As discussed above,if the host machine create several linux containers, there will be several net namespaces.Resources with "nf conntrack" are registered or unregistered on the first net namespace(init_net),But init_net is not unregistered lastly,so cleanuping other net namespaces will

Re: [PATCH] modpost: Ignore ARC specific non-alloc sections

2012-12-27 Thread Vineet Gupta
On Friday 28 December 2012 02:18 AM, Sam Ravnborg wrote: > On Thu, Dec 27, 2012 at 04:17:20PM +0530, Vineet Gupta wrote: >> ARC relocatable object files contain one/more .gnu.linkonce.arcextmap.* >> sections (collated by kernel/vmlinux.lds into .arcextmap in final link). >> This section is used by

Re: kernel panic when running /etc/init.d/iptables restart

2012-12-27 Thread canqun zhang
Hi all As discussed above,if the host machine create several linux containers, there will be several net namespaces.Resources with "nf conntrack" are registered or unregistered on the first net namespace(init_net),But init_net is not unregistered lastly,so cleanuping other net namespaces will

Re: Linux 3.8-rc1 (mei driver BROKEN)

2012-12-27 Thread Greg Kroah-Hartman
On Fri, Dec 28, 2012 at 02:04:23AM +0100, Sedat Dilek wrote: > Hi Linus, > > I am not sure if Greg is on holidays as his char-misc GIT tree didn't > get updated the last days. Yes, I'm supposed to be on vacation until the 7th. > The MEI driver causes here a serious regression requiring a hard

[PATCH V2] forcedeth: Fix WARNINGS that result when DMA mapping is not checked

2012-12-27 Thread Larry Finger
With 3.8-rc1, the first call of pci_map_single() that is not checked with a corresponding pci_dma_mapping_error() call results in a warning with a splat as follows: WARNING: at lib/dma-debug.c:933 check_unmap+0x480/0x950() Hardware name: HP Pavilion dv2700 Notebook PC forcedeth :00:0a.0:

Re: [PATCH v3 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-12-27 Thread Eric W. Biederman
"H. Peter Anvin" writes: > On 12/27/2012 03:23 PM, Daniel Kiper wrote: >>> On 12/26/2012 06:18 PM, Daniel Kiper wrote: Add i386 kexec/kdump implementation. v2 - suggestions/fixes: - allocate transition page table pages below 4 GiB (suggested by Jan Beulich).

Re: [PATCH v3 01/11] kexec: introduce kexec firmware support

2012-12-27 Thread Eric W. Biederman
Daniel Kiper writes: >> Daniel Kiper writes: >> >> > Some kexec/kdump implementations (e.g. Xen PVOPS) could not use default >> > Linux infrastructure and require some support from firmware and/or >> > hypervisor. >> > To cope with that problem kexec firmware infrastructure was introduced. >>

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Zhouping Liu
On 12/28/2012 10:45 AM, Zhouping Liu wrote: Thank you for the report Zhouping! Would you be so kind to test the following patch and report results? Apply the patch to the latest mainline. Hello Zlatko, I have tested the below patch(applied it on mainline directly), but IMO, I'd like to say it

Re: [PATCH] mm: fix null pointer dereference in wait_iff_congested()

2012-12-27 Thread Minchan Kim
Hello Zlatko, On Fri, Dec 28, 2012 at 03:16:38AM +0100, Zlatko Calusic wrote: > From: Zlatko Calusic > > The unintended consequence of commit 4ae0a48b is that > wait_iff_congested() can now be called with NULL struct zone* > producing kernel oops like this: For good description, it would be

[GIT PULL v2] f2fs fixes for 3.8-rc2

2012-12-27 Thread Jaegeuk Kim
Hi Linus, Sorry for the noise. I've resolved the S-O-B issue in v1 tree. Here is the pull request v2. Thanks, -- Jaegeuk Kim Samsung The following changes since commit 637704cbc95c02d18741b4a6e7a5d2397f8b28ce: Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Zhouping Liu
> > Thank you for the report Zhouping! > > Would you be so kind to test the following patch and report results? > Apply the patch to the latest mainline. Hello Zlatko, I have tested the below patch(applied it on mainline directly), but IMO, I'd like to say it maybe don't fix the issue

[PATCH v3 1/8] MFD:rtsx: Fix typo in comment

2012-12-27 Thread wei_wang
From: Wei WANG Fix a misspelling word in comment Signed-off-by: Wei WANG --- include/linux/mfd/rtsx_pci.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h index 060b721..bebe9f9 100644 ---

[PATCH v3 8/8] MFD:rtsx: Use macro defines to replace some variables

2012-12-27 Thread wei_wang
From: Wei WANG In function rtsx_pci_switch_clock, some variables, such as min_n, max_n, and max_div, are not necessary. And those assigned values look very obscure for others. It's more proper to use macro definitions here to replace these variables. Signed-off-by: Wei WANG Acked-by: Borislav

[PATCH v3 6/8] MFD:rtsx: Add callback function conv_clk_and_div_n

2012-12-27 Thread wei_wang
From: Wei WANG Add callback function conv_clk_and_div_n to convert between SSC clock and its divider N. For rtl8411, the formula to calculate SSC clock divider N is different with the other card reader models. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c | 13 +

[PATCH v3 7/8] MFD:rtsx: Fix checkpatch warning

2012-12-27 Thread wei_wang
From: Wei WANG WARNING: Avoid CamelCase: + u8 N, min_N, max_N, clk_divider; WARNING: Avoid CamelCase: + u8 N, min_N, max_N, clk_divider; Signed-off-by: Wei WANG --- drivers/mfd/rtsx_pcr.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff

[PATCH v3 4/8] MFD:rtsx: Add callback function switch_output_voltage

2012-12-27 Thread wei_wang
From: Wei WANG Different card reader has different method to switch output voltage, add this callback to let the card reader implement its individual switch function. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c| 16 drivers/mfd/rts5209.c| 20

[PATCH v3 5/8] MMC:rtsx: Using callback function to switch output voltage

2012-12-27 Thread wei_wang
From: Wei WANG Different card reader has different method to switch output voltage, so we have to use the callback function provided by MFD driver to switch output pad voltage. Signed-off-by: Wei WANG --- drivers/mmc/host/rtsx_pci_sdmmc.c | 30 +- 1 file changed,

[PATCH v3 3/8] MFD:rtsx: Declare that the DMA address limitation is 32bit explicitly

2012-12-27 Thread wei_wang
From: Wei WANG Realtek PCIe card reader only supports 32bit DMA Signed-off-by: Wei WANG --- drivers/mfd/rtsx_pcr.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c index fa2c2bc..1dc64bb 100644 --- a/drivers/mfd/rtsx_pcr.c +++

[PATCH v3 2/8] MFD:rtsx: Remove redundant code

2012-12-27 Thread wei_wang
From: Wei WANG In function rtsx_pci_add_sg_tbl, the statement "ptr++" is useless. Signed-off-by: Wei WANG Acked-by: Borislav Petkov --- drivers/mfd/rtsx_pcr.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c index 3a44efa..fa2c2bc 100644

[PATCH v3 0/8] rtsx patchset for MFD and MMC tree

2012-12-27 Thread wei_wang
From: Wei WANG Wei WANG (8): MFD:rtsx: Fix typo in comment MFD:rtsx: Remove redundant code MFD:rtsx: Declare that the DMA address limitation is 32bit explicitly MFD:rtsx: Add callback function switch_output_voltage MMC:rtsx: Using callback function to switch output voltage MFD:rtsx:

Re: [GIT PULL] f2fs fixes for 3.8-rc2

2012-12-27 Thread Jaegeuk Kim
2012-12-28 (금), 03:00 +0100, Sedat Dilek: > Looks like you didn't S-o-b-ed all patches in your tree (see Leon's or > Geert's patch). I've fixed all the patches. Thank you. :) > > - Sedat - > > On Fri, Dec 28, 2012 at 2:54 AM, Jaegeuk Kim wrote: > > Hi Linus, > > > > Please pull the following

[PATCH] mm: fix null pointer dereference in wait_iff_congested()

2012-12-27 Thread Zlatko Calusic
From: Zlatko Calusic The unintended consequence of commit 4ae0a48b is that wait_iff_congested() can now be called with NULL struct zone* producing kernel oops like this: BUG: unable to handle kernel NULL pointer dereference IP: [] wait_iff_congested+0x59/0x140 This trivial patch fixes it.

Re: [GIT PULL] f2fs fixes for 3.8-rc2

2012-12-27 Thread Sedat Dilek
Looks like you didn't S-o-b-ed all patches in your tree (see Leon's or Geert's patch). - Sedat - On Fri, Dec 28, 2012 at 2:54 AM, Jaegeuk Kim wrote: > Hi Linus, > > Please pull the following patches for bug fixes on the f2fs file system. > Thank you very much. > > -- > Jaegeuk Kim > Samsung > >

[GIT PULL] f2fs fixes for 3.8-rc2

2012-12-27 Thread Jaegeuk Kim
Hi Linus, Please pull the following patches for bug fixes on the f2fs file system. Thank you very much. -- Jaegeuk Kim Samsung The following changes since commit 637704cbc95c02d18741b4a6e7a5d2397f8b28ce: Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux

Re: [PATCH V3 7/8] memcg: disable memcg page stat accounting code when not in use

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:27), Sha Zhengju wrote: > From: Sha Zhengju > > It's inspired by a similar optimization from Glauber Costa > (memcg: make it suck faster; https://lkml.org/lkml/2012/9/25/154). > Here we use jump label to patch the memcg page stat accounting code > in or out when not used. when the

ppoll() stuck on POLLIN while TCP peer is sending

2012-12-27 Thread Eric Wong
I'm finding ppoll() unexpectedly stuck when waiting for POLLIN on a local TCP socket. The isolated code below can reproduces the issue after many minutes (<1 hour). It might be easier to reproduce on a busy system while disk I/O is happening. This may also be related to an epoll-related issue

[PATCH v7 1/2] KSM: numa awareness sysfs knob

2012-12-27 Thread Petr Holasek
Introduces new sysfs boolean knob /sys/kernel/mm/ksm/merge_across_nodes which control merging pages across different numa nodes. When it is set to zero only pages from the same node are merged, otherwise pages from all nodes can be merged together (default behavior). Typical use-case could be a

[PATCH v7 2/2] Documentation: add sysfs ABI documentation for ksm

2012-12-27 Thread Petr Holasek
This patch adds sysfs documentation for Kernel Samepage Merging (KSM) including new merge_across_nodes knob. Signed-off-by: Petr Holasek --- Documentation/ABI/testing/sysfs-kernel-mm-ksm | 51 +++ 1 file changed, 51 insertions(+) create mode 100644

[PATCH] i2c: vt8500: Add support for Wondermedia I2C master-mode

2012-12-27 Thread Tony Prisk
This patch adds support for the I2C controller found on Wondermedia SoCs. Due to the lack of pinmux support, GPIO pin alternate functions are configured by machine's compatible property, as are pullups. Signed-off-by: Tony Prisk --- .../devicetree/bindings/i2c/i2c-vt8500.txt | 24 +

[PATCH] clk: vt8500: Add support for WM8750/WM8850 PLL clocks

2012-12-27 Thread Tony Prisk
This patch adds support for the new PLL module found in WM8750 and WM8850 SoCs. Signed-off-by: Tony Prisk --- drivers/clk/clk-vt8500.c | 102 +- 1 file changed, 100 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-vt8500.c

Re: [PATCH V3 8/8] memcg: Document cgroup dirty/writeback memory statistics

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:28), Sha Zhengju wrote: > From: Sha Zhengju > > Signed-off-by: Sha Zhengju I don't think your words are bad but it may be better to sync with meminfo's text. > --- > Documentation/cgroups/memory.txt |2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH] x86, realmode: set real_mode permissions early

2012-12-27 Thread H. Peter Anvin
Seems ok. Yinghai Lu wrote: >On Thu, Dec 27, 2012 at 4:01 PM, H. Peter Anvin wrote: >> On 12/27/2012 03:56 PM, Yinghai Lu wrote: I'm looking at this patch in the -v8 branch: you need to update the comment above that function to say that trampoline code needs to be

Re: Bad magic number and

2012-12-27 Thread Mulyadi Santosa
Hi... On Wed, Dec 26, 2012 at 12:19 PM, sham pavman wrote: > > mkfs -t ext4 /dev/sdb > mke2fs 1.42 (29-Nov-2011) try using mkfs.ext4 instead -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To

Re: [PATCH V3 7/8] memcg: disable memcg page stat accounting code when not in use

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:27), Sha Zhengju wrote: > From: Sha Zhengju > > It's inspired by a similar optimization from Glauber Costa > (memcg: make it suck faster; https://lkml.org/lkml/2012/9/25/154). > Here we use jump label to patch the memcg page stat accounting code > in or out when not used. when the

Re: Linux 3.8-rc1 (mei driver BROKEN)

2012-12-27 Thread Sedat Dilek
Hi Linus, I am not sure if Greg is on holidays as his char-misc GIT tree didn't get updated the last days. The MEI driver causes here a serious regression requiring a hard cold start of the machine I am working on. A fix "mei: fix mismatch in mutex unlock-lock in mei_amthif_read()" was already

Re: [PATCH V3 6/8] memcg: Don't account root_mem_cgroup page statistics

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:27), Sha Zhengju wrote: > From: Sha Zhengju > > If memcg is enabled and no non-root memcg exists, all allocated pages > belongs to root_mem_cgroup and go through root memcg statistics routines > which brings some overheads. So for the sake of performance, we can give > up

Re: [PATCH] x86, realmode: set real_mode permissions early

2012-12-27 Thread Yinghai Lu
On Thu, Dec 27, 2012 at 4:01 PM, H. Peter Anvin wrote: > On 12/27/2012 03:56 PM, Yinghai Lu wrote: >>> >>> >>> I'm looking at this patch in the -v8 branch: you need to update the >>> comment above that function to say that trampoline code needs to be >>> marked X now earlier. >> >> >> Not sure if

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Sedat Dilek
On Fri, Dec 28, 2012 at 1:42 AM, Zlatko Calusic wrote: > On 28.12.2012 01:37, Sedat Dilek wrote: >> >> On Fri, Dec 28, 2012 at 1:33 AM, Zlatko Calusic >> wrote: >>> >>> On 28.12.2012 01:24, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 12:51 AM, Zlatko Calusic wrote: >

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Zlatko Calusic
On 28.12.2012 01:37, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 1:33 AM, Zlatko Calusic wrote: On 28.12.2012 01:24, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 12:51 AM, Zlatko Calusic wrote: On 28.12.2012 00:42, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 12:39 AM, Zlatko Calusic

Re: [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2012-12-27 Thread Daniel Kiper
> Andrew Cooper writes: > > > On 27/12/2012 07:53, Eric W. Biederman wrote: > >> The syscall ABI still has the wrong semantics. > >> > >> Aka totally unmaintainable and umergeable. > >> > >> The concept of domU support is also strange. What does domU support even > >> mean, when the dom0 >

Re: [PATCH V3 5/8] memcg: add per cgroup writeback pages accounting

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:26), Sha Zhengju wrote: > From: Sha Zhengju > > Similar to dirty page, we add per cgroup writeback pages accounting. The lock > rule still is: > mem_cgroup_begin_update_page_stat() > modify page WRITEBACK stat > mem_cgroup_update_page_stat() >

Re: [PATCH] f2fs: add missing pretech.h include

2012-12-27 Thread Jaegeuk Kim
2012-12-27 (목), 15:34 +0100, Heiko Carstens: > On Thu, Dec 27, 2012 at 03:30:32PM +0100, Heiko Carstens wrote: > > From aa027f06dfb5b2fd27d6f92391d8340df671e82b Mon Sep 17 00:00:00 2001 > > From: Heiko Carstens > > Date: Thu, 27 Dec 2012 15:22:27 +0100 > > Subject: [PATCH] f2fs: add missing

[ANNOUNCE] Git v1.8.0.3

2012-12-27 Thread Junio C Hamano
The latest maintenance release Git v1.8.0.3 is now available at the usual places. This is primarily to down-merge documentation updates that have been accumulating to the 'master' front for the upcoming 1.8.1 to the maintenance series. The release tarballs are found at:

Re: [PATCH V3 3/8] use vfs __set_page_dirty interface instead of doing it inside filesystem

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:24), Sha Zhengju wrote: > From: Sha Zhengju > > Following we will treat SetPageDirty and dirty page accounting as an > integrated > operation. Filesystems had better use vfs interface directly to avoid those > details. > > Signed-off-by: Sha Zhengju > Acked-by: Sage Weil

Re: [PATCH V3 2/8] Make TestSetPageDirty and dirty page accounting in one func

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:22), Sha Zhengju wrote: > From: Sha Zhengju > > Commit a8e7d49a(Fix race in create_empty_buffers() vs > __set_page_dirty_buffers()) > extracts TestSetPageDirty from __set_page_dirty and is far away from > account_page_dirtied. But it's better to make the two operations in one

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Sedat Dilek
On Fri, Dec 28, 2012 at 1:33 AM, Zlatko Calusic wrote: > On 28.12.2012 01:24, Sedat Dilek wrote: >> >> On Fri, Dec 28, 2012 at 12:51 AM, Zlatko Calusic >> wrote: >>> >>> On 28.12.2012 00:42, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 12:39 AM, Zlatko Calusic wrote: >

Re: [PATCH] x86, mm: add generic kernel/ident mapping helper

2012-12-27 Thread Yinghai Lu
On Thu, Dec 27, 2012 at 10:51 AM, Borislav Petkov wrote: >> +struct mapping_info { >> + void *(*alloc)(void *); > > alloc_page alloc_page make me feel that it will return struct page *. > >> + void *data; >> + unsigned long flag; > > page_flags; will

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Zlatko Calusic
On 28.12.2012 01:24, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 12:51 AM, Zlatko Calusic wrote: On 28.12.2012 00:42, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 12:39 AM, Zlatko Calusic wrote: On 28.12.2012 00:30, Sedat Dilek wrote: Hi Zlatko, I am not sure if I hit the same problem as

Re: [PATCH v5 14/14] memory-hotplug: free node_data when a node is offlined

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/27 21:16), Wen Congyang wrote: > At 12/26/2012 11:55 AM, Kamezawa Hiroyuki Wrote: >> (2012/12/24 21:09), Tang Chen wrote: >>> From: Wen Congyang >>> >>> We call hotadd_new_pgdat() to allocate memory to store node_data. So we >>> should free it when removing a node. >>> >>> Signed-off-by:

Re: [RFC v4 0/3] Support volatile for anonymous range

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 12:46), Minchan Kim wrote: Hi Kame, What are you doing these holiday season? :) I can't believe you sit down in front of computer. Honestly, my holiday starts tomorrow ;) (but until 1/5 in the next year.) Hm, by the way, the user need to attach pages to the process by causing

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread David R. Piegdon
Hi, NOTE to everyone debugging this: reproduced quickly with X + firefox + youtube (adobe flash plugin) > Would you be so kind to test the following patch and report results? > Apply the patch to the latest mainline. I've had probably the same problem (dmesg below) and currently am trying your

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Sedat Dilek
On Fri, Dec 28, 2012 at 12:51 AM, Zlatko Calusic wrote: > On 28.12.2012 00:42, Sedat Dilek wrote: >> >> On Fri, Dec 28, 2012 at 12:39 AM, Zlatko Calusic >> wrote: >>> >>> On 28.12.2012 00:30, Sedat Dilek wrote: Hi Zlatko, I am not sure if I hit the same problem as

[PATCH RESEND] regulator: lp3972: Convert to get_voltage_sel

2012-12-27 Thread Axel Lin
regulator_list_voltage_table() returns -EINVAL if selector >= n_voltages. Thus we don't need to check if reg is greater than LP3972_BUCK_VOL_MAX_IDX in lp3972_[ldo|dcdc]_get_voltage_sel. LP3972_BUCK_VOL_MIN_IDX and LP3972_BUCK_VOL_MAX_IDX are not used, remove them. Signed-off-by: Axel Lin ---

Re: [PATCH v3 01/11] kexec: introduce kexec firmware support

2012-12-27 Thread Daniel Kiper
> Daniel Kiper writes: > > > Some kexec/kdump implementations (e.g. Xen PVOPS) could not use default > > Linux infrastructure and require some support from firmware and/or > > hypervisor. > > To cope with that problem kexec firmware infrastructure was introduced. > > It allows a developer to use

Re: [PATCH 01/23] uvc: Replace memcpy with struct assignment

2012-12-27 Thread Mauro Carvalho Chehab
Em Thu, 27 Dec 2012 18:12:46 -0300 Ezequiel Garcia escreveu: > Mauro, > > On Tue, Oct 23, 2012 at 4:57 PM, Ezequiel Garcia > wrote: > > This kind of memcpy() is error-prone. Its replacement with a struct > > assignment is prefered because it's type-safe and much easier to read. > > > > Found

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Zlatko Calusic
On 28.12.2012 00:55, David R. Piegdon wrote: Hi, NOTE to everyone debugging this: reproduced quickly with X + firefox + youtube (adobe flash plugin) Would you be so kind to test the following patch and report results? Apply the patch to the latest mainline. I've had probably the same

Re: [PATCH] x86, realmode: set real_mode permissions early

2012-12-27 Thread H. Peter Anvin
On 12/27/2012 03:56 PM, Yinghai Lu wrote: I'm looking at this patch in the -v8 branch: you need to update the comment above that function to say that trampoline code needs to be marked X now earlier. Not sure if we really need to add such comment in the code. Peter, what is your idea about

Re: [PATCH] x86, mm: add generic kernel/ident mapping helper

2012-12-27 Thread Yinghai Lu
On Thu, Dec 27, 2012 at 11:03 AM, Borislav Petkov wrote: > On Thu, Dec 27, 2012 at 07:51:26PM +0100, Borislav Petkov wrote: >> > commit bb3cda32f9586e13c5d3dde6c83a914bb2d7f87f >> > Author: Yinghai Lu >> > Date: Mon Dec 24 18:00:21 2012 -0800 >> > >> > x86, mm: add generic kernel/ident

Re: [PATCH] x86, realmode: set real_mode permissions early

2012-12-27 Thread Yinghai Lu
On Thu, Dec 27, 2012 at 10:22 AM, Borislav Petkov wrote: >> commit 77e277cb85290a183bbc1995a1cd839b1c216f25 >> Subject: [PATCH] x86, realmode: set real_mode permissions early >> Author: Yinghai Lu >> Date: Mon Dec 24 18:00:21 2012 -0800 >> >> x86, realmode: set real_mode permissions early

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Zlatko Calusic
On 28.12.2012 00:42, Sedat Dilek wrote: On Fri, Dec 28, 2012 at 12:39 AM, Zlatko Calusic wrote: On 28.12.2012 00:30, Sedat Dilek wrote: Hi Zlatko, I am not sure if I hit the same problem as described in this thread. Under heavy load, while building a customized toolchain for the Freetz

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Sedat Dilek
On Fri, Dec 28, 2012 at 12:39 AM, Zlatko Calusic wrote: > On 28.12.2012 00:30, Sedat Dilek wrote: >> >> Hi Zlatko, >> >> I am not sure if I hit the same problem as described in this thread. >> >> Under heavy load, while building a customized toolchain for the Freetz >> router project I got a BUG

Re: [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2012-12-27 Thread Daniel Kiper
> On 12/26/2012 06:18 PM, Daniel Kiper wrote: > > Hi, > > > > This set of patches contains initial kexec/kdump implementation for Xen v3. > > Currently only dom0 is supported, however, almost all infrustructure > > required for domU support is ready. > > > > Jan Beulich suggested to merge Xen x86

Re: Regression in kernel 3.8-rc1 bisected to commit adfa79d: I now get many "unable to enumerate USB device" messages

2012-12-27 Thread Larry Finger
On 12/27/2012 05:18 PM, Alan Stern wrote: On Thu, 27 Dec 2012, Larry Finger wrote: I could not do exactly the experiment that you wanted, as ehci-hcd was loaded even though it was blacklisted. Rather than solve that problem, I generated a kernel from just before commit adfa79d with ohci-hcd

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000500

2012-12-27 Thread Zlatko Calusic
On 28.12.2012 00:30, Sedat Dilek wrote: Hi Zlatko, I am not sure if I hit the same problem as described in this thread. Under heavy load, while building a customized toolchain for the Freetz router project I got a BUG || NULL pointer derefence || kswapd || zone_balanced || pgdat_balanced()

Re: [PATCH v3 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-12-27 Thread H. Peter Anvin
On 12/27/2012 03:23 PM, Daniel Kiper wrote: On 12/26/2012 06:18 PM, Daniel Kiper wrote: Add i386 kexec/kdump implementation. v2 - suggestions/fixes: - allocate transition page table pages below 4 GiB (suggested by Jan Beulich). Why? Sadly all addresses are passed via unsigned

Re: [PATCH v3 06/11] x86/xen: Add i386 kexec/kdump implementation

2012-12-27 Thread Daniel Kiper
> On 12/26/2012 06:18 PM, Daniel Kiper wrote: > > Add i386 kexec/kdump implementation. > > > > v2 - suggestions/fixes: > > - allocate transition page table pages below 4 GiB > > (suggested by Jan Beulich). > > Why? Sadly all addresses are passed via unsigned long variable to kexec

[PATCH 3/4] arm: vt8500: Convert debug-macro.S to be multiplatform friendly

2012-12-27 Thread Tony Prisk
This patch moves debug-macro.S from arm/mach-vt8500/include/mach to arm/include/debug/vt8500.S to provide multiplatform support. Minor style changes in code for readability. Signed-off-by: Tony Prisk --- arch/arm/Kconfig.debug |8 ++

[PATCH 1/4] arm: vt8500: Add support for Wondermedia WM8750/WM8850

2012-12-27 Thread Tony Prisk
This patch adds support for the WM8750 (ARMv6) and WM8850 (ARMv7). Common features across all SoCs are split into ARCH_VT8500 and unique features are specified by each SoC option. Signed-off-by: Tony Prisk --- Documentation/devicetree/bindings/arm/vt8500.txt |8 ++ arch/arm/Kconfig

[PATCH 4/4] arm: vt8500: Remove remaining mach includes

2012-12-27 Thread Tony Prisk
Remove the last two mach-vt8500/include/mach headers as they are no longer required with multiplatform-only configuration. Signed-off-by: Tony Prisk --- arch/arm/mach-vt8500/include/mach/timex.h | 26 - arch/arm/mach-vt8500/include/mach/uncompress.h | 37

[PATCH 0/4] arm: vt8500: Add new models and remove single-platform.

2012-12-27 Thread Tony Prisk
Hi Arnd/Olaf, These patches should be pretty self explanatory. #1 - Adds support for WM8750 and WM8850. #2 - Remove the single-platform Kconfig options. #3 - Move the early debug code so it can be used for multiplatform. #4 - Cleanup the unused headers in arch/arm/mach-vt8500/include. Tony

[PATCH 2/4] arm: vt8500: Remove single platform Kconfig options

2012-12-27 Thread Tony Prisk
This patch completes the move of arch-vt8500 to multiplatform only. The remaining single-image Kconfig options are removed from arch/arm/Kconfig and the options in arch/arm/mach-vt8500/Kconfig are updated. Signed-off-by: Tony Prisk --- arch/arm/Kconfig | 21 -

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-12-27 Thread Daniel Kiper
> Hmm... this code is being redone at the moment... this might conflict. Is this available somewhere? May I have a look at it? Daniel PS I am on holiday until 02/01/2013 and I could not have access to my email box. Please be patient. At worst case I will send reply when I will be back

Re: Regression in kernel 3.8-rc1 bisected to commit adfa79d: I now get many "unable to enumerate USB device" messages

2012-12-27 Thread Alan Stern
On Thu, 27 Dec 2012, Larry Finger wrote: > I could not do exactly the experiment that you wanted, as ehci-hcd was loaded > even though it was blacklisted. Rather than solve that problem, I generated a > kernel from just before commit adfa79d with ohci-hcd built in and ehci-hcd as > a >

Re: [PATCH 2/3] mm, bootmem: panic in bootmem alloc functions even if slab is available

2012-12-27 Thread Sasha Levin
On 12/27/2012 06:04 PM, David Rientjes wrote: > On Thu, 27 Dec 2012, Sasha Levin wrote: > >> That's exactly what happens with the patch. Note that in the current upstream >> version there are several slab checks scattered all over. >> >> In this case for example, I'm removing it from

Re: [PATCH 2/3] mm, bootmem: panic in bootmem alloc functions even if slab is available

2012-12-27 Thread David Rientjes
On Thu, 27 Dec 2012, Sasha Levin wrote: > That's exactly what happens with the patch. Note that in the current upstream > version there are several slab checks scattered all over. > > In this case for example, I'm removing it from __alloc_bootmem_node(), but the > first code line

Re: [PATCH 2/2] i2c-exynos5: add debugfs support for registers

2012-12-27 Thread Felipe Balbi
On Tue, Dec 25, 2012 at 04:55:55PM +0530, Naveen Krishna Chatradhi wrote: > This patch replaces the dev_vdbg with debugfs function calls > in i2c-exynos5.c driver. > > Signed-off-by: Naveen Krishna Chatradhi > --- > Changes since v1: > The debugfs implementation is a suggestion by Felipe Balbi.

Re: [PATCH 2/2] i2c-exynos5: add debugfs support for registers

2012-12-27 Thread Felipe Balbi
On Tue, Dec 25, 2012 at 04:55:55PM +0530, Naveen Krishna Chatradhi wrote: > This patch replaces the dev_vdbg with debugfs function calls > in i2c-exynos5.c driver. > > Signed-off-by: Naveen Krishna Chatradhi merge with previous -- balbi signature.asc Description: Digital signature

Re: [PATCH 1/2] i2c: exynos5: add High Speed I2C controller driver

2012-12-27 Thread Felipe Balbi
Hi, On Tue, Dec 25, 2012 at 04:55:54PM +0530, Naveen Krishna Chatradhi wrote: > Adds support for High Speed I2C driver found in Exynos5 and later > SoCs from Samsung. This driver currently supports Auto mode. > > Driver only supports Device Tree method. > > Signed-off-by: Taekgyun Ko >

  1   2   3   4   5   6   >