Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2906483ybe; Sun, 8 Sep 2019 03:15:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgq3VMkAqfTInF7Wtb196V11VtGqsRW8Kgxmw+OfIbxjLhV/SWVAiScZrkmByNn5S5k4JJ X-Received: by 2002:a63:a011:: with SMTP id r17mr16770070pge.219.1567937728979; Sun, 08 Sep 2019 03:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567937728; cv=none; d=google.com; s=arc-20160816; b=Y5boDmpba9tUgw0njk72xGoJsy2taJqOEAqya2QUiKQdlDZgFVcp4pfBsocJ+qOhfq Nx7vbXV4x8sX+ofvP9q+IgP6Fl6E9VC/hJ3CG9n1HmqiGTuHu3De7JmxfdegrwfCWz2R 1ptln2lDQOiFGiH2cKRokZoDWXqlUgKPiIDo4CtuDQ3rXeDQFAcIY9dbwUPPCOwWtJST 2qQJdzvIyP1KimBlGXZuLr33L0DMEo5TOwK8cEwHUorKpWLWl5ML+gO26BOF8b5wiVxL BwIPQoiwQzf3jdvHzsrKtY8p0gsTBfbHrwzlu3RHDW7/6AdGTceuUNCL2Jozhyz/y+Vm t01w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-filter; bh=RCE9g/yT+LpiHbJkpm8iLX2x8tR0hwhAYx35SpcPNaE=; b=QvF5rqo1PFsBBTZZvwOLcWdc41kAuJXCTXp2LUwUGIr1od1Dq1vgB76AFWyS/9MJwo UUAjtWhTu9JaUMLZwYkXwJZiBtYNuMTPXeLZX4fmZ6lTubcMjXcoteGB3/4FlmUsqjTE ImGAzj8+Vuu4AlpnhamFSAWxW13x2HYYHBY1AtFVug4aw6fFz9FuzMPXN08td4YcWcOn 2RtQmsbuYnmeWUy35ea8qRMplh6s2VXoWbk6AbW36lmjHZWIYWB/BQ4J3we02XGA4f4E OQQYAsnorxHPpNwasFH7jW108V32UAtnu3RXUmbEClK5zaQ2NJke5VUesSA1GaNKG0bH vEqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z199si10389286pfc.283.2019.09.08.03.15.13; Sun, 08 Sep 2019 03:15:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405386AbfIFX47 (ORCPT + 99 others); Fri, 6 Sep 2019 19:56:59 -0400 Received: from linux.microsoft.com ([13.77.154.182]:51504 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390114AbfIFX47 (ORCPT ); Fri, 6 Sep 2019 19:56:59 -0400 Received: from [10.200.156.146] (unknown [167.220.2.18]) by linux.microsoft.com (Postfix) with ESMTPSA id 5C88C20B7186; Fri, 6 Sep 2019 16:56:58 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 5C88C20B7186 Subject: Re: [RFC][PATCH 1/1] Carry ima measurement log for arm64 via kexec_file_load To: Thiago Jung Bauermann Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-integrity@vger.kernel.org, jmorris@namei.org, zohar@linux.ibm.com References: <20190829200532.13545-1-prsriva@linux.microsoft.com> <20190829200532.13545-2-prsriva@linux.microsoft.com> <87r252kxc8.fsf@morokweng.localdomain> From: prsriva Message-ID: <0c7453d4-620d-2d98-3fda-f902b18da535@linux.microsoft.com> Date: Fri, 6 Sep 2019 16:56:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <87r252kxc8.fsf@morokweng.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 writes: >