Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1625867ybl; Wed, 8 Jan 2020 21:58:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwcPr+hB6t89wVgQnAI13doW2TcsJG/L6ch+4P8KirNtbAkWpNvH1PKtjhrzjdaeWrVPnjH X-Received: by 2002:a9d:6301:: with SMTP id q1mr6897913otk.70.1578549537136; Wed, 08 Jan 2020 21:58:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578549537; cv=none; d=google.com; s=arc-20160816; b=GvupLmvzboQ4WbSwZUTte5hnf2U02XOXkre9VBLZ/r255xsulHrE9RAiJqQw/pZMcl 9cnl+z3Uvn2mwcgaZwOuPe+9pK8PSA+QrMQ4AfCUBaXJRtDb0N50M6I15pxGEyaKn3lo ZL0JQItvhxgBfvNFFa3pl24zwv6zPA0VSbC27kP3ccULA7nRB4xe67Ms943CsdXT4au7 xRwWxu7u1Cguse9UCY4SQurjzKVHDXYrMg9iW8O88KpcY1Wz91rVjXQJhfvUkOpdKl3D JeWu9/l8085b41nf39jJyTiWgqeOXaqcQjsb3OOdvxHZwyGwz0M7lRpsNwrbNGdHgNH9 k8cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=EsMKsMKI6HhF0F0RtD4RD5a7b8gvE2C1Qv6MEtScRc0=; b=aM8A93rwYTmVCC5dLG/y+rmsIrzZdnLhdk5nbyHseCbGYVx+9qCM2dSHqvgrfHfpFJ s1kBnaErZc9jURYg0ICn2NDUZqB9COdV7KaU87VxtPc64fgE+VI1jTWKCcgyV42Cal/b /x6JEELiPf8edIkCu6f3HwGLGVtUnJap28+Sq6uIcYQqyOEDgUhO3GUxFhY7ONyOOENI 74hrVOI4g4qcYAKbEZeilI/p7pfv+yesTurf5J3eXTD3UXgoz4YcrYIKmTQvqrNDPSis uat1QpLlZt5nIStFmWhONFgxBkLT8TzsAx4zfxp4u/M3JBPAzFsUynUcbMk855BTKs6J eLVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=EYJ8qXOp; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Xs3rnUen; 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 17si3071187oix.22.2020.01.08.21.58.44; Wed, 08 Jan 2020 21:58:57 -0800 (PST) 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=@aj.id.au header.s=fm1 header.b=EYJ8qXOp; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Xs3rnUen; 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 S1727854AbgAIF6B (ORCPT + 99 others); Thu, 9 Jan 2020 00:58:01 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48037 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgAIF6B (ORCPT ); Thu, 9 Jan 2020 00:58:01 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E833321F18; Thu, 9 Jan 2020 00:57:59 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute4.internal (MEProxy); Thu, 09 Jan 2020 00:57:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=EsMKsMKI6HhF0F0RtD4RD5a7b8gvE2C 1Qv6MEtScRc0=; b=EYJ8qXOpV4/5J8MYiMmaa8eIayd6/H1HHxWVnf/tlbBRNto fm3Q4Fh9cgfTPSjK9rNLBrbApDVyxe12FJ6FoZMKKIfI/o35oYFzeLu6sT3doOGF rcFXwT1B87faUViSKpFIk5dp7w9b6b1ZbDQ4lcHqWbsPGsGFCNIi50of4Bw6cWKU ekZNyPTwr+pi3KXXZta4A2ce3LNLVAaV0OFbWJcyw2t1UHsHCXy3s2gDwynYWvRX khyCdm6jNGvzlO5JxDtVtSxAqmv3uvntP1ADUTyt4LTp4CGPiTFl2pqOWJz6EZGB mR5+2YEur68wjgp6AuSFr0OGMqhiZkdVDAWLygQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=EsMKsM KI6HhF0F0RtD4RD5a7b8gvE2C1Qv6MEtScRc0=; b=Xs3rnUenGEIz7PHXDH/03Y bensMd8MOXuP70PFSP5rGOVCtoYjI+24kyTIhCofx5Aqx37f1gC8jDgU15/oRQUd LdgzprFRmP6YgEaSB6lLnuNbfNW3pO09P62Hu6WmhW9NKc/2G8ZMhDDh4NcyD/kc x/+D9ZQL1v3ELOxcigJB7vzlM8ZdqvIWhKBpyhdUa+QF/ftdqx4EOa1zwJm00Q42 rnYIihXXh7Brqo2zg998zDTNBBSQRzqkqmKrzKUPyx0xfIhNmeVai8XZihgMrY0F ZPtGCB8EsSjwlYlgGNE3ykKDD1Hf0eQZ7hORs5R/cBp4zp/GOxtnCeIiucAwzsDw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdehledgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecurfgrrh grmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghjrdhiugdrrghunecuvehluhhsthgv rhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id BD6ACE00A2; Thu, 9 Jan 2020 00:57:58 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-740-g7d9d84e-fmstable-20200109v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <1577993276-2184-9-git-send-email-eajames@linux.ibm.com> References: <1577993276-2184-1-git-send-email-eajames@linux.ibm.com> <1577993276-2184-9-git-send-email-eajames@linux.ibm.com> Date: Thu, 09 Jan 2020 16:29:57 +1030 From: "Andrew Jeffery" To: "Eddie James" , linux-aspeed@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, "Jason Cooper" , "Marc Zyngier" , "Rob Herring" , tglx@linutronix.de, "Joel Stanley" Subject: Re: [PATCH v4 08/12] soc: aspeed: xdma: Add reset ioctl Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Jan 2020, at 05:57, Eddie James wrote: > Users of the XDMA engine need a way to reset it if something goes wrong. > Problems on the host side, or user error, such as incorrect host > address, may result in the DMA operation never completing and no way to > determine what went wrong. Therefore, add an ioctl to reset the engine > so that users can recover in this situation. > > Signed-off-by: Eddie James Acked-by: Andrew Jeffery