Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp928887rwe; Wed, 31 Aug 2022 13:44:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Y/fE/I/i1xVTcQvsFyimSqLVzv3lJ6aLsm+u6A6Gzm5D50kXE7zbY+Lfz0U0ziWsY4EiK X-Received: by 2002:a17:907:1c08:b0:741:9c32:8596 with SMTP id nc8-20020a1709071c0800b007419c328596mr10357460ejc.498.1661978657477; Wed, 31 Aug 2022 13:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661978657; cv=none; d=google.com; s=arc-20160816; b=rDbKWFq0qlvTggBpWKPBcwyUMiWCIhHAWT34dWZyhTg3PgigBCTCSEsh6hSmi/VNiI Og9xlPGM7PLGihkEqNKXVdDHQseDh6j7jx50c5Cm2Bjntf84qlgqpFCwK+JpIbvuirYM WG44mqq3L3DpCGDpt/HHo794KqihrK3F9V96DwClonYrdaH1lF/TMDqBJA2Lg4/oN79K huni5zF/x6FoPfaMh2aMoTDHqQBVdKhSeG+EuZkc63lBgwuMEPC7rTVdQ9NFtKjvNSRm aY1Jq1j4T2N1pZadHB3Wf6ne8PlAR2pAlb05s5wesiipZtFQdBYTluH3g3fl/D5T2Li2 JyCw== 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=JLTNgFiDwX8JiagmE7RbrMieN0P5Q+gsHMUA5SyYvLQ=; b=CD5c651asqiTPhFcybiy+/hoABXbXPoYuXJ/U08D7HyJDtxaGYuAbVQQPqdeILDmdE 8U3tY/6XTRTzNsmGgwTs5Jf1wxysdzcxIbMUxjHk027Bl83KBvLElENOkPvvM/RWOtbg n8K7eUmfhaGzVwVdi/9EUVb7UTe0JI2mVELBdRdJS2Mn1jjWLBDTmh1x+BoduVXjNS7l Br8ZslC4hif3ji3wwO8YcxR0i1R6Lq9ArtzkmaWGpTyx0z9ubO4fsUMtN6E49S4RWVxO RysPKJffCK9XKBwFM0LrvDK3a6v80iHKQMQ4V5H024F5iuR/AMTHNMV09iciwePaaq0X W7Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PryCjWBR; 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=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg11-20020a170907a40b00b0073c227a5543si11554401ejc.169.2022.08.31.13.43.51; Wed, 31 Aug 2022 13:44: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=@ibm.com header.s=pp1 header.b=PryCjWBR; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231955AbiHaUMw (ORCPT + 99 others); Wed, 31 Aug 2022 16:12:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230241AbiHaUMu (ORCPT ); Wed, 31 Aug 2022 16:12:50 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FDF2286CE; Wed, 31 Aug 2022 13:12:50 -0700 (PDT) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27VJnvY5021667; Wed, 31 Aug 2022 20:12:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=JLTNgFiDwX8JiagmE7RbrMieN0P5Q+gsHMUA5SyYvLQ=; b=PryCjWBRwI5OQFxuBR2+vmT4qjXDTU4cYfSf315WW0ayRZpLKxXVUwo/f1glNCaOgmiI DYRuG4qF/ooTMsx107zAMu/Lk92SLXCVMs85XQw3cchBVutU3QI6pHcTbrTFdV/zv/J5 FM9nsdIn6w4Dm2LZPOoR+MM3c/rVxlq+zHFNVPTM72qxV6aQQ8R6B53MspniaFwM2zVW umxJNdRPyasfHoPqReGpu0l/4ac+LjO+9OJvy3VcqeRZuirPuQvPIuIhZBf1F2lB6BFP VGL8DIMbICtViM40x12Og/bbA4z3lJ/Ah3kGgkWqZdpqCb7r36XCs0uwnrvSFYEAEVWi hA== Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jae518vf7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Aug 2022 20:12:40 +0000 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 27VK61j7030692; Wed, 31 Aug 2022 20:12:38 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma05wdc.us.ibm.com with ESMTP id 3j7aw9vkfg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Aug 2022 20:12:38 +0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27VKCcHl57672022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 Aug 2022 20:12:38 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 287E7AC05F; Wed, 31 Aug 2022 20:12:38 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5B419AC059; Wed, 31 Aug 2022 20:12:37 +0000 (GMT) Received: from li-2311da4c-2e09-11b2-a85c-c003041e9174.ibm.com.com (unknown [9.160.77.30]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 31 Aug 2022 20:12:37 +0000 (GMT) From: Matthew Rosato To: iommu@lists.linux.dev Cc: linux-s390@vger.kernel.org, schnelle@linux.ibm.com, pmorel@linux.ibm.com, borntraeger@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, gerald.schaefer@linux.ibm.com, agordeev@linux.ibm.com, svens@linux.ibm.com, joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, jgg@nvidia.com, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] iommu/s390: fixes related to repeat attach_dev calls Date: Wed, 31 Aug 2022 16:12:34 -0400 Message-Id: <20220831201236.77595-1-mjrosato@linux.ibm.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 0pXSEi-O0gJVAalf4W8rA_88dhO3dvlR X-Proofpoint-GUID: 0pXSEi-O0gJVAalf4W8rA_88dhO3dvlR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-31_12,2022-08-31_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 clxscore=1015 mlxlogscore=484 spamscore=0 phishscore=0 bulkscore=0 adultscore=0 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208310097 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 This series contains a few fixes related to supporting multiple unmanaged iommu domains on s390. Changelog since v3: - add a 2nd patch to fix issues related to leaking s390_domain_device Matthew Rosato (2): iommu/s390: Fix race with release_device ops iommu/s390: fix leak of s390_domain_device arch/s390/include/asm/pci.h | 1 + arch/s390/pci/pci.c | 1 + drivers/iommu/s390-iommu.c | 62 ++++++++++++++++++++++++++++++++++--- 3 files changed, 59 insertions(+), 5 deletions(-) -- 2.37.2