Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605440

Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx and cnf7xxx

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx and cnf7xxx
Date 2017-03-21 10:00 +0100
Message-ID <tnnO2-Sm-11@gated-at.bofh.it> (permalink)
References <tjsMh-4Ar-9@gated-at.bofh.it> <tjsMi-4Ar-35@gated-at.bofh.it> <tm13b-7Il-9@gated-at.bofh.it> <tnnO2-Sm-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 20, 2017 at 9:45 PM, David Daney <ddaney@caviumnetworks.com> wrote:
> On 03/17/2017 07:13 AM, Ulf Hansson wrote:
>> My point is really that we should avoid exporting SoC specific APIs
>> which shall be called from drivers. This is old fashion.
>
>
> Some people find it objectionable to see 1-off architecture specific in-line
> asm in a driver file, but I agree that putting it as close to the user as
> possible makes sense.

The proper solution might be to create an architecture independent interface
for it, what it is that the function does. Can you explain what the purpose
of locking/unlocking the cache line for MMC is? Is this something that
could be done more generally in the dma_map_ops implementation?

     Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx  and cnf7xxx Ulf Hansson <ulf.hansson@linaro.org> - 2017-03-17 15:30 +0100
  Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx  and cnf7xxx Arnd Bergmann <arnd@arndb.de> - 2017-03-20 22:50 +0100
  Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx  and cnf7xxx Arnd Bergmann <arnd@arndb.de> - 2017-03-21 10:00 +0100
    Re: [PATCH v12 4/9] mmc: cavium: Work-around hardware bug on cn6xxx  and cnf7xxx Arnd Bergmann <arnd@arndb.de> - 2017-03-21 20:50 +0100

csiph-web