Home
last modified time | relevance | path

Searched hist:ed75a123579d56b5523f74868bb2c5877dc2c119 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/intc/
H A Dpnv_xive2.cdiff ed75a123579d56b5523f74868bb2c5877dc2c119 Wed Jul 05 03:14:00 CDT 2023 Frederic Barrat <fbarrat@linux.ibm.com> pnv/xive2: Always pass a presenter object when accessing the TIMA

The low-level functions to access the TIMA take a presenter object as
a first argument. When accessing the TIMA from the IC BAR,
i.e. indirect calls, we currently pass a NULL pointer for the
presenter argument. While it appears ok with the current usage, it's
dangerous. And it's pretty easy to figure out the presenter in that
context, so this patch fixes it.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20230705081400.218408-1-fbarrat@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>