Received: by 2002:adf:c793:0:0:0:0:0 with SMTP id l19csp3487914wrg; Tue, 18 Jun 2019 02:25:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsCXsTEptRvhxkFq86RFF8dhnUoimou5A2W7CRRUmDAVRSgQ2XJ2aWoFubemWS0teg6EVs X-Received: by 2002:a17:906:2a8e:: with SMTP id l14mr11098749eje.276.1560849925713; Tue, 18 Jun 2019 02:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560849925; cv=none; d=google.com; s=arc-20160816; b=ohRYVrBzE+0Dxf7KYJSGLcvu0xEeLGLaC5y4Pf5znGyeqz75fmrWfr1/4okX4S1PcU diVnKQPPevr2C5yHxMJWYIv0n6+4E91wSr3p8ezRH7rXERy2JT33U+5XCbsBbhKTPez6 eNRKezCGqlJDVDz0hKFiYx4D4eexvFPGoijDDtqdtnsVQpJM5syW/V87gvJ+tFOsWnL7 wdVRd2zMJXApOwwkBEOTVPmvffoX8Gz+EQb8g1/aKWjOetT9T5lr/uLSPkXunB7T8ku4 Oxei/woi4MpVyblcrr3OUoQRY3l+TpVRQKwBLz9FeD07KFadvpmO3xkY9ampQBsieTPL m9aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to; bh=/1NBONsne1dpoJOhBvma6/wqhv04WtIVZB6fTlFVXFE=; b=Q2/xr0dVi6uUvgF7VoxPCIf/5oyltpmMm2t8c+Q7HMBMg3IMMpe13owaJJHWgK5NjK Zy9EF6jyzlqnWZWavP2XI1LDS2tXe5EbJRsoQeIH1gBoWwoKLI4iJtJnVJiLGtHl78SI C05zILdCFvAUUjX/2WwRvksGWeYbV0/P3FQM4Q6shfDdkW/uasy2LtgMnv18wvgsjUos 07GHGnjEO1c74gwT3R223vlitsfwmkGle/du6ivyCbSxOavt1ODP4JNt0pFHpRpKIUrS 2LolrXafnOpsifgw0nxgy5YDN5wGETBq8Rl05HVTAXG60mGqw7pQgMRE2aqks9xopDl/ CV7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k14si8588643ejd.222.2019.06.18.02.25.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Jun 2019 02:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:55144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdAMm-0006qd-QO for alex.bennee@linaro.org; Tue, 18 Jun 2019 05:25:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51661) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdAML-0006oH-K2 for qemu-devel@nongnu.org; Tue, 18 Jun 2019 05:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdAMK-0007OP-JE for qemu-devel@nongnu.org; Tue, 18 Jun 2019 05:24:57 -0400 Received: from 19.mo7.mail-out.ovh.net ([178.33.251.118]:56583) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdAMK-0007Kj-Cf for qemu-devel@nongnu.org; Tue, 18 Jun 2019 05:24:56 -0400 Received: from player763.ha.ovh.net (unknown [10.108.35.12]) by mo7.mail-out.ovh.net (Postfix) with ESMTP id F359C1234E0 for ; Tue, 18 Jun 2019 11:24:53 +0200 (CEST) Received: from kaod.org (lfbn-1-10649-41.w90-89.abo.wanadoo.fr [90.89.235.41]) (Authenticated sender: clg@kaod.org) by player763.ha.ovh.net (Postfix) with ESMTPSA id 03A686F662A7; Tue, 18 Jun 2019 09:24:48 +0000 (UTC) To: Rashmica Gupta , qemu-arm@nongnu.org References: <20190618085154.21498-1-rashmica.g@gmail.com> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: Date: Tue, 18 Jun 2019 11:24:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190618085154.21498-1-rashmica.g@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US X-Ovh-Tracer-Id: 12530421540083174355 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiledgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 178.33.251.118 Subject: Re: [Qemu-devel] [PATCH 0/2] Add Aspeed GPIO controller model 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@aj.id.au, qemu-devel@nongnu.org, joel@jms.id.au Errors-To: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-devel" X-TUID: nGPYijGhLxOQ On 18/06/2019 10:51, Rashmica Gupta wrote: > Hi, >=20 > These two patches add a bunch of the functionality of the ast2400 and > ast2500 gpio controllers.=20 >=20 > This is based off upstream/master with two of C=C3=A9dric's patches: > - aspeed: add a per SoC mapping for the interrupt space > - aspeed: add a per SoC mapping for the memory space >=20 >=20 > Any feedback would be great! When you resend, could you please use the comment in aspeed_gpio.c=20 as a commit log ? and add Peter in cc: Thanks, C.=20 > Rashmica Gupta (2): > hw/gpio: Add basic Aspeed GPIO model > aspeed: add a GPIO controller to the SoC >=20 > hw/arm/aspeed_soc.c | 17 + > hw/gpio/Makefile.objs | 1 + > hw/gpio/aspeed_gpio.c | 869 ++++++++++++++++++++++++++++++++++ > include/hw/arm/aspeed_soc.h | 3 + > include/hw/gpio/aspeed_gpio.h | 76 +++ > 5 files changed, 966 insertions(+) > create mode 100644 hw/gpio/aspeed_gpio.c > create mode 100644 include/hw/gpio/aspeed_gpio.h >=20