Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp89763rdh; Mon, 18 Dec 2023 05:20:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkccdAKiRq6Vopa+rzE5eRW8SOe8Dc/Lykaku/4eUHuzPwvPqNiFRQOKH0c1JdtYGDlE2U X-Received: by 2002:a50:ec83:0:b0:553:3183:1210 with SMTP id e3-20020a50ec83000000b0055331831210mr2196305edr.5.1702905656250; Mon, 18 Dec 2023 05:20:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702905656; cv=none; d=google.com; s=arc-20160816; b=0pA/TrlKV97h2AARK4j13NwlK6byyRWGO6JztMCdYhXK8kLfsvKTKQrJv9E72TN+M6 GM5meC7jskzBjIuD+RXMDhJBETm1j/vOg/BGaToSf6NWvkBNWl2uvORg8aKeUMxAOJeg 0jmh5feVdbSCaVqckefyWugQi18X1YE8iYjM2MKkHsbPHyd4ZR09a9InE+SQtCCQbufM Lle0hkU75rZu09vP/ZGz1GaQjIQdFRLSqJ9M06tgx9H0+BKeAZnYKbzOIWPuZplYsBD3 GPdhiXs35elqx4LNJMBeOiYe+vvutoV06GUIENXbncVA8IbnyELkipe1J4ruvsGGNre7 tDng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:to:from:dkim-signature; bh=uEOrgBE/iLy72uYR7GCyLWCWNpjlOlwHfbzxAe883FI=; fh=Bmoy9c/oH8aH+jj9tou3/VBYWHxXKTeAKhZ1aHfEdGw=; b=oBCWG/ASBIEhvWNd2aSa+DyN0oeiHYJAvn0peEaladWZV5OJUimw8UFUsfrXk2sXVy K9Oosg0cxJFFVX2bKVNMCqNQUsFZjd6zLt30Kwh3B9g52CjQ1zk9MKZoNsRhPDQ9kyxq OUnpKl9g7OXpB9DBk6Uh7t3ZiuP5hq6yPorG9vi+eGhw6YGI2rHrGamGvwF/LJT0ii+z Q9Zf+ptrpqpCsSAAgMDiD7u3vHVSLAzAP7P9CYsPoY2lP8sMoPNX4IWXW1pTxyB/aSp+ WBhR2IQkgEwqNSQQzAvjPI7N+ZAExt+DqeJI9OJwwU7zn0l+PQlrk9m/mVaJFKLSCIyA PD1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=afb0pqAF; spf=pass (google.com: domain of linux-kernel+bounces-3702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v10-20020a50a44a000000b00552cac23f27si2972714edb.500.2023.12.18.05.20.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 05:20:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=afb0pqAF; spf=pass (google.com: domain of linux-kernel+bounces-3702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3702-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AD44D1F2408A for ; Mon, 18 Dec 2023 13:14:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77C3E3A1C0; Mon, 18 Dec 2023 13:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="afb0pqAF" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) (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 DBB033789D; Mon, 18 Dec 2023 13:10:47 +0000 (UTC) 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=1702905047; x=1734441047; h=from:to:in-reply-to:references:subject:message-id:date: mime-version:content-transfer-encoding; bh=PYbB1Hwg0GCaCr97yxgow7pC3RiTKiDVygzzAo+x+zM=; b=afb0pqAFLmoxG/hXrI42zVHMyBk0bjcTDsa63bG593+fKEclivfH1gMP XLSvPRotvWvTC2CDOgjDdbRhHAz/dRaEj6QeiaxFt/9wjA3sfLwmdySIt oz3DujEkUjQdpwhFVM1Q7urXz2gVuU7/zPL/Z1HpJAMkdnebkPFrS3nyA z2lrP0VR4Cu0j2FO2Qfp4z+LHkggsJpNfab4lUUsIwBCWlfMD/MlcFUjf EIfotZS9w9HVB/j3CKe6O5aaKhRCjYyC61cXRJeyJzXyJAO2qG0F6jATP 5KVeQKHCz4p46binFwIqLPvVDn1rcEI9F8c+jf48COo6aVTSw2kxGTsFc A==; X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="461954284" X-IronPort-AV: E=Sophos;i="6.04,285,1695711600"; d="scan'208";a="461954284" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 05:10:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="768838684" X-IronPort-AV: E=Sophos;i="6.04,285,1695711600"; d="scan'208";a="768838684" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.246.35.56]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 05:10:44 -0800 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: irenic.rajneesh@gmail.com, david.e.box@intel.com, hdegoede@redhat.com, markgross@kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, rjingar In-Reply-To: <20231216011650.1973941-1-rajvi.jingar@linux.intel.com> References: <20231216011650.1973941-1-rajvi.jingar@linux.intel.com> Subject: Re: [PATCH 1/2] platform/x86/intel/pmc: Fix hang in pmc_core_send_ltr_ignore() Message-Id: <170290503829.2622.8102265801801042918.b4-ty@linux.intel.com> Date: Mon, 18 Dec 2023 15:10:38 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Fri, 15 Dec 2023 17:16:50 -0800, rjingar wrote: > For input value 0, PMC stays unassigned which causes crash while trying > to access PMC for register read/write. Include LTR index 0 in pmc_index > and ltr_index calculation. > > Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while. The list of commits applied: [1/2] platform/x86/intel/pmc: Fix hang in pmc_core_send_ltr_ignore() commit: fbcf67ce5a9e2831c14bdfb895be05213e611724 -- i.