[PATCH v4 01/10] thp: huge zero page: basic preparation

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Huge zero page (hzp) is a non-movable huge page (2M on x86-64) filled with zeros. For now let's allocate the page on hugepage_init(). We'll switch to lazy allocation later. We are not going to map the huge zero page until we can handle it

[PATCH v4 09/10] thp: lazy huge zero page allocation

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Instead of allocating huge zero page on hugepage_init() we can postpone it until first huge zero page map. It saves memory if THP is not in use. cmpxchg() is used to avoid race on huge_zero_pfn initialization. Signed-off-by: Kirill A.

[PATCH v4 07/10] thp: implement splitting pmd for huge zero page

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com We can't split huge zero page itself (and it's bug if we try), but we can split the pmd which points to it. On splitting the pmd we create a table with all ptes set to normal zero page. Signed-off-by: Kirill A. Shutemov

[PATCH v4 08/10] thp: setup huge zero page on non-write page fault

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com All code paths seems covered. Now we can map huge zero page on read page fault. We setup it in do_huge_pmd_anonymous_page() if area around fault address is suitable for THP and we've got read page fault. If we fail to setup huge zero page

[PATCH v4 05/10] thp: change_huge_pmd(): keep huge zero page write-protected

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com We want to get page fault on write attempt to huge zero page, so let's keep it write-protected. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c |2 ++ 1 files changed, 2 insertions(+), 0

[PATCH v4 00/10, REBASED] Introduce huge zero page

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Hi, Andrew, here's huge zero page patchset rebased to v3.7-rc1. Andrea, I've dropped your Reviewed-by due not-so-trivial conflicts in during rebase. Could you look through it again. Patches 2, 3, 4, 7, 10 had conflicts. Mostly due new MMU

[PATCH v4 02/10] thp: zap_huge_pmd(): zap huge zero pmd

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com We don't have a real page to zap in huge zero page case. Let's just clear pmd and remove it from tlb. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c | 21 + 1 files changed, 13

[PATCH v4 10/10] thp: implement refcounting for huge zero page

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com H. Peter Anvin doesn't like huge zero page which sticks in memory forever after the first allocation. Here's implementation of lockless refcounting for huge zero page. We have two basic primitives: {get,put}_huge_zero_page(). They

[PATCH v4 06/10] thp: change split_huge_page_pmd() interface

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com Pass vma instead of mm and add address parameter. In most cases we already have vma on the stack. We provides split_huge_page_pmd_mm() for few cases when we have mm, but not vma. This change is preparation to huge zero pmd splitting

[PATCH v4 04/10] thp: do_huge_pmd_wp_page(): handle huge zero page

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com On write access to huge zero page we alloc a new huge page and clear it. If ENOMEM, graceful fallback: we create a new pmd table and set pte around fault address to newly allocated normal (4k) page. All other ptes in the pmd set to normal

[PATCH v4 03/10] thp: copy_huge_pmd(): copy huge zero page

2012-10-15 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com It's easy to copy huge zero page. Just set destination pmd to huge zero page. It's safe to copy huge zero page since we have none yet :-p Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c | 17

[PATCH] perf/x86: Avoid kfree() in CPU_{STARTING,DYING}

2012-10-15 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com On -rt kfree() can schedule, but CPU_{STARTING,DYING} should be atomic. So use a list to defer kfree until CPU_{ONLINE,DEAD}. Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 27 ---

[PATCH] powerpc: added DSCR support to ptrace

2012-10-15 Thread Alexey Kardashevskiy
The DSCR (aka Data Stream Control Register) is supported on some server PowerPC chips and allow some control over the prefetch of data streams. The kernel already supports DSCR value per thread but there is also a need in a ability to change it from an external process for the specific pid. The

Re: [PATCH] base: power - use clk_prepare_enable and clk_prepare_disable

2012-10-15 Thread Rafael J. Wysocki
On Thursday 20 of September 2012 11:39:36 Murali Karicheri wrote: When PM runtime is enabled in DaVinci and the machine migrates to common clk framework, the clk_enable() gets called without clk_prepare(). This patch is to fix this issue so that PM run time can inter work with common clk

[GIT PULL] sh updates for 3.7-rc2

2012-10-15 Thread Paul Mundt
The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) are available in the git repository at: git://github.com/pmundt/linux-sh tags/sh-for-linus for you to fetch changes up to 0dd4d5cbe4c38165dc9b3ad329ebb23f24d74fdb: sh:

Re: [PATCH] power: replace strict_str* with kstrto*

2012-10-15 Thread Rafael J. Wysocki
On Thursday 27 of September 2012 14:31:56 Pavel Machek wrote: On Wed 2012-09-26 22:15:06, Daniel Walter wrote: power: replace strict_strtoul with kstrtoul Signed-off-by: Daniel Walter sa...@0x90.at ACK. Thanks! I'll queue it up for v3.8 when I get back home from the current trip.

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 d...@gnu.org I'll

