Re: [PATCH RESEND] PM/Hibernate: use rb_entry

2012-10-15 Thread Rafael J. Wysocki
On Monday 01 of October 2012 12:12:52 Davidlohr Bueso wrote: > Since the software suspend extents are organized in an rbtree, use rb_entry > instead of container_of, as it is semantically more appropriate in order to > get a node as it is iterated. > > Signed-off-by: Davidlohr Bueso I'll queue t

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

2012-10-15 Thread Takao Indoh
These patches reset PCIe devices at boot time to address DMA problem on kdump with iommu. When "reset_devices" is specified, a hot reset is triggered on each PCIe root port and downstream port to reset its downstream endpoint. Background: A kdump problem about DMA has been discussed for a long tim

[PATCH v4 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-15 Thread Takao Indoh
This patch resets PCIe devices at boot time by hot reset when "reset_devices" is specified. Signed-off-by: Takao Indoh --- arch/x86/include/asm/pci-direct.h |1 arch/x86/kernel/setup.c |3 arch/x86/pci/early.c | 344 include/linux/pc

[PATCH v4 2/2] x86, pci: Enable PCI INTx when MSI is disabled

2012-10-15 Thread Takao Indoh
This patch enables INTx if MSI is disabled in pcibios_enable_device(). In normal case interrupt disable bit in command register is 0b on boot time, but in case of kdump, this bit may be 1b. It causes problems of some drivers. At leaset I confirmed mptsas driver does not work in such a case. This pa

RE: Fix memory leak in binder

2012-10-15 Thread Tu, Xiaobing
-Original Message- From: Tu, Xiaobing Sent: Monday, October 15, 2012 3:03 PM To: 'ccr...@android.com'; 'da...@redhat.com'; 'a...@linux-foundation.org'; 'mi...@elte.hu'; 'ru...@rustcorp.com.au'; 'a.p.zijls...@chello.nl'; 'linux-kernel@vger.kernel.org'; 'rost...@goodmis.org' Cc: Zhang, D

RE: Fix memory leak in cpufreq stats.

2012-10-15 Thread Tu, Xiaobing
+alex -Original Message- From: Tu, Xiaobing Sent: Monday, October 15, 2012 10:48 AM To: 'da...@redhat.com'; 'a...@linux-foundation.org'; 'mi...@elte.hu'; 'ru...@rustcorp.com.au'; 'a.p.zijls...@chello.nl'; 'linux-kernel@vger.kernel.org'; 'rost...@goodmis.org' Cc: Tang, Guifang; Tu, Xiaob

Re: [RFC v3 13/13] vfs: add documentation

2012-10-15 Thread Zhi Yong Wu
On Mon, Oct 15, 2012 at 8:35 AM, Zheng Liu wrote: > Hi Zhi Yong, > > [cut...] >> +3. The Design >> + >> +These include the following parts: >> + >> +* Hooks in existing vfs functions to track data access frequency >> + >> +* New rbtrees for tracking access frequency of inodes and sub-file

Re: [RFC v3 00/13] vfs: hot data tracking

2012-10-15 Thread Zhi Yong Wu
On Mon, Oct 15, 2012 at 8:39 AM, Zheng Liu wrote: > On Wed, Oct 10, 2012 at 06:07:22PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> NOTE: >> >> The patchset is currently post out mainly to make sure >> it is going in the correct direction and hope to get some >> helpful comment

Re: [PATCH] i2c: i2c-ocores: Use devm_request_and_ioremap()

2012-10-15 Thread Jean Delvare
Hi Thierry, On Wed, 8 Aug 2012 08:54:32 +0200, Thierry Reding wrote: > Replacing the devm_request_mem_region() and devm_ioremap_nocache() calls > by a single call to devm_request_and_ioremap() simplifies the code. > > Signed-off-by: Thierry Reding > --- > drivers/i2c/busses/i2c-ocores.c | 15 +

Fix memory leak in binder--version2

2012-10-15 Thread Tu, Xiaobing
After enabling kmemleak and run monkey, following memleak is reported: unreferenced object 0xeed27f80 (size 64): comm "Binder_8", pid 641, jiffies 4294946341 (age 2275.810s) hex dump (first 32 bytes): 4f dd 00 00 84 7f d2 ee 84 7f d2 ee 01 00 00 00 O... 00 00 00 00 00 00 00

Re: [PATCH] i2c: i2c-ocores: Use devm_request_and_ioremap()

2012-10-15 Thread Thierry Reding
On Mon, Oct 15, 2012 at 09:10:15AM +0200, Jean Delvare wrote: > Hi Thierry, > > On Wed, 8 Aug 2012 08:54:32 +0200, Thierry Reding wrote: > > Replacing the devm_request_mem_region() and devm_ioremap_nocache() calls > > by a single call to devm_request_and_ioremap() simplifies the code. > > > > Si

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-15 Thread Jan Beulich
>>> On 10.10.12 at 12:45, Matt Fleming wrote: > On Thu, 2012-10-04 at 11:01 +0100, Jan Beulich wrote: >> >>> On 04.10.12 at 11:18, Matt Fleming wrote: >> > On Thu, 2012-10-04 at 07:32 +0100, Jan Beulich wrote: >> >> Btw., once this set of yours is in - will I need to resubmit the >> >> time handl

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-15 Thread Namjae Jeon
2012/10/14, OGAWA Hirofumi : > Namjae Jeon writes: > >> + if (!fat_get_dotdot_entry(child_dir->d_inode, &dotdot_bh, &de)) >> { >> + parent_logstart = fat_get_start(sbi, de); >> parent_inode = fat_dget(sb, parent_logstart); >> + if (pare

Re: Hardcoded instruction causes certain features to fail on ARM platfrom due to endianness

2012-10-15 Thread Mikael Pettersson
Yangfei (Felix) writes: > Hi all, > > I found that hardcoded instruction in inline asm can cause certains > certain features fail to work on ARM platform due to endianness. > As an example, consider the following code snippet of > platform_do_lowpower function from arch/arm/mach-re

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-15 Thread Andy Shevchenko
On Mon, 2012-10-15 at 08:39 +0800, Hein Tibosch wrote: > Hi Andy, > On 10/15/2012 4:08 AM, Andy Shevchenko wrote: > > On Sun, Oct 14, 2012 at 10:54 AM, Hein Tibosch > > wrote: > >> From: Hein Tibosch > >> > >> The dw_dmac was originally developed for avr32 to be used with the Synopsys > >> Desi

Re: [PATCH] i2c: i2c-ocores: Use devm_request_and_ioremap()

2012-10-15 Thread Jean Delvare
On Mon, 15 Oct 2012 09:21:41 +0200, Thierry Reding wrote: > On Mon, Oct 15, 2012 at 09:10:15AM +0200, Jean Delvare wrote: > > On Wed, 8 Aug 2012 08:54:32 +0200, Thierry Reding wrote: > > > Replacing the devm_request_mem_region() and devm_ioremap_nocache() calls > > > by a single call to devm_reque

Re: [PATCH V2 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-15 Thread Andy Shevchenko
On Mon, 2012-10-15 at 08:59 +0530, Viresh Kumar wrote: > On 12 October 2012 20:28, Andy Shevchenko > wrote: > >> + if (last_dw) { > >> + if ((last_bus_id == param) && (last_dw == dw)) > >> + return false; > >> + } > > Just came to my mind. > > dw can't be N

Re: [PATCH] i2c-i801: Add device tree support

2012-10-15 Thread Jean Delvare
On Tue, 21 Aug 2012 10:29:06 +0200, Wolfram Sang wrote: > On Wed, Aug 08, 2012 at 09:06:47AM +0200, Thierry Reding wrote: > > This commit adds support for probing slave devices parsed from the > > device tree. > > > > Signed-off-by: Thierry Reding > > Acked-by: Wolfram Sang > > Jean, this one

Re: Subject: [PATCH] drivers-core: move device_pm_remove behind bus_remove_device

2012-10-15 Thread Yanmin Zhang
On Fri, 2012-09-21 at 01:58 +, Zhang, LongX wrote: > From: LongX Zhang > > device_pm_remove will call pm_runtime_remove which would disable > runtime PM of the device. After that pm_runtime_get* or > pm_runtime_put* will be ingored. So if we disable the runtime PM > before device really be re

Re: [RFC v3 11/13] vfs: add 3 new ioctl interfaces

2012-10-15 Thread Dave Chinner
On Wed, Oct 10, 2012 at 06:07:33PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > FS_IOC_GET_HEAT_INFO: return a struct containing the various > metrics collected in btrfs_freq_data structs, and also return a > calculated data temperature based on those metrics. Optionally, retrieve

FIPS-mode panic? (was Re: [PULL] modules)

2012-10-15 Thread David Howells
Linus Torvalds wrote: > Hmm. So this thing makes me wonder: > > /* Not having a signature is only an error if we're strict. */ > if (err < 0 && fips_enabled) > panic("Module verification failed with error %d in FIPS > mode\n", > err); > > d

RE: [PATCH][v4] sata_fsl: add workaround for data length mismatch on freescale V2 controller

2012-10-15 Thread Xie Shaohui-B21989
Hi, Any comment for this patch? It's been over a month... Best Regards, Shaohui Xie > -Original Message- > From: Xie Shaohui-B21989 > Sent: Tuesday, September 11, 2012 10:49 AM > To: jgar...@pobox.com; linux-...@vger.kernel.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kerne

Re: [RFC v3 12/13] vfs: add debugfs support

2012-10-15 Thread Dave Chinner
On Wed, Oct 10, 2012 at 06:07:34PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > Add a /sys/kernel/debug/hot_track// directory for each > volume that contains two files. The first, `inode_data', contains the > heat information for inodes that have been brought into the hot data map

[PATCH] staging: csr: fix coding style

2012-10-15 Thread SeongJae Park
Fix coding style of csr_framework_ext_types.h Signed-off-by: SeongJae Park --- drivers/staging/csr/csr_framework_ext_types.h | 33 +++-- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/drivers/staging/csr/csr_framework_ext_types.h b/drivers/staging/csr/csr_

Re: [PATCH] dt: add helper function to read u8 & u16 variables & arrays

2012-10-15 Thread Shevchenko, Andriy
On Fri, 2012-10-12 at 23:31 +0530, Viresh Kumar wrote: > This adds following helper routines: > - of_property_read_u8_array() > - of_property_read_u16_array() > - of_property_read_u8() > - of_property_read_u16() > > First two actually share most of the code with of_property_read_u32_array(), > s

Re: [PATCH v4 3/4] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-10-15 Thread OGAWA Hirofumi
Namjae Jeon writes: >> OK, I think I got where is wrong. If it is the subdir of rootdir, >> fat_dget() should get the inode of root? > That is correct. Whenever fat_dget() is called for sub-directories > which is in root folder, we assign root inode as parent inode. >> >> So, I guess if parent_lo

Re: [RFC v3 11/13] vfs: add 3 new ioctl interfaces

2012-10-15 Thread Zhi Yong Wu
On Mon, Oct 15, 2012 at 3:48 PM, Dave Chinner wrote: > On Wed, Oct 10, 2012 at 06:07:33PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> FS_IOC_GET_HEAT_INFO: return a struct containing the various >> metrics collected in btrfs_freq_data structs, and also return a >> calculated d

[PATCHv7 0/4] virtio_console: Add rproc_serial driver

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland This patch-set introduces a new virtio type "rproc_serial" for communicating with remote processors over shared memory. The driver depends on the the remoteproc framework. As preparation for introducing "rproc_serial" I've done a refactoring of the transmit buffer handling.

[PATCHv7 2/4] virtio_console: Use kmalloc instead of kzalloc

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland Avoid the more cpu expensive kzalloc when allocating buffers. Originally kzalloc was intended for isolating the guest from the host by not sending random guest data to the host. But device isolation is not yet in place so kzalloc is not really needed. Signed-off-by: Sjur Br

[PATCHv7 3/4] virtio_console: Merge struct buffer_token into struct port_buffer

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland Refactoring the splice functionality by unifying the approach for sending scatter-lists and regular buffers. This simplifies buffer handling and reduces code size. Splice will now allocate a port_buffer and send_buf() and free_buf() can always be used for any buffer. Signed

[PATCHv7 4/4] virtio_console: Add support for remoteproc serial

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland Add a simple serial connection driver called VIRTIO_ID_RPROC_SERIAL (11) for communicating with a remote processor in an asymmetric multi-processing configuration. This implementation reuses the existing virtio_console implementation, and adds support for DMA allocation of

[PATCHv7 1/4] virtio_console: Free buffer if splice fails

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland Free the allocated scatter list if send_pages fails in function port_splice_write. Signed-off-by: Sjur Brændeland --- drivers/char/virtio_console.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virti

Re: [RFC v3 12/13] vfs: add debugfs support

2012-10-15 Thread Dave Chinner
On Wed, Oct 10, 2012 at 06:07:34PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > Add a /sys/kernel/debug/hot_track// directory for each > volume that contains two files. The first, `inode_data', contains the > heat information for inodes that have been brought into the hot data map

Re: [PATCH] dt: add helper function to read u8 & u16 variables & arrays

2012-10-15 Thread Viresh Kumar
On 15 October 2012 13:26, Shevchenko, Andriy wrote: > On Fri, 2012-10-12 at 23:31 +0530, Viresh Kumar wrote: >> + while (_sz--) \ >> + *_out++ = (_type)be32_to_cpup(_val++); \ > How about > *_out++ = (typeof(*_out)

[PATCH] drm/i915: disable cpu relocs on ilk and earlier

2012-10-15 Thread Daniel Vetter
Hi Greg&stable-team, The below patch papers over a graphics corruption issue in 3.5/3.6. The regression happened due to pwrite tunings in 3.5, which made cpu relocations much more likely. The issue seems to have disappeared in 3.7-rc1, but it takes a few days to test a patch, so we haven't figure

[PATCH] cpufreq: timer: Move tick-sched specific code outside of cpufreq governors

2012-10-15 Thread Viresh Kumar
Multiple cpufreq governers have defined similar get_cpu_idle_time_***() routines. These routines must be moved to some common place, so that all governors can use them. So moving them to tick-sched.c, which seems to be a better place for keeping these routines. Signed-off-by: Viresh Kumar --- d

Re: [PATCH 00/33] AutoNUMA27

2012-10-15 Thread Srikar Dronamraju
> > Interesting. So numa01 should be improved in autonuma28fast. Not sure > why the hard binds show any difference, but I'm more concerned in > optimizing numa01. I get the same results from hard bindings on > upstream or autonuma, strange. > > Could you repeat only numa01 with the origin/autonum

Re: [RFC v3 12/13] vfs: add debugfs support

2012-10-15 Thread Zhi Yong Wu
On Mon, Oct 15, 2012 at 3:55 PM, Dave Chinner wrote: > On Wed, Oct 10, 2012 at 06:07:34PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Add a /sys/kernel/debug/hot_track// directory for each >> volume that contains two files. The first, `inode_data', contains the >> heat informa

Re: Local DoS through write heavy I/O on CFQ & Deadline

2012-10-15 Thread Michal Hocko
On Fri 12-10-12 17:29:50, Alex Bligh wrote: > Michael, > > --On 12 October 2012 16:58:39 +0200 Michal Hocko wrote: > > >Once dirty_ratio (resp. dirty_bytes) limit is hit then the process which > >writes gets throttled. If this is not the case then there is a bug in > >the throttling code. > > I

[PATCH 1/1] regmap: select REGMAP if REGMAP_MMIO and REGMAP_IRQ enabled

2012-10-15 Thread Dong Aisheng
From: Dong Aisheng The regmap_mmio and regmap_irq depend on regmap core, if not select, we may not compile regmap core and meet compiling errors as follows if REGMAP_MMIO is selected by client drivers: drivers/mfd/syscon.c:94:15: error: variable 'syscon_regmap_config' has initializer but incompl

Re: [PATCH 19/33] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-10-15 Thread Srikar Dronamraju
* Srikar Dronamraju [2012-10-13 23:36:18]: > > + > > +bool numa_hinting_fault(struct page *page, int numpages) > > +{ > > + bool migrated = false; > > + > > + /* > > +* "current->mm" could be different from the "mm" where the > > +* NUMA hinting page fault happened, if get_user_pages(

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

2012-10-15 Thread Tomas Winkler
kill useless mei_io_list list wrapper and use directly struct mei_cl_cb mei_cb which was its only member for managing io queues Signed-off-by: Tomas Winkler --- V2: drivers/misc/mei/init.c: line 689 was exidently removed drivers/misc/mei/init.c | 31 +++--- drivers/misc/mei/interrupt

Re: Linux 3.7-rc1 (uml uapi errors)

2012-10-15 Thread richard -rw- weinberger
On Mon, Oct 15, 2012 at 6:16 AM, Alex Shi wrote: >> >> Building um (uml) for x86_64 (defconfig) has lots of errors like: >> >> In file included from include/linux/irq.h:22:0, >> from include/asm-generic/hardirq.h:12, >> from arch/um/include/generated/asm/hardirq.h

Re: linux-next: Tree for Oct 3 (mfd/syscon)

2012-10-15 Thread Dong Aisheng
Hi Randy, On 4 October 2012 07:31, Randy Dunlap wrote: > On 10/03/2012 12:30 AM, Stephen Rothwell wrote: > >> Hi all, >> >> Do not add stuff destined for v3.8 to your linux-next included branches >> until after v3.7-rc1 is released. >> >> Changes since 201201002: >> > > > on i386: > > CC d

[PATCH v4 0/2] Renesas IPMMU driver for sh7372

2012-10-15 Thread Hideki EIRAKU
This is the Renesas IPMMU driver, IOMMU API implementation and IPMMU device support for sh7372 (AP4EVB and Mackerel). The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides addre

[PATCH v4 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-10-15 Thread Hideki EIRAKU
This is the Renesas IPMMU driver and IOMMU API implementation. The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides address translation including tile-linear translation. This

RE: [tpmdd-devel] [PATCH] TPM: Let the tpm char device be openable multiple times

2012-10-15 Thread Peter.Huewe
-Original Message- > From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] > Using open/close is an interesting idea, but it wouldn't work. open() > is coded to return EBUSY if another process has it open, rather than > block, and spinning on open would be unacceptable. Hmm, may

[PATCH v4 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-10-15 Thread Hideki EIRAKU
This patch adds an IPMMU device and notifies the IPMMU driver which devices are connected via the IPMMU module. All devices connected to the main memory bus via the IPMMU module MUST be registered when SHMOBILE_IPMMU and SHMOBILE_IOMMU are enabled because physical address cannot be used while the

Re: [PATCH] cpufreq: timer: Move tick-sched specific code outside of cpufreq governors

2012-10-15 Thread Michal Hocko
On Mon 15-10-12 13:41:20, Viresh Kumar wrote: > Multiple cpufreq governers have defined similar get_cpu_idle_time_***() > routines. These routines must be moved to some common place, so that all > governors can use them. > > So moving them to tick-sched.c, which seems to be a better place for keep

Re: [PATCH] cpufreq, powernow-k8: Remove usage of smp_processor_id() in preemptible code

2012-10-15 Thread Borislav Petkov
On Mon, Oct 15, 2012 at 07:50:13AM +0200, Rafael J. Wysocki wrote: > Well, please don't tag patches for -stable, because -stable doesn't > take _patches_. Really, I didn't know that?! :-) > It takes commits from the Linus' tree and backports them and that's > maintainer's job to tag them for -sta

Re: [PATCH] cpufreq: timer: Move tick-sched specific code outside of cpufreq governors

2012-10-15 Thread Viresh Kumar
On 15 October 2012 14:05, Michal Hocko wrote: > On Mon 15-10-12 13:41:20, Viresh Kumar wrote: >> Multiple cpufreq governers have defined similar get_cpu_idle_time_***() >> routines. These routines must be moved to some common place, so that all >> governors can use them. >> >> So moving them to ti

[PATCH] init: main: fixed coding style issues and errors

2012-10-15 Thread "Levan Giguashvili
From: Odinn Fixed coding style issues regarding spaces and braces. Removed init of a static variable. Added KERN_DEBUG to printk that was missing it Signed-off-by: Levan Giguashvili --- init/main.c | 52 +--- 1 file changed, 25 insertions(+), 2

Re: kernel BUG at fs/buffer.c:3205 (stable 3.5.3)

2012-10-15 Thread Alexander Holler
Am 14.10.2012 14:27, schrieb Alan Cox: The people which are responsible that the chips for "consumer"-HW and laptops got their (already included) ECC functionality disabled should get hit with Googles (now 3y old) study on that topic all the day. Leaving customers in danger by not offering them a

Re: [RFC v3 12/13] vfs: add debugfs support

2012-10-15 Thread Zhi Yong Wu
On Mon, Oct 15, 2012 at 4:04 PM, Dave Chinner wrote: > On Wed, Oct 10, 2012 at 06:07:34PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Add a /sys/kernel/debug/hot_track// directory for each >> volume that contains two files. The first, `inode_data', contains the >> heat informa

Re: [PATCH] cpufreq: timer: Move tick-sched specific code outside of cpufreq governors

2012-10-15 Thread Michal Hocko
On Mon 15-10-12 14:11:53, Viresh Kumar wrote: > On 15 October 2012 14:05, Michal Hocko wrote: [...] > > I would suggest moving the common functionality into drivers/cpufreq/ > > (e.g. cpufreq_common.c). > > Initially i did that only, but then thought these routines must be present in > more gener

About reuse address space when __init func removed

2012-10-15 Thread Jianpeng Ma
Hi all, Today, I found some kernel message about memeleaking.As follows: unreferenced object 0x8800b6e6b980 (size 64): comm "modprobe", pid 1137, jiffies 4294676166 (age 7326.499s) hex dump (first 32 bytes): 01 04 01 00 00 00 00 00 00 00 98 b5 00 88 ff ff 0

Re: [GIT PULL] UAPI disintegration for include/linux/{,byteorder/}*.h

2012-10-15 Thread David Howells
Linus Torvalds wrote: > In the meantime, please fix the fact that "tools/perf" broke. Hmmm... I assumed that would've been built by allyesconfig... Apparently not. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kerne

Re: [PATCH] perf: Fix UAPI fallout

2012-10-15 Thread David Howells
Ingo Molnar wrote: > Arnaldo: the way we include some of the include files directly > into tools/perf/ .c files [such as hw_breakpoint.h] and > represent others transparently via utils/include/ [such as > rbtree.h] is a bit messy and ought to be cleaned up I suspect. I tried to make the USERI

Re: [Xen-devel] [PATCH V2 2/7]: PVH: use native irq, enable callback, use HVM ring ops, ...

2012-10-15 Thread Ian Campbell
On Fri, 2012-10-12 at 20:06 +0100, Mukesh Rathor wrote: > On Fri, 12 Oct 2012 09:52:17 +0100 > Ian Campbell wrote: > > > > drivers/xen/cpu_hotplug.c|4 +++- > > > drivers/xen/events.c |9 - > > > drivers/xen/xenbus/xenbus_client.c |3 ++- > > > 7

UAPI fdpic problems

2012-10-15 Thread Lars-Peter Clausen
Hi, I just tried to build 3.7-rc1 and hit some problems when trying to build the fdpic elf loader: fs/binfmt_elf_fdpic.c:60: warning: ‘struct elf_fdpic_params’ declared inside parameter list fs/binfmt_elf_fdpic.c:60: warning: its scope is only this definition or declaration, which is probably not

Re: [PATCH] add some drop_caches documentation and info messsge

2012-10-15 Thread Kamezawa Hiroyuki
(2012/10/12 21:57), Michal Hocko wrote: Hi, I would like to resurrect the following Dave's patch. The last time it has been posted was here https://lkml.org/lkml/2010/9/16/250 and there didn't seem to be any strong opposition. Kosaki was worried about possible excessive logging when somebody drop

[PATCH] pinctrl/nomadik: debugfs display of other alternate-C functions

2012-10-15 Thread Linus Walleij
From: Jean-Nicolas Graux In pinctrl debug pins file, enable display of AltCx functions. Signed-off-by: Jean-Nicolas Graux Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-nomadik.c | 45 +++ 1 file changed, 41 insertions(+), 4 deletions(-) diff --g

Re: [RFC PATCH] memcg: oom: fix totalpages calculation for swappiness==0

2012-10-15 Thread Kamezawa Hiroyuki
(2012/10/10 23:11), Michal Hocko wrote: Hi, I am sending the patch below as an RFC because I am not entirely happy about myself and maybe somebody can come up with a different approach which would be less hackish. As a background, I have noticed that memcg OOM killer kills a wrong tasks while pla

Re: [RFC PATCH 0/2] sched: Load Balancing using Per-entity-Load-tracking

2012-10-15 Thread preeti
Hi everyone, The past few weeks must have been very tight due to the merge window phase.Looks like it got through well :) I request you to comment on this patchset.Primarily because it forces us to look into the below scenario: Highly loaded sched groups does not mean too many tasks and less loa

Re: Linux 3.7-rc1 (uml uapi errors)

2012-10-15 Thread Alex Shi
Sorry, something in my side. the bisect result is unreliable. I will redo. On Mon, Oct 15, 2012 at 4:30 PM, richard -rw- weinberger wrote: > On Mon, Oct 15, 2012 at 6:16 AM, Alex Shi wrote: >>> >>> Building um (uml) for x86_64 (defconfig) has lots of errors like: >>> >>> In file included from in

Re: [PATCH] staging/comedi: Use dev_ printks in drivers/vmk80xx.c

2012-10-15 Thread Ian Abbott
On 2012/10/14 02:40 PM, YAMANE Toshiaki wrote: > fixed below checkpatch warning. > - Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to > printk(KERN_INFO ... > > Signed-off-by: YAMANE Toshiaki > --- > drivers/staging/comedi/drivers/vmk80xx.c | 14 +++--- > 1 f

Re: [PATCH 19/33] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-10-15 Thread Mel Gorman
On Mon, Oct 15, 2012 at 01:54:13PM +0530, Srikar Dronamraju wrote: > * Srikar Dronamraju [2012-10-13 23:36:18]: > > > > + > > > +bool numa_hinting_fault(struct page *page, int numpages) > > > +{ > > > + bool migrated = false; > > > + > > > + /* > > > + * "current->mm" could be different from the

[PATCH] unicore32: Use Kbuild infrastructure for kvm_para.h

2012-10-15 Thread Guan Xuetao
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. Cc: linux-kbu...@vger.kernel.org Signed-off-by: Steven Rostedt Signed-off-by: Guan Xuetao --- arch/unicore32/include/uapi/asm/Kbuild |2 ++ arch/unicore32/include/uapi/asm/kvm_para.h |1 -

[PATCH] tty: serial: 8250_dw: Implement suspend/resume

2012-10-15 Thread James Hogan
Implement suspend and resume callbacks for DesignWare 8250 driver. They're simple wrappers around serial8250_{suspend,resume}_port. Signed-off-by: James Hogan --- drivers/tty/serial/8250/8250_dw.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/d

Re: [RFC PATCH 3/3] USB: forbid memory allocation with I/O during bus reset if storage interface exits

2012-10-15 Thread Oliver Neukum
On Monday 15 October 2012 13:14:19 Ming Lei wrote: > If one storage interface exists in the device, memory allocation > with GFP_KERNEL during usb_device_reset() might trigger I/O transfer > on the storage interface itself and cause deadlock because the > 'us->dev_mutex' is held in .pre_reset() and

Re: [PATCH] usb: acm: fix the computation of the number of data bits

2012-10-15 Thread Oliver Neukum
On Sunday 14 October 2012 00:29:24 Nicolas Boullis wrote: > From: Nicolas Boullis > > The current code assumes that CSIZE is 060, which appears to be > wrong on some arches (such as powerpc). > > Signed-off-by: Nicolas Boullis Acked-by: Oliver Neukum -- To unsubscribe from this list: se

Re: [RFC PATCH] memcg: oom: fix totalpages calculation for swappiness==0

2012-10-15 Thread Michal Hocko
On Mon 15-10-12 18:11:24, KAMEZAWA Hiroyuki wrote: > (2012/10/10 23:11), Michal Hocko wrote: [...] > > From 445c2ced957cd77cbfca44d0e3f5056fed252a34 Mon Sep 17 00:00:00 2001 > >From: Michal Hocko > >Date: Wed, 10 Oct 2012 15:46:54 +0200 > >Subject: [PATCH] memcg: oom: fix totalpages calculation fo

Re: kswapd0: excessive CPU usage

2012-10-15 Thread Jiri Slaby
On 10/12/2012 03:57 PM, Mel Gorman wrote: > mm: vmscan: scale number of pages reclaimed by reclaim/compaction only in > direct reclaim > > Jiri Slaby reported the following: > > (It's an effective revert of "mm: vmscan: scale number of pages > reclaimed by reclaim/compaction based on

Re: Intel graphics drm issue?

2012-10-15 Thread Mark Hounschell
On 10/14/2012 04:40 PM, Bruno Prémont wrote: On Sun, 14 October 2012 Mark Hounschell wrote: I gave it a try. I don't think it liked my kernel cmdline. dmesg attached. There is a lot more in there now that nomodeset is gone and the debug is turned on. # ls -al /lib/firmware/edid/lg42lb9df.edid

Re: [PATCH] perf ui/browser: Fix off-by-two bug on the first column

2012-10-15 Thread Jiri Olsa
On Mon, Oct 15, 2012 at 11:33:58AM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > The commit 5395a04841fc ("perf hists: Separate overhead and baseline > columns") makes the "Overhead" column no more the first one. So it > resulted in the mis-aligned column in the normal (non-diff) output. >

Re: [PATCH 19/33] autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection

2012-10-15 Thread Srikar Dronamraju
* Mel Gorman [2012-10-15 10:20:44]: > On Mon, Oct 15, 2012 at 01:54:13PM +0530, Srikar Dronamraju wrote: > > * Srikar Dronamraju [2012-10-13 23:36:18]: > > > > > > + > > > > +bool numa_hinting_fault(struct page *page, int numpages) > > > > +{ > > > > + bool migrated = false; > > > > + > >

Re: Linux 3.7-rc1 (uml uapi errors)

2012-10-15 Thread Alex Shi
On Mon, Oct 15, 2012 at 5:18 PM, Alex Shi wrote: > Sorry, something in my side. the bisect result is unreliable. I will redo. Seems the patch-3.7-rc1.bz2 at ftp://www.kernel.org/pub/linux/kernel/ is missed some patches. but Linus' tree works fine. > > On Mon, Oct 15, 2012 at 4:30 PM, richard -r

[PATCH] xen/xenbus: silence GCC warning

2012-10-15 Thread Paul Bolle
Compiling xenbus_xs.o triggers this GCC warning: drivers/xen/xenbus/xenbus_xs.c:628:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes] Add the obvious and trivial fix. While we're touching this function add some equally obvious and trivial whitespace fixes. Signed-off

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

2012-10-15 Thread Tomas Winkler
kill useless mei_io_list list wrapper and use directly struct mei_cl_cb mei_cb which was its only member for managing io queues Signed-off-by: Tomas Winkler --- V2: drivers/misc/mei/init.c: line 689 was exidently removed V3: grrr, I cannot just put old line back. drivers/misc/mei/init.c |

[PATCH 0/5] staging: silicom: coding style fixes for bp_proc.c

2012-10-15 Thread Chad Williamson
This patch set corrects many of the coding style issues detected by checkpatch.pl in bp_proc.c. Chad Williamson (5): staging: silicom: fix whitespace in bp_proc.c staging: silicom: fix C99 comments in bp_proc.c staging: silicom: remove parentheses from return statements in bg_proc.c stagin

[PATCH 1/5] staging: silicom: fix whitespace in bp_proc.c

2012-10-15 Thread Chad Williamson
Remove superfluous spaces in bp_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/silicom/bp_proc.c ind

[PATCH 2/5] staging: silicom: fix C99 comments in bp_proc.c

2012-10-15 Thread Chad Williamson
Fix C99 // comments in bp_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/silicom/bp_proc.c index f7b4699..4

[PATCH 3/5] staging: silicom: remove parentheses from return statements in bg_proc.c

2012-10-15 Thread Chad Williamson
Remove unnecessary parentheses from return statements in bg_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/si

[PATCH 4/5] staging: silicom: remove unnecessary braces in bp_proc.c

2012-10-15 Thread Chad Williamson
Remove unnecessary braces from single statement blocks in bp_proc.c, resolving checkpatch.pl warnings. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 58 +-- 1 file changed, 19 insertions(+), 39 deletions(-) diff --git a/drivers/stagin

[PATCH 5/5] staging: silicom: fix explicit intialization of procfs_dir in bp_proc.c

2012-10-15 Thread Chad Williamson
Remove explicit intialization of static procfs_dir to NULL, resolving a checkpatch.pl error. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/silicom/bp_pr

Re: [PATCHv4] Input: keypad: Add smsc ece1099 keypad driver

2012-10-15 Thread Sourav
Hi Dmitry, On Friday 05 October 2012 12:56 PM, Sourav Poddar wrote: From: G, Manjunath Kondaiah SMSC ECE1099 is a keyboard scan or GPIO expansion device.The device supports a keypad scan matrix of 23*8.This driver uses this device as a keypad driver. Tested on omap5430 evm with 3.6-rc6 custom

Re: PROBLEM: Ali m5602 won't compile (3.4.9-gentoo)

2012-10-15 Thread Ezequiel Garcia
On Sun, Oct 14, 2012 at 11:39 AM, Yuriy Davygora wrote: > Hello, > > I have trouble compiling the 3.4.9 kernel with genkernel (gentoo) > having enabled the Ali Corp webcam (m5602) driver. > > Here's the output of the ver_linux script: > > = > > yuriy-newlaptop

PROBLEM: Ali m5602 won't compile (3.4.9-gentoo)

2012-10-15 Thread Ezequiel Garcia
On Sun, Oct 14, 2012 at 11:39 AM, Yuriy Davygora wrote: > Hello, > > I have trouble compiling the 3.4.9 kernel with genkernel (gentoo) > having enabled the Ali Corp webcam (m5602) driver. > > Here's the output of the ver_linux script: > > = > > yuriy-newlaptop

[PATCH] staging/comedi: Use dev_ printks in drivers/vmk80xx.c

2012-10-15 Thread YAMANE Toshiaki
fixed below checkpatch warning. - Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/vmk80xx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/driv

[PATCH] mm: vmscan: scale number of pages reclaimed by reclaim/compaction only in direct reclaim

2012-10-15 Thread Mel Gorman
Jiri Slaby reported the following: (It's an effective revert of "mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures".) Given kswapd had hours of runtime in ps/top output yesterday in the morning and after the revert it's now 2 minute

Re: kswapd0: excessive CPU usage

2012-10-15 Thread Mel Gorman
On Mon, Oct 15, 2012 at 11:54:13AM +0200, Jiri Slaby wrote: > On 10/12/2012 03:57 PM, Mel Gorman wrote: > > mm: vmscan: scale number of pages reclaimed by reclaim/compaction only in > > direct reclaim > > > > Jiri Slaby reported the following: > > > > (It's an effective revert of "mm: vmscan

Re: [PATCH 03/31] sections: Fix section conflicts in arch/frv

2012-10-15 Thread David Howells
Andi Kleen wrote: > Does this fix it? -Andi Works for me. I've added it to my FRV fixup patches. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.

Re: [PATCH 9/9] ARM: add uprobes support

2012-10-15 Thread Dave Martin
On Sun, Oct 14, 2012 at 09:23:13PM +0200, Rabin Vincent wrote: > Add basic uprobes support for ARM. > > perf probe --exec and SystemTap's userspace probing work. The ARM > kprobes test code has also been run in a userspace harness to test the > uprobe instruction decoding. The assumption that th

[PATCH 2/8] pstore: add debugfs support for causing dumps and panics

2012-10-15 Thread dragos . tatulea
From: Adrian Hunter There are 2 debugfs files: pstore/dump writing a kmsg dump reason code will cause a dump to persistent storage pstore/panicwriting anything will cause a panic Signed-off-by: Adri

[PATCH 4/8] pstore: allow storing different type id's in ram backend

2012-10-15 Thread dragos . tatulea
From: Dragos Tatulea Added pstore_type_id in message header when storing to ram. On write, take into account the contents of this header and set the type accordingly. Signed-off-by: Dragos Tatulea -- fs/pstore/ram.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) d

[PATCH 6/8] pstore: do not run timer while pstore is not mounted

2012-10-15 Thread dragos . tatulea
From: Adrian Hunter A timer is used to periodically check for new dumps. The timer is not needed unless pstore is mounted, so disable it otherwise. Signed-off-by: Adrian Hunter -- fs/pstore/inode.c|3 +++ fs/pstore/internal.h |2 ++ fs/pstore/platform.c | 36 +

[PATCH 5/8] pstore: add task list dumper

2012-10-15 Thread dragos . tatulea
From: Dragos Tatulea The task dumper can dump task information during a panic. This is equivalent to a magic sysrq 't' command but the result is captured from the console and written to persistent storage. Note that this happens after pstore dumps kernel messages because the task dump will overw

[PATCH 7/8] pstore: make sure pstore_write exists on flush error

2012-10-15 Thread dragos . tatulea
From: Dragos Tatulea Return error if flushing to backend failed. Signed-off-by: Dragos Tatulea -- fs/pstore/platform.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 3a4c38f..25f59ed 100644 -- a/fs/pstore/platfor

[PATCH 8/8] pstore: max out console log level during sysfs dump switch

2012-10-15 Thread dragos . tatulea
From: Dragos Tatulea Otherwise we might miss out on some pstore dumpers that use printks below current log level. Signed-off-by: Dragos Tatulea -- fs/pstore/platform.c |4 1 file changed, 4 insertions(+) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 25f59ed..e3ad13e

[PATCH 6/8] pstore: do not run timer while pstore is not mounted

2012-10-15 Thread dragos . tatulea
From: Adrian Hunter A timer is used to periodically check for new dumps. The timer is not needed unless pstore is mounted, so disable it otherwise. Signed-off-by: Adrian Hunter --- fs/pstore/inode.c|3 +++ fs/pstore/internal.h |2 ++ fs/pstore/platform.c | 36

  1   2   3   4   5   6   7   >