Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1066815rdb; Fri, 16 Feb 2024 04:35:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWSAHU3TNpkGFMvoxV+qoF36JyTWwVivhoBBfC8bL4DtExeW51m5t+lWx8oY3DuyXdNNKd7/5ViHPvZogdAjCwkatvXkR1jsJcsXd035A== X-Google-Smtp-Source: AGHT+IFmQ/RLLKIzUG1uQryA3WGHblJqVQbVn1uD4VQUJw9NuB2F6IhU62Yl3mJfLpByuVkcEHtm X-Received: by 2002:a17:906:1398:b0:a3d:9022:c49b with SMTP id f24-20020a170906139800b00a3d9022c49bmr3438883ejc.71.1708086902528; Fri, 16 Feb 2024 04:35:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708086902; cv=pass; d=google.com; s=arc-20160816; b=FtpK36ifoLRI+L8PA3YALBjndwWmqiUL70EIDfpDmuUN8HPCkfJSK3rQ098kigqdg4 EYj+m3oQxSC6JtFs+d3wUNv6WPTIE9Qwr2EZd/JNZ+I4xAueYvOIpXkpBcxggfOYGPSH zYv8OMP+iKBcxNJHoxVsPdrXDyKdfizA2fdubRBoBFl9wiw3j4PUX7OzsFeekHqjKo7z Q3Vg0uEYPB6x1UNFzLxMlXPU60MlVX0BUy3EM/l2qLUJSoYLdoGycNbz5nK+ofn/zRXG 0vvkk+Zv0z1HOrVkP5XPV2eUJ4fYOQu90yBLlK9t2MUWl8kLwAO6gogOZ6dEsvJUvdE1 zq2g== ARC-Message-Signature: i=2; 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:cc:to:from:dkim-signature; bh=WrYfrf2lWzlHLulIS5TbW81cgGcx2pR2q2zedRxJA7E=; fh=VOixra99z/0+yWRBrgaZBxvBCQrJSimsX1bxrXlznds=; b=dOJjbKvTnl0LDBW6lshtcX0RKz8vcAuG1YXCb4OadZdV1xXHgmCEh29grDc0UWIs98 QgWA0RLPkNe2S/PX0c3uuvMB8BDnPVYKthPQUUrqo9eEL66K+vPGhAsvHfELKhHYQf1U O9pjDpfFE3l24vFAX/FhkI5diYv+Nhze206it+KrKfvkCZhTRABkP3ocxDh+jJH1DRl+ GTEKbXLgbEFJIu0E++IHMclBmn+HtHm7QhFfLVJwpVMs+QZJCYQUCI8cTlTNJ4PhIObN Z29Eh1iFzh2vCkArI91j2QE/oItLlGCieWK8bz7xgMxs4rsis0nOTycnDRhcyRZjWJ4A Ichw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nhz4PpPV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68577-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q11-20020a170906a08b00b00a3da07b1dc1si1315640ejy.95.2024.02.16.04.35.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 04:35:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68577-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nhz4PpPV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68577-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 1BFBA1F21F3C for ; Fri, 16 Feb 2024 12:35:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3218A12882F; Fri, 16 Feb 2024 12:34:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nhz4PpPV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5623778B66; Fri, 16 Feb 2024 12:34:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708086891; cv=none; b=fhjzUKqjEReaYqBCpap0/LhCro34zrSyYKvpMhHtY88opNgQxrzknG2dycImKi8jZSmhrGDhNSeWl5traSJo5ToWSm86ZmdJwLLrf1Fz83xxqvFAdd0a0f4t0bp47EBmPNg3UmcLNf8T1rnA3nYeVXEp6oDtmOMRV4WF/7zfwTo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708086891; c=relaxed/simple; bh=9IWnQCphSFE25vnBopHpLmYSYg2m3v56/19BI2qavUQ=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=aeSvbXk3rk+Mhg/yjOXKQrN8kLa/IAy7HY4ZIEbrGgiEsCFHSGFuh/OlFcJbdnws7qZfOivn23W162cZw0j5kZFLFw+ej0SAaf/RSi5hx9bvXbGqqtCWfVKnQlqAXC1UFzGccc0/rRx/VWfnjcgmGCEv9jFiGGZs5L1fpQEylFQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nhz4PpPV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E26F9C433F1; Fri, 16 Feb 2024 12:34:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708086891; bh=9IWnQCphSFE25vnBopHpLmYSYg2m3v56/19BI2qavUQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=nhz4PpPVIq6oYVeaO2v1+VK7w+TFCHxqQjLImPKISP9mMYUQTFaTm9vDHz2t/zn4B hD84oBl3a2IG+N+7z/eD1tpT+acgu+HmBzL5+fuq9u28DWeoiZO6mOOjin35fHGNPn u1jPZxPI68bvt6oxm0u49IyDbu2DsjpVcUpZx9+19Pw4m9o+od9Zb/aushz//l66Q+ 2spi50tiL3IfeiqL2WYw6sk4K67BCPQCECnc58OU/WQ/lFOTjmJC90j0T5YCEaDI2k eAl15lkvqo7+dAzZu+y/iTHU3W4hU3vnOcx7UfyN41FWFnwdYzc6UKna2qB0d5bPan RU9j8G423QG4g== From: Vinod Koul To: Dave Jiang , Fenghua Yu Cc: dmaengine@vger.kernel.org, linux-kernel In-Reply-To: <20240215024931.1739621-1-fenghua.yu@intel.com> References: <20240215024931.1739621-1-fenghua.yu@intel.com> Subject: Re: [PATCH v2] dmaengine: idxd: Remove shadow Event Log head stored in idxd Message-Id: <170808688943.369567.17829414999470359009.b4-ty@kernel.org> Date: Fri, 16 Feb 2024 18:04:49 +0530 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 Wed, 14 Feb 2024 18:49:31 -0800, Fenghua Yu wrote: > head is defined in idxd->evl as a shadow of head in the EVLSTATUS register. > There are two issues related to the shadow head: > > 1. Mismatch between the shadow head and the state of the EVLSTATUS > register: > If Event Log is supported, upon completion of the Enable Device command, > the Event Log head in the variable idxd->evl->head should be cleared to > match the state of the EVLSTATUS register. But the variable is not reset > currently, leading mismatch between the variable and the register state. > The mismatch causes incorrect processing of Event Log entries. > > [...] Applied, thanks! [1/1] dmaengine: idxd: Remove shadow Event Log head stored in idxd commit: ecec7c9f29a7114a3e23a14020b1149ea7dffb4f Best regards, -- ~Vinod