Jeff Garzik wrote:
Kuan Luo wrote:
@@ -1714,3 +2761,6 @@ module_init(nv_init);
module_exit(nv_exit);
module_param_named(adma, adma_enabled, bool, 0444);
MODULE_PARM_DESC(adma, "Enable use of ADMA (Default: true)");
+module_param_named(ncq, ncq_enabled, bool, 0444);
+MO
Kuan Luo wrote:
@@ -1714,3 +2761,6 @@ module_init(nv_init);
module_exit(nv_exit);
module_param_named(adma, adma_enabled, bool, 0444);
MODULE_PARM_DESC(adma, "Enable use of ADMA (Default: true)");
+module_param_named(ncq, ncq_enabled, bool, 0444);
Hi,
Jeff Garzik írta:
Alan Cox wrote:
That shouldn't be a problem, libata default DMA mask is 32 bits
(which isn't overridden with this controller) and so the block layer
will bounce any data being read/written above that point with IOMMU
or swiotlb. The comment is a bit unnecessarily scary.
Kuan Luo wrote:
Thanks for your comment, see the explaination inline.
We'll apply your advice in later patch.
...
Please don't duplicate this code in the driver, this is part of libata
core in libata-scsi.c. Add an export for these functions if you need to
use them in the driver.
[kuan]: Th
On Fri, 18 May 2007 10:34:35 -0400
Jeff Garzik <[EMAIL PROTECTED]> wrote:
> Alan Cox wrote:
> >> That shouldn't be a problem, libata default DMA mask is 32 bits (which
> >> isn't overridden with this controller) and so the block layer will
> >> bounce any data being read/written above that point
Alan Cox wrote:
That shouldn't be a problem, libata default DMA mask is 32 bits (which
isn't overridden with this controller) and so the block layer will
bounce any data being read/written above that point with IOMMU or
swiotlb. The comment is a bit unnecessarily scary.
Adding a BUG_ON for th
> That shouldn't be a problem, libata default DMA mask is 32 bits (which
> isn't overridden with this controller) and so the block layer will
> bounce any data being read/written above that point with IOMMU or
> swiotlb. The comment is a bit unnecessarily scary.
Adding a BUG_ON for this would b
n Luo; [EMAIL PROTECTED]
Subject: Re: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for
MCP51/MCP55/MCP61
Peer Chen wrote:
> Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA
> controller.
>
> This patch base on sata_nv.c file from kernel 2.6.22-rc1
>
>
Zoltan Boszormenyi wrote:
Hi,
thanks for publishing this.
Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA
controller.
This patch base on sata_nv.c file from kernel 2.6.22-rc1
See attachment for the patch.
Signed-off-by: Kuan Luo <[EMAIL PROTECTED]>
Signed-off-by: Peer C
Peer Chen wrote:
Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA
controller.
This patch base on sata_nv.c file from kernel 2.6.22-rc1
See attachment for the patch.
Signed-off-by: Kuan Luo <[EMAIL PROTECTED]>
Signed-off-by: Peer Chen <[EMAIL PROTECTED]>
Good to finally s
On May 17 2007 13:17, Andrew Morton wrote:
>> @@ -2115,7 +2115,7 @@ static void nv_fill_sg(struct ata_queued
>> WARN_ON(qc->__sg == NULL);
>> WARN_ON(qc->n_elem == 0 && qc->pad_len == 0);
>>
>> -prd = (struct ata_prd*)((u64)pp->prd + ATA_PRD_TBL_SZ*qc->tag);
>> +prd = pp->prd +
Hi,
thanks for publishing this.
Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA
controller.
This patch base on sata_nv.c file from kernel 2.6.22-rc1
See attachment for the patch.
Signed-off-by: Kuan Luo <[EMAIL PROTECTED]>
Signed-off-by: Peer Chen <[EMAIL PROTECTED]>
===
On Thu, 17 May 2007 13:12:35 -0700
Andrew Morton <[EMAIL PROTECTED]> wrote:
> The patch generates warnings:
>
> drivers/ata/sata_nv.c:2118: warning: cast from pointer to integer of
> different size
> drivers/ata/sata_nv.c:2118: warning: cast to pointer from integer of
> different size
>
> due
On Thu, 17 May 2007 18:15:45 +0800
"Peer Chen" <[EMAIL PROTECTED]> wrote:
> Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA
> controller.
>
> This patch base on sata_nv.c file from kernel 2.6.22-rc1
>
> See attachment for the patch.
>
> Signed-off-by: Kuan Luo <[EMAIL PROT
Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA
controller.
This patch base on sata_nv.c file from kernel 2.6.22-rc1
See attachment for the patch.
Signed-off-by: Kuan Luo <[EMAIL PROTECTED]>
Signed-off-by: Peer Chen <[EMAIL PROTECTED]>
==
See
15 matches
Mail list logo