Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1426761iog; Thu, 16 Jun 2022 06:14:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sZDpZxyUvD0R4z6kO5PGf5j5lVLI2/x9jn8WiMh7b3YvyImlp+OjTN8MRvlsMJYyKTg5YV X-Received: by 2002:a17:90b:33c4:b0:1e8:6e2f:97a2 with SMTP id lk4-20020a17090b33c400b001e86e2f97a2mr5044589pjb.165.1655385257683; Thu, 16 Jun 2022 06:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655385257; cv=none; d=google.com; s=arc-20160816; b=WPJtXAHD9wtXJsrrcKmNUGD/xuF/4QB59AWi0PE/cq84PwWbhCjDWPilVG1an4ES6O Pc1T04uyvgXjEv1+MUcI1cLcPUpwIf+Tou+zamDRV69CxmJQn5AUfMI6tDsUBnSJpdCm s7Wt/TGI6cVrwwjfLV4sPcZ/5YTKPG5ocfYXJfWTLlzZALH3gZBdGX/ycBrcVSieso7T /ha0hDh+mSPPtrS1wIYyQ3GeiKXkhaBrlUvzvGB+zM26fSrim2oNNdkZNzZ/pPyz/qWM oi3fbxDKFJNl05gtFKdrBpPEZytcsV0+YR6zal/NUqMQlKLp9PvDzBV9/VM1nerM6CQe 3b4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=VVJk39U+rrdJ8hRu277G3dCrMn0aAbAp7eK2DbUeJWo=; b=pvlIe/sZ/2oqSA6JC2A+ia8ucGLluOxTfX3nzITUTLAcj3y0ScJGuWUFNbEucwp9Ai 3a9KXtmf5kFilxTB77iD5jtl3fSsxAkXfbkKL48sry5ebklNGyFmeQ07RUB7F+Tx3IA2 rhmja64TS49uR3zbvwy0/34wtruouGG1bdMEq7LQweKOweyW4z9lnIXsKUWndNQkb44i Xtf+D1wKY92SJVgleoqYPOXSx3DgyvJOqnuCsS/aB+uZ5M4JM8OttSbBrcVjJ9I+nSCD 0vF8K26ZRuBPmyoRqP6Aonfl7+YlXCZKRA9RZP2c4noi92cUOXzIIO1SJw7epD2S1die Fvrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MGJyTaul; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d17-20020a630e11000000b0040199680ee1si2579421pgl.247.2022.06.16.06.14.01; Thu, 16 Jun 2022 06:14:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MGJyTaul; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235017AbiFPNI6 (ORCPT + 99 others); Thu, 16 Jun 2022 09:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiFPNI5 (ORCPT ); Thu, 16 Jun 2022 09:08:57 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5BC5252B9; Thu, 16 Jun 2022 06:08:55 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id y6so1269128plg.0; Thu, 16 Jun 2022 06:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=VVJk39U+rrdJ8hRu277G3dCrMn0aAbAp7eK2DbUeJWo=; b=MGJyTaul/uQ0f+MkRFxEtmgjmVHAgvSpWspOMA2OC0kOZFcN473B2USZ0ZTdEtfyFP No0n5kRsemVAw5vpIq2w9mTFJ870iL4R84Vl0L/hWUYwOfPMNyDfu0h0Z77QCK6+eeTv 7SeYm+VsWIP/xaZwEVvsC3/NJ1g5iJWMyvtie4k/t5oMZdpKct/CMfMA1O+CXW14KKVV /Q/hgke6NyvHqETBqwg3VorqKxAFZwhGTIp/7hlseIYaQjJ6vpMNLLcGnJzuJZqYjWH8 S6wXi6Yf7/nx5whjWGRC0H+1nQg7bfJXd20lgB2kv/grWqq5J2AeBjK4dklxiDAeRMSK 57Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=VVJk39U+rrdJ8hRu277G3dCrMn0aAbAp7eK2DbUeJWo=; b=MafgubbpqhUDv5gnDbK2ax49HPG7McEagqJEWXTU7kY3dQ2U50EQdtPUKviwfSLcbp FDjWt3BwZxeiB9m3wWbpvBXJuhFWekoBu7FIL9gaE3eOK2wvynHe1q4StGRIDrhBjCnQ 8Wl74XPRb0MDNrSVwU67/O3ss3td7Pr9WZ82fMOv3kzH6XG3O1lkiLzxD2JnyGcnLvwI fmthqXusZE9Mde0Gita48ldPsZbERxWQOHESOtufbSAY/7ixZRvNBf1lfUrN2Icm2YSr Rg6znnC/eiQbrKbcAy36blFOQBLIHSn+6Vb41kbknQBG6YLmg6dmOpj3Arorpw6oEgEI hiyw== X-Gm-Message-State: AJIora/dfc4ndR63lO5O7Gb30fO0Vv+YfKUXD3RR1wZpWSKmY1ZBO8T6 OPLdD9BatQK5Ja9Tkaqa0qc= X-Received: by 2002:a17:903:18d:b0:167:47f3:49 with SMTP id z13-20020a170903018d00b0016747f30049mr4743721plg.95.1655384935230; Thu, 16 Jun 2022 06:08:55 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id y23-20020a056a001c9700b0051b95c76752sm1686997pfw.153.2022.06.16.06.08.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 06:08:53 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Thu, 16 Jun 2022 06:08:51 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v6 2/2] misc: Add a mechanism to detect stalls on guest vCPUs Content-Language: en-US To: Greg Kroah-Hartman , Sebastian Ene Cc: Rob Herring , Arnd Bergmann , Dragan Cvetic , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, maz@kernel.org, will@kernel.org, vdonnefort@google.com, kernel test robot References: <20220616092737.1713667-1-sebastianene@google.com> <20220616092737.1713667-3-sebastianene@google.com> From: Guenter Roeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/16/22 03:08, Greg Kroah-Hartman wrote: > On Thu, Jun 16, 2022 at 09:27:39AM +0000, Sebastian Ene wrote: >> This driver creates per-cpu hrtimers which are required to do the >> periodic 'pet' operation. On a conventional watchdog-core driver, the >> userspace is responsible for delivering the 'pet' events by writing to >> the particular /dev/watchdogN node. In this case we require a strong >> thread affinity to be able to account for lost time on a per vCPU. >> >> This part of the driver is the 'frontend' which is reponsible for >> delivering the periodic 'pet' events, configuring the virtual peripheral >> and listening for cpu hotplug events. The other part of the driver >> handles the peripheral emulation and this part accounts for lost time by >> looking at the /proc/{}/task/{}/stat entries and is located here: >> https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3548817 >> >> Reported-by: kernel test robot > > The robot reported stalls on vcpus? > I have seen this a number of times when people fix issues reported by the robot in their submissions, just because the robot asks them to do so. This should really be part of the change log, such as v17: Fixed the following issues issues reported by the kernel test robot: ... Guenter