From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4064C433B4 for ; Fri, 23 Apr 2021 13:12:51 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7208E613C8 for ; Fri, 23 Apr 2021 13:12:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7208E613C8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.116324.222024 (Exim 4.92) (envelope-from ) id 1lZvbf-0003gf-CH; Fri, 23 Apr 2021 13:12:27 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 116324.222024; Fri, 23 Apr 2021 13:12:27 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lZvbf-0003gY-7c; Fri, 23 Apr 2021 13:12:27 +0000 Received: by outflank-mailman (input) for mailman id 116324; Fri, 23 Apr 2021 13:10:32 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lZvZo-0003fL-QL for xen-devel@lists.xen.org; Fri, 23 Apr 2021 13:10:32 +0000 Received: from mail-lf1-x136.google.com (unknown [2a00:1450:4864:20::136]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id a2761864-c43b-44c2-81a7-4d828b693ec7; Fri, 23 Apr 2021 13:10:31 +0000 (UTC) Received: by mail-lf1-x136.google.com with SMTP id j18so77507396lfg.5 for ; Fri, 23 Apr 2021 06:10:31 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: a2761864-c43b-44c2-81a7-4d828b693ec7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qim/xd+dyVhY6p+nuOeryKb6VLdsnTW9Mf7s5wO5EIg=; b=bRALVV6R3OiQ9uPNW21emkIGSScr/6WMoMa/5PNAwUBsG6PZGf2AEAQr8OABvenIm6 WF/Hv0gt/aYi1A69Xz/BT2SzudlZmIAFuwKHqM82QPhYLB8bR6vLcv482UPXdrfVa14F cGWPYj2lLSA9PPqdVStIK9R9MrRcOWrm8UEpuXEy+vauvRe90olZy3+jSFRWyy6cxkes dHPBj1ToA+LCdH2vWLQ+/cTHFJ8jRxlgFZHrTOcBTYkk6fbMS4RYOn554T5U5e5+OzP7 OCN1gxP9gOk1Lt1zZ4IBPTZs6pQrNj5+m9g9fbp2436exSfhs/Bu16LDqKKJubrvm5Ho MKeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qim/xd+dyVhY6p+nuOeryKb6VLdsnTW9Mf7s5wO5EIg=; b=Cc6rKZ+MfQqG5yMgoFkR3OlMWwNEynU4I7GdPKvy65fwtppsojXP5NujWfe1icFbRt EqmuQDsY5j6ALsN8hmEZKcr+2a2HpaG43o+/ORF2c7pIYySddXyzfFqWiKEDCY1VIb7i 7bUfRrScpP1xIPKlg8WdVhK80aBLl2Xvk+UL7EAWzqpkUd2d1m3SJVwP47a+/Jfyab65 UlRiQU+9KXZKEQAVBs2ld1XFfaSRNXCHdf9ya45U26uuLtMV+aiYxnv0zy0fAnnj/PqZ bBd13qDA23IsVZ1vXE1topawpfZ4SRmMebnQFf7I3cQkUurk8h3ftGoiXjrP1KQ/yO85 pjHw== X-Gm-Message-State: AOAM530oSo3QgRRF+oJv5Qjm5QpKCAKDI6P0YxCvApW3ecEzRPzR4+I6 5sMSghow7FnMowoNaC3h6kcXBjC8QL4/fwSpF+c= X-Google-Smtp-Source: ABdhPJyPuNlr9/u6dFmY6X6aZEz26DXwqmCl1cRQjWQRIPf9NB4r3e1f8VD29BzoKNiPr+QAiCrKaDCL+pXT66i3leU= X-Received: by 2002:a05:6512:108a:: with SMTP id j10mr2731208lfg.559.1619183430436; Fri, 23 Apr 2021 06:10:30 -0700 (PDT) MIME-Version: 1.0 References: <6237e102-f2cf-a66e-09b6-954ebfe28f8c@list.ru> <46f8bf3e-cd6e-e2de-94c1-c8a55fb10648@list.ru> <57478641-ed64-32bd-a577-428a50c880e2@suse.com> <33f08c57-08f7-b6c3-02ed-2b66c35665f2@list.ru> In-Reply-To: <33f08c57-08f7-b6c3-02ed-2b66c35665f2@list.ru> From: =?UTF-8?B?0JPQtdC+0YDQs9C40Lkg0JfQsNC50YbQtdCy?= Date: Fri, 23 Apr 2021 16:10:19 +0300 Message-ID: Subject: Re: Fwd: [BUG] Windows is frozen after restore from snapshot To: Sergey Kovalev Cc: Jan Beulich , xen-devel@lists.xen.org Content-Type: multipart/alternative; boundary="000000000000328bd105c0a3857e" --000000000000328bd105c0a3857e Content-Type: text/plain; charset="UTF-8" > > Since > you've taken apart saved state, could you supply the full set of > values (ideally multiple ones, if you happen to have them, plus > ones where the problem didn't occur, to allow someone perhaps > spot a pattern)? > Here is full HPET state from "frozen" snapshot according to hvm_hw_hpet structure: capabiliy: f424008086a201 res0: 0 config: 3 res1: 0 isr: 0 res2: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] mc64: 97b90bc74 res3: 0 timer0: config: f0000000002934 cmp: fd4aa84c fsb: 0 res4: 0 timer1: config: f0000000000130 cmp: ffffffff fsb: 0 res4: 0 timer2: config: f0000000000130 cmp: ffffffff fsb: 0 res4: 0 period[0] = ee6b2 period[1] = 0 period[2] = 0 This one taken from snapshot of "unfrozen" one: capabiliy: f424008086a201 res0: 0 config: 3 res1: 0 isr: 0 res2: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] mc64: acbd23c57 res3: 0 timer0: config: f000000000293c cmp: acbd3761b fsb: 0 res4: 0 timer1: config: f0000000000130 cmp: ffffffff fsb: 0 res4: 0 timer2: config: f0000000000130 cmp: ffffffff fsb: 0 res4: 0 period[0] = ee6b2 period[1] = 0 period[2] = 0 The only difference is HPET_TN_PERIODIC flag for timers[0].config value --000000000000328bd105c0a3857e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Since
you've taken apart saved state, could you supply the full set of
values (ideally multiple ones, if you happen to have them, plus
ones where the problem didn't occur, to allow someone perhaps
spot a pattern)?

