Received: by 10.213.65.68 with SMTP id h4csp812803imn; Sun, 18 Mar 2018 03:25:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELslCyuzAfCUjOnywx644rzzhILi1tetPWYDmvIye9WCPzydzvJtgCqqzl9oYJUkPi7EptOi X-Received: by 10.101.92.138 with SMTP id a10mr6246715pgt.129.1521368733560; Sun, 18 Mar 2018 03:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521368733; cv=none; d=google.com; s=arc-20160816; b=KJHvMxmE+3/y/QuF4UUF2Qi3t9cqOsJ0SiaXS6TvVN3U6DwF5qDKKu269fO9HDtPLl GLWBYR9engddUhjDXcd+KSMdFj+zvQttL3yw35+caJFCyyrYQxmcjKoPKw3EsEAiCZp8 tw82zQ+lGBk1eOtjSHz8GwfN/lRmD2mBhvKO0A9gulF26cyjf2/QMk7tls3e1kZHvOFt 7D8ynmm9TQAdWCvxCXvpwB+p155RA32SRT7Ni6OwCrG5yv4wady1+qfbxJChUJcnsHZf rFXnchY+0twyvIuZ7u/hJEfOyEvHNQRVLMkLcFrgAmZh0KXcLTkaKz6XtfeYxXI2uDS3 OAyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PVTmYehXAkjWmardpTglOO8shsrZzOwPUVRuwJuoTHk=; b=uLMAhxDnIsBtjH/iRC9Mf+NHQ9y5DWEWtXcbv13kfYIub29L47GfNGR7jYi3RGHNFa yBDtPTaiDKELiGgsFWGlkbHwSNdcWSoAZjXWsG6dYFzUwwQByZ6+uFCrkXHsRFdtZLSt bLU5g27juTH7k5wW8eUku6SkIzFlSAnrREYWG5/MxLVjjxd0fnAKQf08a4haKTXK/pv8 RikmFYAJQ8yq8mqRJ/f9dUNlREf3BKy8YE98nKS6iX7r8PorXmI3ngQL81FH5f6vqT6k F4rV5PwBCtr4ZK/12pxfewlJCCkNDSi1ay4tDcPbj6VW3cm7Q4wkrzzNOqFetVVM8SFR LH0g== 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 i4si7970661pgr.266.2018.03.18.03.25.19; Sun, 18 Mar 2018 03:25:33 -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 S1753722AbeCRKYT (ORCPT + 99 others); Sun, 18 Mar 2018 06:24:19 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40902 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423AbeCRKYS (ORCPT ); Sun, 18 Mar 2018 06:24:18 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5AF9312E1; Sun, 18 Mar 2018 10:24:17 +0000 (UTC) Date: Sun, 18 Mar 2018 11:24:17 +0100 From: Greg Kroah-Hartman To: Vinod Koul Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Peter Ujfalusi , Eric Anholt , Sasha Levin Subject: Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free Message-ID: <20180318102417.GA30164@kroah.com> References: <20180316152329.844663293@linuxfoundation.org> <20180316152333.462064800@linuxfoundation.org> <20180316184640.rxw6kwvqghsmdgcc@xps> <20180317143253.GI15443@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180317143253.GI15443@localhost> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 17, 2018 at 08:02:57PM +0530, Vinod Koul wrote: > On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > > > ------------------ > > > > > > From: Peter Ujfalusi > > > > > > > > > [ Upstream commit de92436ac40ffe9933230aa503e24dbb5ede9201 ] > > > > > > To avoid race with vchan_complete, use the race free way to terminate > > > running transfer. > > > > > > Implement the device_synchronize callback to make sure that the terminated > > > descriptor is freed. > > > > > > Signed-off-by: Peter Ujfalusi > > > Acked-by: Eric Anholt > > > Signed-off-by: Vinod Koul > > > Signed-off-by: Sasha Levin > > > Signed-off-by: Greg Kroah-Hartman > > > > 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. greg k-h