[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging-4.17] x86/p2m-pt: fix off by one in entry check assert



*** New tip has no discernable common ancestor with previous history ***
    Previously reported histories end at:
        0751a75e3996cf6efd3925a90b4776660d8df2bc

commit 091466ba55d1e2e75738f751818ace2e3ed08ccf
Author:     Roger Pau Monné <roger.pau@xxxxxxxxxx>
AuthorDate: Fri Feb 2 08:04:33 2024 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Feb 2 08:04:33 2024 +0100

    x86/p2m-pt: fix off by one in entry check assert
    
    The MMIO RO rangeset overlap check is bogus: the rangeset is inclusive so 
the
    passed end mfn should be the last mfn to be mapped (not last + 1).
    
    Fixes: 6fa1755644d0 ('amd/npt/shadow: replace assert that prevents creating 
2M/1G MMIO entries')
    Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Reviewed-by: George Dunlap <george.dunlap@xxxxxxxxx>
    master commit: 610775d0dd61c1bd2f4720c755986098e6a5bafd
    master date: 2024-01-25 16:09:04 +0100
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.17



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.