linux/drivers/ras/amd/atl/prm.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * AMD Address Translation Library
 *
 * prm.c : Plumbing code for ACPI Platform Runtime Mechanism (PRM)
 *
 * Information on AMD PRM modules and handlers including the GUIDs and buffer
 * structures used here are defined in the AMD ACPI Porting Guide in the
 * chapter "Platform Runtime Mechanism Table (PRMT)"
 *
 * Copyright (c) 2024, Advanced Micro Devices, Inc.
 * All Rights Reserved.
 *
 * Author: John Allen <[email protected]>
 */

#include "internal.h"

#include <linux/prmt.h>

/*
 * PRM parameter buffer - normalized to system physical address, as described
 * in the "PRM Parameter Buffer" section of the AMD ACPI Porting Guide.
 */
struct norm_to_sys_param_buf {} __packed;

static const guid_t norm_to_sys_guid =;

unsigned long prm_umc_norm_to_sys_addr(u8 socket_id, u64 bank_id, unsigned long addr)
{}