Searched refs:PATCH_MAX_SIZE (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 57 static u8 amd_ucode_patch[PATCH_MAX_SIZE]; 122 if (patch_size > PATCH_MAX_SIZE) in parse_container() 203 u8 (*patch)[PATCH_MAX_SIZE]; in apply_microcode_early_amd() 210 patch = (u8 (*)[PATCH_MAX_SIZE])__pa_nodebug(&amd_ucode_patch); in apply_microcode_early_amd() 233 memcpy(patch, mc, min_t(u32, desc.psize, PATCH_MAX_SIZE)); in apply_microcode_early_amd() 720 memset(amd_ucode_patch, 0, PATCH_MAX_SIZE); in load_microcode_amd() 721 memcpy(amd_ucode_patch, p->data, min_t(u32, ksize(p->data), PATCH_MAX_SIZE)); in load_microcode_amd()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | microcode_amd.h | 44 #define PATCH_MAX_SIZE PAGE_SIZE macro
|