Unverified Commit f7990942 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!191 roh/core: Add ROH device driver

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: default avatarLing Mingqiang <lingmingqiang@huawei.com>
Signed-off-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parents 33e7f3b4 bffd678d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment