Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 21:00:14 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        stable@freebsd.org, avg@freebsd.org
Subject:   Re: X2APIC support
Message-ID:  <20160901180014.GB88122@zxy.spb.ru>
In-Reply-To: <20160901175049.GN83214@kib.kiev.ua>
References:  <20151212130615.GE70867@zxy.spb.ru> <20151212133513.GL82577@kib.kiev.ua> <20160901112724.GX88122@zxy.spb.ru> <20160901114500.GJ83214@kib.kiev.ua> <20160901121300.GZ88122@zxy.spb.ru> <20160901172632.GL83214@kib.kiev.ua> <20160901173149.GA88122@zxy.spb.ru> <20160901175049.GN83214@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 01, 2016 at 08:50:49PM +0300, Konstantin Belousov wrote:

> On Thu, Sep 01, 2016 at 08:31:49PM +0300, Slawa Olhovchenkov wrote:
> > On Thu, Sep 01, 2016 at 08:26:32PM +0300, Konstantin Belousov wrote:
> > 
> > > On Thu, Sep 01, 2016 at 03:13:00PM +0300, Slawa Olhovchenkov wrote:
> > > > On Thu, Sep 01, 2016 at 02:45:00PM +0300, Konstantin Belousov wrote:
> > > > As I point before: 'X2APIC_OPT_OUT Flag'.
> > > > Hidden before 'X2APIC' set to '[Enable]'
> > > > 
> > > > https://s15.postimg.org/3k5l7z397/bios_x2.jpg
> > > > 
> > > > > Show complete verbose dmesg from the first line to backtrace.
> > > 
> > > And post the verbose dmesg for successfull boot as well, please.
> > 
> > http://m.uploadedit.com/ba3s/147275109329.txt
> 
> >From pure curiousity, if you enable hyperthreading, does system survives
> frobbing of X2APIC_OPT_OUT ?

Sorry, don't cleanly understund, what combination of BIOS setting I am need to probe?
And what I am need to check?

> Also, please show the output of acpidump -t.

/*
  RSD PTR: OEM=ALASKA, ACPI_Rev=2.0x (2)
        XSDT=0x0000000079ae50a0, length=36, cksum=197
 */
/*
  XSDT: Length=188, Revision=1, Checksum=37,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=AMI, Creator Revision=0x10013
        Entries={ 0x0000000079b189a8, 0x0000000079b18ab8, 0x0000000079b18c70, 0x0000000079b18cb8, 0x0000000079b18d58, 0x0000000079b18da0, 0x0000000079b18de0, 0x0000000079b18e28, 0x0000000079b18f58, 0x0000000079b18f90, 0x0000000079b18fd0, 0x0000000079b30020, 0x0000000079b32670, 0x0000000079b326d8,
  0x0000000079b32798, 0x0000000079b328e8, 0x0000000079b32990, 0x0000000079b329c0, 0x0000000079b32bf0 }
 */
/*
  FACP: Length=268, Revision=5, Checksum=66,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=AMI, Creator Revision=0x10013
        FACS=0x79fa8f80, DSDT=0x79ae51f0
        INT_MODEL=APIC
        Preferred_PM_Profile=Enterprise Server (4)
        SCI_INT=9
        SMI_CMD=0xb2, ACPI_ENABLE=0xa0, ACPI_DISABLE=0xa1, S4BIOS_REQ=0x0
        PSTATE_CNT=0x0
        PM1a_EVT_BLK=0x400-0x403
        PM1a_CNT_BLK=0x404-0x405
        PM2_CNT_BLK=0x450-0x450
        PM_TMR_BLK=0x408-0x40b
        GPE0_BLK=0x420-0x42f
        P_LVL2_LAT=101 us, P_LVL3_LAT=1001 us
        FLUSH_SIZE=1024, FLUSH_STRIDE=16
        DUTY_OFFSET=1, DUTY_WIDTH=3
        DAY_ALRM=13, MON_ALRM=0, CENTURY=50
        IAPC_BOOT_ARCH={LEGACY_DEVICES,NO_ASPM}
        Flags={WBINVD,C1_SUPPORTED,SLEEP_BUTTON,S4_RTC_WAKE,RESET_REGISTER,PLATFORM_CLOCK}
        RESET_REG=0xcf9:0[8] (IO), RESET_VALUE=0x6
 */
