Re: alpha iommu fixes

David S. Miller (davem@redhat.com)
Mon, 21 May 2001 03:19:54 -0700 (PDT)


David S. Miller writes:
>
> 1) I showed you in a private email that I calculated the
> maximum possible IOMMU space that one could allocate
> to bttv cards in a fully loaded Sunfire sparc64 system
> to be between 300MB and 400MB. This is assuming that
> every PCI slot contained a bttv card, and it still
> used only ~%35 of the available IOMMU resources.

This is totally wrong in two ways.

Let me fix this, the IOMMU on these machines is per PCI bus, so this
figure should be drastically lower.

Electrically (someone correct me, I'm probably wrong) PCI is limited
to 6 physical plug-in slots I believe, let's say it's 8 to choose an
arbitrary larger number to be safe.

Then we have:

max bytes per bttv: max_gbuffers * max_gbufsize
64 * 0x208000 == 133.12MB

133.12MB * 8 PCI slots == ~1.06 GB

Which is still only half of the total IOMMU space available per
controller.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/