tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Why NetBSD x86's bus_space_barrier does not use [sml]fence?



On 2019/12/02 15:48, s ymgch wrote:
> I'm re-sending the last mail because I forgot to set ML addresses to
> destination e-mail address.
> 
> 2019年12月2日(月) 12:53 s ymgch <s.ymgch228%gmail.com@localhost>:
>>
>> 2019年12月1日(日) 2:08 Taylor R Campbell <campbell+netbsd-tech-kern%mumble.net@localhost>:
>>>>> Are you using BUS_SPACE_MAP_PREFETCHABLE?
>>>>
>>>> No, the driver does not use it.
>>>
>>> And it doesn't use mtrrs or BUS_SPACE_MAP_CACHEABLE either, right?
>>
>> I had a misunderstanding. The driver uses BUS_SPACE_MAP_PREFETCHABLE
>> specified in PCI configuration space.

This is well known pitfall:

	http://mail-index.netbsd.org/tech-kern/2017/03/22/msg021678.html

I think we should change pci_mapreg_map().


>>>
>>> Just to be sure, can you run
>>> <https://www.NetBSD.org/~jmcneill/old/mtrr.c> to confirm there are no
>>> mtrrs on the system affecting the bus space region in question?
>>
>> # ./mtrr
>> MTRR (96)
>> ----
>>
>> 00:                0 -             ffff type wb flags valid, fixed
>> 01:            10000 -            1ffff type wb flags valid, fixed
>> 02:            20000 -            2ffff type wb flags valid, fixed
>> 03:            30000 -            3ffff type wb flags valid, fixed
>> 04:            40000 -            4ffff type wb flags valid, fixed
>> 05:            50000 -            5ffff type wb flags valid, fixed
>> 06:            60000 -            6ffff type wb flags valid, fixed
>> 07:            70000 -            7ffff type wb flags valid, fixed
>> 08:            80000 -            83fff type wb flags valid, fixed
>> 09:            84000 -            87fff type wb flags valid, fixed
>> 10:            88000 -            8bfff type wb flags valid, fixed
>> 11:            8c000 -            8ffff type wb flags valid, fixed
>> 12:            90000 -            93fff type wb flags valid, fixed
>> 13:            94000 -            97fff type wb flags valid, fixed
>> 14:            98000 -            9bfff type wb flags valid, fixed
>> 15:            9c000 -            9ffff type wb flags valid, fixed
>> 16:            a0000 -            a3fff type uc flags valid, fixed
>> 17:            a4000 -            a7fff type uc flags valid, fixed
>> 18:            a8000 -            abfff type uc flags valid, fixed
>> 19:            ac000 -            affff type uc flags valid, fixed
>> 20:            b0000 -            b3fff type uc flags valid, fixed
>> 21:            b4000 -            b7fff type uc flags valid, fixed
>> 22:            b8000 -            bbfff type uc flags valid, fixed
>> 23:            bc000 -            bffff type uc flags valid, fixed
>> 24:            c0000 -            c0fff type wp flags valid, fixed
>> 25:            c1000 -            c1fff type wp flags valid, fixed
>> 26:            c2000 -            c2fff type wp flags valid, fixed
>> 27:            c3000 -            c3fff type wp flags valid, fixed
>> 28:            c4000 -            c4fff type wp flags valid, fixed
>> 29:            c5000 -            c5fff type wp flags valid, fixed
>> 30:            c6000 -            c6fff type wp flags valid, fixed
>> 31:            c7000 -            c7fff type wp flags valid, fixed
>> 32:            c8000 -            c8fff type wp flags valid, fixed
>> 33:            c9000 -            c9fff type wp flags valid, fixed
>> 34:            ca000 -            cafff type wp flags valid, fixed
>> 35:            cb000 -            cbfff type wp flags valid, fixed
>> 36:            cc000 -            ccfff type wp flags valid, fixed
>> 37:            cd000 -            cdfff type wp flags valid, fixed
>> 38:            ce000 -            cefff type wp flags valid, fixed
>> 39:            cf000 -            cffff type wp flags valid, fixed
>> 40:            d0000 -            d0fff type wp flags valid, fixed
>> 41:            d1000 -            d1fff type wp flags valid, fixed
>> 42:            d2000 -            d2fff type wp flags valid, fixed
>> 43:            d3000 -            d3fff type wp flags valid, fixed
>> 44:            d4000 -            d4fff type wp flags valid, fixed
>> 45:            d5000 -            d5fff type wp flags valid, fixed
>> 46:            d6000 -            d6fff type wp flags valid, fixed
>> 47:            d7000 -            d7fff type wp flags valid, fixed
>> 48:            d8000 -            d8fff type wp flags valid, fixed
>> 49:            d9000 -            d9fff type wp flags valid, fixed
>> 50:            da000 -            dafff type wp flags valid, fixed
>> 51:            db000 -            dbfff type wp flags valid, fixed
>> 52:            dc000 -            dcfff type wp flags valid, fixed
>> 53:            dd000 -            ddfff type wp flags valid, fixed
>> 54:            de000 -            defff type wp flags valid, fixed
>> 55:            df000 -            dffff type wp flags valid, fixed
>> 56:            e0000 -            e0fff type wp flags valid, fixed
>> 57:            e1000 -            e1fff type wp flags valid, fixed
>> 58:            e2000 -            e2fff type wp flags valid, fixed
>> 59:            e3000 -            e3fff type wp flags valid, fixed
>> 60:            e4000 -            e4fff type wp flags valid, fixed
>> 61:            e5000 -            e5fff type wp flags valid, fixed
>> 62:            e6000 -            e6fff type wp flags valid, fixed
>> 63:            e7000 -            e7fff type wp flags valid, fixed
>> 64:            e8000 -            e8fff type wp flags valid, fixed
>> 65:            e9000 -            e9fff type wp flags valid, fixed
>> 66:            ea000 -            eafff type wp flags valid, fixed
>> 67:            eb000 -            ebfff type wp flags valid, fixed
>> 68:            ec000 -            ecfff type wp flags valid, fixed
>> 69:            ed000 -            edfff type wp flags valid, fixed
>> 70:            ee000 -            eefff type wp flags valid, fixed
>> 71:            ef000 -            effff type wp flags valid, fixed
>> 72:            f0000 -            f0fff type wp flags valid, fixed
>> 73:            f1000 -            f1fff type wp flags valid, fixed
>> 74:            f2000 -            f2fff type wp flags valid, fixed
>> 75:            f3000 -            f3fff type wp flags valid, fixed
>> 76:            f4000 -            f4fff type wp flags valid, fixed
>> 77:            f5000 -            f5fff type wp flags valid, fixed
>> 78:            f6000 -            f6fff type wp flags valid, fixed
>> 79:            f7000 -            f7fff type wp flags valid, fixed
>> 80:            f8000 -            f8fff type wp flags valid, fixed
>> 81:            f9000 -            f9fff type wp flags valid, fixed
>> 82:            fa000 -            fafff type wp flags valid, fixed
>> 83:            fb000 -            fbfff type wp flags valid, fixed
>> 84:            fc000 -            fcfff type wp flags valid, fixed
>> 85:            fd000 -            fdfff type wp flags valid, fixed
>> 86:            fe000 -            fefff type wp flags valid, fixed
>> 87:            ff000 -            fffff type wp flags valid, fixed
>> 88:         c0000000 -         ffffffff type uc flags valid
>> 89:                0 - ffffffffffffffff type uc flags invalid
>> 90:                0 - ffffffffffffffff type uc flags invalid
>> 91:                0 - ffffffffffffffff type uc flags invalid
>> 92:                0 - ffffffffffffffff type uc flags invalid
>> 93:                0 - ffffffffffffffff type uc flags invalid
>> 94:                0 - ffffffffffffffff type uc flags invalid
>> 95:                0 - ffffffffffffffff type uc flags invalid
>> #
>>
>> 2019年12月1日(日) 2:18 Andrew Doran <ad%netbsd.org@localhost>:
>>>
>>> Hi,
>>>
>>> I assume this is a PCI device.  Could you please dump the device's
>>> configuration registers for us with "pcictl dump"?
>>
>> # pcictl pci0 dump -b 5 -d 0 -f 1
>> PCI configuration registers:
>>   Common header:
>>     0x00: 0x15898086 0x00100006 0x02000001 0x00800010
>>
>>     Vendor Name: Intel (0x8086)
>>     Device Name: X710-T4 10GbaseT (0x1589)
>>     Command register: 0x0006
>>       I/O space accesses: off
>>       Memory space accesses: on
>>       Bus mastering: on
>>       Special cycles: off
>>       MWI transactions: off
>>       Palette snooping: off
>>       Parity error checking: off
>>       Address/data stepping: off
>>       System error (SERR): off
>>       Fast back-to-back transactions: off
>>       Interrupt disable: off
>>     Status register: 0x0010
>>       Immediate Readiness: off
>>       Interrupt status: inactive
>>       Capability List support: on
>>       66 MHz capable: off
>>       User Definable Features (UDF) support: off
>>       Fast back-to-back capable: off
>>       Data parity error detected: off
>>       DEVSEL timing: fast (0x0)
>>       Slave signaled Target Abort: off
>>       Master received Target Abort: off
>>       Master received Master Abort: off
>>       Asserted System Error (SERR): off
>>       Parity error detected: off
>>     Class Name: network (0x02)
>>     Subclass Name: ethernet (0x00)
>>     Interface: 0x00
>>     Revision ID: 0x01
>>     BIST: 0x00
>>     Header Type: 0x00+multifunction (0x80)
>>     Latency Timer: 0x00
>>     Cache Line Size: 64bytes (0x10)
>>
>>   Type 0 ("normal" device) header:
>>     0x10: 0xf600000c 0x00000000 0x00000000 0xf881000c
>>     0x20: 0x00000000 0x00000000 0x00000000 0x00008086
>>     0x30: 0xfb700000 0x00000040 0x00000000 0x0000010b
>>
>>     Base address register at 0x10
>>       type: 64-bit prefetchable memory
>>       base: 0x00000000f6000000
>>     Base address register at 0x18
>>       not implemented
>>     Base address register at 0x1c
>>       type: 64-bit prefetchable memory
>>       base: 0x00000000f8810000
>>     Base address register at 0x24
>>       not implemented
>>     Cardbus CIS Pointer: 0x00000000
>>     Subsystem vendor ID: 0x8086
>>     Subsystem ID: 0x0000
>>     Expansion ROM Base Address Register: 0xfb700000
>>       base: 0xfb700000
>>       Expansion ROM Enable: off
>>       Validation Status: Validation not supported
>>       Validation Details: 0x0
>>     Capability list pointer: 0x40
>>     Reserved @ 0x38: 0x00000000
>>     Maximum Latency: 0x00
>>     Minimum Grant: 0x00
>>     Interrupt pin: 0x01 (pin A)
>>     Interrupt line: 0x0b
>>
>>   Capability register at 0x40
>>     type: 0x01 (Power Management)
>>   Capability register at 0x50
>>     type: 0x05 (MSI)
>>   Capability register at 0x70
>>     type: 0x11 (MSI-X)
>>   Capability register at 0xa0
>>     type: 0x10 (PCI Express)
>>   Capability register at 0xe0
>>     type: 0x03 (VPD)
>>
>>   PCI Power Management Capabilities Register
>>     Capabilities register: 0xc823
>>       Version: 1.2
>>       PME# clock: off
>>       Device specific initialization: on
>>       3.3V auxiliary current: self-powered
>>       D1 power management state support: off
>>       D2 power management state support: off
>>       PME# support D0: on
>>       PME# support D1: off
>>       PME# support D2: off
>>       PME# support D3 hot: on
>>       PME# support D3 cold: on
>>     Control/status register: 0x00002008
>>       Power state: D0
>>       PCI Express reserved: off
>>       No soft reset: on
>>       PME# assertion: disabled
>>       Data Select: 0
>>       Data Scale: 1
>>       PME# status: off
>>     Bridge Support Extensions register: 0x00
>>       B2/B3 support: off
>>       Bus Power/Clock Control Enable: off
>>     Data register: 0x00
>>
>>   PCI Message Signaled Interrupt
>>     Message Control register: 0x0180
>>       MSI Enabled: off
>>       Multiple Message Capable: no (1 vector)
>>       Multiple Message Enabled: off (1 vector)
>>       64 Bit Address Capable: on
>>       Per-Vector Masking Capable: on
>>       Extended Message Data Capable: off
>>       Extended Message Data Enable: off
>>     Message Address (lower) register: 0x00000000
>>     Message Address (upper) register: 0x00000000
>>     Message Data register: 0x0000
>>     Vector Mask register: 0x00000000
>>     Vector Pending register: 0x00000000
>>
>>   PCI Express Capabilities Register
>>     Capability register: 0x0002
>>       Capability version: 2
>>       Device type: PCI Express Endpoint device
>>       Slot implemented: off
>>       Interrupt Message Number: 0x00
>>     Device Capabilities Register: 0x10008ce4
>>       Max Payload Size Supported: 2048 bytes max
>>       Phantom Functions Supported: not available
>>       Extended Tag Field Supported: 8bit
>>       Endpoint L0 Acceptable Latency: 256ns to less than 512ns
>>       Endpoint L1 Acceptable Latency: 32us - 64us
>>       Attention Button Present: off
>>       Attention Indicator Present: off
>>       Power Indicator Present: off
>>       Role-Based Error Report: on
>>       Captured Slot Power Limit: 0W
>>       Function-Level Reset Capability: on
>>     Device Control Register: 0x5120
>>       Correctable Error Reporting Enable: off
>>       Non Fatal Error Reporting Enable: off
>>       Fatal Error Reporting Enable: off
>>       Unsupported Request Reporting Enable: off
>>       Enable Relaxed Ordering: off
>>       Max Payload Size: 256 byte
>>       Extended Tag Field Enable: on
>>       Phantom Functions Enable: off
>>       Aux Power PM Enable: off
>>       Enable No Snoop: off
>>       Max Read Request Size: 4096 byte
>>     Device Status Register: 0x0009
>>       Correctable Error Detected: on
>>       Non Fatal Error Detected: off
>>       Fatal Error Detected: off
>>       Unsupported Request Detected: on
>>       Aux Power Detected: off
>>       Transaction Pending: off
>>       Emergency Power Reduction Detected: off
>>     Link Capabilities Register: 0x00425883
>>       Maximum Link Speed: 8.0GT/s
>>       Maximum Link Width: x8 lanes
>>       Active State PM Support: L1 supported
>>       L0 Exit Latency: 1us to less than 2us
>>       L1 Exit Latency: 8us to less than 16us
>>       Port Number: 0
>>       Clock Power Management: off
>>       Surprise Down Error Report: off
>>       Data Link Layer Link Active: off
>>       Link BW Notification Capable: off
>>       ASPM Optionally Compliance: on
>>     Link Control Register: 0x0040
>>       Active State PM Control: disabled
>>       Read Completion Boundary Control: 64bytes
>>       Link Disable: off
>>       Retrain Link: off
>>       Common Clock Configuration: on
>>       Extended Synch: off
>>       Enable Clock Power Management: off
>>       Hardware Autonomous Width Disable: off
>>       Link Bandwidth Management Interrupt Enable: off
>>       Link Autonomous Bandwidth Interrupt Enable: off
>>       DRS Signaling Control: not reported
>>     Link Status Register: 0x1083
>>       Negotiated Link Speed: 8.0GT/s
>>       Negotiated Link Width: x8 lanes
>>       Training Error: off
>>       Link Training: off
>>       Slot Clock Configuration: on
>>       Data Link Layer Link Active: off
>>       Link Bandwidth Management Status: off
>>       Link Autonomous Bandwidth Status: off
>>     Device Capabilities 2: 0x0000001f
>>       Completion Timeout Ranges Supported: ABCD
>>       Completion Timeout Disable Supported: on
>>       ARI Forwarding Supported: off
>>       AtomicOp Routing Supported: off
>>       32bit AtomicOp Completer Supported: off
>>       64bit AtomicOp Completer Supported: off
>>       128-bit CAS Completer Supported: off
>>       No RO-enabled PR-PR passing: off
>>       LTR Mechanism Supported: off
>>       TPH Completer Supported: Not supported
>>       LN System CLS: Not supported or not in effect
>>       OBFF Supported: Not supported
>>       Extended Fmt Field Supported: off
>>       End-End TLP Prefix Supported: off
>>       Max End-End TLP Prefixes: 4
>>       Emergency Power Reduction Supported: Not supported
>>       Emergency Power Reduction Initialization Required: off
>>       FRS Supported: off
>>     Device Control 2: 0x0000
>>       Completion Timeout Value: 50us to 50ms
>>       Completion Timeout Disabled: off
>>       ARI Forwarding Enabled: off
>>       AtomicOp Requester Enabled: off
>>       AtomicOp Egress Blocking: off
>>       IDO Request Enabled: off
>>       IDO Completion Enabled: off
>>       LTR Mechanism Enabled: off
>>       Emergency Power Reduction Request: off
>>       OBFF: Disabled
>>       End-End TLP Prefix Blocking on: off
>>     Link Capabilities 2: 0x0000000e
>>       Supported Link Speeds Vector: 2.5GT/s 5.0GT/s 8.0GT/s
>>       Crosslink Supported: off
>>       Lower SKP OS Generation Supported Speed Vector:
>>       Lower SKP OS Reception Supported Speed Vector:
>>       DRS Supported: off
>>     Link Control 2: 0x0000
>>       Target Link Speed: 2.5GT/s
>>       Enter Compliance Enabled: off
>>       HW Autonomous Speed Disabled: off
>>       Selectable De-emphasis: -6dB
>>       Transmit Margin: 0
>>       Enter Modified Compliance: off
>>       Compliance SOS: off
>>       Compliance Present/De-emphasis: -6dB
>>     Link Status 2: 0x0000
>>       Current De-emphasis Level: -6dB
>>       Equalization Complete: off
>>       Equalization Phase 1 Successful: off
>>       Equalization Phase 2 Successful: off
>>       Equalization Phase 3 Successful: off
>>       Link Equalization Request: off
>>       Retimer Presence Detected: off
>>
>>   MSI-X Capability Register
>>     Message Control register: 0x0080
>>       Table Size: 129
>>       Function Mask: off
>>       MSI-X Enable: off
>>     Table offset register: 0x00000003
>>       Table offset: 0x00000000
>>       BIR: 0x3
>>     Pending bit array register: 0x00001003
>>       Pending bit array offset: 0x00001000
>>       BIR: 0x3
>>
>>   Device-dependent header:
>>     0x40: 0xc8235001 0x00002008 0x00000000 0x00000000
>>     0x50: 0x01807005 0x00000000 0x00000000 0x00000000
>>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>>     0x70: 0x0080a011 0x00000003 0x00001003 0x00000000
>>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>>     0xa0: 0x0002e010 0x10008ce4 0x00095120 0x00425883
>>     0xb0: 0x10830040 0x00000000 0x00000000 0x00000000
>>     0xc0: 0x00000000 0x0000001f 0x00000000 0x0000000e
>>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>>     0xe0: 0x80140003 0xd7015652 0x00000000 0x00000000
>>     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
>>
>>   Extended Capability Register at 0x100
>>     type: 0x0001 (Advanced Error Reporting)
>>     version: 2
>>   Extended Capability Register at 0x140
>>     type: 0x0003 (Device Serial Number)
>>     version: 1
>>   Extended Capability Register at 0x150
>>     type: 0x000e (Alternative Routing-ID Interpretation)
>>     version: 1
>>   Extended Capability Register at 0x160
>>     type: 0x0010 (Single Root IO Virtualization)
>>     version: 1
>>   Extended Capability Register at 0x1a0
>>     type: 0x0017 (TPH Requester)
>>     version: 1
>>   Extended Capability Register at 0x1b0
>>     type: 0x000d (Access Control Services)
>>     version: 1
>>
>>   Advanced Error Reporting Register
>>     Uncorrectable Error Status register: 0x00000000
>>       Undefined: off
>>       Data Link Protocol Error: off
>>       Surprise Down Error: off
>>       Poisoned TLP Received: off
>>       Flow Control Protocol Error: off
>>       Completion Timeout: off
>>       Completer Abort: off
>>       Unexpected Completion: off
>>       Receiver Overflow: off
>>       Malformed TLP: off
>>       ECRC Error: off
>>       Unsupported Request Error: off
>>       ACS Violation: off
>>       Uncorrectable Internal Error: off
>>       MC Blocked TLP: off
>>       AtomicOp Egress BLK: off
>>       TLP Prefix Blocked Error: off
>>       Poisoned TLP Egress Blocked: off
>>     Uncorrectable Error Mask register: 0x00000000
>>       Undefined: off
>>       Data Link Protocol Error: off
>>       Surprise Down Error: off
>>       Poisoned TLP Received: off
>>       Flow Control Protocol Error: off
>>       Completion Timeout: off
>>       Completer Abort: off
>>       Unexpected Completion: off
>>       Receiver Overflow: off
>>       Malformed TLP: off
>>       ECRC Error: off
>>       Unsupported Request Error: off
>>       ACS Violation: off
>>       Uncorrectable Internal Error: off
>>       MC Blocked TLP: off
>>       AtomicOp Egress BLK: off
>>       TLP Prefix Blocked Error: off
>>       Poisoned TLP Egress Blocked: off
>>     Uncorrectable Error Severity register: 0x00062030
>>       Undefined: off
>>       Data Link Protocol Error: on
>>       Surprise Down Error: on
>>       Poisoned TLP Received: off
>>       Flow Control Protocol Error: on
>>       Completion Timeout: off
>>       Completer Abort: off
>>       Unexpected Completion: off
>>       Receiver Overflow: on
>>       Malformed TLP: on
>>       ECRC Error: off
>>       Unsupported Request Error: off
>>       ACS Violation: off
>>       Uncorrectable Internal Error: off
>>       MC Blocked TLP: off
>>       AtomicOp Egress BLK: off
>>       TLP Prefix Blocked Error: off
>>       Poisoned TLP Egress Blocked: off
>>     Correctable Error Status register: 0x00002000
>>       Receiver Error: off
>>       Bad TLP: off
>>       Bad DLLP: off
>>       REPLAY_NUM Rollover: off
>>       Replay Timer Timeout: off
>>       Advisory Non-Fatal Error: on
>>       Corrected Internal Error: off
>>       Header Log Overflow: off
>>     Correctable Error Mask register: 0x00002000
>>       Receiver Error: off
>>       Bad TLP: off
>>       Bad DLLP: off
>>       REPLAY_NUM Rollover: off
>>       Replay Timer Timeout: off
>>       Advisory Non-Fatal Error: on
>>       Corrected Internal Error: off
>>       Header Log Overflow: off
>>     Advanced Error Capabilities and Control register: 0x000000a0
>>       First Error Pointer: 0x0000
>>       ECRC Generation Capable: on
>>       ECRC Generation Enable: off
>>       ECRC Check Capable: on
>>       ECRC Check Enable: off
>>       Multiple Header Recording Capable: off
>>       Multiple Header Recording Enable: off
>>       Completion Timeout Prefix/Header Log Capable: off
>>       TLP Prefix Log Present: off
>>     Header Log register:
>>     0x11c: 0x00000000
>>     0x120: 0x00000000 0x00000000 0x00000000
>>
>>   Device Serial Number Register
>>     Serial Number: c0-ab-58-ff-ff-fe-fd-3c
>>
>>   Access Control Services
>>     ACS Capability register: 0x00000000
>>       ACS Source Validation: off
>>       ACS Transaction Blocking: off
>>       ACS P2P Request Redirect: off
>>       ACS P2P Completion Redirect: off
>>       ACS Upstream Forwarding: off
>>       ACS Egress Control: off
>>       ACS Direct Translated P2P: off
>>       Egress Control Vector Size: 256
>>     ACS Control register: 0x00000000
>>       ACS Source Validation Enable: off
>>       ACS Transaction Blocking Enable: off
>>       ACS P2P Request Redirect Enable: off
>>       ACS P2P Completion Redirect Enable: off
>>       ACS Upstream Forwarding Enable: off
>>       ACS Egress Control Enable: off
>>       ACS Direct Translated P2P Enable: off
>>
>>   Alternative Routing-ID Interpretation Register
>>     Capability register: 0x00000200
>>       MVFC Function Groups Capability: off
>>       ACS Function Groups Capability: off
>>       Next Function Number: 2
>>     Control register: 0x00000000
>>       MVFC Function Groups Enable: off
>>       ACS Function Groups Enable: off
>>       Function Group: 0
>>
>>   Single Root IO Virtualization Register
>>     Capabilities register: 0x00000000
>>       VF Migration Capable: off
>>       ARI Capable Hierarchy Preserved: off
>>     Control register: 0x0000
>>       VF Enable: off
>>       VF Migration Enable: off
>>       VF Migration Interrupt Enable: off
>>       VF Memory Space Enable: off
>>       ARI Capable Hierarchy: off
>>     Status register: 0x0000
>>       VF Migration Status: off
>>     InitialVFs register: 0x0020
>>     TotalVFs register: 0x0020
>>     NumVFs register: 0x0000
>>     Function Dependency Link register: 0x0001
>>     First VF Offset register: 0x012f
>>     VF Stride register: 0x0001
>>     Device ID: 0x154c
>>     Supported Page Sizes register: 0x00000553
>>       Supported Page Size: 4096 B, 8192 B, 65536 B, 256 KB, 1024 KB, 4096 KB
>>     System Page Sizes register: 0x00000001
>>       Page Size: 4096 B
>>     VF BAR0 register: 0xf840000c
>>     VF BAR1 register: 0x00000000
>>     VF BAR2 register: 0x00000000
>>     VF BAR3 register: 0xf892000c
>>     VF BAR4 register: 0x00000000
>>     VF BAR5 register: 0x00000000
>>     VF Migration State Array Offset register: 0x00000000
>>       VF Migration State Offset: 0x00000000
>>       VF Migration State BIR: BAR0
>>
>>   TPH Requester Extended Capability
>>     TPH Requester Capabililty register: 0x00000005
>>       No ST Mode Supported: on
>>       Interrupt Vector Mode Supported: off
>>       Device Specific Mode Supported: on
>>       Extend TPH Reqester Supported: off
>>       ST Table Location: Not Present
>>     TPH Requester Control register: 0x00000000
>>       ST Mode Select: No ST Mode
>>       TPH Requester Enable: Not permitted
>>
>>   Extended Configuration Space:
>>     0x100: 0x14020001 0x00000000 0x00000000 0x00062030
>>     0x110: 0x00002000 0x00002000 0x000000a0 0x00000000
>>     0x120: 0x00000000 0x00000000 0x00000000 0x00000000
>>     0x130: 0x00000000 0x00000000 0x00000000 0x00000000
>>     0x140: 0x15010003 0xfffefd3c 0xc0ab58ff 0x00000000
>>     0x150: 0x1601000e 0x00000200 0x00000000 0x00000000
>>     0x160: 0x1a010010 0x00000000 0x00000000 0x00200020
>>     0x170: 0x00010000 0x0001012f 0x154c0000 0x00000553
>>     0x180: 0x00000001 0xf840000c 0x00000000 0x00000000
>>     0x190: 0xf892000c 0x00000000 0x00000000 0x00000000
>>     0x1a0: 0x1b010017 0x00000005 0x00000000 0x00000000
>>     0x1b0: 0x0001000d 0x00000000 0x00000000 0x00000000
>>     ... (snip: all 0x00000000)
>>     0xff0: 0x00000000 0x00000000 0x00000000 0x00000000
>>
>> Regards,
>> yamaguchi


-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index