/*
  FACS: Length=64, HwSig=0x0ee12c64, Firm_Wake_Vec=0x00000000
        Global_Lock=
        Flags=
        Version=2
 */
/*
  DSDT: Length=210868, Revision=2, Checksum=0,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=INTL, Creator Revision=0x20091013
 */
/*
  APIC: Length=436, Revision=3, Checksum=176,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=AMI, Creator Revision=0x10013
        Local APIC ADDR=0xfee00000
        Flags={PC-AT}

        Type=Local APIC
        ACPI CPU=0
        Flags={ENABLED}
        APIC ID=0

        Type=Local APIC
        ACPI CPU=2
        Flags={ENABLED}
        APIC ID=2

        Type=Local APIC
        ACPI CPU=4
        Flags={ENABLED}
        APIC ID=4

        Type=Local APIC
        ACPI CPU=6
        Flags={ENABLED}
        APIC ID=6

        Type=Local APIC
        ACPI CPU=8
        Flags={ENABLED}
        APIC ID=8

        Type=Local APIC
        ACPI CPU=10
        Flags={ENABLED}
        APIC ID=10

        Type=Local APIC
        ACPI CPU=16
        Flags={ENABLED}
        APIC ID=16

        Type=Local APIC
        ACPI CPU=18
        Flags={ENABLED}
        APIC ID=18

        Type=Local APIC
        ACPI CPU=20
        Flags={ENABLED}
        APIC ID=20

        Type=Local APIC
        ACPI CPU=22
        Flags={ENABLED}
        APIC ID=22

        Type=Local APIC
        ACPI CPU=24
        Flags={ENABLED}
        APIC ID=24

        Type=Local APIC
        ACPI CPU=26
        Flags={ENABLED}
        APIC ID=26

        Type=Local APIC
        ACPI CPU=32
        Flags={ENABLED}
        APIC ID=32

        Type=Local APIC
        ACPI CPU=34
        Flags={ENABLED}
        APIC ID=34

        Type=Local APIC
        ACPI CPU=36
        Flags={ENABLED}
        APIC ID=36

        Type=Local APIC
        ACPI CPU=38
        Flags={ENABLED}
        APIC ID=38

        Type=Local APIC
        ACPI CPU=40
        Flags={ENABLED}
        APIC ID=40

        Type=Local APIC
        ACPI CPU=42
        Flags={ENABLED}
        APIC ID=42

        Type=Local APIC
        ACPI CPU=48
        Flags={ENABLED}
        APIC ID=48

        Type=Local APIC
        ACPI CPU=50
        Flags={ENABLED}
        APIC ID=50

        Type=Local APIC
        ACPI CPU=52
        Flags={ENABLED}
        APIC ID=52

        Type=Local APIC
        ACPI CPU=54
        Flags={ENABLED}
        APIC ID=54

        Type=Local APIC
        ACPI CPU=56
        Flags={ENABLED}
        APIC ID=56

        Type=Local APIC
        ACPI CPU=58
        Flags={ENABLED}
        APIC ID=58

        Type=Local APIC NMI
        ACPI CPU=0
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=2
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=4
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=6
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=8
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=10
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=16
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=18
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=20
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=22
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=24
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=26
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=32
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=34
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=36
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=38
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=40
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=42
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=48
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=50
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=52
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=54
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=56
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=Local APIC NMI
        ACPI CPU=58
        LINT Pin=1
        Flags={Polarity=active-hi, Trigger=edge}

        Type=IO APIC
        APIC ID=1
        INT BASE=0
        ADDR=0x00000000fec00000

        Type=IO APIC
        APIC ID=2
        INT BASE=24
        ADDR=0x00000000fec01000

        Type=IO APIC
        APIC ID=3
        INT BASE=48
        ADDR=0x00000000fec40000

        Type=INT Override
        BUS=0
        IRQ=0
        INTR=2
        Flags={Polarity=conforming, Trigger=conforming}

        Type=INT Override
        BUS=0
        IRQ=9
        INTR=9
        Flags={Polarity=active-hi, Trigger=level}
 */
/*
  FPDT: Length=68, Revision=1, Checksum=156,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=AMI, Creator Revision=0x10013
 */
/*
  FIDT: Length=156, Revision=1, Checksum=90,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=AMI, Creator Revision=0x10013
 */
/*
  SPMI: Length=65, Revision=5, Checksum=228,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x0,
        Creator ID=AMI., Creator Revision=0x0
 */
