ocxl.c (1136fa0c07de570dc17858745af8be169d1440ba) ocxl.c (1fd02f6605b855b4af2883f29a2abc88bdf17857)
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright 2017 IBM Corp.
3#include <asm/pnv-ocxl.h>
4#include <asm/opal.h>
5#include <misc/ocxl-config.h>
6#include "pci.h"
7
8#define PNV_OCXL_TL_P9_RECV_CAP 0x000000000000000Full

--- 275 unchanged lines hidden (view full) ---

284 struct npu_link *link;
285 int i, rc = -EINVAL;
286
287 /*
288 * The number of PASIDs (process address space ID) which can
289 * be used by a function depends on how many functions exist
290 * on the device. The NPU needs to be configured to know how
291 * many bits are available to PASIDs and how many are to be
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright 2017 IBM Corp.
3#include <asm/pnv-ocxl.h>
4#include <asm/opal.h>
5#include <misc/ocxl-config.h>
6#include "pci.h"
7
8#define PNV_OCXL_TL_P9_RECV_CAP 0x000000000000000Full

--- 275 unchanged lines hidden (view full) ---

284 struct npu_link *link;
285 int i, rc = -EINVAL;
286
287 /*
288 * The number of PASIDs (process address space ID) which can
289 * be used by a function depends on how many functions exist
290 * on the device. The NPU needs to be configured to know how
291 * many bits are available to PASIDs and how many are to be
292 * used by the function BDF indentifier.
292 * used by the function BDF identifier.
293 *
294 * We only support one AFU-carrying function for now.
295 */
296 mutex_lock(&links_list_lock);
297
298 link = find_link(dev);
299 if (!link) {
300 dev_err(&dev->dev, "actag information not found\n");

--- 300 unchanged lines hidden ---
293 *
294 * We only support one AFU-carrying function for now.
295 */
296 mutex_lock(&links_list_lock);
297
298 link = find_link(dev);
299 if (!link) {
300 dev_err(&dev->dev, "actag information not found\n");

--- 300 unchanged lines hidden ---