[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

[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 indou.ta...@jp.fujitsu.com --- arch/x86/include/asm/pci-direct.h |1 arch/x86/kernel/setup.c |3 arch/x86/pci/early.c | 344

[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

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,

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,

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 gnehzuil@gmail.com 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

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 gnehzuil@gmail.com wrote: On Wed, Oct 10, 2012 at 06:07:22PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com NOTE: The patchset is currently post out mainly to make sure it is going in the correct direction and

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 thierry.red...@avionic-design.de ---

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.

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 matt.flem...@intel.com wrote: On Thu, 2012-10-04 at 11:01 +0100, Jan Beulich wrote: On 04.10.12 at 11:18, Matt Fleming matt.flem...@intel.com 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

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 hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com 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); +

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

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 hein_tibo...@yahoo.es wrote: From: Hein Tibosch hein_tibo...@yahoo.es The dw_dmac was originally developed for avr32 to be used

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

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 andriy.shevche...@linux.intel.com wrote: + if (last_dw) { + if ((last_bus_id == param) (last_dw == dw)) + return false; + } Just came to my mind.

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 thierry.red...@avionic-design.de Acked-by: Wolfram Sang

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 longx.zh...@intel.com 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

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 wu...@linux.vnet.ibm.com 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.

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

2012-10-15 Thread David Howells
Linus Torvalds torva...@linux-foundation.org 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,

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;

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 wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The first, `inode_data', contains the heat information for inodes that have

[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 sj38.p...@gmail.com --- 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

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(), so the

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

2012-10-15 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com 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

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 da...@fromorbit.com wrote: On Wed, Oct 10, 2012 at 06:07:33PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com FS_IOC_GET_HEAT_INFO: return a struct containing the various metrics collected in btrfs_freq_data

[PATCHv7 0/4] virtio_console: Add rproc_serial driver

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com 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

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

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com 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

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

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com 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

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

2012-10-15 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com 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

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

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

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 wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The first, `inode_data', contains the heat information for inodes that have

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 andriy.shevche...@intel.com wrote: On Fri, 2012-10-12 at 23:31 +0530, Viresh Kumar wrote: + while (_sz--) \ + *_out++ = (_type)be32_to_cpup(_val++); \ How about

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

2012-10-15 Thread Daniel Vetter
Hi Gregstable-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

[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

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

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 da...@fromorbit.com wrote: On Wed, Oct 10, 2012 at 06:07:34PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The

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 mho...@suse.cz 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.

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

2012-10-15 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org 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

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

2012-10-15 Thread Srikar Dronamraju
* Srikar Dronamraju sri...@linux.vnet.ibm.com [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

[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 tomas.wink...@intel.com --- V2: drivers/misc/mei/init.c: line 689 was exidently removed drivers/misc/mei/init.c | 31 +++---

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 lkml.a...@gmail.com 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

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 rdun...@xenotime.net 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

[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

[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.

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, maybe

[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 keeping

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

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 mho...@suse.cz 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

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

2012-10-15 Thread Levan Giguashvili
From: Odinn odinn@ubuntu.(none) 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 levan...@gmail.com --- init/main.c | 52

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 at

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 da...@fromorbit.com wrote: On Wed, Oct 10, 2012 at 06:07:34PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. 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 14:11:53, Viresh Kumar wrote: On 15 October 2012 14:05, Michal Hocko mho...@suse.cz 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

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 00

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

2012-10-15 Thread David Howells
Linus Torvalds torva...@linux-foundation.org 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

Re: [PATCH] perf: Fix UAPI fallout

2012-10-15 Thread David Howells
Ingo Molnar mi...@kernel.org 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

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 ian.campb...@citrix.com wrote: drivers/xen/cpu_hotplug.c|4 +++- drivers/xen/events.c |9 - drivers/xen/xenbus/xenbus_client.c |3

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

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

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

2012-10-15 Thread Linus Walleij
From: Jean-Nicolas Graux jean-nicolas.gr...@stericsson.com In pinctrl debug pins file, enable display of AltCx functions. Signed-off-by: Jean-Nicolas Graux jean-nicolas.gr...@stericsson.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/pinctrl-nomadik.c | 45

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

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

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 richard.weinber...@gmail.com wrote: On Mon, Oct 15, 2012 at 6:16 AM, Alex Shi lkml.a...@gmail.com wrote: Building um (uml) for x86_64 (defconfig) has lots of

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 yamaneto...@gmail.com --- drivers/staging/comedi/drivers/vmk80xx.c | 14

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 sri...@linux.vnet.ibm.com [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 rost...@goodmis.org Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn --- arch/unicore32/include/uapi/asm/Kbuild |2 ++

[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 james.ho...@imgtec.com --- drivers/tty/serial/8250/8250_dw.c | 25 + 1 files changed, 25 insertions(+), 0

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 the

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 nboul...@debian.org The current code assumes that CSIZE is 060, which appears to be wrong on some arches (such as powerpc). Signed-off-by: Nicolas Boullis nboul...@debian.org Acked-by: Oliver Neukum

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 mho...@suse.cz Date: Wed, 10 Oct 2012 15:46:54 +0200 Subject: [PATCH] memcg: oom: fix totalpages

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 dma...@cfl.rr.com 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

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 namhyung@lge.com 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

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

2012-10-15 Thread Srikar Dronamraju
* Mel Gorman m...@csn.ul.ie [2012-10-15 10:20:44]: On Mon, Oct 15, 2012 at 01:54:13PM +0530, Srikar Dronamraju wrote: * Srikar Dronamraju sri...@linux.vnet.ibm.com [2012-10-13 23:36:18]: + +bool numa_hinting_fault(struct page *page, int numpages) +{ + bool migrated =

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 lkml.a...@gmail.com 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

[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.

[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 tomas.wink...@intel.com --- V2: drivers/misc/mei/init.c: line 689 was exidently removed V3: grrr, I cannot just put old line back.

[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

[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 c...@dahc.us --- drivers/staging/silicom/bp_proc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c

[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 c...@dahc.us --- 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

[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 c...@dahc.us --- drivers/staging/silicom/bp_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c

[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 c...@dahc.us --- drivers/staging/silicom/bp_proc.c | 58 +-- 1 file changed, 19 insertions(+), 39 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >