linux/arch/x86/kernel/mmconf-fam10h_64.c

// SPDX-License-Identifier: GPL-2.0
/*
 * AMD Family 10h mmconfig enablement
 */

#include <linux/types.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/pci.h>
#include <linux/dmi.h>
#include <linux/range.h>

#include <asm/pci-direct.h>
#include <linux/sort.h>
#include <asm/io.h>
#include <asm/msr.h>
#include <asm/acpi.h>
#include <asm/mmconfig.h>
#include <asm/pci_x86.h>

struct pci_hostbridge_probe {};

static u64 fam10h_pci_mmconf_base;

static struct pci_hostbridge_probe pci_probes[] =;

static int cmp_range(const void *x1, const void *x2)
{}

#define MMCONF_UNIT
#define MMCONF_MASK
#define MMCONF_SIZE
/* need to avoid (0xfd<<32), (0xfe<<32), and (0xff<<32), ht used space */
#define FAM10H_PCI_MMCONF_BASE
#define BASE_VALID(b)
static void get_fam10h_pci_mmconf_base(void)
{}

void fam10h_check_enable_mmcfg(void)
{}

static int __init set_check_enable_amd_mmconf(const struct dmi_system_id *d)
{}

static const struct dmi_system_id __initconst mmconf_dmi_table[] =;

/* Called from a non __init function, but only on the BSP. */
void __ref check_enable_amd_mmconf_dmi(void)
{}