From nobody Tue Feb 10 15:45:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1574906200; cv=none; d=zohomail.com; s=zohoarc; b=IQ0PgIibGgmrAAWy0q5cUPH8MI4aNRICoujhxMgPOFkvjJNzkDSWdpeOwcSQSsX84WhpZjyvmwwotlSyCKhPyMucN9RnwASEJNNh4FNtkGiasn39WDtKN9nHiFwFRqT6XyeNqwcf2Iom9ki0kN+XxpU0AyxA3Gm9aIno9cScuaA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574906200; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=4v1ufCU3OmUo7Hl9SRgGbYrzRMi0K0vlNG4YbI/LyYw=; b=RpG5zWFjMJKBhKITptQQTryuj+/Ts7F8nTEmMHQ9BU5f1EFdUlzHAxDqA4vPcuFaeNuPrPXSbY2XkM0hcTOTbeuboqqPmGvrZR9chU3sH0DTAEFiXT2kuXNkBhY4LB2o9GMYHq+jH855JM1Rjin71U656VZbY5hr1Eg0sn4I8m4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1574906200150688.746336434167; Wed, 27 Nov 2019 17:56:40 -0800 (PST) Received: from localhost ([::1]:44680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ia92r-0003qN-Lh for importer@patchew.org; Wed, 27 Nov 2019 20:56:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52165) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ia8x7-00060I-9e for qemu-devel@nongnu.org; Wed, 27 Nov 2019 20:50:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ia8x6-0004Fm-BC for qemu-devel@nongnu.org; Wed, 27 Nov 2019 20:50:41 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:44770) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ia8x6-0004Dp-4s for qemu-devel@nongnu.org; Wed, 27 Nov 2019 20:50:40 -0500 Received: by mail-wr1-x442.google.com with SMTP id i12so29015783wrn.11 for ; Wed, 27 Nov 2019 17:50:40 -0800 (PST) Received: from x1w.redhat.com (182.red-88-21-103.staticip.rima-tde.net. [88.21.103.182]) by smtp.gmail.com with ESMTPSA id k16sm8738061wru.0.2019.11.27.17.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 17:50:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4v1ufCU3OmUo7Hl9SRgGbYrzRMi0K0vlNG4YbI/LyYw=; b=F+g86bRUIXqueZi0H88FMyG2aVI3z25sm1JzdeeSWJfLoHZyDGs7xkBAVyftClkWbi v0IzQm2sbB/PLUrLNwLwaNXBjOva18hIX2SKm7El2WIWKaJ1x30HCxH9cwVAa+M3y+3f uYyJkW15XFCt5umWi3jWPLZ1qtB+jo28SHiZt6Ua0FReNp5T8tg2kWW29Cm5aHuMx8is QTNvIUKBOrCEbyyUUv1X7g/BVWkcJrHE9kvC8EslNt144b4/GWUKFbJ/UF1RKZw+aGy5 YyO/KiXSTa45t9Jb0Zg1yck9BvudskxVM94pUMDRZDV9llSBPTtW/NwIl0QGYvCqbquT Sb9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=4v1ufCU3OmUo7Hl9SRgGbYrzRMi0K0vlNG4YbI/LyYw=; b=Ajhr+2XN/WDtaiUv3QWEHeFOYkQZMBYQfuxh93uweZogL/BBCYkJQiZc2X7KU3dF4b ftZ4dSwcGmoJEElK+XQG9KpJchhTxT9PCdJWM32JouQfRY/SDRPiquijyRnADHLrNDIL bn3lbUHQuABsB1DhPtQvwb6WgXoOwY7+EDnDmFgzTAu8oEx9tH8VWtk9Hzl/2ibNKSHK +g8Sa/t+C08jh+KUmA37cwZGesjPA/GVz1Aq1K34cSmzrbCEvWWqtIGW+pLK0998w4fE Cl/SDoanKT9w5Pzxaa8TZw7qkfAtyL51dq/P2/OtGO0n/+olZcPKPm/oyRQ/xBV4UX1z e9UA== X-Gm-Message-State: APjAAAWErGaT/p9e893l2tRRg4di9f81zGYULoCvdmlHhCEjGlBP49dY SxFeLZPETdN4rC3Ugk8ln8UE5WI5 X-Google-Smtp-Source: APXvYqxsiilrpxy5/V3MbIeKGLjft1fXPUCy7ZZQqL+PjohRDedTcybCRVuvbVdzpwCvJaKLGLGxsA== X-Received: by 2002:a5d:5050:: with SMTP id h16mr48891832wrt.380.1574905839018; Wed, 27 Nov 2019 17:50:39 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Michael Rolnik Subject: [NOTFORMERGE PATCH 04/10] target/avr: Fix IRQ count Date: Thu, 28 Nov 2019 02:50:24 +0100 Message-Id: <20191128015030.27543-5-f4bug@amsat.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191128015030.27543-1-f4bug@amsat.org> References: <20191128015030.27543-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 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: Sarah Harris , Igor Mammedov , Thomas Huth , Joaquin de Andres , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pavel Dovgalyuk , Paolo Bonzini , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Aleksandar Markovic Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Fix a SEGV when using IRQ#57 by expanding to 64 IRQs. 64 is a magic number. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/avr/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/avr/cpu.c b/target/avr/cpu.c index 52ec21dd16..8198f9d49c 100644 --- a/target/avr/cpu.c +++ b/target/avr/cpu.c @@ -129,7 +129,7 @@ static void avr_cpu_initfn(Object *obj) =20 #ifndef CONFIG_USER_ONLY /* Set the number of interrupts supported by the CPU. */ - qdev_init_gpio_in(DEVICE(cpu), avr_cpu_set_int, 57); + qdev_init_gpio_in(DEVICE(cpu), avr_cpu_set_int, 64); #endif } =20 --=20 2.21.0