VirtualBox

Changeset 104870 in vbox for trunk/src


Ignore:
Timestamp:
Jun 7, 2024 1:36:30 PM (8 months ago)
Author:
vboxsync
Message:

VMM/PGM: Missing pgmPhysInvalidatePageMapTLB & pgmR3PhysChunkInvalidateTLB calls after unmapping a chunk. bugref:10687

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGM-armv8.cpp

    r100759 r104870  
    238238    AssertRCReturn(rc, rc);
    239239
    240     PGMR3PhysChunkInvalidateTLB(pVM);
    241     pgmPhysInvalidatePageMapTLB(pVM);
     240    pgmR3PhysChunkInvalidateTLB(pVM); /* includes pgmPhysInvalidatePageMapTLB call */
    242241
    243242    /*
  • trunk/src/VBox/VMM/VMMR3/PGM.cpp

    r104840 r104870  
    934934    AssertRCReturn(rc, rc);
    935935
    936     PGMR3PhysChunkInvalidateTLB(pVM);
    937     pgmPhysInvalidatePageMapTLB(pVM);
     936    pgmR3PhysChunkInvalidateTLB(pVM); /* includes pgmPhysInvalidatePageMapTLB call */
    938937
    939938    /*
  • trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp

    r104859 r104870  
    59005900                    CPUMSetChangedFlags(pVM->apCpusR3[idCpu], CPUM_CHANGED_GLOBAL_TLB_FLUSH);
    59015901                }
     5902
     5903                pgmR3PhysChunkInvalidateTLB(pVM); /* includes pgmPhysInvalidatePageMapTLB call */
    59025904            }
    59035905        }
     
    60436045 * @param   pVM         The cross context VM structure.
    60446046 */
    6045 VMMR3DECL(void) PGMR3PhysChunkInvalidateTLB(PVM pVM)
     6047DECLHIDDEN(void) pgmR3PhysChunkInvalidateTLB(PVM pVM)
    60466048{
    60476049    PGM_LOCK_VOID(pVM);
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r104859 r104870  
    39043904DECLHIDDEN(bool) pgmPhysAssertRamRangesLocked(PVMCC pVM, bool fInUpdate, bool fRamRelaxed);
    39053905#endif
     3906DECLHIDDEN(void)            pgmR3PhysChunkInvalidateTLB(PVM pVM);
    39063907void            pgmPhysInvalidRamRangeTlbs(PVMCC pVM);
    39073908void            pgmPhysInvalidatePageMapTLB(PVMCC pVM);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette