lkml.org 
[lkml]   [2021]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v3 1/2] PCI: hv: Make the code arch neutral by adding arch specific interfaces
Date
From: Sunil Muthuswamy <sunilmut@linux.microsoft.com> Sent: Thursday, October 14, 2021 8:53 AM
>
> Encapsulate arch dependencies in Hyper-V vPCI through a set of interfaces,
> listed below. Adding these arch specific interfaces will allow for an
> implementation for other arch, such as ARM64.
>
> Implement the interfaces for X64, which is essentially just moving over the
> current implementation.
>
> List of added interfaces:
> - hv_pci_irqchip_init()
> - hv_pci_irqchip_free()
> - hv_msi_get_int_vector()
> - hv_set_msi_entry_from_desc()
> - hv_msi_prepare()
>
> There are no functional changes expected from this patch.
>
> Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
> ---
> In v2 & v3:
> Changes are described in the cover letter.
>
> MAINTAINERS | 2 +
> arch/x86/include/asm/hyperv-tlfs.h | 33 ++++++++++++
> arch/x86/include/asm/mshyperv.h | 7 ---
> drivers/pci/controller/Makefile | 2 +-
> drivers/pci/controller/pci-hyperv-irqchip.c | 57 +++++++++++++++++++++
> drivers/pci/controller/pci-hyperv-irqchip.h | 20 ++++++++
> drivers/pci/controller/pci-hyperv.c | 52 ++++++++++++-------
> include/asm-generic/hyperv-tlfs.h | 33 ------------
> 8 files changed, 146 insertions(+), 60 deletions(-)
> create mode 100644 drivers/pci/controller/pci-hyperv-irqchip.c
> create mode 100644 drivers/pci/controller/pci-hyperv-irqchip.h
>

Reviewed-by: Michael Kelley <mikelley@microsoft.com>

\
 
 \ /
  Last update: 2021-10-20 17:23    [W:0.237 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site