Re: [PATCH v11 2/2] Drivers: hv: Introduce mshv_vtl driver

Naman Jain
2025-11-12T10:49:42Z

On 11/12/2025 3:40 PM, Peter Zijlstra wrote:
> On Wed, Nov 12, 2025 at 09:44:20AM +0000, Michael Kelley wrote:
>
>> Thanks. If that symbol is referenced only by these few lines, I'd
>> go with something even shorter and simpler. Perhaps:
>>
>> .section .discard.addressable,"aw"
>> .align 8
>> .type vtl_return_sym, @object
>> .size vtl_return_sym, 8
>> vtl_return_sym:
>> .quad __SCK____mshv_vtl_return_hypercall
>>
>> Regardless of the choice of symbol name, add a comment about
>> mimicking __ADDRESSABLE(). That feels less messy to me, but
>> it's Naman's call.
>
> Right, that'll work.

Thanks Michael, Peter and Paolo for your inputs.
I'll use a simpler name and add a comment to explain it.

Regards,
Naman