Message ID | 20190128181047.20781-20-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 597d6bb3e8a93c4c0670df93f07c321ae84d2930 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3754740jaa; Mon, 28 Jan 2019 10:40:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN4LsiK1gNjPRlnICzi9Kty/p+ImK8mM1o/CpCDDjw5bMEgGoSG1zs5N9pVoybqCQ8fKDTlv X-Received: by 2002:adf:b6a1:: with SMTP id j33mr22803713wre.55.1548700811041; Mon, 28 Jan 2019 10:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548700811; cv=none; d=google.com; s=arc-20160816; b=RVuR+IF3GjBO6XWWWmxDoqgwrY+6QsCQ8fb0RNdCw0CAMWj98nnCPN5AWICevLWWgS oQqUDQ9l1xLQ2aV5tYeTfDr7ncWyTtXWaf7WVCHKZwwcE/BhoiDsdHqiwz1YURFWOhBz vaqYYnZbV8eZ7KbVWrSSNU57Apf6GPTgvenCk/2Ir70Tv8JVKu3j02+8VyclqLKQsh1+ yajrni3kqMb4mh6RU8CXjZS8L0YX61OZlDLP+SS8D2dTQzhYSDqZ7gBwHVAXKyjsoJHg MkdZ7VGjyCI/oFN3X2P/bKyFCExDHmw3m/3pDwWmmb1SWWpbAeBc137o1GbDHKGoqDO4 P4VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=GCnlMeweuIJvpl2JL6nATLlnfPOZB2vDzvUEhxD4dTw=; b=WvUSwN+jlnDZQu58eiFFkf28JWemtQQa6mc53/qMr1ahz2dxJzRFn0QFDSWO70xwYv vS3xMNkRCnP4wlx6wi+hdQUc9jrMDuXUdF6pbJ2xAdWHV43uf/J25tg0xClY7O5LxRmZ BvqDM70YAgg8NTF7bc/+jI4jEpbIYQqQvrwtLcysTzlaWva05jaS+1NiwmI6LIOsMIFb 8YEJJmLoy4/FxRnpK9nWqM5Xo8f6SdmychhgWzX2Jzkvv90pFwbtw9CYkqB4y4zGYazU gaoz51P3m8JTSFaLshUsObq8mQW3yAt6VnI/SiuvpIrVmUSaNg+z23D+qoUDpcNknavH +9jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F2j9aIP3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k2si6870529wro.76.2019.01.28.10.40.10 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 28 Jan 2019 10:40:11 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F2j9aIP3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:36770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1goBpK-0000Cy-0q for patch@linaro.org; Mon, 28 Jan 2019 13:40:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1goBNd-00039T-Pb for qemu-devel@nongnu.org; Mon, 28 Jan 2019 13:11:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1goBNc-0000YX-LW for qemu-devel@nongnu.org; Mon, 28 Jan 2019 13:11:33 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:35836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1goBNc-0000Ih-Cr for qemu-devel@nongnu.org; Mon, 28 Jan 2019 13:11:32 -0500 Received: by mail-wr1-x431.google.com with SMTP id 96so19193366wrb.2 for <qemu-devel@nongnu.org>; Mon, 28 Jan 2019 10:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=GCnlMeweuIJvpl2JL6nATLlnfPOZB2vDzvUEhxD4dTw=; b=F2j9aIP3/l65PlSZl7Fav1WnStv/v+Zp/pQHvC7YxqNvbcpZChz2DIBUrIN2AIOjeZ o65oZ3KCMYhu9TxqQnJ2LF0sbmX1mvlUXxyMq4fD/1CoJuXzSMM7JkCEfAjGrVUsoyQu pMODrAqGqCZEmZ5IVFQO47zyFpuMBvk9htS1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GCnlMeweuIJvpl2JL6nATLlnfPOZB2vDzvUEhxD4dTw=; b=ZavxFHBBVSjpHeQTcerCdBmXUBvfBuE1iBmnjwMDr3dt7ZJTYQDFzqo2j+8wA8uNPx hoeBwj/FCuy7S9SrMOgjJYSeTogHTlT3M6V4qwSx3WD14SSmHKR3cfFk6UT51e5WEyki ux/bVg4qlkvTc0N7BIUzUOdBWC4WtMHq3PxvpSYTcJbtF/rhIMevbduG3eMzIQzAyvFX V/cuf+XonFAByjF3wQBBtTzselkAubDM7WZmWTgpbjlAergBoyvFq/3qMmBdptjRt9FQ EuunAd1hcd0nOljQP7VUsNzSby7PSHxR3wGSIka4YRlWn0x9xLzGn0dqAfUUeEttZREA m8OA== X-Gm-Message-State: AJcUukeF6PgT+We3Kd5Ya3piYPN8JPIzbKa3Ii8TaDTayEEIrh1s2fuL CSl39L4/ITYSY8LL79mmi0YxUy/cEnSG5g== X-Received: by 2002:a5d:548d:: with SMTP id h13mr21663809wrv.80.1548699073769; Mon, 28 Jan 2019 10:11:13 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id b18sm97910681wrw.83.2019.01.28.10.11.12 for <qemu-devel@nongnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jan 2019 10:11:13 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Date: Mon, 28 Jan 2019 18:10:40 +0000 Message-Id: <20190128181047.20781-20-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190128181047.20781-1-peter.maydell@linaro.org> References: <20190128181047.20781-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 Subject: [Qemu-devel] [PULL 19/26] aspeed/smc: define registers for all possible CS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target-arm queue
|
expand
|
diff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c index 7af808c33c5..6045ca11b96 100644 --- a/hw/ssi/aspeed_smc.c +++ b/hw/ssi/aspeed_smc.c @@ -665,7 +665,7 @@ static uint64_t aspeed_smc_read(void *opaque, hwaddr addr, unsigned int size) addr == s->r_ce_ctrl || addr == R_INTR_CTRL || (addr >= R_SEG_ADDR0 && addr < R_SEG_ADDR0 + s->ctrl->max_slaves) || - (addr >= s->r_ctrl0 && addr < s->r_ctrl0 + s->num_cs)) { + (addr >= s->r_ctrl0 && addr < s->r_ctrl0 + s->ctrl->max_slaves)) { return s->regs[addr]; } else { qemu_log_mask(LOG_UNIMP, "%s: not implemented: 0x%" HWADDR_PRIx "\n",