Re: git: c8c37141a661 - main - virtio_blk: Use bus_dma for command/ack buffer allocations

From: Alan Somers <asomers_at_freebsd.org>
Date: Sun, 29 Mar 2026 16:17:40 UTC
On Tue, Mar 3, 2026 at 10:38 AM Andrew Turner <andrew@freebsd.org> wrote:
>
> The branch main has been updated by andrew:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=c8c37141a661cc9a6a51e43599d1afc8a3f0ef46
>
> commit c8c37141a661cc9a6a51e43599d1afc8a3f0ef46
> Author:     Sarah Walker <sarah.walker2@arm.com>
> AuthorDate: 2026-03-03 16:27:38 +0000
> Commit:     Andrew Turner <andrew@FreeBSD.org>
> CommitDate: 2026-03-03 16:29:15 +0000
>
>     virtio_blk: Use bus_dma for command/ack buffer allocations
>
>     While the majority of virtio platforms will be fully coherent, some may
>     require cache maintenance or other specific device memory handling (eg for
>     secure partitioning). Using bus_dma allows for these usecases.
>
>     The virtio buffers are marked as coherent; this should ensure that sync
>     calls are no-ops in the common cases.
>
>     Reviewed by:    andrew, br
>     Sponsored by:   Arm Ltd
>     Differential Revision:  https://reviews.freebsd.org/D54960

After this commit, my VM can no longer dump core.  When I try, it
panics again.  Could you please investigate?  And let's move
discussion to Bugzilla:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294120 .