qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 545129: xilinx_axienet: typedef XilinxAXIEnet


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 545129: xilinx_axienet: typedef XilinxAXIEnet struct
Date: Tue, 16 Apr 2013 01:30:12 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 545129e58965dcedf229dac3ed7ea1235a9838f2
      
https://github.com/qemu/qemu/commit/545129e58965dcedf229dac3ed7ea1235a9838f2
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/net/xilinx_axienet.c

  Log Message:
  -----------
  xilinx_axienet: typedef XilinxAXIEnet struct

Typedef xilinx_axienets object state struct to shorten the repeated usages of
struct XilinxAXIEnet.

Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: f0e7a81c0ca122126e92a9f06b9599f04a0eaebb
      
https://github.com/qemu/qemu/commit/f0e7a81c0ca122126e92a9f06b9599f04a0eaebb
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/net/xilinx_axienet.c

  Log Message:
  -----------
  xilinx_axienet: Defined and use type cast macro

Standard QOM cast macro. Replaces usages of FROM_SYSBUS

Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 9ee0ceb7a8e643a0db232f42ddee2ed325dd4d86
      
https://github.com/qemu/qemu/commit/9ee0ceb7a8e643a0db232f42ddee2ed325dd4d86
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/net/xilinx_axienet.c

  Log Message:
  -----------
  xilinx_axienet: Register reset properly

Register the reset function and the Device::reset function rather than
explicitly call it from the sysbus::init.

Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: b2d9dfe94cc9a27e0b59d892ae8e3ec223ff9514
      
https://github.com/qemu/qemu/commit/b2d9dfe94cc9a27e0b59d892ae8e3ec223ff9514
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/net/xilinx_axienet.c

  Log Message:
  -----------
  xilinx_axienet: converted init->realize

The prescribed transition from SysBusDevice::init to Device::realize. Im going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.

Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 42e8a283f50da698e8bff7ed36b8b39e21d70eaa
      
https://github.com/qemu/qemu/commit/42e8a283f50da698e8bff7ed36b8b39e21d70eaa
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/dma/xilinx_axidma.c

  Log Message:
  -----------
  xilinx_axidma: typedef XilinxAXIDMA struct

Typedef xilinx_axidma's object state struct to shorten the repeated usages of
struct XilinxAXIDMA.

Signed-off-by: Peter Crosthwaite <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: cbde584f58b484a8200eb578a5ba81057488f0eb
      
https://github.com/qemu/qemu/commit/cbde584f58b484a8200eb578a5ba81057488f0eb
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/dma/xilinx_axidma.c

  Log Message:
  -----------
  xilinx_axidma: Defined and use type cast macro

Standard QOM cast macro. Replaces usages of FROM_SYSBUS

Signed-off-by: Peter Crosthwaite <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 897374db7db10a9c17fd4da4e089705b553b4ee1
      
https://github.com/qemu/qemu/commit/897374db7db10a9c17fd4da4e089705b553b4ee1
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/dma/xilinx_axidma.c

  Log Message:
  -----------
  xilinx_axidma: Register reset properly

Register the reset function as the Device::reset function rather than
explicitly call it from the sysbus::init.

Signed-off-by: Peter Crosthwaite <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: e65436634dc4f3b43ba914b7e38fe696853da3ca
      
https://github.com/qemu/qemu/commit/e65436634dc4f3b43ba914b7e38fe696853da3ca
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/dma/xilinx_axidma.c

  Log Message:
  -----------
  xilinx_axidma: converted init->realize

The prescribed transition from SysBusDevice::init to Device::realize. I'm going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.

Signed-off-by: Peter Crosthwaite <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 54ff2a399fc9453fa75f9223d7d2cd912f17fb4b
      
https://github.com/qemu/qemu/commit/54ff2a399fc9453fa75f9223d7d2cd912f17fb4b
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c

  Log Message:
  -----------
  petalogix_ml605_mmu: Fix machine node attachment

Just attach devices straight to the root machine node, rather than the
"unattached node"

Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: b19ceaad0dee6bca619ba2de19003b50e1a8cb01
      
https://github.com/qemu/qemu/commit/b19ceaad0dee6bca619ba2de19003b50e1a8cb01
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c

  Log Message:
  -----------
  petalogix_ml605_mmu: Attach ethernet to machine

Explicitly make the ethernet a child of the machine. This is needed to set
and use links pre-realize. Also makes the ethernet initialization consistent
with its peer DMA.

Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 55b3e0c2f8fb7ef6d7929de23f3ae2a3d805ebff
      
https://github.com/qemu/qemu/commit/55b3e0c2f8fb7ef6d7929de23f3ae2a3d805ebff
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c
    M hw/net/xilinx_axienet.c

  Log Message:
  -----------
  xilinx_axienet: Create Proxy object for stream

Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automatically.

