9ffea096 | 26-Jun-2017 |
Peter Xu <peterx@redhat.com> |
accel: introduce AccelClass.global_props
Introduce this new field for the accelerator classes so that each specific accelerator in the future can register its own global properties to be used furthe
accel: introduce AccelClass.global_props
Introduce this new field for the accelerator classes so that each specific accelerator in the future can register its own global properties to be used further by the system. It works just like how the old machine compatible properties do, but only tailored for accelerators.
Introduce register_compat_props_array() for it. Export it so that it may be used in other codes as well in the future.
Suggested-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <1498536619-14548-3-git-send-email-peterx@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
c9356746 | 19-Oct-2016 |
KONRAD Frederic <fred.konrad@greensocs.com> |
exec: allow to get a pointer for some mmio memory region
This introduces a special callback which allows to run code from some MMIO devices.
SysBusDevice with a MemoryRegion which implements the re
exec: allow to get a pointer for some mmio memory region
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 able to eg: pre-load some code from an SPI device or ask a pointer from an external simulator, etc..
When the pointer or the data in it are no longer valid the device has to invalidate it.
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
show more ...
|
71b9a453 | 03-Feb-2017 |
KONRAD Frederic <fred.konrad@greensocs.com> |
cputlb: fix the way get_page_addr_code fills the tlb
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 p
cputlb: fix the way get_page_addr_code fills the tlb
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 <rth@twiddle.net> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
show more ...
|
f2553f04 | 03-Feb-2017 |
KONRAD Frederic <fred.konrad@greensocs.com> |
cputlb: move get_page_addr_code
This just moves the code before VICTIM_TLB_HIT macro definition so we can use it.
Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Edgar E. Iglesias <ed
cputlb: move get_page_addr_code
This just moves the code before VICTIM_TLB_HIT macro definition so we can use it.
Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
show more ...
|
92229a57 | 02-Jun-2017 |
Yang Zhong <yang.zhong@intel.com> |
accel: move kvm related accelerator files into accel/
move kvm related accelerator files into accel/ subdirectory, also create one stub subdirectory, which will include accelerator's stub files.
Si
accel: move kvm related accelerator files into accel/
move kvm related accelerator files into accel/ subdirectory, also create one stub subdirectory, which will include accelerator's stub files.
Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <1496383606-18060-5-git-send-email-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
244f1441 | 02-Jun-2017 |
Yang Zhong <yang.zhong@intel.com> |
tcg: move tcg backend files into accel/tcg/
move tcg-runtime.c, translate-all.(ch) and translate-common.c into accel/tcg/ subdirectory and updated related trace-events file.
Signed-off-by: Yang Zho
tcg: move tcg backend files into accel/tcg/
move tcg-runtime.c, translate-all.(ch) and translate-common.c into accel/tcg/ subdirectory and updated related trace-events file.
Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <1496383606-18060-4-git-send-email-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
d9bb58e5 | 02-Jun-2017 |
Yang Zhong <yang.zhong@intel.com> |
tcg: move tcg related files into accel/tcg/ subdirectory
move cputlb.c, cpu-exec-common.c and cpu-exec.c related tcg exec file into accel/tcg/ subdirectory.
Signed-off-by: Yang Zhong <yang.zhong@in
tcg: move tcg related files into accel/tcg/ subdirectory
move cputlb.c, cpu-exec-common.c and cpu-exec.c related tcg exec file into accel/tcg/ subdirectory.
Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <1496383606-18060-3-git-send-email-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|