/*
  MCFG: Length=60, Revision=1, Checksum=97,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=MSFT, Creator Revision=0x97

        Base Address=0x0000000080000000
        Segment Group=0x0000
        Start Bus=0
        End Bus=255
 */
/*
  UEFI: Length=66, Revision=1, Checksum=247,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1072009,
        Creator ID=, Creator Revision=0x0
 */
/*
  MCEJ: Length=304, Revision=1, Checksum=118,
        OEMID=INTEL, OEM Table ID=, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x100000d
 */
/*
  HPET: Length=56, Revision=1, Checksum=77,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x20091013
        HPET Number=0
        ADDR=0x00000000fed00000:0[64] (Memory)  HW Rev=0x1
        Comparators=7
        Counter Size=1
        Legacy IRQ routing capable={TRUE}
        PCI Vendor ID=0x8086
        Minimal Tick=14318
        Flags=0x00
 */
/*
  WDDT: Length=64, Revision=1, Checksum=133,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x0,
        Creator ID=INTL, Creator Revision=0x20091013
 */
/*
  SSDT: Length=94285, Revision=2, Checksum=215,
        OEMID=ALASKA, OEM Table ID=PmMgt, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x20120913
 */
/*
  SSDT: Length=9802, Revision=2, Checksum=113,
        OEMID=ALASKA, OEM Table ID=SpsNm, OEM Revision=0x2,
        Creator ID=INTL, Creator Revision=0x20120913
 */
/*
  SSDT: Length=100, Revision=2, Checksum=247,
        OEMID=ALASKA, OEM Table ID=SpsNvs, OEM Revision=0x2,
        Creator ID=INTL, Creator Revision=0x20120913
 */
/*
  PRAD: Length=191, Revision=2, Checksum=8,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x2,
        Creator ID=INTL, Creator Revision=0x20120913
 */
/*
  DMAR: Length=336, Revision=1, Checksum=39,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x20091013
        Host Address Width=46
        Flags={INTR_REMAP}

        Type=DRHD
        Length=104
        Flags=
        Segment=0
        Address=0x00000000fbffc000
        Device Scope:
                Type=IOAPIC
                Length=8
                EnumerationId=3
                StartBusNumber=128
                Path={5:4}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:0}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:1}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:2}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:3}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:4}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:5}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:6}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={4:7}

                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={1:0}

                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={3:0}

        Type=DRHD
        Length=40
        Flags={INCLUDE_ALL}
        Segment=0
        Address=0x00000000c7ffc000
        Device Scope:
                Type=IOAPIC
                Length=8
                EnumerationId=1
                StartBusNumber=240
                Path={31:7}

                Type=IOAPIC
                Length=8
                EnumerationId=2
                StartBusNumber=0
                Path={5:4}

                Type=HPET
                Length=8
                EnumerationId=0
                StartBusNumber=240
                Path={15:0}

        Type=RMRR
        Length=48
        Segment=0
        BaseAddress=0x000000007bc3c000
        LimitAddress=0x000000007bc4bfff
        Device Scope:
                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=0
                Path={20:0}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=0
                Path={26:0}

                Type=PCI Endpoint Device
                Length=8
                EnumerationId=0
                StartBusNumber=0
                Path={29:0}

        Type=ATSR
        Length=56
        Flags=
        Segment=0
        Device Scope:
                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=0
                Path={1:0}

                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=0
                Path={2:0}

                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=0
                Path={3:0}

                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=0
                Path={3:2}

                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={1:0}

                Type=PCI Sub-Hierarchy
                Length=8
                EnumerationId=0
                StartBusNumber=128
                Path={3:0}

        Type=RHSA
        Length=20
        BaseAddress=0x00000000c7ffc000
        ProximityDomain=0x00000000

        Type=RHSA
        Length=20
        BaseAddress=0x00000000fbffc000
        ProximityDomain=0x00000001
 */
/*
  HEST: Length=168, Revision=1, Checksum=26,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x1
 */
/*
  BERT: Length=48, Revision=1, Checksum=141,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x1
 */
/*
  ERST: Length=560, Revision=1, Checksum=33,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x1
 */
/*
  EINJ: Length=336, Revision=1, Checksum=62,
        OEMID=ALASKA, OEM Table ID=A M I, OEM Revision=0x1,
        Creator ID=INTL, Creator Revision=0x1
 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160901180014.GB88122>