All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/arm/virt: Improve address assignment for highmem IO regions
@ 2022-08-02  6:45 Gavin Shan
  2022-08-02  6:45 ` [PATCH 1/2] " Gavin Shan
  2022-08-02  6:45 ` [PATCH 2/2] hw/arm/virt: Warn when high memory region is disabled Gavin Shan
  0 siblings, 2 replies; 20+ messages in thread
From: Gavin Shan @ 2022-08-02  6:45 UTC (permalink / raw)
  To: qemu-arm
  Cc: qemu-devel, peter.maydell, richard.henderson, eric.auger, cohuck,
	zhenyzha, shan.gavin

There are 3 highmem IO regions on arm/virt machine. Their base addresses
are determined dynamically. However, there are several issues I can see
in current implementation:

(1) The memory region's base address and highest_gpa are always updated
    no matter even if the memory region has been disabled. It's incorrectly
    incurring waste in the PA space.

(2) One particular memory region can be silently disabled due to the PA
    limit. We need warn users in this case. The warning messages are
    helpful to identify the cause of potential issues in future.

The issue (1) and (2) are fixed by PATCH[1] and PATCH[2] separately.

Gavin Shan (2):
  hw/arm/virt: Improve address assignment for highmem IO regions
  hw/arm/virt: Warn when high memory region is disabled

 hw/arm/virt.c | 72 +++++++++++++++++++++++++++++++++++----------------
 1 file changed, 49 insertions(+), 23 deletions(-)

-- 
2.23.0



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-08-11  7:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02  6:45 [PATCH 0/2] hw/arm/virt: Improve address assignment for highmem IO regions Gavin Shan
2022-08-02  6:45 ` [PATCH 1/2] " Gavin Shan
2022-08-02  9:41   ` Eric Auger
2022-08-03  3:01     ` Gavin Shan
2022-08-03  7:01       ` Marc Zyngier
2022-08-03  8:10         ` Eric Auger
2022-08-03 13:02         ` Gavin Shan
2022-08-03 12:52           ` Eric Auger
2022-08-04  2:47             ` Gavin Shan
2022-08-04  7:19               ` Eric Auger
2022-08-05  8:36                 ` Gavin Shan
2022-08-05  8:00                   ` Eric Auger
2022-08-08  9:17           ` Marc Zyngier
2022-08-11  5:32             ` Gavin Shan
2022-08-11  7:37               ` Marc Zyngier
2022-08-03  8:44       ` Eric Auger
2022-08-03 13:11         ` Gavin Shan
2022-08-02  6:45 ` [PATCH 2/2] hw/arm/virt: Warn when high memory region is disabled Gavin Shan
2022-08-02  9:49   ` Eric Auger
2022-08-03  6:13     ` Gavin Shan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.