From: panand@redhat.com (Pratyush Anand)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 0/2] kexec-tools: arm64: Enable D-cache in purgatory
Date: Fri, 6 Jan 2017 09:01:56 +0530 [thread overview]
Message-ID: <e44d0ede-a116-f0cf-15db-07bf75856f07@redhat.com> (raw)
In-Reply-To: <cover.1482129830.git.panand@redhat.com>
Hi James and All,
Any feedback/review comment on it?
~Pratyush
On Monday 19 December 2016 12:43 PM, Pratyush Anand wrote:
> It takes more that 2 minutes to verify SHA in purgatory when vmlinuz image
> is around 13MB and initramfs is around 30MB. It takes more than 20 second
> even when we have -O2 optimization enabled. However, if dcache is enabled
> during purgatory execution then, it takes just a second in SHA
> verification.
>
> Therefore, these patches adds support for dcache enabling facility during
> purgatory execution.
>
> Although I have simplified the logic a bit now, however I understand that
> there are reservations for introducing this complexity for gaining few
> seconding of execution time during kexec or crash reboot. But, I believe
> if d-cache enabling code is stable enough then there should not be any
> hindrances to accept it. So, please give it a try with your platform and
> let me know if you see any issue or it does not work. I am still open to
> improve it further if needed.
>
> Changes since V1:
> - Moved page table creation logic from purgatory to kexec code.
> - Only 4K page table is supported, with 48 bit VA and 2M block size
> - if platform supports a 4K page size, then D-cache is always
> enabled now.
>
> Pratyush Anand (2):
> kexec: arm64: create identity page table to be used in purgatory
> arm64: enable d-cache support during purgatory sha verification
>
> kexec/arch/arm64/kexec-arm64.c | 152 ++++++++++++++++++
> purgatory/arch/arm64/Makefile | 1 +
> purgatory/arch/arm64/cache.S | 281 +++++++++++++++++++++++++++++++++
> purgatory/arch/arm64/purgatory-arm64.c | 5 +
> 4 files changed, 439 insertions(+)
> create mode 100644 purgatory/arch/arm64/cache.S
>
next prev parent reply other threads:[~2017-01-06 3:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-19 7:13 [PATCH V2 0/2] kexec-tools: arm64: Enable D-cache in purgatory Pratyush Anand
2016-12-19 7:13 ` [PATCH V2 1/2] kexec: arm64: create identity page table to be used " Pratyush Anand
2016-12-19 7:21 ` Maxim Uvarov
2016-12-19 7:23 ` Pratyush Anand
2017-01-17 17:25 ` James Morse
2017-01-18 7:43 ` Pratyush Anand
2017-03-15 9:42 ` Pratyush Anand
2016-12-19 7:13 ` [PATCH V2 2/2] arm64: enable d-cache support during purgatory sha verification Pratyush Anand
2017-01-06 3:31 ` Pratyush Anand [this message]
2017-01-10 14:11 ` [PATCH V2 0/2] kexec-tools: arm64: Enable D-cache in purgatory James Morse
2017-02-23 5:59 ` Pratyush Anand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e44d0ede-a116-f0cf-15db-07bf75856f07@redhat.com \
--to=panand@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).