1. 01 11月, 2017 1 次提交
    • L
      tile: pass machine size to sparse · ea82daf4
      Luc Van Oostenryck 提交于
      By default, sparse assumes a 64bit machine when compiled on x86-64
      and 32bit when compiled on anything else.
      
      This can of course create all sort of problems, like issuing false
      warnings like: 'constant ... is so big it is unsigned long long'
      or 'shift too big (32) for type unsigned long' when the architecture
      is 64bit while sparse was compiled on a 32bit machine, or worse,
      to not emit legitimate warnings in the reverse situation.
      
      Fix this by passing to sparse the appropriate -m32/-m64 flag.
      
      To: Chris Metcalf <cmetcalf@mellanox.com>
      Signed-off-by: NLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
      Signed-off-by: NChris Metcalf <cmetcalf@mellanox.com>
      ea82daf4
  2. 04 9月, 2013 1 次提交
  3. 23 10月, 2012 1 次提交
    • C
      arch/tile: avoid generating .eh_frame information in modules · 627072b0
      Chris Metcalf 提交于
      The tile tool chain uses the .eh_frame information for backtracing.
      The vmlinux build drops any .eh_frame sections at link time, but when
      present in kernel modules, it causes a module load failure due to the
      presence of unsupported pc-relative relocations.  When compiling to
      use compiler feedback support, the compiler by default omits .eh_frame
      information, so we don't see this problem.  But when not using feedback,
      we need to explicitly suppress the .eh_frame.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      Cc: stable@vger.kernel.org
      627072b0
  4. 12 7月, 2012 1 次提交
    • C
      arch/tile: introduce GXIO IORPC framework for tilegx · 37b82b5d
      Chris Metcalf 提交于
      The GXIO I/O RPC subsystem handles exporting I/O hardware resources to
      Linux and to applications running under Linux.
      
      For instance, memory which is made available for I/O DMA must be mapped
      by an I/O TLB; that means that such memory must be locked down by Linux,
      so that it is not swapped or otherwise reused, as long as those I/O
      TLB entries are active. Similarly, configuring direct hardware access
      introduces new validation requirements. If a user application registers
      memory, Linux must ensure that the supplied virtual addresses are valid,
      and turn them into client physical addresses. Similarly, when Linux then
      supplies those client physical addresses to the Tilera hypervisor, it
      must in turn validate those before turning them into the real physical
      addresses which are required by the hardware.
      
      To the extent that these sorts of activities were required on previous
      TILE architecture processors, they were implemented in a device-specific
      fashion. This meant that every I/O device had its own Tilera hypervisor
      driver, its own Linux driver, and in some cases its own user-level
      library support. There was a large amount of more-or-less functionally
      identical code in different places, particularly in the different Linux
      drivers. For TILE-Gx, this support has been generalized into a common
      framework, known as the I/O RPC framework or just IORPC.
      
      The two "gxio" directories (one for headers, one for sources) start
      with just a few files in each with this infrastructure commit, but
      after adding support for the on-board I/O shims for networking, PCI,
      USB, crypto, compression, I2CS, etc., there end up being about 20 files
      in each directory.
      
      More information on the IORPC framework is in the <hv/iorpc.h> header,
      included in this commit.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      37b82b5d
  5. 26 5月, 2012 1 次提交
  6. 03 4月, 2012 2 次提交
  7. 16 10月, 2010 1 次提交
  8. 15 10月, 2010 1 次提交
  9. 16 8月, 2010 1 次提交
  10. 05 6月, 2010 1 次提交