From nobody Mon Feb 9 19:10:17 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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 header.i=@wdc.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=wdc.com ARC-Seal: i=1; a=rsa-sha256; t=1564529997; cv=none; d=zoho.com; s=zohoarc; b=ZzpyfAFWEr9dggSAXtoPQIj4/L6rg7q8W3M21gX0ypxDwYe3AVS2rsK1cMCG+wTPSZAeOSHUZUT1X2SKbrUyilh4MFgYEXQTRGVqssjE7HxVVXGL71Ki5o8qQekBuK3iuA3c6W2EM8uv7i2KEN3C5w1i8tGoHekRzwhyfpi2yOE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564529997; 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:ARC-Authentication-Results; bh=58yCASugwA0uNd2vbRoqheTkyc0aW5X7BWir0XMZLL0=; b=T6CGuisVisL2/D4d8l8o5dU9CrQRzs9+rwpOhhTY2zZezCxUfWqebqvb5/2yiBJRFJDqWtL37Dyj/VsrrKJyBXsncxG4FCraDH5j9oYBUuO8BkWGNiM/7GQdaf7aGc+q0V8jvJ36nC4sZolGKUszSffDXztgQYAGBwfnF+I5ZME= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail header.i=@wdc.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564529997757793.3034862226606; Tue, 30 Jul 2019 16:39:57 -0700 (PDT) Received: from localhost ([::1]:36808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsbim-0006T6-KW for importer@patchew.org; Tue, 30 Jul 2019 19:39:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57838) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsbhQ-0005JG-DK for qemu-devel@nongnu.org; Tue, 30 Jul 2019 19:38:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsbhP-0001tj-7f for qemu-devel@nongnu.org; Tue, 30 Jul 2019 19:38:32 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:2164) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsbhO-0001jk-VU; Tue, 30 Jul 2019 19:38:31 -0400 Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 31 Jul 2019 07:38:29 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP; 30 Jul 2019 16:36:31 -0700 Received: from risc6-mainframe.sdcorp.global.sandisk.com (HELO risc6-mainframe.int.fusionio.com) ([10.196.157.58]) by uls-op-cesaip02.wdc.com with ESMTP; 30 Jul 2019 16:38:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1564529911; x=1596065911; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4KhMKveagWI7BDqokS3HdF3E2uSk0r+2CqujjD2dHoA=; b=YiaQ+8lG+0NNdwFnELEEmlDWQF417TPjfuYUAIOF5KTroSwi7vAotOL7 8gQdyA+793A/r2hp3ADBQgx/vpcRaoS9Z2dNhkKIuxcLD26ETH6eLLuDC BYwYOpS4XOFzdlFV7r2rJENyHk6sPPUh51Q2g8LVn+r2ytt4qo1+t51Yt j3MahhcefOk25fgnDHgc1TUyBXg7eN7o3yhSrY9WZ+tBcaFznHEDSQXG/ U80+cI02hSCPd3tmmgKReJAEKH4FEPGzHC7uBUhxBAIpgUab1gT393kPD gnCcHCduWT5NdkGL+WpxoZNZMHjIBeshXg6u9ABt2R+hAAFWW8zi0l2iy Q==; IronPort-SDR: 59Y+vUayyPAR8JYMqgOcJvn241vNOqF0nuteAexNY114JWhlVWMdawIgPmh1PVnu3/hgsLDiqH dC+181O3MyczNEifaoGCsyfuP0H75KSyVpui+RzDHr2Olmv9j4I4WOgta2cd4u5V+hd+txTW5b +GD6dxuaVr/+2HYjQP1VnPiOrvG6KGyeM1f6B4CNnQKJdNrK4/4Uwkba4T4gbLgVbxNNPhlxaZ hSFFwCZB401mA/JZtVhPbubsRbf1CX3BVNcemTptrlwOCYQFyV143InddSYjozyrajcjX1hiqm RLA= X-IronPort-AV: E=Sophos;i="5.64,327,1559491200"; d="scan'208";a="116132623" IronPort-SDR: cphpGqK1gYEHrkWEMgasX8v8hjI84nEcUkgbPDzX9RJ3xr2/Zw2v3I1/QQxC5ICjCxQdXS0M0q X59LoPY62V6PEmfshXqeHno0uO/0BwRDwyC9vhiuLWAx8qinvCOxNzODvhD4w4xvPtEu/rZ4t0 klxINmLoeBRJhnCBJHecdNvct+YMqZSLqlhJ8LQOJlIizFB7RefBkqpJrL9ALfZVsaYSbdDeky pAwTtmvSFnQ/B8UOeibqc+SP21ZCSkzqVSPfmKJYIRleXyWwcMYiEYbm2qDLfEfQmgpe3K/Npd SSFd5qQb/F3mNUxM7cdQEC5Y IronPort-SDR: HshvwjrlLf0Ta+3I8QVhMqGse20O1Zn8NoHyY0kQWWuxbVtoqZanLyW95beEmeDNqqo6TLP/X+ /qvOH8xhID32+5n0PRfSOtepXnF0qlMqw/2XpwpC4ZRHOyMfV69Cm0SRvu9NbYD6VgzNcvtwbW xxR4oK/yaW47/te/XixzzxEWt7N0Kwh/cavAnCPbfZGH+nriNM0G80kg4hWAYZNo+jkbGXDEj0 WISKNY9DsCVcOuZ3aEmFGQHGVXTzb5bELoUS1t4Mx5BP6tc4raFMMvM9R4zz3U+bHx6zsIL+Q7 rRg= From: Alistair Francis To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Date: Tue, 30 Jul 2019 16:35:21 -0700 Message-Id: <61ae4a524013f0408a9431f1fe856d99bb3f9041.1564529681.git.alistair.francis@wdc.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 216.71.154.45 Subject: [Qemu-devel] [PATCH-4.2 v2 2/5] riscv: plic: Remove unused interrupt functions 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: alistair23@gmail.com, palmer@sifive.com, alistair.francis@wdc.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Signed-off-by: Alistair Francis Reviewed-by: Jonathan Behrens Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Chih-Min Chao --- hw/riscv/sifive_plic.c | 12 ------------ include/hw/riscv/sifive_plic.h | 3 --- 2 files changed, 15 deletions(-) diff --git a/hw/riscv/sifive_plic.c b/hw/riscv/sifive_plic.c index 0950e89e15..864a1bed42 100644 --- a/hw/riscv/sifive_plic.c +++ b/hw/riscv/sifive_plic.c @@ -161,18 +161,6 @@ static void sifive_plic_update(SiFivePLICState *plic) } } =20 -void sifive_plic_raise_irq(SiFivePLICState *plic, uint32_t irq) -{ - sifive_plic_set_pending(plic, irq, true); - sifive_plic_update(plic); -} - -void sifive_plic_lower_irq(SiFivePLICState *plic, uint32_t irq) -{ - sifive_plic_set_pending(plic, irq, false); - sifive_plic_update(plic); -} - static uint32_t sifive_plic_claim(SiFivePLICState *plic, uint32_t addrid) { int i, j; diff --git a/include/hw/riscv/sifive_plic.h b/include/hw/riscv/sifive_plic.h index ce8907f6aa..3b8a623919 100644 --- a/include/hw/riscv/sifive_plic.h +++ b/include/hw/riscv/sifive_plic.h @@ -69,9 +69,6 @@ typedef struct SiFivePLICState { uint32_t aperture_size; } SiFivePLICState; =20 -void sifive_plic_raise_irq(SiFivePLICState *plic, uint32_t irq); -void sifive_plic_lower_irq(SiFivePLICState *plic, uint32_t irq); - DeviceState *sifive_plic_create(hwaddr addr, char *hart_config, uint32_t num_sources, uint32_t num_priorities, uint32_t priority_base, uint32_t pending_base, --=20 2.22.0