// SPDX-License-Identifier: GPL-2.01/*2* x86-specific bits of KMSAN shadow implementation.3*4* Copyright (C) 2022 Google LLC5* Author: Alexander Potapenko <[email protected]>6*/78#include <asm/cpu_entry_area.h>9#include <linux/percpu-defs.h>1011/*12* Addresses within the CPU entry area (including e.g. exception stacks) do not13* have struct page entries corresponding to them, so they need separate14* handling.15* arch_kmsan_get_meta_or_null() (declared in the header) maps the addresses in16* CPU entry area to addresses in cpu_entry_area_shadow/cpu_entry_area_origin.17*/18DEFINE_PER_CPU(char[CPU_ENTRY_AREA_SIZE], cpu_entry_area_shadow);19DEFINE_PER_CPU(char[CPU_ENTRY_AREA_SIZE], cpu_entry_area_origin);202122