Skip to contentSkip to conversation

octeon disable SWIOTLB

DISCUSSION [email protected] 3 participants 3 messages Feb 25, 2015 – Feb 26, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,

Back in 2010 you made CONFIG_SWIOTLB mandatory (commit b93b2a). This prevents the Continuous memory allocation from being enabled. Would you be willing to accept a patch which allows this option to be disabled if CONFIG_EXPERT is set? I suspect some users of Octeon can review their hardware to be sure it's save to do.

Daniel

#1 lore raw
Quoted 5 lines · On 02/25/2015 06:41 AM, [email protected] wrote:

Hi,

Back in 2010 you made CONFIG_SWIOTLB mandatory (commit b93b2a). This prevents the Continuous memory allocation from being enabled. Would you be willing to accept a patch which allows this option to be disabled if CONFIG_EXPERT is set?

Ralf has the final say, so it really is not up to me.

That said, any patch that improves the flexibility of the kernel without adversely effecting reliability and correctness would be welcome.

Quoted 6 lines

I suspect some users of Octeon can
review their hardware to be sure it's save to do.

Daniel

#2 lore raw
Quoted 10 lines · David Daney
Quoted 5 lines

Back in 2010 you made CONFIG_SWIOTLB mandatory (commit b93b2a). This prevents the Continuous
memory allocation from being enabled. Would you be willing to accept a patch which allows
this option to be disabled if CONFIG_EXPERT is set?

Ralf has the final say, so it really is not up to me.

That said, any patch that improves the flexibility of the kernel without adversely effecting reliability and correctness would be welcome.

So how's DMA to/from 64-bit memory supposed to be handled then for 32-bit
PCI option cards that don't support DAC by systems that use continuous memory allocation (whatever that is)? Is that a bug in continuous memory allocation support?

Maciej