From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83D52FA3728 for ; Wed, 16 Oct 2019 20:18:49 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5B2B8207FF for ; Wed, 16 Oct 2019 20:18:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B2B8207FF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:47826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKpku-0002nv-6A for qemu-devel@archiver.kernel.org; Wed, 16 Oct 2019 16:18:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58674) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKoaW-0003BA-SS for qemu-devel@nongnu.org; Wed, 16 Oct 2019 15:04:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKoaV-0007qF-Tj for qemu-devel@nongnu.org; Wed, 16 Oct 2019 15:04:00 -0400 Received: from mga02.intel.com ([134.134.136.20]:51555) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iKoaV-0007n8-M4; Wed, 16 Oct 2019 15:03:59 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2019 12:03:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,304,1566889200"; d="scan'208";a="186243322" Received: from yoojae-mobl1.amr.corp.intel.com (HELO [10.7.153.143]) ([10.7.153.143]) by orsmga007.jf.intel.com with ESMTP; 16 Oct 2019 12:03:58 -0700 Subject: Re: [PATCH 4/5] aspeed/i2c: Add support for DMA transfers To: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= , Peter Maydell References: <20191016085035.12136-1-clg@kaod.org> <20191016085035.12136-5-clg@kaod.org> From: Jae Hyun Yoo Message-ID: <5ab94f78-9b67-8d70-9cca-0bdf8961aa2f@linux.intel.com> Date: Wed, 16 Oct 2019 12:03:58 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191016085035.12136-5-clg@kaod.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 134.134.136.20 X-Mailman-Approved-At: Wed, 16 Oct 2019 16:16:12 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , Eddie James , qemu-arm@nongnu.org, Joel Stanley , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 10/16/2019 1:50 AM, Cédric Le Goater wrote: > The I2C controller of the Aspeed AST2500 and AST2600 SoCs supports DMA > transfers to and from DRAM. > > A pair of registers defines the buffer address and the length of the > DMA transfer. The address should be aligned on 4 bytes and the maximum > length should not exceed 4K. The receive or transmit DMA transfer can > then be initiated with specific bits in the Command/Status register of > the controller. > > Signed-off-by: Cédric Le Goater Tested-by: Jae Hyun Yoo