[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)



___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(+)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)



___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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/


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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/


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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



___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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



___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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



___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

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/


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[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(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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 j...@ozlabs.org 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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
torva...@linux-foundation.org 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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
torva...@linux-foundation.org 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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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 j...@ozlabs.org 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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-05-31 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more fixes for powerpc 3.10. It's a bit more than I would
have liked this late in the game but I suppose that's what happens with
a brand new chip generation coming out.

A few regression fixes, some last minute fixes for new P8 features such
as transactional memory,...

There's also one powerpc KVM patch that I requested that adds two
missing functions to our in-kernel interrupt controller support which
is itself a new 3.10 feature. These are defined by the base hypervisor
specification. We didn't implement them originally because Linux doesn't
use them but they are simple and I'm not comfortable having a
half-implemented interface in 3.10 and having to deal with versionning
etc... later when something starts needing those calls. They cannot be
emulated in qemu when using in-kernel interrupt controller (not enough
shared state).

Cheers,
Ben.

The following changes since commit 58f8bbd2e39c3732c55698494338ee19a92c53a0:

  Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux 
(2013-05-28 10:11:34 -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 58a032c3b106adcd2b83b7e631de3b79f238cdd2:

  powerpc/perf: Add missing SIER support (2013-06-01 08:29:29 +1000)


Aneesh Kumar K.V (1):
  powerpc/mm: Always invalidate tlb on hpte invalidate and update

Kevin Hao (2):
  powerpc/pci: Remove the stale comments of pci_process_bridge_OF_ranges
  powerpc/pci: Remove the unused variables in pci_process_bridge_OF_ranges

Michael Ellerman (2):
  powerpc/perf: Revert to original NO_SIPR logic
  powerpc/perf: Add missing SIER support

Michael Neuling (7):
  powerpc/tm: Make room for hypervisor in abort cause codes
  powerpc/tm: Update cause codes documentation
  powerpc/tm: Abort on emulation and alignment faults
  powerpc/tm: Move TM abort cause codes to uapi
  powerpc/tm: Fix userspace stack corruption on signal delivery for active 
transactions
  powerpc/pseries: Kill all prefetch streams on context switch
  powerpc/pseries: Improve stream generation comments in copypage/user

Nishanth Aravamudan (1):
  powerpc/cputable: Fix oprofile_cpu_type on power8

Paul Mackerras (1):
  powerpc/kvm/book3s: Add support for H_IPOLL and H_XIRR_X in XICS emulation

Priyanka Jain (1):
  powerpc/32bit:Store temporary result in r0 instead of r8

Srivatsa S. Bhat (1):
  powerpc/pseries: Always enable CONFIG_HOTPLUG_CPU on PSERIES SMP

chenhui zhao (1):
  powerpc/mpic: Fix irq distribution problem when MPIC_SINGLE_DEST_CPU

 Documentation/powerpc/transactional_memory.txt |   27 +-
 arch/powerpc/include/asm/hvcall.h  |1 +
 arch/powerpc/include/asm/ppc_asm.h |   11 
 arch/powerpc/include/asm/processor.h   |   13 ++---
 arch/powerpc/include/asm/reg.h |   11 
 arch/powerpc/include/asm/signal.h  |3 ++
 arch/powerpc/include/asm/tm.h  |2 +
 arch/powerpc/include/uapi/asm/Kbuild   |1 +
 arch/powerpc/include/uapi/asm/tm.h |   18 +++
 arch/powerpc/kernel/cputable.c |4 +-
 arch/powerpc/kernel/entry_32.S |2 +-
 arch/powerpc/kernel/entry_64.S |7 +++
 arch/powerpc/kernel/pci-common.c   |   14 +
 arch/powerpc/kernel/signal.c   |   40 +-
 arch/powerpc/kernel/signal.h   |2 +-
 arch/powerpc/kernel/signal_32.c|   10 +---
 arch/powerpc/kernel/signal_64.c|   23 +++-
 arch/powerpc/kernel/traps.c|   29 ++
 arch/powerpc/kvm/book3s_hv.c   |2 +
 arch/powerpc/kvm/book3s_pr_papr.c  |2 +
 arch/powerpc/kvm/book3s_xics.c |   29 ++
 arch/powerpc/lib/copypage_power7.S |   19 ---
 arch/powerpc/lib/copyuser_power7.S |   12 +++--
 arch/powerpc/mm/hash_native_64.c   |   30 ---
 arch/powerpc/perf/core-book3s.c|   67 +++-
 arch/powerpc/platforms/pseries/Kconfig |2 +
 arch/powerpc/sysdev/mpic.c |4 +-
 27 files changed, 261 insertions(+), 124 deletions(-)
 create mode 100644 arch/powerpc/include/uapi/asm/tm.h


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2013-05-31 Thread Benjamin Herrenschmidt
On Sat, 2013-06-01 at 09:22 +1000, Benjamin Herrenschmidt wrote:
 Hi Linus !
 
 Here are a few more fixes for powerpc 3.10. It's a bit more than I would
 have liked this late in the game but I suppose that's what happens with
 a brand new chip generation coming out.

 A few regression fixes, some last minute fixes for new P8 features such
 as transactional memory,...
 
 There's also one powerpc KVM patch that I requested that adds two
 missing functions to our in-kernel interrupt controller support which
 is itself a new 3.10 feature. These are defined by the base hypervisor
 specification. We didn't implement them originally because Linux doesn't
 use them but they are simple and I'm not comfortable having a
 half-implemented interface in 3.10 and having to deal with versionning
 etc... later when something starts needing those calls. They cannot be
 emulated in qemu when using in-kernel interrupt controller (not enough
 shared state).

Just added a last minute patch to fix a typo introducing a breakage
in our cputable for Power7+ processors, sorry about that, but the
regression it fixes just hurt me :-)

Sorry about that..

Cheers,
Ben.

The following changes since commit 58f8bbd2e39c3732c55698494338ee19a92c53a0:

  Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux 
(2013-05-28 10:11:34 -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 badec11b645e21acbc2411d7759e3efa559af443:

  powerpc/cputable: Fix typo on P7+ cputable entry (2013-06-01 09:30:03 +1000)


Aneesh Kumar K.V (1):
  powerpc/mm: Always invalidate tlb on hpte invalidate and update

Kevin Hao (2):
  powerpc/pci: Remove the stale comments of pci_process_bridge_OF_ranges
  powerpc/pci: Remove the unused variables in pci_process_bridge_OF_ranges

Michael Ellerman (2):
  powerpc/perf: Revert to original NO_SIPR logic
  powerpc/perf: Add missing SIER support

Michael Neuling (7):
  powerpc/tm: Make room for hypervisor in abort cause codes
  powerpc/tm: Update cause codes documentation
  powerpc/tm: Abort on emulation and alignment faults
  powerpc/tm: Move TM abort cause codes to uapi
  powerpc/tm: Fix userspace stack corruption on signal delivery for active 
transactions
  powerpc/pseries: Kill all prefetch streams on context switch
  powerpc/pseries: Improve stream generation comments in copypage/user

Nishanth Aravamudan (1):
  powerpc/cputable: Fix oprofile_cpu_type on power8

Paul Mackerras (1):
  powerpc/kvm/book3s: Add support for H_IPOLL and H_XIRR_X in XICS emulation

Priyanka Jain (1):
  powerpc/32bit:Store temporary result in r0 instead of r8

Srivatsa S. Bhat (1):
  powerpc/pseries: Always enable CONFIG_HOTPLUG_CPU on PSERIES SMP

Will Schmidt (1):
  powerpc/cputable: Fix typo on P7+ cputable entry

chenhui zhao (1):
  powerpc/mpic: Fix irq distribution problem when MPIC_SINGLE_DEST_CPU

 Documentation/powerpc/transactional_memory.txt |   27 +-
 arch/powerpc/include/asm/hvcall.h  |1 +
 arch/powerpc/include/asm/ppc_asm.h |   11 
 arch/powerpc/include/asm/processor.h   |   13 ++---
 arch/powerpc/include/asm/reg.h |   11 
 arch/powerpc/include/asm/signal.h  |3 ++
 arch/powerpc/include/asm/tm.h  |2 +
 arch/powerpc/include/uapi/asm/Kbuild   |1 +
 arch/powerpc/include/uapi/asm/tm.h |   18 +++
 arch/powerpc/kernel/cputable.c |6 +--
 arch/powerpc/kernel/entry_32.S |2 +-
 arch/powerpc/kernel/entry_64.S |7 +++
 arch/powerpc/kernel/pci-common.c   |   14 +
 arch/powerpc/kernel/signal.c   |   40 +-
 arch/powerpc/kernel/signal.h   |2 +-
 arch/powerpc/kernel/signal_32.c|   10 +---
 arch/powerpc/kernel/signal_64.c|   23 +++-
 arch/powerpc/kernel/traps.c|   29 ++
 arch/powerpc/kvm/book3s_hv.c   |2 +
 arch/powerpc/kvm/book3s_pr_papr.c  |2 +
 arch/powerpc/kvm/book3s_xics.c |   29 ++
 arch/powerpc/lib/copypage_power7.S |   19 ---
 arch/powerpc/lib/copyuser_power7.S |   12 +++--
 arch/powerpc/mm/hash_native_64.c   |   30 ---
 arch/powerpc/perf/core-book3s.c|   67 +++-
 arch/powerpc/platforms/pseries/Kconfig |2 +
 arch/powerpc/sysdev/mpic.c |4 +-
 27 files changed, 262 insertions(+), 125 deletions(-)
 create mode 100644 arch/powerpc/include/uapi/asm/tm.h


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-05-24 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc fixes for 3.10. Some more P8 related
bits, a bunch of fixes for our P7+/P8 HW crypto drivers, some added
workarounds for those radeons that don't do proper 64-bit MSIs and
a couple of other trivialities by myself.

Cheers,
Ben.

The following changes since commit 519fe2ecb755b875d9814cdda19778c2e88c6901:

  Merge branch 'leds-fixes-3.10' of 
git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds (2013-05-21 
11:41:07 -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 f1dd153121dcb872ae6cba8d52bec97519eb7d97:

  powerpc/pseries: Make 32-bit MSI quirk work on systems lacking firmware 
support (2013-05-24 18:16:54 +1000)


Benjamin Herrenschmidt (5):
  powerpc: Fix TLB cleanup at boot on POWER8
  powerpc/pci: Fix bogus message at boot about empty memory resources
  powerpc/powernv: Fix condition for when to invalidate the TCE cache
  powerpc: Make radeon 32-bit MSI quirk work on powernv
  powerpc/powernv: Build a zImage.epapr

Brian King (1):
  powerpc/pseries: Make 32-bit MSI quirk work on systems lacking firmware 
support

Kent Yoder (1):
  drivers/crypto/nx: Fixes for multiple races and issues

Michael Ellerman (1):
  powerpc: Context switch more PMU related SPRs

 arch/powerpc/include/asm/pci-bridge.h |2 +
 arch/powerpc/include/asm/processor.h  |6 +++
 arch/powerpc/kernel/asm-offsets.c |6 +++
 arch/powerpc/kernel/cpu_setup_power.S |8 ++-
 arch/powerpc/kernel/entry_64.S|   28 +++
 arch/powerpc/kernel/pci-common.c  |7 +--
 arch/powerpc/kernel/pci_64.c  |   10 
 arch/powerpc/kernel/pci_dn.c  |8 +++
 arch/powerpc/platforms/powernv/Kconfig|1 +
 arch/powerpc/platforms/powernv/pci-ioda.c |   27 +--
 arch/powerpc/platforms/powernv/pci.c  |6 ++-
 arch/powerpc/platforms/pseries/msi.c  |   75 +++--
 drivers/crypto/nx/nx-aes-cbc.c|1 +
 drivers/crypto/nx/nx-aes-ecb.c|1 +
 drivers/crypto/nx/nx-aes-gcm.c|2 +-
 drivers/crypto/nx/nx-sha256.c |8 +--
 drivers/crypto/nx/nx-sha512.c |7 +--
 drivers/crypto/nx/nx.c|   38 +++
 18 files changed, 146 insertions(+), 95 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-05-14 Thread Benjamin Herrenschmidt
Hi Linus !

Here are some more powerpc fixes to apply to 3.10. This is mostly bug
fixes (some of them regressions, some of them I deemed worth merging
now) along with some patches from Li Zhong hooking up the new
context tracking stuff (for the new full NO_HZ)

Cheers,
Ben.

The following changes since commit 5737789c8340620d7b542d1d4e9b197de8eb2801:

  powerpc: Make hard_irq_disable() do the right thing vs. irq tracing 
(2013-05-07 17:13:57 +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 e34166ad63eac4d0fa98b4c4ed7a98202a18faef:

  powerpc: Set show_unhandled_signals to 1 by default (2013-05-14 18:01:04 
+1000)


Alexander Gordeev (1):
  powerpc: Fix irq_set_affinity() return values

Alistair Popple (1):
  powerpc: Add an in memory udbg console

Aneesh Kumar K.V (2):
  powerpc/mm: Use the correct mask value when looking at pgtable address
  powerpc: Fix build errors STRICT_MM_TYPECHECKS

Anton Blanchard (1):
  powerpc/kexec: Fix kexec when using VMX optimised memcpy

Benjamin Herrenschmidt (5):
  powerpc/powernv: Properly drop characters if console is closed
  powerpc/powernv: Improve kexec reliability
  powerpc/powernv: Detect OPAL v3 API version
  powerpc/powernv: Fix starting of secondary CPUs on OPALv2 and v3
  powerpc: Set show_unhandled_signals to 1 by default

David Woodhouse (1):
  powerpc: Provide __bswapdi2

Li Zhong (6):
  powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning again
  powerpc: Syscall hooks for context tracking subsystem
  powerpc: Exception hooks for context tracking subsystem
  powerpc: Exit user context on notify resume
  powerpc: Use the new schedule_user API on userspace preemption
  powerpc: select HAVE_CONTEXT_TRACKING for pSeries

Michael Ellerman (1):
  powerpc: Make CONFIG_RTAS_PROC depend on CONFIG_PROC_FS

Michael Neuling (3):
  powerpc/perf: Move BHRB code into CONFIG_PPC64 region
  powerpc/pmu: Fix order of interpreting BHRB target entries
  powerpc/perf: Fix setting of to addresses for BHRB

Robert Jennings (1):
  powerpc: Bring all threads online prior to migration/hibernation

Scott Wood (2):
  powerpc: hard_irq_disable(): Call trace_hardirqs_off after disabling
  powerpc/booke64: Fix kernel hangs at kernel_dbg_exc

Vasant Hegde (1):
  powerpc/rtas_flash: Fix validate_flash buffer overflow issue

 arch/powerpc/Kconfig.debug  |   23 +++
 arch/powerpc/include/asm/context_tracking.h |   10 +
 arch/powerpc/include/asm/firmware.h |4 +-
 arch/powerpc/include/asm/hw_irq.h   |5 +-
 arch/powerpc/include/asm/opal.h |5 +-
 arch/powerpc/include/asm/pgalloc-64.h   |2 +-
 arch/powerpc/include/asm/pte-hash64-64k.h   |2 +-
 arch/powerpc/include/asm/rtas.h |2 +
 arch/powerpc/include/asm/thread_info.h  |7 +-
 arch/powerpc/include/asm/udbg.h |1 +
 arch/powerpc/kernel/entry_32.S  |2 -
 arch/powerpc/kernel/entry_64.S  |5 +-
 arch/powerpc/kernel/exceptions-64e.S|8 +-
 arch/powerpc/kernel/machine_kexec_64.c  |4 +
 arch/powerpc/kernel/misc_32.S   |   11 ++
 arch/powerpc/kernel/misc_64.S   |   11 ++
 arch/powerpc/kernel/pci-common.c|5 +-
 arch/powerpc/kernel/ppc_ksyms.c |3 +-
 arch/powerpc/kernel/process.c   |8 +
 arch/powerpc/kernel/ptrace.c|5 +
 arch/powerpc/kernel/rtas.c  |  113 +++
 arch/powerpc/kernel/rtas_flash.c|   10 +-
 arch/powerpc/kernel/signal.c|7 +-
 arch/powerpc/kernel/traps.c |   80 +---
 arch/powerpc/kernel/udbg.c  |3 +
 arch/powerpc/mm/fault.c |   41 ++--
 arch/powerpc/mm/hash_utils_64.c |   36 +++-
 arch/powerpc/mm/init_64.c   |3 +-
 arch/powerpc/perf/core-book3s.c |  280 +++
 arch/powerpc/platforms/Kconfig  |2 +-
 arch/powerpc/platforms/powernv/opal.c   |   30 ++-
 arch/powerpc/platforms/powernv/pci-ioda.c   |9 +
 arch/powerpc/platforms/powernv/pci.c|   12 ++
 arch/powerpc/platforms/powernv/pci.h|2 +
 arch/powerpc/platforms/powernv/powernv.h|2 +
 arch/powerpc/platforms/powernv/setup.c  |   16 +-
 arch/powerpc/platforms/powernv/smp.c|   62 +-
 arch/powerpc/platforms/pseries/Kconfig  |1 +
 arch/powerpc/platforms/pseries/suspend.c|   22 +++
 arch/powerpc/platforms/wsp/ics.c|2 +-
 arch/powerpc/sysdev/Makefile|2 +
 arch/powerpc/sysdev/ehv_pic.c   |2 +-
 arch/powerpc/sysdev/mpic.c  |2 +-
 arch/powerpc/sysdev/udbg_memcons.c  |  

[git pull] Please pull powerpc.git merge branch

2013-05-07 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few more powerpc bits that I would like in 3.10. Mostly
remaining bolts  screw tightening of power8 support such as actually
exposing the new features via the previously added AT_HWCAP2, and a
few fixes, some of them for problems exposed recently like irqdomain
warnings or sysfs access permission issues, some exposed by power8
hardware.

The only change outside of arch/powerpc is a small one to irqdomain.c
to allow silent failure to fix a problem on Cell where we get a dozen
WARN_ON's tripping at boot for what is basically a normal case.

Grant Acked it but I forgot to put it in and didn't want to rebase.

Cheers,
Ben.

The following changes since commit 01227a889ed56ae53aeebb9f93be9d54dd8b2de8:

  Merge tag 'kvm-3.10-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm 
(2013-05-05 14:47:31 -0700)

are available in the git repository at:


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

for you to fetch changes up to 5737789c8340620d7b542d1d4e9b197de8eb2801:

  powerpc: Make hard_irq_disable() do the right thing vs. irq tracing 
(2013-05-07 17:13:57 +1000)


Anton Blanchard (1):
  powerpc: Emulate non privileged DSCR read and write

Benjamin Herrenschmidt (9):
  powerpc/powerpnv: Properly handle failure starting CPUs
  powerpc/pci: Don't add bogus empty resources to PHBs
  powerpc/pnv: Fix compatible property for P8 PHB
  irqdomain: Allow quiet failure mode
  powerpc/cell/spufs: Fix status attribute permission
  powerpc/cell/iommu: Improve error message for missing node
  powerpc/pci: Support per-aperture memory offset
  powerpc/topology: Fix spurr attribute permission
  powerpc: Make hard_irq_disable() do the right thing vs. irq tracing

Brian King (1):
  powerpc/pseries: Force 32 bit MSIs for devices that require it

Jeremy Kerr (1):
  powerpc/powernv: Defer OPAL exception handler registration

Kleber Sacilotto de Souza (1):
  powerpc/pseries: Perform proper max_bus_speed detection

Michael Neuling (1):
  powerpc/tm: Fix null pointer deference in flush_hash_page

Nishanth Aravamudan (4):
  powerpc/cputable: Reserve bits in HWCAP2 for new features
  powerpc/cputable: Advertise DSCR support on P7/P7+
  powerpc/cputable: Advertise ISEL support on appropriate embedded 
processors
  powerpc/cputable: Advertise support for ISEL/HTM/DSCR/TAR on POWER8

 arch/powerpc/include/asm/cputable.h |2 +
 arch/powerpc/include/asm/hw_irq.h   |   16 ++---
 arch/powerpc/include/asm/machdep.h  |3 +
 arch/powerpc/include/asm/pci-bridge.h   |8 +--
 arch/powerpc/include/asm/ppc-opcode.h   |4 ++
 arch/powerpc/include/uapi/asm/cputable.h|9 +++
 arch/powerpc/kernel/cputable.c  |   14 
 arch/powerpc/kernel/pci-common.c|  101 ++-
 arch/powerpc/kernel/pci_32.c|2 +-
 arch/powerpc/kernel/pci_64.c|2 +-
 arch/powerpc/kernel/sysfs.c |2 +-
 arch/powerpc/kernel/traps.c |   10 ++-
 arch/powerpc/mm/hash_utils_64.c |1 +
 arch/powerpc/platforms/cell/iommu.c |2 +-
 arch/powerpc/platforms/cell/spu_base.c  |2 +-
 arch/powerpc/platforms/embedded6xx/mpc10x.h |   11 ---
 arch/powerpc/platforms/powermac/pci.c   |2 +-
 arch/powerpc/platforms/powernv/opal.c   |   15 +++-
 arch/powerpc/platforms/powernv/pci-ioda.c   |   12 ++--
 arch/powerpc/platforms/powernv/smp.c|4 +-
 arch/powerpc/platforms/pseries/msi.c|   21 +-
 arch/powerpc/platforms/pseries/pci.c|   53 ++
 arch/powerpc/platforms/pseries/pseries.h|4 ++
 arch/powerpc/platforms/pseries/setup.c  |2 +
 arch/powerpc/platforms/wsp/wsp_pci.c|2 +-
 arch/powerpc/sysdev/fsl_pci.c   |   11 +--
 arch/powerpc/sysdev/mpic.c  |   14 +++-
 arch/powerpc/sysdev/ppc4xx_pci.c|   15 ++--
 kernel/irq/irqdomain.c  |   20 +-
 29 files changed, 236 insertions(+), 128 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-03-17 Thread Benjamin Herrenschmidt
Hi Linus !

Here's a few powerpc fixes for 3.9, mostly regressions (though not all
from 3.9 merge window) that we've been hammering into shape over the
last couple of weeks. They fix booting on Cell and G5 among other
things (yes, we've been a bit sloppy with older machines this time
around).

Cheers,
Ben.

The following changes since commit 7c6baa304b841673d3a55ea4fcf9a5cbf7a1674b:

  Merge branch 'perf-urgent-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2013-03-11 07:54: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 af81d7878c641629f2693ae3fdaf74b4af14dfca:

  powerpc: Rename USER_ESID_BITS* to ESID_BITS* (2013-03-17 12:45:44 +1100)


Aneesh Kumar K.V (3):
  powerpc: Make VSID_BITS* dependency explicit
  powerpc: Update kernel VSID range
  powerpc: Rename USER_ESID_BITS* to ESID_BITS*

Anton Blanchard (1):
  powerpc: Fix -mcmodel=medium breakage in prom_init.c

Benjamin Herrenschmidt (2):
  powerpc: Fix STAB initialization
  powerpc: Fix cputable entry for 970MP rev 1.0

Michael Neuling (1):
  powerpc/ptrace: Fix brk.len used uninitialised

Paul Bolle (1):
  powerpc: Remove last traces of POWER4_ONLY

Stephen Rothwell (1):
  powerpc: Make sure that we alays include CONFIG_BINFMT_ELF

 arch/powerpc/Kconfig   |1 +
 arch/powerpc/include/asm/mmu-hash64.h  |  128 
 arch/powerpc/kernel/cputable.c |2 +-
 arch/powerpc/kernel/exceptions-64s.S   |   34 ++---
 arch/powerpc/kernel/prom_init.c|   14 ++--
 arch/powerpc/kernel/ptrace.c   |1 +
 arch/powerpc/kvm/book3s_64_mmu_host.c  |4 +-
 arch/powerpc/mm/hash_utils_64.c|   22 --
 arch/powerpc/mm/mmu_context_hash64.c   |   11 +--
 arch/powerpc/mm/pgtable_64.c   |2 +-
 arch/powerpc/mm/slb_low.S  |   50 ++---
 arch/powerpc/mm/tlb_hash64.c   |2 +-
 arch/powerpc/platforms/Kconfig.cputype |6 +-
 13 files changed, 150 insertions(+), 127 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-03-04 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few powerpc bits  fixes for rc1. A couple of str*cpy fixes,
some fixes in handling the FSCR register on Power8 (controls the
enabling of processor features), a 32-bit build fix and a couple more
nits.

Cheers,
Ben.

The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8:

  Linux 3.9-rc1 (2013-03-03 15:11:05 -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 54c9b2253d34e8998e4bff9ac2d7a3ba0b861d52:

  powerpc: Set DSCR bit in FSCR setup (2013-03-05 16:56:30 +1100)


Akinobu Mita (1):
  powerpc: Remove unused BITOP_LE_SWIZZLE macro

Chen Gang (2):
  powerpc/pseries/hvcserver: Fix strncpy buffer limit in location code
  drivers/tty/hvc: Use strlcpy instead of strncpy

Michael Neuling (4):
  powerpc: Avoid link stack corruption in MMU on syscall entry path
  powerpc: Fix setting FSCR for HV=0 and on secondary CPUs
  powerpc: Add DSCR FSCR register bit definition
  powerpc: Set DSCR bit in FSCR setup

Tony Breeds (2):
  powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit
  powerpc: Wireup the kcmp syscall to sys_ni

 arch/powerpc/crypto/sha1-powerpc-asm.S |4 ++--
 arch/powerpc/include/asm/bitops.h  |2 --
 arch/powerpc/include/asm/reg.h |3 ++-
 arch/powerpc/include/asm/systbl.h  |1 +
 arch/powerpc/include/asm/unistd.h  |2 +-
 arch/powerpc/include/uapi/asm/unistd.h |1 +
 arch/powerpc/kernel/cpu_setup_power.S  |5 +++--
 arch/powerpc/kernel/exceptions-64s.S   |4 ++--
 arch/powerpc/platforms/pseries/hvcserver.c |5 +++--
 drivers/tty/hvc/hvcs.c |9 ++---
 10 files changed, 17 insertions(+), 19 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-02-03 Thread Benjamin Herrenschmidt
Hi Linus !

Just so that you don't get too bored on your Island here's a patch for
3.8 fixing a nasty bug that affects the new 64T support that was merged
in 3.7. Please apply whenever you have a chance (and an internet
connection !)

Cheers,
Ben.

The following changes since commit 689dfa894c57842a05bf6dc9f97e6bb71ec5f386:

  powerpc: Max next_tb to prevent from replaying timer interrupt (2013-01-29 
10:18:16 +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 eda8eebdd153c48a4e2a3a3ac3cd9e2e31f5c6b3:

  powerpc/mm: Fix hash computation function (2013-02-04 15:15:08 +1100)


Aneesh Kumar K.V (1):
  powerpc/mm: Fix hash computation function

 arch/powerpc/mm/hash_low_64.S |   62 +++--
 1 file changed, 35 insertions(+), 27 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2013-01-29 Thread Linus Torvalds
On Mon, Jan 28, 2013 at 4:09 PM, Benjamin Herrenschmidt 
b...@kernel.crashing.org wrote:

 It wasn't meant to be snarky, sorry about that...

I'm kidding, I'm kidding, you can be as snarky as you want. It's not like
I'm some fragile flower.

 My usual problem with git request-pull when the mirror haven't caught up
 yet. Branch is merge.

Ok, I see it. Pulled and pushed out,

  Linus
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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

2013-01-29 Thread Geert Uytterhoeven
On Tue, Jan 29, 2013 at 1:09 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
 On Mon, 2013-01-28 at 16:03 -0800, Linus Torvalds wrote:
 I'll have you know that I haven't quite even left for Au yet, and I
 have LCA before diving. So no snarky in between dives comments,
 please.

 It wasn't meant to be snarky, sorry about that...

Sharky? Sorry, couldn't resist.

Gr{oetje,eeting}s,

Poor Geert without sun, dives, and sharks

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say programmer or something like that.
-- Linus Torvalds
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-01-28 Thread Benjamin Herrenschmidt
Hi Linus !

Whenever you have a chance between two dives, you might want to consider
pulling my merge branch to pickup a few fixes for 3.8 that have been
accumulating for the last couple of weeks (I was myself travelling
then on vacation). Nothing major, just a handful of powerpc bug fixes
that I consider worth getting in before 3.8 goes final.

Cheers,
Ben.

The following changes since commit 45e72af09faa7dad5d8539ebac0fe317ae88318b:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-fixes 
(2013-01-28 11:53:49 -0800)

are available in the git repository at:


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

for you to fetch changes up to 689dfa894c57842a05bf6dc9f97e6bb71ec5f386:

  powerpc: Max next_tb to prevent from replaying timer interrupt (2013-01-29 
10:18:16 +1100)


Carl E. Love (1):
  powerpc/oprofile: Fix error in oprofile power7_marked_instr_event() 
function

Cong Ding (1):
  powerpc: kernel/kgdb.c: Fix memory leakage

Li Zhong (1):
  powerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning for ppc32

Steven Rostedt (1):
  powerpc/pasemi: Fix crash on reboot

Tiejun Chen (2):
  powerpc/book3e: Disable interrupt after preempt_schedule_irq
  powerpc: Max next_tb to prevent from replaying timer interrupt

 arch/powerpc/kernel/entry_32.S  |2 ++
 arch/powerpc/kernel/entry_64.S  |   13 +
 arch/powerpc/kernel/kgdb.c  |5 +++--
 arch/powerpc/kernel/time.c  |9 +++--
 arch/powerpc/oprofile/op_model_power4.c |2 +-
 arch/powerpc/platforms/pasemi/cpufreq.c |7 +++
 6 files changed, 33 insertions(+), 5 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2013-01-28 Thread Linus Torvalds
On Mon, Jan 28, 2013 at 3:42 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:

 Whenever you have a chance between two dives, you might want to consider
 pulling my merge branch to pickup a few fixes for 3.8 that have been
 accumulating for the last couple of weeks (I was myself travelling
 then on vacation).

I'll have you know that I haven't quite even left for Au yet, and I
have LCA before diving. So no snarky in between dives comments,
please.

At least not for a few days.

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

Nothing there. Forgot to push? Or some unnamed branch/tag?

(And I _am_ leaving for the airport soon, so I may not get to it for a
while unless you reply asap)

  Linus
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2013-01-28 Thread Benjamin Herrenschmidt
On Mon, 2013-01-28 at 16:03 -0800, Linus Torvalds wrote:
 I'll have you know that I haven't quite even left for Au yet, and I
 have LCA before diving. So no snarky in between dives comments,
 please.

It wasn't meant to be snarky, sorry about that...

 At least not for a few days.
 
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git
 
 Nothing there. Forgot to push? Or some unnamed branch/tag?

My usual problem with git request-pull when the mirror haven't caught up
yet. Branch is merge.

 (And I _am_ leaving for the airport soon, so I may not get to it for a
 while unless you reply asap)

Have a good trip !

Cheers,
Ben.

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2013-01-02 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a couple of small powerpc fixes. They aren't new bugs (and
they are both CCed to stable) but I didn't see the point of sitting
on the fixes any longer.

Oh and happy new year !

Cheers,
Ben.

The following changes since commit d1c3ed669a2d452cacfb48c2d171a1f364dae2ed:

  Linux 3.8-rc2 (2013-01-02 18:13:21 -0800)

are available in the git repository at:

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

for you to fetch changes up to e6449c9b2d90c1bd9a5985bf05ddebfd1631cd6b:

  powerpc: Add missing NULL terminator to avoid boot panic on PPC40x 
(2013-01-03 16:45:52 +1100)


Gabor Juhos (1):
  powerpc: Add missing NULL terminator to avoid boot panic on PPC40x

Shan Hai (1):
  powerpc/vdso: Remove redundant locking in update_vsyscall_tz()

 arch/powerpc/kernel/time.c |5 -
 arch/powerpc/platforms/40x/ppc40x_simple.c |3 ++-
 2 files changed, 2 insertions(+), 6 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2013-01-02 Thread Benjamin Herrenschmidt
On Thu, 2013-01-03 at 17:13 +1100, Benjamin Herrenschmidt wrote:
 Hi Linus !
 
 Here are a couple of small powerpc fixes. They aren't new bugs (and
 they are both CCed to stable) but I didn't see the point of sitting
 on the fixes any longer.

Looks like I still need to fix my script to get the branch name right
for when the mirrors haven't caught up...

It's

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

Cheers,
Ben.

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-11-25 Thread Benjamin Herrenschmidt
Hi Linus !

Here's a patch that would be good to still have in 3.7. It's a one liner fixing
a regression introduced by the new EEH code in .37 (potential oops on some
PCI setups when configuring MSIs).

Cheers,
Ben.

The following changes since commit d6dc24613c222f9057131ccbd5264a10bcba9f97:

  Merge remote-tracking branch 'agust/merge' into merge (2012-11-21 13:24:49 
+1100)

are available in the git repository at:


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

for you to fetch changes up to bb4618823a3389086f157fafb2a0d97cade8d89f:

  powerpc/pseries: Fix oops with MSIs when missing EEH PEs (2012-11-23 13:26:05 
+1100)


Alexey Kardashevskiy (1):
  powerpc/pseries: Fix oops with MSIs when missing EEH PEs

 arch/powerpc/platforms/pseries/msi.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-11-25 Thread Benjamin Herrenschmidt
On Mon, 2012-11-26 at 09:08 +1100, Benjamin Herrenschmidt wrote:
 On Mon, 2012-11-26 at 09:07 +1100, Benjamin Herrenschmidt wrote:
  Hi Linus !
  
  Here's a patch that would be good to still have in 3.7. It's a one liner 
  fixing
  a regression introduced by the new EEH code in .37 (potential oops on some
  PCI setups when configuring MSIs).

I've just added a second fix for EEH (Gavin found another issue) which
is trivial enough (and tested) so it should still go in. Updated pull
request:

The following changes since commit
d6dc24613c222f9057131ccbd5264a10bcba9f97:

  Merge remote-tracking branch 'agust/merge' into merge (2012-11-21
13:24: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 e716e014384688d1a50d1aa5213ee74748c6d4e0:

  powerpc/eeh: Do not invalidate PE properly (2012-11-26 09:14:16 +1100)


Alexey Kardashevskiy (1):
  powerpc/pseries: Fix oops with MSIs when missing EEH PEs

Gavin Shan (1):
  powerpc/eeh: Do not invalidate PE properly

 arch/powerpc/platforms/pseries/eeh_pe.c |2 +-
 arch/powerpc/platforms/pseries/msi.c|3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-11-25 Thread Benjamin Herrenschmidt
On Mon, 2012-11-26 at 09:07 +1100, Benjamin Herrenschmidt wrote:
 Hi Linus !
 
 Here's a patch that would be good to still have in 3.7. It's a one liner 
 fixing
 a regression introduced by the new EEH code in .37 (potential oops on some
 PCI setups when configuring MSIs).
 
 Cheers,
 Ben.
 
 The following changes since commit d6dc24613c222f9057131ccbd5264a10bcba9f97:
 
   Merge remote-tracking branch 'agust/merge' into merge (2012-11-21 13:24:49 
 +1100)
 
 are available in the git repository at:
 
 
   git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git 

And the branch is merge.

Cheers,
Ben.

 
 for you to fetch changes up to bb4618823a3389086f157fafb2a0d97cade8d89f:
 
   powerpc/pseries: Fix oops with MSIs when missing EEH PEs (2012-11-23 
 13:26:05 +1100)
 
 
 Alexey Kardashevskiy (1):
   powerpc/pseries: Fix oops with MSIs when missing EEH PEs
 
  arch/powerpc/platforms/pseries/msi.c |3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-11-20 Thread Benjamin Herrenschmidt
Hi Linus !

Here are small 52xx fixes that Anatolij asked me to pull a while back
and that I completely missed. The stuff is local to that platform code,
and was in next for a while, so it should still go into 3.7.

Thanks,
Ben.

The following changes since commit 8c23f406c6d86808726ace580657186bc3b44587:

  Merge git://git.kernel.org/pub/scm/virt/kvm/kvm (2012-11-01 08:27:02 -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 d6dc24613c222f9057131ccbd5264a10bcba9f97:

  Merge remote-tracking branch 'agust/merge' into merge (2012-11-21 13:24:49 
+1100)



Anatolij Gustschin (1):
  powerpc/mpc5200: move lpbfifo node and fix its interrupt property

Benjamin Herrenschmidt (1):
  Merge remote-tracking branch 'agust/merge' into merge

Eric Millbrandt (1):
  powerpc/pcm030: add pcm030-audio-fabric to dts

Wolfram Sang (1):
  powerpc: 52xx: nop out unsupported critical IRQs

 arch/powerpc/boot/dts/mpc5200b.dtsi   |6 ++
 arch/powerpc/boot/dts/o2d.dtsi|6 --
 arch/powerpc/boot/dts/pcm030.dts  |7 ++-
 arch/powerpc/platforms/52xx/mpc52xx_pic.c |9 +
 4 files changed, 17 insertions(+), 11 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-10-18 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful of powerpc related fixes for you to pull.

Cheers,
Ben.

The following changes since commit 18673533256a2953ccefded52df2679de8640685:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2012-10-17 
12:41:18 -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 83dac59409387789b88bed40b1be86a8abc572be:

  cpuidle/powerpc: Fix snooze state problem in the cpuidle design on pseries. 
(2012-10-18 10:57:25 +1100)


Aneesh Kumar K.V (1):
  powerpc: Build fix for powerpc KVM

Benjamin Herrenschmidt (1):
  Revert powerpc/perf: Use pmc_overflow() to detect rolled back events

Deepthi Dharwar (3):
  cpuidle/powerpc: Fix target residency initialisation in pseries cpuidle
  cpuidle/powerpc: Fix smt_snooze_delay functionality.
  cpuidle/powerpc: Fix snooze state problem in the cpuidle design on 
pseries.

 arch/powerpc/include/asm/kvm_book3s_32.h|1 +
 arch/powerpc/include/asm/processor.h|4 +-
 arch/powerpc/kernel/sysfs.c |2 +-
 arch/powerpc/kvm/book3s_32_mmu_host.c   |4 +-
 arch/powerpc/perf/core-book3s.c |2 +-
 arch/powerpc/platforms/pseries/processor_idle.c |   62 +++
 6 files changed, 36 insertions(+), 39 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-10-04 Thread Linus Torvalds
On Thu, Oct 4, 2012 at 1:38 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:

 First, however, a note about the pull request details ... the diffstat looks
 completely on crack, any idea what's up ? It sees piles of files modified
 in various other archs  generic code but I see no patch in that branch
 that touches any of them.

So this happens if you have reverse merges (ie you've pulled my
tree, or some other tree I've pulled), and there is no longer a single
clear common point that you started from. In that case, there is no
simple diff for the what has changed since that original point, and
to get the diff for the merge you actually have to do the merge and
check the end result. git-request-pull doesn't do that, it just
assumes it's the simple case of some single common point.

The fact that you haven't seen it until now just means that you've
generally done a good job at keeping your powerpc tree clean from
other trees, and containing only your own work.

   Linus
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-10-04 Thread Linus Torvalds
On Thu, Oct 4, 2012 at 1:38 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:

 The following changes since commit 271fd03a3013b106ccc178d54219c1be0c9759b7:

   powerpc/powernv: I/O and memory alignment for P2P bridges (2012-09-11 
 16:59:47 -0600)

 are available in the git repository at:

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

Hmm. There's nothing there.

Did you mean for me to pull some branch/tag you didn't mention?

  Linus
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-10-04 Thread Benjamin Herrenschmidt
On Thu, 2012-10-04 at 09:00 -0700, Linus Torvalds wrote:
 So this happens if you have reverse merges (ie you've pulled my
 tree, or some other tree I've pulled), and there is no longer a single
 clear common point that you started from. In that case, there is no
 simple diff for the what has changed since that original point, and
 to get the diff for the merge you actually have to do the merge and
 check the end result. git-request-pull doesn't do that, it just
 assumes it's the simple case of some single common point.

That was more/less my guess. Thanks.

 The fact that you haven't seen it until now just means that you've
 generally done a good job at keeping your powerpc tree clean from
 other trees, and containing only your own work. 

Heh, yeah I try to :-) In this specific case, this was a topic branch
from Bjorn which some pre-requisite patches to the generic PCI code that
Gavin did to allow us to get rid of some custom resource allocation
crap, so the getting rid of had a dependency on that topic branch.

Unfortunately, Bjorn had also based that branch on top of some larger
cleanup patch so I ended up pulling that as well from him, which tripped
the whole thing.

Cheers,
Ben.


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-10-04 Thread Benjamin Herrenschmidt
On Thu, 2012-10-04 at 09:02 -0700, Linus Torvalds wrote:
 Hmm. There's nothing there.
 
 Did you mean for me to pull some branch/tag you didn't mention?

Heh, yeah, the mirrors hadn't updated yet so git request-pull didn't put
the branch name in. It's common but I usually fix it up by hand. Since I
was probably too tired for thinking straight, I forgot that and forgot
to put the proper branch name in the email subject as well... argh :-)

It's in my next branch. Mirrors should be good by now, it's at:

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

Sorry for the misshap.

Cheers,
Ben.



___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-09-05 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few fixes for 3.6 that were piling up while I was away or
busy (I was mostly MIA a week or two before San Diego). Some fixes from
Anton fixing up issues with our relatively new DSCR control feature,
and a few other fixes that are either regressions or bugs nasty enough
to warrant not waiting.

Cheers,
Ben.

The following changes since commit 5b716ac728bcc01b1f2a7ed6e437196602237c27:

  Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 (2012-09-02 
11:30:10 -0700)

are available in the git repository at:


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

for you to fetch changes up to 636802ef96eebe279b22ad9f9dacfe29291e45c7:

  powerpc: Don't use __put_user() in patch_instruction (2012-09-05 16:05:23 
+1000)


Anton Blanchard (4):
  powerpc: Update DSCR on all CPUs when writing sysfs dscr_default
  powerpc: Keep thread.dscr and thread.dscr_inherit in sync
  powerpc: Fix DSCR inheritance in copy_thread()
  powerpc: Restore correct DSCR in context switch

Benjamin Herrenschmidt (1):
  powerpc: Don't use __put_user() in patch_instruction

Jesse Larrew (1):
  powerpc/vphn: Fix arch_update_cpu_topology() return value

Paul Mackerras (3):
  powerpc: Give hypervisor decrementer interrupts their own handler
  powerpc/powernv: Always go into nap mode when CPU is offline
  powerpc: Make sure IPI handlers see data written by IPI senders

 arch/powerpc/include/asm/processor.h |1 +
 arch/powerpc/kernel/asm-offsets.c|1 +
 arch/powerpc/kernel/dbell.c  |2 ++
 arch/powerpc/kernel/entry_64.S   |   23 +--
 arch/powerpc/kernel/exceptions-64s.S |3 ++-
 arch/powerpc/kernel/idle_power7.S|2 ++
 arch/powerpc/kernel/process.c|   12 ++--
 arch/powerpc/kernel/smp.c|   11 +--
 arch/powerpc/kernel/sysfs.c  |   10 ++
 arch/powerpc/kernel/time.c   |9 +
 arch/powerpc/kernel/traps.c  |3 ++-
 arch/powerpc/lib/code-patching.c |2 +-
 arch/powerpc/mm/numa.c   |7 ---
 arch/powerpc/platforms/powernv/smp.c |   10 +-
 arch/powerpc/sysdev/xics/icp-hv.c|6 +-
 15 files changed, 68 insertions(+), 34 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-09-05 Thread Benjamin Herrenschmidt
On Wed, 2012-09-05 at 16:12 +1000, Benjamin Herrenschmidt wrote:
 The following changes since commit
 5b716ac728bcc01b1f2a7ed6e437196602237c27:
 
   Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
 (2012-09-02 11:30:10 -0700)
 
 are available in the git repository at:
 
 
   git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git 

Little glitch, the mirrors hadn't caught up yet when I use git
request-pull so it didn't append the branch name. It's merge as the
subject implies.

Cheers,
Ben.


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-08-24 Thread Benjamin Herrenschmidt
Hi Linus !

I meant to sent that earlier but got swamped with other things, so here
are some powerpc fixes for 3.6. A few regression fixes and some bug
fixes that I deemed should still make it.

There's a FSL update from Kumar with a bunch of defconfig updates along
with a few embedded fixes.

I also reverted my g5_defconfig update that I merged earlier as it was
completely busted, not too sure what happened there, I'll do a new one
later.

Cheers,
Ben.

The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:

  Linux 3.6-rc1 (2012-08-02 16:38:10 -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 2c39bf49fd05305bea6d70670855047b2191d3f5:

  Revert powerpc: Update g5_defconfig (2012-08-24 20:55:55 +1000)


Aaro Koskinen (1):
  powerpc/dma-iommu: Fix IOMMU window check

Anton Blanchard (2):
  powerpc: POWER7 copy_to_user/copy_from_user patch applied twice
  powerpc: Fix VMX in interrupt check in POWER7 copy loops

Benjamin Herrenschmidt (1):
  Revert powerpc: Update g5_defconfig

Jia Hongtao (1):
  powerpc/fsl-pci: Only scan PCI bus if configured as a host

Jiri Kosina (1):
  powerpc: Fix personality handling in ppc64_personality()

Kim Phillips (2):
  powerpc/fsl: update defconfigs
  powerpc/fsl: fix Failed to mount /dev: No such device errors

Michael Ellerman (2):
  powerpc: Fix xmon dl command for new printk implementation
  powerpc: Fixup whitespace in xmon

Michael Neuling (2):
  powerpc: Fix null pointer deref in perf hardware breakpoints
  powerpc: Remove unnecessary ifdefs

Scott Wood (1):
  powerpc/mpic_msgr: Add missing includes

Shengzhou Liu (1):
  powerpc/p4080ds: dts - add usb controller version info and port0

Sukadev Bhattiprolu (1):
  powerpc/perf: Use pmc_overflow() to detect rolled back events

Tiejun Chen (4):
  booke/wdt: some ioctls do not return values properly
  powerpc/kgdb: Do not set kgdb_single_step on ppc
  powerpc/kgdb: Bail out of KGDB when we've been triggered
  powerpc/kgdb: Restore current_thread_info properly

Zhao Chenhui (1):
  powerpc/85xx: mpc85xx_defconfig - add VIA PATA support for MPC85xxCDS

 arch/powerpc/boot/dts/fsl/p4080si-post.dtsi  |7 ++
 arch/powerpc/configs/85xx/p1023rds_defconfig |   31 +++-
 arch/powerpc/configs/corenet32_smp_defconfig |   29 +++-
 arch/powerpc/configs/corenet64_smp_defconfig |1 +
 arch/powerpc/configs/g5_defconfig|  103 ++
 arch/powerpc/configs/mpc83xx_defconfig   |   18 ++---
 arch/powerpc/configs/mpc85xx_defconfig   |   33 +++--
 arch/powerpc/configs/mpc85xx_smp_defconfig   |   32 ++--
 arch/powerpc/include/asm/cputable.h  |2 -
 arch/powerpc/include/asm/mpic_msgr.h |1 +
 arch/powerpc/kernel/dma-iommu.c  |9 +--
 arch/powerpc/kernel/hw_breakpoint.c  |2 +-
 arch/powerpc/kernel/kgdb.c   |   27 ++-
 arch/powerpc/kernel/syscalls.c   |8 +-
 arch/powerpc/lib/copyuser_power7.S   |   35 +
 arch/powerpc/lib/memcpy_power7.S |4 +-
 arch/powerpc/perf/core-book3s.c  |2 +-
 arch/powerpc/sysdev/fsl_pci.c|   13 ++--
 arch/powerpc/sysdev/mpic_msgr.c  |3 +
 arch/powerpc/xmon/xmon.c |   84 +
 drivers/watchdog/booke_wdt.c |7 +-
 21 files changed, 209 insertions(+), 242 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [git pull] Please pull powerpc.git merge branch (updated)

2012-08-23 Thread Kumar Gala
[ Added defconfig updates from Kim to fix NFS boot on yocto ]

The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:

  Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)

are available in the git repository at:

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

for you to fetch changes up to 1267643dc311e860e728dbd09a97c2e0a773bfdb:

  powerpc/fsl: fix Failed to mount /dev: No such device errors (2012-08-23 
10:46:20 -0500)


Jia Hongtao (1):
  powerpc/fsl-pci: Only scan PCI bus if configured as a host

Kim Phillips (2):
  powerpc/fsl: update defconfigs
  powerpc/fsl: fix Failed to mount /dev: No such device errors

Shengzhou Liu (1):
  powerpc/p4080ds: dts - add usb controller version info and port0

Tiejun Chen (1):
  booke/wdt: some ioctls do not return values properly

Zhao Chenhui (1):
  powerpc/85xx: mpc85xx_defconfig - add VIA PATA support for MPC85xxCDS

 arch/powerpc/boot/dts/fsl/p4080si-post.dtsi  |7 ++
 arch/powerpc/configs/85xx/p1023rds_defconfig |   31 
 arch/powerpc/configs/corenet32_smp_defconfig |   29 +++---
 arch/powerpc/configs/corenet64_smp_defconfig |1 +
 arch/powerpc/configs/mpc83xx_defconfig   |   18 --
 arch/powerpc/configs/mpc85xx_defconfig   |   33 +++---
 arch/powerpc/configs/mpc85xx_smp_defconfig   |   32 +++--
 arch/powerpc/sysdev/fsl_pci.c|   13 ++
 drivers/watchdog/booke_wdt.c |7 +++---
 9 files changed, 60 insertions(+), 111 deletions(-)
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [git pull] Please pull powerpc.git merge branch (updated)

2012-08-17 Thread Kumar Gala
Ben,

Added a watchdog fix.

- k

The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:

  Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)

are available in the git repository at:

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

for you to fetch changes up to 127c6e731106a2071ee4a6c5a34c471cd3e719f0:

  booke/wdt: some ioctls do not return values properly (2012-08-17 09:03:51 
-0500)


Jia Hongtao (1):
  powerpc/fsl-pci: Only scan PCI bus if configured as a host

Shengzhou Liu (1):
  powerpc/p4080ds: dts - add usb controller version info and port0

Tiejun Chen (1):
  booke/wdt: some ioctls do not return values properly

Zhao Chenhui (1):
  powerpc/85xx: mpc85xx_defconfig - add VIA PATA support for MPC85xxCDS

 arch/powerpc/boot/dts/fsl/p4080si-post.dtsi |7 +++
 arch/powerpc/configs/mpc85xx_defconfig  |1 +
 arch/powerpc/sysdev/fsl_pci.c   |   13 -
 drivers/watchdog/booke_wdt.c|7 +++
 4 files changed, 19 insertions(+), 9 deletions(-)

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [git pull] Please pull powerpc.git merge branch (updated)

2012-08-16 Thread Kumar Gala
Ben,

Poke.  :)

- k

On Aug 10, 2012, at 8:07 AM, Kumar Gala wrote:

 Ben,
 
 Two updates from last week (one dts bug fix, one minor defconfig update)
 
 - k
 
 The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:
 
  Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)
 
 are available in the git repository at:
 
  git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git merge
 
 for you to fetch changes up to 09a3017a585eb8567a7de15b426bb1dfb548bf0f:
 
  powerpc/p4080ds: dts - add usb controller version info and port0 (2012-08-10 
 07:47:02 -0500)
 
 
 Jia Hongtao (1):
  powerpc/fsl-pci: Only scan PCI bus if configured as a host
 
 Shengzhou Liu (1):
  powerpc/p4080ds: dts - add usb controller version info and port0
 
 Zhao Chenhui (1):
  powerpc/85xx: mpc85xx_defconfig - add VIA PATA support for MPC85xxCDS
 
 arch/powerpc/boot/dts/fsl/p4080si-post.dtsi |7 +++
 arch/powerpc/configs/mpc85xx_defconfig  |1 +
 arch/powerpc/sysdev/fsl_pci.c   |   13 -
 3 files changed, 16 insertions(+), 5 deletions(-)
 
 ___
 Linuxppc-dev mailing list
 Linuxppc-dev@lists.ozlabs.org
 https://lists.ozlabs.org/listinfo/linuxppc-dev

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [git pull] Please pull powerpc.git merge branch (updated)

2012-08-10 Thread Kumar Gala
Ben,

Two updates from last week (one dts bug fix, one minor defconfig update)

- k

The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:

  Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)

