Re: [RFC][PATCH 1/1] Carry ima measurement log for arm64 via kexec_file_load

From: prsriva
Date: Fri Sep 06 2019 - 19:57:01 EST



On 8/30/19 5:11 PM, Thiago Jung Bauermann wrote:
Hello Prakhar,

Answering this part from the cover letter:

The code is in most part same as powerpc, i want to get feedback as to
how/correct way to refactor the code so that cross architecture
partial helpers can be put in a common place.

I started refactoring code to bring helpers under drivers/of, but

i soon reliazed the current implementation can be changed a bit

so that some of the additional functions can be sourced from

existing fdt_*/of_* functions since the fdt_ima was seeming to be

an overkill. I have done so in the V1 patch and also addressed

comments you have.

Hopefully its(v1) is a cleaner approach.

- Thanks for the review, and guidance.

Thanks,

Prakhar Srivastava

That's a great idea. If it could go to drivers/of/ as Stephen Boyd
mentioned in the other email that would be great.

More comments below.
-Addressed those in the v1 patch
Prakhar Srivastava <prsriva@xxxxxxxxxxxxxxxxxxx> writes: