lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQXwqvg0X7j6Ccek+ZU+uhCoxy5myXfU2W9AFzedUoO8nw@mail.gmail.com>
Date:	Wed, 7 Oct 2015 16:16:37 -0700
From:	Yinghai Lu <yinghai@...nel.org>
To:	Meelis Roos <mroos@...ux.ee>
Cc:	Linux Kernel list <linux-kernel@...r.kernel.org>,
	"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>
Subject: Re: 4.3-rc3 BAR allocation problems on multiple machines

On Wed, Oct 7, 2015 at 2:25 AM, Meelis Roos <mroos@...ux.ee> wrote:
> amd64 machine:
>
> http://kodu.ut.ee/~mroos/dm/dm.x2100

[    0.156360] bus: [bus 00-05] on node 0 link 0
[    0.156362] bus: 00 [io  0x0000-0xffff]
[    0.156364] bus: 00 [mem 0x000a0000-0x000bffff]
[    0.156365] bus: 00 [mem 0xfe030000-0xffffffff]
[    0.156366] bus: 00 [mem 0xc0000000-0xefffffff]
[    0.156368] bus: 00 [mem 0xf0000000-0xfe02ffff]
[    0.156369] bus: 00 [mem 0x140000000-0xfcffffffff]

[    0.174069] PCI: Using host bridge windows from ACPI; if necessary,
use "pci=nocrs" and report a bug
[    0.180821] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-05])
[    0.180943] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM
ClockPM Segments MSI]
[    0.181139] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.181917] PCI host bridge to bus 0000:00
[    0.182030] pci_bus 0000:00: root bus resource [bus 00-05]
[    0.182144] pci_bus 0000:00: root bus resource [io  0x0000-0x03af window]
[    0.182262] pci_bus 0000:00: root bus resource [io  0x03e0-0x0cf7 window]
[    0.182379] pci_bus 0000:00: root bus resource [io  0x6000-0xffff window]
[    0.182494] pci_bus 0000:00: root bus resource [io  0x03b0-0x03df window]
[    0.182609] pci_bus 0000:00: root bus resource [mem
0x000a0000-0x000bffff window]
[    0.182799] pci_bus 0000:00: root bus resource [mem
0xc0000000-0xdfffffff window]
[    0.182989] pci_bus 0000:00: root bus resource [mem
0xf0000000-0xfe02ffff window]
[    0.183179] pci_bus 0000:00: root bus resource [mem
0xfeb00000-0xfebfffff window]

BIOS report different resource from _CRS setting and setting with cpu registers.

[    0.183379] pci 0000:00:00.0: [10de:005e] type 00 class 0x058000
[    0.183542] pci 0000:00:01.0: [10de:0050] type 00 class 0x060100

root bus io range from _CRS does not include that.

boot with pci=nocrs should avoid that and it is safe as we get ranges
from register.

Thanks

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