mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bean Huo <huobean@gmail.com>
To: daejun7.park@samsung.com, Greg KH <gregkh@linuxfoundation.org>,
	"avri.altman@wdc.com" <avri.altman@wdc.com>,
	"jejb@linux.ibm.com" <jejb@linux.ibm.com>,
	"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
	"asutoshd@codeaurora.org" <asutoshd@codeaurora.org>,
	"stanley.chu@mediatek.com" <stanley.chu@mediatek.com>,
	"cang@codeaurora.org" <cang@codeaurora.org>,
	"bvanassche@acm.org" <bvanassche@acm.org>,
	ALIM AKHTAR <alim.akhtar@samsung.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	JinHwan Park <jh.i.park@samsung.com>,
	Javier Gonzalez <javier.gonz@samsung.com>,
	SEUNGUK SHIN <seunguk.shin@samsung.com>,
	Sung-Jun Park <sungjun07.park@samsung.com>,
	yongmyung lee <ymhungry.lee@samsung.com>,
	Jinyoung CHOI <j-young.choi@samsung.com>,
	BoRam Shin <boram.shin@samsung.com>
Subject: Re: [PATCH v24 2/4] scsi: ufs: L2P map management for HPB read
Date: Thu, 25 Feb 2021 15:59:35 +0100	[thread overview]
Message-ID: <23b7d59df2b83cdac53fdb4567c41c007257b436.camel@gmail.com> (raw)
In-Reply-To: <20210224045437epcms2p7ed0a41233d899337ddbd3525fddeb042@epcms2p7>

On Wed, 2021-02-24 at 13:54 +0900, Daejun Park wrote:
> +static int ufshpb_init_mem_wq(void)
> +{
> +       int ret;
> +       unsigned int pool_size;
> +
> +       ufshpb_mctx_cache = kmem_cache_create("ufshpb_mctx_cache",
> +                                       sizeof(struct
> ufshpb_map_ctx),
> +                                       0, 0, NULL);
> +       if (!ufshpb_mctx_cache) {
> +               pr_err("ufshpb: cannot init mctx cache\n");
> +               return -ENOMEM;
> +       }
> +
> +       pool_size = PAGE_ALIGN(ufshpb_host_map_kbytes * 1024) /
> PAGE_SIZE;
> +       pr_info("%s:%d ufshpb_host_map_kbytes %u pool_size %u\n",
> +              __func__, __LINE__, ufshpb_host_map_kbytes,
> pool_size);
> +

I think print function name is not proper while booting.
And one HPB is associated with one HBA, if there are two UFS
controllers, how can I differentiate them? 

Bean


  reply	other threads:[~2021-02-25 15:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20210224045323epcms2p66cc6a4b73086621e050da37f12f432f0@epcms2p6>
2021-02-24  4:53 ` [PATCH v24 0/4] scsi: ufs: Add Host Performance Booster Support Daejun Park
     [not found]   ` <CGME20210224045323epcms2p66cc6a4b73086621e050da37f12f432f0@epcms2p2>
2021-02-24  4:54     ` [PATCH v24 1/4] scsi: ufs: Introduce HPB feature Daejun Park
2021-02-25 14:38       ` Bean Huo
     [not found]       ` <CGME20210224045323epcms2p66cc6a4b73086621e050da37f12f432f0@epcms2p1>
2021-02-26  4:49         ` Daejun Park
2021-02-24  4:55     ` [PATCH v24 4/4] scsi: ufs: Add HPB 2.0 support Daejun Park
2021-02-24  9:52       ` Avri Altman
2021-02-24 10:24       ` Avri Altman
2021-02-24 11:52         ` Avri Altman
     [not found]         ` <CGME20210224045323epcms2p66cc6a4b73086621e050da37f12f432f0@epcms2p5>
2021-02-25  3:25           ` Daejun Park
     [not found]   ` <CGME20210224045323epcms2p66cc6a4b73086621e050da37f12f432f0@epcms2p7>
2021-02-24  4:54     ` [PATCH v24 2/4] scsi: ufs: L2P map management for HPB read Daejun Park
2021-02-25 14:59       ` Bean Huo [this message]
     [not found]       ` <CGME20210224045323epcms2p66cc6a4b73086621e050da37f12f432f0@epcms2p4>
2021-02-26  4:53         ` Daejun Park
2021-02-24  4:55     ` [PATCH v24 3/4] scsi: ufs: Prepare HPB read for cached sub-region Daejun Park
2021-02-25  3:26 ` RE: [PATCH v24 4/4] scsi: ufs: Add HPB 2.0 support Daejun Park

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=23b7d59df2b83cdac53fdb4567c41c007257b436.camel@gmail.com \
    --to=huobean@gmail.com \
    --cc=alim.akhtar@samsung.com \
    --cc=asutoshd@codeaurora.org \
    --cc=avri.altman@wdc.com \
    --cc=boram.shin@samsung.com \
    --cc=bvanassche@acm.org \
    --cc=cang@codeaurora.org \
    --cc=daejun7.park@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=j-young.choi@samsung.com \
    --cc=javier.gonz@samsung.com \
    --cc=jejb@linux.ibm.com \
    --cc=jh.i.park@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=seunguk.shin@samsung.com \
    --cc=stanley.chu@mediatek.com \
    --cc=sungjun07.park@samsung.com \
    --cc=ymhungry.lee@samsung.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®