[git pull] Please pull powerpc.git merge branch

2014-07-27 Thread Benjamin Herrenschmidt
Hi Linus !

Here are 3 more small powerpc fixes that should still go into .16.
One is a recent regression (MMCR2 business), the other is a trivial
endian fix without which FW updates won't work on LE in IBM machines,
and the 3rd one turns a BUG_ON into a WARN_ON which is definitely
a LOT more friendly especially when the whole thing is about retrieving
error logs ...

Cheers,
Ben.

The following changes since commit 6f5405bc2ee0102bb3856e2cdea64ff415db2e0c:

  powerpc: use _GLOBAL_TOC for memmove (2014-07-22 15:56:04 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 396a34340cdf7373c00e3977db27d1a20ea65ebc:

  powerpc: Fix endianness of flash_block_list in rtas_flash (2014-07-28 
11:30:54 +1000)


Michael Ellerman (1):
  powerpc/perf: Fix MMCR2 handling for EBB

Thomas Falcon (1):
  powerpc: Fix endianness of flash_block_list in rtas_flash

Vasant Hegde (1):
  powerpc/powernv: Change BUG_ON to WARN_ON in elog code

 arch/powerpc/kernel/rtas_flash.c   | 6 --
 arch/powerpc/perf/core-book3s.c| 6 +++---
 arch/powerpc/platforms/powernv/opal-elog.c | 4 ++--
 3 files changed, 9 insertions(+), 7 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-07-27 Thread Benjamin Herrenschmidt
Hi Linus !

Here are 3 more small powerpc fixes that should still go into .16.
One is a recent regression (MMCR2 business), the other is a trivial
endian fix without which FW updates won't work on LE in IBM machines,
and the 3rd one turns a BUG_ON into a WARN_ON which is definitely
a LOT more friendly especially when the whole thing is about retrieving
error logs ...

Cheers,
Ben.

The following changes since commit 6f5405bc2ee0102bb3856e2cdea64ff415db2e0c:

  powerpc: use _GLOBAL_TOC for memmove (2014-07-22 15:56:04 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 396a34340cdf7373c00e3977db27d1a20ea65ebc:

  powerpc: Fix endianness of flash_block_list in rtas_flash (2014-07-28 
11:30:54 +1000)


Michael Ellerman (1):
  powerpc/perf: Fix MMCR2 handling for EBB

Thomas Falcon (1):
  powerpc: Fix endianness of flash_block_list in rtas_flash

Vasant Hegde (1):
  powerpc/powernv: Change BUG_ON to WARN_ON in elog code

 arch/powerpc/kernel/rtas_flash.c   | 6 --
 arch/powerpc/perf/core-book3s.c| 6 +++---
 arch/powerpc/platforms/powernv/opal-elog.c | 4 ++--
 3 files changed, 9 insertions(+), 7 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-07-22 Thread Benjamin Herrenschmidt
Hi Linus !

Here is a handful of powerpc fixes for 3.16. They are all pretty
simple and self contained and should still make this release.

Cheers,
Ben.

The following changes since commit f56029410a13cae3652d1f34788045c40a13ffc7:

  powerpc/perf: Never program book3s PMCs with values >= 0x8000 (2014-07-11 
13:50:47 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 6f5405bc2ee0102bb3856e2cdea64ff415db2e0c:

  powerpc: use _GLOBAL_TOC for memmove (2014-07-22 15:56:04 +1000)


Aneesh Kumar K.V (1):
  powerpc: subpage_protect: Increase the array size to take care of 64TB

Joel Stanley (1):
  powerpc: Disable doorbells on Power8 DD1.x

Li Zhong (1):
  powerpc: use _GLOBAL_TOC for memmove

Paul Mackerras (1):
  powerpc: Fix bugs in emulate_step()

Tyrel Datwyler (1):
  powerpc/pseries: dynamically added OF nodes need to call of_node_init

 arch/powerpc/include/asm/cputable.h   |  1 +
 arch/powerpc/include/asm/mmu-hash64.h |  3 ++-
 arch/powerpc/kernel/cputable.c| 20 
 arch/powerpc/lib/mem_64.S |  2 +-
 arch/powerpc/lib/sstep.c  | 10 +-
 arch/powerpc/platforms/pseries/dlpar.c|  1 +
 arch/powerpc/platforms/pseries/reconfig.c |  1 +
 7 files changed, 31 insertions(+), 7 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-07-22 Thread Benjamin Herrenschmidt
Hi Linus !

Here is a handful of powerpc fixes for 3.16. They are all pretty
simple and self contained and should still make this release.

Cheers,
Ben.

The following changes since commit f56029410a13cae3652d1f34788045c40a13ffc7:

  powerpc/perf: Never program book3s PMCs with values = 0x8000 (2014-07-11 
13:50:47 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 6f5405bc2ee0102bb3856e2cdea64ff415db2e0c:

  powerpc: use _GLOBAL_TOC for memmove (2014-07-22 15:56:04 +1000)


Aneesh Kumar K.V (1):
  powerpc: subpage_protect: Increase the array size to take care of 64TB

Joel Stanley (1):
  powerpc: Disable doorbells on Power8 DD1.x

Li Zhong (1):
  powerpc: use _GLOBAL_TOC for memmove

Paul Mackerras (1):
  powerpc: Fix bugs in emulate_step()

Tyrel Datwyler (1):
  powerpc/pseries: dynamically added OF nodes need to call of_node_init

 arch/powerpc/include/asm/cputable.h   |  1 +
 arch/powerpc/include/asm/mmu-hash64.h |  3 ++-
 arch/powerpc/kernel/cputable.c| 20 
 arch/powerpc/lib/mem_64.S |  2 +-
 arch/powerpc/lib/sstep.c  | 10 +-
 arch/powerpc/platforms/pseries/dlpar.c|  1 +
 arch/powerpc/platforms/pseries/reconfig.c |  1 +
 7 files changed, 31 insertions(+), 7 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-07-10 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc fixes for 3.16

There's a small series of 3 patches that fix saving/restoring MMUCR2
when using KVM without which perf goes completely bonkers in the host
system. Another perf fix from Anton that's been rotting away in patchwork
due to my poor eyesight, a couple of compile fixes, a little addition
to the WSP removal by Michael (removing a bit more dead stuff) and
a fix for an embarassing regression with our soft irq masking.

Cheers,
Ben.

The following changes since commit 6663a4fa6711050036562ddfd2086edf735fae21:

  powerpc: Don't skip ePAPR spin-table CPUs (2014-06-25 13:10:49 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to f56029410a13cae3652d1f34788045c40a13ffc7:

  powerpc/perf: Never program book3s PMCs with values >= 0x8000 (2014-07-11 
13:50:47 +1000)


Anton Blanchard (1):
  powerpc/perf: Never program book3s PMCs with values >= 0x8000

Guenter Roeck (1):
  powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64

Joel Stanley (3):
  powerpc/kvm: Remove redundant save of SIER AND MMCR2
  powerpc/perf: Add PPMU_ARCH_207S define
  powerpc/perf: Clear MMCR2 when enabling PMU

Michael Ellerman (2):
  powerpc/cell: Fix compilation with CONFIG_COREDUMP=n
  powerpc: Clean up MMU_FTRS_A2 and MMU_FTR_TYPE_3E

Preeti U Murthy (1):
  powerpc/powernv: Check for IRQHAPPENED before sleeping

 arch/powerpc/Kconfig |  3 ++-
 arch/powerpc/include/asm/mmu.h   | 10 +-
 arch/powerpc/include/asm/perf_event_server.h |  3 +--
 arch/powerpc/kernel/idle_power7.S|  2 +-
 arch/powerpc/kvm/book3s_hv_interrupts.S  |  5 -
 arch/powerpc/mm/mmu_context_nohash.c | 12 +---
 arch/powerpc/perf/core-book3s.c  | 26 ++
 arch/powerpc/perf/power8-pmu.c   |  2 +-
 arch/powerpc/platforms/cell/spu_syscalls.c   |  2 ++
 arch/powerpc/platforms/cell/spufs/Makefile   |  3 ++-
 arch/powerpc/platforms/cell/spufs/syscalls.c |  6 --
 11 files changed, 37 insertions(+), 37 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-07-10 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc fixes for 3.16

There's a small series of 3 patches that fix saving/restoring MMUCR2
when using KVM without which perf goes completely bonkers in the host
system. Another perf fix from Anton that's been rotting away in patchwork
due to my poor eyesight, a couple of compile fixes, a little addition
to the WSP removal by Michael (removing a bit more dead stuff) and
a fix for an embarassing regression with our soft irq masking.

Cheers,
Ben.

The following changes since commit 6663a4fa6711050036562ddfd2086edf735fae21:

  powerpc: Don't skip ePAPR spin-table CPUs (2014-06-25 13:10:49 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to f56029410a13cae3652d1f34788045c40a13ffc7:

  powerpc/perf: Never program book3s PMCs with values = 0x8000 (2014-07-11 
13:50:47 +1000)


Anton Blanchard (1):
  powerpc/perf: Never program book3s PMCs with values = 0x8000

Guenter Roeck (1):
  powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64

Joel Stanley (3):
  powerpc/kvm: Remove redundant save of SIER AND MMCR2
  powerpc/perf: Add PPMU_ARCH_207S define
  powerpc/perf: Clear MMCR2 when enabling PMU

Michael Ellerman (2):
  powerpc/cell: Fix compilation with CONFIG_COREDUMP=n
  powerpc: Clean up MMU_FTRS_A2 and MMU_FTR_TYPE_3E

Preeti U Murthy (1):
  powerpc/powernv: Check for IRQHAPPENED before sleeping

 arch/powerpc/Kconfig |  3 ++-
 arch/powerpc/include/asm/mmu.h   | 10 +-
 arch/powerpc/include/asm/perf_event_server.h |  3 +--
 arch/powerpc/kernel/idle_power7.S|  2 +-
 arch/powerpc/kvm/book3s_hv_interrupts.S  |  5 -
 arch/powerpc/mm/mmu_context_nohash.c | 12 +---
 arch/powerpc/perf/core-book3s.c  | 26 ++
 arch/powerpc/perf/power8-pmu.c   |  2 +-
 arch/powerpc/platforms/cell/spu_syscalls.c   |  2 ++
 arch/powerpc/platforms/cell/spufs/Makefile   |  3 ++-
 arch/powerpc/platforms/cell/spufs/syscalls.c |  6 --
 11 files changed, 37 insertions(+), 37 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-06-25 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful or two of powerpc fixes and simple/trivial
cleanups. A bunch of them fix ftrace with the new ABI v2 in
Little Endian, the rest is a scattering of fairly simple things.

Cheers,
Ben.

The following changes since commit 68986c9f0f4552c34c248501eb0c690553866d6e:

  Revert "offb: Add palette hack for little endian" (2014-06-16 19:45:45 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 6663a4fa6711050036562ddfd2086edf735fae21:

  powerpc: Don't skip ePAPR spin-table CPUs (2014-06-25 13:10:49 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Remove __arch_swab*

Catalin Marinas (1):
  powerpc/kmemleak: Do not scan the DART table

Gavin Shan (1):
  powerpc/kerenl: Enable EEH for IO accessors

Laurent Dufour (1):
  powerpc/module: Fix TOC symbol CRC

Michael Ellerman (9):
  powerpc: Remove ancient DEBUG_SIG code
  powerpc: Add ppc_global_function_entry()
  powerpc/ftrace: Fix typo in mask of opcode
  powerpc/ftrace: Fix inverted check of create_branch()
  powerpc/ftrace: Fix nop of modules on 64bit LE (ABIv2)
  powerpc/ftrace: Use pr_fmt() to namespace error messages
  powerpc/kprobes: Fix jprobes on ABI v2 (LE)
  selftests/powerpc: Use the test harness for the TM DSCR test
  powerpc/powernv: Remove OPAL v1 takeover

Rasmus Villemoes (1):
  powerpc/macintosh/smu.c: Fix closing brace followed by if

Rickard Strandqvist (1):
  powerpc/cell: cbe_thermal.c: Cleaning up a variable is of the wrong type

Scott Wood (1):
  powerpc: Don't skip ePAPR spin-table CPUs

 arch/powerpc/Kconfig.debug |   1 -
 arch/powerpc/include/asm/code-patching.h   |  11 ++
 arch/powerpc/include/asm/opal.h|  29 ---
 arch/powerpc/include/asm/swab.h|  43 -
 arch/powerpc/kernel/ftrace.c   |  52 +++--
 arch/powerpc/kernel/iomap.c|  20 +-
 arch/powerpc/kernel/kprobes.c  |   9 +-
 arch/powerpc/kernel/module_64.c|  11 +-
 arch/powerpc/kernel/prom.c |   7 -
 arch/powerpc/kernel/prom_init.c| 211 -
 arch/powerpc/kernel/prom_init_check.sh |   4 +-
 arch/powerpc/kernel/setup-common.c |  10 +-
 arch/powerpc/kernel/signal_32.c|   9 -
 arch/powerpc/kernel/signal_64.c|   9 -
 arch/powerpc/platforms/cell/cbe_thermal.c  |   2 +-
 arch/powerpc/platforms/powernv/Makefile|   2 +-
 arch/powerpc/platforms/powernv/opal-takeover.S | 140 --
 arch/powerpc/sysdev/dart_iommu.c   |   5 +
 drivers/macintosh/smu.c|   3 +-
 tools/testing/selftests/powerpc/tm/Makefile|   2 +-
 .../testing/selftests/powerpc/tm/tm-resched-dscr.c |  14 +-
 21 files changed, 93 insertions(+), 501 deletions(-)
 delete mode 100644 arch/powerpc/platforms/powernv/opal-takeover.S


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-06-25 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful or two of powerpc fixes and simple/trivial
cleanups. A bunch of them fix ftrace with the new ABI v2 in
Little Endian, the rest is a scattering of fairly simple things.

Cheers,
Ben.

The following changes since commit 68986c9f0f4552c34c248501eb0c690553866d6e:

  Revert offb: Add palette hack for little endian (2014-06-16 19:45:45 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 6663a4fa6711050036562ddfd2086edf735fae21:

  powerpc: Don't skip ePAPR spin-table CPUs (2014-06-25 13:10:49 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Remove __arch_swab*

Catalin Marinas (1):
  powerpc/kmemleak: Do not scan the DART table

Gavin Shan (1):
  powerpc/kerenl: Enable EEH for IO accessors

Laurent Dufour (1):
  powerpc/module: Fix TOC symbol CRC

Michael Ellerman (9):
  powerpc: Remove ancient DEBUG_SIG code
  powerpc: Add ppc_global_function_entry()
  powerpc/ftrace: Fix typo in mask of opcode
  powerpc/ftrace: Fix inverted check of create_branch()
  powerpc/ftrace: Fix nop of modules on 64bit LE (ABIv2)
  powerpc/ftrace: Use pr_fmt() to namespace error messages
  powerpc/kprobes: Fix jprobes on ABI v2 (LE)
  selftests/powerpc: Use the test harness for the TM DSCR test
  powerpc/powernv: Remove OPAL v1 takeover

Rasmus Villemoes (1):
  powerpc/macintosh/smu.c: Fix closing brace followed by if

Rickard Strandqvist (1):
  powerpc/cell: cbe_thermal.c: Cleaning up a variable is of the wrong type

Scott Wood (1):
  powerpc: Don't skip ePAPR spin-table CPUs

 arch/powerpc/Kconfig.debug |   1 -
 arch/powerpc/include/asm/code-patching.h   |  11 ++
 arch/powerpc/include/asm/opal.h|  29 ---
 arch/powerpc/include/asm/swab.h|  43 -
 arch/powerpc/kernel/ftrace.c   |  52 +++--
 arch/powerpc/kernel/iomap.c|  20 +-
 arch/powerpc/kernel/kprobes.c  |   9 +-
 arch/powerpc/kernel/module_64.c|  11 +-
 arch/powerpc/kernel/prom.c |   7 -
 arch/powerpc/kernel/prom_init.c| 211 -
 arch/powerpc/kernel/prom_init_check.sh |   4 +-
 arch/powerpc/kernel/setup-common.c |  10 +-
 arch/powerpc/kernel/signal_32.c|   9 -
 arch/powerpc/kernel/signal_64.c|   9 -
 arch/powerpc/platforms/cell/cbe_thermal.c  |   2 +-
 arch/powerpc/platforms/powernv/Makefile|   2 +-
 arch/powerpc/platforms/powernv/opal-takeover.S | 140 --
 arch/powerpc/sysdev/dart_iommu.c   |   5 +
 drivers/macintosh/smu.c|   3 +-
 tools/testing/selftests/powerpc/tm/Makefile|   2 +-
 .../testing/selftests/powerpc/tm/tm-resched-dscr.c |  14 +-
 21 files changed, 93 insertions(+), 501 deletions(-)
 delete mode 100644 arch/powerpc/platforms/powernv/opal-takeover.S


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-06-16 Thread Benjamin Herrenschmidt
Hi Linus !

This is a single revert for a patch I should have never merged in the
first place had I reviewed things with a clear mind at the time :-(

Cheers,
Ben.

The following changes since commit
7171511eaec5bf23fb06078f59784a3a0626b38f:

  Linux 3.16-rc1 (2014-06-15 17:45:28 -1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next

for you to fetch changes up to 68986c9f0f4552c34c248501eb0c690553866d6e:

  Revert "offb: Add palette hack for little endian" (2014-06-16 19:45:45
+1000)


Benjamin Herrenschmidt (1):
  Revert "offb: Add palette hack for little endian"

 drivers/video/fbdev/offb.c | 11 +--
 1 file changed, 1 insertion(+), 10 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-06-16 Thread Benjamin Herrenschmidt
Hi Linus !

This is a single revert for a patch I should have never merged in the
first place had I reviewed things with a clear mind at the time :-(

Cheers,
Ben.

The following changes since commit
7171511eaec5bf23fb06078f59784a3a0626b38f:

  Linux 3.16-rc1 (2014-06-15 17:45:28 -1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next

for you to fetch changes up to 68986c9f0f4552c34c248501eb0c690553866d6e:

  Revert offb: Add palette hack for little endian (2014-06-16 19:45:45
+1000)


Benjamin Herrenschmidt (1):
  Revert offb: Add palette hack for little endian

 drivers/video/fbdev/offb.c | 11 +--
 1 file changed, 1 insertion(+), 10 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-06-01 Thread Benjamin Herrenschmidt
Hi Linus !

Here's just one trivial patch to wire up sys_renameat2 which I
seem to have completely missed so far. (My test build scripts fwd me
warnings but miss the ones generated for missing syscalls).

Cheers,
Ben.

The following changes since commit 011e4b02f1da156ac7fea28a9da878f3c23af739:

  powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode 
(2014-05-28 13:24:26 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8212f58a9b151d842fa60a70f354e43c61fad839:

  powerpc: Wire renameat2() syscall (2014-06-02 09:24:27 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Wire renameat2() syscall

 arch/powerpc/include/asm/systbl.h  | 1 +
 arch/powerpc/include/asm/unistd.h  | 2 +-
 arch/powerpc/include/uapi/asm/unistd.h | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-06-01 Thread Benjamin Herrenschmidt
Hi Linus !

Here's just one trivial patch to wire up sys_renameat2 which I
seem to have completely missed so far. (My test build scripts fwd me
warnings but miss the ones generated for missing syscalls).

Cheers,
Ben.

The following changes since commit 011e4b02f1da156ac7fea28a9da878f3c23af739:

  powerpc, kexec: Fix Processor X is stuck issue during kexec from ST mode 
(2014-05-28 13:24:26 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8212f58a9b151d842fa60a70f354e43c61fad839:

  powerpc: Wire renameat2() syscall (2014-06-02 09:24:27 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Wire renameat2() syscall

 arch/powerpc/include/asm/systbl.h  | 1 +
 arch/powerpc/include/asm/unistd.h  | 2 +-
 arch/powerpc/include/uapi/asm/unistd.h | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-05-27 Thread Benjamin Herrenschmidt
Hi Linus !

Here's a pair of powerpc fixes for 3.15 which are also going to stable.

One's a fix for building with newer binutils (the problem currently only
affects the BookE kernels but the affected macro might come back into
use on BookS platforms at any time). Unfortunately, the binutils maintainer
did a backward incompatible change to a construct that we use so we have
to add Makefile check.

The other one is a fix for CPUs getting stuck in kexec when running single
threaded. Since we routinely use kexec on power (including in our newer
bootloaders), I deemed that important enough.

Cheers,
Ben.

The following changes since commit 8050936caf125fbe54111ba5e696b68a360556ba:

  powerpc: irq work racing with timer interrupt can result in timer interrupt 
hang (2014-05-12 14:29:28 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 011e4b02f1da156ac7fea28a9da878f3c23af739:

  powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode 
(2014-05-28 13:24:26 +1000)


Guenter Roeck (1):
  powerpc: Fix 64 bit builds with binutils 2.24

Srivatsa S. Bhat (1):
  powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

 arch/powerpc/Makefile  | 4 +++-
 arch/powerpc/include/asm/ppc_asm.h | 7 ++-
 arch/powerpc/kernel/machine_kexec_64.c | 2 +-
 kernel/kexec.c | 8 
 4 files changed, 18 insertions(+), 3 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-05-27 Thread Benjamin Herrenschmidt
Hi Linus !

Here's a pair of powerpc fixes for 3.15 which are also going to stable.

One's a fix for building with newer binutils (the problem currently only
affects the BookE kernels but the affected macro might come back into
use on BookS platforms at any time). Unfortunately, the binutils maintainer
did a backward incompatible change to a construct that we use so we have
to add Makefile check.

The other one is a fix for CPUs getting stuck in kexec when running single
threaded. Since we routinely use kexec on power (including in our newer
bootloaders), I deemed that important enough.

Cheers,
Ben.

The following changes since commit 8050936caf125fbe54111ba5e696b68a360556ba:

  powerpc: irq work racing with timer interrupt can result in timer interrupt 
hang (2014-05-12 14:29:28 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 011e4b02f1da156ac7fea28a9da878f3c23af739:

  powerpc, kexec: Fix Processor X is stuck issue during kexec from ST mode 
(2014-05-28 13:24:26 +1000)


Guenter Roeck (1):
  powerpc: Fix 64 bit builds with binutils 2.24

Srivatsa S. Bhat (1):
  powerpc, kexec: Fix Processor X is stuck issue during kexec from ST mode

 arch/powerpc/Makefile  | 4 +++-
 arch/powerpc/include/asm/ppc_asm.h | 7 ++-
 arch/powerpc/kernel/machine_kexec_64.c | 2 +-
 kernel/kexec.c | 8 
 4 files changed, 18 insertions(+), 3 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-05-20 Thread Benjamin Herrenschmidt
Hi Linus !

[ This is a resent of Wed. email in case you missed it while away ]

Here are a couple of fixes for 3.15. One from Anton fixes a nasty regression
I introduced when trying to fix a loss of irq_work whose consequences is
that we can completely lose timer interrupts on a CPU... not pretty.

The other one is a change to our PCIe reset hook to use a firmware call
instead of direclnet config space accesses to trigger a fundamental reset
on the root port. This is necessary so that the FW gets a chance to
disable the link down error monitoring, which would otherwise trip
and cause subsequent fatal EEH error.

Cheers,
Ben.

The following changes since commit e4565362c7adc31201135c4b6d649fc1bdc3bf20:

  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c (2014-04-28 16:32:53 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8050936caf125fbe54111ba5e696b68a360556ba:

  powerpc: irq work racing with timer interrupt can result in timer interrupt 
hang (2014-05-12 14:29:28 +1000)


Anton Blanchard (1):
  powerpc: irq work racing with timer interrupt can result in timer 
interrupt hang

Gavin Shan (1):
  powerpc/powernv: Reset root port in firmware

 arch/powerpc/kernel/time.c| 3 ---
 arch/powerpc/platforms/powernv/eeh-ioda.c | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-05-20 Thread Benjamin Herrenschmidt
Hi Linus !

[ This is a resent of Wed. email in case you missed it while away ]

Here are a couple of fixes for 3.15. One from Anton fixes a nasty regression
I introduced when trying to fix a loss of irq_work whose consequences is
that we can completely lose timer interrupts on a CPU... not pretty.

The other one is a change to our PCIe reset hook to use a firmware call
instead of direclnet config space accesses to trigger a fundamental reset
on the root port. This is necessary so that the FW gets a chance to
disable the link down error monitoring, which would otherwise trip
and cause subsequent fatal EEH error.

Cheers,
Ben.

The following changes since commit e4565362c7adc31201135c4b6d649fc1bdc3bf20:

  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c (2014-04-28 16:32:53 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8050936caf125fbe54111ba5e696b68a360556ba:

  powerpc: irq work racing with timer interrupt can result in timer interrupt 
hang (2014-05-12 14:29:28 +1000)


Anton Blanchard (1):
  powerpc: irq work racing with timer interrupt can result in timer 
interrupt hang

Gavin Shan (1):
  powerpc/powernv: Reset root port in firmware

 arch/powerpc/kernel/time.c| 3 ---
 arch/powerpc/platforms/powernv/eeh-ioda.c | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-05-13 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a couple of fixes for 3.15. One from Anton fixes a nasty regression
I introduced when trying to fix a loss of irq_work whose consequences is
that we can completely lose timer interrupts on a CPU... not pretty.

The other one is a change to our PCIe reset hook to use a firmware call
instead of direct config space accesses to trigger a fundamental reset
on the root port. This is necessary so that the FW gets a chance to
disable the link down error monitoring, which would otherwise trip
and cause subsequent fatal EEH error.

Cheers,
Ben.

The following changes since commit e4565362c7adc31201135c4b6d649fc1bdc3bf20:

  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c (2014-04-28 16:32:53 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8050936caf125fbe54111ba5e696b68a360556ba:

  powerpc: irq work racing with timer interrupt can result in timer interrupt 
hang (2014-05-12 14:29:28 +1000)


Anton Blanchard (1):
  powerpc: irq work racing with timer interrupt can result in timer 
interrupt hang

Gavin Shan (1):
  powerpc/powernv: Reset root port in firmware

 arch/powerpc/kernel/time.c| 3 ---
 arch/powerpc/platforms/powernv/eeh-ioda.c | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-05-13 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a couple of fixes for 3.15. One from Anton fixes a nasty regression
I introduced when trying to fix a loss of irq_work whose consequences is
that we can completely lose timer interrupts on a CPU... not pretty.

The other one is a change to our PCIe reset hook to use a firmware call
instead of direct config space accesses to trigger a fundamental reset
on the root port. This is necessary so that the FW gets a chance to
disable the link down error monitoring, which would otherwise trip
and cause subsequent fatal EEH error.

Cheers,
Ben.

The following changes since commit e4565362c7adc31201135c4b6d649fc1bdc3bf20:

  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c (2014-04-28 16:32:53 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8050936caf125fbe54111ba5e696b68a360556ba:

  powerpc: irq work racing with timer interrupt can result in timer interrupt 
hang (2014-05-12 14:29:28 +1000)


Anton Blanchard (1):
  powerpc: irq work racing with timer interrupt can result in timer 
interrupt hang

Gavin Shan (1):
  powerpc/powernv: Reset root port in firmware

 arch/powerpc/kernel/time.c| 3 ---
 arch/powerpc/platforms/powernv/eeh-ioda.c | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-04-28 Thread Benjamin Herrenschmidt
Hi Linus !

Here is a bunch of post-merge window fixes that have been accumulating
in patchwork while I was on vacation or buried under other stuff last
week.

We have the now usual batch of LE fixes from Anton (sadly some new stuff
that went into this merge window had endian issues, we'll try to make
sure we do better next time)

Some fixes and cleanups to the new 24x7 performance monitoring stuff
(mostly typos and cleaning up printk's)

A series of fixes for an issue with our runlatch bit, which wasn't set
properly for offlined threads/cores and under KVM, causing potentially
some counters to misbehave along with possible power management issues.

A fix for kexec nasty race where the new kernel wouldn't "see" the
secondary processors having reached back into firmware in time.

And finally a few other misc (and pretty simple) bug fixes.

Cheers,
Ben.

The following changes since commit a798c10faf62a505d24e5f6213fbaf904a39623f:

  Linux 3.15-rc2 (2014-04-20 11:08:50 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e4565362c7adc31201135c4b6d649fc1bdc3bf20:

  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c (2014-04-28 16:32:53 +1000)


Alistair Popple (1):
  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c

Aneesh Kumar K.V (1):
  powerpc/mm: Fix tlbie to add AVAL fields for 64K pages

Anton Blanchard (11):
  powerpc/powernv: Fix little endian issues in OPAL flash code
  powerpc/powernv: Use uint64_t instead of size_t in OPAL APIs
  powerpc/powernv: Remove some OPAL function declaration duplication
  powerpc/powernv: Fix little endian issues with opal_do_notifier calls
  powerpc/powernv: Fix little endian issues in OPAL error log code
  powerpc/powernv: Create OPAL sglist helper functions and fix endian issues
  powerpc/powernv: Fix little endian issues in OPAL dump code
  powerpc: Rename duplicate COMMAND_LINE_SIZE define
  powerpc: Bump COMMAND_LINE_SIZE to 2048
  powerpc: Bump BOOT_COMMAND_LINE_SIZE to 2048
  powerpc: Fix error return in rtas_flash module init

Benjamin Herrenschmidt (1):
  powerpc/powernv: Fix kexec races going back to OPAL

Cody P Schafer (6):
  powerpc/perf/hv_24x7: Probe errors changed to pr_debug(), padding fixed
  powerpc/perf/hv_gpci: Probe failures use pr_debug(), and padding reduced
  powerpc/perf/hv-gpci: Make device attr static
  powerpc/perf/hv-24x7: Use (unsigned long) not (u32) values when calling 
plpar_hcall_norets()
  powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it
  powerpc/perf/hv-24x7: Catalog version number is be64, not be32

Jeff Mahoney (1):
  powerpc: Export flush_icache_range

Joel Stanley (5):
  powerpc/powernv: Fix sysparam sysfs error handling
  powerpc/powernv: Use ssize_t for sysparam return values
  powerpc/powernv: Check sysfs size before copying
  powerpc/powernv: Fix typos in sysparam code
  powerpc/powernv: Check sysparam size before creation

Li Zhong (2):
  powerpc: Fix Oops in rtas_stop_self()
  powerpc/pseries: Protect remove_memory() with device hotplug lock

Preeti U Murthy (3):
  ppc/powernv: Set the runlatch bits correctly for offline cpus
  ppc/kvm: Set the runlatch bit of a CPU just before starting guest
  ppc/kvm: Clear the runlatch bit of a vcpu before napping

Wei Yang (2):
  powerpc/powernv: Reduce multi-hit of iommu_add_device()
  powerpc/powernv: Release the refcount for pci_dev

 arch/powerpc/boot/main.c|   8 +-
 arch/powerpc/boot/ops.h |   2 +-
 arch/powerpc/boot/ps3.c |   4 +-
 arch/powerpc/include/asm/opal.h |  42 -
 arch/powerpc/include/uapi/asm/setup.h   |   7 +-
 arch/powerpc/kernel/ppc_ksyms.c |   1 +
 arch/powerpc/kernel/rtas_flash.c|   2 +-
 arch/powerpc/kvm/book3s_hv_rmhandlers.S |  18 +++-
 arch/powerpc/mm/hash_native_64.c|  38 
 arch/powerpc/perf/hv-24x7.c |  35 ---
 arch/powerpc/perf/hv-gpci.c |   6 +-
 arch/powerpc/platforms/powernv/opal-dump.c  |  94 +++
 arch/powerpc/platforms/powernv/opal-elog.c  |  11 ++-
 arch/powerpc/platforms/powernv/opal-flash.c | 118 ++--
 arch/powerpc/platforms/powernv/opal-sysparam.c  |  32 +--
 arch/powerpc/platforms/powernv/opal.c   |  69 +-
 arch/powerpc/platforms/powernv/pci-ioda.c   |   3 +-
 arch/powerpc/platforms/powernv/setup.c  |  48 +-
 arch/powerpc/platforms/powernv/smp.c|   3 +
 arch/powerpc/platforms/pseries/hotplug-cpu.c|   5 +-
 arch/powerpc/platforms/pseries/hotplug-memory.c |  10 +-
 arch/powerpc/sysdev/ppc4xx_pci.c|   2 +-
 22 files 

[git pull] Please pull powerpc.git merge branch

2014-04-28 Thread Benjamin Herrenschmidt
Hi Linus !

Here is a bunch of post-merge window fixes that have been accumulating
in patchwork while I was on vacation or buried under other stuff last
week.

We have the now usual batch of LE fixes from Anton (sadly some new stuff
that went into this merge window had endian issues, we'll try to make
sure we do better next time)

Some fixes and cleanups to the new 24x7 performance monitoring stuff
(mostly typos and cleaning up printk's)

A series of fixes for an issue with our runlatch bit, which wasn't set
properly for offlined threads/cores and under KVM, causing potentially
some counters to misbehave along with possible power management issues.

A fix for kexec nasty race where the new kernel wouldn't see the
secondary processors having reached back into firmware in time.

And finally a few other misc (and pretty simple) bug fixes.

Cheers,
Ben.

The following changes since commit a798c10faf62a505d24e5f6213fbaf904a39623f:

  Linux 3.15-rc2 (2014-04-20 11:08:50 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e4565362c7adc31201135c4b6d649fc1bdc3bf20:

  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c (2014-04-28 16:32:53 +1000)


Alistair Popple (1):
  powerpc/4xx: Fix section mismatch in ppc4xx_pci.c

Aneesh Kumar K.V (1):
  powerpc/mm: Fix tlbie to add AVAL fields for 64K pages

Anton Blanchard (11):
  powerpc/powernv: Fix little endian issues in OPAL flash code
  powerpc/powernv: Use uint64_t instead of size_t in OPAL APIs
  powerpc/powernv: Remove some OPAL function declaration duplication
  powerpc/powernv: Fix little endian issues with opal_do_notifier calls
  powerpc/powernv: Fix little endian issues in OPAL error log code
  powerpc/powernv: Create OPAL sglist helper functions and fix endian issues
  powerpc/powernv: Fix little endian issues in OPAL dump code
  powerpc: Rename duplicate COMMAND_LINE_SIZE define
  powerpc: Bump COMMAND_LINE_SIZE to 2048
  powerpc: Bump BOOT_COMMAND_LINE_SIZE to 2048
  powerpc: Fix error return in rtas_flash module init

Benjamin Herrenschmidt (1):
  powerpc/powernv: Fix kexec races going back to OPAL

Cody P Schafer (6):
  powerpc/perf/hv_24x7: Probe errors changed to pr_debug(), padding fixed
  powerpc/perf/hv_gpci: Probe failures use pr_debug(), and padding reduced
  powerpc/perf/hv-gpci: Make device attr static
  powerpc/perf/hv-24x7: Use (unsigned long) not (u32) values when calling 
plpar_hcall_norets()
  powerpc/perf/hv-24x7: Remove [static 4096], sparse chokes on it
  powerpc/perf/hv-24x7: Catalog version number is be64, not be32

Jeff Mahoney (1):
  powerpc: Export flush_icache_range

Joel Stanley (5):
  powerpc/powernv: Fix sysparam sysfs error handling
  powerpc/powernv: Use ssize_t for sysparam return values
  powerpc/powernv: Check sysfs size before copying
  powerpc/powernv: Fix typos in sysparam code
  powerpc/powernv: Check sysparam size before creation

Li Zhong (2):
  powerpc: Fix Oops in rtas_stop_self()
  powerpc/pseries: Protect remove_memory() with device hotplug lock

Preeti U Murthy (3):
  ppc/powernv: Set the runlatch bits correctly for offline cpus
  ppc/kvm: Set the runlatch bit of a CPU just before starting guest
  ppc/kvm: Clear the runlatch bit of a vcpu before napping

Wei Yang (2):
  powerpc/powernv: Reduce multi-hit of iommu_add_device()
  powerpc/powernv: Release the refcount for pci_dev

 arch/powerpc/boot/main.c|   8 +-
 arch/powerpc/boot/ops.h |   2 +-
 arch/powerpc/boot/ps3.c |   4 +-
 arch/powerpc/include/asm/opal.h |  42 -
 arch/powerpc/include/uapi/asm/setup.h   |   7 +-
 arch/powerpc/kernel/ppc_ksyms.c |   1 +
 arch/powerpc/kernel/rtas_flash.c|   2 +-
 arch/powerpc/kvm/book3s_hv_rmhandlers.S |  18 +++-
 arch/powerpc/mm/hash_native_64.c|  38 
 arch/powerpc/perf/hv-24x7.c |  35 ---
 arch/powerpc/perf/hv-gpci.c |   6 +-
 arch/powerpc/platforms/powernv/opal-dump.c  |  94 +++
 arch/powerpc/platforms/powernv/opal-elog.c  |  11 ++-
 arch/powerpc/platforms/powernv/opal-flash.c | 118 ++--
 arch/powerpc/platforms/powernv/opal-sysparam.c  |  32 +--
 arch/powerpc/platforms/powernv/opal.c   |  69 +-
 arch/powerpc/platforms/powernv/pci-ioda.c   |   3 +-
 arch/powerpc/platforms/powernv/setup.c  |  48 +-
 arch/powerpc/platforms/powernv/smp.c|   3 +
 arch/powerpc/platforms/pseries/hotplug-cpu.c|   5 +-
 arch/powerpc/platforms/pseries/hotplug-memory.c |  10 +-
 arch/powerpc/sysdev/ppc4xx_pci.c|   2 +-
 22 files 

[git pull] Please pull powerpc.git merge branch

2014-04-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc things for you.

So you'll find here the conversion of the two new firmware sysfs
interfaces to the new API for self-removing files that Greg and Tejun
introduced, so they can finally remove the old one.

I'm also reverting the hwmon driver for powernv. I shouldn't have merged
it, I got a bit carried away here. I hadn't realized it was never CCed
to the relevant maintainer(s) and list(s), and happens to have some
issues so I'm taking it out and it will come back via the proper
channels.

The rest is a bunch of LE fixes (argh, some of the new stuff was broken 
on LE, I really need to start testing LE myself !) and various random
fixes here and there.

Finally one bit that's not strictly a fix, which is the HVC OPAL change
to "kick" the HVC thread when the firmware tells us there is new
incoming data. I don't feel like waiting for this one, it's simple
enough, and it makes a big difference in console responsiveness which is
good for my nerves.

Cheers,
Ben.

The following changes since commit 18a1a7a1d862ae0794a0179473d08a414dd49234:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 
(2014-04-06 08:11:57 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to cc4f265ad9a37bdb1846c45eebe454c382f31d67:

  powerpc/powernv Adapt opal-elog and opal-dump to new sysfs_remove_file_self 
(2014-04-09 13:51:50 +1000)


Aneesh Kumar K.V (1):
  powerpc/mm: NUMA pte should be handled via slow path in 
get_user_pages_fast()

Anton Blanchard (3):
  powerpc/powernv: Fix endian issues with OPAL async code
  powerpc/powernv: Fix endian issues with sensor code
  powerpc: Add lq/stq emulation

Benjamin Herrenschmidt (8):
  powerpc: Adjust CPU_FTR_SMT on all platforms
  powerpc: Make boot_cpuid common between 32 and 64-bit
  powerpc/prom: early_init_dt_scan_cpus() updates cpu features only once
  powerpc/ppc64: Gracefully handle early interrupts
  powerpc/ppc64: Do not turn AIL (reloc-on interrupts) too early
  powerpc/powernv: Add opal_notifier_unregister() and export to modules
  tty/hvc_opal: Kick the HVC thread on OPAL console events
  Revert "powerpc/powernv: hwmon driver for power values, fan rpm and 
temperature"

Greg Kurz (1):
  powerpc/le: Enable RTAS events support

Joe Perches (1):
  powerpc: Convert last uses of __FUNCTION__ to __func__

Joel Stanley (2):
  powerpc/powernv: Add OPAL message log interface
  powerpc/powernv: Add invalid OPAL call

Li Zhong (1):
  powerpc: Use of_node_init() for the fakenode in msi_bitmap.c

Mahesh Salgaonkar (1):
  powerpc/book3s: Fix mc_recoverable_range buffer overrun issue.

Michael Neuling (3):
  powerpc/tm: Disable IRQ in tm_recheckpoint
  powerpc: Remove dead code in sycall entry
  powerpc/opal: Add missing include

Michael Wang (1):
  power, sched: stop updating inside arch_update_cpu_topology() when 
nothing to be update

Monam Agarwal (1):
  arch/powerpc: Use RCU_INIT_POINTER(x, NULL) in 
platforms/cell/spu_syscalls.c

Stephen Chivers (1):
  powerpc: Correct emulated mtfsf instruction

Stewart Smith (1):
  powerpc/powernv Adapt opal-elog and opal-dump to new 
sysfs_remove_file_self

Tony Breeds (1):
  powerpc/le: Avoid creatng R_PPC64_TOCSAVE relocations for modules.

 arch/powerpc/Makefile  |   1 +
 arch/powerpc/include/asm/emulated_ops.h|   1 +
 arch/powerpc/include/asm/opal.h|  19 +-
 arch/powerpc/include/asm/rtas.h| 127 --
 arch/powerpc/kernel/align.c|  52 ++-
 arch/powerpc/kernel/cpu_setup_power.S  |   2 -
 arch/powerpc/kernel/exceptions-64s.S   |   8 -
 arch/powerpc/kernel/paca.c |   3 +-
 arch/powerpc/kernel/process.c  |  34 +-
 arch/powerpc/kernel/prom.c |  58 +--
 arch/powerpc/kernel/rtas.c |  15 +-
 arch/powerpc/kernel/rtasd.c|  24 +-
 arch/powerpc/kernel/setup-common.c |   3 +
 arch/powerpc/kernel/setup_32.c |   2 -
 arch/powerpc/kernel/setup_64.c |  28 +-
 arch/powerpc/kernel/signal_32.c|   2 +
 arch/powerpc/kernel/signal_64.c|   2 +
 arch/powerpc/kernel/tm.S   |   2 +-
 arch/powerpc/kernel/traps.c|   1 +
 arch/powerpc/math-emu/mtfsf.c  |  58 ++-
 arch/powerpc/mm/gup.c  |  13 +
 arch/powerpc/mm/numa.c |  15 +
 arch/powerpc/platforms/cell/spu_syscalls.c |   2 +-
 arch/powerpc/platforms/powernv/Makefile|   1 +
 arch/powerpc/platforms/powernv/opal-async.c|   7 +-
 arch/powerpc/platforms/powernv/opal-dump.c |   9 +-
 

[git pull] Please pull powerpc.git merge branch

2014-04-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc things for you.

So you'll find here the conversion of the two new firmware sysfs
interfaces to the new API for self-removing files that Greg and Tejun
introduced, so they can finally remove the old one.

I'm also reverting the hwmon driver for powernv. I shouldn't have merged
it, I got a bit carried away here. I hadn't realized it was never CCed
to the relevant maintainer(s) and list(s), and happens to have some
issues so I'm taking it out and it will come back via the proper
channels.

The rest is a bunch of LE fixes (argh, some of the new stuff was broken 
on LE, I really need to start testing LE myself !) and various random
fixes here and there.

Finally one bit that's not strictly a fix, which is the HVC OPAL change
to kick the HVC thread when the firmware tells us there is new
incoming data. I don't feel like waiting for this one, it's simple
enough, and it makes a big difference in console responsiveness which is
good for my nerves.

Cheers,
Ben.

The following changes since commit 18a1a7a1d862ae0794a0179473d08a414dd49234:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 
(2014-04-06 08:11:57 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to cc4f265ad9a37bdb1846c45eebe454c382f31d67:

  powerpc/powernv Adapt opal-elog and opal-dump to new sysfs_remove_file_self 
(2014-04-09 13:51:50 +1000)


Aneesh Kumar K.V (1):
  powerpc/mm: NUMA pte should be handled via slow path in 
get_user_pages_fast()

Anton Blanchard (3):
  powerpc/powernv: Fix endian issues with OPAL async code
  powerpc/powernv: Fix endian issues with sensor code
  powerpc: Add lq/stq emulation

Benjamin Herrenschmidt (8):
  powerpc: Adjust CPU_FTR_SMT on all platforms
  powerpc: Make boot_cpuid common between 32 and 64-bit
  powerpc/prom: early_init_dt_scan_cpus() updates cpu features only once
  powerpc/ppc64: Gracefully handle early interrupts
  powerpc/ppc64: Do not turn AIL (reloc-on interrupts) too early
  powerpc/powernv: Add opal_notifier_unregister() and export to modules
  tty/hvc_opal: Kick the HVC thread on OPAL console events
  Revert powerpc/powernv: hwmon driver for power values, fan rpm and 
temperature

Greg Kurz (1):
  powerpc/le: Enable RTAS events support

Joe Perches (1):
  powerpc: Convert last uses of __FUNCTION__ to __func__

Joel Stanley (2):
  powerpc/powernv: Add OPAL message log interface
  powerpc/powernv: Add invalid OPAL call

Li Zhong (1):
  powerpc: Use of_node_init() for the fakenode in msi_bitmap.c

Mahesh Salgaonkar (1):
  powerpc/book3s: Fix mc_recoverable_range buffer overrun issue.

Michael Neuling (3):
  powerpc/tm: Disable IRQ in tm_recheckpoint
  powerpc: Remove dead code in sycall entry
  powerpc/opal: Add missing include

Michael Wang (1):
  power, sched: stop updating inside arch_update_cpu_topology() when 
nothing to be update

Monam Agarwal (1):
  arch/powerpc: Use RCU_INIT_POINTER(x, NULL) in 
platforms/cell/spu_syscalls.c

Stephen Chivers (1):
  powerpc: Correct emulated mtfsf instruction

Stewart Smith (1):
  powerpc/powernv Adapt opal-elog and opal-dump to new 
sysfs_remove_file_self

Tony Breeds (1):
  powerpc/le: Avoid creatng R_PPC64_TOCSAVE relocations for modules.

 arch/powerpc/Makefile  |   1 +
 arch/powerpc/include/asm/emulated_ops.h|   1 +
 arch/powerpc/include/asm/opal.h|  19 +-
 arch/powerpc/include/asm/rtas.h| 127 --
 arch/powerpc/kernel/align.c|  52 ++-
 arch/powerpc/kernel/cpu_setup_power.S  |   2 -
 arch/powerpc/kernel/exceptions-64s.S   |   8 -
 arch/powerpc/kernel/paca.c |   3 +-
 arch/powerpc/kernel/process.c  |  34 +-
 arch/powerpc/kernel/prom.c |  58 +--
 arch/powerpc/kernel/rtas.c |  15 +-
 arch/powerpc/kernel/rtasd.c|  24 +-
 arch/powerpc/kernel/setup-common.c |   3 +
 arch/powerpc/kernel/setup_32.c |   2 -
 arch/powerpc/kernel/setup_64.c |  28 +-
 arch/powerpc/kernel/signal_32.c|   2 +
 arch/powerpc/kernel/signal_64.c|   2 +
 arch/powerpc/kernel/tm.S   |   2 +-
 arch/powerpc/kernel/traps.c|   1 +
 arch/powerpc/math-emu/mtfsf.c  |  58 ++-
 arch/powerpc/mm/gup.c  |  13 +
 arch/powerpc/mm/numa.c |  15 +
 arch/powerpc/platforms/cell/spu_syscalls.c |   2 +-
 arch/powerpc/platforms/powernv/Makefile|   1 +
 arch/powerpc/platforms/powernv/opal-async.c|   7 +-
 arch/powerpc/platforms/powernv/opal-dump.c |   9 +-
 

Re: [git pull] Please pull powerpc.git merge branch

2014-04-01 Thread Benjamin Herrenschmidt
On Wed, 2014-04-02 at 10:34 +1100, Benjamin Herrenschmidt wrote:
> Hi Linus !
> 
> This time around, the powerpc merges are going to be a little bit
> more complicated than usual.

Looks like I sent this one twice, one with "merge" and one with "next"
in the subject. They are otherwise identical (it's "next" really). I
though I had cancelled the sending of the first one with the bad subject
but it looks like my mailer was faster than me.

Cheers,
Ben.


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-04-01 Thread Benjamin Herrenschmidt
Hi Linus !

This time around, the powerpc merges are going to be a little bit
more complicated than usual.

This is the main pull request with most of the work for this merge
window. I will describe it a bit more further down.

There is some additional cpuidle driver work, however I haven't included
it in this tree as it depends on some work in tip/timer-core which
Thomas accidentally forgot to put in a topic branch. Since I didn't want
to carry all of that tip timer stuff in powerpc -next, I setup a
separate branch on top of Thomas tree with just that cpuidle driver in
it, and Stephen has been carrying that in next separately for a while
now. I'll send a separate pull request for it.

Additionally, two new pieces in this tree add users for a sysfs API
that Tejun and Greg have been deprecating in drivers-core-next.
Thankfully Greg reverted the patch that removes the old API so this
merge can happen cleanly, but once merged, I will send a patch adjusting
our new code to the new API so that Greg can send you the removal patch.

Now as for the content of this branch, we have a lot of perf work for
power8 new counters including support for our new "nest" counters
(also called 24x7) under pHyp (not natively yet).

We have new functionality when running under the OPAL firmware
(non-virtualized or KVM host), such as access to the firmware error logs
and service processor dumps, system parameters and sensors, along with
a hwmon driver for the latter.

There's also a bunch of bug fixes accross the board, some LE fixes,
and a nice set of selftests for validating our various types of
copy loops.

On the Freescale side, we see mostly new chip/board revisions, some
clock updates, better support for machine checks and debug exceptions,
etc...

Cheers,
Ben.

The following changes since commit a5b2cf5b1af424ee3dd9e3ce6d5cea18cb927e67:

  powerpc: Align p_dyn, p_rela and p_st symbols (2014-03-07 13:50:19 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next

for you to fetch changes up to cd427485357c0c4b99f69719251baacf25946e11:

  Merge remote-tracking branch 'scott/next' into next (2014-03-24 10:26:10 
+1100)



Aneesh Kumar K.V (2):
  powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split
  powerpc/defconfigs: Enable THP in pseries defconfig

Anshuman Khandual (2):
  powerpc/perf: Make some new raw event codes available in sysfs
  powerpc/perf: Define perf_event_print_debug() to print PMU register values

Anton Blanchard (2):
  powerpc: Use default set of netfilter modules 
(CONFIG_NETFILTER_ADVANCED=n)
  powerpc/compat: 32-bit little endian machine name is ppcle, not ppc

Benjamin Herrenschmidt (2):
  powerpc/pseries: Don't try to register pseries cpu hotplug on non-pseries
  Merge remote-tracking branch 'scott/next' into next

Benjamin Krill (1):
  powerpc/book3e: Fix check for linear mapping in TLB miss handler

Brandon Stewart (1):
  macintosh/adb: Fixed some coding style problems

Cody P Schafer (10):
  sysfs: create bin_attributes under the requested group
  powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info)
  powerpc/perf: Add hv_gpci interface header
  powerpc/perf: Add 24x7 interface headers
  powerpc/perf: Add a shared interface to get gpci version and capabilities
  powerpc/perf: Add macros for defining event fields & formats
  powerpc/perf: Add support for the hv gpci (get performance counter info) 
interface
  powerpc/perf: Add support for the hv 24x7 interface
  powerpc/perf: Add kconfig option for hypervisor provided counters
  powerpc/perf/hv_{gpci, 24x7}: Add documentation of device attributes

Greg Kurz (1):
  powerpc/le: Big endian arguments for ppc_rtas()

Haren Myneni (2):
  powerpc/pseries: Device tree should only be updated once after 
suspend/migrate
  powerpc/pseries: Update dynamic cache nodes for suspend/resume operation

Josh Boyer (1):
  powerpc: Update ppc4xx maintainer

Li Zhong (1):
  powerpc: Revert c6102609 and replace it with the correct fix for vio dma 
mask setting

Luis Henriques (1):
  powerpc/kconfig: Remove TSI108_BRIDGE duplicates

Mahesh Salgaonkar (2):
  powerpc/book3s: Recover from MC in sapphire on SCOM read via MMIO.
  powerpc/book3s: Fix CFAR clobbering issue in machine check handler.

Michael Ellerman (9):
  selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests
  powerpc: Add a cpu feature CPU_FTR_PMAO_BUG
  powerpc/perf: Add lost exception workaround
  powerpc/perf: Reject EBB events which specify a sample_type
  powerpc/perf: Clean up the EBB hash defines a little
  powerpc/perf: Avoid mutating event in power8_get_constraint()
  powerpc/perf: Add BHRB constraint and IFM MMCRA handling for EBB
  powerpc/perf: Enable BHRB access for EBB events
  

[git pull] Please pull powerpc.git merge branch

2014-04-01 Thread Benjamin Herrenschmidt
Hi Linus !

This time around, the powerpc merges are going to be a little bit
more complicated than usual.

This is the main pull request with most of the work for this merge
window. I will describe it a bit more further down.

There is some additional cpuidle driver work, however I haven't included
it in this tree as it depends on some work in tip/timer-core which
Thomas accidentally forgot to put in a topic branch. Since I didn't want
to carry all of that tip timer stuff in powerpc -next, I setup a
separate branch on top of Thomas tree with just that cpuidle driver in
it, and Stephen has been carrying that in next separately for a while
now. I'll send a separate pull request for it.

Additionally, two new pieces in this tree add users for a sysfs API
that Tejun and Greg have been deprecating in drivers-core-next.
Thankfully Greg reverted the patch that removes the old API so this
merge can happen cleanly, but once merged, I will send a patch adjusting
our new code to the new API so that Greg can send you the removal patch.

Now as for the content of this branch, we have a lot of perf work for
power8 new counters including support for our new nest counters
(also called 24x7) under pHyp (not natively yet).

We have new functionality when running under the OPAL firmware
(non-virtualized or KVM host), such as access to the firmware error logs
and service processor dumps, system parameters and sensors, along with
a hwmon driver for the latter.

There's also a bunch of bug fixes accross the board, some LE fixes,
and a nice set of selftests for validating our various types of
copy loops.

On the Freescale side, we see mostly new chip/board revisions, some
clock updates, better support for machine checks and debug exceptions,
etc...

Cheers,
Ben.

The following changes since commit a5b2cf5b1af424ee3dd9e3ce6d5cea18cb927e67:

  powerpc: Align p_dyn, p_rela and p_st symbols (2014-03-07 13:50:19 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next

for you to fetch changes up to cd427485357c0c4b99f69719251baacf25946e11:

  Merge remote-tracking branch 'scott/next' into next (2014-03-24 10:26:10 
+1100)



Aneesh Kumar K.V (2):
  powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split
  powerpc/defconfigs: Enable THP in pseries defconfig

Anshuman Khandual (2):
  powerpc/perf: Make some new raw event codes available in sysfs
  powerpc/perf: Define perf_event_print_debug() to print PMU register values

Anton Blanchard (2):
  powerpc: Use default set of netfilter modules 
(CONFIG_NETFILTER_ADVANCED=n)
  powerpc/compat: 32-bit little endian machine name is ppcle, not ppc

Benjamin Herrenschmidt (2):
  powerpc/pseries: Don't try to register pseries cpu hotplug on non-pseries
  Merge remote-tracking branch 'scott/next' into next

Benjamin Krill (1):
  powerpc/book3e: Fix check for linear mapping in TLB miss handler

Brandon Stewart (1):
  macintosh/adb: Fixed some coding style problems

Cody P Schafer (10):
  sysfs: create bin_attributes under the requested group
  powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info)
  powerpc/perf: Add hv_gpci interface header
  powerpc/perf: Add 24x7 interface headers
  powerpc/perf: Add a shared interface to get gpci version and capabilities
  powerpc/perf: Add macros for defining event fields  formats
  powerpc/perf: Add support for the hv gpci (get performance counter info) 
interface
  powerpc/perf: Add support for the hv 24x7 interface
  powerpc/perf: Add kconfig option for hypervisor provided counters
  powerpc/perf/hv_{gpci, 24x7}: Add documentation of device attributes

Greg Kurz (1):
  powerpc/le: Big endian arguments for ppc_rtas()

Haren Myneni (2):
  powerpc/pseries: Device tree should only be updated once after 
suspend/migrate
  powerpc/pseries: Update dynamic cache nodes for suspend/resume operation

Josh Boyer (1):
  powerpc: Update ppc4xx maintainer

Li Zhong (1):
  powerpc: Revert c6102609 and replace it with the correct fix for vio dma 
mask setting

Luis Henriques (1):
  powerpc/kconfig: Remove TSI108_BRIDGE duplicates

Mahesh Salgaonkar (2):
  powerpc/book3s: Recover from MC in sapphire on SCOM read via MMIO.
  powerpc/book3s: Fix CFAR clobbering issue in machine check handler.

Michael Ellerman (9):
  selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests
  powerpc: Add a cpu feature CPU_FTR_PMAO_BUG
  powerpc/perf: Add lost exception workaround
  powerpc/perf: Reject EBB events which specify a sample_type
  powerpc/perf: Clean up the EBB hash defines a little
  powerpc/perf: Avoid mutating event in power8_get_constraint()
  powerpc/perf: Add BHRB constraint and IFM MMCRA handling for EBB
  powerpc/perf: Enable BHRB access for EBB events
  

Re: [git pull] Please pull powerpc.git merge branch

2014-04-01 Thread Benjamin Herrenschmidt
On Wed, 2014-04-02 at 10:34 +1100, Benjamin Herrenschmidt wrote:
 Hi Linus !
 
 This time around, the powerpc merges are going to be a little bit
 more complicated than usual.

Looks like I sent this one twice, one with merge and one with next
in the subject. They are otherwise identical (it's next really). I
though I had cancelled the sending of the first one with the bad subject
but it looks like my mailer was faster than me.

Cheers,
Ben.


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-03-07 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a couple of powerpc fixes for 3.14. One is (another !) nasty TM
problem, we can crash the kernel by forking inside a transaction. The
other one is a simple fix for an alignment issue which can hurt in LE
mode.

Cheers,
Ben.

The following changes since commit e0cf957614976896111e676e5134ac98ee227d3d:

  powerpc/powernv: Fix indirect XSCOM unmangling (2014-02-28 19:15:49 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to a5b2cf5b1af424ee3dd9e3ce6d5cea18cb927e67:

  powerpc: Align p_dyn, p_rela and p_st symbols (2014-03-07 13:50:19 +1100)


Anton Blanchard (1):
  powerpc: Align p_dyn, p_rela and p_st symbols

Michael Neuling (1):
  powerpc/tm: Fix crash when forking inside a transaction

 arch/powerpc/kernel/process.c  | 9 +
 arch/powerpc/kernel/reloc_64.S | 1 +
 2 files changed, 10 insertions(+)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-03-07 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a couple of powerpc fixes for 3.14. One is (another !) nasty TM
problem, we can crash the kernel by forking inside a transaction. The
other one is a simple fix for an alignment issue which can hurt in LE
mode.

Cheers,
Ben.

The following changes since commit e0cf957614976896111e676e5134ac98ee227d3d:

  powerpc/powernv: Fix indirect XSCOM unmangling (2014-02-28 19:15:49 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to a5b2cf5b1af424ee3dd9e3ce6d5cea18cb927e67:

  powerpc: Align p_dyn, p_rela and p_st symbols (2014-03-07 13:50:19 +1100)


Anton Blanchard (1):
  powerpc: Align p_dyn, p_rela and p_st symbols

Michael Neuling (1):
  powerpc/tm: Fix crash when forking inside a transaction

 arch/powerpc/kernel/process.c  | 9 +
 arch/powerpc/kernel/reloc_64.S | 1 +
 2 files changed, 10 insertions(+)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-02-28 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc fixes for 3.14. Most of these are also
CC'ed to stable and fix bugs in new functionality introduced in
the last 2 or 3 versions.

The following changes since commit 66f9af83e56bfa12964d251df9d60fb571579913:

  powerpc/eeh: Disable EEH on reboot (2014-02-17 11:19:39 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e0cf957614976896111e676e5134ac98ee227d3d:

  powerpc/powernv: Fix indirect XSCOM unmangling (2014-02-28 19:15:49 +1100)


Benjamin Herrenschmidt (2):
  powerpc/powernv: Fix opal_xscom_{read,write} prototype
  powerpc/powernv: Fix indirect XSCOM unmangling

Gavin Shan (2):
  powerpc/powernv: Dump PHB diag-data immediately
  powerpc/powernv: Refactor PHB diag-data dump

Laurent Dufour (1):
  powerpc/crashdump : Fix page frame number check in copy_oldmem_page

Liu Ping Fan (1):
  powerpc/ftrace: bugfix for test_24bit_addr

Paul Mackerras (1):
  powerpc: Increase stack redzone for 64-bit userspace to 512 bytes

Tony Breeds (1):
  powerpc/le: Ensure that the 'stop-self' RTAS token is handled correctly

 arch/powerpc/include/asm/compat.h|   5 +-
 arch/powerpc/include/asm/opal.h  |   4 +-
 arch/powerpc/include/asm/ptrace.h|  16 +-
 arch/powerpc/kernel/crash_dump.c |   8 +-
 arch/powerpc/kernel/ftrace.c |   1 +
 arch/powerpc/kernel/signal_64.c  |   4 +-
 arch/powerpc/platforms/powernv/eeh-ioda.c|  96 ++--
 arch/powerpc/platforms/powernv/opal-xscom.c  |  21 +--
 arch/powerpc/platforms/powernv/pci.c | 220 +++
 arch/powerpc/platforms/pseries/hotplug-cpu.c |  22 +--
 10 files changed, 219 insertions(+), 178 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-02-28 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc fixes for 3.14. Most of these are also
CC'ed to stable and fix bugs in new functionality introduced in
the last 2 or 3 versions.

The following changes since commit 66f9af83e56bfa12964d251df9d60fb571579913:

  powerpc/eeh: Disable EEH on reboot (2014-02-17 11:19:39 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e0cf957614976896111e676e5134ac98ee227d3d:

  powerpc/powernv: Fix indirect XSCOM unmangling (2014-02-28 19:15:49 +1100)


Benjamin Herrenschmidt (2):
  powerpc/powernv: Fix opal_xscom_{read,write} prototype
  powerpc/powernv: Fix indirect XSCOM unmangling

Gavin Shan (2):
  powerpc/powernv: Dump PHB diag-data immediately
  powerpc/powernv: Refactor PHB diag-data dump

Laurent Dufour (1):
  powerpc/crashdump : Fix page frame number check in copy_oldmem_page

Liu Ping Fan (1):
  powerpc/ftrace: bugfix for test_24bit_addr

Paul Mackerras (1):
  powerpc: Increase stack redzone for 64-bit userspace to 512 bytes

Tony Breeds (1):
  powerpc/le: Ensure that the 'stop-self' RTAS token is handled correctly

 arch/powerpc/include/asm/compat.h|   5 +-
 arch/powerpc/include/asm/opal.h  |   4 +-
 arch/powerpc/include/asm/ptrace.h|  16 +-
 arch/powerpc/kernel/crash_dump.c |   8 +-
 arch/powerpc/kernel/ftrace.c |   1 +
 arch/powerpc/kernel/signal_64.c  |   4 +-
 arch/powerpc/platforms/powernv/eeh-ioda.c|  96 ++--
 arch/powerpc/platforms/powernv/opal-xscom.c  |  21 +--
 arch/powerpc/platforms/powernv/pci.c | 220 +++
 arch/powerpc/platforms/pseries/hotplug-cpu.c |  22 +--
 10 files changed, 219 insertions(+), 178 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-02-16 Thread Benjamin Herrenschmidt
Hi Linus !

Here are some more powerpc fixes for 3.14

The main one is a nasty issue with the NUMA balancing support
which requires a small generic change and the addition of a new
accessor to set _PAGE_NUMA. Both have been reviewed and acked by
Mel and Rik.

The changelog should have plenty of details but basically,
without this fix, we get random user segfaults and/or
corruptions due to missing TLB/hash flushes. Aneesh series
of 3 patches fixes it.

We have some vDSO vs. perf fixes from Anton, some small EEH
fixes from Gavin, a ppc32 regression vs. the stack overflow
detector, and a fix for the way we handle PCIe host bridge
speed settings on pseries (which is needed for proper
operations of AMD graphics cards on Power8).

Cheers,
Ben.

The following changes since commit cd15b048445d0a54f7147c35a86c5a16ef231554:

  powerpc/powernv: Add iommu DMA bypass support for IODA2 (2014-02-11 16:07:37 
+1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 66f9af83e56bfa12964d251df9d60fb571579913:

  powerpc/eeh: Disable EEH on reboot (2014-02-17 11:19:39 +1100)


Aneesh Kumar K.V (3):
  powerpc/mm: Add new "set" flag argument to pte/pmd update function
  mm: Dirty accountable change only apply to non prot numa case
  mm: Use ptep/pmdp_set_numa() for updating _PAGE_NUMA bit

Anton Blanchard (2):
  powerpc: Link VDSOs at 0x0
  powerpc: Use unstripped VDSO image for more accurate profiling data

Gavin Shan (3):
  powerpc/powernv: Rework EEH reset
  powerpc/eeh: Cleanup on eeh_subsystem_enabled
  powerpc/eeh: Disable EEH on reboot

Kevin Hao (1):
  powerpc: Set the correct ksp_limit on ppc32 when switching to irq stack

Kleber Sacilotto de Souza (2):
  powerpc/pseries: Fix regression on PCI link speed
  powerpc/pseries: Add Gen3 definitions for PCIE link speed

 arch/powerpc/include/asm/eeh.h   | 21 +--
 arch/powerpc/include/asm/hugetlb.h   |  2 +-
 arch/powerpc/include/asm/pgtable-ppc64.h | 26 +++
 arch/powerpc/include/asm/pgtable.h   | 22 
 arch/powerpc/include/asm/vdso.h  |  6 ++---
 arch/powerpc/kernel/eeh.c| 32 ++-
 arch/powerpc/kernel/misc_32.S|  5 +++-
 arch/powerpc/kernel/vdso32/vdso32_wrapper.S  |  2 +-
 arch/powerpc/kernel/vdso64/vdso64_wrapper.S  |  2 +-
 arch/powerpc/mm/pgtable_64.c | 12 +
 arch/powerpc/mm/subpage-prot.c   |  2 +-
 arch/powerpc/platforms/powernv/eeh-ioda.c| 32 +--
 arch/powerpc/platforms/powernv/eeh-powernv.c |  2 +-
 arch/powerpc/platforms/pseries/eeh_pseries.c |  2 +-
 arch/powerpc/platforms/pseries/pci.c | 22 +++-
 include/asm-generic/pgtable.h| 39 
 mm/huge_memory.c |  9 ++-
 mm/mprotect.c| 25 ++
 18 files changed, 172 insertions(+), 91 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-02-16 Thread Benjamin Herrenschmidt
Hi Linus !

Here are some more powerpc fixes for 3.14

The main one is a nasty issue with the NUMA balancing support
which requires a small generic change and the addition of a new
accessor to set _PAGE_NUMA. Both have been reviewed and acked by
Mel and Rik.

The changelog should have plenty of details but basically,
without this fix, we get random user segfaults and/or
corruptions due to missing TLB/hash flushes. Aneesh series
of 3 patches fixes it.

We have some vDSO vs. perf fixes from Anton, some small EEH
fixes from Gavin, a ppc32 regression vs. the stack overflow
detector, and a fix for the way we handle PCIe host bridge
speed settings on pseries (which is needed for proper
operations of AMD graphics cards on Power8).

Cheers,
Ben.

The following changes since commit cd15b048445d0a54f7147c35a86c5a16ef231554:

  powerpc/powernv: Add iommu DMA bypass support for IODA2 (2014-02-11 16:07:37 
+1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 66f9af83e56bfa12964d251df9d60fb571579913:

  powerpc/eeh: Disable EEH on reboot (2014-02-17 11:19:39 +1100)


Aneesh Kumar K.V (3):
  powerpc/mm: Add new set flag argument to pte/pmd update function
  mm: Dirty accountable change only apply to non prot numa case
  mm: Use ptep/pmdp_set_numa() for updating _PAGE_NUMA bit

Anton Blanchard (2):
  powerpc: Link VDSOs at 0x0
  powerpc: Use unstripped VDSO image for more accurate profiling data

Gavin Shan (3):
  powerpc/powernv: Rework EEH reset
  powerpc/eeh: Cleanup on eeh_subsystem_enabled
  powerpc/eeh: Disable EEH on reboot

Kevin Hao (1):
  powerpc: Set the correct ksp_limit on ppc32 when switching to irq stack

Kleber Sacilotto de Souza (2):
  powerpc/pseries: Fix regression on PCI link speed
  powerpc/pseries: Add Gen3 definitions for PCIE link speed

 arch/powerpc/include/asm/eeh.h   | 21 +--
 arch/powerpc/include/asm/hugetlb.h   |  2 +-
 arch/powerpc/include/asm/pgtable-ppc64.h | 26 +++
 arch/powerpc/include/asm/pgtable.h   | 22 
 arch/powerpc/include/asm/vdso.h  |  6 ++---
 arch/powerpc/kernel/eeh.c| 32 ++-
 arch/powerpc/kernel/misc_32.S|  5 +++-
 arch/powerpc/kernel/vdso32/vdso32_wrapper.S  |  2 +-
 arch/powerpc/kernel/vdso64/vdso64_wrapper.S  |  2 +-
 arch/powerpc/mm/pgtable_64.c | 12 +
 arch/powerpc/mm/subpage-prot.c   |  2 +-
 arch/powerpc/platforms/powernv/eeh-ioda.c| 32 +--
 arch/powerpc/platforms/powernv/eeh-powernv.c |  2 +-
 arch/powerpc/platforms/pseries/eeh_pseries.c |  2 +-
 arch/powerpc/platforms/pseries/pci.c | 22 +++-
 include/asm-generic/pgtable.h| 39 
 mm/huge_memory.c |  9 ++-
 mm/mprotect.c| 25 ++
 18 files changed, 172 insertions(+), 91 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-02-11 Thread Benjamin Herrenschmidt
Hi Linus !

Here is some powerpc goodness for -rc2. Arguably -rc1 material more than
-rc2 but I was travelling (again !)

It's mostly bug fixes including regressions, but there are a couple of
new things that I decided to drop-in.

One is a straightforward patch from Michael to add a bunch of P8 cache
events to perf.

The other one is a patch by myself to add the direct DMA (iommu bypass)
for PCIe on Power8 for 64-bit capable devices. This has been around for
a while, I had lost track of it. However it's been in our internal
kernels we use for testing P8 already and it affects only P8 related
code. Since P8 is still unreleased the risk is pretty much nil at this
point.

Cheers,
Ben.

The following changes since commit b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed:

  Linux 3.14-rc2 (2014-02-09 18:15:47 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to cd15b048445d0a54f7147c35a86c5a16ef231554:

  powerpc/powernv: Add iommu DMA bypass support for IODA2 (2014-02-11 16:07:37 
+1100)


Anshuman Khandual (1):
  powerpc/perf: Configure BHRB filter before enabling PMU interrupts

Anton Blanchard (1):
  powerpc: Fix endian issues in kexec and crash dump code

Benjamin Herrenschmidt (1):
  powerpc/powernv: Add iommu DMA bypass support for IODA2

Kevin Hao (1):
  powerpc/ppc32: Fix the bug in the init of non-base exception stack for UP

Laurent Dufour (1):
  powerpc/relocate fix relocate processing in LE mode

Mahesh Salgaonkar (2):
  powerpc/pseries: Disable relocation on exception while going down during 
crash.
  powerpc: Fix kdump hang issue on p8 with relocation on exception enabled.

Michael Ellerman (5):
  powerpc/perf: Add Power8 cache & TLB events
  powerpc/pseries: Select ARCH_RANDOM on pseries
  powerpc/xmon: Don't loop forever in get_output_lock()
  powerpc/xmon: Fix timeout loop in get_output_lock()
  powerpc/xmon: Don't signal we've entered until we're finished printing

Nathan Fontenot (1):
  crypto/nx/nx-842: Fix handling of vmalloc addresses

Paul Gortmaker (1):
  powerpc: Fix build failure in sysdev/mpic.c for MPIC_WEIRD=y

Thadeu Lima de Souza Cascardo (1):
  powerpc/eeh: Drop taken reference to driver on eeh_rmv_device

 arch/powerpc/include/asm/dma-mapping.h|   1 +
 arch/powerpc/include/asm/iommu.h  |   1 +
 arch/powerpc/include/asm/sections.h   |  12 +++
 arch/powerpc/kernel/dma.c |  10 ++-
 arch/powerpc/kernel/eeh_driver.c  |   8 +-
 arch/powerpc/kernel/iommu.c   |  12 +++
 arch/powerpc/kernel/irq.c |   5 ++
 arch/powerpc/kernel/machine_kexec.c   |  14 ++-
 arch/powerpc/kernel/machine_kexec_64.c|   6 +-
 arch/powerpc/kernel/reloc_64.S|   4 +-
 arch/powerpc/kernel/setup_32.c|   5 ++
 arch/powerpc/mm/hash_utils_64.c   |  14 +++
 arch/powerpc/perf/core-book3s.c   |   5 +-
 arch/powerpc/perf/power8-pmu.c| 144 ++
 arch/powerpc/platforms/powernv/pci-ioda.c |  84 +
 arch/powerpc/platforms/powernv/pci.c  |  10 +++
 arch/powerpc/platforms/powernv/pci.h  |   6 +-
 arch/powerpc/platforms/powernv/powernv.h  |   8 ++
 arch/powerpc/platforms/powernv/setup.c|   9 ++
 arch/powerpc/platforms/pseries/Kconfig|   1 +
 arch/powerpc/platforms/pseries/setup.c|   3 +-
 arch/powerpc/sysdev/mpic.c|  38 
 arch/powerpc/xmon/xmon.c  |  24 +++--
 drivers/crypto/nx/nx-842.c|  29 +++---
 24 files changed, 398 insertions(+), 55 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-02-11 Thread Benjamin Herrenschmidt
Hi Linus !

Here is some powerpc goodness for -rc2. Arguably -rc1 material more than
-rc2 but I was travelling (again !)

It's mostly bug fixes including regressions, but there are a couple of
new things that I decided to drop-in.

One is a straightforward patch from Michael to add a bunch of P8 cache
events to perf.

The other one is a patch by myself to add the direct DMA (iommu bypass)
for PCIe on Power8 for 64-bit capable devices. This has been around for
a while, I had lost track of it. However it's been in our internal
kernels we use for testing P8 already and it affects only P8 related
code. Since P8 is still unreleased the risk is pretty much nil at this
point.

Cheers,
Ben.

The following changes since commit b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed:

  Linux 3.14-rc2 (2014-02-09 18:15:47 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to cd15b048445d0a54f7147c35a86c5a16ef231554:

  powerpc/powernv: Add iommu DMA bypass support for IODA2 (2014-02-11 16:07:37 
+1100)


Anshuman Khandual (1):
  powerpc/perf: Configure BHRB filter before enabling PMU interrupts

Anton Blanchard (1):
  powerpc: Fix endian issues in kexec and crash dump code

Benjamin Herrenschmidt (1):
  powerpc/powernv: Add iommu DMA bypass support for IODA2

Kevin Hao (1):
  powerpc/ppc32: Fix the bug in the init of non-base exception stack for UP

Laurent Dufour (1):
  powerpc/relocate fix relocate processing in LE mode

Mahesh Salgaonkar (2):
  powerpc/pseries: Disable relocation on exception while going down during 
crash.
  powerpc: Fix kdump hang issue on p8 with relocation on exception enabled.

Michael Ellerman (5):
  powerpc/perf: Add Power8 cache  TLB events
  powerpc/pseries: Select ARCH_RANDOM on pseries
  powerpc/xmon: Don't loop forever in get_output_lock()
  powerpc/xmon: Fix timeout loop in get_output_lock()
  powerpc/xmon: Don't signal we've entered until we're finished printing

Nathan Fontenot (1):
  crypto/nx/nx-842: Fix handling of vmalloc addresses

Paul Gortmaker (1):
  powerpc: Fix build failure in sysdev/mpic.c for MPIC_WEIRD=y

Thadeu Lima de Souza Cascardo (1):
  powerpc/eeh: Drop taken reference to driver on eeh_rmv_device

 arch/powerpc/include/asm/dma-mapping.h|   1 +
 arch/powerpc/include/asm/iommu.h  |   1 +
 arch/powerpc/include/asm/sections.h   |  12 +++
 arch/powerpc/kernel/dma.c |  10 ++-
 arch/powerpc/kernel/eeh_driver.c  |   8 +-
 arch/powerpc/kernel/iommu.c   |  12 +++
 arch/powerpc/kernel/irq.c |   5 ++
 arch/powerpc/kernel/machine_kexec.c   |  14 ++-
 arch/powerpc/kernel/machine_kexec_64.c|   6 +-
 arch/powerpc/kernel/reloc_64.S|   4 +-
 arch/powerpc/kernel/setup_32.c|   5 ++
 arch/powerpc/mm/hash_utils_64.c   |  14 +++
 arch/powerpc/perf/core-book3s.c   |   5 +-
 arch/powerpc/perf/power8-pmu.c| 144 ++
 arch/powerpc/platforms/powernv/pci-ioda.c |  84 +
 arch/powerpc/platforms/powernv/pci.c  |  10 +++
 arch/powerpc/platforms/powernv/pci.h  |   6 +-
 arch/powerpc/platforms/powernv/powernv.h  |   8 ++
 arch/powerpc/platforms/powernv/setup.c|   9 ++
 arch/powerpc/platforms/pseries/Kconfig|   1 +
 arch/powerpc/platforms/pseries/setup.c|   3 +-
 arch/powerpc/sysdev/mpic.c|  38 
 arch/powerpc/xmon/xmon.c  |  24 +++--
 drivers/crypto/nx/nx-842.c|  29 +++---
 24 files changed, 398 insertions(+), 55 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-01-27 Thread Benjamin Herrenschmidt
Hi Linus !

This is the patch that I had sent after -rc8 and which we decided
to wait before merging. It's based on a different tree than my
-next branch (it needs some pre-reqs that were in -rc4 or so while
my -next is based on -rc1) so I left it as a separate branch for
your to pull. It's identical to the request I did 2 or 3 weeks back.

This fixes crashes in mremap with THP on powerpc.

The fix however requires a small change in the generic code. It moves a
condition into a helper we can override from the arch which is harmless,
but it *also* slightly changes the order of the set_pmd and the withdraw
& deposit, which should be fine according to Kirill (who wrote that
code) but I agree -rc8 is a bit late...

It was acked by Kirill and Andrew told me to just merge it via powerpc.

Cheers,
Ben.

The following changes since commit a6da83f98267bc8ee4e34aa899169991eb0ceb93:

  Merge branch 'merge' of 
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2014-01-13 10:59:05 
+0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to b3084f4db3aeb991c507ca774337c7e7893ed04f:

  powerpc/thp: Fix crash on mremap (2014-01-15 15:46:38 +1100)


Aneesh Kumar K.V (1):
  powerpc/thp: Fix crash on mremap

 arch/powerpc/include/asm/pgtable-ppc64.h | 14 ++
 include/asm-generic/pgtable.h| 12 
 mm/huge_memory.c | 14 +-
 3 files changed, 31 insertions(+), 9 deletions(-)



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-01-27 Thread Benjamin Herrenschmidt
Hi Linus !

This is the patch that I had sent after -rc8 and which we decided
to wait before merging. It's based on a different tree than my
-next branch (it needs some pre-reqs that were in -rc4 or so while
my -next is based on -rc1) so I left it as a separate branch for
your to pull. It's identical to the request I did 2 or 3 weeks back.

This fixes crashes in mremap with THP on powerpc.

The fix however requires a small change in the generic code. It moves a
condition into a helper we can override from the arch which is harmless,
but it *also* slightly changes the order of the set_pmd and the withdraw
 deposit, which should be fine according to Kirill (who wrote that
code) but I agree -rc8 is a bit late...

It was acked by Kirill and Andrew told me to just merge it via powerpc.

Cheers,
Ben.

The following changes since commit a6da83f98267bc8ee4e34aa899169991eb0ceb93:

  Merge branch 'merge' of 
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2014-01-13 10:59:05 
+0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to b3084f4db3aeb991c507ca774337c7e7893ed04f:

  powerpc/thp: Fix crash on mremap (2014-01-15 15:46:38 +1100)


Aneesh Kumar K.V (1):
  powerpc/thp: Fix crash on mremap

 arch/powerpc/include/asm/pgtable-ppc64.h | 14 ++
 include/asm-generic/pgtable.h| 12 
 mm/huge_memory.c | 14 +-
 3 files changed, 31 insertions(+), 9 deletions(-)



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2014-01-15 Thread Benjamin Herrenschmidt
On Wed, 2014-01-15 at 15:05 +0700, Linus Torvalds wrote:
> On Wed, Jan 15, 2014 at 12:01 PM, Benjamin Herrenschmidt
>  wrote:
> >
> > My original intend was to put it in powerpc-next and then shoot it to
> > stable, but it got a tad annoying (due to churn it needs to be applied
> > at least on rc4 or later while my next is at rc1 and clean that way), so
> > I put it in the merge branch.
> 
> Quite frankly, I'll prefer to not merge it now, and then 3.13 will get
> it from stable, when it does things like this.
> 
> Partly because it fixes a power-only bug, but potentially changes
> non-power behavior. If it was all in arch/powerpc, I wouldn't mind.

Right, I wasn't too comfortable either. I'll resend the pull request
after the merge window is open.

Cheers,
Ben.

>Linus
> --
> 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.html
> Please read the FAQ at  http://www.tux.org/lkml/


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2014-01-15 Thread Linus Torvalds
On Wed, Jan 15, 2014 at 12:01 PM, Benjamin Herrenschmidt
 wrote:
>
> My original intend was to put it in powerpc-next and then shoot it to
> stable, but it got a tad annoying (due to churn it needs to be applied
> at least on rc4 or later while my next is at rc1 and clean that way), so
> I put it in the merge branch.

Quite frankly, I'll prefer to not merge it now, and then 3.13 will get
it from stable, when it does things like this.

Partly because it fixes a power-only bug, but potentially changes
non-power behavior. If it was all in arch/powerpc, I wouldn't mind.

   Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2014-01-15 Thread Linus Torvalds
On Wed, Jan 15, 2014 at 12:01 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:

 My original intend was to put it in powerpc-next and then shoot it to
 stable, but it got a tad annoying (due to churn it needs to be applied
 at least on rc4 or later while my next is at rc1 and clean that way), so
 I put it in the merge branch.

Quite frankly, I'll prefer to not merge it now, and then 3.13 will get
it from stable, when it does things like this.

Partly because it fixes a power-only bug, but potentially changes
non-power behavior. If it was all in arch/powerpc, I wouldn't mind.

   Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2014-01-15 Thread Benjamin Herrenschmidt
On Wed, 2014-01-15 at 15:05 +0700, Linus Torvalds wrote:
 On Wed, Jan 15, 2014 at 12:01 PM, Benjamin Herrenschmidt
 b...@kernel.crashing.org wrote:
 
  My original intend was to put it in powerpc-next and then shoot it to
  stable, but it got a tad annoying (due to churn it needs to be applied
  at least on rc4 or later while my next is at rc1 and clean that way), so
  I put it in the merge branch.
 
 Quite frankly, I'll prefer to not merge it now, and then 3.13 will get
 it from stable, when it does things like this.
 
 Partly because it fixes a power-only bug, but potentially changes
 non-power behavior. If it was all in arch/powerpc, I wouldn't mind.

Right, I wasn't too comfortable either. I'll resend the pull request
after the merge window is open.

Cheers,
Ben.

Linus
 --
 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.html
 Please read the FAQ at  http://www.tux.org/lkml/


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-01-14 Thread Benjamin Herrenschmidt
Hi Linus !

So you make the call onto whether taking that one now or waiting for the
merge window. It's a bug fix for a crash in mremap that occurs on
powerpc with THP enabled.

The fix however requires a small change in the generic code. It moves a
condition into a helper we can override from the arch which is harmless,
but it *also* slightly changes the order of the set_pmd and the withdraw
& deposit, which should be fine according to Kirill (who wrote that
code) but I agree -rc8 is a bit late...

It was acked by Kirill and Andrew told me to just merge it via powerpc.

My original intend was to put it in powerpc-next and then shoot it to
stable, but it got a tad annoying (due to churn it needs to be applied
at least on rc4 or later while my next is at rc1 and clean that way), so
I put it in the merge branch.

>From there, you tell me if you want to take it now, if not, I'll send
you that branch along with my normal next one after you open the merge
window.

Cheers,
Ben.

The following changes since commit a6da83f98267bc8ee4e34aa899169991eb0ceb93:

  Merge branch 'merge' of 
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2014-01-13 10:59:05 
+0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to b3084f4db3aeb991c507ca774337c7e7893ed04f:

  powerpc/thp: Fix crash on mremap (2014-01-15 15:46:38 +1100)


Aneesh Kumar K.V (1):
  powerpc/thp: Fix crash on mremap

 arch/powerpc/include/asm/pgtable-ppc64.h | 14 ++
 include/asm-generic/pgtable.h| 12 
 mm/huge_memory.c | 14 +-
 3 files changed, 31 insertions(+), 9 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-01-14 Thread Benjamin Herrenschmidt
Hi Linus !

So you make the call onto whether taking that one now or waiting for the
merge window. It's a bug fix for a crash in mremap that occurs on
powerpc with THP enabled.

The fix however requires a small change in the generic code. It moves a
condition into a helper we can override from the arch which is harmless,
but it *also* slightly changes the order of the set_pmd and the withdraw
 deposit, which should be fine according to Kirill (who wrote that
code) but I agree -rc8 is a bit late...

It was acked by Kirill and Andrew told me to just merge it via powerpc.

My original intend was to put it in powerpc-next and then shoot it to
stable, but it got a tad annoying (due to churn it needs to be applied
at least on rc4 or later while my next is at rc1 and clean that way), so
I put it in the merge branch.

From there, you tell me if you want to take it now, if not, I'll send
you that branch along with my normal next one after you open the merge
window.

Cheers,
Ben.

The following changes since commit a6da83f98267bc8ee4e34aa899169991eb0ceb93:

  Merge branch 'merge' of 
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2014-01-13 10:59:05 
+0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to b3084f4db3aeb991c507ca774337c7e7893ed04f:

  powerpc/thp: Fix crash on mremap (2014-01-15 15:46:38 +1100)


Aneesh Kumar K.V (1):
  powerpc/thp: Fix crash on mremap

 arch/powerpc/include/asm/pgtable-ppc64.h | 14 ++
 include/asm-generic/pgtable.h| 12 
 mm/huge_memory.c | 14 +-
 3 files changed, 31 insertions(+), 9 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-01-12 Thread Benjamin Herrenschmidt
Hi Linus !

Here's one regression fix for 3.13 that I would appreciate if you could still
pull in. It was an "interesting" one to debug, basically it's an old bug that
got somewhat "exposed" by new code breaking the boot on PA Semi boards (yes,
it does appear that some people are still using these !).

Cheers,
Ben.

The following changes since commit f991db1cf1bdca43675b5d2df0af991719727029:

  Merge remote-tracking branch 'agust/merge' into merge (2013-12-30 14:48:27 
+1100)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 10348f5976830e5d8f74e8abb04a9a057a5e8478:

  powerpc: Check return value of instance-to-package OF call (2014-01-13 
09:49:17 +1100)


Benjamin Herrenschmidt (1):
  powerpc: Check return value of instance-to-package OF call

 arch/powerpc/kernel/prom_init.c | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2014-01-12 Thread Benjamin Herrenschmidt
Hi Linus !

Here's one regression fix for 3.13 that I would appreciate if you could still
pull in. It was an interesting one to debug, basically it's an old bug that
got somewhat exposed by new code breaking the boot on PA Semi boards (yes,
it does appear that some people are still using these !).

Cheers,
Ben.

The following changes since commit f991db1cf1bdca43675b5d2df0af991719727029:

  Merge remote-tracking branch 'agust/merge' into merge (2013-12-30 14:48:27 
+1100)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 10348f5976830e5d8f74e8abb04a9a057a5e8478:

  powerpc: Check return value of instance-to-package OF call (2014-01-13 
09:49:17 +1100)


Benjamin Herrenschmidt (1):
  powerpc: Check return value of instance-to-package OF call

 arch/powerpc/kernel/prom_init.c | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-12-29 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc fixes for 3.13. A bit more endian
problems found during testing of 3.13 and a few other simple fixes
and regressions fixes.

Cheers,
Ben.

The following changes since commit 803c2d2f84da9dc2619449994af34d27148ab20d:

  powerpc/powernv: Fix OPAL LPC access in Little Endian (2013-12-13 15:55:15 
+1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to f991db1cf1bdca43675b5d2df0af991719727029:

  Merge remote-tracking branch 'agust/merge' into merge (2013-12-30 14:48:27 
+1100)



Anton Blanchard (1):
  powerpc: Align p_end

Brian W Hart (2):
  powernv/eeh: Fix possible buffer overrun in ioda_eeh_phb_diag()
  powernv/eeh: Add buffer for P7IOC hub error data

Gerhard Sittig (1):
  powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node (5125)

Matteo Facchinetti (1):
  powerpc/512x: dts: disable MPC5125 usb module

Michael Neuling (1):
  powerpc: Fix bad stack check in exception entry

Olof Johansson (1):
  powerpc: Fix alignment of secondary cpu spin vars

Paul E. McKenney (1):
  powerpc: Make 64-bit non-VMX __copy_tofrom_user bi-endian

Rajesh B Prathipati (1):
  powerpc: Make unaligned accesses endian-safe for powerpc

 arch/powerpc/boot/dts/mpc5125twr.dts  |  6 +++-
 arch/powerpc/include/asm/exception-64s.h  |  2 +-
 arch/powerpc/include/asm/unaligned.h  |  7 +++-
 arch/powerpc/kernel/head_64.S |  2 ++
 arch/powerpc/lib/copyuser_64.S| 53 ++-
 arch/powerpc/platforms/powernv/eeh-ioda.c | 20 +++-
 arch/powerpc/platforms/powernv/pci.h  |  4 ++-
 7 files changed, 60 insertions(+), 34 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-12-29 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc fixes for 3.13. A bit more endian
problems found during testing of 3.13 and a few other simple fixes
and regressions fixes.

Cheers,
Ben.

The following changes since commit 803c2d2f84da9dc2619449994af34d27148ab20d:

  powerpc/powernv: Fix OPAL LPC access in Little Endian (2013-12-13 15:55:15 
+1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to f991db1cf1bdca43675b5d2df0af991719727029:

  Merge remote-tracking branch 'agust/merge' into merge (2013-12-30 14:48:27 
+1100)



Anton Blanchard (1):
  powerpc: Align p_end

Brian W Hart (2):
  powernv/eeh: Fix possible buffer overrun in ioda_eeh_phb_diag()
  powernv/eeh: Add buffer for P7IOC hub error data

Gerhard Sittig (1):
  powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node (5125)

Matteo Facchinetti (1):
  powerpc/512x: dts: disable MPC5125 usb module

Michael Neuling (1):
  powerpc: Fix bad stack check in exception entry

Olof Johansson (1):
  powerpc: Fix alignment of secondary cpu spin vars

Paul E. McKenney (1):
  powerpc: Make 64-bit non-VMX __copy_tofrom_user bi-endian

Rajesh B Prathipati (1):
  powerpc: Make unaligned accesses endian-safe for powerpc

 arch/powerpc/boot/dts/mpc5125twr.dts  |  6 +++-
 arch/powerpc/include/asm/exception-64s.h  |  2 +-
 arch/powerpc/include/asm/unaligned.h  |  7 +++-
 arch/powerpc/kernel/head_64.S |  2 ++
 arch/powerpc/lib/copyuser_64.S| 53 ++-
 arch/powerpc/platforms/powernv/eeh-ioda.c | 20 +++-
 arch/powerpc/platforms/powernv/pci.h  |  4 ++-
 7 files changed, 60 insertions(+), 34 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-12-15 Thread Benjamin Herrenschmidt
Hi Linus !

Here are some more powerpc fixes for 3.13.

Uli's patch fixes a regression in ptrace caused by a mis-merge of
a previous LE patch. The rest are all more endian fixes, all fairly
trivial, found during testing of 3.13-rc's.

Cheers,
Ben.

The following changes since commit e641eb03ab2b0f065fa5e64b4202fb5b0441b427:

  powerpc: Fix up the kdump base cap to 128M (2013-12-10 11:28:39 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 803c2d2f84da9dc2619449994af34d27148ab20d:

  powerpc/powernv: Fix OPAL LPC access in Little Endian (2013-12-13 15:55:15 
+1100)


Anton Blanchard (8):
  powerpc: Fix endian issue in setup-common.c
  powerpc: Fix topology core_id endian issue on LE builds
  powerpc/pseries: Fix endian issues in /proc/ppc64/lparcfg
  powerpc/pseries: Fix endian issues in nvram code
  powerpc/pseries: Fix PCIE link speed endian issue
  powerpc/pseries: Fix endian issues in MSI code
  powerpc: Fix endian issues in crash dump code
  powerpc/powernv: Fix endian issue in opal_xscom_read

Benjamin Herrenschmidt (1):
  powerpc/powernv: Fix OPAL LPC access in Little Endian

Ulrich Weigand (1):
  powerpc: PTRACE_PEEKUSR always returns FPR0

 arch/powerpc/include/asm/opal.h |  4 +--
 arch/powerpc/kernel/crash_dump.c|  6 ++--
 arch/powerpc/kernel/ptrace.c|  4 +--
 arch/powerpc/kernel/setup-common.c  |  4 +--
 arch/powerpc/kernel/smp.c   |  4 +--
 arch/powerpc/platforms/powernv/opal-lpc.c   | 12 
 arch/powerpc/platforms/powernv/opal-xscom.c |  4 ++-
 arch/powerpc/platforms/pseries/lparcfg.c| 12 
 arch/powerpc/platforms/pseries/msi.c| 28 ++
 arch/powerpc/platforms/pseries/nvram.c  | 46 ++---
 arch/powerpc/platforms/pseries/pci.c|  8 ++---
 11 files changed, 68 insertions(+), 64 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-12-15 Thread Benjamin Herrenschmidt
Hi Linus !

Here are some more powerpc fixes for 3.13.

Uli's patch fixes a regression in ptrace caused by a mis-merge of
a previous LE patch. The rest are all more endian fixes, all fairly
trivial, found during testing of 3.13-rc's.

Cheers,
Ben.

The following changes since commit e641eb03ab2b0f065fa5e64b4202fb5b0441b427:

  powerpc: Fix up the kdump base cap to 128M (2013-12-10 11:28:39 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 803c2d2f84da9dc2619449994af34d27148ab20d:

  powerpc/powernv: Fix OPAL LPC access in Little Endian (2013-12-13 15:55:15 
+1100)


Anton Blanchard (8):
  powerpc: Fix endian issue in setup-common.c
  powerpc: Fix topology core_id endian issue on LE builds
  powerpc/pseries: Fix endian issues in /proc/ppc64/lparcfg
  powerpc/pseries: Fix endian issues in nvram code
  powerpc/pseries: Fix PCIE link speed endian issue
  powerpc/pseries: Fix endian issues in MSI code
  powerpc: Fix endian issues in crash dump code
  powerpc/powernv: Fix endian issue in opal_xscom_read

Benjamin Herrenschmidt (1):
  powerpc/powernv: Fix OPAL LPC access in Little Endian

Ulrich Weigand (1):
  powerpc: PTRACE_PEEKUSR always returns FPR0

 arch/powerpc/include/asm/opal.h |  4 +--
 arch/powerpc/kernel/crash_dump.c|  6 ++--
 arch/powerpc/kernel/ptrace.c|  4 +--
 arch/powerpc/kernel/setup-common.c  |  4 +--
 arch/powerpc/kernel/smp.c   |  4 +--
 arch/powerpc/platforms/powernv/opal-lpc.c   | 12 
 arch/powerpc/platforms/powernv/opal-xscom.c |  4 ++-
 arch/powerpc/platforms/pseries/lparcfg.c| 12 
 arch/powerpc/platforms/pseries/msi.c| 28 ++
 arch/powerpc/platforms/pseries/nvram.c  | 46 ++---
 arch/powerpc/platforms/pseries/pci.c|  8 ++---
 11 files changed, 68 insertions(+), 64 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-12-09 Thread Benjamin Herrenschmidt
On Mon, 2013-12-09 at 19:58 -0800, Linus Torvalds wrote:
> On Mon, Dec 9, 2013 at 5:57 PM, Benjamin Herrenschmidt
>  wrote:
> >
> > Here are a handful of powerpc fixes for 3.13.
> 
> Grr.
> 
> I've pulled it, but looking at that history, it's just pure and utter
> f*cking garbage.
> 
> It was rebased *minutes* before sending it, as far as I can tell. Why?

It was *created* shortly before sending it:

Basically I put that thing together as a patchwork bundle which I grew
over this week.

Today I just applied them to my git, ran my build testers, booted a
machine to dbl check and sent. I tend to not let things linger long in
git when it's just fixes like that.

> And it has a pointless merge that you must have created with "--no-ff"
> for no apparent good reason.

Oh that's my fault. I thought you preferred that way to keep track of
cases where I pull from somebody since then the patch don't have my
s-o-b... my bad for misunderstanding that part of the process.

> WTF? What the hell happened here, and why? As mentioned, it's in my
> tree, but I was *this* close to just unpulling and saying "fuck that"
> when I started looking at it.

Heh sorry.

Cheers,
Ben.

> 
>   Linus
> --
> 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.html
> Please read the FAQ at  http://www.tux.org/lkml/


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-12-09 Thread Linus Torvalds
On Mon, Dec 9, 2013 at 5:57 PM, Benjamin Herrenschmidt
 wrote:
>
> Here are a handful of powerpc fixes for 3.13.

Grr.

I've pulled it, but looking at that history, it's just pure and utter
f*cking garbage.

It was rebased *minutes* before sending it, as far as I can tell. Why?

And it has a pointless merge that you must have created with "--no-ff"
for no apparent good reason.

WTF? What the hell happened here, and why? As mentioned, it's in my
tree, but I was *this* close to just unpulling and saying "fuck that"
when I started looking at it.

  Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-12-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful of powerpc fixes for 3.13.

The patches are reasonably trivial and self contained. Note the
offb patches outside of arch/powerpc, they are LE fixes for our
open-firmware "dumb" framebuffer.

Cheers,
Ben.

The following changes since commit 721cb59e9d95eb7f47ec73711ed35ef85e1ea1ca:

  powerpc/windfarm: Fix XServe G5 fan control Makefile issue (2013-11-27 
11:35:47 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e641eb03ab2b0f065fa5e64b4202fb5b0441b427:

  powerpc: Fix up the kdump base cap to 128M (2013-12-10 11:28:39 +1100)


Anatolij Gustschin (1):
  powerpc/52xx: Re-enable bestcomm driver in defconfigs

Cedric Le Goater (2):
  offb: Little endian fixes
  offb: Add palette hack for little endian

Gerhard Sittig (1):
  powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node

Hong H. Pham (1):
  powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

Ilia Mirkin (1):
  powerpc/44x: Fix ocm_block allocation

Mahesh Salgaonkar (1):
  powerpc: Fix up the kdump base cap to 128M

Michael Ellerman (1):
  powerpc: Fix build break with PPC_EARLY_DEBUG_BOOTX=y

Olof Johansson (1):
  powerpc/pasemi: Turn on devtmpfs in defconfig

Thadeu Lima de Souza Cascardo (1):
  powernv: Fix VFIO support with PHB3

 arch/powerpc/boot/dts/mpc5121.dtsi|  1 -
 arch/powerpc/configs/52xx/cm5200_defconfig|  3 ++-
 arch/powerpc/configs/52xx/lite5200b_defconfig |  3 ++-
 arch/powerpc/configs/52xx/motionpro_defconfig |  3 ++-
 arch/powerpc/configs/52xx/pcm030_defconfig|  3 ++-
 arch/powerpc/configs/52xx/tqm5200_defconfig   |  3 ++-
 arch/powerpc/configs/mpc5200_defconfig|  3 ++-
 arch/powerpc/configs/pasemi_defconfig |  7 +++
 arch/powerpc/include/asm/pgalloc-32.h |  6 ++
 arch/powerpc/include/asm/pgalloc-64.h |  6 ++
 arch/powerpc/kernel/machine_kexec.c   |  2 +-
 arch/powerpc/kernel/misc_64.S |  5 -
 arch/powerpc/platforms/powernv/pci-ioda.c |  1 +
 arch/powerpc/sysdev/ppc4xx_ocm.c  |  2 +-
 drivers/video/offb.c  | 29 +++
 15 files changed, 47 insertions(+), 30 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-12-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful of powerpc fixes for 3.13.

The patches are reasonably trivial and self contained. Note the
offb patches outside of arch/powerpc, they are LE fixes for our
open-firmware dumb framebuffer.

Cheers,
Ben.

The following changes since commit 721cb59e9d95eb7f47ec73711ed35ef85e1ea1ca:

  powerpc/windfarm: Fix XServe G5 fan control Makefile issue (2013-11-27 
11:35:47 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e641eb03ab2b0f065fa5e64b4202fb5b0441b427:

  powerpc: Fix up the kdump base cap to 128M (2013-12-10 11:28:39 +1100)


Anatolij Gustschin (1):
  powerpc/52xx: Re-enable bestcomm driver in defconfigs

Cedric Le Goater (2):
  offb: Little endian fixes
  offb: Add palette hack for little endian

Gerhard Sittig (1):
  powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node

Hong H. Pham (1):
  powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

Ilia Mirkin (1):
  powerpc/44x: Fix ocm_block allocation

Mahesh Salgaonkar (1):
  powerpc: Fix up the kdump base cap to 128M

Michael Ellerman (1):
  powerpc: Fix build break with PPC_EARLY_DEBUG_BOOTX=y

Olof Johansson (1):
  powerpc/pasemi: Turn on devtmpfs in defconfig

Thadeu Lima de Souza Cascardo (1):
  powernv: Fix VFIO support with PHB3

 arch/powerpc/boot/dts/mpc5121.dtsi|  1 -
 arch/powerpc/configs/52xx/cm5200_defconfig|  3 ++-
 arch/powerpc/configs/52xx/lite5200b_defconfig |  3 ++-
 arch/powerpc/configs/52xx/motionpro_defconfig |  3 ++-
 arch/powerpc/configs/52xx/pcm030_defconfig|  3 ++-
 arch/powerpc/configs/52xx/tqm5200_defconfig   |  3 ++-
 arch/powerpc/configs/mpc5200_defconfig|  3 ++-
 arch/powerpc/configs/pasemi_defconfig |  7 +++
 arch/powerpc/include/asm/pgalloc-32.h |  6 ++
 arch/powerpc/include/asm/pgalloc-64.h |  6 ++
 arch/powerpc/kernel/machine_kexec.c   |  2 +-
 arch/powerpc/kernel/misc_64.S |  5 -
 arch/powerpc/platforms/powernv/pci-ioda.c |  1 +
 arch/powerpc/sysdev/ppc4xx_ocm.c  |  2 +-
 drivers/video/offb.c  | 29 +++
 15 files changed, 47 insertions(+), 30 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-12-09 Thread Linus Torvalds
On Mon, Dec 9, 2013 at 5:57 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:

 Here are a handful of powerpc fixes for 3.13.

Grr.

I've pulled it, but looking at that history, it's just pure and utter
f*cking garbage.

It was rebased *minutes* before sending it, as far as I can tell. Why?

And it has a pointless merge that you must have created with --no-ff
for no apparent good reason.

WTF? What the hell happened here, and why? As mentioned, it's in my
tree, but I was *this* close to just unpulling and saying fuck that
when I started looking at it.

  Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-12-09 Thread Benjamin Herrenschmidt
On Mon, 2013-12-09 at 19:58 -0800, Linus Torvalds wrote:
 On Mon, Dec 9, 2013 at 5:57 PM, Benjamin Herrenschmidt
 b...@kernel.crashing.org wrote:
 
  Here are a handful of powerpc fixes for 3.13.
 
 Grr.
 
 I've pulled it, but looking at that history, it's just pure and utter
 f*cking garbage.
 
 It was rebased *minutes* before sending it, as far as I can tell. Why?

It was *created* shortly before sending it:

Basically I put that thing together as a patchwork bundle which I grew
over this week.

Today I just applied them to my git, ran my build testers, booted a
machine to dbl check and sent. I tend to not let things linger long in
git when it's just fixes like that.

 And it has a pointless merge that you must have created with --no-ff
 for no apparent good reason.

Oh that's my fault. I thought you preferred that way to keep track of
cases where I pull from somebody since then the patch don't have my
s-o-b... my bad for misunderstanding that part of the process.

 WTF? What the hell happened here, and why? As mentioned, it's in my
 tree, but I was *this* close to just unpulling and saying fuck that
 when I started looking at it.

Heh sorry.

Cheers,
Ben.

 
   Linus
 --
 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.html
 Please read the FAQ at  http://www.tux.org/lkml/


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-11-26 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few powerpc bug fixes post -rc1. The main thing that caused
problem was that CONFIG_CPU_LITTLE_ENDIAN got turned on with allyesconfig
and such, which is not a very good idea especially since it requires a
newer toolchain than what most people have. So we turned it into a
choice instead that defaults to big endian.

Cheers,
Ben.

The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae:

  Linux 3.13-rc1 (2013-11-22 11:30:55 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 721cb59e9d95eb7f47ec73711ed35ef85e1ea1ca:

  powerpc/windfarm: Fix XServe G5 fan control Makefile issue (2013-11-27 
11:35:47 +1100)


Adam Borowski (1):
  powerpc/85xx: typo in dts: "interupt" (four devices)

Anton Blanchard (1):
  powerpc: allyesconfig should not select CONFIG_CPU_LITTLE_ENDIAN

Benjamin Herrenschmidt (2):
  Merge remote-tracking branch 'scott/master' into merge
  powerpc/windfarm: Fix XServe G5 fan control Makefile issue

Chen Gang (1):
  arch/powerpc/kernel: Use %12.12s instead of %12s to avoid memory overflow

Hari Bathini (1):
  powerpc/kdump: Adding symbols in vmcoreinfo to facilitate dump filtering

LEROY Christophe (1):
  powerpc/8xx: mfspr SPRN_TBRx in lieu of mftb/mftbu is not supported

Michael Neuling (2):
  powerpc: Fix error when cross building TAGS & cscope
  powerpc/signals: Improved mark VSX not saved with small contexts fix

Scott Wood (1):
  powerpc/booke: Only check for hugetlb in flush if vma != NULL

Tiejun Chen (1):
  powerpc/corenet64: compile with CONFIG_E{5,6}500_CPU well

 arch/powerpc/Makefile |  7 +++
 arch/powerpc/boot/dts/xcalibur1501.dts|  4 ++--
 arch/powerpc/boot/dts/xpedite5301.dts |  4 ++--
 arch/powerpc/boot/dts/xpedite5330.dts |  4 ++--
 arch/powerpc/boot/dts/xpedite5370.dts |  4 ++--
 arch/powerpc/boot/util.S  | 14 ++
 arch/powerpc/include/asm/pgalloc-64.h |  1 +
 arch/powerpc/include/asm/ppc_asm.h|  2 ++
 arch/powerpc/include/asm/reg.h|  7 +++
 arch/powerpc/include/asm/timex.h  |  8 
 arch/powerpc/kernel/machine_kexec.c   | 12 
 arch/powerpc/kernel/nvram_64.c|  2 +-
 arch/powerpc/kernel/signal_32.c   | 16 +++-
 arch/powerpc/kernel/signal_64.c   |  6 ++
 arch/powerpc/kernel/vdso32/gettimeofday.S |  6 ++
 arch/powerpc/mm/hugetlbpage-book3e.c  |  3 +--
 arch/powerpc/mm/tlb_nohash.c  |  2 +-
 arch/powerpc/platforms/Kconfig.cputype| 20 +---
 drivers/macintosh/Makefile|  1 +
 19 files changed, 99 insertions(+), 24 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-11-26 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few powerpc bug fixes post -rc1. The main thing that caused
problem was that CONFIG_CPU_LITTLE_ENDIAN got turned on with allyesconfig
and such, which is not a very good idea especially since it requires a
newer toolchain than what most people have. So we turned it into a
choice instead that defaults to big endian.

Cheers,
Ben.

The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae:

  Linux 3.13-rc1 (2013-11-22 11:30:55 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 721cb59e9d95eb7f47ec73711ed35ef85e1ea1ca:

  powerpc/windfarm: Fix XServe G5 fan control Makefile issue (2013-11-27 
11:35:47 +1100)


Adam Borowski (1):
  powerpc/85xx: typo in dts: interupt (four devices)

Anton Blanchard (1):
  powerpc: allyesconfig should not select CONFIG_CPU_LITTLE_ENDIAN

Benjamin Herrenschmidt (2):
  Merge remote-tracking branch 'scott/master' into merge
  powerpc/windfarm: Fix XServe G5 fan control Makefile issue

Chen Gang (1):
  arch/powerpc/kernel: Use %12.12s instead of %12s to avoid memory overflow

Hari Bathini (1):
  powerpc/kdump: Adding symbols in vmcoreinfo to facilitate dump filtering

LEROY Christophe (1):
  powerpc/8xx: mfspr SPRN_TBRx in lieu of mftb/mftbu is not supported

Michael Neuling (2):
  powerpc: Fix error when cross building TAGS  cscope
  powerpc/signals: Improved mark VSX not saved with small contexts fix

Scott Wood (1):
  powerpc/booke: Only check for hugetlb in flush if vma != NULL

Tiejun Chen (1):
  powerpc/corenet64: compile with CONFIG_E{5,6}500_CPU well

 arch/powerpc/Makefile |  7 +++
 arch/powerpc/boot/dts/xcalibur1501.dts|  4 ++--
 arch/powerpc/boot/dts/xpedite5301.dts |  4 ++--
 arch/powerpc/boot/dts/xpedite5330.dts |  4 ++--
 arch/powerpc/boot/dts/xpedite5370.dts |  4 ++--
 arch/powerpc/boot/util.S  | 14 ++
 arch/powerpc/include/asm/pgalloc-64.h |  1 +
 arch/powerpc/include/asm/ppc_asm.h|  2 ++
 arch/powerpc/include/asm/reg.h|  7 +++
 arch/powerpc/include/asm/timex.h  |  8 
 arch/powerpc/kernel/machine_kexec.c   | 12 
 arch/powerpc/kernel/nvram_64.c|  2 +-
 arch/powerpc/kernel/signal_32.c   | 16 +++-
 arch/powerpc/kernel/signal_64.c   |  6 ++
 arch/powerpc/kernel/vdso32/gettimeofday.S |  6 ++
 arch/powerpc/mm/hugetlbpage-book3e.c  |  3 +--
 arch/powerpc/mm/tlb_nohash.c  |  2 +-
 arch/powerpc/platforms/Kconfig.cputype| 20 +---
 drivers/macintosh/Makefile|  1 +
 19 files changed, 99 insertions(+), 24 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-11-20 Thread Benjamin Herrenschmidt
Hi Linus !

Since you pulled my previous one in less than 20mn (the LE stuff),
there's no point waiting for tomorrow for these fixes I mentioned
earlier so here they are.

This is a small collection of random bug fixes and a few improvements
of Oops output which I deemed valuable enough to include as well.

The fixes are essentially recent build breakage and regressions,
and a couple of older bugs such as the DTL log duplication, the
EEH issue with PCI_COMMAND_MASTER and the problem with small
contexts passed to get/set_context with VSX enabled.

Cheers,
Ben.
The following changes since commit b4789b8e6be3151a955ade74872822f30e8cd914:

  aacraid: prevent invalid pointer dereference (2013-11-19 16:27:39 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to c13f20ac48328b05cd3b8c19e31ed6c132b44b42:

  powerpc/signals: Mark VSX not saved with small contexts (2013-11-21 10:33:45 
+1100)


Aneesh Kumar K.V (1):
  powerpc: booke: Fix build failures

Anton Blanchard (5):
  powerpc: Print DAR and DSISR on machine check oopses
  powerpc: Remove a few lines of oops output
  powerpc/pseries: Duplicate dtl entries sometimes sent to userspace
  powerpc: Only print PACATMSCRATCH in oops when TM is active
  powerpc: ppc64 address space capped at 32TB, mmap randomisation disabled

Gavin Shan (2):
  powerpc/eeh: Enable PCI_COMMAND_MASTER for PCI bridges
  powerpc/eeh: More accurate log

Heiko Carstens (1):
  powerpc: Fix __get_user_pages_fast() irq handling

Li Zhong (1):
  powerpc/vio: Fix a dma_mask issue of vio

Michael Ellerman (2):
  powerpc: Make cpu_to_chip_id() available when SMP=n
  powerpc/pseries: Fix SMP=n build of rng.c

Michael Neuling (1):
  powerpc/signals: Mark VSX not saved with small contexts

 arch/powerpc/include/asm/smp.h|  2 +-
 arch/powerpc/kernel/eeh.c |  9 +
 arch/powerpc/kernel/eeh_event.c   |  9 +++--
 arch/powerpc/kernel/process.c | 21 +++--
 arch/powerpc/kernel/prom.c| 20 
 arch/powerpc/kernel/signal_32.c   | 10 +-
 arch/powerpc/kernel/smp.c | 16 
 arch/powerpc/kernel/time.c|  4 ++--
 arch/powerpc/kernel/vio.c |  2 +-
 arch/powerpc/mm/gup.c |  5 +++--
 arch/powerpc/mm/slice.c   |  2 +-
 arch/powerpc/platforms/powernv/rng.c  |  1 +
 arch/powerpc/platforms/pseries/rng.c  |  1 +
 arch/powerpc/platforms/wsp/chroma.c   |  1 +
 arch/powerpc/platforms/wsp/h8.c   |  1 +
 arch/powerpc/platforms/wsp/ics.c  |  2 ++
 arch/powerpc/platforms/wsp/opb_pic.c  |  2 ++
 arch/powerpc/platforms/wsp/psr2.c |  1 +
 arch/powerpc/platforms/wsp/scom_wsp.c |  1 +
 arch/powerpc/platforms/wsp/wsp.c  |  1 +
 20 files changed, 75 insertions(+), 36 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-11-20 Thread Benjamin Herrenschmidt
Hi Linus !

With my previous pull request I mentioned some remaining Little Endian
patches, notably support for our new ABI, which I was sitting on making
sure it was all finalized.

The toolchain folks confirmed it now, the new ABI is stable and merged
with gcc, so we are all good. Oh and we actually missed the actual
Kconfig switch for LE so here it is, along with a couple more bug fixes.

I have more fixes but not related to LE so I'll send them as a separate
pull request tomorrow, let's get this one out of the way.

Note that this supports running user space binaries using the new ABI,
but the kernel itself still needs to be built with the old one. We'll
bring fixes for that after -rc1.

Here's Anton log that goes with this series:

<<<
This patch series adds support for the new ABI, LPAR support
for H_SET_MODE and finally adds a kconfig option and defconfig.

ABIv2 support was recently committed to binutils and gcc, and
should be merged into glibc soon. There are a number of
very nice improvements including the removal of function
descriptors. Rusty's kernel patches allow binaries of either
ABI to work, easing the transition.
>>>

Cheers,
Ben.

The following changes since commit 0c4888ef1d8a8b82c29075ce7e257ff795af15c7:

  powerpc: Fix fatal SLB miss when restoring PPR (2013-11-06 14:13:53 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next

for you to fetch changes up to 280270828f108be56f0c486def58acabb070244f:

  powerpc: Wrong DWARF CFI in the kernel vdso for little-endian / ELFv2 
(2013-11-21 09:19:23 +1100)


Alistair Popple (1):
  powerpc: Don't use ELFv2 ABI to build the kernel

Anton Blanchard (4):
  powerpc/pseries: Fix endian issues in pseries EEH code
  pseries: Add H_SET_MODE to change exception endianness
  powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.
  powerpc: Add pseries_le_defconfig

Rusty Russell (4):
  powerpc: Add TIF_ELF2ABI flag.
  powerpc: Set eflags correctly for ELF ABIv2 core dumps.
  powerpc: ELF2 binaries launched directly.
  powerpc: ELF2 binaries signal handling

Ulrich Weigand (1):
  powerpc: Wrong DWARF CFI in the kernel vdso for little-endian / ELFv2

 arch/powerpc/Makefile|   1 +
 arch/powerpc/configs/pseries_le_defconfig| 352 +++
 arch/powerpc/include/asm/elf.h   |   4 +
 arch/powerpc/include/asm/hvcall.h|   2 +
 arch/powerpc/include/asm/plpar_wrappers.h|  26 ++
 arch/powerpc/include/asm/thread_info.h   |   9 +
 arch/powerpc/kernel/process.c|  50 ++--
 arch/powerpc/kernel/signal_64.c  |  25 +-
 arch/powerpc/kernel/vdso64/sigtramp.S|  16 +-
 arch/powerpc/platforms/Kconfig.cputype   |  11 +
 arch/powerpc/platforms/pseries/eeh_pseries.c |  21 +-
 arch/powerpc/platforms/pseries/lpar.c|  17 ++
 arch/powerpc/platforms/pseries/setup.c   |  42 
 13 files changed, 542 insertions(+), 34 deletions(-)
 create mode 100644 arch/powerpc/configs/pseries_le_defconfig



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-11-20 Thread Benjamin Herrenschmidt
Hi Linus !

With my previous pull request I mentioned some remaining Little Endian
patches, notably support for our new ABI, which I was sitting on making
sure it was all finalized.

The toolchain folks confirmed it now, the new ABI is stable and merged
with gcc, so we are all good. Oh and we actually missed the actual
Kconfig switch for LE so here it is, along with a couple more bug fixes.

I have more fixes but not related to LE so I'll send them as a separate
pull request tomorrow, let's get this one out of the way.

Note that this supports running user space binaries using the new ABI,
but the kernel itself still needs to be built with the old one. We'll
bring fixes for that after -rc1.

Here's Anton log that goes with this series:


This patch series adds support for the new ABI, LPAR support
for H_SET_MODE and finally adds a kconfig option and defconfig.

ABIv2 support was recently committed to binutils and gcc, and
should be merged into glibc soon. There are a number of
very nice improvements including the removal of function
descriptors. Rusty's kernel patches allow binaries of either
ABI to work, easing the transition.


Cheers,
Ben.

The following changes since commit 0c4888ef1d8a8b82c29075ce7e257ff795af15c7:

  powerpc: Fix fatal SLB miss when restoring PPR (2013-11-06 14:13:53 +1100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next

for you to fetch changes up to 280270828f108be56f0c486def58acabb070244f:

  powerpc: Wrong DWARF CFI in the kernel vdso for little-endian / ELFv2 
(2013-11-21 09:19:23 +1100)


Alistair Popple (1):
  powerpc: Don't use ELFv2 ABI to build the kernel

Anton Blanchard (4):
  powerpc/pseries: Fix endian issues in pseries EEH code
  pseries: Add H_SET_MODE to change exception endianness
  powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.
  powerpc: Add pseries_le_defconfig

Rusty Russell (4):
  powerpc: Add TIF_ELF2ABI flag.
  powerpc: Set eflags correctly for ELF ABIv2 core dumps.
  powerpc: ELF2 binaries launched directly.
  powerpc: ELF2 binaries signal handling

Ulrich Weigand (1):
  powerpc: Wrong DWARF CFI in the kernel vdso for little-endian / ELFv2

 arch/powerpc/Makefile|   1 +
 arch/powerpc/configs/pseries_le_defconfig| 352 +++
 arch/powerpc/include/asm/elf.h   |   4 +
 arch/powerpc/include/asm/hvcall.h|   2 +
 arch/powerpc/include/asm/plpar_wrappers.h|  26 ++
 arch/powerpc/include/asm/thread_info.h   |   9 +
 arch/powerpc/kernel/process.c|  50 ++--
 arch/powerpc/kernel/signal_64.c  |  25 +-
 arch/powerpc/kernel/vdso64/sigtramp.S|  16 +-
 arch/powerpc/platforms/Kconfig.cputype   |  11 +
 arch/powerpc/platforms/pseries/eeh_pseries.c |  21 +-
 arch/powerpc/platforms/pseries/lpar.c|  17 ++
 arch/powerpc/platforms/pseries/setup.c   |  42 
 13 files changed, 542 insertions(+), 34 deletions(-)
 create mode 100644 arch/powerpc/configs/pseries_le_defconfig



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-11-20 Thread Benjamin Herrenschmidt
Hi Linus !

Since you pulled my previous one in less than 20mn (the LE stuff),
there's no point waiting for tomorrow for these fixes I mentioned
earlier so here they are.

This is a small collection of random bug fixes and a few improvements
of Oops output which I deemed valuable enough to include as well.

The fixes are essentially recent build breakage and regressions,
and a couple of older bugs such as the DTL log duplication, the
EEH issue with PCI_COMMAND_MASTER and the problem with small
contexts passed to get/set_context with VSX enabled.

Cheers,
Ben.
The following changes since commit b4789b8e6be3151a955ade74872822f30e8cd914:

  aacraid: prevent invalid pointer dereference (2013-11-19 16:27:39 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to c13f20ac48328b05cd3b8c19e31ed6c132b44b42:

  powerpc/signals: Mark VSX not saved with small contexts (2013-11-21 10:33:45 
+1100)


Aneesh Kumar K.V (1):
  powerpc: booke: Fix build failures

Anton Blanchard (5):
  powerpc: Print DAR and DSISR on machine check oopses
  powerpc: Remove a few lines of oops output
  powerpc/pseries: Duplicate dtl entries sometimes sent to userspace
  powerpc: Only print PACATMSCRATCH in oops when TM is active
  powerpc: ppc64 address space capped at 32TB, mmap randomisation disabled

Gavin Shan (2):
  powerpc/eeh: Enable PCI_COMMAND_MASTER for PCI bridges
  powerpc/eeh: More accurate log

Heiko Carstens (1):
  powerpc: Fix __get_user_pages_fast() irq handling

Li Zhong (1):
  powerpc/vio: Fix a dma_mask issue of vio

Michael Ellerman (2):
  powerpc: Make cpu_to_chip_id() available when SMP=n
  powerpc/pseries: Fix SMP=n build of rng.c

Michael Neuling (1):
  powerpc/signals: Mark VSX not saved with small contexts

 arch/powerpc/include/asm/smp.h|  2 +-
 arch/powerpc/kernel/eeh.c |  9 +
 arch/powerpc/kernel/eeh_event.c   |  9 +++--
 arch/powerpc/kernel/process.c | 21 +++--
 arch/powerpc/kernel/prom.c| 20 
 arch/powerpc/kernel/signal_32.c   | 10 +-
 arch/powerpc/kernel/smp.c | 16 
 arch/powerpc/kernel/time.c|  4 ++--
 arch/powerpc/kernel/vio.c |  2 +-
 arch/powerpc/mm/gup.c |  5 +++--
 arch/powerpc/mm/slice.c   |  2 +-
 arch/powerpc/platforms/powernv/rng.c  |  1 +
 arch/powerpc/platforms/pseries/rng.c  |  1 +
 arch/powerpc/platforms/wsp/chroma.c   |  1 +
 arch/powerpc/platforms/wsp/h8.c   |  1 +
 arch/powerpc/platforms/wsp/ics.c  |  2 ++
 arch/powerpc/platforms/wsp/opb_pic.c  |  2 ++
 arch/powerpc/platforms/wsp/psr2.c |  1 +
 arch/powerpc/platforms/wsp/scom_wsp.c |  1 +
 arch/powerpc/platforms/wsp/wsp.c  |  1 +
 20 files changed, 75 insertions(+), 36 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-10-03 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few powerpc fixes, all aimed at -stable, found in part thanks
to the ramping up of a major distro testing and in part thanks to the LE
guys hitting all sort interesting corner cases.

The most scary are probably the register clobber issues in
csum_partial_copy_generic(), especially since Anton even had a test case
for that thing, which didn't manage to hit the bugs :-)

Another highlight is that memory hotplug should work again with these
fixes.

Oh and the vio modalias one is worse than the cset implies as it upsets
distro installers, so I've been told at least, which is why I'm shooting
it to stable.

Cheers,
Ben.

The following changes since commit 4b97280675f45c1650ee4e388bd711ecbb18c4b4:

  Merge tag 'stable/for-linus-3.12-rc2-tag' of 
git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip (2013-09-25 15:50:53 
-0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e9bdc3d6143d1c4b8d8ce5231fc958268331f983:

  powerpc/tm: Switch out userspace PPR and DSCR sooner (2013-10-03 17:25:51 
+1000)


Madhavan Srinivasan (1):
  powerpc/sysfs: Disable writing to PURR in guest mode

Michael Ellerman (1):
  powerpc/perf: Fix handling of FAB events

Michael Neuling (2):
  powerpc/tm: Turn interrupts hard off in tm_reclaim()
  powerpc/tm: Switch out userspace PPR and DSCR sooner

Nathan Fontenot (1):
  powerpc: Fix memory hotplug with sparse vmemmap

Nishanth Aravamudan (1):
  powerpc/iommu: Use GFP_KERNEL instead of GFP_ATOMIC in iommu_init_table()

Paul E. McKenney (2):
  powerpc: Fix parameter clobber in csum_partial_copy_generic()
  powerpc: Restore registers on error exit from csum_partial_copy_generic()

Prarit Bhargava (1):
  powerpc/vio: Fix modalias_show return values

 arch/powerpc/kernel/iommu.c|  2 +-
 arch/powerpc/kernel/sysfs.c| 18 +++-
 arch/powerpc/kernel/tm.S   | 95 --
 arch/powerpc/kernel/vio.c  | 12 --
 arch/powerpc/lib/checksum_64.S | 58 +++---
 arch/powerpc/mm/init_64.c  |  4 ++
 arch/powerpc/mm/mem.c  |  9 
 arch/powerpc/perf/power8-pmu.c |  5 ++-
 mm/Kconfig |  2 +-
 9 files changed, 148 insertions(+), 57 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-10-03 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few powerpc fixes, all aimed at -stable, found in part thanks
to the ramping up of a major distro testing and in part thanks to the LE
guys hitting all sort interesting corner cases.

The most scary are probably the register clobber issues in
csum_partial_copy_generic(), especially since Anton even had a test case
for that thing, which didn't manage to hit the bugs :-)

Another highlight is that memory hotplug should work again with these
fixes.

Oh and the vio modalias one is worse than the cset implies as it upsets
distro installers, so I've been told at least, which is why I'm shooting
it to stable.

Cheers,
Ben.

The following changes since commit 4b97280675f45c1650ee4e388bd711ecbb18c4b4:

  Merge tag 'stable/for-linus-3.12-rc2-tag' of 
git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip (2013-09-25 15:50:53 
-0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to e9bdc3d6143d1c4b8d8ce5231fc958268331f983:

  powerpc/tm: Switch out userspace PPR and DSCR sooner (2013-10-03 17:25:51 
+1000)


Madhavan Srinivasan (1):
  powerpc/sysfs: Disable writing to PURR in guest mode

Michael Ellerman (1):
  powerpc/perf: Fix handling of FAB events

Michael Neuling (2):
  powerpc/tm: Turn interrupts hard off in tm_reclaim()
  powerpc/tm: Switch out userspace PPR and DSCR sooner

Nathan Fontenot (1):
  powerpc: Fix memory hotplug with sparse vmemmap

Nishanth Aravamudan (1):
  powerpc/iommu: Use GFP_KERNEL instead of GFP_ATOMIC in iommu_init_table()

Paul E. McKenney (2):
  powerpc: Fix parameter clobber in csum_partial_copy_generic()
  powerpc: Restore registers on error exit from csum_partial_copy_generic()

Prarit Bhargava (1):
  powerpc/vio: Fix modalias_show return values

 arch/powerpc/kernel/iommu.c|  2 +-
 arch/powerpc/kernel/sysfs.c| 18 +++-
 arch/powerpc/kernel/tm.S   | 95 --
 arch/powerpc/kernel/vio.c  | 12 --
 arch/powerpc/lib/checksum_64.S | 58 +++---
 arch/powerpc/mm/init_64.c  |  4 ++
 arch/powerpc/mm/mem.c  |  9 
 arch/powerpc/perf/power8-pmu.c |  5 ++-
 mm/Kconfig |  2 +-
 9 files changed, 148 insertions(+), 57 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-09-24 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few things for -rc2, this time it's all written by me so it
can only be perfect  right ? :)

So we have the fix to call irq_enter/exit on the irq stack we've been
discussing, plus a cleanup on top to remove an unused (and broken)
stack limit tracking feature (well, make it 32-bit only in fact where
it is used and works properly).

Then we have two things that I wrote over the last couple of days and
made the executive decision to include just because I can (and I'm sure
you won't object  right ?).

They fix a couple of annoying and long standing "issues":

 - We had separate zImages for when booting via Open Firmware vs.
booting via a flat device-tree, while it's trivial to make one that
deals with both

 - We wasted a ton of cycles spinning secondary CPUs uselessly at boot
instead of starting them when needed on pseries, thus contributing
significantly to global warming.

Cheers,
Ben.

The following changes since commit 4a10c2ac2f368583138b774ca41fac4207911983:

  Linux 3.12-rc2 (2013-09-23 15:41:09 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to dbe78b40118636f2d5d276144239dd4bfd5f04f9:

  powerpc/pseries: Do not start secondaries in Open Firmware (2013-09-25 
14:19:00 +1000)


Benjamin Herrenschmidt (4):
  powerpc/irq: Run softirqs off the top of the irq stack
  powerpc: Remove ksp_limit on ppc64
  powerpc/zImage: make the "OF" wrapper support ePAPR boot
  powerpc/pseries: Do not start secondaries in Open Firmware

 arch/powerpc/boot/Makefile   |   4 +-
 arch/powerpc/boot/epapr-wrapper.c|   9 
 arch/powerpc/boot/epapr.c|   4 +-
 arch/powerpc/boot/of.c   |  16 +-
 arch/powerpc/boot/wrapper|   9 ++--
 arch/powerpc/include/asm/irq.h   |   4 +-
 arch/powerpc/include/asm/processor.h |   4 +-
 arch/powerpc/kernel/asm-offsets.c|   3 +-
 arch/powerpc/kernel/irq.c| 100 +++
 arch/powerpc/kernel/misc_32.S|  25 +++--
 arch/powerpc/kernel/misc_64.S|  10 ++--
 arch/powerpc/kernel/process.c|   3 +-
 arch/powerpc/kernel/prom_init.c  |  21 
 arch/powerpc/lib/sstep.c |   3 +-
 arch/powerpc/platforms/pseries/smp.c |  26 +
 15 files changed, 147 insertions(+), 94 deletions(-)
 create mode 100644 arch/powerpc/boot/epapr-wrapper.c



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-09-24 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few things for -rc2, this time it's all written by me so it
can only be perfect  right ? :)

So we have the fix to call irq_enter/exit on the irq stack we've been
discussing, plus a cleanup on top to remove an unused (and broken)
stack limit tracking feature (well, make it 32-bit only in fact where
it is used and works properly).

Then we have two things that I wrote over the last couple of days and
made the executive decision to include just because I can (and I'm sure
you won't object  right ?).

They fix a couple of annoying and long standing issues:

 - We had separate zImages for when booting via Open Firmware vs.
booting via a flat device-tree, while it's trivial to make one that
deals with both

 - We wasted a ton of cycles spinning secondary CPUs uselessly at boot
instead of starting them when needed on pseries, thus contributing
significantly to global warming.

Cheers,
Ben.

The following changes since commit 4a10c2ac2f368583138b774ca41fac4207911983:

  Linux 3.12-rc2 (2013-09-23 15:41:09 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to dbe78b40118636f2d5d276144239dd4bfd5f04f9:

  powerpc/pseries: Do not start secondaries in Open Firmware (2013-09-25 
14:19:00 +1000)


Benjamin Herrenschmidt (4):
  powerpc/irq: Run softirqs off the top of the irq stack
  powerpc: Remove ksp_limit on ppc64
  powerpc/zImage: make the OF wrapper support ePAPR boot
  powerpc/pseries: Do not start secondaries in Open Firmware

 arch/powerpc/boot/Makefile   |   4 +-
 arch/powerpc/boot/epapr-wrapper.c|   9 
 arch/powerpc/boot/epapr.c|   4 +-
 arch/powerpc/boot/of.c   |  16 +-
 arch/powerpc/boot/wrapper|   9 ++--
 arch/powerpc/include/asm/irq.h   |   4 +-
 arch/powerpc/include/asm/processor.h |   4 +-
 arch/powerpc/kernel/asm-offsets.c|   3 +-
 arch/powerpc/kernel/irq.c| 100 +++
 arch/powerpc/kernel/misc_32.S|  25 +++--
 arch/powerpc/kernel/misc_64.S|  10 ++--
 arch/powerpc/kernel/process.c|   3 +-
 arch/powerpc/kernel/prom_init.c  |  21 
 arch/powerpc/lib/sstep.c |   3 +-
 arch/powerpc/platforms/pseries/smp.c |  26 +
 15 files changed, 147 insertions(+), 94 deletions(-)
 create mode 100644 arch/powerpc/boot/epapr-wrapper.c



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-09-10 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful of small powerpc fixes. A couple of section mismatches
(always worth fixing), a missing export of a new symbol causing build
failures of modules, a page fault deadlock fix (interestingly that
bug has been around for a LONG time, though it seems to be more easily
triggered by KVM) and fixing pseries default idle loop in the absence of
the cpuidle drivers (such as during boot).

Cheers,
Ben.

The following changes since commit 8d7551eb1916832f2a5b27346edf24e7b2382f67:

  Merge tag 'cris-for-3.12' of git://jni.nu/cris (2013-09-10 14:55:16 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 363edbe2614aa90df706c0f19ccfa2a6c06af0be:

  powerpc: Default arch idle could cede processor on pseries (2013-09-11 
11:41:54 +1000)


Aneesh Kumar K.V (1):
  powerpc: Fix possible deadlock on page fault

Guenter Roeck (1):
  powerpc: Export cpu_to_chip_id() to fix build error

Vaidyanathan Srinivasan (1):
  powerpc: Default arch idle could cede processor on pseries

Vladimir Murzin (2):
  powerpc: Fix section mismatch warning for prom_rtas_call
  fbdev/ps3fb: Fix section mismatch warning for ps3fb_probe

 arch/powerpc/kernel/prom_init.c|  3 ++-
 arch/powerpc/kernel/smp.c  |  1 +
 arch/powerpc/mm/fault.c| 13 ++---
 arch/powerpc/platforms/pseries/setup.c | 31 +--
 drivers/video/ps3fb.c  |  2 +-
 5 files changed, 35 insertions(+), 15 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-09-10 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful of small powerpc fixes. A couple of section mismatches
(always worth fixing), a missing export of a new symbol causing build
failures of modules, a page fault deadlock fix (interestingly that
bug has been around for a LONG time, though it seems to be more easily
triggered by KVM) and fixing pseries default idle loop in the absence of
the cpuidle drivers (such as during boot).

Cheers,
Ben.

The following changes since commit 8d7551eb1916832f2a5b27346edf24e7b2382f67:

  Merge tag 'cris-for-3.12' of git://jni.nu/cris (2013-09-10 14:55:16 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 363edbe2614aa90df706c0f19ccfa2a6c06af0be:

  powerpc: Default arch idle could cede processor on pseries (2013-09-11 
11:41:54 +1000)


Aneesh Kumar K.V (1):
  powerpc: Fix possible deadlock on page fault

Guenter Roeck (1):
  powerpc: Export cpu_to_chip_id() to fix build error

Vaidyanathan Srinivasan (1):
  powerpc: Default arch idle could cede processor on pseries

Vladimir Murzin (2):
  powerpc: Fix section mismatch warning for prom_rtas_call
  fbdev/ps3fb: Fix section mismatch warning for ps3fb_probe

 arch/powerpc/kernel/prom_init.c|  3 ++-
 arch/powerpc/kernel/smp.c  |  1 +
 arch/powerpc/mm/fault.c| 13 ++---
 arch/powerpc/platforms/pseries/setup.c | 31 +--
 drivers/video/ps3fb.c  |  2 +-
 5 files changed, 35 insertions(+), 15 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-27 Thread Benjamin Herrenschmidt
Hi Linus !

Here are 3 bug fixes that should probably go into 3.11 since I'm also
tagging them for stable.

Once fixes our old /proc/powerpc/lparcfg file which provides partition
informations when running under our hypervisor and also acts as a
user-triggerable Oops when hot :-(

The other two respectively are a one liner to fix a HVSI protocol
handshake problem causing the console to fail to show up on a bunch of
machines until we reach userspace, which I deem annoying enough to
warrant going to stable, and a nasty gcc miscompile causing us to
pass virtual instead of physical addresses to the firmware under some
circumstances.

Cheers,
Ben.
The following changes since commit 28e61cc466d8daace4b0f04ba2b83e0bd68f5832:

  powerpc/tm: Fix context switching TAR, PPR and DSCR SPRs (2013-08-09 18:07:12 
+1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to d220980b701d838560a70de691b53be007e99e78:

  powerpc/hvsi: Increase handshake timeout from 200ms to 400ms. (2013-08-27 
16:59:56 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Don't Oops when accessing /proc/powerpc/lparcfg without 
hypervisor

Eugene Surovegin (1):
  powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.

Paul Mackerras (1):
  powerpc: Work around gcc miscompilation of __pa() on 64-bit

 arch/powerpc/Kconfig|  1 +
 arch/powerpc/include/asm/page.h | 10 ++
 arch/powerpc/kernel/lparcfg.c   | 22 +-
 drivers/tty/hvc/hvsi_lib.c  |  4 ++--
 4 files changed, 22 insertions(+), 15 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-27 Thread Benjamin Herrenschmidt
Hi Linus !

Here are 3 bug fixes that should probably go into 3.11 since I'm also
tagging them for stable.

Once fixes our old /proc/powerpc/lparcfg file which provides partition
informations when running under our hypervisor and also acts as a
user-triggerable Oops when hot :-(

The other two respectively are a one liner to fix a HVSI protocol
handshake problem causing the console to fail to show up on a bunch of
machines until we reach userspace, which I deem annoying enough to
warrant going to stable, and a nasty gcc miscompile causing us to
pass virtual instead of physical addresses to the firmware under some
circumstances.

Cheers,
Ben.
The following changes since commit 28e61cc466d8daace4b0f04ba2b83e0bd68f5832:

  powerpc/tm: Fix context switching TAR, PPR and DSCR SPRs (2013-08-09 18:07:12 
+1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to d220980b701d838560a70de691b53be007e99e78:

  powerpc/hvsi: Increase handshake timeout from 200ms to 400ms. (2013-08-27 
16:59:56 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Don't Oops when accessing /proc/powerpc/lparcfg without 
hypervisor

Eugene Surovegin (1):
  powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.

Paul Mackerras (1):
  powerpc: Work around gcc miscompilation of __pa() on 64-bit

 arch/powerpc/Kconfig|  1 +
 arch/powerpc/include/asm/page.h | 10 ++
 arch/powerpc/kernel/lparcfg.c   | 22 +-
 drivers/tty/hvc/hvsi_lib.c  |  4 ++--
 4 files changed, 22 insertions(+), 15 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are some powerpc fixes for you.

This includes small series from Michael Neuling to fix a couple of nasty
remaining problems with the new Power8 support, also targeted at stable
3.10, without which some new userspace accessible registers aren't
properly context switched, and in some case, can be clobbered by the
user of transactional memory.

Along with that, a few slightly more minor things, such as a missing
Kconfig option to enable handling of denorm exceptions when not running
under a hypervisor (or userspace will randomly crash when hitting
denorms with the vector unit), some nasty bugs in the new pstore oops
code, and other simple bug fixes worth having in now.

Note: I picked up the two powerpc KVM fixes as Alex Graf asked me to
handle KVM bits while he is on vacation. However I'll let him decide
whether they should go to -stable or not when he is back.

Cheers,
Ben.

The following changes since commit b7bc9e7d808ba55729bd263b0210cda36965be32:

  Merge tag 'trace-fixes-3.11-rc3' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2013-08-07 
13:01:30 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 28e61cc466d8daace4b0f04ba2b83e0bd68f5832:

  powerpc/tm: Fix context switching TAR, PPR and DSCR SPRs (2013-08-09 18:07:12 
+1000)


Anton Blanchard (1):
  powerpc: On POWERNV enable PPC_DENORMALISATION by default

Aruna Balakrishnaiah (2):
  powerpc/pseries: Fix buffer overflow when reading from pstore
  powerpc/pseries: Add backward compatibilty to read old kernel oops-log

Chen Gang (1):
  powerpc/kvm: Add signed type cast for comparation

Michael Neuling (5):
  powerpc: Fix hypervisor facility unavaliable vector number
  powerpc: Rework setting up H/FSCR bit definitions
  powerpc: Fix context switch DSCR on POWER8
  powerpc: Save the TAR register earlier
  powerpc/tm: Fix context switching TAR, PPR and DSCR SPRs

Mike Qiu (1):
  powerpc/eeh: Add missing procfs entry for PowerNV

Thadeu Lima de Souza Cascardo (1):
  powerpc/kvm/book3s_pr: Return appropriate error when allocation fails

 arch/powerpc/Kconfig   |  2 +-
 arch/powerpc/include/asm/processor.h   |  4 ++
 arch/powerpc/include/asm/reg.h | 31 -
 arch/powerpc/include/asm/switch_to.h   |  9 
 arch/powerpc/kernel/asm-offsets.c  |  3 ++
 arch/powerpc/kernel/eeh.c  |  2 +-
 arch/powerpc/kernel/entry_64.S | 36 ++-
 arch/powerpc/kernel/exceptions-64s.S   |  5 ++-
 arch/powerpc/kernel/process.c  | 10 +
 arch/powerpc/kernel/tm.S   | 20 +
 arch/powerpc/kernel/traps.c| 58 ++--
 arch/powerpc/kvm/book3s_hv.c   |  4 +-
 arch/powerpc/kvm/book3s_pr.c   |  5 ++-
 arch/powerpc/platforms/pseries/nvram.c | 80 +++---
 14 files changed, 170 insertions(+), 99 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are some powerpc fixes for you.

This includes small series from Michael Neuling to fix a couple of nasty
remaining problems with the new Power8 support, also targeted at stable
3.10, without which some new userspace accessible registers aren't
properly context switched, and in some case, can be clobbered by the
user of transactional memory.

Along with that, a few slightly more minor things, such as a missing
Kconfig option to enable handling of denorm exceptions when not running
under a hypervisor (or userspace will randomly crash when hitting
denorms with the vector unit), some nasty bugs in the new pstore oops
code, and other simple bug fixes worth having in now.

Note: I picked up the two powerpc KVM fixes as Alex Graf asked me to
handle KVM bits while he is on vacation. However I'll let him decide
whether they should go to -stable or not when he is back.

Cheers,
Ben.

The following changes since commit b7bc9e7d808ba55729bd263b0210cda36965be32:

  Merge tag 'trace-fixes-3.11-rc3' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2013-08-07 
13:01:30 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 28e61cc466d8daace4b0f04ba2b83e0bd68f5832:

  powerpc/tm: Fix context switching TAR, PPR and DSCR SPRs (2013-08-09 18:07:12 
+1000)


Anton Blanchard (1):
  powerpc: On POWERNV enable PPC_DENORMALISATION by default

Aruna Balakrishnaiah (2):
  powerpc/pseries: Fix buffer overflow when reading from pstore
  powerpc/pseries: Add backward compatibilty to read old kernel oops-log

Chen Gang (1):
  powerpc/kvm: Add signed type cast for comparation

Michael Neuling (5):
  powerpc: Fix hypervisor facility unavaliable vector number
  powerpc: Rework setting up H/FSCR bit definitions
  powerpc: Fix context switch DSCR on POWER8
  powerpc: Save the TAR register earlier
  powerpc/tm: Fix context switching TAR, PPR and DSCR SPRs

Mike Qiu (1):
  powerpc/eeh: Add missing procfs entry for PowerNV

Thadeu Lima de Souza Cascardo (1):
  powerpc/kvm/book3s_pr: Return appropriate error when allocation fails

 arch/powerpc/Kconfig   |  2 +-
 arch/powerpc/include/asm/processor.h   |  4 ++
 arch/powerpc/include/asm/reg.h | 31 -
 arch/powerpc/include/asm/switch_to.h   |  9 
 arch/powerpc/kernel/asm-offsets.c  |  3 ++
 arch/powerpc/kernel/eeh.c  |  2 +-
 arch/powerpc/kernel/entry_64.S | 36 ++-
 arch/powerpc/kernel/exceptions-64s.S   |  5 ++-
 arch/powerpc/kernel/process.c  | 10 +
 arch/powerpc/kernel/tm.S   | 20 +
 arch/powerpc/kernel/traps.c| 58 ++--
 arch/powerpc/kvm/book3s_hv.c   |  4 +-
 arch/powerpc/kvm/book3s_pr.c   |  5 ++-
 arch/powerpc/platforms/pseries/nvram.c | 80 +++---
 14 files changed, 170 insertions(+), 99 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-02 Thread Benjamin Herrenschmidt
[ resent in case you missed it ]

Hi Linus !

Here is not quite a handful of powerpc fixes for rc3. The windfarm fix is
a regression fix (though not a new one), the PMU interrupt rename is not
a fix per-se but has been submitted a long time ago and I kept forgetting
to put it in (it puts us back in sync with x86), the other perf bit is
just about putting an API/ABI bit definition in the right place for
userspace to consume, and finally, we have a fix for the VPHN (Virtual
Partition Home Node) feature (notification that the hypervisor is moving
nodes around) which could cause lockups so we may as well fix it now.

Thanks !

Cheers,
Ben.

The following changes since commit ff3d79dc12c2ed38483f6c1e0f26fde430f27c9d:

  powerpc/perf: BHRB filter configuration should follow the task (2013-07-24 
14:42:34 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to fe956a1d4081ce1a959f87df397a15e252201f10:

  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31) (2013-08-01 13:11:47 
+1000)


Aaro Koskinen (1):
  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31)

Michael Ellerman (2):
  powerpc: Rename PMU interrupts from CNT to PMI
  powerpc/perf: Export PERF_EVENT_CONFIG_EBB_SHIFT to userspace

Robert Jennings (1):
  powerpc: VPHN topology change updates all siblings

 arch/powerpc/include/asm/perf_event_server.h |  6 +--
 arch/powerpc/include/asm/smp.h   |  4 ++
 arch/powerpc/include/uapi/asm/Kbuild |  1 +
 arch/powerpc/include/uapi/asm/perf_event.h   | 18 +
 arch/powerpc/kernel/irq.c|  2 +-
 arch/powerpc/mm/numa.c   | 59 +---
 arch/powerpc/perf/core-book3s.c  |  2 +-
 arch/powerpc/perf/power8-pmu.c   |  6 +--
 drivers/macintosh/windfarm_rm31.c| 18 -
 9 files changed, 82 insertions(+), 34 deletions(-)
 create mode 100644 arch/powerpc/include/uapi/asm/perf_event.h



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-02 Thread Benjamin Herrenschmidt
[ resent in case you missed it ]

Hi Linus !

Here is not quite a handful of powerpc fixes for rc3. The windfarm fix is
a regression fix (though not a new one), the PMU interrupt rename is not
a fix per-se but has been submitted a long time ago and I kept forgetting
to put it in (it puts us back in sync with x86), the other perf bit is
just about putting an API/ABI bit definition in the right place for
userspace to consume, and finally, we have a fix for the VPHN (Virtual
Partition Home Node) feature (notification that the hypervisor is moving
nodes around) which could cause lockups so we may as well fix it now.

Thanks !

Cheers,
Ben.

The following changes since commit ff3d79dc12c2ed38483f6c1e0f26fde430f27c9d:

  powerpc/perf: BHRB filter configuration should follow the task (2013-07-24 
14:42:34 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to fe956a1d4081ce1a959f87df397a15e252201f10:

  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31) (2013-08-01 13:11:47 
+1000)


Aaro Koskinen (1):
  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31)

Michael Ellerman (2):
  powerpc: Rename PMU interrupts from CNT to PMI
  powerpc/perf: Export PERF_EVENT_CONFIG_EBB_SHIFT to userspace

Robert Jennings (1):
  powerpc: VPHN topology change updates all siblings

 arch/powerpc/include/asm/perf_event_server.h |  6 +--
 arch/powerpc/include/asm/smp.h   |  4 ++
 arch/powerpc/include/uapi/asm/Kbuild |  1 +
 arch/powerpc/include/uapi/asm/perf_event.h   | 18 +
 arch/powerpc/kernel/irq.c|  2 +-
 arch/powerpc/mm/numa.c   | 59 +---
 arch/powerpc/perf/core-book3s.c  |  2 +-
 arch/powerpc/perf/power8-pmu.c   |  6 +--
 drivers/macintosh/windfarm_rm31.c| 18 -
 9 files changed, 82 insertions(+), 34 deletions(-)
 create mode 100644 arch/powerpc/include/uapi/asm/perf_event.h



--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-01 Thread Benjamin Herrenschmidt
Hi Linus !

Here is not quite a handful of powerpc fixes for rc3. The windfarm fix is
a regression fix (though not a new one), the PMU interrupt rename is not
a fix per-se but has been submitted a long time ago and I kept forgetting
to put it in (it puts us back in sync with x86), the other perf bit is
just about putting an API/ABI bit definition in the right place for
userspace to consume, and finally, we have a fix for the VPHN (Virtual
Partition Home Node) feature (notification that the hypervisor is moving
nodes around) which could cause lockups so we may as well fix it now.

Thanks !

Cheers,
Ben.

The following changes since commit ff3d79dc12c2ed38483f6c1e0f26fde430f27c9d:

  powerpc/perf: BHRB filter configuration should follow the task (2013-07-24 
14:42:34 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to fe956a1d4081ce1a959f87df397a15e252201f10:

  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31) (2013-08-01 13:11:47 
+1000)


Aaro Koskinen (1):
  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31)

Michael Ellerman (2):
  powerpc: Rename PMU interrupts from CNT to PMI
  powerpc/perf: Export PERF_EVENT_CONFIG_EBB_SHIFT to userspace

Robert Jennings (1):
  powerpc: VPHN topology change updates all siblings

 arch/powerpc/include/asm/perf_event_server.h |  6 +--
 arch/powerpc/include/asm/smp.h   |  4 ++
 arch/powerpc/include/uapi/asm/Kbuild |  1 +
 arch/powerpc/include/uapi/asm/perf_event.h   | 18 +
 arch/powerpc/kernel/irq.c|  2 +-
 arch/powerpc/mm/numa.c   | 59 +---
 arch/powerpc/perf/core-book3s.c  |  2 +-
 arch/powerpc/perf/power8-pmu.c   |  6 +--
 drivers/macintosh/windfarm_rm31.c| 18 -
 9 files changed, 82 insertions(+), 34 deletions(-)
 create mode 100644 arch/powerpc/include/uapi/asm/perf_event.h


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-08-01 Thread Benjamin Herrenschmidt
Hi Linus !

Here is not quite a handful of powerpc fixes for rc3. The windfarm fix is
a regression fix (though not a new one), the PMU interrupt rename is not
a fix per-se but has been submitted a long time ago and I kept forgetting
to put it in (it puts us back in sync with x86), the other perf bit is
just about putting an API/ABI bit definition in the right place for
userspace to consume, and finally, we have a fix for the VPHN (Virtual
Partition Home Node) feature (notification that the hypervisor is moving
nodes around) which could cause lockups so we may as well fix it now.

Thanks !

Cheers,
Ben.

The following changes since commit ff3d79dc12c2ed38483f6c1e0f26fde430f27c9d:

  powerpc/perf: BHRB filter configuration should follow the task (2013-07-24 
14:42:34 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to fe956a1d4081ce1a959f87df397a15e252201f10:

  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31) (2013-08-01 13:11:47 
+1000)


Aaro Koskinen (1):
  powerpc/windfarm: Fix noisy slots-fan on Xserve (rm31)

Michael Ellerman (2):
  powerpc: Rename PMU interrupts from CNT to PMI
  powerpc/perf: Export PERF_EVENT_CONFIG_EBB_SHIFT to userspace

Robert Jennings (1):
  powerpc: VPHN topology change updates all siblings

 arch/powerpc/include/asm/perf_event_server.h |  6 +--
 arch/powerpc/include/asm/smp.h   |  4 ++
 arch/powerpc/include/uapi/asm/Kbuild |  1 +
 arch/powerpc/include/uapi/asm/perf_event.h   | 18 +
 arch/powerpc/kernel/irq.c|  2 +-
 arch/powerpc/mm/numa.c   | 59 +---
 arch/powerpc/perf/core-book3s.c  |  2 +-
 arch/powerpc/perf/power8-pmu.c   |  6 +--
 drivers/macintosh/windfarm_rm31.c| 18 -
 9 files changed, 82 insertions(+), 34 deletions(-)
 create mode 100644 arch/powerpc/include/uapi/asm/perf_event.h


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-07-24 Thread Benjamin Herrenschmidt
Hi Linus !

Here is a series of powerpc fixes. It's a bit big, mostly because of the
series of 11 "EEH" patches from Gavin. The EEH (Our IBM specific
PCI/PCIe Enhanced Error Handling) code had been rotting for a while and
this merge window saw a significant rework & fixing of it by Gavin Shan.

However, that wasn't complete and left some open issues. There were
still a few corner cases that didn't work properly, for example in
relation to hotplug and devices without explicit error handlers. We had
some patches but they weren't quite good enough yet so I left them off
the 3.11 merge window.

Gavin since then fixed it all up, we ran quite a few rounds of testing
and it seems fairly solid (at least probably more than it has ever
been). This should probably have made -rc1 but both Gavin and I took
some vacation so it had to wait for -rc2.

The rest is more bug fixes, mostly to new features recently added, for
example, we missed the cpu table entry for one of the two models of P8
(we didn't realize they had different PVR [Processor Version Register]
values), some module CRC issues, etc...

Please apply,

Cheers,
Ben.

The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b:

  Linux 3.11-rc2 (2013-07-21 12:05:29 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to ff3d79dc12c2ed38483f6c1e0f26fde430f27c9d:

  powerpc/perf: BHRB filter configuration should follow the task (2013-07-24 
14:42:34 +1000)


Aneesh Kumar K.V (2):
  powerpc/mm: Fix fallthrough bug in hpte_decode
  powerpc/mm: Use the correct SLB(LLP) encoding in tlbie instruction

Anshuman Khandual (2):
  powerpc/perf: Ignore separate BHRB privilege state filter request
  powerpc/perf: BHRB filter configuration should follow the task

Anton Blanchard (1):
  powerpc/modules: Module CRC relocation fix causes perf issues

Bjorn Helgaas (1):
  powerpc/powernv: Mark pnv_pci_init_ioda2_phb() as __init

Denis Kirjanov (1):
  powerpc/pseries: Fix a typo in pSeries_lpar_hpte_insert()

Gavin Shan (11):
  powerpc/eeh: Remove reference to PCI device
  powerpc/eeh: Export functions for hotplug
  powerpc/pci: Override pcibios_release_device()
  powerpc/pci/hotplug: Don't need to remove from EEH cache twice
  powerpc/eeh: Keep PE during hotplug
  powerpc/eeh: Use safe list traversal when walking EEH devices
  powerpc/pci: Partial tree hotplug support
  powerpc/eeh: Use partial hotplug for EEH unaware drivers
  powerpc/eeh: Don't use pci_dev during BAR restore
  powerpc/eeh: Fix unbalanced enable for IRQ
  powerpc/eeh: Introdce flag to protect sysfs

Mahesh Salgaonkar (1):
  powerpc: Fix the corrupt r3 error during MCE handling.

Michael Ellerman (1):
  powerpc/perf: Set PPC_FEATURE2_EBB when we register the power8 PMU

Michael Neuling (1):
  powerpc: Add second POWER8 PVR entry

Paul Bolle (1):
  powerpc/pseries: Drop "select HOTPLUG"

Tiejun Chen (1):
  powerpc: Access local paca after hard irq disabled

 arch/powerpc/include/asm/eeh.h   | 30 ---
 arch/powerpc/include/asm/hw_irq.h|  7 +--
 arch/powerpc/include/asm/module.h|  5 +-
 arch/powerpc/include/asm/pci-bridge.h|  1 -
 arch/powerpc/include/asm/reg.h   |  3 +-
 arch/powerpc/kernel/cputable.c   | 20 +++-
 arch/powerpc/kernel/eeh.c| 70 -
 arch/powerpc/kernel/eeh_cache.c  | 18 ++-
 arch/powerpc/kernel/eeh_driver.c | 77 ++--
 arch/powerpc/kernel/eeh_pe.c | 58 +
 arch/powerpc/kernel/eeh_sysfs.c  | 21 
 arch/powerpc/kernel/pci-common.c |  2 +
 arch/powerpc/kernel/pci-hotplug.c| 49 +-
 arch/powerpc/kernel/pci_of_scan.c| 56 ++--
 arch/powerpc/kernel/prom_init.c  |  5 +-
 arch/powerpc/kernel/vmlinux.lds.S|  3 --
 arch/powerpc/mm/hash_native_64.c | 12 -
 arch/powerpc/perf/core-book3s.c  |  5 +-
 arch/powerpc/perf/power8-pmu.c   | 24 +
 arch/powerpc/platforms/powernv/eeh-powernv.c | 17 --
 arch/powerpc/platforms/powernv/pci-ioda.c|  2 +-
 arch/powerpc/platforms/pseries/Kconfig   |  1 -
 arch/powerpc/platforms/pseries/eeh_pseries.c | 67 ++--
 arch/powerpc/platforms/pseries/lpar.c|  2 +-
 arch/powerpc/platforms/pseries/ras.c |  3 ++
 drivers/pci/hotplug/rpadlpar_core.c  |  1 -
 26 files changed, 390 insertions(+), 169 deletions(-)


--
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.html
Please 

[git pull] Please pull powerpc.git merge branch

2013-07-24 Thread Benjamin Herrenschmidt
Hi Linus !

Here is a series of powerpc fixes. It's a bit big, mostly because of the
series of 11 EEH patches from Gavin. The EEH (Our IBM specific
PCI/PCIe Enhanced Error Handling) code had been rotting for a while and
this merge window saw a significant rework  fixing of it by Gavin Shan.

However, that wasn't complete and left some open issues. There were
still a few corner cases that didn't work properly, for example in
relation to hotplug and devices without explicit error handlers. We had
some patches but they weren't quite good enough yet so I left them off
the 3.11 merge window.

Gavin since then fixed it all up, we ran quite a few rounds of testing
and it seems fairly solid (at least probably more than it has ever
been). This should probably have made -rc1 but both Gavin and I took
some vacation so it had to wait for -rc2.

The rest is more bug fixes, mostly to new features recently added, for
example, we missed the cpu table entry for one of the two models of P8
(we didn't realize they had different PVR [Processor Version Register]
values), some module CRC issues, etc...

Please apply,

Cheers,
Ben.

The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b:

  Linux 3.11-rc2 (2013-07-21 12:05:29 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to ff3d79dc12c2ed38483f6c1e0f26fde430f27c9d:

  powerpc/perf: BHRB filter configuration should follow the task (2013-07-24 
14:42:34 +1000)


Aneesh Kumar K.V (2):
  powerpc/mm: Fix fallthrough bug in hpte_decode
  powerpc/mm: Use the correct SLB(LLP) encoding in tlbie instruction

Anshuman Khandual (2):
  powerpc/perf: Ignore separate BHRB privilege state filter request
  powerpc/perf: BHRB filter configuration should follow the task

Anton Blanchard (1):
  powerpc/modules: Module CRC relocation fix causes perf issues

Bjorn Helgaas (1):
  powerpc/powernv: Mark pnv_pci_init_ioda2_phb() as __init

Denis Kirjanov (1):
  powerpc/pseries: Fix a typo in pSeries_lpar_hpte_insert()

Gavin Shan (11):
  powerpc/eeh: Remove reference to PCI device
  powerpc/eeh: Export functions for hotplug
  powerpc/pci: Override pcibios_release_device()
  powerpc/pci/hotplug: Don't need to remove from EEH cache twice
  powerpc/eeh: Keep PE during hotplug
  powerpc/eeh: Use safe list traversal when walking EEH devices
  powerpc/pci: Partial tree hotplug support
  powerpc/eeh: Use partial hotplug for EEH unaware drivers
  powerpc/eeh: Don't use pci_dev during BAR restore
  powerpc/eeh: Fix unbalanced enable for IRQ
  powerpc/eeh: Introdce flag to protect sysfs

Mahesh Salgaonkar (1):
  powerpc: Fix the corrupt r3 error during MCE handling.

Michael Ellerman (1):
  powerpc/perf: Set PPC_FEATURE2_EBB when we register the power8 PMU

Michael Neuling (1):
  powerpc: Add second POWER8 PVR entry

Paul Bolle (1):
  powerpc/pseries: Drop select HOTPLUG

Tiejun Chen (1):
  powerpc: Access local paca after hard irq disabled

 arch/powerpc/include/asm/eeh.h   | 30 ---
 arch/powerpc/include/asm/hw_irq.h|  7 +--
 arch/powerpc/include/asm/module.h|  5 +-
 arch/powerpc/include/asm/pci-bridge.h|  1 -
 arch/powerpc/include/asm/reg.h   |  3 +-
 arch/powerpc/kernel/cputable.c   | 20 +++-
 arch/powerpc/kernel/eeh.c| 70 -
 arch/powerpc/kernel/eeh_cache.c  | 18 ++-
 arch/powerpc/kernel/eeh_driver.c | 77 ++--
 arch/powerpc/kernel/eeh_pe.c | 58 +
 arch/powerpc/kernel/eeh_sysfs.c  | 21 
 arch/powerpc/kernel/pci-common.c |  2 +
 arch/powerpc/kernel/pci-hotplug.c| 49 +-
 arch/powerpc/kernel/pci_of_scan.c| 56 ++--
 arch/powerpc/kernel/prom_init.c  |  5 +-
 arch/powerpc/kernel/vmlinux.lds.S|  3 --
 arch/powerpc/mm/hash_native_64.c | 12 -
 arch/powerpc/perf/core-book3s.c  |  5 +-
 arch/powerpc/perf/power8-pmu.c   | 24 +
 arch/powerpc/platforms/powernv/eeh-powernv.c | 17 --
 arch/powerpc/platforms/powernv/pci-ioda.c|  2 +-
 arch/powerpc/platforms/pseries/Kconfig   |  1 -
 arch/powerpc/platforms/pseries/eeh_pseries.c | 67 ++--
 arch/powerpc/platforms/pseries/lpar.c|  2 +-
 arch/powerpc/platforms/pseries/ras.c |  3 ++
 drivers/pci/hotplug/rpadlpar_core.c  |  1 -
 26 files changed, 390 insertions(+), 169 deletions(-)


--
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.html
Please read the 

[git pull] Please pull powerpc.git merge branch

2013-06-29 Thread Benjamin Herrenschmidt
Hi Linus !

Earlier today I mentioned that while we had fixed the kernel crashes,
EEH error recovery didn't always recover... It appears that I had
a fix for that already in powerpc-next (with a stable CC).

I cherry-picked it today and did a few tests and it seems that things
now work quite well. The patch is also pretty simple, so I see no reason
to wait before merging it.

Please pull.

Cheers,
Ben.

The following changes since commit 6c355beafdbd0a62add3a3d89825ca87cf8ecec0:

  Merge branch 'merge' of 
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2013-06-29 17:02:48 
-0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to ea461abf61753b4b79e625a7c20650105b990f21:

  powerpc/eeh: Fix fetching bus for single-dev-PE (2013-06-30 14:08:34 +1000)


Gavin Shan (1):
  powerpc/eeh: Fix fetching bus for single-dev-PE

 arch/powerpc/platforms/pseries/eeh_pe.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-29 Thread Benjamin Herrenschmidt
Hi Linus !

We discovered some breakage in our "EEH" (PCI Error Handling) code while
doing error injection, due to a couple of regressions. One of them is
due to a patch (37f02195b) that, in hindsight, I shouldn't have merged
considering that it caused more problems than it solved.

Please pull those two fixes. One for a simple EEH address cache
initialization issue. The other one is a patch from Guenter that I had
originally planned to put in 3.11 but which happens to also fix that
other regression (a kernel oops during EEH error handling and possibly
hotplug).

With those two, the couple of test machines I've hammered with error
injection are remaining up now. EEH appears to still fail to recover on
some devices, so there is another problem that Gavin is looking into but
at least it's no longer crashing the kernel.

Cheers,
Ben.

The following changes since commit b37e161388ac3980d5dfb73050e85874b84253eb:

  powerpc/pci: Fix boot panic on mpc83xx (regression) (2013-06-24 16:54:09 
-0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 7846de406f43df98ac9864212dcfe3f2816bdb04:

  powerpc/pci: Improve device hotplug initialization (2013-06-30 08:46:46 +1000)


Guenter Roeck (1):
  powerpc/pci: Improve device hotplug initialization

Thadeu Lima de Souza Cascardo (1):
  powerpc/eeh: Add eeh_dev to the cache during boot

 arch/powerpc/kernel/pci-common.c   |   17 -
 arch/powerpc/platforms/pseries/eeh_cache.c |4 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-29 Thread Benjamin Herrenschmidt
Hi Linus !

We discovered some breakage in our EEH (PCI Error Handling) code while
doing error injection, due to a couple of regressions. One of them is
due to a patch (37f02195b) that, in hindsight, I shouldn't have merged
considering that it caused more problems than it solved.

Please pull those two fixes. One for a simple EEH address cache
initialization issue. The other one is a patch from Guenter that I had
originally planned to put in 3.11 but which happens to also fix that
other regression (a kernel oops during EEH error handling and possibly
hotplug).

With those two, the couple of test machines I've hammered with error
injection are remaining up now. EEH appears to still fail to recover on
some devices, so there is another problem that Gavin is looking into but
at least it's no longer crashing the kernel.

Cheers,
Ben.

The following changes since commit b37e161388ac3980d5dfb73050e85874b84253eb:

  powerpc/pci: Fix boot panic on mpc83xx (regression) (2013-06-24 16:54:09 
-0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 7846de406f43df98ac9864212dcfe3f2816bdb04:

  powerpc/pci: Improve device hotplug initialization (2013-06-30 08:46:46 +1000)


Guenter Roeck (1):
  powerpc/pci: Improve device hotplug initialization

Thadeu Lima de Souza Cascardo (1):
  powerpc/eeh: Add eeh_dev to the cache during boot

 arch/powerpc/kernel/pci-common.c   |   17 -
 arch/powerpc/platforms/pseries/eeh_cache.c |4 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-29 Thread Benjamin Herrenschmidt
Hi Linus !

Earlier today I mentioned that while we had fixed the kernel crashes,
EEH error recovery didn't always recover... It appears that I had
a fix for that already in powerpc-next (with a stable CC).

I cherry-picked it today and did a few tests and it seems that things
now work quite well. The patch is also pretty simple, so I see no reason
to wait before merging it.

Please pull.

Cheers,
Ben.

The following changes since commit 6c355beafdbd0a62add3a3d89825ca87cf8ecec0:

  Merge branch 'merge' of 
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2013-06-29 17:02:48 
-0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to ea461abf61753b4b79e625a7c20650105b990f21:

  powerpc/eeh: Fix fetching bus for single-dev-PE (2013-06-30 14:08:34 +1000)


Gavin Shan (1):
  powerpc/eeh: Fix fetching bus for single-dev-PE

 arch/powerpc/platforms/pseries/eeh_pe.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-25 Thread Benjamin Herrenschmidt
Hi Linus !

This is a fix for a regression causing a freescale "83xx" based platforms
to crash on boot due to some PCI breakage. Please apply.

Cheers,
Ben.

The following changes since commit 17858ca65eef148d335ffd4cfc09228a1c1cbfb5:

  Merge tag 'please-pull-fixia64' of 
git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux (2013-06-18 06:29:19 
-1000)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to b37e161388ac3980d5dfb73050e85874b84253eb:

  powerpc/pci: Fix boot panic on mpc83xx (regression) (2013-06-24 16:54:09 
-0500)


Rojhalat Ibrahim (1):
  powerpc/pci: Fix boot panic on mpc83xx (regression)

 arch/powerpc/sysdev/fsl_pci.c |   24 +---
 1 file changed, 9 insertions(+), 15 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-25 Thread Benjamin Herrenschmidt
Hi Linus !

This is a fix for a regression causing a freescale 83xx based platforms
to crash on boot due to some PCI breakage. Please apply.

Cheers,
Ben.

The following changes since commit 17858ca65eef148d335ffd4cfc09228a1c1cbfb5:

  Merge tag 'please-pull-fixia64' of 
git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux (2013-06-18 06:29:19 
-1000)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to b37e161388ac3980d5dfb73050e85874b84253eb:

  powerpc/pci: Fix boot panic on mpc83xx (regression) (2013-06-24 16:54:09 
-0500)


Rojhalat Ibrahim (1):
  powerpc/pci: Fix boot panic on mpc83xx (regression)

 arch/powerpc/sysdev/fsl_pci.c |   24 +---
 1 file changed, 9 insertions(+), 15 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-20 Thread Benjamin Herrenschmidt
Hi Linus !

Please pull this regression fix into 3.10. We accidentally broke
hugetlbfs on Freescale embedded processors which use a slightly
different page table layout than our server processors.

Cheers,
Ben.

The following changes since commit c0691143dfe1d42ec9bd89de5921ccb6a27ea1b3:

  mn10300: Fix include dependency in irqflags.h et al. (2013-06-19 06:29:54 
-1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8bbd9f04b7d982d1c6aeb5c08f5983b3d0b9e2fe:

  powerpc: Fix bad pmd error with book3E config (2013-06-20 15:25:21 +1000)


Aneesh Kumar K.V (1):
  powerpc: Fix bad pmd error with book3E config

 arch/powerpc/mm/hugetlbpage.c |8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-20 Thread Benjamin Herrenschmidt
Hi Linus !

Please pull this regression fix into 3.10. We accidentally broke
hugetlbfs on Freescale embedded processors which use a slightly
different page table layout than our server processors.

Cheers,
Ben.

The following changes since commit c0691143dfe1d42ec9bd89de5921ccb6a27ea1b3:

  mn10300: Fix include dependency in irqflags.h et al. (2013-06-19 06:29:54 
-1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 8bbd9f04b7d982d1c6aeb5c08f5983b3d0b9e2fe:

  powerpc: Fix bad pmd error with book3E config (2013-06-20 15:25:21 +1000)


Aneesh Kumar K.V (1):
  powerpc: Fix bad pmd error with book3E config

 arch/powerpc/mm/hugetlbpage.c |8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-14 Thread Benjamin Herrenschmidt
Hi Linus !

Hopefully this one smells better ...

So here are 3 fixes still for 3.10. Fixes are simple, bugs are nasty
(though not recent regressions, nasty enough) and all targeted at
stable. Please apply.

Thanks !

Cheers,
Ben.

The following changes since commit 34376a50fb1fa095b9d0636fa41ed2e73125f214:

  Fix lockup related to stop_machine being stuck in __do_softirq. (2013-06-10 
17:46:57 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 230b3034793247f61e6a0b08c44cf415f6d92981:

  powerpc: Fix missing/delayed calls to irq_work (2013-06-15 12:33:30 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Fix missing/delayed calls to irq_work

Michael Ellerman (1):
  powerpc: Fix stack overflow crash in resume_kernel when ftracing

Paul Mackerras (1):
  powerpc: Fix emulation of illegal instructions on PowerNV platform

 arch/powerpc/include/asm/exception-64s.h |2 +-
 arch/powerpc/kernel/exceptions-64s.S |2 +-
 arch/powerpc/kernel/irq.c|2 +-
 arch/powerpc/kernel/process.c|4 ++--
 arch/powerpc/kernel/traps.c  |   10 ++
 5 files changed, 15 insertions(+), 5 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-14 Thread Benjamin Herrenschmidt
Hi Linus !

Hopefully this one smells better ...

So here are 3 fixes still for 3.10. Fixes are simple, bugs are nasty
(though not recent regressions, nasty enough) and all targeted at
stable. Please apply.

Thanks !

Cheers,
Ben.

The following changes since commit 34376a50fb1fa095b9d0636fa41ed2e73125f214:

  Fix lockup related to stop_machine being stuck in __do_softirq. (2013-06-10 
17:46:57 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 230b3034793247f61e6a0b08c44cf415f6d92981:

  powerpc: Fix missing/delayed calls to irq_work (2013-06-15 12:33:30 +1000)


Benjamin Herrenschmidt (1):
  powerpc: Fix missing/delayed calls to irq_work

Michael Ellerman (1):
  powerpc: Fix stack overflow crash in resume_kernel when ftracing

Paul Mackerras (1):
  powerpc: Fix emulation of illegal instructions on PowerNV platform

 arch/powerpc/include/asm/exception-64s.h |2 +-
 arch/powerpc/kernel/exceptions-64s.S |2 +-
 arch/powerpc/kernel/irq.c|2 +-
 arch/powerpc/kernel/process.c|4 ++--
 arch/powerpc/kernel/traps.c  |   10 ++
 5 files changed, 15 insertions(+), 5 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 9:20 PM, Jeremy Kerr  wrote:
>
> So, we now use the original date header (if present) in the mbox views:
>
> $ wget -qO - http://patchwork.ozlabs.org/patch/249598/mbox/ | grep ^Date
> Date: Fri, 7 Jun 2013 15:42:54 +1000
>
> ... for all your data-mining needs.

Goodie, and I see that it even works with old patches. Thanks.

   Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Jeremy Kerr
Hi Linus,

> No. The date from the email was
> 
> Date: Fri, 7 Jun 2013 15:42:54 +1000
> 
> and we want *that* date.

Ah, gotchya.

So, we now use the original date header (if present) in the mbox views:

$ wget -qO - http://patchwork.ozlabs.org/patch/249598/mbox/ | grep ^Date
Date: Fri, 7 Jun 2013 15:42:54 +1000

... for all your data-mining needs.

Cheers,


Jeremy
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 8:20 PM, Linus Torvalds
 wrote:
>
> .. the rationale for this is that the work pattern of people is
> actually interesting information. You can do things like this:
>
> git log --pretty=%aD --author=Torvalds

Final side note: for me, and other git users that apply other peoples
patches, it's probably better to use

   git log --pretty=%cD --committer=Torvalds

instead.

Interestingly, that shows a different pattern than my "authorship"
statistics, which are mainly pull requests. It turns out I commit
patches much more in the afternoon. The reason is probably simple: in
the mornings, I have pull requests waiting from overnight, so a fair
number of pull requests where I am author at 9-11. But my biggest
source of patches tends to be Andrew Morton, who sends the patches in
the afternoon, so suddenly the commit counts skew towards being
between 3pm-8pm when you take all my commits into accoint.

Doing

git log --since=6.months --pretty=%aD --grep=Signed.*Andrew.Morton

backs that up: most of the commits that have sign-offs by Andrew are
sent in the afternoon.

I just find details like that really interesting, where you can
actually mine for the workpatterns of people.

   Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 8:06 PM, Linus Torvalds
 wrote:
>
> And it does matter.

.. the rationale for this is that the work pattern of people is
actually interesting information. You can do things like this:

git log --pretty=%aD --author=Torvalds

to see what my work pattern is, and I think that's *interesting*.
Gathering statistics like whether people are generally doing 9-5
Mon-Fri is actually interesting data. You can do things like this:

git log --since=6.months --pretty=%aD --author=Torvalds |
cut -c1-3 |
sort |
uniq -c |
sort -n

and see (for example) that I do slow down on weekends.

Same goes for things like what time of day ends up being most
productive. You can do the statistics for me, and see that I tend to
do the bulk of my pulls in the mornings (peak between 9-11) and that
I'm not a night-owl (*big* drop-off after 8PM - that's what kids do to
you). You can see a few really early-morning cases, but I suspect they
were when I was jetlagged.

So the date data is actually meaningful data. It's not just random noise.

And to do these kinds of things, you absolutely have to have
local-time with proper timezone information. Anything that screws that
up is *broken*. git gets this right, unlike a lot of other broken
SCM's. Git gets it right for a reason.

Yeah, yeah, when people forward other peoples patches they often drop
the date field, and the date of the patch ends up being the time that
the last version of the patch got sent rather than anything else, so
many of the statistics aren't valid. But a _tool_ that actively
corrupts the date and time of a patch is just broken.

 Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 7:44 PM, Jeremy Kerr  wrote:
>
> We keep all patch dates in UTC, but were generating the Date header
> incorrectly. Now fixed:

No, not fixed.

Keeping patch dates in UTC *corrupts* the date.

I'll ask people to stop using patchworks if it cannot keep track of
emailed dates. The date very much is a local time WITH A TIMEZONE.

And it does matter.

> $ wget -qO - http://patchwork.ozlabs.org/patch/249598/mbox/ | grep ^Date
> Date: Fri, 07 Jun 2013 05:42:54 -

No. The date from the email was

Date: Fri, 7 Jun 2013 15:42:54 +1000

and we want *that* date. Not some random date that patchwork makes up
that has no relevance.

I know you have that date, because it shows up when asking for the
headers in patchwork. Just use the right one, don't make up incorrect
ones.

   Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Jeremy Kerr
Hi Linus,

> Is Jeremy the patchwork maintainer?

Yep, that's me.

> and it turns out that apparently 'patchwork' is just making up random
> times, because when you download the email as an mbox, it will turn
> this into that corrupt and incorrect
> 
> Date: Thu, 06 Jun 2013 19:42:54 -
> 
> thing which is apparently how you got the wrong timestamp to begin with.

We keep all patch dates in UTC, but were generating the Date header
incorrectly. Now fixed:

$ wget -qO - http://patchwork.ozlabs.org/patch/249598/mbox/ | grep ^Date
Date: Fri, 07 Jun 2013 05:42:54 -

Commit is at:

 http://git.ozlabs.org/?p=patchwork;a=commitdiff;h=e7353352

Cheers,


Jeremy
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here's the previous pull request with a couple of commits removed,
this is purely regressions (though not all recent ones) or stable
material.

Cheers,
Ben.


The following changes since commit 1612e111e4e565422242727efb59499cce8738e4:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2013-06-06 
18:09:05 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to b11ae95100f7061b39a15e5c1ecbf862464ac4b4:

  powerpc: Partial revert of "Context switch more PMU related SPRs" (2013-06-10 
08:36:35 +1000)


Gavin Shan (1):
  powerpc/eeh: Don't check RTAS token to get PE addr

Kevin Hao (1):
  powerpc/pci: Check the bus address instead of resource address in 
pcibios_fixup_resources

Michael Ellerman (2):
  powerpc/perf: Fix deadlock caused by calling printk() in PMU exception
  powerpc: Partial revert of "Context switch more PMU related SPRs"

Michael Neuling (4):
  powerpc/power8: Fix oprofile and perf
  powerpc/pseries: Simplify denormalization handler
  powerpc/power8: Update denormalization handler
  powerpc/hw_breakpoints: Add DABRX cpu feature to fix 32-bit regression

 arch/powerpc/include/asm/cputable.h  |   17 +++--
 arch/powerpc/kernel/cputable.c   |8 +--
 arch/powerpc/kernel/entry_64.S   |   28 
 arch/powerpc/kernel/exceptions-64s.S |   90 --
 arch/powerpc/kernel/pci-common.c |4 +-
 arch/powerpc/kernel/process.c|3 +-
 arch/powerpc/perf/core-book3s.c  |2 +-
 arch/powerpc/platforms/pseries/eeh_pseries.c |   12 ++--
 8 files changed, 51 insertions(+), 113 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Benjamin Herrenschmidt
On Sun, 2013-06-09 at 14:33 -0700, Linus Torvalds wrote:
> On Sun, Jun 9, 2013 at 12:56 AM, Benjamin Herrenschmidt
>  wrote:
> >
> > Here are a few more powerpc changes for 3.10. I've merged your
> > tree in at some point (which I generally avoid) in order to get
> > the compat network fixes as soon as possible.
> >
> > Mostly regressions, and stuff I judged could/should still go in at
> > this stage.
> 
> Not pulled, because your hamster smells of eldeberries.
> 
> This is not just bugfixes. In fact, as far as I can tell, this
> *introduces* bugs, with that "get_user()" in the exception path that
> can apparently happen with irqs disabled and will thus potentially
> result in new warnings that just make things unreadable.

Ah right, brown paper bag for Anton and I :(

I shouldn't have put that one in, it was a last minute bad decision
after spending time tracking another stupid sigill in userspace (this
time FSL CPUs not implementing some optional instructions that Fedora
compiler seems configured to generate nowadays).

> I'm f*cking tired of people having problems understanding "we're past
> rc5". If it's not something you would call stable material, you
> shouldn't send it to me.

I've taken out that commit and the rename of the PMU interrupt (which
while trivial probably wasn't important enough). Everything else is
regressions/stable material.

That does mean I rebased, but normally nobody bases on that merge branch
so it should be fine.

I'll send a new pull request.

Cheers,
Ben.

>   Linus
> --
> 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.html
> Please read the FAQ at  http://www.tux.org/lkml/


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
[ Is Jeremy the patchwork maintainer? If not, can people forward this
to the real maintainer? ]

On Sun, Jun 9, 2013 at 2:33 PM, Linus Torvalds
 wrote:
>
> This is not just bugfixes. In fact, as far as I can tell, this
> *introduces* bugs, with that "get_user()" in the exception path that
> can apparently happen with irqs disabled and will thus potentially
> result in new warnings that just make things unreadable.

Looking at that particular commit, I also notice that the commit
itself is buggered in other ways too.

It says:

Date:   Thu Jun 6 19:42:54 2013 +

which surprised me due to the odd timezone, and it turns out it is
pure and utter crap.

Google finds the patch in patchwork, and "Show headers" there shows
the expected timezone

Date: Fri, 7 Jun 2013 15:42:54 +1000

and it turns out that apparently 'patchwork' is just making up random
times, because when you download the email as an mbox, it will turn
this into that corrupt and incorrect

Date: Thu, 06 Jun 2013 19:42:54 -

thing which is apparently how you got the wrong timestamp to begin with.

That odd time doesn't even make any sense that I can see, because
those two times have absolutely nothing in common afaik. Unless
timezones work differently down under. It looks like some west-coast
local time, but then it says "-" which is code for "I have no
f*cking clue what I'm doing".

Just to make things extra exciting, patchwork actually shows yet
*another* date string when you just look at the patch in the web
interface:

Date June 7, 2013, 5:42 a.m.

and that actually seems to be the *correct* UTC version of that
original email date. I have no idea what that "Thu, 06 Jun 2013
19:42:54 -" date is, and where it came from. But it is utter
shite.

Can somebody please make sure that patchwork doesn't destroy
timezone/date information? I'm assuming this has been going on
forever, and I just noticed because I looked at that particular commit
for other reasons, and went "Is Anton in Europe now?".

 Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 12:56 AM, Benjamin Herrenschmidt
 wrote:
>
> Here are a few more powerpc changes for 3.10. I've merged your
> tree in at some point (which I generally avoid) in order to get
> the compat network fixes as soon as possible.
>
> Mostly regressions, and stuff I judged could/should still go in at
> this stage.

Not pulled, because your hamster smells of eldeberries.

This is not just bugfixes. In fact, as far as I can tell, this
*introduces* bugs, with that "get_user()" in the exception path that
can apparently happen with irqs disabled and will thus potentially
result in new warnings that just make things unreadable.

I'm f*cking tired of people having problems understanding "we're past
rc5". If it's not something you would call stable material, you
shouldn't send it to me.

  Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc changes for 3.10. I've merged your
tree in at some point (which I generally avoid) in order to get
the compat network fixes as soon as possible.

Mostly regressions, and stuff I judged could/should still go in at
this stage.

I'm still waiting on some more fixes to the signal handling
vs. transactional memory (this is really ugly btw) which are
hopefully coming next week.

Cheers,
Ben.

The following changes since commit 1612e111e4e565422242727efb59499cce8738e4:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2013-06-06 
18:09:05 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 227331303afdca06e44dcda41d27b72015153827:

  powerpc: Print instruction when logging unhandled exceptions (2013-06-09 
17:29:16 +1000)


Anton Blanchard (1):
  powerpc: Print instruction when logging unhandled exceptions

Benjamin Herrenschmidt (1):
  Merge remote-tracking branch 'origin/master' into merge

Gavin Shan (1):
  powerpc/eeh: Don't check RTAS token to get PE addr

Kevin Hao (1):
  powerpc/pci: Check the bus address instead of resource address in 
pcibios_fixup_resources

Michael Ellerman (3):
  powerpc: Rename PMU interrupts from CNT to PMI
  powerpc/perf: Fix deadlock caused by calling printk() in PMU exception
  powerpc: Partial revert of "Context switch more PMU related SPRs"

Michael Neuling (4):
  powerpc/power8: Fix oprofile and perf
  powerpc/pseries: Simplify denormalization handler
  powerpc/power8: Update denormalization handler
  powerpc/hw_breakpoints: Add DABRX cpu feature to fix 32-bit regression

 arch/powerpc/include/asm/cputable.h  |   17 +++--
 arch/powerpc/kernel/cputable.c   |8 +--
 arch/powerpc/kernel/entry_64.S   |   28 
 arch/powerpc/kernel/exceptions-64s.S |   90 --
 arch/powerpc/kernel/irq.c|2 +-
 arch/powerpc/kernel/pci-common.c |4 +-
 arch/powerpc/kernel/process.c|3 +-
 arch/powerpc/kernel/traps.c  |   11 +++-
 arch/powerpc/perf/core-book3s.c  |2 +-
 arch/powerpc/platforms/pseries/eeh_pseries.c |   12 ++--
 10 files changed, 60 insertions(+), 117 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


[git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc changes for 3.10. I've merged your
tree in at some point (which I generally avoid) in order to get
the compat network fixes as soon as possible.

Mostly regressions, and stuff I judged could/should still go in at
this stage.

I'm still waiting on some more fixes to the signal handling
vs. transactional memory (this is really ugly btw) which are
hopefully coming next week.

Cheers,
Ben.

The following changes since commit 1612e111e4e565422242727efb59499cce8738e4:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2013-06-06 
18:09:05 -0700)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

for you to fetch changes up to 227331303afdca06e44dcda41d27b72015153827:

  powerpc: Print instruction when logging unhandled exceptions (2013-06-09 
17:29:16 +1000)


Anton Blanchard (1):
  powerpc: Print instruction when logging unhandled exceptions

Benjamin Herrenschmidt (1):
  Merge remote-tracking branch 'origin/master' into merge

Gavin Shan (1):
  powerpc/eeh: Don't check RTAS token to get PE addr

Kevin Hao (1):
  powerpc/pci: Check the bus address instead of resource address in 
pcibios_fixup_resources

Michael Ellerman (3):
  powerpc: Rename PMU interrupts from CNT to PMI
  powerpc/perf: Fix deadlock caused by calling printk() in PMU exception
  powerpc: Partial revert of Context switch more PMU related SPRs

Michael Neuling (4):
  powerpc/power8: Fix oprofile and perf
  powerpc/pseries: Simplify denormalization handler
  powerpc/power8: Update denormalization handler
  powerpc/hw_breakpoints: Add DABRX cpu feature to fix 32-bit regression

 arch/powerpc/include/asm/cputable.h  |   17 +++--
 arch/powerpc/kernel/cputable.c   |8 +--
 arch/powerpc/kernel/entry_64.S   |   28 
 arch/powerpc/kernel/exceptions-64s.S |   90 --
 arch/powerpc/kernel/irq.c|2 +-
 arch/powerpc/kernel/pci-common.c |4 +-
 arch/powerpc/kernel/process.c|3 +-
 arch/powerpc/kernel/traps.c  |   11 +++-
 arch/powerpc/perf/core-book3s.c  |2 +-
 arch/powerpc/platforms/pseries/eeh_pseries.c |   12 ++--
 10 files changed, 60 insertions(+), 117 deletions(-)


--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
On Sun, Jun 9, 2013 at 12:56 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:

 Here are a few more powerpc changes for 3.10. I've merged your
 tree in at some point (which I generally avoid) in order to get
 the compat network fixes as soon as possible.

 Mostly regressions, and stuff I judged could/should still go in at
 this stage.

Not pulled, because your hamster smells of eldeberries.

This is not just bugfixes. In fact, as far as I can tell, this
*introduces* bugs, with that get_user() in the exception path that
can apparently happen with irqs disabled and will thus potentially
result in new warnings that just make things unreadable.

I'm f*cking tired of people having problems understanding we're past
rc5. If it's not something you would call stable material, you
shouldn't send it to me.

  Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [git pull] Please pull powerpc.git merge branch

2013-06-09 Thread Linus Torvalds
[ Is Jeremy the patchwork maintainer? If not, can people forward this
to the real maintainer? ]

On Sun, Jun 9, 2013 at 2:33 PM, Linus Torvalds
torva...@linux-foundation.org wrote:

 This is not just bugfixes. In fact, as far as I can tell, this
 *introduces* bugs, with that get_user() in the exception path that
 can apparently happen with irqs disabled and will thus potentially
 result in new warnings that just make things unreadable.

Looking at that particular commit, I also notice that the commit
itself is buggered in other ways too.

It says:

Date:   Thu Jun 6 19:42:54 2013 +

which surprised me due to the odd timezone, and it turns out it is
pure and utter crap.

Google finds the patch in patchwork, and Show headers there shows
the expected timezone

Date: Fri, 7 Jun 2013 15:42:54 +1000

and it turns out that apparently 'patchwork' is just making up random
times, because when you download the email as an mbox, it will turn
this into that corrupt and incorrect

Date: Thu, 06 Jun 2013 19:42:54 -

thing which is apparently how you got the wrong timestamp to begin with.

That odd time doesn't even make any sense that I can see, because
those two times have absolutely nothing in common afaik. Unless
timezones work differently down under. It looks like some west-coast
local time, but then it says - which is code for I have no
f*cking clue what I'm doing.

Just to make things extra exciting, patchwork actually shows yet
*another* date string when you just look at the patch in the web
interface:

Date June 7, 2013, 5:42 a.m.

and that actually seems to be the *correct* UTC version of that
original email date. I have no idea what that Thu, 06 Jun 2013
19:42:54 - date is, and where it came from. But it is utter
shite.

Can somebody please make sure that patchwork doesn't destroy
timezone/date information? I'm assuming this has been going on
forever, and I just noticed because I looked at that particular commit
for other reasons, and went Is Anton in Europe now?.

 Linus
--
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.html
Please read the FAQ at  http://www.tux.org/lkml/


  1   2   >