linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [git pull] Please pull powerpc.git next branch
Date: Thu, 14 Aug 2014 16:16:17 +1000	[thread overview]
Message-ID: <1407996977.5490.56.camel@pasglop> (raw)

Hi Linus !

Here are some more powerpc bits for 3.17, essentially fixes.

The biggest series, also aimed at -stable, is from Aneesh and is the result
of weeks and weeks of debugging to find out why the heck or THP implementation
was occasionally triggering multi-hit errors in our level 1 TLB. It ended up
being a combination of issues including subtleties as to how we should
invalidate those special 'MPSS' pages we use to allow the use of 16M pages
inside 4K/64K "base page size" segments (you really have to love our MMU !)

Another interesting one in the "OMG" category is the series from Michael
adding memory barriers to spin_is_locked(). That's also the result of many
days of debugging to figure out why the semaphore code would occasionally
crash in ways that made no sense. It ended up being some creative lock
stacking that was defeated by the fact that our locks allow a load inside
the locked section to be re-ordered with the load of the lock value itself
(I'm still of two mind about whether to kill that once and for all by putting
a heavier barrier back into our lock implementation...). The fixes come with
a long explanation in the cset comments, feel free to read it if you feel
like having a headache today.

Cheers,
Ben.

The following changes since commit 58d08e3b2c2033354b91467da33deffa06360c28:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/chrome-platform (2014-08-10 11:13:58 -0700)

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 9e813308a5c18c58f9ccae1ec72ed4e14eaf9025:

  powerpc/thp: Add tracepoints to track hugepage invalidate (2014-08-13 18:20:42 +1000)

----------------------------------------------------------------
Alistair Popple (1):
      powerpc/ppc476: Disable BTAC

Aneesh Kumar K.V (8):
      powerpc/thp: Add write barrier after updating the valid bit
      powerpc/thp: Don't recompute vsid and ssize in loop on invalidate
      powerpc/thp: Invalidate old 64K based hash page mapping before insert of 4k pte
      powerpc/thp: Handle combo pages in invalidate
      powerpc/thp: Invalidate with vpn in loop
      powerpc/thp: Use ACCESS_ONCE when loading pmdp
      powerpc/mm: Use read barrier when creating real_pte
      powerpc/thp: Add tracepoints to track hugepage invalidate

Anton Blanchard (1):
      powerpc: Hard disable interrupts in xmon

Benjamin Herrenschmidt (1):
      powerpc/boot: Use correct zlib types for comparison

Gavin Shan (3):
      powerpc/powernv: Fix IOMMU group lost
      powerpc/pseries: Failure on removing device node
      powerpc/pseries: Avoid deadlock on removing ddw

Guenter Roeck (1):
      powerpc: Fix "attempt to move .org backwards" error

Himangi Saraogi (1):
      powerpc/perf/hv-24x7: Use kmem_cache_free

Michael Ellerman (3):
      powerpc: Add smp_mb() to arch_spin_is_locked()
      powerpc: Add smp_mb()s to arch_spin_unlock_wait()
      powerpc: Add POWER8 features to CPU_FTRS_POSSIBLE/ALWAYS

Nishanth Aravamudan (2):
      powerpc: remove duplicate definition of TEXASR_FS
      powerpc: reorder per-cpu NUMA information's initialization

Scott Wood (1):
      powerpc/nohash: Split __early_init_mmu() into boot and secondary

Thomas Falcon (1):
      powerpc/pseries/hvcserver: Fix endian issue in hvcs_get_partner_info

