[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACT4zj-M-BJKSwDNA7dRa88N8A4PBoX0GnMZiSMKum4GGiTiFA@mail.gmail.com>
Date: Wed, 18 Mar 2020 14:53:08 +0800
From: Ben Chuang <benchuanggli@...il.com>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: Ulf Hansson <ulf.hansson@...aro.org>,
linux-mmc <linux-mmc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
greg.tu@...esyslogic.com.tw,
Ben Chuang <ben.chuang@...esyslogic.com.tw>
Subject: Re: [RFC PATCH v2 3/6] mmc: host: Add UHS-II support in host layer
On Tue, Mar 17, 2020 at 4:18 PM Adrian Hunter <adrian.hunter@...el.com> wrote:
>
> On 9/01/20 11:14 am, Ben Chuang wrote:
> > From: Ben Chuang <ben.chuang@...esyslogic.com.tw>
> >
> > Add UHS-II support in host layer
>
> Split host layer changes from sdhci changes.
>
> >
> > Reported-by: kbuild test robot <lkp@...el.com>
>
> Drop "Reported-by: kbuild test robot <lkp@...el.com>"
>
> > Signed-off-by: Ben Chuang <ben.chuang@...esyslogic.com.tw>
> > ---
> > drivers/mmc/host/Makefile | 1 +
> > drivers/mmc/host/{sdhci.c => sdhci-core.c} | 276 ++++++--
> > drivers/mmc/host/sdhci-milbeaut.c | 4 +-
> > drivers/mmc/host/sdhci-of-arasan.c | 4 +-
> > drivers/mmc/host/sdhci-of-at91.c | 4 +-
> > drivers/mmc/host/sdhci-omap.c | 2 +-
> > drivers/mmc/host/sdhci-pci-core.c | 4 +-
> > drivers/mmc/host/sdhci-pxav3.c | 4 +-
> > drivers/mmc/host/sdhci-uhs2.c | 751 +++++++++++++++++++++
> > drivers/mmc/host/sdhci-uhs2.h | 34 +
> > drivers/mmc/host/sdhci-xenon.c | 4 +-
> > drivers/mmc/host/sdhci.h | 284 +++++++-
> > drivers/mmc/host/sdhci_am654.c | 4 +-
> > include/linux/mmc/uhs2.h | 270 ++++++++
> > 14 files changed, 1583 insertions(+), 63 deletions(-)
> > rename drivers/mmc/host/{sdhci.c => sdhci-core.c} (94%)
> > create mode 100644 drivers/mmc/host/sdhci-uhs2.c
> > create mode 100644 drivers/mmc/host/sdhci-uhs2.h
> > create mode 100644 include/linux/mmc/uhs2.h
>
> Please make sdhci-uhs2 a module and do not rename sdhci.c.
>
> References in sdhci.c to sdhci-uhs2.c will need to be enclosed by
> #if IS_REACHABLE(CONFIG_SDHCI_UHS2)
>
> Move all UHS-II definitions into sdhci-uhs2.h. Things that are for V4 but
> not necessarily UHS-II can be in sdhci.h
>
> Make the set_power parameter change into a separate patch
>
> Fix all spelling mistakes
>
> Make comment style correct.
>
> Review all checkpatch warnings and checks (i.e. --strict option)
>
> If possible provide a link to a tree that contains the patches.
>
> Re-base on Ulf's next branch
>
> The patch set could use an overview of how UHS-II is different from regular SD.
>
> In other patches there are a bunch of memory allocations on the I/O path.
> That is a problem. Memory needed should be allocated in advance.
Thanks for your comments and guidance.
There seems to be a lot of work to do. I will do my best to meet these.
Powered by blists - more mailing lists