Re: [PATCH v2] Make hard_irq_disable() actually hard-disable interrupts

2012-06-15 Thread Benjamin Herrenschmidt
On Fri, 2012-06-15 at 14:51 +1000, Paul Mackerras wrote: At present, hard_irq_disable() does nothing on powerpc because of this code in include/linux/interrupt.h: #ifndef hard_irq_disable #define hard_irq_disable() do { } while(0) #endif So we need to make our hard_irq_disable be a

[PATCH] common: dma-mapping: add support for generic dma_mmap_* calls

2012-06-15 Thread Marek Szyprowski
Commit 9adc5374 ('common: dma-mapping: introduce mmap method') added a generic method for implementing mmap user call to dma_map_ops structure. This patch converts ARM and PowerPC architectures (the only providers of dma_mmap_coherent/dma_mmap_writecombine calls) to use this generic dma_map_ops

[GIT PULL] Please pull a powerpc fix

2012-06-15 Thread Paul Mackerras
Linus, The following changes since commit cfaf025112d3856637ff34a767ef785ef5cf2ca9: Linux 3.5-rc2 (2012-06-08 18:40:09 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git tags/for-linus for you to fetch changes up to

[MPC5200] using GPT's for interrupts

2012-06-15 Thread Albrecht Dre�
Hi all, I currently try to use a MPC5200B GPT as interrupt source, which according to the comment at the start of arch/powerpc/platforms/52xx/mpc52xx_gpt.c is possible if the interrupt-controller and #interrupt-cells = 1 properties are added to the device tree node. Apparently, /some/ work

[PATCH 1/7][TRIVIAL][resend] powerpc: cleanup kernel-doc warning

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com Warning(arch/powerpc/kernel/pci_of_scan.c:210): Excess function parameter 'node' description in 'of_scan_pci_bridge' Warning(arch/powerpc/kernel/vio.c:636): No description found for parameter 'desired' Warning(arch/powerpc/kernel/vio.c:636): Excess

[PATCH 2/7][TRIVIAL][resend] x86/kernel: cleanup some kernel-doc warnings

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com Warning(arch/x86/kernel/kgdb.c:465): No description found for parameter 'e_vector' Warning(arch/x86/kernel/kgdb.c:465): No description found for parameter 'remcomInBuffer' Warning(arch/x86/kernel/kgdb.c:465): No description found for parameter

[PATCH 3/7][TRIVIAL][resend] drivers/pci: cleanup kernel-doc warning

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com Warning(drivers/pci/setup-bus.c:277): No description found for parameter 'fail_head' Warning(drivers/pci/setup-bus.c:277): Excess function parameter 'failed_list' description in 'assign_requested_resources_sorted' Signed-off-by: Wanpeng Li

[PATCH 4/7][TRIVIAL][resend] mm: cleanup on the comments of zone_reclaim_stat

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com Signed-off-by: Wanpeng Li liwp.li...@gmail.com Acked-by: Minchan Kim minc...@kernel.org --- include/linux/mmzone.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index

[PATCH 5/7][TRIVIAL][resend] mm: cleanup kernel-doc warnings

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com fix kernel-doc warnings just like this one: Warning(../mm/page_cgroup.c:432): No description found for parameter 'id' Warning(../mm/page_cgroup.c:432): Excess function parameter 'mem' description in 'swap_cgroup_record' Signed-off-by: Wanpeng Li

[PATCH 6/7][TRIVIAL][resend] mm: cleanup page reclaim comment error

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com Since there are five lists in LRU cache, the array nr in get_scan_count should be: nr[0] = anon inactive pages to scan; nr[1] = anon active pages to scan nr[2] = file inactive pages to scan; nr[3] = file active pages to scan Signed-off-by: Wanpeng Li

[PATCH 7/7] mm/memory.c : cleanup the coding style issue

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com Signed-off-by: Wanpeng Li liwp.li...@gmail.com --- mm/memory.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index 1b7dc66..195d6e1 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -2447,7 +2447,8 @@

[PATCH 0/7][TRIVIAL][resend] trivial patches

2012-06-15 Thread Wanpeng Li
From: Wanpeng Li l...@linux.vnet.ibm.com Since these patches has already send more than one week and doesn't get any response, I collect them and send out a patch set. Wanpeng Li (7) powerpc: cleanup some kernel doc warning x86/kernel: cleanup some kernel doc warning drivers/pci: cleanup

Questions on Hugetlb for bookE and PHYS_64BIT

2012-06-15 Thread telenn barz
Hi all, CONFIG_PHYS_64BIT enables kernel support for larger than 32-bit physical addresses. Is it this configuration option we have to enable for the support of 36-bit real memory (as are capable the Freescale e500v2 or e500mc cores family) ? The Hugetlb patch for BookE (

Re: [PATCH 6/7][TRIVIAL][resend] mm: cleanup page reclaim comment error

2012-06-15 Thread Johannes Weiner
On Fri, Jun 15, 2012 at 09:19:45PM +0800, Wanpeng Li wrote: From: Wanpeng Li l...@linux.vnet.ibm.com Since there are five lists in LRU cache, the array nr in get_scan_count should be: nr[0] = anon inactive pages to scan; nr[1] = anon active pages to scan nr[2] = file inactive pages to

Re: [PATCH 2/2] powerpc/e6500: TLB miss handler with hardware tablewalk support

2012-06-15 Thread Scott Wood
On 06/14/2012 08:05 PM, Benjamin Herrenschmidt wrote: - It has threads, but no tlbsrx. -- so we need a spinlock and a normal tlbsx. Because we need this lock, hardware tablewalk is mandatory on e6500 unless we want to add spinlock+tlbsx to the normal bolted TLB miss handler.

Re: Questions on Hugetlb for bookE and PHYS_64BIT

2012-06-15 Thread Scott Wood
On 06/15/2012 09:43 AM, telenn barz wrote: Hi all, CONFIG_PHYS_64BIT enables kernel support for larger than 32-bit physical addresses. Is it this configuration option we have to enable for the support of 36-bit real memory (as are capable the Freescale e500v2 or e500mc cores family) ? Yes.

Re: [PATCH 7/7] mm/memory.c : cleanup the coding style issue

2012-06-15 Thread KOSAKI Motohiro
diff --git a/mm/memory.c b/mm/memory.c index 1b7dc66..195d6e1 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd, return same; } -static inline void cow_user_page(struct page *dst, struct page *src,

Re: [PATCH 2/2] powerpc/e6500: TLB miss handler with hardware tablewalk support

2012-06-15 Thread Benjamin Herrenschmidt
On Fri, 2012-06-15 at 11:50 -0500, Scott Wood wrote: On 06/14/2012 08:05 PM, Benjamin Herrenschmidt wrote: - It has threads, but no tlbsrx. -- so we need a spinlock and a normal tlbsx. Because we need this lock, hardware tablewalk is mandatory on e6500 unless we want to add

FW: [PATCH 0/3] powerpc/mpic: Enhancements for FSL MPIC.

2012-06-15 Thread Sethi Varun-B16395
Hi Kumar, If possible could you please review this patch set. Regards Varun -Original Message- From: Sethi Varun-B16395 Sent: Sunday, June 03, 2012 1:11 PM To: linuxppc-dev@lists.ozlabs.org Cc: Sethi Varun-B16395 Subject: [PATCH 0/3] powerpc/mpic: Enhancements for FSL MPIC. This

Re: [driver-core:driver-core-linus 6/6] drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_rewind': (.text+0x18): multiple definition of `kmsg_dump_rewind'

2012-06-15 Thread Stephen Rothwell
Hi, On Sat, 16 Jun 2012 08:02:55 +0800 w...@linux.intel.com wrote: Kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus head: e2ae715d66bf4becfb85eb84b7150e23cf27df30 commit: e2ae715d66bf4becfb85eb84b7150e23cf27df30 [6/6]

Re: [driver-core:driver-core-linus 6/6] drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_rewind': (.text+0x18): multiple definition of `kmsg_dump_rewind'

2012-06-15 Thread Greg Kroah-Hartman
On Sat, Jun 16, 2012 at 09:16:46AM +0800, Fengguang Wu wrote: Hi list, I'm sorry if this pile of build errors disturbed you too much. If the error notification is too permissive, I can limit it in two ways: 1) only notify build errors on the first kconfig. There may be a few new error

Re: [driver-core:driver-core-linus 6/6] drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_rewind': (.text+0x18): multiple definition of `kmsg_dump_rewind'

2012-06-15 Thread Fengguang Wu
Hi Stephen, On Sat, Jun 16, 2012 at 11:15:50AM +1000, Stephen Rothwell wrote: Hi, On Sat, 16 Jun 2012 08:02:55 +0800 w...@linux.intel.com wrote: Kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus head: