Message ID | 20200218193929.11404-8-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 6e4ed42397ff24521c1e6fb810d66fc40b190f4f |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp6489120ile; Tue, 18 Feb 2020 11:43:33 -0800 (PST) X-Google-Smtp-Source: APXvYqx5SnOjjJkibRZ+nKcGLDllR3HcMCVO4E6ApYv2flJYKZPoSZvtQOepbqogloB5A9dEN5H8 X-Received: by 2002:ac8:83d:: with SMTP id u58mr18487068qth.60.1582055013535; Tue, 18 Feb 2020 11:43:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582055013; cv=none; d=google.com; s=arc-20160816; b=nyUY6QsEumGKDdaBi0txkPNjLnYWGVqgzfzqXPZpqoRN5XSDk4KdYSkXvB/RzteT7a GFZGho71cC7a125WKX8FndMotb08k4DEmmzB0iESdewcS54QDyJMlXXZoJRhuxRR2ztZ MuV9ZepST14iIk73U1EYlRy5SO4Y8l/EP8GNIAROkEy6/yVPB4I93cl4ye4ba56zZ+CQ vZl7eDmAu3UnzwrdJw8hrPDLNsr5Ai8fTKFT/MMscHv5HHSZwtd2ByLxyKkbcz5417EI +dMTGlLD/csbE4dLqAd/ouPLBfSwR8fekxrZJBq+sBS5WYnPRKPEVzC7NE1XRmjPOCgR tJOA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=1tElKPiRfZ14QGmD+h4hKk0xES24fZ4k3wRcrxxOi0E=; b=rfhO5Xo5wIaqAJi24aS0VnbQdeCuJwqHiGAJsARsHAf5Nrxo6yknM7t+2wawGlAk1n tMxo4vripv0mUneTN7ZTwdHWpRAdVp28bVrMaqPOotE2TmActS32CnO/O9nS7iZDUgl2 03T7tGhv/niUqh54YulyIGk2TtWgD3zKMdE4PujnIS0tD+rFU4giDz/rzMFQUUaGdEgF fbu6qFKOFDSW+mnYChAyW5IWkfszA+Cbra6d/DVkgjM+SWWqKWPunnW+neTUqgkmmVzo vfCON3x7JQo+/NWeIjXROlTGOmsFWsZ/SfjVWD+C6NDs8dL9HGGEee4cHVq7lOfUc8Fm Lidw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qnjieUOz; 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 u39si2212173qth.337.2020.02.18.11.43.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Feb 2020 11:43:33 -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=qnjieUOz; 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 ([::1]:41128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1j48mL-0001Yl-1h for patch@linaro.org; Tue, 18 Feb 2020 14:43:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55322) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1j48ie-0003nQ-Cd for qemu-devel@nongnu.org; Tue, 18 Feb 2020 14:39:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1j48ic-0004Te-LU for qemu-devel@nongnu.org; Tue, 18 Feb 2020 14:39:44 -0500 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:50809) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1j48ic-0004SE-Cx for qemu-devel@nongnu.org; Tue, 18 Feb 2020 14:39:42 -0500 Received: by mail-pj1-x1042.google.com with SMTP id r67so1478948pjb.0 for <qemu-devel@nongnu.org>; Tue, 18 Feb 2020 11:39:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1tElKPiRfZ14QGmD+h4hKk0xES24fZ4k3wRcrxxOi0E=; b=qnjieUOzxuvQ5Qpyhwj7NRW+7/uxkrjBChajfKII0yTgGom+d3yDh06y47nfg7qxLq lZ9ueKylZl+5ad494qiPFSavkZObmJ5oxm+Iaigo9/oqDUPuZMXyNnVLyaZW8XCTXHXU yFiZSh6IYqkla1/qZRB1iZQkwFCzzdNL3wAeGzTY3ngvIRMnn+FxVw+jQlfroAJ5LJwh lUcxEPWNDbfBS58Tuqvc+0AnmO4hN6jXnr4Pag+YcCiz7Tl7xmLHahjKRAnfOyBPWo0o YnlfrxRuMucXwF9hy/HyHDG31d0+/PzPoL0et7PaEREWTsppyYckONsDcWFhDVtM1qfc 0feA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1tElKPiRfZ14QGmD+h4hKk0xES24fZ4k3wRcrxxOi0E=; b=G8bkk2DU7TMkK76iMhmMdw7Jc4EuVGGe1ikS2KHZOw0jkFb2mM7y5zhu3hOMF1fsim cdr3TY0V0wqok1elaVHP0ia/1gRHQx0DFMwfkZERxvbnnWWqN+KjoRCNkJpeEsB3OD1l mkFBE5JLjqRKoUQWbzqmlZDfNJtue8OX3BqCNdUt0nYUopuHtNNYFq+x/+YJWd0ySn5o BwTfjQ6lD42tCP4hTSaab3sk9Ta+hROjePE9z0S/CY0l94/vEH/hOouAFf2LLS3iuOMz 3HKss/Ry6j6J8Ggo9o6AAddsDdpMIk7fgyBYosCrI2TyFOXQQuDfQQVzAG14+ngjnZVT O/ig== X-Gm-Message-State: APjAAAVKsfkD2L7a5PkAkP8wU37VhbjU+fyroVpE+KgPUaqcsS8sUl6g gOhCQ8y02JMlViYh8VFwPWCrXuDuvbk= X-Received: by 2002:a17:90a:c084:: with SMTP id o4mr4379091pjs.35.1582054780800; Tue, 18 Feb 2020 11:39:40 -0800 (PST) Received: from localhost.localdomain (97-126-123-70.tukw.qwest.net. [97.126.123.70]) by smtp.gmail.com with ESMTPSA id y15sm424395pgj.78.2020.02.18.11.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 11:39:40 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 7/9] hw/hppa/dino: Fix reg800_keep_bits overrun (CID 1419387 1419393 1419394) Date: Tue, 18 Feb 2020 11:39:27 -0800 Message-Id: <20200218193929.11404-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200218193929.11404-1-richard.henderson@linaro.org> References: <20200218193929.11404-1-richard.henderson@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: 2607:f8b0:4864:20::1042 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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: <https://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> Cc: peter.maydell@linaro.org, Helge Deller <deller@gmx.de>, =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/hppa patch queue
|
expand
|
diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c index c237ad3b1b..8868e31793 100644 --- a/hw/hppa/dino.c +++ b/hw/hppa/dino.c @@ -83,7 +83,7 @@ #define DINO_PCI_HOST_BRIDGE(obj) \ OBJECT_CHECK(DinoState, (obj), TYPE_DINO_PCI_HOST_BRIDGE) -#define DINO800_REGS ((DINO_TLTIM - DINO_GMASK) / 4) +#define DINO800_REGS (1 + (DINO_TLTIM - DINO_GMASK) / 4) static const uint32_t reg800_keep_bits[DINO800_REGS] = { MAKE_64BIT_MASK(0, 1), /* GMASK */ MAKE_64BIT_MASK(0, 7), /* PAMR */ @@ -96,6 +96,7 @@ static const uint32_t reg800_keep_bits[DINO800_REGS] = { MAKE_64BIT_MASK(0, 30), /* BRDG_FEAT */ MAKE_64BIT_MASK(0, 25), /* PCIROR */ MAKE_64BIT_MASK(0, 22), /* PCIWOR */ + MAKE_64BIT_MASK(0, 32), /* Undocumented */ MAKE_64BIT_MASK(0, 9), /* TLTIM */ };