are available in the git repository at:

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

for you to fetch changes up to 09a3017a585eb8567a7de15b426bb1dfb548bf0f:

  powerpc/p4080ds: dts - add usb controller version info and port0 (2012-08-10 
07:47:02 -0500)


Jia Hongtao (1):
  powerpc/fsl-pci: Only scan PCI bus if configured as a host

Shengzhou Liu (1):
  powerpc/p4080ds: dts - add usb controller version info and port0

Zhao Chenhui (1):
  powerpc/85xx: mpc85xx_defconfig - add VIA PATA support for MPC85xxCDS

 arch/powerpc/boot/dts/fsl/p4080si-post.dtsi |7 +++
 arch/powerpc/configs/mpc85xx_defconfig  |1 +
 arch/powerpc/sysdev/fsl_pci.c   |   13 -
 3 files changed, 16 insertions(+), 5 deletions(-)

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-08-04 Thread Kumar Gala

On Aug 3, 2012, at 5:34 PM, Benjamin Herrenschmidt wrote:

 On Fri, 2012-08-03 at 08:39 -0500, Kumar Gala wrote:
 Ben,
 
 Weekly bug fix pull request.
 
 Well, Linus is on holiday so I don't think it makes sense for me to ask
 him to pull anything just yet... I'll put it in my tree some time next
 week and will send it along with whatever I have as well when it looks
 like he might be back :-)

