[PATCH v1 14/20] ARC: [plat-eznps] Use dedicated SMP barriers

Noam Camus noamc at ezchip.com
Mon Nov 2 05:08:55 PST 2015


From: Vineet Gupta [mailto:Vineet.Gupta1 at synopsys.com] 
Sent: Monday, November 02, 2015 10:03 AM

> Do u need this even for mandatory barriers whose semantics are not related to SMP at all ? I think you need them only for smb_*
Yes I do.
For example it is used to proceed access to our Global Interrupt Manager (GIM) when we want to make sure that driver of some device committed all read/writes before we are acknowledging the GIM.
We are not falling to use "sync" since we prefer to have HW thread schedule in the meantime we wait for load/store to be done.

- Noam



More information about the linux-snps-arc mailing list