Vasant Hegde (2):
      printk: Add function to return log buffer address and size
      powerpc/powernv: Interface to register/unregister opal dump region

 arch/powerpc/boot/gunzip_util.c                 |   4 +-
 arch/powerpc/include/asm/cputable.h             |   6 +-
 arch/powerpc/include/asm/machdep.h              |   6 +-
 arch/powerpc/include/asm/opal.h                 |  11 +++
 arch/powerpc/include/asm/pgtable-ppc64.h        |   2 +-
 arch/powerpc/include/asm/pte-hash64-64k.h       |  30 +++++--
 arch/powerpc/include/asm/reg.h                  |   3 +-
 arch/powerpc/include/asm/spinlock.h             |   1 +
 arch/powerpc/kernel/exceptions-64s.S            | 110 +++++++++++------------
 arch/powerpc/kernel/head_44x.S                  |   4 +-
 arch/powerpc/kernel/iommu.c                     |  38 ++++----
 arch/powerpc/kernel/smp.c                       |  11 ++-
 arch/powerpc/lib/locks.c                        |   4 +
 arch/powerpc/mm/hash_native_64.c                |  40 +++------
 arch/powerpc/mm/hugepage-hash64.c               |  88 ++++++++++++++++---
 arch/powerpc/mm/numa.c                          |  13 ++-
 arch/powerpc/mm/pgtable_64.c                    |  44 ++++++----
 arch/powerpc/mm/tlb_hash64.c                    |   6 +-
 arch/powerpc/mm/tlb_nohash.c                    | 111 ++++++++++++++----------
 arch/powerpc/perf/hv-24x7.c                     |   2 +-
 arch/powerpc/platforms/powernv/opal-wrappers.S  |   2 +
 arch/powerpc/platforms/powernv/opal.c           |  23 +++++
 arch/powerpc/platforms/powernv/pci-ioda.c       |   2 +-
 arch/powerpc/platforms/pseries/hotplug-memory.c |   2 +-
 arch/powerpc/platforms/pseries/hvcserver.c      |   4 +-
 arch/powerpc/platforms/pseries/iommu.c          |  20 +++--
 arch/powerpc/platforms/pseries/lpar.c           |  20 ++---
 arch/powerpc/xmon/xmon.c                        |   3 +
 include/linux/printk.h                          |   3 +
 include/trace/events/thp.h                      |  88 +++++++++++++++++++
 kernel/printk/printk.c                          |  12 +++
 31 files changed, 490 insertions(+), 223 deletions(-)
 create mode 100644 include/trace/events/thp.h



             reply	other threads:[~2014-08-14  6:16 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14  6:16 Benjamin Herrenschmidt [this message]
2014-08-14  6:18 ` [git pull] Please pull powerpc.git next branch Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2014-08-07  5:08 Benjamin Herrenschmidt
2014-06-13  0:55 Benjamin Herrenschmidt
2014-06-13  0:56 ` Benjamin Herrenschmidt
2014-06-07  4:34 Benjamin Herrenschmidt
2014-04-01 23:34 Benjamin Herrenschmidt
2014-01-30  2:55 Benjamin Herrenschmidt
2014-01-28  4:35 Benjamin Herrenschmidt
2014-01-28  9:16 ` Olaf Hering
2014-01-28 15:03   ` Olaf Hering
2014-01-28 20:19     ` Benjamin Herrenschmidt
     [not found]       ` <4555187.D5eRSF5r8x@mexican>
2014-01-29  8:41         ` Olaf Hering
2014-02-03  3:00         ` Michael Ellerman
2013-11-12  0:31 Benjamin Herrenschmidt
2013-09-06  2:24 Benjamin Herrenschmidt
2013-09-06 17:56 ` Linus Torvalds
2013-09-07  7:12   ` Benjamin Herrenschmidt
2013-07-03 22:43 Benjamin Herrenschmidt
2013-05-02  7:35 Benjamin Herrenschmidt
2013-02-23 17:45 Benjamin Herrenschmidt
2012-12-14 20:44 Benjamin Herrenschmidt
2012-12-16 22:24 ` Benjamin Herrenschmidt
2012-12-17  8:30 ` Anatolij Gustschin
2012-12-17 10:06   ` Benjamin Herrenschmidt
2012-12-17 10:15     ` Anatolij Gustschin
2012-12-17 23:31 ` Benjamin Herrenschmidt
2012-12-18 18:02   ` Linus Torvalds
2012-12-19 23:10     ` Benjamin Herrenschmidt
2012-07-23  4:46 Benjamin Herrenschmidt
2012-05-23  3:40 Benjamin Herrenschmidt
2012-03-28  3:31 Benjamin Herrenschmidt
2012-03-22  0:46 Benjamin Herrenschmidt
2012-03-22  2:02 ` Linus Torvalds
2012-03-22  2:44   ` Benjamin Herrenschmidt
2012-03-22  3:01   ` Tony Breeds
2012-03-22  4:13   ` Kyle Moffett
2012-03-22  5:33   ` Benjamin Herrenschmidt
2012-01-06  3:42 Benjamin Herrenschmidt
2011-11-06 23:35 Benjamin Herrenschmidt
2011-07-26  4:17 Benjamin Herrenschmidt
2011-03-18  5:44 Benjamin Herrenschmidt
2011-03-18 13:34 ` Linus Torvalds
2011-03-18 21:48   ` Benjamin Herrenschmidt
2010-10-22  3:51 Benjamin Herrenschmidt
2010-10-22  4:23 ` Linus Torvalds
2010-08-09  4:11 Benjamin Herrenschmidt
2010-08-09  4:39 ` Benjamin Herrenschmidt
2010-08-09  5:18 ` Grant Likely
2010-08-09 11:25   ` Benjamin Herrenschmidt
2018-06-19 22:58 ` Linus Torvalds
2018-06-20  0:02   ` Benjamin Herrenschmidt
2018-06-20 10:31     ` Jiri Kosina
2010-08-05  1:46 Benjamin Herrenschmidt
2010-06-15  6:29 Benjamin Herrenschmidt
2010-05-21  9:11 Benjamin Herrenschmidt
2010-05-21 13:04 ` Wolfram Sang
2010-05-21 22:38   ` Benjamin Herrenschmidt
2010-02-27  3:56 Benjamin Herrenschmidt
2009-12-12 21:51 Benjamin Herrenschmidt
2009-09-11  7:17 Benjamin Herrenschmidt
2009-09-15  7:30 ` Benjamin Herrenschmidt
2009-09-15 16:53   ` Linus Torvalds
2009-09-15 21:51     ` Benjamin Herrenschmidt
2009-09-15 22:29       ` Michel Dänzer
2009-01-08  5:39 Benjamin Herrenschmidt
2008-12-29  0:05 Paul Mackerras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407996977.5490.56.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).