summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommu-priv.h
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-05-06 17:00:46 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-05-06 17:00:46 +0300
commit316863cb62fe7aaea30e7ef8e6481f1ba414b044 (patch)
treede50daa122a200f0e64546d60baf5fa423abb253 /drivers/iommu/iommu-priv.h
parentdd5a440a31fae6e459c0d6271dddd62825505361 (diff)
downloadlinux-316863cb62fe7aaea30e7ef8e6481f1ba414b044.tar.xz
LoongArch/smp: Refine some ipi functions on LoongArch platform
Refine the ipi handling on LoongArch platform, there are three modifications: 1. Add generic function get_percpu_irq(), replacing some percpu irq functions such as get_ipi_irq()/get_pmc_irq()/get_timer_irq() with get_percpu_irq(). 2. Change definition about parameter action called by function loongson_send_ipi_single() and loongson_send_ipi_mask(), and it is defined as decimal encoding format at ipi sender side. Normal decimal encoding is used rather than binary bitmap encoding for ipi action, ipi hw sender uses decimal encoding code, and ipi receiver will get binary bitmap encoding, the ipi hw will convert it into bitmap in ipi message buffer. 3. Add a structure smp_ops on LoongArch platform so that pv ipi can be used later. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/iommu/iommu-priv.h')
0 files changed, 0 insertions, 0 deletions