freebsd-skq/sys/powerpc/aim
Leandro Lupori b8efbfb9d3 [ppc64] prevent infinite loop on icache sync
At moea64_sync_icache(), when the 'va' argument has page size
alignment, round_page() will return the same value as 'va'.
This would cause 'len' to be 0 and thus an infinite loop.

With this change, 'lim' will always point to the next page boundary.

This issue occurred especially during debugging sessions, when a breakpoint
was placed on an exact page-aligned offset, for instance.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D19149
2019-02-12 11:29:03 +00:00
..
aim_machdep.c ppc64: handle exception 0x1500 (soft patch) 2018-12-10 14:54:28 +00:00
isa3_hashtb.c Split the PowerISA 3.0 HPT implementation from historic 2018-06-14 17:23:51 +00:00
locore32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore64.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore.S Add a kdb show command to print arbitrary SPRs on PowerPC 2016-08-13 18:46:49 +00:00
mmu_oea64.c [ppc64] prevent infinite loop on icache sync 2019-02-12 11:29:03 +00:00
mmu_oea64.h Final fix for alignment issues with the page table first patched with 2018-05-14 04:00:52 +00:00
mmu_oea.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
moea64_if.m
moea64_native.c Split the PowerISA 3.0 HPT implementation from historic 2018-06-14 17:23:51 +00:00
mp_cpudep.c Add support for the XIVE XICS emulation mode for POWER9 systems 2018-05-20 03:23:17 +00:00
slb.c Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00
trap_subr32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
trap_subr64.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00