init.c (93a40a6d7428921897bb7fed5ffb4ce83df05432) | init.c (8c66bbdc4fbf3c297ebc8edf71f359e4a132c9db) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */ 3#include <linux/init.h> 4#include <linux/kernel.h> 5#include <linux/module.h> 6#include <linux/slab.h> 7#include <linux/pci.h> 8#include <linux/interrupt.h> --- 468 unchanged lines hidden (view full) --- 477 478 idxd_read_caps(idxd); 479 idxd_read_table_offsets(idxd); 480 481 rc = idxd_setup_internals(idxd); 482 if (rc) 483 goto err; 484 | 1// SPDX-License-Identifier: GPL-2.0 2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */ 3#include <linux/init.h> 4#include <linux/kernel.h> 5#include <linux/module.h> 6#include <linux/slab.h> 7#include <linux/pci.h> 8#include <linux/interrupt.h> --- 468 unchanged lines hidden (view full) --- 477 478 idxd_read_caps(idxd); 479 idxd_read_table_offsets(idxd); 480 481 rc = idxd_setup_internals(idxd); 482 if (rc) 483 goto err; 484 |
485 /* If the configs are readonly, then load them from device */ 486 if (!test_bit(IDXD_FLAG_CONFIGURABLE, &idxd->flags)) { 487 dev_dbg(dev, "Loading RO device config\n"); 488 rc = idxd_device_load_config(idxd); 489 if (rc < 0) 490 goto err; 491 } 492 |
|
485 rc = idxd_setup_interrupts(idxd); 486 if (rc) 487 goto err; 488 489 dev_dbg(dev, "IDXD interrupt setup complete.\n"); 490 491 idxd->major = idxd_cdev_get_major(idxd); 492 --- 210 unchanged lines hidden --- | 493 rc = idxd_setup_interrupts(idxd); 494 if (rc) 495 goto err; 496 497 dev_dbg(dev, "IDXD interrupt setup complete.\n"); 498 499 idxd->major = idxd_cdev_get_major(idxd); 500 --- 210 unchanged lines hidden --- |