1. 28 10月, 2022 1 次提交
    • O
      !191 roh/core: Add ROH device driver · f7990942
      openeuler-ci-bot 提交于
      Merge Pull Request from: @zhengzengkai 
       
      ```
      [Description]​
      The ROH module driver consists of the ROH Core and ROH DRV
      modules, which work with hardware to implement communication
      between nodes through HCCS packets.
      ROH Core is a protocol stack of the ROH architecture. It provides
      related services for upper layers by invoking operation interfaces
      provided by the ROH DRV.
      The ROH DRV implements the lower layer functions of the ROH
      featureand provides a series of interfaces for operating hardware
      for the ROH Core. 
      
      This patch adds ROH device driver support, including:
      1. ROH Core initialization
      2. Provide roh device registration framework.
      3. etc
      
      [Testing]
      kernel options:
      CONFIG_ROH=m
      
      Test passed with below step:
      1. load the roh_core.ko
      # insmod roh_core.ko
      2. There is no error when roh_core.ko is loaded,
      confirm that ko is loaded normally:
      # lsmod | grep roh_core
      roh_core 24576 0 - Live 0xffff800008f07000
      3. View the sysfs file and confirm that the roh
      directory has been generated:
      # ls /sys/class/ | grep roh
      roh
      4.Uninstall roh_core.ko without any errors
      ```
       
       
      Link:https://gitee.com/openeuler/kernel/pulls/191 
      Reviewed-by: Ling Mingqiang <lingmingqiang@huawei.com> 
      Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> 
      f7990942
  2. 27 10月, 2022 39 次提交