Searched refs:PATCH_MAX_SIZE (Results 1 – 2 of 2) sorted by relevance
/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 58 static u8 amd_ucode_patch[PATCH_MAX_SIZE]; 422 u8 (*patch)[PATCH_MAX_SIZE]; in apply_microcode_early_amd() 429 patch = (u8 (*)[PATCH_MAX_SIZE])__pa_nodebug(&amd_ucode_patch); in apply_microcode_early_amd() 452 memcpy(patch, mc, min_t(u32, desc.psize, PATCH_MAX_SIZE)); in apply_microcode_early_amd() 866 memset(amd_ucode_patch, 0, PATCH_MAX_SIZE); in load_microcode_amd() 867 memcpy(amd_ucode_patch, p->data, min_t(u32, ksize(p->data), PATCH_MAX_SIZE)); in load_microcode_amd()
|
/arch/x86/include/asm/ |
D | microcode_amd.h | 44 #define PATCH_MAX_SIZE PAGE_SIZE macro
|