From patchwork Fri Apr 2 20:02:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12181497 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90961C433ED for ; Fri, 2 Apr 2021 20:11:14 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FC2361167 for ; Fri, 2 Apr 2021 20:11:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FC2361167 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=wdc.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:58352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSQ8P-0003sB-9D for qemu-devel@archiver.kernel.org; Fri, 02 Apr 2021 16:11:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSQ2Z-0005sO-Am; Fri, 02 Apr 2021 16:05:11 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:1508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSQ2W-0003dA-Um; Fri, 02 Apr 2021 16:05:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1617393908; x=1648929908; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WhT0DK0GNcAbbPFdD4caMB0KYD7yQ2fmMS8Nuohy/es=; b=UvGZxHvc8iCla8Zl/ng1xZnbQfuu+ZJgqMEny8hbOS8GD7MaZPQAH+6Y i5+ApyjFiXUPhs23DlkkrH4c+VmWnS8w5Kp+I6uFZH9r2+KGkWdftb/Le /64JG8L9uJOKXAD08GB1UyBOgENsjE4vWRkDR26wO7kYkVsItDhQOuIM2 pA6pAGXnV3kgFtvsVYj0wSCJgG35hljLFi3+XHPHE5rWOaMTcEd/VEm8E 7pgrzTd19/0Oxy16Ukr0QDCeW7+e2g/HjoNTzVr1r8uimJR9yi9aFGRF9 o+0jUZ91T5PPNwybZiWHUXIU/ml0S3HKGQPA0nnVA4DAvg+/+uO3pjCeq g==; IronPort-SDR: x6w6V3h2b5g366K0/b0YvBOHPBy1pox69qVR8LCgQzOpRh0v6Cn18lJkAnDJPD0EaaWdy6WDSA 7DF5awm8sG0dZWukFU633PHyV+O3TSRCtxjzya2Y1HLDUdg56DubRhRcaBDjRHXd9SclIUB03h Ylx70NewH/hjbls6Dq6kmu/0noVTFh4dWJVtP3mNOVnOYOFdxEMOjAnrQ7v6ADk1R8xFOWlhCC tXiXOWs0wPn4T2PCYCsgU+oDZRpRv9OutCPK1VOi1yu9BHgh1Eh/ZbsB2shUtrPcU5dvvCN9Iw XHs= X-IronPort-AV: E=Sophos;i="5.81,300,1610380800"; d="scan'208";a="163541904" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 03 Apr 2021 04:04:52 +0800 IronPort-SDR: EBbV8LUALEbMNLx2w5pfFCBhCsmbA5rwYA2hJUndTR/4/hxxSxDTxyp2C0JYT5O6MC/ny+9bGI OmiB9muzQW8rjZUZVMR8J9XqAkBD3KIFxAu6BfseVFjKiImIthhuamgRGkAhyq0zw6EwqUugF8 ZF4V6lWaV8liC/8Znq0nUyrIZzYyvLwERPhYOpbw77fTBYBTSrZs5YxYd+t6o9ktdxBi72eRW/ HYzJmcECTfyO63EgDPrS0gEzTuWJZmb1OdZ+PDKCkC1ST9ISwS+AyO71qdPC7C7ucy9IidC2ui gJvzplf9J+chccCT9y52jFwh Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2021 12:46:25 -0700 IronPort-SDR: wS9V65jRbcXfl1kNmR/bqoeQr3BVa+xVfhioR6CCU+P/i6XcvEAGHVaceVDM52yE72tbFbJGKX NZmYjEXcgcddf+EJWRklEe94BC6lBGUrboG4okha8d2SHzkbHo2wsH4EBMPdi4WCd+vIEy6WHP VoIyFrBZQPqiWtOJuIijdbuC77bLb+88EG3WkcEdOMIIMk4F3UPVHM9SnqHm0DjkggKgUm00Uf fqMM2hzCEAEU8pKcSvG+nxHpgCl4pZrK5O95S05nFjCjPeptIDXsJXJ7SveiuExPS7mVhRFVPn UUs= WDCIronportException: Internal Received: from unknown (HELO alistair-risc6-laptop.wdc.com) ([10.225.167.80]) by uls-op-cesaip01.wdc.com with ESMTP; 02 Apr 2021 13:04:44 -0700 From: Alistair Francis To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v1 6/8] target/riscv: Remove the unused HSTATUS_WPRI macro Date: Fri, 2 Apr 2021 16:02:49 -0400 Message-Id: X-Mailer: git-send-email 2.31.0 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=216.71.154.42; envelope-from=prvs=7197bd837=alistair.francis@wdc.com; helo=esa4.hgst.iphmx.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: alistair.francis@wdc.com, bmeng.cn@gmail.com, palmer@dabbelt.com, alistair23@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Alistair Francis Reviewed-by: Richard Henderson Reviewed-by: Bin Meng --- target/riscv/cpu_bits.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/target/riscv/cpu_bits.h b/target/riscv/cpu_bits.h index 6a816ce9c2..9f6fbe3dc5 100644 --- a/target/riscv/cpu_bits.h +++ b/target/riscv/cpu_bits.h @@ -416,12 +416,6 @@ #define HSTATUS32_WPRI 0xFF8FF87E #define HSTATUS64_WPRI 0xFFFFFFFFFF8FF87EULL -#if defined(TARGET_RISCV32) -#define HSTATUS_WPRI HSTATUS32_WPRI -#elif defined(TARGET_RISCV64) -#define HSTATUS_WPRI HSTATUS64_WPRI -#endif - #define HCOUNTEREN_CY (1 << 0) #define HCOUNTEREN_TM (1 << 1) #define HCOUNTEREN_IR (1 << 2)