Home
last modified time | relevance | path

Searched refs:PATCH_MAX_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/x86/kernel/cpu/microcode/
Damd.c58 static u8 amd_ucode_patch[PATCH_MAX_SIZE];
421 u8 (*patch)[PATCH_MAX_SIZE]; in apply_microcode_early_amd()
428 patch = (u8 (*)[PATCH_MAX_SIZE])__pa_nodebug(&amd_ucode_patch); in apply_microcode_early_amd()
457 memcpy(patch, mc, min_t(u32, desc.psize, PATCH_MAX_SIZE)); in apply_microcode_early_amd()
882 memset(amd_ucode_patch, 0, PATCH_MAX_SIZE); in load_microcode_amd()
883 memcpy(amd_ucode_patch, p->data, min_t(u32, p->size, PATCH_MAX_SIZE)); in load_microcode_amd()
/linux-6.1.9/arch/x86/include/asm/
Dmicrocode_amd.h44 #define PATCH_MAX_SIZE (3 * PAGE_SIZE) macro