> On 19 Jun 2023, at 18:01, Julien Grall <jul...@xen.org> wrote: > > From: Julien Grall <jgr...@amazon.com> > > On older version of the Arm Arm (ARM DDI 0487E.a, B2-125) there were > the following paragraph: > > "DMB and DSB instructions affect reads and writes to the memory system > generated by Load/Store instructions and data or unified cache > maintenance instructions being executed by the PE. Instruction fetches > or accesses caused by a hardware translation table access are not > explicit accesses." > > Newer revision (e.g. ARM DDI 0487J.a) doesn't have the second sentence > (it might be somewhere else in the Arm Arm). But the interpretation is > not much different. > > In setup_fixmap(), we write the fixmap area and may be used soon after, > for instance, to write to the UART. IOW, there could be hardware > translation table access. So we need to ensure the 'dsb' has completed > before continuing. Therefore add an 'isb'. > > Fixes: 2b11c3646105 ("xen/arm64: head: Remove 1:1 mapping as soon as it is > not used") > Signed-off-by: Julien Grall <jgr...@amazon.com> Reviewed-by: Luca Fancellu <luca.fance...@arm.com>
- Re: [PATCH 2/7] xen/arm32: head: Add mising isb in s... Luca Fancellu
- Re: [PATCH 2/7] xen/arm32: head: Add mising isb in s... Bertrand Marquis
- [PATCH 4/7] xen/arm: page: Consolidate write_pte() and cl... Julien Grall
- RE: [PATCH 4/7] xen/arm: page: Consolidate write_pte... Henry Wang
- Re: [PATCH 4/7] xen/arm: page: Consolidate write_pte... Bertrand Marquis
- [PATCH 5/7] xen/arm: pmap: Add missing ISB in arch_pmap_m... Julien Grall
- RE: [PATCH 5/7] xen/arm: pmap: Add missing ISB in ar... Henry Wang
- Re: [PATCH 5/7] xen/arm: pmap: Add missing ISB in ar... Bertrand Marquis
- [PATCH 3/7] xen/arm64: head: Add missing isb in setup_fix... Julien Grall
- RE: [PATCH 3/7] xen/arm64: head: Add missing isb in ... Henry Wang
- Re: [PATCH 3/7] xen/arm64: head: Add missing isb in ... Luca Fancellu
- Re: [PATCH 3/7] xen/arm64: head: Add missing isb in ... Michal Orzel
- Re: [PATCH 3/7] xen/arm64: head: Add missing isb... Julien Grall
- Re: [PATCH 3/7] xen/arm64: head: Add missing... Michal Orzel
- Re: [PATCH 3/7] xen/arm64: head: Add mis... Julien Grall
- Re: [PATCH 3/7] xen/arm64: head: Add missing isb in ... Bertrand Marquis
- [PATCH 7/7] xen/arm32: head: Widen the use of the tempora... Julien Grall
- RE: [PATCH 7/7] xen/arm32: head: Widen the use of th... Henry Wang
- Re: [PATCH 7/7] xen/arm32: head: Widen the use of th... Bertrand Marquis
- [PATCH 6/7] xen/arm: mm: Add missing ISB in xen_pt_update... Julien Grall