Re: [dm-devel] Regression in 3.15 on POWER8 with multipath SCSI

2014-07-09 Thread Junichi Nomura
On 07/09/14 12:55, Alexey Kardashevskiy wrote: > On 07/08/2014 08:28 PM, Junichi Nomura wrote: >> It seems Bart's issue has gone with the attached patch: >> http://www.redhat.com/archives/dm-devel/2014-July/msg00035.html >> Could you try if it makes any difference on your issue? .. > This patch fix

Re: [PATCH tty-next 14/22] tty: Remove tty_wait_until_sent_from_close()

2014-07-09 Thread Peter Hurley
On 06/17/2014 07:32 AM, Peter Hurley wrote: On 06/17/2014 07:03 AM, David Laight wrote: From: Peter Hurley ... I don't understand the second half of the changelog, it doesn't seem to fit here: there deadlock that we are trying to avoid here happens when the *same* tty needs the lock to complete

Re: [PATCH 1/3] PCI/MSI: Add pci_enable_msi_partial()

2014-07-09 Thread Bjorn Helgaas
On Tue, Jul 8, 2014 at 6:26 AM, Alexander Gordeev wrote: > On Mon, Jul 07, 2014 at 01:40:48PM -0600, Bjorn Helgaas wrote: >> >> Can you quantify the benefit of this? Can't a device already use >> >> MSI-X to request exactly the number of vectors it can use? (I know >> > >> > A Intel AHCI chipset

Re: [PATCH] powernv: Add OPAL tracepoints

2014-07-09 Thread Paul E. McKenney
On Thu, Jul 03, 2014 at 05:20:50PM +1000, Anton Blanchard wrote: > Knowing how long we spend in firmware calls is an important part of > minimising OS jitter. > > This patch adds tracepoints to each OPAL call. If tracepoints are > enabled we branch out to a common routine that calls an entry and e

[PATCH] powerpc: Fail remap_4k_pfn() if PFN doesn't fit inside PTE

2014-07-09 Thread Madhusudanan Kandasamy
remap_4k_pfn() silently truncates upper bits of input 4K PFN if it cannot be contained in PTE. This leads invalid memory mapping and could result in a system crash when the memory is accessed. This patch fails remap_4k_pfn() and returns -EINVAL if the input 4K PFN cannot be contained in PTE. Used

Re: [PATCH] powerpc: Fail remap_4k_pfn() if PFN doesn't fit inside PTE

2014-07-09 Thread Stephen Rothwell
Hi Madhusudanan, On Wed, 09 Jul 2014 21:38:31 +0530 Madhusudanan Kandasamy wrote: > > diff --git a/arch/powerpc/include/asm/pte-hash64-64k.h > b/arch/powerpc/include/asm/pte-hash64-64k.h > index d836d94..10af7f1 100644 > --- a/arch/powerpc/include/asm/pte-hash64-64k.h > +++ b/arch/powerpc/inclu

Re: [PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-07-09 Thread Greg Kroah-Hartman
On Wed, Jun 25, 2014 at 06:30:37PM +0100, Sudeep Holla wrote: > +static const struct device_attribute *cache_optional_attrs[] = { > + &dev_attr_coherency_line_size, > + &dev_attr_ways_of_associativity, > + &dev_attr_number_of_sets, > + &dev_attr_size, > + &dev_attr_attributes, >

[PATCH] powerpc/pseries: dynamically added OF nodes need to call of_node_init

2014-07-09 Thread Tyrel Datwyler
Commit 75b57ecf9 refactored device tree nodes to use kobjects such that they can be exposed via /sysfs. A secondary commit 0829f6d1f furthered this rework by moving the kobect initialization logic out of of_node_add into its own of_node_init function. The inital commit removed the existing kref_ini

[PATCH 1/9] powerpc: Drop support for pre-POWER4 cpus

2014-07-09 Thread Michael Ellerman
We inadvertently broke power3 support back in 3.4 with commit f5339277eb8d "powerpc: Remove FW_FEATURE ISERIES from arch code". No one noticed until at least 3.9. By then we'd also broken it with the optimised memcpy, copy_to/from_user and clear_user routines. We don't want to add any more complex

[PATCH 2/9] powerpc: Remove STAB code

2014-07-09 Thread Michael Ellerman
Old cpus didn't have a Segment Lookaside Buffer (SLB), instead they had a Segment Table (STAB). Now that we've dropped support for those cpus, we can remove the STAB support entirely. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/mmu-hash64.h | 22 --- arch/powerpc/include/asm/m

[PATCH 3/9] powerpc: Remove MMU_FTR_SLB

2014-07-09 Thread Michael Ellerman
We now only support cpus that use an SLB, so we don't need an MMU feature to indicate that. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/cputable.h| 3 +-- arch/powerpc/include/asm/mmu.h | 8 ++-- arch/powerpc/include/asm/mmu_context.h | 3 +-- arch/powerpc/kernel

[PATCH 4/9] powerpc: Pull out ksp_vsid logic into a helper

2014-07-09 Thread Michael Ellerman
The previous patch left a bit of a wart in copy_process(). Clean it up a bit by moving the logic out into a helper. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/process.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/arch/powerp

[PATCH 5/9] powerpc: Remove CONFIG_POWER3

2014-07-09 Thread Michael Ellerman
Now that we have dropped power3 support we can remove CONFIG_POWER3. The usage in pgtable_32.c was already dead code as CONFIG_POWER3 was not selectable on PPC32. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/cputable.h| 3 +-- arch/powerpc/mm/pgtable_32.c | 2 +- ar

[PATCH 6/9] powerpc: Remove oprofile RS64 support

2014-07-09 Thread Michael Ellerman
We no longer support these cpus, so we don't need oprofile support for them either. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/oprofile_impl.h | 1 - arch/powerpc/oprofile/Makefile | 2 +- arch/powerpc/oprofile/common.c | 3 - arch/powerpc/oprofile/op_

[PATCH 7/9] powerpc: Remove power3 from comments

2014-07-09 Thread Michael Ellerman
There are still a few occurences where it remains, because it helps to explain something that persists. Signed-off-by: Michael Ellerman --- arch/powerpc/lib/copyuser_64.S | 3 +-- arch/powerpc/mm/mmu_context_hash32.c | 2 +- arch/powerpc/mm/ppc_mmu_32.c | 2 +- 3 files changed, 3 i

[PATCH 8/9] powerpc: Remove CONFIG_POWER4

2014-07-09 Thread Michael Ellerman
Although the name CONFIG_POWER4 suggests that it controls support for power4 cpus, this symbol is actually misnamed. It is a historical wart from the powermac code, which used to support building a 32-bit kernel for power3. CONFIG_POWER4 was used in that context to guard code that was 64-bit only.

[PATCH 9/9] powerpc: Move CLASSIC_PPC into Kconfig and rename

2014-07-09 Thread Michael Ellerman
We have a strange #define in cputable.h called CLASSIC_PPC. It is true when no other more modern platform is defined, and indicates that we're building for a "classic" platform. Although it is defined for 32 & 64bit, it's only used for 32bit. So for starters, rename it to indicate that. There's al

Re: [PATCH] powerpc/pseries: dynamically added OF nodes need to call of_node_init

2014-07-09 Thread Michael Ellerman
On Wed, 2014-07-09 at 21:20 -0400, Tyrel Datwyler wrote: > Commit 75b57ecf9 refactored device tree nodes to use kobjects such that they > can be exposed via /sysfs. A secondary commit 0829f6d1f furthered this rework > by moving the kobect initialization logic out of of_node_add into its own > of_no