All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhaumik Bhatt <bbhatt@codeaurora.org>
To: manivannan.sadhasivam@linaro.org
Cc: linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org,
	linux-kernel@vger.kernel.org, loic.poulain@linaro.org,
	Bhaumik Bhatt <bbhatt@codeaurora.org>
Subject: [PATCH v2 0/2] Fix serial number usage in MHI bus
Date: Wed, 28 Jul 2021 17:17:38 -0700	[thread overview]
Message-ID: <1627517860-39417-1-git-send-email-bbhatt@codeaurora.org> (raw)

In some cases, device may boot straight to the mission mode. The serial number
and OEM PK hash values would remain unpopulated in those cases. Hence, move the
reads for those to the power up preparation phase such that controllers always
have them populated. Also, in order to maintain consistency with the way OEM PK
hash is displayed and improve the current way, depict serial number in
hexadecimals.

Tested on: X86_64 architecture with SDX65 on Ubuntu 18.04 distribution.

v2:
-Fixed nitpick for 0x%x
-Minor update to commit message for "Depict serial number" patch
-Added reviewed-by tags

Bhaumik Bhatt (2):
  bus: mhi: core: Move serial number read to power up phase
  bus: mhi: core: Depict serial number in hexadecimals

 drivers/bus/mhi/core/boot.c | 17 +----------------
 drivers/bus/mhi/core/init.c | 19 +++++++++++++++++--
 2 files changed, 18 insertions(+), 18 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


             reply	other threads:[~2021-07-29  0:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29  0:17 Bhaumik Bhatt [this message]
2021-07-29  0:17 ` [PATCH v2 1/2] bus: mhi: core: Move serial number read to power up phase Bhaumik Bhatt
2021-07-29  1:38   ` Hemant Kumar
2021-07-29  0:17 ` [PATCH v2 2/2] bus: mhi: core: Depict serial number in hexadecimals Bhaumik Bhatt
2021-07-29  1:39   ` Hemant Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1627517860-39417-1-git-send-email-bbhatt@codeaurora.org \
    --to=bbhatt@codeaurora.org \
    --cc=hemantk@codeaurora.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loic.poulain@linaro.org \
    --cc=manivannan.sadhasivam@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.