Commit bd973161 authored by Hongbo Yao's avatar Hongbo Yao Committed by Zheng Zengkai
Browse files

x86/ioapic: add an interface for driver to sync hardware data into memory

hulk inclusion
category: bugfix
bugzilla: 20890, https://gitee.com/openeuler/kernel/issues/I5ZV1W



--------------------------------

The default interrupt trigger mode of Pci driver is Level, however,
some pci drivers want to change irq trigger mode to edge by writing
hardware register directly.
In current kernel, this kind of driver needs to sync entry data which
has already been reservd in memory.

This patch provides an interface for the driver to sync entry data in
memory.

Signed-off-by: default avatarHongbo Yao <yaohongbo@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Reviewed-by: default avatarLiao Chang <liaochang1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 4ff8cda8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment