summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/memmap.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-06-02 13:52:00 +0000
committerIngo Molnar <mingo@kernel.org>2017-06-05 17:50:40 +0200
commit82c3768b8d68c40ecde92338899c838b7c674ffb (patch)
tree9f4c25c2d4f56a48f1f09eac42fe33d45e0ec46a /drivers/firmware/memmap.c
parent41b0c376951417d1b37448957b30f766b10d3090 (diff)
downloadlinux-82c3768b8d68c40ecde92338899c838b7c674ffb.tar.gz
linux-82c3768b8d68c40ecde92338899c838b7c674ffb.tar.bz2
linux-82c3768b8d68c40ecde92338899c838b7c674ffb.zip
efi/capsule-loader: Use a cached copy of the capsule header
Instead of kmapping the capsule data twice, copy the capsule header into the capsule info struct we keep locally. This is an improvement by itself, but will also enable handling of non-standard header formats more easily. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20170602135207.21708-7-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/firmware/memmap.c')
0 files changed, 0 insertions, 0 deletions