[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5321ee37-369f-42d4-b813-fa7fbcb284a2@linux.microsoft.com>
Date: Thu, 9 Jan 2025 14:19:15 -0800
From: Roman Kisel <romank@...ux.microsoft.com>
To: Wei Liu <wei.liu@...nel.org>, "bp@...en8.de" <bp@...en8.de>
Cc: hpa@...or.com, kys@...rosoft.com, bp@...en8.de,
dave.hansen@...ux.intel.com, decui@...rosoft.com,
eahariha@...ux.microsoft.com, haiyangz@...rosoft.com, mingo@...hat.com,
mhklinux@...look.com, nunodasneves@...ux.microsoft.com, tglx@...utronix.de,
tiala@...rosoft.com, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org, apais@...rosoft.com,
benhill@...rosoft.com, ssengar@...rosoft.com, sunilmut@...rosoft.com,
vdso@...bites.dev
Subject: Re: [PATCH v6 0/5] hyperv: Fixes for get_vtl(),
hv_vtl_apicid_to_vp_id()
On 1/9/2025 1:56 PM, Wei Liu wrote:
> On Thu, Jan 09, 2025 at 01:40:34PM -0800, Roman Kisel wrote:
[...]
>>
>> needs to have the `u32 exception_type;` field:
>>
>> ```c
>> union hv_arm64_pending_synthetic_exception_event {
>> u64 as_uint64[2];
>> struct {
>> u8 event_pending : 1;
>> u8 event_type : 3;
>> u8 reserved : 4;
>> u8 rsvd[3];
>> u32 exception_type;
>> u64 context;
>> } __packed;
>> };
>> ```
>> as otherwise the struct won't cover the array.
>> Testing the VMs currently with the latest hyperv-next.
>
> Fixed. I c&p'ed the code then deleted the right version of the struct.
> Thanks for checking.
Happy to help :D
Validated with the VMs, and with the latest hyperv-next, the issue is
fixed!! Appreciate your help and guidance; thank you, Easwar, Michael,
Nuno, Stanislav, Tianyu and Wei for the suggestions that have let make
this patchset so much better :)
Borislav, I apologize for sending the patchset versions too often. I'm
sorry for causing you trouble due to that. I have read up the kernel
documentation, and will be a better citizen of the LKML.
>
> Wei.
--
Thank you,
Roman
Powered by blists - more mailing lists