No problem, just trying to get into a weekly cadence of pull requests.

- k

 
 Cheers,
 Ben.
 
 - k
 
 The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:
 
  Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)
 
 are available in the git repository at:
 
  git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git merge
 
 for you to fetch changes up to c9f11c30374329a0d2a88cf05281ca49d8eca9ab:
 
  powerpc/fsl-pci: Only scan PCI bus if configured as a host (2012-08-03 
 08:25:52 -0500)
 
 
 Jia Hongtao (1):
  powerpc/fsl-pci: Only scan PCI bus if configured as a host
 
 arch/powerpc/sysdev/fsl_pci.c |   13 -
 1 file changed, 8 insertions(+), 5 deletions(-)
 

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-08-03 Thread Kumar Gala
Ben,

Weekly bug fix pull request.

- k

The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:

  Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)

are available in the git repository at:

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

for you to fetch changes up to c9f11c30374329a0d2a88cf05281ca49d8eca9ab:

  powerpc/fsl-pci: Only scan PCI bus if configured as a host (2012-08-03 
08:25:52 -0500)


Jia Hongtao (1):
  powerpc/fsl-pci: Only scan PCI bus if configured as a host

 arch/powerpc/sysdev/fsl_pci.c |   13 -
 1 file changed, 8 insertions(+), 5 deletions(-)
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-08-03 Thread Benjamin Herrenschmidt
On Fri, 2012-08-03 at 08:39 -0500, Kumar Gala wrote:
 Ben,
 
 Weekly bug fix pull request.

