From patchwork Thu Nov 7 15:06:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 11233083 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ED9AF1747 for ; Thu, 7 Nov 2019 15:07:57 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 C9EAF21882 for ; Thu, 7 Nov 2019 15:07:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="F2Qijc0H" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9EAF21882 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iSjMt-0005De-3P; Thu, 07 Nov 2019 15:06:39 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iSjMr-0005DV-K4 for xen-devel@lists.xenproject.org; Thu, 07 Nov 2019 15:06:37 +0000 X-Inumbo-ID: 314d1d0c-0170-11ea-a1c9-12813bfff9fa Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 314d1d0c-0170-11ea-a1c9-12813bfff9fa; Thu, 07 Nov 2019 15:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1573139197; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Lly6Buv47VmV0obIDsjROepiNBGqS5bN64QZgYKlCMU=; b=F2Qijc0HPnnIhhb6gI4ykJq7h5bu2fTAb0Lg7d2wG2QHYB+txwvMSN1x jeVutHNWKNRq1Ct/Tr1YO4zUdnqQ0NDxS8t7Wg2gePPemfJ1xI+IONbyV sJGW5n4X5YWUETkCUxMsNXS6Q8cxRfyz7AdlNb+DsrLE/sjsBmXpp+N5W 0=; Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@citrix.com; spf=Pass smtp.mailfrom=roger.pau@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa3.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 4w/ZHlXWLG1xSRgFdBTIPqBYK3y+CIwftb5jJbzlN/6TJ0RNETBoBvwRkRJITBwszeLYM2LF/I JCd+/CjepjawX4ONiZvxYUGLR9uT+AWAJWcY+XzRW3zZFgxPziJUWfAKyKwD2U7b5kDm0pVg0t gM+nzsrX6NEJOLgmR4IAPfaw88umBpRf6OVD6jKDDxL3gfa9AdKs6T5dr0OG64FTAmUc+0ElBd KzNpgkWhT6WhnsEeejWoCSOkvj1usP2pIvl4AKU62d2m/w6CIjKxysJS4kQuIppxychO2ImuKL TAQ= X-SBRS: 2.7 X-MesageID: 8000863 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.68,278,1569297600"; d="scan'208";a="8000863" From: Roger Pau Monne To: Date: Thu, 7 Nov 2019 16:06:07 +0100 Message-ID: <20191107150609.93004-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH for-4.13 0/2] x86/ioapic: fix clear_IO_APIC_pin when using interrupt remapping X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Andrew Cooper , Wei Liu , Jan Beulich , Roger Pau Monne Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hello, Current code in clear_IO_APIC_pin doesn't properly deal with IO-APIC entries already configured to point to entries in the iommu interrupt remapping table, fix this. Roger Pau Monne (2): x86/ioapic: remove usage of TRUE and FALSE in clear_IO_APIC_pin x86/ioapic: don't use raw entry reads/writes in clear_IO_APIC_pin xen/arch/x86/io_apic.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)