From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 551B9D80A15 for ; Fri, 20 Oct 2023 12:53:19 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ldf+kWpYp6ReW7A4ptlOyVUhyHHQdA6uRVaTba8PaKQ=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1697806398; v=1; b=rIScBk5Q42pBmIUwcJp9SAAShJUyyJx8MzE0QYiL6LTqrM7gP2iyX74038xbeJt0gSukPy19 NbbY3giejZ/5MtsgjupsxkbyDwP4fCGeIaHkvbtJfJmb6eYhOs7LY7aJrF3mx9xkcCHfeK38MCb n2pdeFcWGRSV0yKat2jtXP3k= X-Received: by 127.0.0.2 with SMTP id 0FqNYY7687511xuPayORCldH; Fri, 20 Oct 2023 05:53:18 -0700 X-Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mx.groups.io with SMTP id smtpd.web10.53382.1697806397222555695 for ; Fri, 20 Oct 2023 05:53:17 -0700 X-Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2b9d07a8d84so10793501fa.3 for ; Fri, 20 Oct 2023 05:53:16 -0700 (PDT) X-Gm-Message-State: mCQn0CpqUFlRBFXUfJaK4NITx7686176AA= X-Google-Smtp-Source: AGHT+IF785Oa+ef1a3zGUQu2hVyfgfs++2XU6CPbkna1h77gHYa2Z3lhAvsB0baxiMuhVsXivfZCBg== X-Received: by 2002:a2e:a7c2:0:b0:2c5:72e:6ff9 with SMTP id x2-20020a2ea7c2000000b002c5072e6ff9mr1972894ljp.6.1697806395158; Fri, 20 Oct 2023 05:53:15 -0700 (PDT) X-Received: from PC10319.67 ([82.97.198.254]) by smtp.googlemail.com with ESMTPSA id x22-20020a05651c105600b002b9e5fe86dasm350853ljm.81.2023.10.20.05.53.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 05:53:14 -0700 (PDT) From: "Konstantin Aladyshev" To: devel@edk2.groups.io Cc: abner.chang@amd.com, isaac.w.oram@intel.com, AbdulLateef.Attar@amd.com, nicklew@nvidia.com, Konstantin Aladyshev Subject: [edk2-devel] [PATCH edk2-platforms v2 07/15] ManageabilityPkg: Correct value for the MCTP TAG_OWNER response bit Date: Fri, 20 Oct 2023 15:52:54 +0300 Message-Id: <20231020125302.1459-8-aladyshev22@gmail.com> In-Reply-To: <20231020125302.1459-1-aladyshev22@gmail.com> References: <20231020125302.1459-1-aladyshev22@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,aladyshev22@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=rIScBk5Q; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) Currently the MCTP TAG_OWNER bit is checked against 1 both in MTCP request and response. According to the MTCP Base specification in case of the MCTP response the TAG_OWNER bit should be equal to 0. Correct MCTP_MESSAGE_TAG_OWNER_RESPONSE flag value to fix the issue. Signed-off-by: Konstantin Aladyshev --- .../Include/Library/ManageabilityTransportMctpLib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Features/ManageabilityPkg/Include/Library/ManageabilityTranspo= rtMctpLib.h b/Features/ManageabilityPkg/Include/Library/ManageabilityTransp= ortMctpLib.h index 462e7436e6..a8dc8a8519 100644 --- a/Features/ManageabilityPkg/Include/Library/ManageabilityTransportMctpL= ib.h +++ b/Features/ManageabilityPkg/Include/Library/ManageabilityTransportMctpL= ib.h @@ -51,8 +51,8 @@ typedef struct { // is not defined by the specification.=0D #define MCTP_MESSAGE_TAG 0x1=0D =0D -#define MCTP_MESSAGE_TAG_OWNER_REQUEST 0x01=0D -#define MCTP_MESSAGE_TAG_OWNER_RESPONSE 0x01=0D +#define MCTP_MESSAGE_TAG_OWNER_REQUEST 1=0D +#define MCTP_MESSAGE_TAG_OWNER_RESPONSE 0=0D =0D #define MCTP_PACKET_SEQUENCE_MASK 0x3=0D =0D --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109857): https://edk2.groups.io/g/devel/message/109857 Mute This Topic: https://groups.io/mt/102080235/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-