From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F60FC55179 for ; Thu, 29 Oct 2020 00:55:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD0B920724 for ; Thu, 29 Oct 2020 00:55:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603932954; bh=Q5PR0wLT1H2AcknQT63o0IF3Mnaw82WXKZ0oGBO+vRU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=CEzDcf+kQDfvJzBOqx0DPvqQVlFh/AQ/K0hJ4nOGS0n/tyY9+p06Pc0uajYJzhZK5 sHCPPzA8Z+whY0T8RhBhcwPYVeBmVroTTNJJ1OJkTJj43gqx0v3BtJfBNN/mTjn7Y9 /nA5qP7Cmf/PxUZOSEQDcUmubYCzUstB06iwqY5M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725901AbgJ2Azx (ORCPT ); Wed, 28 Oct 2020 20:55:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:60528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731668AbgJ1WRk (ORCPT ); Wed, 28 Oct 2020 18:17:40 -0400 Received: from localhost (unknown [122.171.163.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 301EB2224A; Wed, 28 Oct 2020 05:33:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603863183; bh=Q5PR0wLT1H2AcknQT63o0IF3Mnaw82WXKZ0oGBO+vRU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tRWz1CXgaqh+JnC0I8GTAB1SYcrMszwibufzqfCVGUF9fYP4X/NyhfxbjDooZx3Af 6jHFnhXJAcJ7fp/AIqPqrVuPfnG/ZK8fWJGwVKAUfoAnTawD8ZBcch81gHTYh7EDFJ Kv5HzOeCEMP2ETwZnznT9fhgu+N7lV7FGuafz4Bc= Date: Wed, 28 Oct 2020 11:02:58 +0530 From: Vinod Koul To: Dave Jiang Cc: dmaengine@vger.kernel.org Subject: Re: [PATCH] dmaengine: idxd: fix wq config registers offset programming Message-ID: <20201028053258.GF3550@vkoul-mobl> References: <160383444959.48058.14249265538404901781.stgit@djiang5-desk3.ch.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <160383444959.48058.14249265538404901781.stgit@djiang5-desk3.ch.intel.com> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 27-10-20, 14:34, Dave Jiang wrote: > DSA spec v1.1 [1] updated to include a stride size register for WQ > configuration that will specify how much space is reserved for the WQ > configuration register set. This change is expected to be in the final > gen1 DSA hardware. Fix the driver to use WQCFG_OFFSET() for all WQ > offset calculation and fixup WQCFG_OFFSET() to use the new calculated > wq size. Applied, thanks -- ~Vinod