Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp242445lqp; Fri, 12 Apr 2024 16:51:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVICbPLfEe0hbzMddHcFweeyLKQ6SEoG8O+tXZ3xqTSi7bIoxz78oJmRIBnirEXRxd1h0LbV5S21J3AaS1IJ8NjeM83239itVfxW8IBuQ== X-Google-Smtp-Source: AGHT+IELdK5kzalb6x+4CVsVujTEkBJs/L+oxrcn8ayOFybV/3PZ3Tx1AU9xDQ37HCG3OLTkwraO X-Received: by 2002:a05:6358:9807:b0:181:7b22:d845 with SMTP id y7-20020a056358980700b001817b22d845mr4436797rwa.16.1712965917788; Fri, 12 Apr 2024 16:51:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712965917; cv=pass; d=google.com; s=arc-20160816; b=DhsS3Cr46dMmhko2Xe6f1O+wmv8/UqMCOqsQWsfpMVOwI7dBaSKLPZS+hoU9YlKNsU 4up29Nec7j8ONJk77Z+1Lx/FEglip3C+vrJfntg4POn+OQM7Q5lTTkB80ngUjYFD2QVV FgCH0Wm90ojKRVywWhFnfnOQqqwxsLm+KVjlFi9Dsvyiqo6vBBrkG8VgomiYbA+r/7iW VonL7WbTz7Mr6Z+6fZKsiXnpACw5l1TX7CLWR5N7YfXJuTuBDTX40BQwOR5c4moK3M3W 0x7ARZ8mss6Ik8BRHGZiz+j0pM80tWMLI75MW0xWwoZoTFL4CEMJ8wJ6lKyRJakrNzHN pCzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=eW9Pbqx4bwkvm9xghNfsOOjCiKN+Up+zcYvBt9ltK3U=; fh=P5X35G5XRKlzBAvGHML6t7GYdMgFtfqB/dXZF9zRzO0=; b=h9VqurmLEhyncwBfXV8fVdPo9RFO0ctrlfzx+179z0zgy/1wu3wtnmGWr0cZG1P6Qc 36Zgzr9Itch2Kc6/jz2ZikH++M0AYvhSTp+6qI5SgpmH00E6d4TdppMXkolNds5yY5Dm NrYGVytaWdhIjtLBgg6L5L2KJPdGGBHyXmaZH/uBYmecgTP9YrSb43iATsLkSBWBJMKZ F19zL38uTUqL9T7PK6m8r0uL4ZbY+WIFeSrR19wpZ6FsWS4VrdzDV+LHU/I9F1P73tak yDkeBE7StQalGsjk9JueVf8BkCPjnpZv2kKITcoGtLkP3rF6X/5igZDj5Muui836yFWV LNTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lXeDWohx; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-143323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143323-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r11-20020a63e50b000000b005df438d2822si4108573pgh.188.2024.04.12.16.51.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 16:51:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lXeDWohx; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-143323-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143323-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9E4792838C6 for ; Fri, 12 Apr 2024 20:46:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01226405F2; Fri, 12 Apr 2024 20:46:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="lXeDWohx" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AA143611D; Fri, 12 Apr 2024 20:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712954811; cv=none; b=mpr8A1Aw+/GlFyGvZ4jIoeCHc0anzCH7gFa1YkjGMZ/V60E4nHU8kHMujstxK2EjN3QKUdrUxRISUTK3PvtRGocR0HSxbh9lBK99ZWKkPiWzFD3sDYUOT0q2TQBzSRTu1CEOYTvCvRd+OdiREH1YLyzdQsWmRUD2rg4ZAmveqWk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712954811; c=relaxed/simple; bh=NaJW1CpbCmMiu1vp/LaOL7R6yRq69skyK1KPbmyNeKc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=se2EFwqVbTAno0V89QLZzxTlVdUQ3aW65EE2NqFRc9NxRAXTGqa/S8tMTp13dhxZy34werp+UDKhnDTlYeCYaaGv2byI7inWA0jc/hEWEqpYPSLKBOKMrSB+5ONuytthnsd+2QfPZIKeE2pZXfiV21V4TqTXltbSIDPO8dz0gfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=lXeDWohx; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712954810; x=1744490810; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=NaJW1CpbCmMiu1vp/LaOL7R6yRq69skyK1KPbmyNeKc=; b=lXeDWohx382qblvyj4kOiN+PWa60YVla0aovhf8gTqA5U1RI0fpM6Tmh y0EkOeVW2PBNwWykbMLtJBOn3WJungCleotUcFa1qGFjSvet2IhwpXsLq F7vLiixm+tBpOIOzMA2Eve38UqAPCB9M/VRk+jwqczs4zRAs9mneg+lAC Y0jWqZExIa14qv+A/Qp09cfG+40Nsfc8fYCMrle4kFq5uZB2NMvMfTFE4 +/8NWQAtUUY1+8wjST9yAObfiTL/3GAP2FuJXajxbGd0npdw+65X3fjif 033Nt+ii6pZbFdLFbHqFoT4THedCrguEDcczFLgnLlPSCTTsQD2tnxBTx w==; X-CSE-ConnectionGUID: CR/3rAJpRCGompDPh0Q10w== X-CSE-MsgGUID: XSJlVfiVRzqH/LPj2X0jhA== X-IronPort-AV: E=McAfee;i="6600,9927,11042"; a="19573910" X-IronPort-AV: E=Sophos;i="6.07,197,1708416000"; d="scan'208";a="19573910" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2024 13:46:50 -0700 X-CSE-ConnectionGUID: 1iPPyoFhTQe/FM5dMMTWNA== X-CSE-MsgGUID: Du7LdhHjQwqOJ/+EwN/dog== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,197,1708416000"; d="scan'208";a="21834145" Received: from zchen24-mobl1.amr.corp.intel.com (HELO [10.209.67.36]) ([10.209.67.36]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2024 13:46:49 -0700 Message-ID: Date: Fri, 12 Apr 2024 13:46:48 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] platform/x86/intel/ifs: Classify error scenarios correctly To: "Joseph, Jithu" , ilpo.jarvinen@linux.intel.com, hdegoede@redhat.com, markgross@kernel.org Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, ashok.raj@intel.com, tony.luck@intel.com, rostedt@goodmis.org, ravi.v.shankar@intel.com, patches@lists.linux.dev References: <20240412172349.544064-1-jithu.joseph@intel.com> <20240412172349.544064-2-jithu.joseph@intel.com> <69d360fc-85e4-4a6d-8f08-9f90dd7ec583@linux.intel.com> <57c32cfd-136d-4c72-9f4d-12599b508fb8@intel.com> Content-Language: en-US From: Kuppuswamy Sathyanarayanan In-Reply-To: <57c32cfd-136d-4c72-9f4d-12599b508fb8@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/12/24 12:31 PM, Joseph, Jithu wrote: > Sathya, > > Thanks for reviewing this > > On 4/12/2024 11:32 AM, Kuppuswamy Sathyanarayanan wrote: >> On 4/12/24 10:23 AM, Jithu Joseph wrote: >>> Based on inputs from hardware architects, only "scan signature failures" >>> should be treated as actual hardware/cpu failure. >> Instead of just saying input from hardware architects, it would be better >> if you mention the rationale behind it. > I can reword the first para as below: > > "Scan controller error" means that scan hardware encountered an error > prior to doing an actual test on the target CPU. It does not mean that > there is an actual cpu/core failure. "scan signature failure" indicates > that the test result on the target core did not match the expected value > and should be treated as a cpu failure. > > Current driver classifies both these scenarios as failures. Modify ... Looks good to me. >>> Current driver, in addition, classifies "scan controller error" scenario >>> too as a hardware/cpu failure. Modify the driver to classify this situation >>> with a more appropriate "untested" status instead of "fail" status. >>> >>> Signed-off-by: Jithu Joseph >>> Reviewed-by: Tony Luck >>> Reviewe >> Code wise it looks good to me. >> >> Reviewed-by: Kuppuswamy Sathyanarayanan >> > > Jithu -- Sathyanarayanan Kuppuswamy Linux Kernel Developer