From patchwork Thu Oct 12 14:17:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10002121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 69C546028A for ; Thu, 12 Oct 2017 14:14:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B91328DEA for ; Thu, 12 Oct 2017 14:14:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5018728DED; Thu, 12 Oct 2017 14:14:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D630528DEA for ; Thu, 12 Oct 2017 14:14:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752158AbdJLOOK (ORCPT ); Thu, 12 Oct 2017 10:14:10 -0400 Received: from mga03.intel.com ([134.134.136.65]:43626 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751964AbdJLOOK (ORCPT ); Thu, 12 Oct 2017 10:14:10 -0400 Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Oct 2017 07:13:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,366,1503385200"; d="scan'208";a="137813809" Received: from vkoul-udesk7.iind.intel.com ([10.223.84.143]) by orsmga004.jf.intel.com with ESMTP; 12 Oct 2017 07:13:38 -0700 From: Vinod Koul To: dmaengine@vger.kernel.org Cc: stefan.bruens@rwth-aachen.de, Vinod Koul Subject: [PATCH] dmaengine: update dma_slave_caps src/dstn_addr_widths size Date: Thu, 12 Oct 2017 19:47:45 +0530 Message-Id: <1507817865-30323-1-git-send-email-vinod.koul@intel.com> X-Mailer: git-send-email 2.7.4 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The src/dstn_addr_widths in dma_slave_caps are 32bits which doesn't allow us to describe widths of larger size as src/dstn_addr_widths are expressed as BIT(). So extend the size of this to 64bits. Signed-off-by: Vinod Koul --- include/linux/dmaengine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 8319101170fc..6803614dbf7c 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -420,8 +420,8 @@ enum dma_residue_granularity { * resubmitted multiple times */ struct dma_slave_caps { - u32 src_addr_widths; - u32 dst_addr_widths; + u64 src_addr_widths; + u64 dst_addr_widths; u32 directions; u32 max_burst; bool cmd_pause;