Well, Linus is on holiday so I don't think it makes sense for me to ask
him to pull anything just yet... I'll put it in my tree some time next
week and will send it along with whatever I have as well when it looks
like he might be back :-)

Cheers,
Ben.

 - k
 
 The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:
 
   Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)
 
 are available in the git repository at:
 
   git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git merge
 
 for you to fetch changes up to c9f11c30374329a0d2a88cf05281ca49d8eca9ab:
 
   powerpc/fsl-pci: Only scan PCI bus if configured as a host (2012-08-03 
 08:25:52 -0500)
 
 
 Jia Hongtao (1):
   powerpc/fsl-pci: Only scan PCI bus if configured as a host
 
  arch/powerpc/sysdev/fsl_pci.c |   13 -
  1 file changed, 8 insertions(+), 5 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-07-31 Thread Benjamin Herrenschmidt
Hi Linus !

Kumar sent me a handful of Freescale related fixes and I added
another regression fix to the pile.

Cheers,
Ben.

PS. I -will- eventually learn about that signed tag business :-)

The following changes since commit 1fad1e9a747687a7399bf58e87974f9b1bbcae06:

  Merge tag 'nfs-for-3.6-1' of 
git://git.linux-nfs.org/projects/trondmy/linux-nfs (2012-07-30 19:16: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 ad36cb0d1d3e2b7f161cd33932433f9349cade1e:

  powerpc/kvm/book3s_32: Fix MTMSR_EERI macro (2012-07-31 15:21:20 +1000)


