[siemens/jailhouse] 6ea63c: inmates: e1000-demo: Ensure ring alignment require...

2 views
Skip to first unread message

GitHub

unread,
Feb 3, 2016, 2:46:17 PM2/3/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 6ea63c4f39dc678592d4b8a85bdd44d0d1cf2154
https://github.com/siemens/jailhouse/commit/6ea63c4f39dc678592d4b8a85bdd44d0d1cf2154
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Changed paths:
M inmates/demos/x86/e1000-demo.c

Log Message:
-----------
inmates: e1000-demo: Ensure ring alignment requirements on newer NICs

The Intel 82575 and newer NICs require 128-byte alignment of the RX and
TX rings.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 77abcb25e92165e2f0b2cd0c24897ce63a0d97b9
https://github.com/siemens/jailhouse/commit/77abcb25e92165e2f0b2cd0c24897ce63a0d97b9
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Changed paths:
M inmates/demos/x86/e1000-demo.c

Log Message:
-----------
inmates: e1000-demo: Hard-wire PHY address

All known e1000-compatible cards have their PHYs at address 1. Searching
for them does not work reliably, so simply hard-wire the address.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 9d4b8c89ce17d7b965d85fe747d1d2daede32e0b
https://github.com/siemens/jailhouse/commit/9d4b8c89ce17d7b965d85fe747d1d2daede32e0b
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Changed paths:
M inmates/demos/x86/e1000-demo.c

Log Message:
-----------
inmates: e1000-demo: Write RX tail only after enabling the queue

The 82575 ignores all writes prior to enabling the queue or the complete
receiver. Reorder writes, clearing the tail first - just in case.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 87059837e551cdc862896fa4ffd198071f3e3f8b
https://github.com/siemens/jailhouse/commit/87059837e551cdc862896fa4ffd198071f3e3f8b
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Changed paths:
M inmates/demos/x86/e1000-demo.c

Log Message:
-----------
inmates: e1000-demo: Fix FRCSPD bit definition for control register

It's bit 11, in fact. Bit 12 is FRCDPLX which is cleared on reset.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 3741aa061e590f1b5791013e7308b772c652d8b8
https://github.com/siemens/jailhouse/commit/3741aa061e590f1b5791013e7308b772c652d8b8
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Changed paths:
M inmates/demos/x86/e1000-demo.c

Log Message:
-----------
inmates: e1000-demo: Do not set ASDE bit

ASDE is apparently not needed on older NICs but caused troubles on newer
ones like 82575. Remove it.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 15a763d85858e72d2055c90d20bbbab8c93d7448
https://github.com/siemens/jailhouse/commit/15a763d85858e72d2055c90d20bbbab8c93d7448
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Changed paths:
M inmates/demos/x86/e1000-demo.c

Log Message:
-----------
inmates: e1000-demo: Enable queues explicitly

Newer NICs require us to enable the RX and TX queue. Although they
should be on after reset, at least the I350 refuses to work otherwise.
As the related bit is harmless or even unused on older NICs, do this
unconditionally (just like ipxe does).

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/62486b40f309...15a763d85858
Reply all
Reply to author
Forward
0 new messages