[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 341634: cputlb: cleanup get_page_addr_code to
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 341634: cputlb: cleanup get_page_addr_code to use VICTIM_T... |
Date: |
Tue, 27 Jun 2017 10:09:42 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 3416343255cbe01fbe12e5e36cd4bb5042425b27
https://github.com/qemu/qemu/commit/3416343255cbe01fbe12e5e36cd4bb5042425b27
Author: KONRAD Frederic <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M accel/tcg/cputlb.c
Log Message:
-----------
cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT
This replaces env1 and page_index variables by env and index
so we can use VICTIM_TLB_HIT macro later.
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: KONRAD Frederic <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: f2553f04890cfaef2fb045e7d19b9c4ecd414da2
https://github.com/qemu/qemu/commit/f2553f04890cfaef2fb045e7d19b9c4ecd414da2
Author: KONRAD Frederic <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M accel/tcg/cputlb.c
Log Message:
-----------
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 <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: KONRAD Frederic <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: 71b9a45330fe220d11a7a187efc477745dffbd26
https://github.com/qemu/qemu/commit/71b9a45330fe220d11a7a187efc477745dffbd26
Author: KONRAD Frederic <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M accel/tcg/cputlb.c
Log Message:
-----------
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 <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: KONRAD Frederic <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: ed03d749f3f513b8fb0287757cfda2cb6825f063
https://github.com/qemu/qemu/commit/ed03d749f3f513b8fb0287757cfda2cb6825f063
Author: KONRAD Frederic <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M include/hw/qdev-properties.h
Log Message:
-----------
qdev: add MemoryRegion property
We need to pass a pointer to a MemoryRegion for mmio_interface.
So this just adds that.
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: KONRAD Frederic <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: 7cc2298c46a6afa4f4ff7e5cd262809c782d701b
https://github.com/qemu/qemu/commit/7cc2298c46a6afa4f4ff7e5cd262809c782d701b
Author: KONRAD Frederic <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M hw/misc/Makefile.objs
A hw/misc/mmio_interface.c
A include/hw/misc/mmio_interface.h
Log Message:
-----------
introduce mmio_interface
This introduces mmio_interface object which contains a MemoryRegion
and can be hotplugged/hotunplugged.
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: KONRAD Frederic <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: c93567463532f46f7c860fc6b431566b71adbd6b
https://github.com/qemu/qemu/commit/c93567463532f46f7c860fc6b431566b71adbd6b
Author: KONRAD Frederic <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M accel/tcg/cputlb.c
M include/exec/memory.h
M memory.c
Log Message:
-----------
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 <address@hidden>
Signed-off-by: KONRAD Frederic <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: 252b99baeb9e7e86cc0ece8efcaddebf11d284f5
https://github.com/qemu/qemu/commit/252b99baeb9e7e86cc0ece8efcaddebf11d284f5
Author: KONRAD Frederic <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M hw/ssi/xilinx_spips.c
Log Message:
-----------
xilinx_spips: allow mmio execution
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.
Tested-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: KONRAD Frederic <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Commit: 577caa2672ccde7352fda3ef17e44993de862f0e
https://github.com/qemu/qemu/commit/577caa2672ccde7352fda3ef17e44993de862f0e
Author: Peter Maydell <address@hidden>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M accel/tcg/cputlb.c
M hw/misc/Makefile.objs
A hw/misc/mmio_interface.c
M hw/ssi/xilinx_spips.c
M include/exec/memory.h
A include/hw/misc/mmio_interface.h
M include/hw/qdev-properties.h
M memory.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/edgar/tags/edgar/mmio-exec-v2.for-upstream' into staging
edgar/mmio-exec-v2.for-upstream
# gpg: Signature made Tue 27 Jun 2017 16:22:30 BST
# gpg: using RSA key 0x29C596780F6BCA83
# gpg: Good signature from "Edgar E. Iglesias (Xilinx key) <address@hidden>"
# gpg: aka "Edgar E. Iglesias <address@hidden>"
# Primary key fingerprint: AC44 FEDC 14F7 F1EB EDBF 4151 29C5 9678 0F6B CA83
* remotes/edgar/tags/edgar/mmio-exec-v2.for-upstream:
xilinx_spips: allow mmio execution
exec: allow to get a pointer for some mmio memory region
introduce mmio_interface
qdev: add MemoryRegion property
cputlb: fix the way get_page_addr_code fills the tlb
cputlb: move get_page_addr_code
cputlb: cleanup get_page_addr_code to use VICTIM_TLB_HIT
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/054914f6461c...577caa2672cc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 341634: cputlb: cleanup get_page_addr_code to use VICTIM_T...,
GitHub <=