more info:

>From xen/console/guest-sys-net-dm.log:
[2021-01-09 18:51:45] [00:06.0] xen_pt_realize: Assigning real physical 
device 05:00.0 to devfn 0x30
[2021-01-09 18:51:45] [00:06.0] xen_pt_register_regions: IO region 0 
registered (size=0x00100000 base_addr=0xd2100000 type: 0x4)
[2021-01-09 18:51:45] [00:06.0] xen_pt_config_reg_init: Offset 0x000e 
mismatch! Emulated=0x0080, host=0x0000, syncing to 0x0000.
[2021-01-09 18:51:45] [00:06.0] xen_pt_config_reg_init: Offset 0x0010 
mismatch! Emulated=0x0000, host=0xd2100004, syncing to 0xd2100004.
[2021-01-09 18:51:45] [00:06.0] xen_pt_config_reg_init: Offset 0x0042 
mismatch! Emulated=0x0000, host=0x0003, syncing to 0x0003.
[2021-01-09 18:51:45] [00:06.0] xen_pt_config_reg_init: Offset 0x0074 
mismatch! Emulated=0x0000, host=0x5908fc0, syncing to 0x5908fc0.
[2021-01-09 18:51:45] [00:06.0] xen_pt_config_reg_init: Offset 0x007a 
mismatch! Emulated=0x0000, host=0x0010, syncing to 0x0010.
[2021-01-09 18:51:45] [00:06.0] xen_pt_config_reg_init: Offset 0x0082 
mismatch! Emulated=0x0000, host=0x1012, syncing to 0x1012.
[2021-01-09 18:51:45] [00:06.0] xen_pt_realize: no pin interrupt
[2021-01-09 18:51:45] [00:06.0] xen_pt_realize: Real physical device 
05:00.0 registered successfully



lspci from dom0:

05:00.0 Network controller: Qualcomm Device 1101 (rev 01)
    Subsystem: Rivet Networks Device a501
    Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
    Region 0: Memory at d2100000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit-
        Address: 00000000  Data: 0000
        Masking: 00000000  Pending: 00000000
    Capabilities: [70] Express (v2) Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s 
unlimited, L1 unlimited
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 
10.000W
        DevCtl:    CorrErr- NonFatalErr- FatalErr- UnsupReq-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ 
TransPend-
        LnkCap:    Port #0, Speed 8GT/s, Width x1, ASPM L0s L1, Exit 
Latency L0s <1us, L1 <64us
            ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
        LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 5GT/s (downgraded), Width x1 (ok)
            TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, NROPrPrP-, 
LTR+
             10BitTagComp-, 10BitTagReq-, OBFF Not Supported, ExtFmt-, 
EETLPPrefix-
             EmergencyPowerReduction Not Supported, 
EmergencyPowerReductionInit-
             FRS-, TPHComp+, ExtTPHComp-
             AtomicOpsCap: 32bit- 64bit- 128bitCAS-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF 
Disabled
             AtomicOpsCtl: ReqEn-
        LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
             Transmit Margin: Normal Operating Range, 
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, 
EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, 
LinkEqualizationRequest-
    Capabilities: [100 v2] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ 
MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
        AERCap:    First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- 
ECRCChkCap+ ECRCChkEn-
            MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
        HeaderLog: 00000000 00000000 00000000 00000000
    Capabilities: [148 v1] Secondary PCI Express
        LnkCtl3: LnkEquIntrruptEn-, PerformEqu-
        LaneErrStat: 0
    Capabilities: [158 v1] Transaction Processing Hints
        No steering table available
    Capabilities: [1e4 v1] Latency Tolerance Reporting
        Max snoop latency: 0ns
        Max no snoop latency: 0ns
    Capabilities: [1ec v1] L1 PM Substates
        L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ 
L1_PM_Substates+
              PortCommonModeRestoreTime=70us PortTPowerOnTime=0us
        L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
               T_CommonMode=0us LTR1.2_Threshold=0ns
        L1SubCtl2: T_PwrOn=10us
    Kernel driver in use: pciback
    Kernel modules: ath11k_pci

lspci on sys-net:

00:06.0 Network controller: Qualcomm Device 1101 (rev 01)
    Subsystem: Rivet Networks Device a501
    Physical Slot: 6
    Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
    Region 0: Memory at f2000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [70] Express (v2) Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s 
unlimited, L1 unlimited
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 
10.000W
        DevCtl:    CorrErr- NonFatalErr- FatalErr- UnsupReq-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ 
TransPend-
        LnkCap:    Port #0, Speed 8GT/s, Width x1, ASPM L0s L1, Exit 
Latency L0s <1us, L1 <64us
            ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
        LnkCtl:    ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 5GT/s (downgraded), Width x1 (ok)
            TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
             10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- 
EETLPPrefix-
             EmergencyPowerReduction Not Supported, 
EmergencyPowerReductionInit-
             FRS- TPHComp+ ExtTPHComp-
             AtomicOpsCap: 32bit- 64bit- 128bitCAS-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF 
Disabled,
             AtomicOpsCtl: ReqEn-
        LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- 
EqualizationPhase1-
             EqualizationPhase2- EqualizationPhase3- 
LinkEqualizationRequest-
             Retimer- 2Retimers- CrosslinkRes: unsupported
    Kernel modules: ath11k_pci


On Saturday, January 9, 2021 at 8:37:18 PM UTC-10 Rama McIntosh wrote:

>
> Hi,
>
> Dell soldered  the new AX500 pci card to my motherboard (HCL 
> https://groups.google.com/g/qubes-users/c/Fa65-e8vqdM).
>
> Please let me know if a qubes-issue is a better place to track this.
>
> So when the driver tries to initialize msi:  
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/ath/ath11k/pci.c?h=v5.10.5#n640
>
> It gets -28 in sys-net:
>
> [    5.706045] ath11k_pci 0000:00:06.0: WARNING: ath11k PCI support is 
> experimental!
> [    5.706448] ath11k_pci 0000:00:06.0: BAR 0: assigned [mem 
> 0xf2000000-0xf20fffff 64bit]
> [    5.734248] ath11k_pci 0000:00:06.0: failed to get 32 MSI vectors, only 
> -28 available
> [    5.734289] ath11k_pci 0000:00:06.0: failed to enable msi: -28
> [    5.736589] ath11k_pci: probe of 0000:00:06.0 failed with error -28
>
> The driver works fine in bare metal fedora 33.   I tried permissive and 
> no-strict-reset.   I've been looking at xen and suspect the bug is there.  
> I did notice a patch to fix a intel wifi driver to work with xen.
>
> Any help of what needs fixing would be appreciated.   Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/cfc294b2-362d-4d76-816d-43d29cfe5f42n%40googlegroups.com.

Reply via email to