[lkml]   [2007]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2.6.21-rc5] MSI: read-flush MSI-X table
"Williams, Mitch A" <> writes:

> Grant Grundler wrote:
>>Why wouldn't MSI have the same problems as MSI-X?
> Because enabling and disabling the MSI interrupt is done through
> config space, and config space writes are not posted. So we won't
> see the problem that we do with MSI-X.

Normally this is true. However when we have memory mapped pci config
space the writes could very easily be posted. Even if there aren't
any Intel platforms that do it today other architectures might.

The more I think about this the more I think we should make mask and
unmask do the read and set enable/disable to mask/unmask in the msi

Ugh. Looking closer the function should really be called msi_flush
or msi_flush_writes not msix_flush_writes.

William do you think you can fix any of that up?
That is name the function msi_flush_writes and call it from

I think being a little more paranoid will result in slightly simpler
more maintainable code, and not measurably affect performance. I
don't expect you are migrating irqs in a fast path.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-03-27 18:05    [W:0.038 / U:15.480 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site