Alexander Graf (1):
  powerpc/kvm/book3s_32: Fix MTMSR_EERI macro

Benjamin Herrenschmidt (1):
  Merge remote-tracking branch 'kumar/merge' into merge

Claudiu Manoil (1):
  powerpc/85xx: Fix sram_offset parameter type

Shaohui Xie (1):
  powerpc/85xx: P3041DS - change espi input-clock from 40MHz to 35MHz

Tang Yuantian (1):
  powerpc/85xx: Fix pci base address error for p2020rdb-pc in dts

Timur Tabi (2):
  powerpc/85xx: p1022ds: disable the NAND flash node if video is enabled
  powerpc/85xx: p1022ds: fix DIU/LBC switching with NAND enabled

 arch/powerpc/boot/dts/p2020rdb-pc_32b.dts |4 +-
 arch/powerpc/boot/dts/p2020rdb-pc_36b.dts |4 +-
 arch/powerpc/boot/dts/p3041ds.dts |2 +-
 arch/powerpc/kvm/book3s_rmhandlers.S  |1 -
 arch/powerpc/platforms/85xx/p1022_ds.c|  122 +++--
 arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h |4 +-
 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c |   39 -
 7 files changed, 121 insertions(+), 55 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-07-27 Thread Kumar Gala
Ben,

