freebsd-src/sys/riscv
Bojan Novković 774549fe06 riscv pmap: Release PTP reference on leaf ptpage allocation failure
d0941ed fixed an edge case invloving mlock() and superpage creation
by creating and inserting a leaf pagetable page for mlock'd superpages.
However, the code does not properly release the reference to the
pagetable page in the error handling path.
This commit fixes the issue by adding calls to 'pmap_abort_ptp'
in the error handling path.

Reported by: alc
Approved by: markj (mentor)
Fixes: d0941ed
Differential Revision: https://reviews.freebsd.org/D45580
2024-06-16 18:19:27 +02:00
..
allwinner sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
conf riscv: include ahci device to GENERIC. 2024-06-12 13:40:50 +01:00
include riscv: add stage 2 translation to pmap. 2024-06-05 14:36:57 +01:00
riscv riscv pmap: Release PTP reference on leaf ptpage allocation failure 2024-06-16 18:19:27 +02:00
sifive fu740_pci_dw: Fix PERST delay and keep asserted for rest of reset sequence 2024-06-02 21:42:18 +01:00
starfive jh7110: Add StarFive JH7110 clock/reset generator drivers 2024-05-07 13:07:36 -03:00