diff options
author | 2022-01-10 02:50:10 +0100 | |
---|---|---|
committer | 2022-02-08 10:44:15 +0000 | |
commit | 7122bcb33295228c882c0aa32a04b2547beba2c3 (patch) | |
tree | a33b5287b113cb4457427de102dff0a8f29cddca /include/linux/fortify-string.h | |
parent | PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge (diff) | |
download | wireguard-linux-7122bcb33295228c882c0aa32a04b2547beba2c3.tar.xz wireguard-linux-7122bcb33295228c882c0aa32a04b2547beba2c3.zip |
PCI: aardvark: Optimize writing PCI_EXP_RTCTL_PMEIE and PCI_EXP_RTSTA_PME on emulated bridge
To optimize advk_pci_bridge_emul_pcie_conf_write() code, touch
PCIE_ISR0_REG and PCIE_ISR0_MASK_REG registers only when it is really
needed, when processing PCI_EXP_RTCTL_PMEIE and PCI_EXP_RTSTA_PME bits.
Link: https://lore.kernel.org/r/20220110015018.26359-16-kabel@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'include/linux/fortify-string.h')
0 files changed, 0 insertions, 0 deletions