Lines Matching full:capsule
3 * EFI capsule loader driver.
47 pr_err("invalid capsule size\n"); in __efi_capsule_setup_info()
51 /* Check if the capsule binary supported */ in __efi_capsule_setup_info()
57 pr_err("capsule not supported\n"); in __efi_capsule_setup_info()
81 * efi_capsule_setup_info - obtain the efi capsule header in the binary and
87 * Platforms with non-standard capsule update mechanisms can override
88 * this __weak function so they can perform any required capsule
115 * cap_info->capsule may have been assigned already by a quirk in efi_capsule_submit_update()
118 if (!cap_info->capsule) { in efi_capsule_submit_update()
119 cap_info->capsule = vmap(cap_info->pages, cap_info->index, in efi_capsule_submit_update()
121 if (!cap_info->capsule) in efi_capsule_submit_update()
126 ret = efi_capsule_update(cap_info->capsule, cap_info->phys); in efi_capsule_submit_update()
128 vunmap(cap_info->capsule); in efi_capsule_submit_update()
130 pr_err("capsule update failed\n"); in efi_capsule_submit_update()
134 /* Indicate capsule binary uploading is done */ in efi_capsule_submit_update()
138 pr_info("Successfully uploaded capsule file with reboot type '%s'\n", in efi_capsule_submit_update()
143 pr_info("Successfully processed capsule file\n"); in efi_capsule_submit_update()
150 * efi_capsule_write - store the capsule binary and pass it to
158 * - A user space tool should start at the beginning of capsule binary and
165 * - An EFI capsule header must be located at the beginning of capsule
203 /* Copy capsule binary data from user space to kernel space buffer */ in efi_capsule_write()
211 /* Setup capsule binary info structure */ in efi_capsule_write()
226 pr_err("capsule upload size exceeded header defined size\n"); in efi_capsule_write()
260 pr_err("capsule upload not complete\n"); in efi_capsule_release()
279 * upload their capsule binary.
330 pr_err("Unable to register capsule loader device\n"); in efi_capsule_loader_init()
342 MODULE_DESCRIPTION("EFI capsule firmware binary loader");