Received: by 10.192.165.156 with SMTP id m28csp733086imm; Fri, 13 Apr 2018 06:59:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx49vEUnt3yYB9i742FXY0cPhe94bqYSnIyn0q4sQJA2atUZMJDnr9Qmovb45NUMH1EOvOlDZ X-Received: by 2002:a17:902:b707:: with SMTP id d7-v6mr5372070pls.188.1523627982145; Fri, 13 Apr 2018 06:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523627982; cv=none; d=google.com; s=arc-20160816; b=c9/ip5LFPQTY7t6WK2sw7r1zvEAy8XfmmxDxzBajCXCcKFwn8i+KZtPVFfbgcMGfHO sc/Vrvhr2SNF58QgguegOUAlPXtxx+JtuQBtBzGgbRXEVGc6WgnI9VZodjJZM4YtxcqM fWVsxHAvbkaC/uZMVhSbwJj15Xt+QYTpgemId54fD7biTCrsfC25P2KyyvEQt6i+7zNw OXoZxpAWrJ1WSC8z/xV7xWEpOKEtSxXqdhqS7mvps+Fe2zBveVyvfx9qeezEeTJJtoNY ZplxMjg842tB/Qm1HQhK4Ty645QqjE33iHeSNqLwehGp8ZOWBYEFWToUYrBsxbiMvszg 4rFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=2E74oF1RB0my22kT5vAz37eemuuCXHBLin6EBCxGz6c=; b=yAfEFIJk3Sj9MYfaNZvIH8kGHqefhtbADFWMDremiVW6NNLduJi43PRhOxnt71AyOp Lb3O4TyrJm+dcsqnKoo6fVzoiZsMeeNSbSWkbYSp26qDD2ihzXwzR0UHMsfrlne/eRGo XYlM4MLshQivhdHICWcm5A4nBADR+j3rhAfK6YUUqh7sT7s7h0Ry/XmFlamj+3cy3E9n PL/bUDL2IUdLP5eAcMZAJtzaW4hrkNuawOwPWA96uIVbBvL2CZTwSjPMM8TKZKo+avce jDT6EV20S5sTetstIdYLT3gO7tVbaCcUtvymOVDYDISb4GVnILSgD88E5BBl3BsRGO51 kNvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3-v6si5641399plb.593.2018.04.13.06.59.28; Fri, 13 Apr 2018 06:59:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754356AbeDMNwl (ORCPT + 99 others); Fri, 13 Apr 2018 09:52:41 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:46773 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754267AbeDMNwh (ORCPT ); Fri, 13 Apr 2018 09:52:37 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w3DDmvfo002446; Fri, 13 Apr 2018 15:52:17 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2h9fwr5jtn-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 13 Apr 2018 15:52:17 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3D80D59; Fri, 13 Apr 2018 13:52:17 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 209072A8F; Fri, 13 Apr 2018 13:52:17 +0000 (GMT) Received: from localhost (10.75.127.51) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 13 Apr 2018 15:52:16 +0200 From: Pierre-Yves MORDRET To: Vinod Koul , Maxime Coquelin , Alexandre Torgue , Dan Williams , "M'boumba Cedric Madianga" , , , CC: Pierre-Yves MORDRET Subject: [PATCH v3 0/2] Append some fixes and improvements Date: Fri, 13 Apr 2018 15:52:11 +0200 Message-ID: <1523627533-7184-1-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG4NODE3.st.com (10.75.127.12) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-13_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix an issue with FIFO Size and burst size. Fix an incomplete allocator for Hardware descriptors: memory badly allocated. --- Version history: v1: * Initial v2: * Fix kbuild warning format: /0x%08x/%pad/ v3: * Get rid of while loop in favor of computed values * use of "offsetof" instead of explicit calculation --- Pierre-Yves MORDRET (2): dmaengine: stm32-mdma: align TLEN and buffer length on burst dmaengine: stm32-mdma: Fix incomplete Hw descriptors allocator drivers/dma/stm32-mdma.c | 98 ++++++++++++++++++++++++++++-------------------- 1 file changed, 58 insertions(+), 40 deletions(-) -- 2.7.4