From patchwork Thu Feb 22 04:52:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 204563 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp35558dyb; Wed, 21 Feb 2024 20:52:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXsiD5yyToX2KEiaaY7rH5MY/t3uKA+FEnM8LhukIq7NK6e5BFeAHZiLhNsO3jawi12navTV1T50sSxkrbP/irp2yNKXA== X-Google-Smtp-Source: AGHT+IFGZohpb6o1Ji5k6DN7RA0DA2/+BUGn7pj1apgGZCrHHIFshrZYQROX3ltqlQuUv4KzMEQ3 X-Received: by 2002:a2e:aa26:0:b0:2d2:5f8b:1386 with SMTP id bf38-20020a2eaa26000000b002d25f8b1386mr523683ljb.10.1708577568275; Wed, 21 Feb 2024 20:52:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708577568; cv=pass; d=google.com; s=arc-20160816; b=M+hznotuwkuuWSKjGc+fuljsV0tZTNvNMt/MS6DbWyCIP2TDWLWGYvvbhbyI3W5dVM IIeMIw7UJYS8akikUqR4kVYTXIhcwk0oIyAN3IT5q6HIpixSFhAVWpxTxpIUjMPbLduE hCKU7UymtvsMrr3b9IQnWiAYrUxeUgJoCIcOOpiyZcMmQ2Q6eCFeKfrcH1PdwHU+C5I/ ld3bmQcMZNWhNJ+nm2KVAjoGK7Wfnj4OvfnbripTwdxuK51BrAekpVJi/0EGZgFL8dYg f3w1K6K9xrn4dFvZ1Prtotl0HxmmEybnPAQAfUTpfESlMyOroAzrolc0sx5h1LeRgsTY +lCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=maCXWyPs/YRilrlEgDPLLegl5YLvwhQmluGyubP6z5c=; fh=D5/gB5+9rnftWYNDgRkPZueH0+K4qQErRzb08hclln4=; b=tI/IvBq9Vs8Q0xYnvOjMpe6Zpf52yJlz1OC0QX1Y2hhVpiVSvIXaeJCg/G6uB4qBn+ wsI39z82JV991pm9zovleXBw4grh7WPxFWeAPytphg+R1A2kcGlVPatpwbfyREJgu80y ccGLu2CdF+YPaiDAo+2KyjxV90lCtORgiucLgJN5jYZ4/iBu6q1RU5hOMSgr+MDoAmYi lpNxkG3sS+/iG/TnnTi/+ChyKUCY4MzJC9xYWoB5NcUQtxuPuIG1VeC3NwLccmEjxUj9 duaaV2sAWjlK2UlC3zQCBMbIbfZlRNQLvpx8DRloO1Aqypi3PFTO8QA+YaQWpNKBHzvZ 8iVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YsffpbUn; 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-75910-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75910-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y62-20020a50bb44000000b005644489beb6si4165345ede.471.2024.02.21.20.52.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 20:52:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75910-ouuuleilei=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=YsffpbUn; 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-75910-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75910-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C7DA21F23A9A for ; Thu, 22 Feb 2024 04:52:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 595C66AB9; Thu, 22 Feb 2024 04:52:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YsffpbUn" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (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 6DB361FA2; Thu, 22 Feb 2024 04:52:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708577553; cv=none; b=gC1TLVfHhsqvbvl4xuAIK914aVDqWuOaCR/2v2e9noQoQnBCbUyiC230Ti2/MVd+TXpfDn23kFY5r2Z96TbkHgAkXydzvbSkb8F4HlaepSnsS4QjmM1DSsOwaqQJZL6La6By98m8cuINO24IvjOd5s9EnP8SLpvW2RK/diVRqxE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708577553; c=relaxed/simple; bh=pQDavo0/qfgT4mK+oZdue8z5IvBKGB8rgGt+xY5dgJE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=GEBT4TWLxm2a90Plmh8PULgxSSRTinlpPtpKnoz6VJC6kqN4oj5S67To+ZsDUwQe/R9XhvQyGPvC0ifUK4U6gdpQrb0KsRstW2ESLHeBTv8N5fO8cjrJZzpxMuFm1kwVIEn7T/H62fS8HaEQ4hm4ywaAtiYUlqnbnsW204M8nQQ= 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=YsffpbUn; arc=none smtp.client-ip=192.198.163.9 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=1708577551; x=1740113551; h=from:date:subject:mime-version:content-transfer-encoding: message-id:to:cc; bh=pQDavo0/qfgT4mK+oZdue8z5IvBKGB8rgGt+xY5dgJE=; b=YsffpbUnQBfBRli1ZaYLIIDtnIJXGyGC9H9L8kkOmdKlnW8pTPseGceU kkKlIaEg/FHiMFubDDG4OdBQSUIpqqfQggpPOfnKdUFHdqlaDDKOAE8ku xiGS8J3+bhQ0NdXHl2oWgtJrYThb1ppnQvOq/AHXqj7N6M0Cc+STI76wn VS4YdjQ7l0LFQJWQXHHjinqqWJ6/+tWDPozcQ6q/GznZzVUhD39vvINZ7 XGIkAz4qgZMpw0OmEte6YnqUxYKQmmE30FxWPGW+EWf/1P5uY6ccJKO4w EzIQaeurM9E0ERhCfFfZ0kaCg6kPzyh0MPkantum/gzVX9OX4IJWmvPmk A==; X-IronPort-AV: E=McAfee;i="6600,9927,10991"; a="13478886" X-IronPort-AV: E=Sophos;i="6.06,177,1705392000"; d="scan'208";a="13478886" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2024 20:52:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,177,1705392000"; d="scan'208";a="9959521" Received: from iweiny-desk3.amr.corp.intel.com (HELO localhost) ([10.212.97.198]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2024 20:52:30 -0800 From: Ira Weiny Date: Wed, 21 Feb 2024 20:52:28 -0800 Subject: [PATCH] cxl/trace: Fix uncorrectable macro spelling Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240221-fix-correctable-macro-v1-1-6e6ab8b8aa39@intel.com> X-B4-Tracking: v=1; b=H4sIAAvT1mUC/x2M0QrCMAwAf6XkeYE2DrT+iuyhi1ED2ko6hlD67 5Y9HtxdgyqmUuHqGpjsWrXkAWFywK+Un4J6HwzkafbBEz70h1zMhLe0vgU/ia0gXeYzSzwRR4b Rfk2GeHxvS+9/QTz9SGcAAAA= To: Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Dan Williams Cc: linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Ira Weiny X-Mailer: b4 0.13-dev-2d940 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708577550; l=1906; i=ira.weiny@intel.com; s=20221222; h=from:subject:message-id; bh=pQDavo0/qfgT4mK+oZdue8z5IvBKGB8rgGt+xY5dgJE=; b=MGaIpc+mfRs0nTItBluY7d341NQ21ww/sWFGQ3Q2KymOKHb6P0FDkkaV8BdslePQi+XwcVjYN 46izd2PCEbODDV/P2E2oMJ2qtW/7zHviAI0rvijtYQR/CCt9APCHw+D X-Developer-Key: i=ira.weiny@intel.com; a=ed25519; pk=brwqReAJklzu/xZ9FpSsMPSQ/qkSalbg6scP3w809Ec= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791573432205258371 X-GMAIL-MSGID: 1791573432205258371 Uncorrectable is spelled with two r's. Fix the macro spelling. Signed-off-by: Ira Weiny Reviewed-by: Dave Jiang Reviewed-by: Fan Ni --- drivers/cxl/core/trace.h | 4 ++-- tools/testing/cxl/test/mem.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- base-commit: a2cd3520e6085b0f9145d9c5e3d1bfa9cce4c3be change-id: 20240102-fix-correctable-macro-2847ce932c9c Best regards, diff --git a/drivers/cxl/core/trace.h b/drivers/cxl/core/trace.h index bdf117a33744..577a01954f71 100644 --- a/drivers/cxl/core/trace.h +++ b/drivers/cxl/core/trace.h @@ -267,11 +267,11 @@ TRACE_EVENT(cxl_generic_event, * General Media Event Record - GMER * CXL rev 3.0 Section 8.2.9.2.1.1; Table 8-43 */ -#define CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT BIT(0) +#define CXL_GMER_EVT_DESC_UNCORRECTABLE_EVENT BIT(0) #define CXL_GMER_EVT_DESC_THRESHOLD_EVENT BIT(1) #define CXL_GMER_EVT_DESC_POISON_LIST_OVERFLOW BIT(2) #define show_event_desc_flags(flags) __print_flags(flags, "|", \ - { CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT, "UNCORRECTABLE_EVENT" }, \ + { CXL_GMER_EVT_DESC_UNCORRECTABLE_EVENT, "UNCORRECTABLE_EVENT" }, \ { CXL_GMER_EVT_DESC_THRESHOLD_EVENT, "THRESHOLD_EVENT" }, \ { CXL_GMER_EVT_DESC_POISON_LIST_OVERFLOW, "POISON_LIST_OVERFLOW" } \ ) diff --git a/tools/testing/cxl/test/mem.c b/tools/testing/cxl/test/mem.c index 35ee41e435ab..c0c1e6b4db75 100644 --- a/tools/testing/cxl/test/mem.c +++ b/tools/testing/cxl/test/mem.c @@ -380,7 +380,7 @@ struct cxl_test_gen_media gen_media = { .related_handle = cpu_to_le16(0), }, .phys_addr = cpu_to_le64(0x2000), - .descriptor = CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT, + .descriptor = CXL_GMER_EVT_DESC_UNCORRECTABLE_EVENT, .type = CXL_GMER_MEM_EVT_TYPE_DATA_PATH_ERROR, .transaction_type = CXL_GMER_TRANS_HOST_WRITE, /* .validity_flags = */