Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-14 Thread Chris Metcalf
On 8/13/2013 4:30 PM, Bjorn Helgaas wrote: > [+cc James in case he has opinions on the DMA mask question] > > On Tue, Aug 13, 2013 at 10:12 AM, Chris Metcalf wrote: >> (Trimming the quoted material a little to try to keep this email under >> control.) >> >> On 8/12/2013 4:42 PM, Bjorn Helgaas

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-14 Thread Chris Metcalf
On 8/13/2013 4:30 PM, Bjorn Helgaas wrote: [+cc James in case he has opinions on the DMA mask question] On Tue, Aug 13, 2013 at 10:12 AM, Chris Metcalf cmetc...@tilera.com wrote: (Trimming the quoted material a little to try to keep this email under control.) On 8/12/2013 4:42 PM, Bjorn

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-13 Thread James Bottomley
On Tue, 2013-08-13 at 14:30 -0600, Bjorn Helgaas wrote: > [+cc James in case he has opinions on the DMA mask question] > > On Tue, Aug 13, 2013 at 10:12 AM, Chris Metcalf wrote: > > (Trimming the quoted material a little to try to keep this email under > > control.) > > > > On 8/12/2013 4:42

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-13 Thread Bjorn Helgaas
[+cc James in case he has opinions on the DMA mask question] On Tue, Aug 13, 2013 at 10:12 AM, Chris Metcalf wrote: > (Trimming the quoted material a little to try to keep this email under > control.) > > On 8/12/2013 4:42 PM, Bjorn Helgaas wrote: >> On Mon, Aug 12, 2013 at 1:42 PM, Chris

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-13 Thread Chris Metcalf
(Trimming the quoted material a little to try to keep this email under control.) On 8/12/2013 4:42 PM, Bjorn Helgaas wrote: > On Mon, Aug 12, 2013 at 1:42 PM, Chris Metcalf wrote: >> On 8/9/2013 6:42 PM, Bjorn Helgaas wrote: >>> OK, so physical memory in the [3GB,4GB] range is unreachable via

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-13 Thread Chris Metcalf
(Trimming the quoted material a little to try to keep this email under control.) On 8/12/2013 4:42 PM, Bjorn Helgaas wrote: On Mon, Aug 12, 2013 at 1:42 PM, Chris Metcalf cmetc...@tilera.com wrote: On 8/9/2013 6:42 PM, Bjorn Helgaas wrote: OK, so physical memory in the [3GB,4GB] range is

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-13 Thread Bjorn Helgaas
[+cc James in case he has opinions on the DMA mask question] On Tue, Aug 13, 2013 at 10:12 AM, Chris Metcalf cmetc...@tilera.com wrote: (Trimming the quoted material a little to try to keep this email under control.) On 8/12/2013 4:42 PM, Bjorn Helgaas wrote: On Mon, Aug 12, 2013 at 1:42

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-13 Thread James Bottomley
On Tue, 2013-08-13 at 14:30 -0600, Bjorn Helgaas wrote: [+cc James in case he has opinions on the DMA mask question] On Tue, Aug 13, 2013 at 10:12 AM, Chris Metcalf cmetc...@tilera.com wrote: (Trimming the quoted material a little to try to keep this email under control.) On 8/12/2013

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-12 Thread Bjorn Helgaas
On Mon, Aug 12, 2013 at 1:42 PM, Chris Metcalf wrote: > On 8/9/2013 6:42 PM, Bjorn Helgaas wrote: >> On Thu, Aug 08, 2013 at 12:47:10PM -0400, Chris Metcalf wrote: >>> On 8/6/2013 1:48 PM, Bjorn Helgaas wrote: [+cc Myron, Adam] On Fri, Aug 2, 2013 at 10:24 AM, Chris Metcalf wrote:

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-12 Thread Chris Metcalf
(Oops, resending without the helpful [SPAM] marker that our mail system appears to have injected into the subject line.) On 8/9/2013 6:42 PM, Bjorn Helgaas wrote: > On Thu, Aug 08, 2013 at 12:47:10PM -0400, Chris Metcalf wrote: >> On 8/6/2013 1:48 PM, Bjorn Helgaas wrote: >>> [+cc Myron, Adam]

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-12 Thread Chris Metcalf
(Oops, resending without the helpful [SPAM] marker that our mail system appears to have injected into the subject line.) On 8/9/2013 6:42 PM, Bjorn Helgaas wrote: On Thu, Aug 08, 2013 at 12:47:10PM -0400, Chris Metcalf wrote: On 8/6/2013 1:48 PM, Bjorn Helgaas wrote: [+cc Myron, Adam] On

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-12 Thread Bjorn Helgaas
On Mon, Aug 12, 2013 at 1:42 PM, Chris Metcalf cmetc...@tilera.com wrote: On 8/9/2013 6:42 PM, Bjorn Helgaas wrote: On Thu, Aug 08, 2013 at 12:47:10PM -0400, Chris Metcalf wrote: On 8/6/2013 1:48 PM, Bjorn Helgaas wrote: [+cc Myron, Adam] On Fri, Aug 2, 2013 at 10:24 AM, Chris Metcalf

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-09 Thread Bjorn Helgaas
On Thu, Aug 08, 2013 at 12:47:10PM -0400, Chris Metcalf wrote: > On 8/6/2013 1:48 PM, Bjorn Helgaas wrote: > > [+cc Myron, Adam] > > > > On Fri, Aug 2, 2013 at 10:24 AM, Chris Metcalf wrote: > >> According to LSI, > >> the firmware is not fully functional yet. This change implements a > >> kind

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-09 Thread Bjorn Helgaas
On Thu, Aug 08, 2013 at 12:47:10PM -0400, Chris Metcalf wrote: On 8/6/2013 1:48 PM, Bjorn Helgaas wrote: [+cc Myron, Adam] On Fri, Aug 2, 2013 at 10:24 AM, Chris Metcalf cmetc...@tilera.com wrote: According to LSI, the firmware is not fully functional yet. This change implements a

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-06 Thread Bjorn Helgaas
[+cc Myron, Adam] On Fri, Aug 2, 2013 at 10:24 AM, Chris Metcalf wrote: > The LSI MEGARAID SAS HBA suffers from the problem where it can do > 64-bit DMA to streaming buffers but not to consistent buffers. > In other words, 64-bit DMA is used for disk data transfers and 32-bit > DMA must be used

[PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-06 Thread Chris Metcalf
The LSI MEGARAID SAS HBA suffers from the problem where it can do 64-bit DMA to streaming buffers but not to consistent buffers. In other words, 64-bit DMA is used for disk data transfers and 32-bit DMA must be used for control message transfers. According to LSI, the firmware is not fully

[PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-06 Thread Chris Metcalf
The LSI MEGARAID SAS HBA suffers from the problem where it can do 64-bit DMA to streaming buffers but not to consistent buffers. In other words, 64-bit DMA is used for disk data transfers and 32-bit DMA must be used for control message transfers. According to LSI, the firmware is not fully

Re: [PATCH v2] tile: support LSI MEGARAID SAS HBA hybrid dma_ops

2013-08-06 Thread Bjorn Helgaas
[+cc Myron, Adam] On Fri, Aug 2, 2013 at 10:24 AM, Chris Metcalf cmetc...@tilera.com wrote: The LSI MEGARAID SAS HBA suffers from the problem where it can do 64-bit DMA to streaming buffers but not to consistent buffers. In other words, 64-bit DMA is used for disk data transfers and 32-bit