I am remapping the LAPIC registers page to some virtual address. During the remap procedure, virtual memory subsystem invalidates the TLB for the page and then does clflush over the region, looping from the page start to end with appropriate step.
Unfortunately, on the first clflush, for the lowest address, I get unexpected interrupt. The interrupt is syncronous, i.e. it happens with $eip pointing to clflush.
Is it allowed and correct to call clflush over the virtuall mapping of lapic ?