mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 09:04:51 +08:00
db3a4f0abe
Add support for pvpanic PCI device added in qemu [1]. At probe time, obtain the
address where to read/write pvpanic events and pass it to the generic handling
code. Will follow the same logic as pvpanic MMIO device driver. At remove time,
unmap base address and disable PCI device.
[1] 9df52f58e7
Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Link: https://lore.kernel.org/r/1616597356-20696-4-git-send-email-mihai.carabas@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 lines
198 B
Makefile
9 lines
198 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Pvpanic Makefile
|
|
#
|
|
# Copyright (C) 2021 Oracle.
|
|
#
|
|
obj-$(CONFIG_PVPANIC_MMIO) += pvpanic.o pvpanic-mmio.o
|
|
obj-$(CONFIG_PVPANIC_PCI) += pvpanic.o pvpanic-pci.o
|