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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 78043C433ED for ; Mon, 3 May 2021 15:22:27 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 017B561176 for ; Mon, 3 May 2021 15:22:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 017B561176 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:51956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldaOv-0007nQ-Vt for qemu-devel@archiver.kernel.org; Mon, 03 May 2021 11:22:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldaNX-0006Kv-44 for qemu-devel@nongnu.org; Mon, 03 May 2021 11:20:59 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:48315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldaNU-0001rb-4h for qemu-devel@nongnu.org; Mon, 03 May 2021 11:20:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620055254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jLyL7H298fLye3WbeIMg/UO49SFJQKPHFm+1eFyJzUA=; b=DQuOBoNk5cCmGnE+UPOo58fdPVJI7B591R2uUs9giyhP+q4IIS0KoVfF7VpJVm0KKGFwUw 9pL/GHDTaHa8ndy+sUtzud/esXVZ+F/R7x7puXz22RvIbSrTP5+jt1EdxXZygvJreDZNwJ UJq5otKJjVE4S7ZF7LXpVufMLmb1MPM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-492-n7gAbJyFMjuDwRQfzXQ1YQ-1; Mon, 03 May 2021 11:20:51 -0400 X-MC-Unique: n7gAbJyFMjuDwRQfzXQ1YQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3C2FD1A8A61; Mon, 3 May 2021 15:20:50 +0000 (UTC) Received: from localhost (unknown [10.40.208.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id 98D8D5D747; Mon, 3 May 2021 15:20:47 +0000 (UTC) Date: Mon, 3 May 2021 17:20:45 +0200 From: Igor Mammedov To: Eduardo Habkost Subject: Re: [RFC PATCH-for-6.1 0/9] hw/clock: Strengthen machine (non-qdev) clock propagation Message-ID: <20210503172045.177af899@redhat.com> In-Reply-To: <20210413194319.u3dli2gbvwf6sx5r@habkost.net> References: <20210409062401.2350436-1-f4bug@amsat.org> <20210410131932.i6no5tvvaldyomvp@sekoia-pc.home.lmichel.fr> <09a63c3e-aa68-0d2d-b447-db9cd84dab09@amsat.org> <20210413194319.u3dli2gbvwf6sx5r@habkost.net> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=imammedo@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Damien Hedde , Peter Maydell , Luc Michel , Philippe =?UTF-8?B?TWF0aGll?= =?UTF-8?B?dS1EYXVkw6k=?= , QEMU Developers , qemu-arm , Paolo Bonzini Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Tue, 13 Apr 2021 15:43:19 -0400 Eduardo Habkost wrote: > On Mon, Apr 12, 2021 at 11:44:29AM +0100, Peter Maydell wrote: > > On Mon, 12 Apr 2021 at 11:31, Philippe Mathieu-Daud=C3=A9 wrote: =20 > > > TIL MachineClass::reset(). > > > > > > - hw/hppa/machine.c > > > - hw/i386/pc.c > > > > > > Used to reset CPUs manually because CPUs aren't sysbus-reset. =20 > >=20 > > pc_machine_reset() is not resetting the CPUs -- it is > > re-resetting the APIC devices, which looks like it is a > > workaround for a reset-ordering or other problem. I'm not > > sure where the CPUs are being reset... =20 >=20 > CPU reset code was moved from pc.c:pc_cpu_reset() to > cpu.c:x86_cpu_machine_reset_cb() in commit 65dee3805259 > ("target-i386: move cpu_reset and reset callback to cpu.c"). > It's not clear to me why. it was for cpu hotplug support, so that is we would have CPU in well know initial state after realize is complete.