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

2019-09-09 Thread prsriva
On 9/8/19 4:31 PM, Mimi Zohar wrote: Hi Prakhar, "Carrying over the ima log during kexec_file_load" was originally posted on 5/10 and 5/31 without a cover letter. On 8/29 it was reposted as an RFC with a cover letter.  The cover letter was v1, but the patch itself was not.  In the future, pleas

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

2019-09-08 Thread Mimi Zohar
Hi Prakhar, On Fri, 2019-09-06 at 16:56 -0700, prsriva wrote: > 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 th

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

2019-09-06 Thread prsriva
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

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

2019-08-30 Thread Thiago Jung Bauermann
Stephen Boyd writes: > A lot of this code looks DT generic. Can it be moved out of the arch > layer to drivers/of/? Yes, if this code could be in drivers/of/ it would be great! Perhaps the DT generic functions could go in drivers/of/fdt.c, and ones dealing with IMA nodes/properties could go i

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

2019-08-30 Thread Thiago Jung Bauermann
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. That's a great idea. If it could go to drivers/of

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

2019-08-29 Thread Stephen Boyd
Why is linux-arm-msm list CCed on this topic? Quoting Prakhar Srivastava (2019-08-29 13:05:32) > Carry ima measurement log for arm64 via kexec_file_load. > add support to kexec_file_load to pass the ima measurement log These first two sentences look sort of odd for a commit text. > > This patch

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

2019-08-29 Thread Prakhar Srivastava
Carry ima measurement log for arm64 via kexec_file_load. add support to kexec_file_load to pass the ima measurement log This patch adds entry for the ima measurement log in the dtb which is then used in the kexec'ed session to fetch the segment and then load the ima measurement log. Signed-off-by