Here is full HPET state f= rom "frozen" snapshot according to=20 hvm_hw_hpet structure:

capabiliy: f424008086a201
re= s0: 0
config: 3
res1: 0
isr: 0
res2: [0, 0, 0, 0, 0, 0, 0, 0, 0= , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
mc64: 97b90bc74
res= 3: 0
timer0:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 config: f0000000002934
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 cmp: fd4aa84c
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fs= b: 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 res4: 0
timer1:
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 config: f0000000000130
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cmp: fffff= fff
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fsb: 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 re= s4: 0
timer2:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 config: f0000000000130
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 cmp: ffffffff
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fs= b: 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 res4: 0
period[0] =3D ee6b2
perio= d[1] =3D 0
period[2] =3D 0

This one taken from snap= shot of "unfrozen" one:

capabiliy: f42400808= 6a201
res0: 0
config: 3
res1: 0
isr: 0
res2: [0, 0, 0, 0, 0,= 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
mc64: acbd2= 3c57
res3: 0
timer0:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 config: f00000000= 0293c
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cmp: acbd3761b
=C2=A0 =C2=A0 =C2=A0= =C2=A0 fsb: 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 res4: 0
timer1:
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 config: f0000000000130
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = cmp: ffffffff
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fsb: 0
=C2=A0 =C2=A0 =C2=A0= =C2=A0 res4: 0
timer2:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 config: f00000000= 00130
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cmp: ffffffff
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 fsb: 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 res4: 0
period[0] =3D ee6b2=
period[1] =3D 0
period[2] =3D 0

The only differ= ence is=20 HPET_TN_PERIODIC flag for timers[0].config value

--000000000000328bd105c0a3857e--