A few patches that missed the initial 3.6 window.  These are bug fixes at
this point.

- k

The following changes since commit 574ce79cea9d3fda109ffcc82f81733de4740e5c:

  powerpc/mpic: Create a revmap with enough entries for IPIs and timers 
(2012-07-23 14:20:42 +1000)

are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git merge

Claudiu Manoil (1):
  powerpc/85xx: Fix sram_offset parameter type

Shaohui Xie (1):
  powerpc/85xx: P3041DS - change espi input-clock from 40MHz to 35MHz

Tang Yuantian (1):
  powerpc/85xx: Fix pci base address error for p2020rdb-pc in dts

Timur Tabi (2):
  powerpc/85xx: p1022ds: disable the NAND flash node if video is enabled
  powerpc/85xx: p1022ds: fix DIU/LBC switching with NAND enabled

 arch/powerpc/boot/dts/p2020rdb-pc_32b.dts |4 +-
 arch/powerpc/boot/dts/p2020rdb-pc_36b.dts |4 +-
 arch/powerpc/boot/dts/p3041ds.dts |2 +-
 arch/powerpc/platforms/85xx/p1022_ds.c|  122 +++-
 arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h |4 +-
 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c |   39 --
 6 files changed, 121 insertions(+), 54 deletions(-)
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-07-26 Thread Benjamin Herrenschmidt
Hi Linus !

