]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ssi/pnv_spi: Replace PnvXferBuffer with Fifo8 structure
authorChalapathi V <chalapathi.v@linux.ibm.com>
Mon, 3 Mar 2025 14:13:25 +0000 (08:13 -0600)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:31 +0000 (22:43 +1000)
commit17befecda85d585c5b0186af3c4e74fb8b82cbce
treeb694b3218bf063f9ffc74ff11efe342ea5103463
parentffc2cabeb536bc595543845c5fe6147d4f9718d3
hw/ssi/pnv_spi: Replace PnvXferBuffer with Fifo8 structure

In PnvXferBuffer dynamically allocating and freeing is a
process overhead. Hence used an existing Fifo8 buffer with
capacity of 16 bytes.

Signed-off-by: Chalapathi V <chalapathi.v@linux.ibm.com>
Message-ID: <20250303141328.23991-2-chalapathi.v@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ssi/pnv_spi.c
include/hw/ssi/pnv_spi.h