From nobody Mon Feb 9 13:38:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1617266770; cv=none; d=zohomail.com; s=zohoarc; b=XKPZOpAU9DYVbfvPGBBATH8qtnUDtqOa+Y1jxxhP4PduLIuswZ2scK1EPxbAbDSGa3F+kTXNjznL6fgAgXEFTcGGxq1949gBSGdbyZbscW/29yg0JIZqwV+BvNhCvsJ6G8M0HkYlEOifu0OyUz8iCJWCFVl8hqU1RqYUPRKPraU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617266770; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=sz7pYz3SSChzPfaCLOKsspYeFrYrOKDDv1mzKeQ9WSc=; b=c2ZYsrINa52TkqwY22lqiIF8D2CRyVogEoRMfMuEK5KCAUuoVSdLFtoAihTGQORCWCmDUv7ZdFAHsAzK1XWS/fAY/hPPmybWFwbyKnGTQ7YXtjpTibbKn+IEyi2FXMv8QEUomGSsF5f2wM2BMmaeiIT+ZnrzPX9JDXb6zl7VjDA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 161726677061747.92339004012263; Thu, 1 Apr 2021 01:46:10 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.104190.198984 (Exim 4.92) (envelope-from ) id 1lRsxg-0006lq-PK; Thu, 01 Apr 2021 08:45:56 +0000 Received: by outflank-mailman (output) from mailman id 104190.198984; Thu, 01 Apr 2021 08:45:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lRsxg-0006lh-LU; Thu, 01 Apr 2021 08:45:56 +0000 Received: by outflank-mailman (input) for mailman id 104190; Thu, 01 Apr 2021 08:45:55 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lRsxf-0006lL-IS for xen-devel@lists.xenproject.org; Thu, 01 Apr 2021 08:45:55 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4b40a4a9-cb32-4a9a-8f79-f2e4d4d12201; Thu, 01 Apr 2021 08:45:55 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3AB96B06A; Thu, 1 Apr 2021 08:45:54 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4b40a4a9-cb32-4a9a-8f79-f2e4d4d12201 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1617266754; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sz7pYz3SSChzPfaCLOKsspYeFrYrOKDDv1mzKeQ9WSc=; b=C5WivcIWPbxFb6n70fdiFuFmF4fq79Pu1zMvQzJiACePVHeSlekCBdlwsPuqPU1cSV2Xsl aR5QJ1ZXPtr7eXm/7eRGmZXZeT0PMQLhouqcMw5zxFu2JADtp5XulLevIiYMy5KbO/+Nek ucvVtRFVaVzMChaOiI2ODEpPqTA22A0= Subject: [PATCH 6/6] VT-d: drop unused #define-s From: Jan Beulich To: "xen-devel@lists.xenproject.org" Cc: Kevin Tian References: <157e4a65-6d0b-7ea8-1c23-cd393c8c0d7f@suse.com> Message-ID: <38aab031-d9a3-dfa2-9958-ec625a0ce042@suse.com> Date: Thu, 1 Apr 2021 10:45:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <157e4a65-6d0b-7ea8-1c23-cd393c8c0d7f@suse.com> Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/vtd/iommu.h +++ b/xen/drivers/passthrough/vtd/iommu.h @@ -471,26 +471,12 @@ struct qinval_entry { /* Queue invalidation head/tail shift */ #define QINVAL_INDEX_SHIFT 4 =20 -#define qinval_present(v) ((v).lo & 1) -#define qinval_fault_disable(v) (((v).lo >> 1) & 1) - -#define qinval_set_present(v) do {(v).lo |=3D 1;} while(0) -#define qinval_clear_present(v) do {(v).lo &=3D ~1;} while(0) - -#define RESERVED_VAL 0 - #define TYPE_INVAL_CONTEXT 0x1 #define TYPE_INVAL_IOTLB 0x2 #define TYPE_INVAL_DEVICE_IOTLB 0x3 #define TYPE_INVAL_IEC 0x4 #define TYPE_INVAL_WAIT 0x5 =20 -#define NOTIFY_TYPE_POLL 1 -#define NOTIFY_TYPE_INTR 1 -#define INTERRUTP_FLAG 1 -#define STATUS_WRITE 1 -#define FENCE_FLAG 1 - #define IEC_GLOBAL_INVL 0 #define IEC_INDEX_INVL 1 #define IRTA_EIME (((u64)1) << 11)