Here's a handful of powerpc patches, a couple of regression fixes
for problems introduced in the main batch in this merge window,
a couple of defconfig updates, and some trivials. The radeonfb
one is something that was long standing in SLES which I forgot
to pickup earlier.

Cheers,
Ben.

The following changes since commit bdc0077af574800d24318b6945cf2344e8dbb050:

  Merge tag 'scsi-misc' of 
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2012-07-24 18:11:22 
-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 bac821a6e3404330d509fd3a245bf7701f210c7c:

  powerpc/ftrace: Trace function graph entry before updating index (2012-07-27 
11:42:34 +1000)


Alexander Graf (1):
  powerpc/kvm/bookehv: Fix build regression

Anton Blanchard (2):
  powerpc: Enable pseries hardware RNG and crypto modules
  powerpc: Lack of firmware flash support is not an error

Benjamin Herrenschmidt (1):
  powerpc: Update g5_defconfig

Steven Rostedt (1):
  powerpc/ftrace: Trace function graph entry before updating index

Stuart Yoder (1):
  powerpc: Set stack limit properly in crit_transfer_to_handler

Tony Breeds (1):
  radeonfb: Add quirk for the graphics adapter in some JSxx

 arch/powerpc/configs/g5_defconfig  |  103 ++--
 arch/powerpc/configs/ppc64_defconfig   |6 +-
 arch/powerpc/configs/pseries_defconfig |6 +-
 arch/powerpc/kernel/entry_32.S |   12 +++-
 arch/powerpc/kernel/ftrace.c   |   11 ++--
 arch/powerpc/kernel/rtas_flash.c   |2 +-
 arch/powerpc/kvm/bookehv_interrupts.S  |   77 
 drivers/video/aty/radeon_monitor.c |   35 +++
 8 files changed, 128 insertions(+), 124 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-07-10 Thread Benjamin Herrenschmidt
Hi Linus !

It looks like my rewrite of our lazy irq scheme is still exposing
interesting issues left and right. The previous fixes are now
causing an occasional BUG_ON to trigger (which this patch turns
into a WARN_ON while at it), due to another issue of disconnect
of the lazy irq state vs. the processor state in the idle loop
on pseries and cell.

This should fix it properly once for all moving the nasty code to a common
helper function.

