All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Seunghwan Baek" <sh8267.baek@samsung.com>
To: "'Ulf Hansson'" <ulf.hansson@linaro.org>
Cc: <linux-kernel@vger.kernel.org>, <linux-mmc@vger.kernel.org>,
	<ritesh.list@gmail.com>, <grant.jung@samsung.com>,
	<jt77.jang@samsung.com>, <junwoo80.lee@samsung.com>,
	<dh0421.hwang@samsung.com>, <jangsub.yi@samsung.com>,
	<sh043.lee@samsung.com>, <cw9316.lee@samsung.com>,
	<wkon.kim@samsung.com>
Subject: RE: [PATCH] mmc : fix for check cqe halt.
Date: Mon, 26 Aug 2024 14:39:17 +0900	[thread overview]
Message-ID: <012401daf77a$4af8efb0$e0eacf10$@samsung.com> (raw)
In-Reply-To: <CAPDyKFpSf8GZppkqJCs1r990QXDJMHWHAbVXS2XoffCLQdgSug@mail.gmail.com>

> >
> > To check if mmc cqe is in halt state, need to check set/clear of
> > CQHCI_HALT bit. At this time, we need to check with &, not &&.
> > Therefore, code to check whether cqe is in halt state is modified to
> > cqhci_halted, which has already been implemented.
> >
> > Signed-off-by: Seunghwan Baek <sh8267.baek@samsung.com>
> 
> Hi Seunghwan,
> 
> Please re-post to include some additional and needed maintainers.
> ./scripts/get_maintainer.pl drivers/mmc/host/cqhci-core.c should give you
> the needed information.
> 
> Kind regards
> Uffe

Okay. I will send v2 patch.
Thanks.

> 
> > ---
> >  drivers/mmc/host/cqhci-core.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/mmc/host/cqhci-core.c
> > b/drivers/mmc/host/cqhci-core.c index c14d7251d0bb..3d5bcb92c78e
> > 100644
> > --- a/drivers/mmc/host/cqhci-core.c
> > +++ b/drivers/mmc/host/cqhci-core.c
> > @@ -282,7 +282,7 @@ static void __cqhci_enable(struct cqhci_host
> > *cq_host)
> >
> >         cqhci_writel(cq_host, cqcfg, CQHCI_CFG);
> >
> > -       if (cqhci_readl(cq_host, CQHCI_CTL) & CQHCI_HALT)
> > +       if (cqhci_halted(cq_host))
> >                 cqhci_writel(cq_host, 0, CQHCI_CTL);
> >
> >         mmc->cqe_on = true;
> > @@ -617,7 +617,7 @@ static int cqhci_request(struct mmc_host *mmc,
> struct mmc_request *mrq)
> >                 cqhci_writel(cq_host, 0, CQHCI_CTL);
> >                 mmc->cqe_on = true;
> >                 pr_debug("%s: cqhci: CQE on\n", mmc_hostname(mmc));
> > -               if (cqhci_readl(cq_host, CQHCI_CTL) && CQHCI_HALT) {
> > +               if (cqhci_halted(cq_host)) {
> >                         pr_err("%s: cqhci: CQE failed to exit halt state\n",
> >                                mmc_hostname(mmc));
> >                 }
> > --
> > 2.17.1
> >



  reply	other threads:[~2024-08-26  5:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20240823071040epcas1p1309967537fb6286a9e67a38e598ce104@epcas1p1.samsung.com>
2024-08-23  7:10 ` [PATCH] mmc : fix for check cqe halt Seunghwan Baek
2024-08-23  7:22   ` Dragan Simic
2024-08-23  7:23     ` Dragan Simic
2024-08-23 11:00   ` Ulf Hansson
2024-08-26  5:39     ` Seunghwan Baek [this message]
2024-08-26 11:35   ` kernel test robot
2024-08-26 11:46   ` kernel test robot
     [not found] <CGME20240828042653epcas1p1952b6cee9484b53d86727dd0e041a0b5@epcas1p1.samsung.com>
2024-08-28  4:26 ` Seunghwan Baek
2024-08-28  4:57   ` Ritesh Harjani
2024-08-28  6:41     ` Ritesh Harjani

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='012401daf77a$4af8efb0$e0eacf10$@samsung.com' \
    --to=sh8267.baek@samsung.com \
    --cc=cw9316.lee@samsung.com \
    --cc=dh0421.hwang@samsung.com \
    --cc=grant.jung@samsung.com \
    --cc=jangsub.yi@samsung.com \
    --cc=jt77.jang@samsung.com \
    --cc=junwoo80.lee@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ritesh.list@gmail.com \
    --cc=sh043.lee@samsung.com \
    --cc=ulf.hansson@linaro.org \
    --cc=wkon.kim@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 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.