[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] af9f0b: dp8393x: put the DMA buffer in the st
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] af9f0b: dp8393x: put the DMA buffer in the state structure |
Date: |
Mon, 11 Nov 2019 02:44:22 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: af9f0be36cd412442a801d25bd5dd9459d691d0b
https://github.com/qemu/qemu/commit/af9f0be36cd412442a801d25bd5dd9459d691d0b
Author: Laurent Vivier <address@hidden>
Date: 2019-11-08 (Fri, 08 Nov 2019)
Changed paths:
M hw/net/dp8393x.c
Log Message:
-----------
dp8393x: put the DMA buffer in the state structure
Move it from the stack.
It's only 24 bytes, and this simplifies the dp8393x_get()/
dp8393x_put() interface.
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Hervé Poussineau <address@hidden>
Message-Id: <address@hidden>
Commit: c744cf78791e7ddc903a46d6506f1a0cbcbb3387
https://github.com/qemu/qemu/commit/c744cf78791e7ddc903a46d6506f1a0cbcbb3387
Author: Laurent Vivier <address@hidden>
Date: 2019-11-08 (Fri, 08 Nov 2019)
Changed paths:
M hw/net/dp8393x.c
Log Message:
-----------
dp8393x: fix dp8393x_receive()
RXpkt.in_use is always 16 bit wide, but when the bus access mode is 32bit
and the endianness is big, we must access the second word and not the
first. This patch adjusts the offset according to the size and endianness.
This fixes DHCP for Q800 guest.
Fixes: be9208419865 ("dp8393x: manage big endian bus")
Signed-off-by: Laurent Vivier <address@hidden>
Tested-by: Hervé Poussineau <address@hidden>
Message-Id: <address@hidden>
Commit: 654efcb511d394c1d3f5292c28503d1d19e5b1d3
https://github.com/qemu/qemu/commit/654efcb511d394c1d3f5292c28503d1d19e5b1d3
Author: Peter Maydell <address@hidden>
Date: 2019-11-11 (Mon, 11 Nov 2019)
Changed paths:
M hw/net/dp8393x.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/vivier/tags/q800-branch-pull-request'
into staging
Fix dp8393x when used in big-endian/double-word mode
(fix DHCP address allocation for q800 machine)
# gpg: Signature made Fri 08 Nov 2019 20:38:21 GMT
# gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg: issuer "address@hidden"
# gpg: Good signature from "Laurent Vivier <address@hidden>" [full]
# gpg: aka "Laurent Vivier <address@hidden>" [full]
# gpg: aka "Laurent Vivier (Red Hat) <address@hidden>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* remotes/vivier/tags/q800-branch-pull-request:
dp8393x: fix dp8393x_receive()
dp8393x: put the DMA buffer in the state structure
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/1cee80fa665d...654efcb511d3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] af9f0b: dp8393x: put the DMA buffer in the state structure,
Peter Maydell <=