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]
Date:	Mon, 15 Dec 2008 18:26:03 +0000
From:	"Chen, Justin" <justin.chen@...com>
To:	"Chiang, Alexander" <achiang@...com>,
	Linus Torvalds <torvalds@...ux-foundation.org>
CC:	"matthew@....cx" <matthew@....cx>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: PCI BAR mem resource allocation "regression"

>-----Original Message-----
>From: Chiang, Alexander
>
>> Also, is it just the error message, or does it actually affect
>> functionality?
>
>Hm, that is a good question. ;) The particular device I was
>testing with was an infiniband device, and I have never actually
>pushed any traffic over it; just used it to reproduce the error.
>
>I can try and hook the card up to something and push traffic over
>it, but that will have to wait until Monday. Maybe Justin (cc'ed)
>knows, since he was the one who first reported this to me.

It affects functionality.  The BAR is not reprogrammed after hotplug.  Below is an example:

Original lspci dump:
------------------------------
002b:01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
        Subsystem: Hewlett-Packard Company: Unknown device 704f
        Flags: bus master, fast devsel, latency 0, IRQ 61
        Memory at 00000f7200000000 (32-bit, non-prefetchable) [size=128K]
        Memory at 00000f7200020000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at e000 [size=32]
        Expansion ROM at 00000f7200040000 [disabled] [size=128K]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [e0] #10 [0001]

Mainline lspci after remove/hotplug the device:
------------------------------------------------------------------
002b:01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
        Subsystem: Hewlett-Packard Company: Unknown device 704f
        Flags: fast devsel, IRQ 61
        I/O ports at <unassigned> [disabled]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [e0] #10 [0001]


Revert lspci after remove/hotplug the device:
---------------------------------------------------------------
002b:01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
        Subsystem: Hewlett-Packard Company: Unknown device 704f
        Flags: bus master, fast devsel, latency 0, IRQ 61
        Memory at 00000f7200000000 (32-bit, non-prefetchable) [size=128K]
        Memory at 00000f7200020000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at e000 [size=32]
        Expansion ROM at 00000f7200040000 [disabled] [size=128K]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [e0] #10 [0001]

Thanks,
Justin
--
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