Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4952446iob; Mon, 9 May 2022 05:37:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGZQioNeA7Vu8h48zX9RSo+PxP30Nl5xVcAc73Fym+Jgk/00cYkDEllTxfWwyJRzrja9SE X-Received: by 2002:a17:902:f70c:b0:14e:f1a4:d894 with SMTP id h12-20020a170902f70c00b0014ef1a4d894mr15978599plo.65.1652099868368; Mon, 09 May 2022 05:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652099868; cv=none; d=google.com; s=arc-20160816; b=Igi0Il1ZuSxbbF5X/sr0q3r+Gx5SFOmnLjijM6JxD9EoY9NQUwk3o9+s7PsRiMKY4o r9FLDf7BsBkoKMwLordpZHMq5nXfaV2I2+Sz+xBmuuIsV3nsx6VGfaFlutJz8GKiiDCc sl24cOnMVmNodtixqj5+cQQGhcQwNq7csISuUSJ5/qTDPcQMxeRdsQEMATnDOddCID9Q YzJJMBETWJFbEiQVN21ZhH6Jb6kusa1h9Aw1ny+OJatG6mhXjb4TO67EEUu3JFHrE67p K5SM2LOUQVScpX59WO1tStquC3uT2qca1wNY5rgFeOPfybCUmzqNPelx31O9efVpcSPB YCNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=fdMlXl/5cbOn67j58YZZq3Iq75451DHzugIa12n6YdQ=; b=G8IRSV1dYplOUkiNvocgAmEPbFCG/tJ63uVTz0f990kg6cQyLOkB9TMZinmEceMjWm 9rAueja41dByB5SoOkYg6gCQum4nCoYPZ8t1/H51MAFGQ5GdB/Wnh3y+n1iWJzp9M5CU M1W+ylEPnuKzj0Csi+ES4jYjxUtiJY/jvOG7zG39Yh82HXwxTLoQcSm19BzP6e4zCjlo LKSy8oerFDBOw61aMf2+o2QKaGaw3ZBCWt24RAHg0ar72EW6LTodpfu+dj9sfXuVq8bk Zxeod13wd45k+KP/hrU/ozXBYNWRmalQaR5J09lI3bmYIDj5jMLU44SZzNsTqcFI8hck p5ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uw8lq4As; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d18-20020a170902aa9200b0015caeda8720si10523868plr.106.2022.05.09.05.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 05:37:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uw8lq4As; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4BC011D48E5; Mon, 9 May 2022 05:12:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234086AbiEIMP6 (ORCPT + 99 others); Mon, 9 May 2022 08:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234060AbiEIMPv (ORCPT ); Mon, 9 May 2022 08:15:51 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A1BA149ABD; Mon, 9 May 2022 05:11:57 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1652098315; 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: in-reply-to:in-reply-to:references:references; bh=fdMlXl/5cbOn67j58YZZq3Iq75451DHzugIa12n6YdQ=; b=uw8lq4AsfqLcbN4Dvu2spbaWFtpItEctuzNfDt1KLAXwEV+7SEEKdAxcy6LqH9DsYWZ7qR vWhkZp+n3rYuXxlKOvBwmb6FJT5KM010IFdFurHrTHaWtN17SRf8DAZ16CMjh4D6teTvKV Uz66TJlF0vViY4BIyUCTWfOX2Rv7d3HtIRZJZsIqche3E1aG94M4PEEa8UfD2lX08dMqmn kjnf4R4SHeZ+DzPUnKh2kMdxCo/rGV1vhDqtnvhdae30v/0IcAXhhEnUwkpSe3O3YG5RXN +jbR6ZOYkQv2IiUzhLYUmQAJDy/1wbz7uNwdoZEnDBiLd5URRJHaEzCLf26CjA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1652098315; 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: in-reply-to:in-reply-to:references:references; bh=fdMlXl/5cbOn67j58YZZq3Iq75451DHzugIa12n6YdQ=; b=WLJ4qQc0Pa4ernlDQdXt7u481TctoUyjRBzb8N1ON36rdqEHvGO8EI2nCJDOqwl1NJs8OL JMEO5k5QQKc/lxDA== To: Tony Luck , hdegoede@redhat.com, markgross@kernel.org Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, corbet@lwn.net, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, jithu.joseph@intel.com, ashok.raj@intel.com, tony.luck@intel.com, rostedt@goodmis.org, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com Subject: Re: [PATCH v7 08/12] platform/x86/intel/ifs: Add scan test support In-Reply-To: <20220506225410.1652287-9-tony.luck@intel.com> References: <20220506014035.1173578-1-tony.luck@intel.com> <20220506225410.1652287-1-tony.luck@intel.com> <20220506225410.1652287-9-tony.luck@intel.com> Date: Mon, 09 May 2022 14:11:55 +0200 Message-ID: <87wneurjlg.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, May 06 2022 at 15:54, Tony Luck wrote: > From: Jithu Joseph > > In a core, the scan engine is shared between sibling cpus. > > When a Scan test (for a particular core) is triggered by the user, > the scan chunks are executed on all the threads on the core using > stop_core_cpuslocked. > > Scan may be aborted by some reasons. Scan test will be aborted in certain > circumstances such as when interrupt occurred or cpu does not have enough > power budget for scan. In this case, the kernel restart scan from the chunk > where it stopped. Scan will also be aborted when the test is failed. In > this case, the test is immediately stopped without retry. > > Reviewed-by: Dan Williams > Signed-off-by: Jithu Joseph > Co-developed-by: Tony Luck > Signed-off-by: Tony Luck > Acked-by: Hans de Goede > Reviewed-off-by: Greg Kroah-Hartman Reviewed-by: Thomas Gleixner