There's also couple more fixes for some debug stuff that didn't build
(and helped resolving those problems so it's worth having), along with
a compile fix for newer gcc's.

Cheers,
Ben.

The following changes since commit 2437fccfbfc83bcb868ccc7fdfe2b5310bf07835:

  Merge tag 'regulator-3.5' of 
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator (2012-07-09 
13:43:02 -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 50fb31cfed9218b439360caf7c0399b00042da15:

  tty/hvc_opal: Fix debug function name (2012-07-10 19:16:25 +1000)


Benjamin Herrenschmidt (4):
  powerpc: More fixes for lazy IRQ vs. idle
  powerpc: Fix build of some debug irq code
  powerpc/numa: Avoid stupid uninitialized warning from gcc
  tty/hvc_opal: Fix debug function name

 arch/powerpc/include/asm/hw_irq.h   |6 ++-
 arch/powerpc/kernel/irq.c   |   48 ++-
 arch/powerpc/mm/numa.c  |2 +-
 arch/powerpc/platforms/cell/pervasive.c |   11 +++---
 arch/powerpc/platforms/pseries/processor_idle.c |   17 
 drivers/tty/hvc/hvc_opal.c  |2 +-
 6 files changed, 69 insertions(+), 17 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-07-10 Thread roger blofeld
--- On Mon, 7/2/12, Benjamin Herrenschmidt b...@kernel.crashing.org wrote:

 From: Benjamin Herrenschmidt b...@kernel.crashing.org
 Subject: Re: [git pull] Please pull powerpc.git merge branch
 To: Gerhard Pircher gerhard_pirc...@gmx.net
 Cc: linuxppc-dev list linuxppc-...@ozlabs.org
 Date: Monday, July 2, 2012, 3:20 PM
 On Mon, 2012-07-02 at 23:38 +0200,
 Gerhard Pircher wrote:
  
  What about this fix:?
  
  http://patchwork.ozlabs.org/patch/166346/
  
  At least I can't see it in the log...
 
 The module fix went in. The ftrace patch, well, it's
 untested and we
 don't even know if we have a problem with mcount yet, so no,
 I haven't
 merged it yet.
 
 Cheers,
 Ben.
 
 

I have had a chance to test this patch. Before it is applied I get the 
following message when loading a module:

Not a trampoline
[ cut here ]
WARNING: at /src/git/linux-powerpc/kernel/trace/ftrace.c:1583
Modules linked in: gpio_w1_transport(O+)
NIP: c008129c LR: c0082138 CTR: c021d744
REGS: c532dd80 TRAP: 0700   Tainted: G   O  (3.4.3-2-g23fc8c3)
MSR: 00029032 EE,ME,IR,DR,RI  CR: 22082282  XER: 2000
TASK = c5256900[363] 'insmod' THREAD: c532c000
GPR00: 0001 c532de30 c5256900 ffea c907b008  c046befc 20747261
GPR08: c046be40 c045c862 8000  22082224 10019fdc  100f
GPR16: 100f5678 100dc70c  eac3ec00  c0011bb0 c046890c 
GPR24: c907b008 c70d8f80 c0443d0c  c5338000 000c c907b008 c049a910
NIP [c008129c] ftrace_bug+0xc0/0x25c
LR [c0082138] ftrace_process_locs+0x47c/0x608
Call Trace:
[c532de30] [c008fe04] ftrace_now+0x38/0x78 (unreliable)
[c532de50] [c0082138] ftrace_process_locs+0x47c/0x608
[c532dea0] [c008232c] ftrace_module_notify+0x68/0x7c
[c532deb0] [c004cd80] notifier_call_chain+0x90/0xe0
[c532dee0] [c004d27c] __blocking_notifier_call_chain+0x68/0x94
[c532df10] [c004d2cc] blocking_notifier_call_chain+0x24/0x34
[c532df20] [c0073b38] sys_init_module+0xa0/0x1e0
[c532df40] [c0011254] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff5d694
LR = 0x1cd4
Instruction dump:
90090008 48294b71 3c60c03c 7fc4f378 7fc5f378 3863874c 48294b5d 48000188
3d20c046 3929c862 88090003 6801 0f00 2f80 409e0148 3d20c001
---[ end trace aaa9b56024f9d2b9 ]---
ftrace failed to modify [c907b008] gpio_w1_reset_bus+0x8/0xc0 
[gpio_w1_transport]
 actual: 48:00:04:99

and the trace file dump results in:

# tracer: nop
#
# WARNING: FUNCTION TRACING IS CORRUPTED
#  MAY BE MISSING FUNCTION EVENTS
# entries-in-buffer/entries-written: 0/0   #P:1
#
#  _-= irqs-off
# / _= need-resched
#| / _---= hardirq/softirq
#|| / _--= preempt-depth
#||| / delay
#   TASK-PID   CPU#  TIMESTAMP  FUNCTION
#  | |   |      | |


after the patch is applied I get no messages on module loading and ftrace no 
longer complains, and I can trace my module's functions.

So I can add

Tested-By: Roger Blofeld blofel...@yahoo.com

-rb
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-07-02 Thread Gerhard Pircher

 Original-Nachricht 
 Datum: Mon, 02 Jul 2012 14:57:39 +1000
 Von: Benjamin Herrenschmidt b...@kernel.crashing.org
 An: Linus Torvalds torva...@linux-foundation.org
 CC: linuxppc-dev list linuxppc-...@ozlabs.org, Andrew Morton 
 a...@linux-foundation.org, Linux Kernel list linux-ker...@vger.kernel.org
 Betreff: [git pull] Please pull powerpc.git merge branch

 Hi Linus 
 
 Here are two more fixes that I missed when scrubbing patchwork last
 week which are worth still having in 3.5.

What about this fix:?

http://patchwork.ozlabs.org/patch/166346/

At least I can't see it in the log...

br,
Gerhard
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-07-02 Thread Benjamin Herrenschmidt
On Mon, 2012-07-02 at 23:38 +0200, Gerhard Pircher wrote:
 
 What about this fix:?
 
 http://patchwork.ozlabs.org/patch/166346/
 
 At least I can't see it in the log...

The module fix went in. The ftrace patch, well, it's untested and we
don't even know if we have a problem with mcount yet, so no, I haven't
merged it yet.

Cheers,
Ben.


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-07-01 Thread Michael Neuling
 Here are a few powerpc fixes. Arguably some of this should have come to
 you earlier but I'm only just catching up after my medical leave.
 
 Mostly these fixes regressions, a couple are long standing bugs.

Benh,

This should probably go up now too:

  http://patchwork.ozlabs.org/patch/167270/

Do you want me to send it separate from that series?

Mikey
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-07-01 Thread Benjamin Herrenschmidt
On Sun, 2012-07-01 at 20:50 +1000, Michael Neuling wrote:
  Here are a few powerpc fixes. Arguably some of this should have come to
  you earlier but I'm only just catching up after my medical leave.
  
  Mostly these fixes regressions, a couple are long standing bugs.
 
 Benh,
 
 This should probably go up now too:
 
   http://patchwork.ozlabs.org/patch/167270/
 
 Do you want me to send it separate from that series?

Looks like it needs to go to -stable all the way down to 3.2... I'll
send it tomorrow with the appropriate tags.

Cheers,
Ben.


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-07-01 Thread Benjamin Herrenschmidt
Hi Linus 

Here are two more fixes that I missed when scrubbing patchwork last
week which are worth still having in 3.5.

Cheers,
Ben.

The following changes since commit bc6dc752f35488160ffac07ae91bed1bddaea32a:

  powerpc/pseries: Fix software invalidate TCE (2012-06-29 14:35:37 +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 2f584a146a2965b82fce89b8d2f95dc5cfe468d0:

  powerpc/kvm: sldi should be sld (2012-07-02 14:30:12 +1000)


Anton Blanchard (1):
  powerpc/xmon: Use cpumask iterator to avoid warning

Michael Neuling (1):
  powerpc/kvm: sldi should be sld

 arch/powerpc/kvm/book3s_hv_rmhandlers.S |2 +-
 arch/powerpc/xmon/xmon.c|2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-06-29 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a few powerpc fixes. Arguably some of this should have come to
you earlier but I'm only just catching up after my medical leave.

Mostly these fixes regressions, a couple are long standing bugs.

Cheers,
Ben.

The following changes since commit 9acc7bde23ebb19a704395f76490685e1513e422:

  Merge tag 'hwmon-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging (2012-06-28 
12:38:51 -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 bc6dc752f35488160ffac07ae91bed1bddaea32a:

  powerpc/pseries: Fix software invalidate TCE (2012-06-29 14:35:37 +1000)


Anton Blanchard (1):
  powerpc: check_and_cede_processor() never cedes

Li Zhong (1):
  powerpc: Fix Section mismatch warnings in prom_init.c

Michael Ellerman (1):
  powerpc: Fix BPF_JIT code to link with multiple TOCs

Michael Neuling (2):
  powerpc: Fix uninitialised error in numa.c
  powerpc/pseries: Fix software invalidate TCE

Steven Rostedt (1):
  powerpc/ftrace: Do not trace restore_interrupts()

Tiejun Chen (1):
  ppc64: fix missing to check all bits of _TIF_USER_WORK_MASK in preempt

 arch/powerpc/include/asm/hw_irq.h   |5 ++
 arch/powerpc/kernel/entry_64.S  |   97 ++-
 arch/powerpc/kernel/irq.c   |2 +-
 arch/powerpc/kernel/prom_init.c |4 +-
 arch/powerpc/mm/numa.c  |2 +-
 arch/powerpc/net/bpf_jit_64.S   |2 +
 arch/powerpc/platforms/pseries/iommu.c  |4 +-
 arch/powerpc/platforms/pseries/processor_idle.c |2 +-
 8 files changed, 54 insertions(+), 64 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-05-11 Thread Benjamin Herrenschmidt
Hi Linus !

It looks like my previous fix for the lazy irq masking problem wasn't
quite enough. There was another problem related to performance monitor
interrupts acting as NMIs leaving the flags in an incorrect state.
Here's a fix that finally seems to make perf solid again.

The following changes since commit 4e25651b70b8d6ded7229ead8181619e121b648d:

  Merge branch 'for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu (2012-05-11 
09:28:35 -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 7c0482e3d055e5de056d3c693b821e39205b99ae:

  powerpc/irq: Fix another case of lazy IRQ state getting out of sync 
(2012-05-12 09:40:41 +1000)


Benjamin Herrenschmidt (1):
  powerpc/irq: Fix another case of lazy IRQ state getting out of sync

 arch/powerpc/kernel/entry_64.S |   44 
 arch/powerpc/kernel/irq.c  |   13 
 2 files changed, 44 insertions(+), 13 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-05-08 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a couple of last minute fixes for 3.4 for regressions
introduced by my rewrite of the lazy irq masking code.

Cheers,
Ben.

The following changes since commit 810b4de25e53459323ff48957b0162b48d6cbd57:

  tty/serial/pmac_zilog: Fix nobody cared IRQ message (2012-04-30 10:59:58 
+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 a3512b2dd57cb653bb33645ca9c934436e547e3c:

  powerpc/irq: Make alignment  program interrupt behave the same (2012-05-09 
09:42:33 +1000)


Benjamin Herrenschmidt (2):
  powerpc/irq: Fix bug with new lazy IRQ handling code
  powerpc/irq: Make alignment  program interrupt behave the same

 arch/powerpc/include/asm/exception-64s.h |7 ---
 arch/powerpc/kernel/entry_64.S   |   18 --
 arch/powerpc/kernel/exceptions-64s.S |2 +-
 arch/powerpc/kernel/irq.c|8 +++-
 arch/powerpc/kernel/traps.c  |   10 --
 5 files changed, 16 insertions(+), 29 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[git pull] Please pull powerpc.git merge branch

2012-04-29 Thread Benjamin Herrenschmidt
Hi Linus !

Here are a handful more fixes for powerpc. The irq stuff are all
regression fixes, and Gavin's patch is a simple compile fix.

Cheers,
Ben.

The following changes since commit 69964ea4c7b68c9399f7977aa5b9aa6539a6a98a:

  Linux 3.4-rc5 (2012-04-29 15:19:10 -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 810b4de25e53459323ff48957b0162b48d6cbd57:

  tty/serial/pmac_zilog: Fix nobody cared IRQ message (2012-04-30 10:59:58 
+1000)


Gavin Shan (1):
  powerpc/pseries: Rivet CONFIG_EEH for pSeries platform

Grant Likely (2):
  powerpc/8xx: Fix NR_IRQ bugs and refactor 8xx interrupt controller
  powerpc/irqdomain: Fix broken NR_IRQ references

Larry Finger (1):
  tty/serial/pmac_zilog: Fix nobody cared IRQ message

 arch/powerpc/include/asm/irq.h   |4 --
 arch/powerpc/kernel/irq.c|6 +--
 arch/powerpc/kernel/machine_kexec.c  |7 +--
 arch/powerpc/platforms/cell/axon_msi.c   |8 ++--
 arch/powerpc/platforms/cell/beat_interrupt.c |2 +-
 arch/powerpc/platforms/powermac/pic.c|6 +--
 arch/powerpc/platforms/pseries/Kconfig   |4 +-
 arch/powerpc/sysdev/cpm2_pic.c   |3 +-
 arch/powerpc/sysdev/mpc8xx_pic.c |   61 +-
 arch/powerpc/sysdev/xics/xics-common.c   |7 ++-
 drivers/tty/serial/pmac_zilog.c  |6 +--
 11 files changed, 39 insertions(+), 75 deletions(-)


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


  1   2   3   4   >