[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210226045335epcms2p4beca6dda1e809534ac510926362e913c@epcms2p4>
Date: Fri, 26 Feb 2021 13:53:35 +0900
From: Daejun Park <daejun7.park@...sung.com>
To: Bean Huo <huobean@...il.com>,
Daejun Park <daejun7.park@...sung.com>,
Greg KH <gregkh@...uxfoundation.org>,
"avri.altman@....com" <avri.altman@....com>,
"jejb@...ux.ibm.com" <jejb@...ux.ibm.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"asutoshd@...eaurora.org" <asutoshd@...eaurora.org>,
"stanley.chu@...iatek.com" <stanley.chu@...iatek.com>,
"cang@...eaurora.org" <cang@...eaurora.org>,
"bvanassche@....org" <bvanassche@....org>,
ALIM AKHTAR <alim.akhtar@...sung.com>
CC: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
JinHwan Park <jh.i.park@...sung.com>,
Javier Gonzalez <javier.gonz@...sung.com>,
SEUNGUK SHIN <seunguk.shin@...sung.com>,
Sung-Jun Park <sungjun07.park@...sung.com>,
yongmyung lee <ymhungry.lee@...sung.com>,
Jinyoung CHOI <j-young.choi@...sung.com>,
BoRam Shin <boram.shin@...sung.com>
Subject: RE: Re: [PATCH v24 2/4] scsi: ufs: L2P map management for HPB read
> > +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?
I will use dev_info instead of pr_info.
Thanks,
Daejun
> Bean
>
>
>
Powered by blists - more mailing lists