Stream slave masters differentiate which slave connection they are connected to
by linking to the proxy object rather than the parent.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: e1500e35c22be345cd04f77fa6993770b689eaa9
      
https://github.com/qemu/qemu/commit/e1500e35c22be345cd04f77fa6993770b689eaa9
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/dma/xilinx_axidma.c
    M hw/microblaze/petalogix_ml605_mmu.c

  Log Message:
  -----------
  xilinx_axidma: Create Proxy object for stream

Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automatically.

Stream slave masters differentiate which slave connection they are connected to
by linking to the proxy object rather than the parent.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 210914e29975d17e635f9e8c1f7478c0ed7a208f
      
https://github.com/qemu/qemu/commit/210914e29975d17e635f9e8c1f7478c0ed7a208f
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/dma/xilinx_axidma.c

  Log Message:
  -----------
  xilinx_axidma: Fix rx/tx halted bit.

If there is no DMA buffer descriptor, the DMA halts, not idles.

Signed-off-by: Peter Crosthwaite <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 35e60bfdbc14ce31bba55cc82144f8a2a82ede68
      
https://github.com/qemu/qemu/commit/35e60bfdbc14ce31bba55cc82144f8a2a82ede68
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/core/stream.c
    M hw/dma/xilinx_axidma.c
    M hw/net/xilinx_axienet.c
    M include/hw/stream.h

  Log Message:
  -----------
  stream: Add flow control API

Add basic flow control to stream. A stream slave may return short, indicating
that it is not capable of accepting any more data at the present time. Polling
or a callback can be used via the can_push() function to determine when the
slave can receive again.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 3630ae952a17c2107db25f397233536ef874558e
      
https://github.com/qemu/qemu/commit/3630ae952a17c2107db25f397233536ef874558e
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/dma/xilinx_axidma.c
    M hw/net/xilinx_axienet.c

  Log Message:
  -----------
  xilinx_axienet/dma: Implement rx path flow control

Implement flow control for the RX data path from xilinx_axienet->xilinx_axidma.
On short return from axidma, then ethernet sets up the notify callback to resume
transfer from where it left off.

This also allows the ethernet to track whether there is an in progress 
transaction
and return false from ethernet can_receive() as appropriate.

If the DMA backs up or is disabled it waits for enablement. When the rx stream 
IO
region is touched, the can_push() notify function is called if set.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 42bb9c9178ae7ac4c439172b1ae99cc29188a5c6
      
https://github.com/qemu/qemu/commit/42bb9c9178ae7ac4c439172b1ae99cc29188a5c6
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/core/stream.c
    M hw/dma/xilinx_axidma.c
    M hw/microblaze/petalogix_ml605_mmu.c
    M hw/net/xilinx_axienet.c
    M include/hw/stream.h
    M include/hw/xilinx.h

  Log Message:
  -----------
  stream: Remove app argument hack

The uint32_t *app argument doesn't exist in real hardware. It was a hack in
xilinx_axidma/enet to fake the (secondary) control stream connection. Removed
the argument and added the second stream to axienet/dma.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 3bec0c7d461a2f0139d60e959a80641487835d5a
      
https://github.com/qemu/qemu/commit/3bec0c7d461a2f0139d60e959a80641487835d5a
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/block/m25p80.c

  Log Message:
  -----------
  m25p80: Fix debug messages.

Some dodgy casts were making a mess of these msgs.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: e9711b4d52ed07b9b754f9aa10b4a8c741815d0a
      
https://github.com/qemu/qemu/commit/e9711b4d52ed07b9b754f9aa10b4a8c741815d0a
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/block/m25p80.c

  Log Message:
  -----------
  m25p80: Convert guest errors to LOG_GUEST_ERROR

Some of the debug printfs in m25p80 are really guest errors.
Changed over to qemu_log_mask(LOG_GUEST_ERROR accordingly.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 28097d02078cfb708c2034f90394936209785f2e
      
https://github.com/qemu/qemu/commit/28097d02078cfb708c2034f90394936209785f2e
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/block/m25p80.c

  Log Message:
  -----------
  m25p80.c: Multiple debug verbosity levels

The debug printfs on every page program/read is extremely verbose. Add
a second level of debug for this.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 095b9c4860b1351e4a0322e43708f39c79c1f34b
      
https://github.com/qemu/qemu/commit/095b9c4860b1351e4a0322e43708f39c79c1f34b
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M hw/block/m25p80.c

  Log Message:
  -----------
  m25p80: Add debug message for no bdrv

If there is no backing bdrv, let the debugging developer know about it.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


Compare: https://github.com/qemu/qemu/compare/24a6e7f4d91e...095b9c4860b1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]