• A
    spapr_pci: Allow multiple TCE tables per PHB · e28c16f6
    Alexey Kardashevskiy 提交于
    At the moment sPAPRPHBState contains a @tcet pointer to the only
    TCE table. However sPAPR spec allows having more than one DMA window.
    
    Since the TCE object is already a child of SPAPR PHB object, there is
    no need to keep an additional pointer to it in sPAPRPHBState so remove it.
    
    This changes the way sPAPRPHBState::reset performs reset of sPAPRTCETable
    objects.
    
    This changes the default DMA window properties calculation.
    Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    e28c16f6
spapr_pci.c 29.7 KB