lkml.org 
[lkml]   [2011]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC][PATCH] bcmai: introduce AI driver
    Date
    From
    On Thu, 07 Apr 2011 09:54:46 +0200, Michael Büsch <mb@bu3sch.de> wrote:

    >> Ahh, so while talking about 4 windows, I guess you counted fixes
    >> windows as well. That would be right, matching my knowledge.
    >>
    >> When asking question about amount of cores we may want to use
    >> simultaneously I didn't think about ChipCommon or PCIe. The real
    >> problem would be to support for example two 802.11 cores and one
    >> ethernet core at the same time. That gives us 3 cores while we have
    >> only 2 sliding windows.
    >
    > Would that really be a problem? Think of it. This combination
    > will only be available on embedded devices. But do we have windows
    > on embedded devices? I guess not. If AXI is similar to SSB, the MMIO
    > of all cores will always be mapped. So accesses can be done
    > without switch or lock.

    Agree. For embedded systems there is no need to switch cores. Each core
    register space and wrapper register space is mapped. In the brcm80211 we
    have the concept of fast versus slow host interface. The criteria for fast
    host interface is based on following expression:

    fast_host_bus = (host_bus_coretype == PCIE_CORE_ID) ||
    ((host_bus_coretype == PCI_CORE_ID) && (host_bus_corerev >= 13))

    If this is true, chipcommon and pci/pcie registers are accessed without
    sliding the window using the fixed offsets Rafał mentioned earlier. The
    BAR0 window size is 16KB.

    > I do really think that engineers at broadcom are clever enough
    > to design a hardware that does not require expensive window sliding
    > all the time while operating.
    >

    If a bigger window is clever enough ;-)

    Gr. AvS
    --
    "The most merciful thing in the world, I think, is the inability of the
    human
    mind to correlate all its contents." - "The Call of Cthulhu"

    --
    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/

    \
     
     \ /
      Last update: 2011-04-07 22:53    [W:4.601 / U:1.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site