1. 25 11月, 2022 18 次提交
  2. 23 11月, 2022 2 次提交
  3. 22 11月, 2022 2 次提交
    • O
      !225 Synchronize the coresight code of the Linux mainline to support HiSilicon tracing · fc4cda52
      openeuler-ci-bot 提交于
      Merge Pull Request from: @hejunhao3 
       
      
      ```
      Synchronize the coresight code of the Linux mainline to support HiSilicon tracing
      
      [Testing]
      kernel config
      CONFIG_CORESIGHT_LINK_AND_SINK_TMC=m
      CONFIG_CORESIGHT_TRBE=m
      
      [test log]
      insmod coresight.ko coresight-etm4x.ko coresight-funnel.ko coresight-tmc.ko
      estuary:/$ ls /sys/bus/coresight/devices/
      ete0      ete12     ete2      ete6      funnel0   tmc_etf0  tmc_etr0
      ete1      ete13     ete3      ete7      funnel1   tmc_etf1
      ete10     ete14     ete4      ete8      funnel2   tmc_etf2
      ete11     ete15     ete5      ete9      funnel3   tmc_etf3
      estuary:/$ echo 1 > /sys/bus/coresight/devices/tmc_etr0/enable_sink
      estuary:/$ echo 1 > /sys/bus/coresight/devices/ete3/enable_source
      estuary:/$ cat /sys/bus/coresight/devices/tmc_etr0/mgmt/rwp
      0x79100000
      estuary:/$ cat /sys/bus/coresight/devices/tmc_etr0/mgmt/rwp
      0x79106e00
      estuary:/$ echo 0 > /sys/bus/coresight/devices/ete3/enable_source
      estuary:/$ insmod /lib/modules/5.10.0+/ram_blk_drv.ko p_addr=0x79100000 p_size=0x3000
      estuary:/$ dd if=/dev/ramblock  of=sys_c1_range.data bs=4k count=48
      3+0 records in
      3+0 records out
      12288 bytes (12.0KB) copied, 0.028941 seconds, 414.6KB/s
      estuary:/$ ptm2human -e -i sys_c1_range.data >sys_c1_range.data.log 2>&1
      estuary:/$ grep sys_c1_range.data.log | "Decode trace stream of ID"
      [22;1HDecode trace stream of ID 21
      estuary:/$ 
      estuary:/$ perf record -e /cs_etm/@tmc_etr0/ -C 7 taskset -c 7 uname -a
      Linux (none) 5.10.0+ #3 SMP Thu Oct 27 14:51:05 CST 2022 aarch64 GNU/Linux
      [ 2900.563565][  T306] coresight tmc_etr0: timeout while waiting for completion of Manual Flush
      [ perf record: Woken up 1 times to write data ]
      [ perf record: Captured and wrote 0.588 MB perf.data ]
      estuary:/$ perf report --stdio -D > report.txt
      estuary:/$ grep -rn "I_ASYNC : Alignment Synchronisation" report.txt
      4244:	Idx:0; ID:1e;	I_ASYNC : Alignment Synchronisation.
      6913:	Idx:4429; ID:1e;	I_ASYNC : Alignment Synchronisation.
      9279:	Idx:8833; ID:1e;	I_ASYNC : Alignment Synchronisation.
      ```
       
       
      Link:https://gitee.com/openeuler/kernel/pulls/225 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Reviewed-by: Ling Mingqiang <lingmingqiang@huawei.com> 
      Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      fc4cda52
    • O
      !257 [5.10] [Feature] :add net-swift ngbe NIC support · c3bcf4fc
      openeuler-ci-bot 提交于
      Merge Pull Request from: @duanqiangwen 
       
      This PR is t add Beijing WangXun Technology Co. net-swift ngbe NIC support.
      
      Issue:https://gitee.com/openeuler/kernel/issues/I61PSD
      
      Hardware List:
      Netswift WX1860AL_W 8088:0100[VID:DID]
      Netswift WX1860A2 8088:0101[VID:DID]
      Netswift WX1860A2S 8088:0102[VID:DID]
      Netswift WX1860A4 8088:0103[VID:DID]
      Netswift WX1860A4S 8088:0104[VID:DID]
      Netswift WX1860AL2 8088:0105[VID:DID]
      Netswift WX1860AL2S 8088:0106[VID:DID]
      Netswift WX1860AL4 8088:0107[VID:DID]
      Netswift WX1860AL4S 8088:0108[VID:DID]
      Netswift WX1860NCSI 8088:0109[VID:DID]
      Netswift WX1860A1 8088:010a[VID:DID]
      Netswift WX1860AL1 8088:010b[VID:DID]
      
      Supported Features:
          - Support 10/100/1000M full and Autoneg.
          - Support Legacy/MSI/MSI-X interrupt.
          - Support ipv4/ipv6, Support promisc mode.
          - Support RSS.
          - Support Vlan.
          - Support Tx/Rx checksum offload.
          - Support TSO.
          - Support Jumbo Frames.
          - Support IEEE 1588.
          - Support Linux bond.
          - Support L2 Filter.
      
      Net-Swift Official Website:
      https://www.net-swift.com
      ngbe Out-of-Tree Linux Driver Source Code:
      Click https://www.net-swift.com/p/contact to contact us.
       
       
      Link:https://gitee.com/openeuler/kernel/pulls/257 
      Reviewed-by: Yue Haibing <yuehaibing@huawei.com> 
      Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com> 
      Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> 
      c3bcf4fc
  4. 21 11月, 2022 2 次提交
  5. 18 11月, 2022 16 次提交