Searched refs:PATCH_MAX_SIZE (Results 1 – 2 of 2) sorted by relevance
/arch/x86/include/asm/ |
D | microcode_amd.h | 44 #define PATCH_MAX_SIZE (3 * PAGE_SIZE) macro
|
/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 60 static u8 amd_ucode_patch[MAX_NUMNODES][PATCH_MAX_SIZE]; 424 u8 (*patch)[PATCH_MAX_SIZE]; in apply_microcode_early_amd() 431 patch = (u8 (*)[PATCH_MAX_SIZE])__pa_nodebug(&amd_ucode_patch); in apply_microcode_early_amd() 460 memcpy(patch, mc, min_t(u32, desc.psize, PATCH_MAX_SIZE)); in apply_microcode_early_amd() 878 memset(&amd_ucode_patch[nid], 0, PATCH_MAX_SIZE); in load_microcode_amd() 879 memcpy(&amd_ucode_patch[nid], p->data, min_t(u32, p->size, PATCH_MAX_SIZE)); in load_microcode_amd()
|