Received: by 10.213.65.68 with SMTP id h4csp821025imn; Sun, 18 Mar 2018 03:46:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELuutRUk/gg8JZEQolpJfokjktq/qwOolfBMG5dkr4Q9YNfSvSWfUuVk4kdyaYFZBsGLR4xD X-Received: by 10.98.159.209 with SMTP id v78mr6914330pfk.49.1521369993365; Sun, 18 Mar 2018 03:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521369993; cv=none; d=google.com; s=arc-20160816; b=0eIGJPF+HWBQdeish7YIsQJ5gEww3A6cas1SXWAcQWnvFUa0ALqKrGvJUtwlovrZNO 2Je3DpXXeWwTqnG683Hc2/Z3Q/vEZ1h70png6DlaOTXprk4uIzwtZvhUCUnZ7cNT6RT4 Wt47+2SgrdL4nG9mexzmf+5x2fojnGaNxuUp5uLugUPd4YAP5Huewgjpc/8cooP5k2EX Ye6hniu2JwbIea5V7ZKuuMXGAHQ1r8AFxlCYVjXcbJUgZSIGK0uC1mtAS7Xk071CR2kT hWwSMbNLhYiMJstcCqXcisL5eViNdy7DfO9zMxkMfe0sc1Efc1X688TpOeju4/pdoWUc xfNw== 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=Lw7Nyx29wA7L7I49DBhKgEQB1PO/i2UiEDEq6XxESMI=; b=fG5fAzAgUIGlZEjv3NtZ0rk0D2S8CD3HUOmZAhyMpxz2GQr7mBCaDB57Om/RHmEERO jN3QIRxPFGONNlu8CTcY+A6bLFAcVArdyOoa3jagIQm99xB9sJTUM4DgziitDNl6D+JC V7J4h7uM29Sky0pc4iGhqzB5ds4Pqg0XufRApyoHc7ukUnWWN4mY12biGsLuRHCW3MbN /mE63T4tzP+De6oruYD6eO07oZpwX8XYhFbyGHxR8LCiEIhDjJ00i80+0HVr8zE95lp8 VzHF4AbTqBkVJdC80XiXdmLIXohVJpL4ZI6t2EQKX1nqUW3EC53t4xw4OMdfvbL4fBA3 p2LQ== 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 q9-v6si10113933plr.21.2018.03.18.03.46.19; Sun, 18 Mar 2018 03:46: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 S1754008AbeCRKoz (ORCPT + 99 others); Sun, 18 Mar 2018 06:44:55 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48224 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753910AbeCRKow (ORCPT ); Sun, 18 Mar 2018 06:44:52 -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 3341A160A; Sun, 18 Mar 2018 10:44:52 +0000 (UTC) Date: Sun, 18 Mar 2018 11:44:51 +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: <20180318104451.GA19721@kroah.com> References: <20180316152329.844663293@linuxfoundation.org> <20180316152333.462064800@linuxfoundation.org> <20180316184640.rxw6kwvqghsmdgcc@xps> <20180317143253.GI15443@localhost> <20180318102417.GA30164@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180318102417.GA30164@kroah.com> 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 Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > 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. 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? thanks, greg k-h