Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp459250ybr; Fri, 22 May 2020 10:35:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE+G+gNFL2YsI5hv3RlN/t4X7Stuc6gTLZbUVnzgIX6i7f9rEErqrLj6dWuZeLTb11SOXS X-Received: by 2002:aa7:c80f:: with SMTP id a15mr4141123edt.246.1590168952997; Fri, 22 May 2020 10:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590168952; cv=none; d=google.com; s=arc-20160816; b=kNRS6xMS0DN5S7XlOgNki2KB4fi3kzvr8pW0ZhztVLjs7GSHMUka5CBucbUIeI/yMZ aq87XlFb72sGkxrMtFDRbOGlweRpiBAMhG/zvFBFiVBftQBZcDDk3qcjunhSWGVXwHjc /i4HV1Gg6bPAmT71R1OL8Xdgzy+tnl/M7AI/0AO4tki7761AZD4jemLvXUsKfOOQ1Xgd 0rqNTBkW8pR0pTFBVDE16sjy78IC8Z3f4jinf4uW/xh6UaeJdBJVQTq6lHefN+Jwmv7H Y20xW/YybKw2wDTWNFbJaqDz72fbvHxChRnpXc0mGTlSDkTkkizBk4/aTyoV+Hd8XYVo UxaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2tZSSQp+Q6NkFkvGgoTM41d8a2brRtjrb60yXEtR4oc=; b=EM5TiJ/ydnEpVnrIeD9+kTshi21ngyQNW6lhNI9QhdJ2cyEtoHiXJHEZBA1My0bHzE LmLYy1M6sfHn5W7LBBphRw4Xiwe86J8+zdhAj/yl6/cKdvDcPNm6JXB51H7Qzd0k4BjL +Ag7QCKgdsthaJRZYlgTqGyDgN9FE8KO08jzQavaCXoufhx9yV+SSCVuS0ZFbZ4e9aaS 7t/fCkeE2AR8DhTzmrnqY+LsSLLaJCY+I7xpU2U/07657pkthLER/kW6OkngMjMBXPMy zz9E/f5omoBMggOcK5DK58GXIX2Eo5oD38tCWJJNAw3lhKZxXgsTYc9jy74zkffaspbc FDxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="xM7/kxVn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si5713360eji.696.2020.05.22.10.35.30; Fri, 22 May 2020 10:35:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="xM7/kxVn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730734AbgEVRdw (ORCPT + 99 others); Fri, 22 May 2020 13:33:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730701AbgEVRdv (ORCPT ); Fri, 22 May 2020 13:33:51 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E444C05BD43 for ; Fri, 22 May 2020 10:33:50 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id t8so3152270pju.3 for ; Fri, 22 May 2020 10:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=2tZSSQp+Q6NkFkvGgoTM41d8a2brRtjrb60yXEtR4oc=; b=xM7/kxVnNd5tkM3aD88kh404nBLGZ0PykMDKj1PajSxvbZKv5gN1DQN4908oXvpFkT D5j4s7pQVcv3lluXjL5hsxnA5VxVZtG0VkOtyF+z/kqlbmj4mJwBQsl5vSglfKkcR8nn hCubMPJ6ImS9MjzxWO29RgINWtO+wzHImrvVO8bqT+EgexwI4z0GvFjyJSQuvA0RU0kK XlRnMSnPgLf+iGmebcMZntq3a8e1GSzPZl1G1vlmX5mofuMANElZbQzYDpVk5myzPSTI AGp8GUBRrS5t+JdFrWN109JV1COJz5flF4tptKa4cikXYJEW3rP9B8NjoLN/dHAbj2yd l8DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=2tZSSQp+Q6NkFkvGgoTM41d8a2brRtjrb60yXEtR4oc=; b=XXgfA7DyQVycyRE/xN2hBQBiHg1gKbuMd98/uJ/3yIONOLvB3X0YqZTOR46kj95mAp rxIazFDAw0Tyc8FpjKxEwtxXR+xLD65D174mS9OSp1oITJwbpS4rwFzNVZVnpuaKNI4k UqoYiL9+wPnSWSgHF2aeqc1EoyUmJKu3Yd9+ZwKLszW/Ul/qQs1XXSLeeE1ehZDedAe0 F2SA7JSUczFb4uip0GAdkY0paiWMxabnandjVleneN57t0OodO1TspFiK4PNgN7a9brI pkFADNHGcRoe3k4r72ZTgVAAks+X53sj2jWf0tY6VQeebsVZUhae9PWEeEf1+cueBPab LmuA== X-Gm-Message-State: AOAM531reicFeTkl4SZU771vKyx9kZ+I+Pbk1U/hWABFs05MARp2uaTI VrhIzH2dmM8Zn/iSIUC8rz6Ybg== X-Received: by 2002:a17:902:8509:: with SMTP id bj9mr15699226plb.151.1590168829712; Fri, 22 May 2020 10:33:49 -0700 (PDT) Received: from yoga (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id t23sm7426330pji.32.2020.05.22.10.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 10:33:49 -0700 (PDT) Date: Fri, 22 May 2020 10:33:46 -0700 From: Bjorn Andersson To: Suman Anna Cc: Rob Herring , Mathieu Poirier , Clement Leger , Loic Pallardy , Arnaud Pouliquen , Lokesh Vutla , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] remoteproc: add support for a new 64-bit trace version Message-ID: <20200522173346.GJ11847@yoga> References: <20200325204701.16862-1-s-anna@ti.com> <20200325204701.16862-4-s-anna@ti.com> <20200521180417.GJ408178@builder.lan> <997d6f9a-64ba-7a89-e909-9a5a474120b0@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 22 May 09:54 PDT 2020, Suman Anna wrote: > On 5/21/20 2:42 PM, Suman Anna wrote: > > Hi Bjorn, > > > > On 5/21/20 1:04 PM, Bjorn Andersson wrote: > > > On Wed 25 Mar 13:47 PDT 2020, Suman Anna wrote: [..] > > > > diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h [..] > > > > +struct fw_rsc_trace2 { > > > > > > Sounds more like fw_rsc_trace64 to me - in particular since the version > > > of trace2 is 1... > > > > Yeah, will rename this. > > > > > > > > > +??? u32 padding; > > > > +??? u64 da; > > > > +??? u32 len; > > > > +??? u32 reserved; > > > > > > What's the purpose of this reserved field? > > > > Partly to make sure the entire resource is aligned on an 8-byte, and > > partly copied over from fw_rsc_trace entry. I guess 32-bits is already > > large enough of a size for trace entries irrespective of 32-bit or > > 64-bit traces, so I doubt if we want to make the len field also a u64. > > Looking at this again, I can drop both padding and reserved fields, if I > move the len field before da. Any preferences/comments? > Sounds good to me. Thanks, Bjorn