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


Groups > linux.kernel > #1347978

Re: [RFC PATCH] drivers: ata: Read Rx water mark value from device-tree

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] drivers: ata: Read Rx water mark value from device-tree
Date 2016-03-02 12:50 +0100
Message-ID <r8drY-71N-29@gated-at.bofh.it> (permalink)
References <r4fVo-6q6-27@gated-at.bofh.it> <r8b6N-5Co-9@gated-at.bofh.it> <r8bgu-5FN-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 02 March 2016 10:27:51 Michal Simek wrote:
> 
> No problem with default value in driver. Something has to be setup.
> Reset value based on reg spec I was checking is 0x20. Based on our
> testing we saw some issues that's why 0x40 was setup as default value.
> There is a need to be able to configure this value for example for
> testing different values that's why I think module parameter should be
> the right way to go.

I don't object to the module parameter, but I don't understand how important
that kind of testing is to normal users. Who would set it, aside from
the person writing that driver to come up with the correct default?

> If this should be DT parameters there should be different ceva IP which
> allows different fifo size and different watermark level to be setup by
> user.
> 
> What do you think? Does it sound reasonable.

Having a property for the actual hardware fifo size once you get
different implementations seems like the correct approach, but it's
moot as long as all implementations are hardwired to 128 entries.

	Arnd

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


Thread

RE: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com> - 2016-02-23 07:20 +0100
  Re: [RFC PATCH] drivers: ata: Read Rx water mark value from device-tree Arnd Bergmann <arnd@arndb.de> - 2016-02-23 11:30 +0100
    RE: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com> - 2016-02-23 16:40 +0100
      Re: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Rob Herring <robh@kernel.org> - 2016-02-23 20:30 +0100
        RE: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com> - 2016-02-26 14:50 +0100
        RE: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com> - 2016-03-02 07:10 +0100
          Re: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Michal Simek <michal.simek@xilinx.com> - 2016-03-02 09:10 +0100
            Re: [RFC PATCH] drivers: ata: Read Rx water mark value from device-tree Arnd Bergmann <arnd@arndb.de> - 2016-03-02 10:20 +0100
              Re: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Michal Simek <michal.simek@xilinx.com> - 2016-03-02 10:30 +0100
                Re: [RFC PATCH] drivers: ata: Read Rx water mark value from device-tree Arnd Bergmann <arnd@arndb.de> - 2016-03-02 12:50 +0100
                Re: [RFC PATCH] drivers: ata: Read Rx water mark value from  device-tree Michal Simek <michal.simek@xilinx.com> - 2016-03-02 13:10 +0100

csiph-web