linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "saeed bishara" <saeed.bishara@gmail.com>
To: Mark Lord <liml@rtr.ca>
Cc: Jeff Garzik <jgarzik@pobox.com>, Tejun Heo <htejun@gmail.com>,
	Saeed Bishara <saeed@marvell.com>,
	"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: [PATCH 0/2] [libata] sata_mv: Add support for Marvell's integrated SATA controller
Date: Thu, 13 Dec 2007 18:04:02 +0200	[thread overview]
Message-ID: <c70ff3ad0712130804h6634612ct3e1c5415f01852de@mail.gmail.com> (raw)
In-Reply-To: <47614EC6.2090004@rtr.ca>

>
> I really think that a lot of the new variable/macro/enum names are overly long,
> making the code a bit harder to read.
> The patch is all about "System On Chip (SOC)" support,
> yet the names all say "INTEGRATED".
well, many socs have SATA or Ethernet controllers as pci controller,
but in this case, the sata controller has been integrated into the soc
by cutting the pci interface and connecting the sata core directly to
the soc's bus. so I though that the "integrated" well show this fact.

>
> How about changing "INTEGRATED" to "SOC", and "integrated" to "soc" everywhere ?
>
> The mv_integrated_reset_hc_port() (or mv_soc_reset_hc_port()) function
> seems to be a duplicate of the existing mv5_reset_hc_port() function.
except the line that writes to the EDMA_CFG_OFS register (101f vs
11f). also , I think that in the future the the integrated/soc variant
will have more register that does not exist in mv5 to reset.

BTW, the mv5_sht and mv6_sht are identical, are there any plans to
modify any or them?

> The new fields in the mv_host_priv struct are __iomem pointers
> rather than offsets as was done for similar fields in the past
> (offsets take up less space on 64-bit machines).
> We should be consistent there, one way or the other.
well, as those registers get access in the main flow (data commands),
preparing the final address will save some runtime calculations. so,
it's the speed vs memory tradeoff. I think speed should be preferred.
agree?
>
> Cheers
>
> Mark

  parent reply	other threads:[~2007-12-13 16:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-02 15:26 [PATCH 0/2] [libata] sata_mv: Add support for Marvell's integrated SATA controller saeed.bishara
2007-12-02 15:26 ` [PATCH 1/2] [libata] sata_mv: Remove PCI dependency saeed.bishara
2007-12-02 15:26   ` [PATCH 2/2] [libata] sata_mv: Support integrated controllers saeed.bishara
2007-12-02 22:51     ` Mark Lord
2007-12-03  7:46       ` saeed bishara
2007-12-04  8:59         ` saeed bishara
2007-12-03 19:18       ` Jeff Garzik
2007-12-04  9:07   ` [PATCH 1/2] [libata] sata_mv: Remove PCI dependency saeed bishara
2007-12-05 12:11   ` saeed bishara
     [not found] ` <c70ff3ad0712130613j4b856533idb3dacdf36cee256@mail.gmail.com>
     [not found]   ` <47614EC6.2090004@rtr.ca>
2007-12-13 16:04     ` saeed bishara [this message]
2007-12-13 16:30       ` [PATCH 0/2] [libata] sata_mv: Add support for Marvell's integrated SATA controller Mark Lord
  -- strict thread matches above, loose matches on Subject: below --
2007-12-02 15:43 saeed.bishara

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=c70ff3ad0712130804h6634612ct3e1c5415f01852de@mail.gmail.com \
    --to=saeed.bishara@gmail.com \
    --cc=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=saeed@marvell.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).