Message ID | 20240131-cxl-cper-fixups-v1-0-335c85b1d77b@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-47396-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp100857dyc; Wed, 31 Jan 2024 15:58:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtVINdlzkbDcr2tUcAD8pIMFrujLgJoUL+DTa2ZcH9PXXOkZvTRt7VkvE59AVBcI6RhbXw X-Received: by 2002:a05:6a00:1c91:b0:6d9:ac1f:421e with SMTP id y17-20020a056a001c9100b006d9ac1f421emr3861393pfw.26.1706745509691; Wed, 31 Jan 2024 15:58:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706745509; cv=pass; d=google.com; s=arc-20160816; b=Seit/Ng+J3oD//pnqKKWDfmV2oc2iJR3Wzc/d2ySeMEEcGMuntu90sY+kSxOkUwAAg xGKpDHaAVO/HUgXLqAltkAccl1K11cFmtujYJJdUqUM7ptt3uSQM7y5vXZCOXcWEThJF 6LDcmLdZlHy5c9ShCdzhC6olzXXTjv3GQI0FeX0A+lQ1xeSh7OninTuvSTxr5RN9HpZh mIgwvOD/dNLEdt2qgwoAIzXol0U3GDjED+NIP/VOr3EFkvQjMiEawbd1p8K+zIHDxmc0 XMykiP5hhi0qGGWqynHueomi1Va3TOVc2prP39QZ7gduZbmaLaRuzYhLiS09Kc4v29dY IJDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=0H8y64tX+DxqBm6+SZ6xYgLrSzOKt8TaoFivp0nPf50=; fh=pR+dushDq6QPm8zaMtR0+B2TBC35xqcPqezzAfz/Qj4=; b=FHWyuGj1fbnjrTzS4js6HAYnSH/xtJ9usG/nTx4TzWLmpVZoiehGHENEtvDCcNcp+u uqlYP8GE3VnpZR85zsV7kkWKfgNARMgh5ueW3rVIOLPUbpBJ3gKenQuCma3zM40j5Xls z1U/cLuCA+oK5xW5nNcwJMi+h7HCTgheNmaJ+eazQe9oM/T0B8llqbVOrzd0wHFlbQ+o RJ2Mb2UdA4iP0uAc3qsL+iO/w4rbU4f+MmiLIY8srmUYxeckqnlvGrlsgOO8H+B3fuTF fUUZWQcs6W1YRFCmYPb68pA0sv85oAMRc1CgWRwBRWMW4Oa/U1Z7GTaqwdC3iA0S3EvI 6efQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QCbzGFNd; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-47396-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47396-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCXEMnJyG4qCTwxBKFjG20CDuHnkNZcBziZjvhAe5gQISum5tbJZCfec2KD4F1tfPiZ94jQkFiztfq1ezrd2D/OqxgwmNg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e8-20020a631e08000000b005d8e22d633bsi4701228pge.70.2024.01.31.15.58.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 15:58:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47396-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QCbzGFNd; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-47396-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47396-ouuuleilei=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 9139D28A395 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 23:56:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E9E73BB3D; Wed, 31 Jan 2024 23:55:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QCbzGFNd" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 0D0733A8DA; Wed, 31 Jan 2024 23:55:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706745342; cv=none; b=mB+XKaybHVtOQ4/BYZStCsGJRD3+j7m5iSrlqoeYOL0jkjPKj2EJ/hVKRUtR8VnT57HO17PLiCJ8DORFMuPrPiz49g6sqd7De0iBBycXXiG309ed4bPNKO59yXwQcT8Sw+zqxW9wnitij++vyDui6Xijnm4cjCYIB9dZ+XIcn8g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706745342; c=relaxed/simple; bh=sug+HF2SZlcMgcQiYI0lGI7pFw+I4QHWJGILvxgqdmU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=KEyJLaThJl9nw1KHLnx1p8hBg+IX/xZ3B5nzAsOujBFEImtMwd+YDLXaL7kiMPqp5oof2gMARJ6pQqSQC4qd58AqBc27jdbR6cSTAs6FqVI3GHxpC6FvoNYvMw5MtsIQ87C2/nGKJT+8KQyY7787O7oY92xxaHrPSE8Pow3dmYc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QCbzGFNd; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706745341; x=1738281341; h=from:subject:date:message-id:mime-version: content-transfer-encoding:to:cc; bh=sug+HF2SZlcMgcQiYI0lGI7pFw+I4QHWJGILvxgqdmU=; b=QCbzGFNdwriPK+byGFiGxOoNysKl2zvnPli5BfSEdNdodJ98424IOuXx XprGacW2OPa0YRt1U6iPYbfuzgqZHUc43fq78Sepdstopv0gj+m/kYaMp SovUABlJrv4vIA8yd2Rx6OIHCmOzM524hysE5YdpVIArguLa60EuF4yvy A73x3cxcN9PzDRcTgchLj0A8dEo91LUcqUJh006Ap+Qyq3QOrwpUJ9j7I B7Agli2y0AjtFWEq0E2ZXF9v3G9WYoKEMWN+SLM62E1CB7Zi9G4hzzG9H r5BYZM0l3xHbXn7wOjSCbIoJYn7Lpyup7RIyQm56/L1eoU1FgNa55e5G8 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="3597891" X-IronPort-AV: E=Sophos;i="6.05,233,1701158400"; d="scan'208";a="3597891" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 15:55:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="822752084" X-IronPort-AV: E=Sophos;i="6.05,233,1701158400"; d="scan'208";a="822752084" Received: from iweiny-desk3.amr.corp.intel.com (HELO localhost) ([10.213.174.197]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 15:55:38 -0800 From: Ira Weiny <ira.weiny@intel.com> Subject: [PATCH 0/2] cxl/cper: Fixes for CXL CPER event processing Date: Wed, 31 Jan 2024 15:55:37 -0800 Message-Id: <20240131-cxl-cper-fixups-v1-0-335c85b1d77b@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPndumUC/x2MWwqAIBAArxL73YIr0usq0UfpVgthohRCdPekz 2GYeSBxFE4wVA9EviXJ6QtQXYHdZ78xiisMWmmjiAhtPtAGjrhKvkJCt6wNtb1iYzsoVYhczH8 cp/f9ACQ1BYBhAAAA To: Dan Williams <dan.j.williams@intel.com>, Jonathan Cameron <jonathan.cameron@huawei.com> Cc: Davidlohr Bueso <dave@stgolabs.net>, Dave Jiang <dave.jiang@intel.com>, Alison Schofield <alison.schofield@intel.com>, Vishal Verma <vishal.l.verma@intel.com>, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-cxl@vger.kernel.org, Ira Weiny <ira.weiny@intel.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Jonathan Cameron <Jonathan.Cameron@Huawei.com> X-Mailer: b4 0.13-dev-2d940 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706745337; l=823; i=ira.weiny@intel.com; s=20221222; h=from:subject:message-id; bh=sug+HF2SZlcMgcQiYI0lGI7pFw+I4QHWJGILvxgqdmU=; b=IzAYM+GBUu17z3rvbh7NGNKya/6wYgjx3Mhhroy4oNiSr9VC8VNdHIeOAUfIylSxXsAjbngkh JncpSEOZITrBGc9RZCR8nmeMAWSf28uuqxYSUzhZSn+9gahQNTEENoX X-Developer-Key: i=ira.weiny@intel.com; a=ed25519; pk=brwqReAJklzu/xZ9FpSsMPSQ/qkSalbg6scP3w809Ec= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789652379311215192 X-GMAIL-MSGID: 1789652379311215192 |
Series |
cxl/cper: Fixes for CXL CPER event processing
|
|
Message
Ira Weiny
Jan. 31, 2024, 11:55 p.m. UTC
A couple of fixes for the new CXL CPER processing code.
The first is a real bug which should land in rc. The second could wait
until the next merge window but it small enough it should be ok to land
in rc.
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
---
Ira Weiny (2):
cxl/cper: Fix errant CPER prints for CXL events
cxl/trace: Remove unnecessary memcpy's
drivers/acpi/apei/ghes.c | 26 --------------------------
drivers/cxl/core/trace.h | 6 +++---
drivers/firmware/efi/cper.c | 19 +++++++++++++++++++
include/linux/cper.h | 23 +++++++++++++++++++++++
4 files changed, 45 insertions(+), 29 deletions(-)
---
base-commit: 861c0981648f5b64c86fd028ee622096eb7af05a
change-id: 20240111-cxl-cper-fixups-dbf61790e4c8
Best regards,
Comments
On Thu, 1 Feb 2024 at 00:55, Ira Weiny <ira.weiny@intel.com> wrote: > > A couple of fixes for the new CXL CPER processing code. > > The first is a real bug which should land in rc. The second could wait > until the next merge window but it small enough it should be ok to land > in rc. > > Signed-off-by: Ira Weiny <ira.weiny@intel.com> > --- > Ira Weiny (2): > cxl/cper: Fix errant CPER prints for CXL events > cxl/trace: Remove unnecessary memcpy's > Thanks, I'll take these via the EFI tree. > drivers/acpi/apei/ghes.c | 26 -------------------------- > drivers/cxl/core/trace.h | 6 +++--- > drivers/firmware/efi/cper.c | 19 +++++++++++++++++++ > include/linux/cper.h | 23 +++++++++++++++++++++++ > 4 files changed, 45 insertions(+), 29 deletions(-) > --- > base-commit: 861c0981648f5b64c86fd028ee622096eb7af05a > change-id: 20240111-cxl-cper-fixups-dbf61790e4c8 > > Best regards, > -- > Ira Weiny <ira.weiny@intel.com> > >