]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/pnv: Add a PNOR address and size sanity checks
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 Feb 2025 15:07:57 +0000 (01:07 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:30 +0000 (22:43 +1000)
commit4c84a0a4a6e5c4a374493d99e7eb702def7e7eae
treee980771ca14854e19b6fdd67ea8a733c371efef3
parentb899de9a3d959652bf61d671ffa2c2ba23259b15
ppc/pnv: Add a PNOR address and size sanity checks

The BMC HIOMAP PNOR access protocol has certain limits on PNOR addresses
and sizes. Add some sanity checks for these so we don't get strange
behaviour.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/pnv_bmc.c