From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3AD0FEB64D9 for ; Mon, 10 Jul 2023 15:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=81DdcEYt5KE0UG3YzrHnBd71c04EKJHACJQhJ0WLIjs=; b=XTfyEtTE7U7uzG Ttui4cHsTOd1B/vNh5cCk9Vn4SMpiNX/kFsHmg0LNPiF7n698PGlQVZe+uSuWeYspSZYdnOfnRMRO KzUxp9+fu5NN7dfG3mPHnHYLJrwsbw7HQnh9ZxYyNHI/gsuCTi3p0OP+mqKvUUiyvyBFJaSqXeM9O BRf3vZvj2CWtSN343GNau0ti2nxNEFZRhj7AkDkeFfXp+kEbEQqGOd8bM1fFO9kw8sE3NlNbfDzLO NBi3RKT12EBsCjIUq17uzmgEoablUlVob4VPUakD9kB+OD9gMW833HEDcxZ3YmJqwnOlDEOmzyIDX 46XvP+LVvGwjZkvsWtMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qIsjH-00BzdG-2K; Mon, 10 Jul 2023 15:23:11 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qIsjE-00Bzae-2H for linux-arm-kernel@lists.infradead.org; Mon, 10 Jul 2023 15:23:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689002581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KB94weOwoWMBQ4tLFhB7umLrTAyrFqDhZCrrtSY4RjA=; b=C2iSF+hjS2rBDopdnPvRbmYm4eYayrFpneTLov3Jqm6+mNvY+z9mCwoh71gYvLSaooHHsE 1BkIf5JAnNHp+q0sd45w9hvIQP1XGdwLNwK+fDyQNwY4msGsG0lwvjHxXmUq6W1KLP4+xr xVeaDlYp16CtusGKQz1w5P9BGNApsjo= Received: from mail-yw1-f200.google.com (mail-yw1-f200.google.com [209.85.128.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-537-PE7PPVJPPTWB636fmUi1Kg-1; Mon, 10 Jul 2023 11:20:37 -0400 X-MC-Unique: PE7PPVJPPTWB636fmUi1Kg-1 Received: by mail-yw1-f200.google.com with SMTP id 00721157ae682-57320c10635so54288857b3.3 for ; Mon, 10 Jul 2023 08:20:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689002436; x=1691594436; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KB94weOwoWMBQ4tLFhB7umLrTAyrFqDhZCrrtSY4RjA=; b=ZhuCung4UuJAUT7M5A5UpMd6HpN+m2a9cfe7um4N9SN4oiC30P0Saxkp3orEiJGJOb 0dYAr6wDJyqxmDFZhVAKtoaGZYoWZUYaP2rAaut1GnISNMibmirct8ffvlY5Wh+VKCPo zH29MVg4nNL7EIibCjdaBTmstfB/+mSwp0UK9Q8iXIzm26zsYnX+M9t/JIsbW6Tx157T 09df5ngLqFJiffi67JW3OkJcIQLF3ZVIgmJKOXYqBgc21G7T7+HdEQijb+NY4H5cd4d8 EQfiqw5aDIu9o3OQbCmHIwzUs6J2cH3N9lseu/u/36UvBU82BJyLYWr3f5ziRz/k7lQ+ uYBw== X-Gm-Message-State: ABy/qLblE69UE6DLcuuPI9BDEHPDWcwvmNkzqW9Nn5Xb9JUB7erQWi1u DEsGMK7fCdg4VSmEinwOJzN+KCfRcGU55rKRkKXaCiqDtngG2WlYxyjNHElTPnVC1IEVKLGzIRB 2FuvuKajRheKkmNOp/vm+6U4XzgfzhbBn5iI= X-Received: by 2002:a81:6604:0:b0:575:4b1c:e5ea with SMTP id a4-20020a816604000000b005754b1ce5eamr12259972ywc.47.1689002436576; Mon, 10 Jul 2023 08:20:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlH+YQLgXa3ThTm8gLDWAioQ62hJ6Tirv8hlhia+ImkkyVm4OGmEzS4D5sR6FzMA+VXStzjR8Q== X-Received: by 2002:a81:6604:0:b0:575:4b1c:e5ea with SMTP id a4-20020a816604000000b005754b1ce5eamr12259953ywc.47.1689002436338; Mon, 10 Jul 2023 08:20:36 -0700 (PDT) Received: from brian-x1 (c-73-214-169-22.hsd1.pa.comcast.net. [73.214.169.22]) by smtp.gmail.com with ESMTPSA id h126-20020a0df784000000b00559f1cb8444sm9956ywf.70.2023.07.10.08.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 08:20:35 -0700 (PDT) Date: Mon, 10 Jul 2023 11:20:33 -0400 From: Brian Masney To: Souradeep Chowdhury Cc: Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Sibi Sankar , Rajendra Nayak Subject: Re: [PATCH V7 0/2] firmware: Add support for boot_stats Message-ID: References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/2.2.9 (2022-11-12) X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230710_082308_849951_15E16C06 X-CRM114-Status: GOOD ( 16.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 05, 2023 at 11:02:30AM +0530, Souradeep Chowdhury wrote: > Qualcomm's proprietary Android boot-loaders capture boot time > stats, like the time when the bootloader started execution and at what > point the bootloader handed over control to the kernel etc. in the IMEM > region. This information is captured by the bootloader and populated on > the device tree properties "pre-abl-time" and "abl-time" which can be > be viewed from the user space like as follows:- > > /sys/firmware/devicetree/base/bootstats # cat abl_time > 17898 > > As a part of this patch series added the bindings for boot-stats which > was suggested in the v6 of the series. The link for the same is as > follows:- Should boot statistics be exposed to userspace through the qcom socinfo driver? I see that the socinfo v19 metadata has fields for the boot core and boot cluster [1], so boot timing wouldn't be out of place. Brian [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/soc/qcom/socinfo.c#n572 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel