1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This file supports the /sys/firmware/sgi_uv topology tree on HPE UV.
5 * Copyright (c) 2020 Hewlett Packard Enterprise. All Rights Reserved.
6 * Copyright (c) Justin Ernst
9 #include <linux/module.h>
10 #include <linux/kernel.h>
11 #include <linux/device.h>
12 #include <linux/slab.h>
13 #include <linux/kobject.h>
14 #include <asm/uv/bios.h>
15 #include <asm/uv/uv.h>
16 #include <asm/uv/uv_hub.h>
17 #include <asm/uv/uv_geo.h>
19 #define INVALID_CNODE -1
21 struct kobject *sgi_uv_kobj;
22 static struct kset *uv_pcibus_kset;
23 static struct kset *uv_hubs_kset;
24 static struct uv_bios_hub_info *hub_buf;
25 static struct uv_bios_port_info **port_buf;
26 static struct uv_hub **uv_hubs;
27 static struct uv_pci_top_obj **uv_pci_objs;
28 static int num_pci_lines;
29 static int num_cnodes;
30 static int *prev_obj_to_cnode;
31 static int uv_bios_obj_cnt;
32 static signed short uv_master_nasid = -1;
33 static void *uv_biosheap;
35 static const char *uv_type_string(void)
39 else if (is_uv4a_hub())
41 else if (is_uv4_hub())
43 else if (is_uv3_hub())
45 else if (is_uv2_hub())
47 else if (uv_get_hubless_system())
53 static int ordinal_to_nasid(int ordinal)
55 if (ordinal < num_cnodes && ordinal >= 0)
56 return UV_PNODE_TO_NASID(uv_blade_to_pnode(ordinal));
61 static union geoid_u cnode_to_geoid(int cnode)
65 uv_bios_get_geoinfo(ordinal_to_nasid(cnode), (u64)sizeof(union geoid_u), (u64 *)&geoid);
69 static int location_to_bpos(char *location, int *rack, int *slot, int *blade)
74 if (sscanf(location, "%c%03d%c%02d%c%2d%c%d",
75 &r, rack, &type, slot, &b, &idb, &h, &idh) != 8)
77 *blade = idb * 2 + idh;
82 static int cache_obj_to_cnode(struct uv_bios_hub_info *obj)
86 int obj_rack, obj_slot, obj_blade;
87 int rack, slot, blade;
89 if (!obj->f.fields.this_part && !obj->f.fields.is_shared)
92 if (location_to_bpos(obj->location, &obj_rack, &obj_slot, &obj_blade))
95 for (cnode = 0; cnode < num_cnodes; cnode++) {
96 geoid = cnode_to_geoid(cnode);
97 rack = geo_rack(geoid);
98 slot = geo_slot(geoid);
99 blade = geo_blade(geoid);
100 if (obj_rack == rack && obj_slot == slot && obj_blade == blade)
101 prev_obj_to_cnode[obj->id] = cnode;
107 static int get_obj_to_cnode(int obj_id)
109 return prev_obj_to_cnode[obj_id];
114 struct uv_bios_hub_info *hub_info;
115 struct uv_port **ports;
118 #define to_uv_hub(kobj_ptr) container_of(kobj_ptr, struct uv_hub, kobj)
120 static ssize_t hub_name_show(struct uv_bios_hub_info *hub_info, char *buf)
122 return sysfs_emit(buf, "%s\n", hub_info->name);
125 static ssize_t hub_location_show(struct uv_bios_hub_info *hub_info, char *buf)
127 return sysfs_emit(buf, "%s\n", hub_info->location);
130 static ssize_t hub_partition_show(struct uv_bios_hub_info *hub_info, char *buf)
132 return sprintf(buf, "%d\n", hub_info->f.fields.this_part);
135 static ssize_t hub_shared_show(struct uv_bios_hub_info *hub_info, char *buf)
137 return sprintf(buf, "%d\n", hub_info->f.fields.is_shared);
139 static ssize_t hub_nasid_show(struct uv_bios_hub_info *hub_info, char *buf)
141 int cnode = get_obj_to_cnode(hub_info->id);
143 return sprintf(buf, "%d\n", ordinal_to_nasid(cnode));
145 static ssize_t hub_cnode_show(struct uv_bios_hub_info *hub_info, char *buf)
147 return sprintf(buf, "%d\n", get_obj_to_cnode(hub_info->id));
150 struct hub_sysfs_entry {
151 struct attribute attr;
152 ssize_t (*show)(struct uv_bios_hub_info *hub_info, char *buf);
153 ssize_t (*store)(struct uv_bios_hub_info *hub_info, const char *buf, size_t sz);
156 static struct hub_sysfs_entry name_attribute =
157 __ATTR(name, 0444, hub_name_show, NULL);
158 static struct hub_sysfs_entry location_attribute =
159 __ATTR(location, 0444, hub_location_show, NULL);
160 static struct hub_sysfs_entry partition_attribute =
161 __ATTR(this_partition, 0444, hub_partition_show, NULL);
162 static struct hub_sysfs_entry shared_attribute =
163 __ATTR(shared, 0444, hub_shared_show, NULL);
164 static struct hub_sysfs_entry nasid_attribute =
165 __ATTR(nasid, 0444, hub_nasid_show, NULL);
166 static struct hub_sysfs_entry cnode_attribute =
167 __ATTR(cnode, 0444, hub_cnode_show, NULL);
169 static struct attribute *uv_hub_attrs[] = {
170 &name_attribute.attr,
171 &location_attribute.attr,
172 &partition_attribute.attr,
173 &shared_attribute.attr,
174 &nasid_attribute.attr,
175 &cnode_attribute.attr,
178 ATTRIBUTE_GROUPS(uv_hub);
180 static void hub_release(struct kobject *kobj)
182 struct uv_hub *hub = to_uv_hub(kobj);
187 static ssize_t hub_type_show(struct kobject *kobj, struct attribute *attr,
190 struct uv_hub *hub = to_uv_hub(kobj);
191 struct uv_bios_hub_info *bios_hub_info = hub->hub_info;
192 struct hub_sysfs_entry *entry;
194 entry = container_of(attr, struct hub_sysfs_entry, attr);
199 return entry->show(bios_hub_info, buf);
202 static const struct sysfs_ops hub_sysfs_ops = {
203 .show = hub_type_show,
206 static struct kobj_type hub_attr_type = {
207 .release = hub_release,
208 .sysfs_ops = &hub_sysfs_ops,
209 .default_groups = uv_hub_groups,
212 static int uv_hubs_init(void)
218 prev_obj_to_cnode = kmalloc_array(uv_bios_obj_cnt, sizeof(*prev_obj_to_cnode),
220 if (!prev_obj_to_cnode)
223 for (i = 0; i < uv_bios_obj_cnt; i++)
224 prev_obj_to_cnode[i] = INVALID_CNODE;
226 uv_hubs_kset = kset_create_and_add("hubs", NULL, sgi_uv_kobj);
231 sz = uv_bios_obj_cnt * sizeof(*hub_buf);
232 hub_buf = kzalloc(sz, GFP_KERNEL);
238 biosr = uv_bios_enum_objs((u64)uv_master_nasid, sz, (u64 *)hub_buf);
244 uv_hubs = kcalloc(uv_bios_obj_cnt, sizeof(*uv_hubs), GFP_KERNEL);
250 for (i = 0; i < uv_bios_obj_cnt; i++) {
251 uv_hubs[i] = kzalloc(sizeof(*uv_hubs[i]), GFP_KERNEL);
258 uv_hubs[i]->hub_info = &hub_buf[i];
259 cache_obj_to_cnode(uv_hubs[i]->hub_info);
261 uv_hubs[i]->kobj.kset = uv_hubs_kset;
263 ret = kobject_init_and_add(&uv_hubs[i]->kobj, &hub_attr_type,
264 NULL, "hub_%u", hub_buf[i].id);
267 kobject_uevent(&uv_hubs[i]->kobj, KOBJ_ADD);
273 kobject_put(&uv_hubs[i]->kobj);
278 kset_unregister(uv_hubs_kset);
280 kfree(prev_obj_to_cnode);
285 static void uv_hubs_exit(void)
289 for (i = 0; i < uv_bios_obj_cnt; i++)
290 kobject_put(&uv_hubs[i]->kobj);
294 kset_unregister(uv_hubs_kset);
295 kfree(prev_obj_to_cnode);
300 struct uv_bios_port_info *port_info;
303 #define to_uv_port(kobj_ptr) container_of(kobj_ptr, struct uv_port, kobj)
305 static ssize_t uv_port_conn_hub_show(struct uv_bios_port_info *port, char *buf)
307 return sprintf(buf, "%d\n", port->conn_id);
310 static ssize_t uv_port_conn_port_show(struct uv_bios_port_info *port, char *buf)
312 return sprintf(buf, "%d\n", port->conn_port);
315 struct uv_port_sysfs_entry {
316 struct attribute attr;
317 ssize_t (*show)(struct uv_bios_port_info *port_info, char *buf);
318 ssize_t (*store)(struct uv_bios_port_info *port_info, const char *buf, size_t size);
321 static struct uv_port_sysfs_entry uv_port_conn_hub_attribute =
322 __ATTR(conn_hub, 0444, uv_port_conn_hub_show, NULL);
323 static struct uv_port_sysfs_entry uv_port_conn_port_attribute =
324 __ATTR(conn_port, 0444, uv_port_conn_port_show, NULL);
326 static struct attribute *uv_port_attrs[] = {
327 &uv_port_conn_hub_attribute.attr,
328 &uv_port_conn_port_attribute.attr,
331 ATTRIBUTE_GROUPS(uv_port);
333 static void uv_port_release(struct kobject *kobj)
335 struct uv_port *port = to_uv_port(kobj);
340 static ssize_t uv_port_type_show(struct kobject *kobj, struct attribute *attr,
343 struct uv_port *port = to_uv_port(kobj);
344 struct uv_bios_port_info *port_info = port->port_info;
345 struct uv_port_sysfs_entry *entry;
347 entry = container_of(attr, struct uv_port_sysfs_entry, attr);
352 return entry->show(port_info, buf);
355 static const struct sysfs_ops uv_port_sysfs_ops = {
356 .show = uv_port_type_show,
359 static struct kobj_type uv_port_attr_type = {
360 .release = uv_port_release,
361 .sysfs_ops = &uv_port_sysfs_ops,
362 .default_groups = uv_port_groups,
365 static int uv_ports_init(void)
368 int j = 0, k = 0, ret, sz;
370 port_buf = kcalloc(uv_bios_obj_cnt, sizeof(*port_buf), GFP_KERNEL);
374 for (j = 0; j < uv_bios_obj_cnt; j++) {
375 sz = hub_buf[j].ports * sizeof(*port_buf[j]);
376 port_buf[j] = kzalloc(sz, GFP_KERNEL);
382 biosr = uv_bios_enum_ports((u64)uv_master_nasid, (u64)hub_buf[j].id, sz,
389 for (j = 0; j < uv_bios_obj_cnt; j++) {
390 uv_hubs[j]->ports = kcalloc(hub_buf[j].ports,
391 sizeof(*uv_hubs[j]->ports), GFP_KERNEL);
392 if (!uv_hubs[j]->ports) {
398 for (j = 0; j < uv_bios_obj_cnt; j++) {
399 for (k = 0; k < hub_buf[j].ports; k++) {
400 uv_hubs[j]->ports[k] = kzalloc(sizeof(*uv_hubs[j]->ports[k]), GFP_KERNEL);
401 if (!uv_hubs[j]->ports[k]) {
406 uv_hubs[j]->ports[k]->port_info = &port_buf[j][k];
407 ret = kobject_init_and_add(&uv_hubs[j]->ports[k]->kobj, &uv_port_attr_type,
408 &uv_hubs[j]->kobj, "port_%d", port_buf[j][k].port);
411 kobject_uevent(&uv_hubs[j]->ports[k]->kobj, KOBJ_ADD);
417 for (; j >= 0; j--) {
419 kobject_put(&uv_hubs[j]->ports[k]->kobj);
421 k = hub_buf[j-1].ports - 1;
423 j = uv_bios_obj_cnt - 1;
426 kfree(uv_hubs[j]->ports);
427 j = uv_bios_obj_cnt - 1;
435 static void uv_ports_exit(void)
439 for (j = 0; j < uv_bios_obj_cnt; j++) {
440 for (k = hub_buf[j].ports - 1; k >= 0; k--)
441 kobject_put(&uv_hubs[j]->ports[k]->kobj);
443 for (j = 0; j < uv_bios_obj_cnt; j++) {
444 kfree(uv_hubs[j]->ports);
450 struct uv_pci_top_obj {
459 #define to_uv_pci_top_obj(kobj_ptr) container_of(kobj_ptr, struct uv_pci_top_obj, kobj)
461 static ssize_t uv_pci_type_show(struct uv_pci_top_obj *top_obj, char *buf)
463 return sysfs_emit(buf, "%s\n", top_obj->type);
466 static ssize_t uv_pci_location_show(struct uv_pci_top_obj *top_obj, char *buf)
468 return sysfs_emit(buf, "%s\n", top_obj->location);
471 static ssize_t uv_pci_iio_stack_show(struct uv_pci_top_obj *top_obj, char *buf)
473 return sprintf(buf, "%d\n", top_obj->iio_stack);
476 static ssize_t uv_pci_ppb_addr_show(struct uv_pci_top_obj *top_obj, char *buf)
478 return sysfs_emit(buf, "%s\n", top_obj->ppb_addr);
481 static ssize_t uv_pci_slot_show(struct uv_pci_top_obj *top_obj, char *buf)
483 return sprintf(buf, "%d\n", top_obj->slot);
486 struct uv_pci_top_sysfs_entry {
487 struct attribute attr;
488 ssize_t (*show)(struct uv_pci_top_obj *top_obj, char *buf);
489 ssize_t (*store)(struct uv_pci_top_obj *top_obj, const char *buf, size_t size);
492 static struct uv_pci_top_sysfs_entry uv_pci_type_attribute =
493 __ATTR(type, 0444, uv_pci_type_show, NULL);
494 static struct uv_pci_top_sysfs_entry uv_pci_location_attribute =
495 __ATTR(location, 0444, uv_pci_location_show, NULL);
496 static struct uv_pci_top_sysfs_entry uv_pci_iio_stack_attribute =
497 __ATTR(iio_stack, 0444, uv_pci_iio_stack_show, NULL);
498 static struct uv_pci_top_sysfs_entry uv_pci_ppb_addr_attribute =
499 __ATTR(ppb_addr, 0444, uv_pci_ppb_addr_show, NULL);
500 static struct uv_pci_top_sysfs_entry uv_pci_slot_attribute =
501 __ATTR(slot, 0444, uv_pci_slot_show, NULL);
503 static void uv_pci_top_release(struct kobject *kobj)
505 struct uv_pci_top_obj *top_obj = to_uv_pci_top_obj(kobj);
507 kfree(top_obj->type);
508 kfree(top_obj->location);
509 kfree(top_obj->ppb_addr);
513 static ssize_t pci_top_type_show(struct kobject *kobj,
514 struct attribute *attr, char *buf)
516 struct uv_pci_top_obj *top_obj = to_uv_pci_top_obj(kobj);
517 struct uv_pci_top_sysfs_entry *entry;
519 entry = container_of(attr, struct uv_pci_top_sysfs_entry, attr);
524 return entry->show(top_obj, buf);
527 static const struct sysfs_ops uv_pci_top_sysfs_ops = {
528 .show = pci_top_type_show,
531 static struct kobj_type uv_pci_top_attr_type = {
532 .release = uv_pci_top_release,
533 .sysfs_ops = &uv_pci_top_sysfs_ops,
536 static int init_pci_top_obj(struct uv_pci_top_obj *top_obj, char *line)
539 char type[11], location[14], ppb_addr[15];
541 unsigned int tmp_match[2];
543 // Minimum line length
544 if (strlen(line) < 36)
547 //Line must match format "pcibus %4x:%2x" to be valid
548 str_cnt = sscanf(line, "pcibus %4x:%2x", &tmp_match[0], &tmp_match[1]);
552 /* Connect pcibus to segment:bus number with '_'
553 * to concatenate name tokens.
554 * pcibus 0000:00 ... -> pcibus_0000:00 ...
558 /* Null terminate after the concatencated name tokens
559 * to produce kobj name string.
563 // Use start to index after name tokens string for remainder of line info.
566 top_obj->iio_stack = -1;
569 /* r001i01b00h0 BASE IO (IIO Stack 0)
570 * r001i01b00h1 PCIe IO (IIO Stack 1)
571 * r001i01b03h1 PCIe SLOT
572 * r001i01b00h0 NODE IO
574 * (IIO Stack #) may not be present.
576 if (start[0] == 'r') {
577 str_cnt = sscanf(start, "%13s %10[^(] %*s %*s %d)",
578 location, type, &top_obj->iio_stack);
581 top_obj->type = kstrdup(type, GFP_KERNEL);
584 top_obj->location = kstrdup(location, GFP_KERNEL);
585 if (!top_obj->location) {
586 kfree(top_obj->type);
590 /* PPB at 0000:80:00.00 (slot 3)
591 * (slot #) may not be present.
593 else if (start[0] == 'P') {
594 str_cnt = sscanf(start, "%10s %*s %14s %*s %d)",
595 type, ppb_addr, &top_obj->slot);
598 top_obj->type = kstrdup(type, GFP_KERNEL);
601 top_obj->ppb_addr = kstrdup(ppb_addr, GFP_KERNEL);
602 if (!top_obj->ppb_addr) {
603 kfree(top_obj->type);
609 top_obj->kobj.kset = uv_pcibus_kset;
611 ret = kobject_init_and_add(&top_obj->kobj, &uv_pci_top_attr_type, NULL, "%s", line);
616 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_type_attribute.attr);
620 if (top_obj->location) {
621 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_location_attribute.attr);
625 if (top_obj->iio_stack >= 0) {
626 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_iio_stack_attribute.attr);
630 if (top_obj->ppb_addr) {
631 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_ppb_addr_attribute.attr);
635 if (top_obj->slot >= 0) {
636 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_slot_attribute.attr);
641 kobject_uevent(&top_obj->kobj, KOBJ_ADD);
645 kobject_put(&top_obj->kobj);
649 static int pci_topology_init(void)
651 char *pci_top_str, *start, *found, *count;
657 uv_pcibus_kset = kset_create_and_add("pcibuses", NULL, sgi_uv_kobj);
661 for (sz = PAGE_SIZE; sz < 16 * PAGE_SIZE; sz += PAGE_SIZE) {
662 pci_top_str = kmalloc(sz, GFP_KERNEL);
665 goto err_pci_top_str;
667 biosr = uv_bios_get_pci_topology((u64)sz, (u64 *)pci_top_str);
668 if (biosr == BIOS_STATUS_SUCCESS) {
669 len = strnlen(pci_top_str, sz);
670 for (count = pci_top_str; count < pci_top_str + len; count++) {
676 uv_pci_objs = kcalloc(num_pci_lines,
677 sizeof(*uv_pci_objs), GFP_KERNEL);
681 goto err_pci_top_str;
684 while ((found = strsep(&start, "\n")) != NULL) {
685 uv_pci_objs[k] = kzalloc(sizeof(*uv_pci_objs[k]), GFP_KERNEL);
686 if (!uv_pci_objs[k]) {
690 ret = init_pci_top_obj(uv_pci_objs[k], found);
694 if (k == num_pci_lines)
699 if (biosr == BIOS_STATUS_SUCCESS || biosr == BIOS_STATUS_UNIMPLEMENTED)
707 kobject_put(&uv_pci_objs[k]->kobj);
711 kset_unregister(uv_pcibus_kset);
715 static void pci_topology_exit(void)
719 for (k = 0; k < num_pci_lines; k++)
720 kobject_put(&uv_pci_objs[k]->kobj);
721 kset_unregister(uv_pcibus_kset);
725 static ssize_t partition_id_show(struct kobject *kobj,
726 struct kobj_attribute *attr, char *buf)
728 return sprintf(buf, "%ld\n", sn_partition_id);
731 static ssize_t coherence_id_show(struct kobject *kobj,
732 struct kobj_attribute *attr, char *buf)
734 return sprintf(buf, "%ld\n", sn_coherency_id);
737 static ssize_t uv_type_show(struct kobject *kobj,
738 struct kobj_attribute *attr, char *buf)
740 return sysfs_emit(buf, "%s\n", uv_type_string());
743 static ssize_t uv_archtype_show(struct kobject *kobj,
744 struct kobj_attribute *attr, char *buf)
746 return uv_get_archtype(buf, PAGE_SIZE);
749 static ssize_t uv_hub_type_show(struct kobject *kobj,
750 struct kobj_attribute *attr, char *buf)
752 return sysfs_emit(buf, "0x%x\n", uv_hub_type());
755 static ssize_t uv_hubless_show(struct kobject *kobj,
756 struct kobj_attribute *attr, char *buf)
758 return sysfs_emit(buf, "0x%x\n", uv_get_hubless_system());
761 static struct kobj_attribute partition_id_attr =
762 __ATTR(partition_id, 0444, partition_id_show, NULL);
763 static struct kobj_attribute coherence_id_attr =
764 __ATTR(coherence_id, 0444, coherence_id_show, NULL);
765 static struct kobj_attribute uv_type_attr =
766 __ATTR(uv_type, 0444, uv_type_show, NULL);
767 static struct kobj_attribute uv_archtype_attr =
768 __ATTR(archtype, 0444, uv_archtype_show, NULL);
769 static struct kobj_attribute uv_hub_type_attr =
770 __ATTR(hub_type, 0444, uv_hub_type_show, NULL);
771 static struct kobj_attribute uv_hubless_attr =
772 __ATTR(hubless, 0444, uv_hubless_show, NULL);
774 static struct attribute *base_attrs[] = {
775 &partition_id_attr.attr,
776 &coherence_id_attr.attr,
778 &uv_archtype_attr.attr,
779 &uv_hub_type_attr.attr,
783 static const struct attribute_group base_attr_group = {
787 static int initial_bios_setup(void)
792 biosr = uv_bios_get_master_nasid((u64)sizeof(uv_master_nasid), (u64 *)&uv_master_nasid);
796 biosr = uv_bios_get_heapsize((u64)uv_master_nasid, (u64)sizeof(u64), &v);
800 uv_biosheap = vmalloc(v);
804 biosr = uv_bios_install_heap((u64)uv_master_nasid, v, (u64 *)uv_biosheap);
810 biosr = uv_bios_obj_count((u64)uv_master_nasid, sizeof(u64), &v);
815 uv_bios_obj_cnt = (int)v;
820 static struct attribute *hubless_base_attrs[] = {
821 &partition_id_attr.attr,
823 &uv_archtype_attr.attr,
824 &uv_hubless_attr.attr,
828 static const struct attribute_group hubless_base_attr_group = {
829 .attrs = hubless_base_attrs
833 static int __init uv_sysfs_hubless_init(void)
837 ret = sysfs_create_group(sgi_uv_kobj, &hubless_base_attr_group);
839 pr_warn("sysfs_create_group hubless_base_attr_group failed\n");
840 kobject_put(sgi_uv_kobj);
845 static int __init uv_sysfs_init(void)
849 if (!is_uv_system() && !uv_get_hubless_system())
852 num_cnodes = uv_num_possible_blades();
855 sgi_uv_kobj = kobject_create_and_add("sgi_uv", firmware_kobj);
857 pr_warn("kobject_create_and_add sgi_uv failed\n");
861 if (uv_get_hubless_system())
862 return uv_sysfs_hubless_init();
864 ret = sysfs_create_group(sgi_uv_kobj, &base_attr_group);
866 pr_warn("sysfs_create_group base_attr_group failed\n");
867 goto err_create_group;
870 ret = initial_bios_setup();
874 ret = uv_hubs_init();
878 ret = uv_ports_init();
882 ret = pci_topology_init();
895 sysfs_remove_group(sgi_uv_kobj, &base_attr_group);
897 kobject_put(sgi_uv_kobj);
901 static void __exit uv_sysfs_hubless_exit(void)
903 sysfs_remove_group(sgi_uv_kobj, &hubless_base_attr_group);
904 kobject_put(sgi_uv_kobj);
907 static void __exit uv_sysfs_exit(void)
909 if (!is_uv_system()) {
910 if (uv_get_hubless_system())
911 uv_sysfs_hubless_exit();
919 sysfs_remove_group(sgi_uv_kobj, &base_attr_group);
920 kobject_put(sgi_uv_kobj);
924 device_initcall(uv_sysfs_init);
926 module_init(uv_sysfs_init);
928 module_exit(uv_sysfs_exit);
930 MODULE_AUTHOR("Hewlett Packard Enterprise");
931 MODULE_LICENSE("GPL");