Is GTP5G supported in arm64?

I would like to deploy UPF on arm64 device, but fail to insmod gtp5g with error “Unable to handle kernel paging request at virtual address” using dmesg or “Segmentation fault” when “make install”:

[ 161.627572] gtp5g: loading out-of-tree module taints kernel.
[ 161.629943] [gtp5g] gtp5g_init: Gtp5g Module initialization Ver: 0.8.2
[ 161.629997] Unable to handle kernel paging request at virtual address 07b98a0000000414
[ 161.630700] Mem abort info:
[ 161.630952] ESR = 0x96000004
[ 161.631226] EC = 0x25: DABT (current EL), IL = 32 bits
[ 161.631741] SET = 0, FnV = 0
[ 161.632016] EA = 0, S1PTW = 0
[ 161.632300] Data abort info:
[ 161.632552] ISV = 0, ISS = 0x00000004
[ 161.632890] CM = 0, WnR = 0
[ 161.633153] [07b98a0000000414] address between user and kernel address ranges
[ 161.633776] Internal error: Oops: 96000004 [#1] SMP
[ 161.634201] Modules linked in: gtp5g(O+) xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype iptable_filter bcmdhd ahci_platform libahci_platform libahci dhd_static_buf libata scsi_mod ip_tables x_tables
[ 161.636413] CPU: 3 PID: 3988 Comm: modprobe Tainted: G O 5.10.160 #3
[ 161.637087] Hardware name: Firefly ITX-3588J MIPI(Linux) (DT)
[ 161.637589] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=–)
[ 161.638140] pc : gtp5g_net_init+0x20/0x40 [gtp5g]
[ 161.638557] lr : ops_init+0x44/0x14c
[ 161.638874] sp : ffffffc0108cba00
[ 161.639169] x29: ffffffc0108cba00 x28: 0000000000000013
[ 161.639640] x27: 0000000000000100 x26: ffffffc008145220
[ 161.640111] x25: ffffffc0017ac6c0 x24: ffffffc00a615440
[ 161.640581] x23: ffffffc00a6154e0 x22: ffffffc00a615640
[ 161.641052] x21: 0000000000000012 x20: ffffff8139943580
[ 161.641522] x19: ffffffc0017abaf8 x18: 0000000000000014
[ 161.641992] x17: 00000000fccd8d49 x16: 000000003a1aefd1
[ 161.642462] x15: 00000000471f86a7 x14: ffffff8103cdf500
[ 161.642932] x13: ffffff8101875000 x12: ffffff81013b7600
[ 161.643403] x11: ffffff81002be080 x10: ffffff8100cbd400
[ 161.643873] x9 : ffffffc009121fb8 x8 : ffffff812f0c6300
[ 161.644343] x7 : ffffff813b138000 x6 : ffffff84fde7ca98
[ 161.644814] x5 : ffffff84fde7cbb8 x4 : 0000000000000001
[ 161.645284] x3 : 0008000000000000 x2 : ffffffc4f4129000
[ 161.645754] x1 : 0000000000000012 x0 : 07b98a0000000384
[ 161.646224] Call trace:
[ 161.646459] gtp5g_net_init+0x20/0x40 [gtp5g]
[ 161.646842] ops_init+0x44/0x14c
[ 161.647128] register_pernet_operations+0xf4/0x21c
[ 161.647554] register_pernet_subsys+0x34/0x50
[ 161.647949] gtp5g_init+0x128/0x1000 [gtp5g]
[ 161.648334] do_one_initcall+0x60/0x26c
[ 161.648675] do_init_module+0x4c/0x254
[ 161.649003] load_module+0x2348/0x2a6c
[ 161.649332] __do_sys_finit_module+0xcc/0x130
[ 161.649715] __arm64_sys_finit_module+0x24/0x30
[ 161.650119] el0_svc_common.constprop.0+0x8c/0x230
[ 161.650545] do_el0_svc+0x20/0x30
[ 161.650842] el0_svc+0x1c/0x2c
[ 161.651116] el0_sync_handler+0xa8/0xac
[ 161.651455] el0_sync+0x158/0x180

Is GTP5G supported in arm64?

Hi, we are working on it, thanks for questioning.

Hello @lianghz3, GTP5G is supported in arm64.