Re: [PATCH] drivers/virtio: Enable virtio mem for ARM64

2022-01-18 Thread Gavin Shan
On 1/18/22 4:38 PM, David Hildenbrand wrote: On 18.01.22 02:34, Gavin Shan wrote: This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed-off-by: Gavin Shan --- drivers/virtio/Kconfig | 2 +- 1 file

[PATCH] drivers/virtio: Enable virtio mem for ARM64

2022-01-17 Thread Gavin Shan
This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed-off-by: Gavin Shan --- drivers/virtio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/Kconfig b/drivers

[PATCH v2] drivers/virtio: Enable virtio mem for ARM64

2022-01-18 Thread Gavin Shan
This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed-off-by: Gavin Shan Acked-by: David Hildenbrand --- v2: Improved the comments about the kernel config option (David) --- drivers/virtio/Kconfig | 7

Re: [PATCH] drivers/virtio: Enable virtio mem for ARM64

2022-01-18 Thread Gavin Shan
On 1/18/22 5:22 PM, Jonathan Cameron wrote: On Tue, 18 Jan 2022 16:42:55 +0800 Gavin Shan wrote: On 1/18/22 4:38 PM, David Hildenbrand wrote: On 18.01.22 02:34, Gavin Shan wrote: This enables virtio-mem device support by allowing to enable the corresponding kernel config option

Re: [PATCH v2] drivers/virtio: Enable virtio mem for ARM64

2022-01-18 Thread Gavin Shan
On 1/18/22 4:48 PM, Gavin Shan wrote: This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed-off-by: Gavin Shan Acked-by: David Hildenbrand --- v2: Improved the comments about the kernel config option

[PATCH v3] drivers/virtio: Enable virtio mem for ARM64

2022-01-18 Thread Gavin Shan
This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed-off-by: Gavin Shan Acked-by: David Hildenbrand Acked-by: Jonathan Cameron Acked-by: Michael S. Tsirkin --- v3: Pick ack-by tags from Jonathan

Re: [PATCH v2] drivers/virtio: Enable virtio mem for ARM64

2022-01-18 Thread Gavin Shan
On 1/19/22 12:05 AM, Michael S. Tsirkin wrote: On Tue, Jan 18, 2022 at 05:38:20PM +0800, Gavin Shan wrote: On 1/18/22 4:48 PM, Gavin Shan wrote: This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed

Re: [PATCH v3] drivers/virtio: Enable virtio mem for ARM64

2022-01-18 Thread Gavin Shan
Hi Michael, On 1/19/22 3:39 PM, Michael S. Tsirkin wrote: On Wed, Jan 19, 2022 at 09:05:51AM +0800, Gavin Shan wrote: This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed-off-by: Gavin Shan Acked

Re: [PATCH] virtio_balloon: Fix endless deflation and inflation on arm64

2023-08-30 Thread Gavin Shan
On 8/31/23 02:30, David Hildenbrand wrote: On 29.08.23 03:54, Gavin Shan wrote: The deflation request to the target, which isn't unaligned to the guest page size causes endless deflation and inflation actions. For example, we receive the flooding QMP events for the changes on memory balloon's

[PATCH v2] virtio_balloon: Fix endless deflation and inflation on arm64

2023-08-30 Thread Gavin Shan
1073610752}} {"timestamp": {"seconds": 1693272184, "microseconds": 100727}, \ "event": "BALLOON_CHANGE", "data": {"actual": 1073610752}} {"timestamp": {"seconds": 1693272185, "microseconds": 9

Re: [PATCH] virtio_balloon: Fix endless deflation and inflation on arm64

2023-08-29 Thread Gavin Shan
On 8/29/23 11:54, Gavin Shan wrote: The deflation request to the target, which isn't unaligned to the guest page size causes endless deflation and inflation actions. For example, we receive the flooding QMP events for the changes on memory balloon's size after a deflation request

Re: [PATCH v2] virtio_balloon: Fix endless deflation and inflation on arm64

2023-09-24 Thread Gavin Shan
Hi David and Michael, On 8/31/23 11:10, Gavin Shan wrote: The deflation request to the target, which isn't unaligned to the guest page size causes endless deflation and inflation actions. For example, we receive the flooding QMP events for the changes on memory balloon's size after a deflation

[PATCH] virtio_balloon: Fix endless deflation and inflation on arm64

2023-08-28 Thread Gavin Shan
073610752}} {"timestamp": {"seconds": 1693272184, "microseconds": 100727}, \ "event": "BALLOON_CHANGE", "data": {"actual": 1073610752}} {"timestamp": {"seconds": 1693272185, "microseconds": 9043