freebsd-dev/sys/powerpc/pseries
Leandro Lupori 8920043674 [PPC64] Fix wrong KASSERT in mphyp_pte_insert()
As mphyp_pte_unset() can also remove PTE entries, and as this can
happen in parallel with PTEs evicted by mphyp_pte_insert(), there
is a (rare) chance the PTE being evicted gets removed before
mphyp_pte_insert() is able to do so. Thus, the KASSERT should
check wether the result is H_SUCCESS or H_NOT_FOUND, to avoid
panics if the situation described above occurs.

More details about this issue can be found in PR 237470.

PR:		237470
Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D20012
2019-04-23 17:11:45 +00:00
..
mmu_phyp.c [PPC64] Fix wrong KASSERT in mphyp_pte_insert() 2019-04-23 17:11:45 +00:00
phyp_console.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
phyp_llan.c [PowerPC64] pseries-llan: increment packet output counters on error and success 2019-04-23 03:19:03 +00:00
phyp_vscsi.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
phyp-hvcall.h powerpc64/pseries: Define new hcalls 2018-02-14 02:48:27 +00:00
phyp-hvcall.S powerpc64/pseries: Fix hypervisor call with extra arguments 2019-04-23 03:05:26 +00:00
platform_chrp.c powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
plpar_iommu.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
plpar_iommu.h sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
plpar_pcibus.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
rtas_dev.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
rtas_pci.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
vdevice.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
xics.c powerpc/powernv: Add a driver for the POWER9 XIVE interrupt controller 2019-02-02 04:15:16 +00:00