1. 17 12月, 2016 1 次提交
    • C
      tile: use __ro_after_init instead of tile-specific __write_once · 14e73e78
      Chris Metcalf 提交于
      The semantics of the old tile __write_once are the same as the
      newer generic __ro_after_init, so rename them all and get rid
      of the tile-specific version.
      
      This does not enable actual support for __ro_after_init,
      which had been dropped from the tile architecture before the
      initial upstreaming was done, since we had at that time switched
      to using 16MB huge pages to map the kernel.
      Signed-off-by: NChris Metcalf <cmetcalf@mellanox.com>
      14e73e78
  2. 15 11月, 2016 1 次提交
  3. 04 9月, 2013 1 次提交
    • C
      tile: make __write_once a synonym for __read_mostly · ce61cdc2
      Chris Metcalf 提交于
      This was really only useful for TILE64 when we mapped the
      kernel data with small pages. Now we use a huge page and we
      really don't want to map different parts of the kernel
      data in different ways.
      
      We retain the __write_once name in case we want to bring
      it back to life at some point in the future.
      
      Note that this change uncovered a latent bug where the
      "smp_topology" variable happened to always be aligned mod 8
      so we could store two "int" values at once, but when we
      eliminated __write_once it ended up only aligned mod 4.
      Fix with an explicit annotation.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      ce61cdc2
  4. 19 7月, 2012 1 次提交
    • C
      tilegx pci: support I/O to arbitrarily-cached pages · bbaa22c3
      Chris Metcalf 提交于
      The tilegx PCI root complex support (currently only in linux-next)
      is limited to pages that are homed on cached in the default manner,
      i.e. "hash-for-home".  This change supports delivery of I/O data to
      pages that are cached in other ways (locally on a particular core,
      uncached, user-managed incoherent, etc.).
      
      A large part of the change is supporting flushing pages from cache
      on particular homes so that we can transition the data that we are
      delivering to or from the device appropriately.  The new homecache_finv*
      routines handle this.
      
      Some changes to page_table_range_init() were also required to make
      the fixmap code work correctly on tilegx; it hadn't been used there
      before.
      
      We also remove some stub mark_caches_evicted_*() routines that
      were just no-ops anyway.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      bbaa22c3
  5. 02 3月, 2011 1 次提交
  6. 15 8月, 2010 1 次提交
  7. 07 7月, 2010 3 次提交
  8. 05 6月, 2010 1 次提交