From patchwork Wed Mar 29 13:47:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baolu Lu X-Patchwork-Id: 7404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp439312vqo; Wed, 29 Mar 2023 07:06:17 -0700 (PDT) X-Google-Smtp-Source: AKy350aIhxGE0krtTUvDcOopvmodFV3JM0BCf0cJr0Ynq1A+csPTD4wRKXs5+sr+ZKlFMWQiMkCz X-Received: by 2002:a05:6a20:8916:b0:e1:1f0c:9fcd with SMTP id i22-20020a056a20891600b000e11f0c9fcdmr4763970pzg.26.1680098777312; Wed, 29 Mar 2023 07:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680098777; cv=none; d=google.com; s=arc-20160816; b=0RWaedgKeS3J/LUsZUeUn5ETOM/hx914clz4OUnBWJFNiy48iukePr0t2j01GI4PE+ 0xemr0bn4xtTwNzeB3rmkY9usoblWRYG9mEk66NDfR6LL/KG5peGRlVvepiIJZ+mLwhp SWaMJeBLBI1j2zFeQ0heYJCkbD46g1AGYXkUlKrbjG6BZKEd/h2bvmlZlcGRVDb5kFXD FrmaW7rjHaw5xC9UNjE/OkudPzh1k7NGSI56X2tXnVcKTdDAISUQu+IzqwdvV+BeuW0x 7DjZ4jNCvBKxxqhQgN2rvUPMiPJuIeagJyEJkoallx9DYxLG3zxaPh6jxwoOl1JR3Tme ukQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jiodtY7YG2u5UnDlpO/i0o+ZuG9GBTaysXvhupymoNM=; b=xQFp3C5Bryt8AOlZ8Ht5Frjut/Bw+LCgdBhJf2PruSJWFcxOzdO7C+VrMuRxXv+F8u j3jmJ8pHSkab704Jsv5r8Yr1g3wUgOzy/E1rPTlhX3YHbduF1gVVGV8UOtnNXBUcIeYG eyG4swMyviow0T8bl7NcXwot1NKQu+dx4fNIpo+u90ion5Azjid4D0GUt+Epjl4arHoj N6P517uIdOTNXRK0eMwQ4PaEbjtbF+9Sbv6TqkVmCXjYMEkwROANKc9U7vIrHTuEsZFV Yyrj5RTiCM+GCMH5eNb6NYTuPvHt9UR5Fo9VurwKuc1usi5SI4T4vJjNlgnn6xahzK4A sq4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VhRrCP0l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a056a00162500b006235f7fc9desi31217073pfc.330.2023.03.29.07.06.04; Wed, 29 Mar 2023 07:06:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VhRrCP0l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229720AbjC2NrN (ORCPT + 99 others); Wed, 29 Mar 2023 09:47:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjC2NrL (ORCPT ); Wed, 29 Mar 2023 09:47:11 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5A2EB0 for ; Wed, 29 Mar 2023 06:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680097630; x=1711633630; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ze+P/jCeStEoXlFymkbQzwvhBlVD/1D1Zt3CCXdAZb4=; b=VhRrCP0l5WS3WAjKoXK+8uDmg54DZI0YzXai45OVogyoYM68D/QuFiJx elGg3v4wXa9m8fAKb9QamE3YE7COARoH/KrK/ZyzaYljNNWbY58kAb/dn b/VzJIIEDEemJLclQBc026WGcBaW23A8+9sAfcKlb14Vx2r1W6kbsB8RQ 1pDdAnQnqA6rECFPE+kqsFSAnO7tnATB/vnawW6j028A9mDPsA4hRmx1F LdwC9hwk7WUc+cXSms+Aiuj8Q1DYaeeNknq1tGUz600uUOPVooFSylPZV 4uOQlAazVbur4Oc1P5qsdLGVFd/mrVy70l2nh3KdDYhLhVe5hGy245YCB A==; X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="403506221" X-IronPort-AV: E=Sophos;i="5.98,300,1673942400"; d="scan'208";a="403506221" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2023 06:47:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="677783322" X-IronPort-AV: E=Sophos;i="5.98,300,1673942400"; d="scan'208";a="677783322" Received: from allen-box.sh.intel.com ([10.239.159.48]) by orsmga007.jf.intel.com with ESMTP; 29 Mar 2023 06:47:03 -0700 From: Lu Baolu To: Joerg Roedel Cc: Kan Liang , Lu Baolu , iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] [PULL REQUEST] iommu/vt-d: Fixes for v6.3-rc4 Date: Wed, 29 Mar 2023 21:47:18 +0800 Message-Id: <20230329134721.469447-1-baolu.lu@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761711255365323176?= X-GMAIL-MSGID: =?utf-8?q?1761711255365323176?= Hi Joerg, Some fixes have been queued for v6.3. They aim to: - Fix a lockdep splat - Fix a supplement of the specification - Fix a warning in perfmon code This series is also available at github. https://github.com/LuBaolu/intel-iommu/commits/vtd-fix-for-v6.3-rc4 Please consider them for the iommu/fix branch. Best regards, Lu Baolu Kan Liang (1): iommu/vt-d: Fix an IOMMU perfmon warning when CPU hotplug Lu Baolu (2): iommu/vt-d: Remove unnecessary locking in intel_irq_remapping_alloc() iommu/vt-d: Allow zero SAGAW if second-stage not supported include/linux/cpuhotplug.h | 1 - drivers/iommu/intel/iommu.h | 2 + drivers/iommu/intel/dmar.c | 3 +- drivers/iommu/intel/irq_remapping.c | 6 --- drivers/iommu/intel/perfmon.c | 68 +++++++++++++++++++---------- 5 files changed, 48 insertions(+), 32 deletions(-)