~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/pci/pcitest.sh

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/pci/pcitest.sh (Version linux-6.11.5) and /tools/pci/pcitest.sh (Version linux-4.17.19)


  1 #!/bin/sh                                           1 #!/bin/sh
  2 # SPDX-License-Identifier: GPL-2.0                  2 # SPDX-License-Identifier: GPL-2.0
  3                                                     3 
  4 echo "BAR tests"                                    4 echo "BAR tests"
  5 echo                                                5 echo
  6                                                     6 
  7 bar=0                                               7 bar=0
  8                                                     8 
  9 while [ $bar -lt 6 ]                                9 while [ $bar -lt 6 ]
 10 do                                                 10 do
 11         pcitest -b $bar                            11         pcitest -b $bar
 12         bar=`expr $bar + 1`                        12         bar=`expr $bar + 1`
 13 done                                               13 done
 14 echo                                               14 echo
 15                                                    15 
 16 echo "Interrupt tests"                             16 echo "Interrupt tests"
 17 echo                                               17 echo
 18                                                    18 
 19 pcitest -i 0                                   << 
 20 pcitest -l                                         19 pcitest -l
 21                                                << 
 22 pcitest -i 1                                   << 
 23 msi=1                                              20 msi=1
 24                                                    21 
 25 while [ $msi -lt 33 ]                              22 while [ $msi -lt 33 ]
 26 do                                                 23 do
 27         pcitest -m $msi                            24         pcitest -m $msi
 28         msi=`expr $msi + 1`                        25         msi=`expr $msi + 1`
 29 done                                               26 done
 30 echo                                               27 echo
 31                                                    28 
 32 pcitest -i 2                                   << 
 33 msix=1                                         << 
 34                                                << 
 35 while [ $msix -lt 2049 ]                       << 
 36 do                                             << 
 37         pcitest -x $msix                       << 
 38         msix=`expr $msix + 1`                  << 
 39 done                                           << 
 40 echo                                           << 
 41                                                << 
 42 echo "Read Tests"                                  29 echo "Read Tests"
 43 echo                                               30 echo
 44                                                << 
 45 pcitest -i 1                                   << 
 46                                                    31 
 47 pcitest -r -s 1                                    32 pcitest -r -s 1
 48 pcitest -r -s 1024                                 33 pcitest -r -s 1024
 49 pcitest -r -s 1025                                 34 pcitest -r -s 1025
 50 pcitest -r -s 1024000                              35 pcitest -r -s 1024000
 51 pcitest -r -s 1024001                              36 pcitest -r -s 1024001
 52 echo                                               37 echo
 53                                                    38 
 54 echo "Write Tests"                                 39 echo "Write Tests"
 55 echo                                               40 echo
 56                                                    41 
 57 pcitest -w -s 1                                    42 pcitest -w -s 1
 58 pcitest -w -s 1024                                 43 pcitest -w -s 1024
 59 pcitest -w -s 1025                                 44 pcitest -w -s 1025
 60 pcitest -w -s 1024000                              45 pcitest -w -s 1024000
 61 pcitest -w -s 1024001                              46 pcitest -w -s 1024001
 62 echo                                               47 echo
 63                                                    48 
 64 echo "Copy Tests"                                  49 echo "Copy Tests"
 65 echo                                               50 echo
 66                                                    51 
 67 pcitest -c -s 1                                    52 pcitest -c -s 1
 68 pcitest -c -s 1024                                 53 pcitest -c -s 1024
 69 pcitest -c -s 1025                                 54 pcitest -c -s 1025
 70 pcitest -c -s 1024000                              55 pcitest -c -s 1024000
 71 pcitest -c -s 1024001                              56 pcitest -c -s 1024001
 72 echo                                               57 echo
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php