On 15/03/2022 07:45, Bastian Blank wrote:
Control: tags -1 pending
Hi Steve
On Thu, Mar 10, 2022 at 07:07:39PM +0000, Steve Capper wrote:
HyperV guest support has recently landed in the arm64 kernel. Could you
please enable this in Debian Kernels (5.16+) via the following Kconfig
options?
I enabled those options, and more, for 5.17.
Thanks Bastian!
For testing purposes, one should run a recent "Windows Insider" build on
their device for this functionality to work properly. I've created a Debian
test kernel with the above options and was able to install/use Debian under
HyperV.
Can you please show the ACPI tables provided to the virtual machine?
Especially I'm interested in the SPCR table.
Of course.
I couldn't see an SPCR, but I did see a DBG2:
[000h 0000 4] Signature : "DBG2" [Debug Port
table type 2]
[004h 0004 4] Table Length : 00000072
[008h 0008 1] Revision : 00
[009h 0009 1] Checksum : CF
[00Ah 0010 6] Oem ID : "VRTUAL"
[010h 0016 8] Oem Table ID : "MICROSFT"
[018h 0024 4] Oem Revision : 00000001
[01Ch 0028 4] Asl Compiler ID : "MSFT"
[020h 0032 4] Asl Compiler Revision : 00000001
[024h 0036 4] Info Offset : 0000002C
[028h 0040 4] Info Count : 00000001
[02Ch 0044 1] Revision : 00
[02Dh 0045 2] Length : 0046
[02Fh 0047 1] Register Count : 01
[030h 0048 2] Namepath Length : 000F
[032h 0050 2] Namepath Offset : 0026
[034h 0052 2] OEM Data Length : 0000 [Optional field not
present]
[036h 0054 2] OEM Data Offset : 0000 [Optional field not
present]
[038h 0056 2] Port Type : 8000
[03Ah 0058 2] Port Subtype : 0003
[03Ch 0060 2] Reserved : 0000
[03Eh 0062 2] Base Address Offset : 0016
[040h 0064 2] Address Size Offset : 0022
[042h 0066 12] Base Address Register : [Generic Address Structure]
[042h 0066 1] Space ID : 00 [SystemMemory]
[043h 0067 1] Bit Width : 20
[044h 0068 1] Bit Offset : 00
[045h 0069 1] Encoded Access Width : 03 [DWord Access:32]
[046h 0070 8] Address : 00000000EFFEC000
[04Eh 0078 4] Address Size : 00001000
[052h 0082 15] Namepath : "\_SB.VMOD.UAR1"
This was from an off-the-shelf Surface Pro X running Windows Insider
build 22572.
If you're interested in attaching consoles, the following worked for me
(via HyperV named pipe):
console=ttyAMA0
For earlycon, the following did the trick for me:
earlycon=pl011,0xeffec000,115200
(there's also earlycon=efifb)
Are you debugging an issue?
Cheers,
--
Steve