atchdog peripheral is not implemented, simply
log the opcode as unimplemented and keep going.
Reported-by: Fred Konrad
Signed-off-by: Philippe Mathieu-Daudé
---
target/avr/helper.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/target/avr/helper.c b/target/avr/helper.c
index 35e101
Le 4/30/21 à 12:27 PM, Joaquin de Andres a écrit :
On 4/28/21 9:17 PM, Philippe Mathieu-Daudé wrote:
Cc'ing Joaquín.
On 4/28/21 9:15 PM, Frederic Konrad wrote:
According to the as documentation:
(https://sourceware.org/binutils/docs-2.36/as/AVR-Options.html)
"Instruction set avr51 is
Le 5/2/21 à 10:10 PM, Michael Rolnik a écrit :
Signed-off-by: Michael Rolnik
---
hw/avr/Kconfig| 1 +
hw/avr/atmega.c | 15 ++-
hw/avr/atmega.h | 2 +
hw/watchdog/Kconfig | 3 +
hw/watchdog/avr_wdt.c | 190
Hi Michael,
Le 5/2/21 à 10:10 PM, Michael Rolnik a écrit :
1. Initial implementation of AVR WDT
Nice!
There are two issues with this implementation so I need your help here
a. when I configure the WDT to fire an interrupt every 15ms it actually
happens every 6 instructions
Le 4/28/21 à 8:17 PM, Michael Rolnik a écrit :
Hi Fred.
How can I reproduce it?
Thank you.
Michael Rolnik
Hi Michael,
First sorry for the patchew noise, I didn't meant to sent a patch just an
inlined diff.
For the reproducer, that's pretty straight-forward with v6.0.0-rc5:
$ cat > fo
Le 4/28/21 à 4:16 PM, Philippe Mathieu-Daudé a écrit :
We are going to move this code, fix its style first.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: KONRAD Frederic
---
hw/sparc64/sparc64.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
Le 4/28/21 à 4:16 PM, Philippe Mathieu-Daudé a écrit :
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: KONRAD Frederic
---
hw/sparc64/sparc64.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/sparc64/sparc64.c b/hw/sparc64/sparc64.c
index e3f9219a101..cc0b9bd30d3 100644
---
placeholder */
-cs->exception_index = EXCP_DEBUG;
+qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET);
cpu_loop_exit(cs);
}
In the case the guest wants to reset the board through the watchdog, would that
make sense to swap to that?
Best Regards,
Fred
Hi Philippe,
Le 4/27/21 à 9:26 PM, Philippe Mathieu-Daudé a écrit :
When building without the leon3 machine, we get this link failure:
/usr/bin/ld: target_sparc_int32_helper.c.o: in function `leon3_irq_manager':
target/sparc/int32_helper.c:172: undefined reference to `leon3_irq_ack'
Le 4/27/21 à 9:26 PM, Philippe Mathieu-Daudé a écrit :
This series fixes link failure when building either the leon3
machine or the sun4m ones.
The problem is we have hardware specific code in the architectural
translation code. Move this code to hw/sparc/.
The link failures can be
in passing.
Incidentally I suspect the irqmp_ack logic could also be done more
neatly, but I didn't feel like getting into that at this point.
Indeed, and I've some cleanup patches for that, but never had time to submit
them. Hopefully sometime in 2021 :).
Cheers,
Fred
Tested by booting
Le 12/12/20 à 3:41 PM, Peter Maydell a écrit :
The grlib.h header defines a set_pil_in_fn typedef which is never
used; remove it.
Signed-off-by: Peter Maydell
---
include/hw/sparc/grlib.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/hw/sparc/grlib.h
Hi Peter,
Le 12/12/20 à 3:41 PM, Peter Maydell a écrit :
Currently the GRLIB_IRQMP device is used in one place (the leon3 board),
but instead of the device providing inbound gpio lines for the board
to wire up, the board code itself calls qemu_allocate_irqs() with
the handler function being a
Le 6/26/20 à 12:06 PM, Fred Konrad a écrit :
Le 6/16/20 à 4:52 PM, Alex Bennée a écrit :
kon...@adacore.com writes:
From: KONRAD Frederic
With that we can just use chardev=serial0.
I don't quite follow what this means.
./aarch64-softmmu/qemu-system-aarch64 -cpu max -monitor none
won't
get any framebuffer with an empty EDID.
But this was long ago and I don't have any image anymore to test that today.
CC'ed Edgar, he can probably help with that.
Regards,
Fred
I don't know the policy on changing an API like this with silent
semantic changes. You've gotten all the internal
Le 6/16/20 à 4:52 PM, Alex Bennée a écrit :
kon...@adacore.com writes:
From: KONRAD Frederic
With that we can just use chardev=serial0.
I don't quite follow what this means.
./aarch64-softmmu/qemu-system-aarch64 -cpu max -monitor none -chardev=serial0
-M virt -display none
m68k TCG emulation to generate directly the FP_UNIMP
exception.
Is this already handled in the TCG code?
Thanks,
Fred
So I think, in the end, we don't have invalid number at softfloat level
and floatx80_invalid_encoding() should always return "false" for
TARGET_M68K.
Thanks,
Laurent
Le 6/8/20 à 7:21 PM, Philippe Mathieu-Daudé a écrit :
The UART is present on the chipset regardless there is a
character device connected to it. Map it unconditionally.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sparc/leon3.c | 18 --
1 file changed, 8 insertions(+), 10
#include "chardev/char.h"
-#include
#include "chardev/char-fe.h"
#include "sysemu/sysemu.h"
#include "qemu/main-loop.h"
Reviewed-by: Philippe Mathieu-Daudé
Thanks for the review, Philippe. Can this go through qemu-trivial?
Regards,
Fred
Le 5/28/20 à 2:00 PM, Philippe Mathieu-Daudé a écrit :
Hi Fred,
On 5/28/20 11:44 AM, Fred Konrad wrote:
Hi all,
Just wonderring if there is any reason not to be able to defer
qemu_semihosting_connect_chardevs a little more to be able to specify
chardev=serial0?
Like:
diff --git a/softmmu
c!=0);
return s;
}
I can roll out two patches if needed..
Cheers,
Fred
Sorry Philippe I missed that.
Would be happy to do a PR if needed but:
* I never did that.
* Looking at https://wiki.qemu.org/Contribute/SubmitAPullRequest, I don't have
the signed GPG key either.
Cheers,
Fred
Le 5/23/20 à 7:26 PM, Philippe Mathieu-Daudé a écrit :
ping?
On 5/11/20 9
I wasn't aware of this mailmap stuff.
Le 5/18/20 à 12:39 PM, Philippe Mathieu-Daudé a écrit :
Update Fred Konrad email address to avoid emails bouncing.
Signed-off-by: Philippe Mathieu-Daudé
---
.mailmap | 1 +
1 file changed, 1 insertion(+)
diff --git a/.mailmap b/.mailmap
index
Le 5/18/20 à 7:03 AM, Markus Armbruster a écrit :
xlnx_dp_init() creates these two devices, but they're never realized.
Affects machine xlnx-zcu102.
I wonder how this ever worked. If the "device becomes real only on
realize" thing actually works, then we've always been missing these
two
Le 5/18/20 à 7:04 AM, Markus Armbruster a écrit :
leon3_generic_hw_init() creates a "grlib,ahbpnp" and a "grlib,apbpnp"
sysbus device in a way that leaves them unplugged.
Create them the common way that puts them into the main system bus.
Affects machine leon3_generic. Visible in "info
=》Could HiSilicon respond to Dann & Rafael's comments #36 and #38?
=》Is there an upstream acceptable patch that addresses this issue?
No upstream patchset, I Only provide a private solution and do not know
this root cause.
--
You received this bug notification because you are a member of qemu-
include/block/aio.h | 3 +++
qemu-img.c | 4
util/async.c| 5 +
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/include/block/aio.h b/include/block/aio.h
index e9bc04c..9153d87 100644
--- a/include/block/aio.h
+++ b/include/block/aio.h
@@ -89,6 +89,9 @@
y intuitive either.
Going that path would certainly break the way Openstack Ironic project uses
qemu-img via the ironic-python-agent to image baremetal servers. And I can
imagine there are other cases out there using qemu-img to write out disk images
to blockdevices.
Fred
traces attached with mentioned flags.
Both truncated due to file size at what I believe to be the same position in
the "write-phase". FC29 has the "zeroing-phase" in front.
Fred
fc27_qemu-img.strace.snip.gz
Description: fc27_qemu-img.strace.snip.gz
fc29_qemu-img.strace.snip.gz
Description: fc29_qemu-img.strace.snip.gz
I write a bug against the
ironic-python-agent to start using this parameter?
* If the behavior is expected: is there some pointer to
documentation/changelogs I can read about this?
Thanks,
Regards,
Fred De Backer
SME Video Integration Engineer,
IP/Optical Networks, Nokia
fred.de_bac...@nokia.com
Update doc with the usage of UUID for initiator name.
Related-To: https://bugzilla.redhat.com/1006468
Signed-off-by: Fred Rolland <froll...@redhat.com>
---
qemu-doc.texi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 9811476..4
From: KONRAD Frederic
This allows to execute from the lqspi area.
When the request_ptr is called the device loads 1024bytes from the SPI device.
Then this code can be executed by the guest.
Reviewed-by: Edgar E. Iglesias
Signed-off-by:
From: KONRAD Frederic
This introduces a special callback which allows to run code from some MMIO
devices.
SysBusDevice with a MemoryRegion which implements the request_ptr callback will
be notified when the guest try to execute code from their offset. Then it will
be
From: KONRAD Frederic
get_page_addr_code(..) does a cpu_ldub_code to fill the tlb:
This can lead to some side effects if a device is mapped at this address.
So this patch replaces the cpu_memory_ld by a tlb_fill.
Reviewed-by: Richard Henderson
From: KONRAD Frederic
This just moves the code before VICTIM_TLB_HIT macro definition
so we can use it.
Reviewed-by: Richard Henderson
Reviewed-by: Edgar E. Iglesias
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic
This replaces env1 and page_index variables by env and index
so we can use VICTIM_TLB_HIT macro later.
Reviewed-by: Richard Henderson
Reviewed-by: Edgar E. Iglesias
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic
This introduces mmio_interface object which contains a MemoryRegion
and can be hotplugged/hotunplugged.
Reviewed-by: Edgar E. Iglesias
Signed-off-by: KONRAD Frederic
V1 -> V2:
* Fix the
patch implements the execution from the SPI memories in the
xilinx_spips model.
Thanks,
Fred
V2 -> V3:
* Reorder patches to allow bisection.
* Rebase on current master.
* Use an async work to invalidate the mmio region.
* Clear the dirty of the region before invalidating it.
V1 ->
From: KONRAD Frederic
We need to pass a pointer to a MemoryRegion for mmio_interface.
So this just adds that.
Reviewed-by: Edgar E. Iglesias
Signed-off-by: KONRAD Frederic
---
include/hw/qdev-properties.h | 2 ++
From: KONRAD Frederic
The tb_env variable is set two lines above. So just drop the double assignment.
Signed-off-by: KONRAD Frederic
---
hw/ppc/ppc_booke.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/ppc/ppc_booke.c
From: KONRAD Frederic
This introduces a clock init array to ease the clock tree construction.
Signed-off-by: KONRAD Frederic
V2 -> V3:
* s/QEMUClock/qemu_clk/g
---
include/qemu/qemu-clock.h | 23 +++
qemu-clock.c
From: KONRAD Frederic
This introduces qemu-clk qom object.
Signed-off-by: KONRAD Frederic
V2 -> V3:
* s/qemu_clk/QEMUClock/g
---
Makefile.objs | 1 +
include/qemu/qemu-clock.h | 40 +
From: KONRAD Frederic
This adds some fixed reference clock to the zynqmp platform.
They will feed the zynqmp_crf block.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 49
"apll_clk" 5000
qemu-clk "pss_alt_ref_clk" 0
qemu-clk "ddr" 0
qemu-clk "dbg_tstmp" 0
qemu-clk "pss_ref_clk" 5000
qemu-clk "dpdma_ref" 0
qemu-clk "vpll_to_lpd" 1250
mmio
From: KONRAD Frederic
This introduce Xilinx zynqmp-crf.
It is extracted from the qemu xilinx tree
(02d2f0203dd489ed30d9c8d90c14a52c57332b25) and is used as
an example for the clock framework.
---
hw/misc/Makefile.objs | 1 +
hw/misc/xilinx_zynqmp_crf.c | 968
From: KONRAD Frederic
This is a fixed clock device.
It justs behave as an empty device with a parametrable output rate.
Signed-off-by: KONRAD Frederic
---
hw/misc/Makefile.objs | 1 +
hw/misc/fixed-clock.c | 88
From: KONRAD Frederic
This adds the zynqmp_crf to the zynqmp platform.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 7 +++
include/hw/arm/xlnx-zynqmp.h | 2 ++
2 files changed, 9 insertions(+)
diff --git
From: KONRAD Frederic
This introduces the clock binding and the update part.
When the qemu_clk_rate_update(qemu_clk, int) function is called:
* The clock callback is called on the qemu_clk so it can change the rate.
* The qemu_clk_rate_update function is called on
From: KONRAD Frederic
This prints the clock attached to a DeviceState when using "info qtree" monitor
command.
For example:
bus: main-system-bus
type System
dev: xlnx.zynqmp_crf, id ""
gpio-out "sysbus-irq" 1
gpio-out "RST_A9" 4
qemu-clk "dbg_trace"
From: KONRAD Frederic
This allows to add a clock to a DeviceState.
Contrary to gpios, the clock pins are not contained in the DeviceState but
with the child property so they can appears in the qom-tree.
Signed-off-by: KONRAD Frederic
V2 ->
From: KONRAD Frederic
This adds the qemu-clock documentation.
Signed-off-by: KONRAD Frederic
V1 -> V2:
* Fixed in accordance with the changes in the previous patches.
---
docs/clock.txt | 278
patch implements the execution from the SPI memories in the
xilinx_spips model.
Thanks,
Fred
V1 -> V2:
* Fix the DPRINTF error.
RFC -> V1:
* Use an interface (mmio-interface) to fix any reference leak issue.
KONRAD Frederic (7):
cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT
From: KONRAD Frederic
This introduces mmio_interface object which contains a MemoryRegion
and can be hotplugged/hotunplugged.
Signed-off-by: KONRAD Frederic
V1 -> V2:
* Fix the qemu_log format.
---
hw/misc/Makefile.objs| 1
From: KONRAD Frederic
This replaces env1 and page_index variables by env and index
so we can use VICTIM_TLB_HIT macro later.
Signed-off-by: KONRAD Frederic
---
cputlb.c | 18 +-
1 file changed, 9 insertions(+), 9
From: KONRAD Frederic
We need to pass a pointer to a MemoryRegion for mmio_interface.
So this just adds that.
Signed-off-by: KONRAD Frederic
---
include/hw/qdev-properties.h | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: KONRAD Frederic
This allows to execute from the lqspi area.
When the request_ptr is called the device loads 1024bytes from the SPI device.
Then this code can be executed by the guest.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
get_page_addr_code(..) does a cpu_ldub_code to fill the tlb:
This can lead to some side effects if a device is mapped at this address.
So this patch replaces the cpu_memory_ld by a tlb_fill.
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic
This introduces a special callback which allows to run code from some MMIO
devices.
SysBusDevice with a MemoryRegion which implements the request_ptr callback will
be notified when the guest try to execute code from their offset. Then it will
be
From: KONRAD Frederic
This just moves the code before VICTIM_TLB_HIT macro definition
so we can use it.
Signed-off-by: KONRAD Frederic
---
cputlb.c | 72
1 file changed, 36
From: KONRAD Frederic
This replaces env1 and page_index variables by env and index
so we can use VICTIM_TLB_HIT macro later.
Signed-off-by: KONRAD Frederic
---
cputlb.c | 18 +-
1 file changed, 9 insertions(+), 9
patch implements the execution from the SPI memories in the
xilinx_spips model.
Thanks,
Fred
RFC -> V1:
* Use an interface (mmio-interface) to fix any reference leak issue.
KONRAD Frederic (7):
cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT
cputlb: move get_page_addr_code
cputlb: fi
From: KONRAD Frederic
This introduces mmio_interface object which contains a MemoryRegion
and can be hotplugged/hotunplugged.
Signed-off-by: KONRAD Frederic
---
hw/misc/Makefile.objs| 1 +
hw/misc/mmio_interface.c |
From: KONRAD Frederic
We need to pass a pointer to a MemoryRegion for mmio_interface.
So this just adds that.
Signed-off-by: KONRAD Frederic
---
include/hw/qdev-properties.h | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: KONRAD Frederic
get_page_addr_code(..) does a cpu_ldub_code to fill the tlb:
This can lead to some side effects if a device is mapped at this address.
So this patch replaces the cpu_memory_ld by a tlb_fill.
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic
This allows to execute from the lqspi area.
When the request_ptr is called the device loads 1024bytes from the SPI device.
Then this code can be executed by the guest.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This allows to execute from the lqspi area.
When the request_ptr is called the device loads 1024bytes from the SPI device.
Then this code can be executed by the guest.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This introduces a special callback which allows to run code from some MMIO
devices.
SysBusDevice with a MemoryRegion which implements the request_ptr callback will
be notified when the guest try to execute code from their offset. Then it will
be
e mmio execution helpers: the device must
implement the request_ptr callback of the MemoryRegion and will be notified when
the guest wants to execute code from it.
The fifth patch implements the execution from the SPI memories in the
xilinx_spips model.
Thanks,
Fred
KONRAD Frederic (5):
cputlb: c
From: KONRAD Frederic
This just moves the code before VICTIM_TLB_HIT macro definition
so we can use it.
Signed-off-by: KONRAD Frederic
---
cputlb.c | 72
1 file changed, 36
From: KONRAD Frederic
get_page_addr_code(..) does a cpu_ldub_code to fill the tlb:
This can lead to some side effects if a device is mapped at this address.
So this patch replaces the cpu_memory_ld by a tlb_fill.
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic
This replaces env1 and page_index variables by env and index
so we can use VICTIM_TLB_HIT macro later.
Signed-off-by: KONRAD Frederic
---
cputlb.c | 18 +-
1 file changed, 9 insertions(+), 9
From: KONRAD Frederic
This is a fixed clock device.
It justs behave as an empty device with a parametrable output rate.
Signed-off-by: KONRAD Frederic
---
hw/misc/Makefile.objs | 1 +
hw/misc/fixed-clock.c | 88
From: KONRAD Frederic
This introduces qemu-clk qom object.
Signed-off-by: KONRAD Frederic
---
Makefile.objs | 1 +
include/qemu/qemu-clock.h | 40 +
qemu-clock.c | 50
From: KONRAD Frederic
This adds some fixed reference clock to the zynqmp platform.
They will feed the zynqmp_crf block.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 49
From: KONRAD Frederic
This adds the zynqmp_crf to the zynqmp platform.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 7 +++
include/hw/arm/xlnx-zynqmp.h | 2 ++
2 files changed, 9 insertions(+)
diff --git
From: KONRAD Frederic
This prints the clock attached to a DeviceState when using "info qtree" monitor
command.
For example:
bus: main-system-bus
type System
dev: xlnx.zynqmp_crf, id ""
gpio-out "sysbus-irq" 1
gpio-out "RST_A9" 4
qemu-clk "dbg_trace"
From: KONRAD Frederic
This adds the qemu-clock documentation.
Signed-off-by: KONRAD Frederic
V1 -> V2:
* Fixed in accordance with the changes in the previous patches.
---
docs/clock.txt | 108
From: KONRAD Frederic
This introduce Xilinx zynqmp-crf.
It is extracted from the qemu xilinx tree
(02d2f0203dd489ed30d9c8d90c14a52c57332b25) and is used as
an example for the clock framework.
---
hw/misc/Makefile.objs | 1 +
hw/misc/xilinx_zynqmp_crf.c | 968
From: KONRAD Frederic
This introduces the clock binding and the update part.
When the qemu_clk_rate_update(qemu_clk, int) function is called:
* The clock callback is called on the qemu_clk so it can change the rate.
* The qemu_clk_rate_update function is called on
From: KONRAD Frederic
This allows to add a clock to a DeviceState.
Contrary to gpios, the clock pins are not contained in the DeviceState but
with the child property so they can appears in the qom-tree.
Signed-off-by: KONRAD Frederic
V1 ->
"apll_clk" 5000
qemu-clk "pss_alt_ref_clk" 0
qemu-clk "ddr" 0
qemu-clk "dbg_tstmp" 0
qemu-clk "pss_ref_clk" 5000
qemu-clk "dpdma_ref" 0
qemu-clk "vpll_to_lpd" 1250
mmio 000
From: KONRAD Frederic
This introduces a clock init array to ease the clock tree construction.
Signed-off-by: KONRAD Frederic
---
include/qemu/qemu-clock.h | 23 +++
qemu-clock.c | 17 +
2
From: KONRAD Frederic
This adds some fixed reference clock to the zynqmp platform.
They will feed the zynqmp_crf block.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 42 ++
From: KONRAD Frederic
This introduce Xilinx zynqmp-crf.
It is extracted from the qemu xilinx tree
(02d2f0203dd489ed30d9c8d90c14a52c57332b25) and is used as
an example for the clock framework.
---
hw/misc/Makefile.objs | 1 +
hw/misc/xilinx_zynqmp_crf.c | 968
From: KONRAD Frederic
This is a fixed clock device.
It justs behave as an empty device with a parametrable output rate.
Signed-off-by: KONRAD Frederic
---
hw/misc/Makefile.objs | 1 +
hw/misc/fixed-clock.c | 88
From: KONRAD Frederic
This adds the zynqmp_crf to the zynqmp platform.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 7 +++
include/hw/arm/xlnx-zynqmp.h | 2 ++
2 files changed, 9 insertions(+)
diff --git
From: KONRAD Frederic
This introduces the clock binding and the update part.
When the qemu_clk_rate_update(qemu_clk, int) function is called:
* The clock callback is called on the qemu_clk so it can change the rate.
* The qemu_clk_rate_update function is called on
From: KONRAD Frederic
This adds the qemu-clock documentation.
Signed-off-by: KONRAD Frederic
---
docs/clock.txt | 109 +
1 file changed, 109 insertions(+)
create mode 100644
From: KONRAD Frederic
This prints the clock attached to a DeviceState when using "info qtree" monitor
command.
For example:
bus: main-system-bus
type System
dev: xlnx.zynqmp_crf, id ""
gpio-out "sysbus-irq" 1
gpio-out "RST_A9" 4
qemu-clk "dbg_trace"
From: KONRAD Frederic
This introduces a clock init array to ease the clock tree construction.
Signed-off-by: KONRAD Frederic
---
include/qemu/qemu-clock.h | 23 +++
qemu-clock.c | 17 +
2
"apll_clk" 5000
qemu-clk "pss_alt_ref_clk" 0
qemu-clk "ddr" 0
qemu-clk "dbg_tstmp" 0
qemu-clk "pss_ref_clk" 5000
qemu-clk "dpdma_ref" 0
qemu-clk "vpll_to_lpd" 1250
mmio fd1a/000
From: KONRAD Frederic
This introduces qemu-clk qom object.
Signed-off-by: KONRAD Frederic
---
Makefile.objs | 1 +
include/qemu/qemu-clock.h | 40 +
qemu-clock.c | 50
From: KONRAD Frederic
This allows to attach a clock to a DeviceState.
Contrary to gpios, the clock pins are not contained in the DeviceState but
with the child property so they can appears in the qom-tree.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This prints the clock attached to a DeviceState when using "info qtree" monitor
command.
Signed-off-by: KONRAD Frederic
---
include/qemu/qemu-clock.h | 9 +
qdev-monitor.c| 2 ++
qemu-clock.c
From: KONRAD Frederic
This adds the zynqmp_crf to the zynqmp platform.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 7 +++
include/hw/arm/xlnx-zynqmp.h | 1 +
2 files changed, 8 insertions(+)
diff --git
From: KONRAD Frederic
This adds some fixed reference clock to the zynqmp platform.
They will feed the zynqmp_crf block.
Signed-off-by: KONRAD Frederic
---
hw/arm/xlnx-zynqmp.c | 42 ++
From: KONRAD Frederic
This allows to attach a clock to a DeviceState.
Contrary to gpios, the clock pins are not contained in the DeviceState but
with the child property so they can appears in the qom-tree.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This introduce Xilinx zynqmp-crf.
It is extracted from the qemu xilinx tree
(02d2f0203dd489ed30d9c8d90c14a52c57332b25) and is used as
an example for the clock framework.
---
hw/misc/Makefile.objs | 1 +
hw/misc/xilinx_zynqmp_crf.c | 532
From: KONRAD Frederic
This adds the pll to the zynqmp_crf and the dp_video clock output.
Signed-off-by: KONRAD Frederic
---
hw/misc/xilinx_zynqmp_crf.c | 440
1 file changed, 440 insertions(+)
From: KONRAD Frederic
This introduces the clock binding and the update part.
When the qemu_clk_rate_update(qemu_clk, int) function is called:
* The clock callback is called on the qemu_clk so it can change the rate.
* The qemu_clk_rate_update function is called on
1 - 100 of 809 matches
Mail list logo