RE: [PATCH v1] hyperv: reduce size of ms_hyperv_info

2023-09-18 Thread Dexuan Cui
> From: Olaf Hering > Sent: Monday, September 18, 2023 9:02 AM > [...] > Use the hole prior shared_gpa_boundary to store the result of get_vtl. > This reduces the size by 8 bytes. > [...] > --- a/include/asm-generic/mshyperv.h > +++ b/include/asm-generic/mshyperv.h > @@ -53,8 +53,8 @@ struct ms_h

Re: [PATCH] x86/hyperv: Fix the detection of E820_TYPE_PRAM in a Gen2 VM

2023-09-18 Thread Saurabh Singh Sengar
On Thu, Aug 10, 2023 at 10:31:37PM -0700, Dexuan Cui wrote: > A Gen2 VM doesn't support legacy PCI/PCIe, so both raw_pci_ops and > raw_pci_ext_ops are NULL, and pci_subsys_init() -> pcibios_init() > doesn't call pcibios_resource_survey() -> e820__reserve_resources_late(); > as a result, any emulate

[PATCH v2] x86/hyperv: Restrict get_vtl to only VTL platforms

2023-09-18 Thread Saurabh Sengar
For non VTL platforms vtl is always 0, and there is no need of get_vtl function. For VTL platforms get_vtl should always succeed and should return the correct VTL. Signed-off-by: Saurabh Sengar --- [V2] - Put the if else at function definition rather then at the caller arch/x86/hyperv/hv_init.

Re: [PATCH v5] hv/hv_kvp_daemon:Support for keyfile based connection profile

2023-09-18 Thread Saurabh Singh Sengar
On Mon, Sep 18, 2023 at 10:06:17AM -0700, Shradha Gupta wrote: > Ifcfg config file support in NetworkManger is deprecated. This patch > provides support for the new keyfile config format for connection > profiles in NetworkManager. The patch modifies the hv_kvp_daemon code > to generate the new net

[PATCH v5] hv/hv_kvp_daemon:Support for keyfile based connection profile

2023-09-18 Thread Shradha Gupta
Ifcfg config file support in NetworkManger is deprecated. This patch provides support for the new keyfile config format for connection profiles in NetworkManager. The patch modifies the hv_kvp_daemon code to generate the new network configuration in keyfile format(.ini-style format) along with a if

[PATCH v1] hyperv: reduce size of ms_hyperv_info

2023-09-18 Thread Olaf Hering
Use the hole prior shared_gpa_boundary to store the result of get_vtl. This reduces the size by 8 bytes. Signed-off-by: Olaf Hering --- include/asm-generic/mshyperv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv

Re: [EXTERNAL] Re: [Patch v5 0/5] RDMA/mana_ib

2023-09-18 Thread Leon Romanovsky
On Mon, Sep 11, 2023 at 06:57:21PM +, Ajay Sharma wrote: > I have updated the last patch to use xarray, will post the update patch. We > currently use aux bus for ib device. Gd_register_device is firmware specific. > All the patches use RDMA/mana_ib format which is aligned with > drivers/inf