Received: by 10.213.65.68 with SMTP id h4csp1319712imn; Mon, 19 Mar 2018 00:16:58 -0700 (PDT) X-Google-Smtp-Source: AG47ELsgsXD5f9Yl6QeHeuCV5/BTbhgPT4mB2OLJ1bPbyN7NRBsrvW9zyoSoC+Jk902v+IKh2eb2 X-Received: by 2002:a17:902:5716:: with SMTP id k22-v6mr11281810pli.229.1521443818021; Mon, 19 Mar 2018 00:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521443817; cv=none; d=google.com; s=arc-20160816; b=Z9eq0pH6ZbxmQeJy3TZQGgu7Z5X8KqlvcyamUiC8QLqk3KMh62ffNq/LeUEpzClA41 hQtAnti3DSOUYsblQSWOkeYKdBe8gglgNduY6iCtcAaTTYESkpQKm0XBGwCs9gcZ1kdy ruMWtHO6f77wL9IQBnOSpBlhRSVE86LB44uEG2x0Q9lr25XJEsbPsT4f5UghgdswLOwO IFQ2R73l4WMKeJT1IngO7gjFeTFCo0TP6jhyI+0o+l4G3LrcYr0PSgKXPXyWumn8xR9N 1KdvMBuwRwaAemTEpG8W6ORluYKU3YsuDN3Kzn0YIvZw1/UBbthWHcKKKCXDYkQEOWsm XMrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=QPyPBJOjLQRh4+GV1uKYUs2nYla3S02/PCgfH8F0dJ0=; b=xV9F0C1rKBH3ZU0m+xmUdpv7OKEpsvwZj1XulJg3LIeaWXbgtVsugpp44lSbKrGmah lxfxapzu6kv1JxPU6bBtj5KDrAtwz+6mZ5m5fdq5H4XdlNo/WcJCjKoWvfreBRC2vUAM cVJIJyBPzfMIhHVTKN7iMoWmOKk4veH3NafYRjeQpm4CmqdWAQDLRGixlgVrC8h/D3vm YcaFdSPWH6VCFJCVcCBcnHYTadtRaq+Tlcynt4UlByC/Bm9iQgvChWaf3k7tv/yCBCdS yzjzNheESoXthi65Swt/Z0m2p83R/64ojF8ZCkd0vK4Cl7i9UO34bDOlozn4EmaQogwj AEZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZqO04mgy; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 26si10041485pfl.261.2018.03.19.00.16.43; Mon, 19 Mar 2018 00:16:57 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZqO04mgy; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932212AbeCSHOE (ORCPT + 99 others); Mon, 19 Mar 2018 03:14:04 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:22264 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755164AbeCSHOA (ORCPT ); Mon, 19 Mar 2018 03:14:00 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2J7Dtsd008629; Mon, 19 Mar 2018 02:13:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1521443635; bh=bi+LxNOvNPsgGAr3IAeZfhV41SxpUgm4yFauQQhhcmA=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ZqO04mgyURJpKtRb1UjK617h/RYfT6nAl1gLBfvtV1Ou/WvDyywmJLnRcGO+dA0CD nHctEXwfVtFyIdgu1ILjmKEIWGcRMboHrCqqGCiXTubHa0GVZQoEX7PdeodANZ+iWN fzbrTXCz+rVkvgg+mMWgX+DJUqxAdlHnyaowN6Ww= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2J7Dsvd017304; Mon, 19 Mar 2018 02:13:54 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 19 Mar 2018 02:13:54 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Mon, 19 Mar 2018 02:13:54 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2J7DqCV025254; Mon, 19 Mar 2018 02:13:53 -0500 Subject: Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free To: Vinod Koul , Greg Kroah-Hartman CC: , , Eric Anholt , Sasha Levin References: <20180316152329.844663293@linuxfoundation.org> <20180316152333.462064800@linuxfoundation.org> <20180316184640.rxw6kwvqghsmdgcc@xps> <20180317143253.GI15443@localhost> <20180318102417.GA30164@kroah.com> <20180318104451.GA19721@kroah.com> <20180319030840.GJ15443@localhost> From: Peter Ujfalusi Message-ID: Date: Mon, 19 Mar 2018 09:14:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180319030840.GJ15443@localhost> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-03-19 05:08, Vinod Koul wrote: > On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: >> On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: >>>>> This patch is causing a build error on arm and arm64 per i.e. >>>>> https://kernelci.org/build/id/5aac017e59b5141cb1b3a4d5/ >>>>> >>>>> Builds are also failing for arm/arm64 on 4.15 and this patch seems to be a >>>>> problem there as well, but I have not verified it yet. >>>> >>>> I think we are missing commit 1c7f072d94e8. Pls cherrypick that as well >>>> >>>> commit 1c7f072d94e8b697fd9b70cdb268622a18faf522 >>>> Author: Peter Ujfalusi >>>> Date: Tue Nov 14 16:32:04 2017 +0200 >>>> >>>> dmaengine: virt-dma: Support for race free transfer termination >>>> >>>> This adds vchan_terminate_vdesc API.. >>> >>> Thanks, that helped. I've now added this and send out a -rc2 for this >>> kernel. >> >> Oops, no, that broke the build for all arches :( >> >> Let me just go drop this patch, and the two dmaengine patches that >> relied on this one. If you think these should be applied to the stable >> trees, can you send me a series of working patches? > > Okay let me grab your tree and cherry-pick all that is required and send > you. Stay tuned... I think these are the patches that need to be picked for this to work/compile: 2c6929d2ea70 dmaengine: s3c24xx-dma: Use vchan_terminate_vdesc() instead of desc_free 3ee7e42f3c9b dmaengine: k3dma: Use vchan_terminate_vdesc() instead of desc_free 397c59bce6cb dmaengine: img-mdc-dma: Use vchan_terminate_vdesc() instead of desc_free 47d71bc75d07 dmaengine: amba-pl08x: Use vchan_terminate_vdesc() instead of desc_free f0dd52c85d61 dmaengine: dma-jz4780: Use vchan_terminate_vdesc() instead of desc_free de92436ac40f dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free 174334bcd9f8 dmaengine: edma: Use vchan_terminate_vdesc() instead of desc_free b1faf0f564ff dmaengine: omap-dma: Use vchan_terminate_vdesc() instead of desc_free 1c7f072d94e8 dmaengine: virt-dma: Support for race free transfer termination 6af149d2b142 dmaengine: virt-dma: Add helper to free/reuse a descriptor Most probably we missed the 6af149d2b142 and that caused the build failures. - Péter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki