Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1588115iog; Thu, 16 Jun 2022 09:19:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sKzKtq9zBZtbuw2kqWgaaiuR7EWi5k/zgziQrkytZhPFKg/QXU1zgnxycDyKPqd0YqIi5Z X-Received: by 2002:a05:6402:5252:b0:42f:b566:c189 with SMTP id t18-20020a056402525200b0042fb566c189mr7357977edd.398.1655396385103; Thu, 16 Jun 2022 09:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655396385; cv=none; d=google.com; s=arc-20160816; b=ZxeZ64Sm11kJd0zjnrwseNdnS/IVLoc0ErkmZSUVS7MAWFHJ2QsCwQExsasXual465 ZJV4G2llFVcet9NSfPvtkaoKsBPRsPsaaDK4t3NdWUDc6VpK3jlnjr+pPKhTxXgEVlT4 VXZnx+36SF5k2a58LSC6676OHhFSZ5AaoLpjqSiiz82uEVf+1aZb/g4G7AshgW2nOQZT qA07l4w6k7DZENoRL0JKc8UEZJsmyYoPEMW1MklC2MrrpITKM3mtNvE0aGA/RTrR7yBw A+oduWaPAtPT6wRW0ljZFSGW6hCEkqK7mlLEIbhgWpAJHyV5VDyT9dXrr5xrugogLDDq vSZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l6OwqYcVIACsZfoSJ0T7YvBoL6yiGuqUoY7Ix6ahGSQ=; b=hjtmBNsKW4nCAZggK+BnBpSwLUji3/9iz1rxeBcneyeJTQ+Bkic6cziUyjLiaOFznO RDnHvEAxTijN03yyJCJZelnLaiF9Gt5BgiOhRjrzTn767DhrjanvuymPHlfQLafDXOxK GIOERBcbssU16l0JGORBAtRbxkgTEY36KnoK7Z193v9SqUmdLRyqWttpgSm1bhEPqe4N Ybv4mELFZfmKQvAH9hXy5R5cCdO7HfJO3xKBcnrsbn2oxM5H0J5f25Ral5AWsA+aHedc 1TnCoRgvWZ0pqzA6YEcJg2QlN8D6+kj0GUL49Uk5BTPtjirlrB9sK8b1ZMpbzu/LJlLY MuBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="o4nMsZt/"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp11-20020a1709071b0b00b006fdeefb87a0si2703535ejc.864.2022.06.16.09.19.19; Thu, 16 Jun 2022 09:19:45 -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=@google.com header.s=20210112 header.b="o4nMsZt/"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377954AbiFPQBX (ORCPT + 99 others); Thu, 16 Jun 2022 12:01:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377357AbiFPQBV (ORCPT ); Thu, 16 Jun 2022 12:01:21 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EC8C44A3E for ; Thu, 16 Jun 2022 09:01:20 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id m24so2449088wrb.10 for ; Thu, 16 Jun 2022 09:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=l6OwqYcVIACsZfoSJ0T7YvBoL6yiGuqUoY7Ix6ahGSQ=; b=o4nMsZt/3jV1bsbk9nsN/ecHN5WUhbyFT9PWDtATNmBNXrGf7rOl+M5dtAjs83fugk WZ6S8tq+4j5Ishf6mCZHybXewU2U/aReOQDk1Q8jU7jbDRasM8aGLxRWr1q9DeQArLic Ruj5druGcI9zlEIs3TJA4aZXspP1HMVYan6KsruCiy7vLugaav9W7lX5Rx6KlB1el8tF I52NepB6ZKWbfyRJzwjfYKo7cdsjeBDYsOU2oPV/eF9rFsImZbdJdEW/HUBwpKiXYtVM RouWhcMgiBJu7YSYW9Soe435zGlrgnKSvn9LHJVjqrkRCLaqsuekrc/uuxtZH2fGaKKm Bb1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=l6OwqYcVIACsZfoSJ0T7YvBoL6yiGuqUoY7Ix6ahGSQ=; b=p/ofr3NI/YZ+83n4s61LZsF7v4Ixk3G5xfWdRL03SlCFKohagId0THMeOiU1H/NefU K85A2f3PttbrEYcYI7LZz0QIqJAdldnsGY7n5vSKjvrVLOjh5MGEqs3dLUNu/EkEprUn 5fzGBTKdFgDc91xhBZhUr+FEipxjqQUhfq3tkB8vvk4c+76t+W9Q/YHiyhCz7paQaz3g DtX5Fu8cQ2BC4INNuruOAfzW9ZOUecUKyE1PLhH/3EvtuWk5Nkahs1fZOb4Qp0lf9NU+ fFqUKvhnc5SZfQYQHhe0+SzKoxvmf9iNrl0FaDJFeMBd2YNWdVGqdk8n/GyjIn18uP1y 0V4w== X-Gm-Message-State: AJIora/2UoyfCqqcbtK40NHDX7CSR3fbu3PVEM1OUEn4I6BQPHd3cohk 1XmlkAUQY2yBt3AE1kI2j+UaLtV16HwF4g== X-Received: by 2002:a5d:6348:0:b0:213:3a8e:e75d with SMTP id b8-20020a5d6348000000b002133a8ee75dmr5111561wrw.55.1655395279032; Thu, 16 Jun 2022 09:01:19 -0700 (PDT) Received: from google.com (44.232.78.34.bc.googleusercontent.com. [34.78.232.44]) by smtp.gmail.com with ESMTPSA id p7-20020a05600c430700b0039c2e2d0502sm6048461wme.4.2022.06.16.09.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 09:01:18 -0700 (PDT) Date: Thu, 16 Jun 2022 16:01:17 +0000 From: Sebastian Ene To: Greg Kroah-Hartman 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, Guenter Roeck Subject: Re: [PATCH v6 2/2] misc: Add a mechanism to detect stalls on guest vCPUs Message-ID: References: <20220616092737.1713667-1-sebastianene@google.com> <20220616092737.1713667-3-sebastianene@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Thu, Jun 16, 2022 at 12:08:55PM +0200, 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 > Hi, > The robot reported stalls on vcpus? > > I think you need to fix this up... The robot reported some issues on v5 and after fixing them it recommended to add this tag. > > greg k-h Thanks, Seb