* BUG: EFI capsule loader fails as of 4.13, the capsule is not passed in contiguous virtual memory
@ 2017-12-21 21:42 Richard Ruigrok
0 siblings, 0 replies; only message in thread
From: Richard Ruigrok @ 2017-12-21 21:42 UTC (permalink / raw)
To: ge.song, ard.biesheuvel, matt; +Cc: linux-kernel, linux-efi
The capsule pointer passed to efi services are expected to be in contiguous virtual memory, as per the EFI 2.6 Spec section 7.5.3, excerpt below.
This issue was previously reported and fixed in 4.9 stable: 6862e6ad95e9 efi/capsule: Allocate whole capsule into virtual memory
The series "First batch of EFI updates for v4.13" includes changes that break the efi loader as it is now passing only the first physical page of the EFI capsule. As a result efi capsule updates are failing on Centriq products.
The series by Ge Song "Make capsules in a contiguous virtual space" was verified to work.
Ref to the spec:
"CapsuleHeaderArrayVirtual pointer to an array of virtual pointers to the capsules being passed into update capsule. Each capsules is assumed to stored in contiguous virtual memory."
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-21 21:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21 21:42 BUG: EFI capsule loader fails as of 4.13, the capsule is not passed in contiguous virtual memory Richard Ruigrok
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®