Commit 95c71322 authored by Yizhen Fan's avatar Yizhen Fan Committed by fanyizhen1995
Browse files

ub: init ubcore module



driver inclusion
category: feature
bugzilla: NA
CVE: NA

--------------------------------

Init ubcore module, including module init and exit, config uasid and eid,
which represent the parts of UB virtual address (UBVA).

UBVA: | --- eid ---  | --- uasid --- | --- va --- |

Eid: This is used for routing in UB fabric or domain,
assigned by controllers or BIOS/OS
Uasid: This is used for distinguishing address domains, assigned by UMDK
Va: used for visiting address, assigned by UMDK/OS

Description of ubcore module:

Ubcore is the core of UB framework, including device registration
and link establishment management.
The ubcore module connects to different UBEP devices
and connects to different transaction sets (client of ubcore).
It provides IOCTL interfaces for upper-layer UB providers,
checks parameters of IOCTL interfaces, executes commands,
and returns execution results.

Signed-off-by: default avatarGuoxin Qian <qianguoxin@huawei.com>
Signed-off-by: default avatarYizhen Fan <fanyizhen@huawei.com>
parent 53032b02
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6196,6 +6196,7 @@ CONFIG_TEE=m
# CONFIG_MOST is not set
CONFIG_ROH=m
CONFIG_ROH_HNS=m
CONFIG_UB=m
# end of Device Drivers

#
+2 −0
Original line number Diff line number Diff line
@@ -240,4 +240,6 @@ source "drivers/most/Kconfig"

source "drivers/roh/Kconfig"

source "drivers/ub/Kconfig"

endmenu
+1 −0
Original line number Diff line number Diff line
@@ -192,3 +192,4 @@ obj-$(CONFIG_INTERCONNECT) += interconnect/
obj-$(CONFIG_COUNTER)		+= counter/
obj-$(CONFIG_MOST)		+= most/
obj-$(CONFIG_ROH)		+= roh/
obj-$(CONFIG_UB)      += ub/

drivers/ub/Kconfig

0 → 100644
+8 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

menuconfig UB
	tristate "Unified Bus (UB) support"
	default m
	help
	  Core support for Unified Bus (UB).
	  To compile UB core as module, choose M here.

drivers/ub/Makefile

0 → 100644
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the Linux kernel UB device drivers.
#

obj-$(CONFIG_UB)		+= urma/
Loading