Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4821375rwb; Sun, 13 Nov 2022 14:47:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4jL2dYy1AkpghYfWnErDS0rWwnuhqpUGHCYcuMjbEngrqdiujhUyjFZlZSXd/aK85XNhy+ X-Received: by 2002:a17:906:54cf:b0:78a:d075:98d8 with SMTP id c15-20020a17090654cf00b0078ad07598d8mr8626999ejp.324.1668379629846; Sun, 13 Nov 2022 14:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668379629; cv=none; d=google.com; s=arc-20160816; b=uadPOiJ3zNPaBEOoOvSpBLjJWEPH2GIWMiMOyGX74HU9VRRI7nUnVJkfdfB8fymz9m zss83KVcesE/vFFENSqbobZryn/x6Ozp/cBvFDGMpKvgj3bCxUzC+HL81+4dh4TzyoQK 9AQlpNF1HI2Sn0vbs1TeoXWkBv47vtAwROfJIyllso205ZO/SWoAv5xbdjOt5WI/6PH1 uamPF9IMFappmYyfsJXPyl3jLbgoZioWILoQuxuMC4rkd9/T5EWkZYIAAucZ/bxfOb64 1+ttIT+blq8H1vfQ2yZRwpMXtWTkibERxAsBJ+PcFpoPkzRfrJi4pFD67+bL9ft3Dg96 lOsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=e2ive0FU/xEwtiBHlEHh0qKfNoVaneviRG7KGHd95PA=; b=kL+myfLGwQeL5AYdrXQFAHnpyKjNoXsBTDf/YZhLKSWjn7tAcQw1mIw6OGrspzz6O5 7qPshk2mulyA2TWCifBp0lgr7csG/tbSJoNuQzvO1KuKAHtrGbTO+H18LZU3+Q95JYgR 1e6wi1xmMxnXIkE4w9Vxod2LmWd7xP1kpI+ipDIxvux1Ax2Bi7PElanQgAFrNLHKagQ3 L3Munavk8g8O/9AMe6kOF/SuOxnpEjYTzHfHnGzUWqJQonwhQ0fb3yAT3wTnkwPShupp QXn8fXHt/3gLfBEBe6dfd3pJjF8BHGHI48v0lckKQwKDlO+LZwyfP2UKvLSrGsPJx/yj JeYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iuxkEyUO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o22-20020a170906975600b0078e0e8508fbsi8704538ejy.457.2022.11.13.14.46.36; Sun, 13 Nov 2022 14:47:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iuxkEyUO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235458AbiKMW2Q (ORCPT + 89 others); Sun, 13 Nov 2022 17:28:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233909AbiKMW2O (ORCPT ); Sun, 13 Nov 2022 17:28:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D8E163AA; Sun, 13 Nov 2022 14:28:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C5CD860BEF; Sun, 13 Nov 2022 22:28:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 783A3C433D6; Sun, 13 Nov 2022 22:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668378493; bh=7jgz+wTHdR6XWg7YJswtTBfD3CPiL4NILZnLTMhGD68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iuxkEyUOtgy/DOUiEzkGNzSVEcrtpI1vVTBatn7MN1sUXHejMAK6wHxroO7atR6Oa coEVzJ0efZzxX41AiwC8JLhkH2e/ZyVRlJ5NmobAd9a0hvKvgqd69bM5h5JGmzbSb3 55e53s5BPOSDS8GAJbprl2PYP5jJ6qxRsQ0y4cNxujgGCMKwQKY/GrbBtbugFqKm9Z 3VCTZxPt3m95YAgkqpSgXJSpqCDc+lhRl4uIP5y3UcZQRbvdd2oU4tzzxaCP98BRlG flOQmCi39q1pa89nH2oeY4+uraT29l+w2lKSZ1oLOxC+idnFoJ00s/JPRnoIDwi2Ju 3IKmux5o4IRRw== Date: Mon, 14 Nov 2022 03:58:08 +0530 From: Vinod Koul To: Fenghua Yu Cc: Dave Jiang , linux-kernel , dmaengine@vger.kernel.org, Nirav N Shah Subject: Re: [PATCH] dmaengine: idxd: Fix crc_val field for completion record Message-ID: References: <20221111012715.2031481-1-fenghua.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221111012715.2031481-1-fenghua.yu@intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10-11-22, 17:27, Fenghua Yu wrote: > The crc_val in the completion record should be 64 bits and not 32 bits. > > Fixes: 4ac823e9cd85 ("dmaengine: idxd: fix delta_rec and crc size field for completion record") > Please no empty line after the fixes tag! Applied after removing the empty line, thanks > Reported-by: Nirav N Shah > Signed-off-by: Fenghua Yu > --- > include/uapi/linux/idxd.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/uapi/linux/idxd.h b/include/uapi/linux/idxd.h > index 61ee43823622..09947ae61663 100644 > --- a/include/uapi/linux/idxd.h > +++ b/include/uapi/linux/idxd.h > @@ -329,7 +329,7 @@ struct dsa_completion_record { > }; > > uint32_t delta_rec_size; > - uint32_t crc_val; > + uint64_t crc_val; > > /* DIF check & strip */ > struct { > -- > 2.32.0 -- ~Vinod