“628451af06bae483935a92d838185dff7fb3c644”上不存在“paddle/pten/tests/api/test_pten_tensor.cc”
  1. 09 6月, 2008 1 次提交
  2. 23 5月, 2008 1 次提交
    • M
      [POWERPC] Add debugging trigger to Axon MSI code · 72cac213
      Michael Ellerman 提交于
      This adds some debugging code to the Axon MSI driver.  It creates a
      file per MSIC in /sys/kernel/debug/powerpc, which allows the user to
      trigger a fake MSI interrupt by writing to the file.
      
      This can be used to test some of the MSI generation path.  In
      particular, that the MSIC recognises a write to the MSI address,
      generates an interrupt and writes the MSI packet into the ring buffer.
      
      All the code is inside #ifdef DEBUG so it causes no harm unless it's
      enabled.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      72cac213
  3. 24 4月, 2008 1 次提交
  4. 06 2月, 2008 3 次提交
  5. 16 10月, 2007 2 次提交
    • M
      Remove msic_dcr_read() in axon_msi.c · 2843e7f7
      Michael Ellerman 提交于
      msic_dcr_read() doesn't really do anything useful, just replace it with
      direct calls to dcr_read().
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      2843e7f7
    • M
      Add dcr_host_t.base in dcr_read()/dcr_write() · 83f34df4
      Michael Ellerman 提交于
      Now that all users of dcr_read()/dcr_write() add the dcr_host_t.base, we
      can save them the trouble and do it in dcr_read()/dcr_write().
      
      As some background to why we just went through all this jiggery-pokery,
      benh sayeth:
      
       Initially the goal of the dcr_read/dcr_write routines was to operate like
       mfdcr/mtdcr which take absolute DCR numbers. The reason is that on 4xx
       hardware, indirect DCR access is a pain (goes through a table of
       instructions) and it's useful to have the compiler resolve an absolute DCR
       inline.
      
       We decided that wasn't worth the API bastardisation since most places
       where absolute DCR values are used are low level 4xx-only code which may
       as well continue using mfdcr/mtdcr, while the new API is designed for
       device "instances" that can exist on 4xx and Axon type platforms and may
       be located at variable DCR offsets.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      83f34df4
  6. 03 10月, 2007 2 次提交
  7. 13 9月, 2007 2 次提交
  8. 21 7月, 2007 1 次提交