Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2026 15:40:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 285853] hv_hid: kernel built with -O0 panics in hv_hid_probe()
Message-ID:  <bug-285853-27103-nsncm42nXR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285853-27103@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285853

Zhenlei Huang <zlei@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #3 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Lexi Winter from comment #0)
Some interesting finding. In x86-64 `00 00` is disassembled to `add   
%al,(%rax)`. So probably 

> (kgdb) disass hv_hid_probe
> Dump of assembler code for function hv_hid_probe:
>   0xffffffff83d11000 <+0>:     add    %al,(%rax)
>   0xffffffff83d11002 <+2>:     add    %al,(%rax)
>   0xffffffff83d11004 <+4>:     add    %al,(%rax)
>   0xffffffff83d11006 <+6>:     add    %al,(%rax)
>   0xffffffff83d11008 <+8>:     add    %al,(%rax)
>   0xffffffff83d1100a <+10>:    add    %al,(%rax)
>   0xffffffff83d1100c <+12>:    add    %al,(%rax)
>   0xffffffff83d1100e <+14>:    (bad)
>   0xffffffff83d1100f <+15>:    loopne 0xffffffff83d11038 <hv_hid_probe+56>

hints a block of the address 0xffffffff83d11000 is filled with zeroes ?

Emm, is it possible the CPU instruction cache is not flushed on loading the
hv_hid.ko module ? 

CC Konstantin for better insights on that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285853-27103-nsncm42nXR>