Message ID | 0-v1-1211e1294c27+4b1-iommu_no_prot_jgg@nvidia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E2EBC3DA4A for <linux-arm-kernel@archiver.kernel.org>; Thu, 22 Aug 2024 14:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-ID:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=rTfmH1xYGy35UYf2qFPtrSGTuvFrihILDFY4iKdqKrM=; b=YEtjnEWrerXznFxreHU+JC8dOj 5KVwcHwCNK4150G3/PjKY17jhQJ9rC1OzxNPAf2z6XTVjG0KGp1Gz7KnljA2n9PDn06nTjUS+aI4z JC2DFY2axseaVnUzvPXzS574kp/hG5a0k+7DLy3aWM1sTPQAztRos/VL98xFw0xvfr5H4gqsQpCyP UYHCqGtssaw7Q1+ZYqh1+X+ZV122km/z+8e1Lb3YN60FLGD/DaobHsEEH+V6qUrGIkeVhdNHRumCB QfmWiL96T0fLftauL1r7hgqBqKNuXQAJ/128nedTWZiXKSQP2srQQg+671Yps8SYAm7FfknVLzufM 1Q618GuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh96R-0000000DDYn-3aUw; Thu, 22 Aug 2024 14:47:55 +0000 Received: from mail-sn1nam02on20626.outbound.protection.outlook.com ([2a01:111:f400:7ea9::626] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh94i-0000000DD1M-0I0c for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2024 14:46:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aDBrUdQNPRPmmx6KotrL5WJXI3mf++RLoWY2oOKwrbv8uB8cO+lcRBhjXWULQ0DBRyU5sqtaGGBZGR5sHpEE364YU+lp7HtocLFt6z1sHlBkfahbKL6R2A39cg9rFJnYlqYaMx1NV7tzksCVP7oOXvwnknthVshQFCJ++X32+qjyAmXKgpFQBzDVmYi3CAvyUDBG0ZR6LnouoGFL8n5/AIoNnFa9CVSVfe+RdFUPJ8p3LhQZjEiz48inbXmh7EZqVTeTy85UNRLw9/a11j97KVB524jbhWTrHcbwqtYlc0/hKUO3tefwphD1EaJJtxwBM2wnnPkT05Pa19eFG/57Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rTfmH1xYGy35UYf2qFPtrSGTuvFrihILDFY4iKdqKrM=; b=c25F1PoNcopCk7IwcB5NQlTEHz3hA1EWAkL9Q7Lu9YRTAzZXR/V65UkElBv5wPKFFFcvqzzFYtavIWFW01kTRF2Z3jEjAwMJnlcpmSJm9RAjSbTZ3ZBrq+HzkDIdUB1KFvfYCljusc0Gw53JY+Hw+12R67/R0tBwAgmrPErfmn07Lfk4jMhqhlHcgpMiwDrq43V9xbvIPvJgV4nToFAKEA97Y6yxKgiaWk6eXk8z/Xpiu/pazahRpTxdTj2N23rPqtnpHZLa/jaGydarmUQdrxooC0inhomP3J9VBaF14zBLR2zf1zIPw6TWDk8Aw0UA8YticAwrJgZrCvBNjpvPxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rTfmH1xYGy35UYf2qFPtrSGTuvFrihILDFY4iKdqKrM=; b=g8p/omd9cg+3gs1f+Hq91jEbOddgvD7LwgafIM8ggqZ8q+vz7bQCgmrrk9hh+vW34sSKnBVbRezvwFuOzgVAHh1xJfSHg4k8l3DxIMuvh45ytkN9Q9nuD/8aal7JhhTX2cvDG7WfMMkPPDZmnBIlMi+zf53ys6d9RrvIhGFlqg3P3PmFptK5x/m+NGySNhuJMDNLjti8twTw5R7gviqpHBJfRM9SCMPrGYIoyEbqV+4gvRYYebMDwskrdBy6Ds8CziUIIkdCNahF5wVp7scw/ZuWN8d5vyZhVHTIM1NRba7sETNu1DIwi0qAfw43l6nqPbwVxzoFu3Bq3u/CDWsZ0A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from CH3PR12MB7763.namprd12.prod.outlook.com (2603:10b6:610:145::10) by CY8PR12MB7121.namprd12.prod.outlook.com (2603:10b6:930:62::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.18; Thu, 22 Aug 2024 14:45:56 +0000 Received: from CH3PR12MB7763.namprd12.prod.outlook.com ([fe80::8b63:dd80:c182:4ce8]) by CH3PR12MB7763.namprd12.prod.outlook.com ([fe80::8b63:dd80:c182:4ce8%3]) with mapi id 15.20.7875.023; Thu, 22 Aug 2024 14:45:56 +0000 From: Jason Gunthorpe <jgg@nvidia.com> To: Alyssa Rosenzweig <alyssa@rosenzweig.io>, asahi@lists.linux.dev, iommu@lists.linux.dev, Joerg Roedel <joro@8bytes.org>, linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Robin Murphy <robin.murphy@arm.com>, Shuah Khan <shuah@kernel.org>, Will Deacon <will@kernel.org> Cc: Eric Auger <eric.auger@redhat.com>, Janne Grunau <j@jannau.net>, Joerg Roedel <jroedel@suse.de>, Kevin Tian <kevin.tian@intel.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Lixiao Yang <lixiao.yang@intel.com>, Hector Martin <marcan@marcan.st>, Matthew Rosato <mjrosato@linux.ibm.com>, Nicolin Chen <nicolinc@nvidia.com>, patches@lists.linux.dev, Sven Peter <sven@svenpeter.dev>, Will Deacon <will.deacon@arm.com>, Yi Liu <yi.l.liu@intel.com>, Yong Wu <yong.wu@mediatek.com> Subject: [PATCH rc 0/2] Fix maps created without READ or WRITE Date: Thu, 22 Aug 2024 11:45:53 -0300 Message-ID: <0-v1-1211e1294c27+4b1-iommu_no_prot_jgg@nvidia.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BL1PR13CA0140.namprd13.prod.outlook.com (2603:10b6:208:2bb::25) To CH3PR12MB7763.namprd12.prod.outlook.com (2603:10b6:610:145::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB7763:EE_|CY8PR12MB7121:EE_ X-MS-Office365-Filtering-Correlation-Id: fc8bf4d5-4f39-4d2e-6877-08dcc2b9214d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014; X-Microsoft-Antispam-Message-Info: mooxyt089q1Fvm9k3tKfLLLJvr20kYeEWrtmJpuDzIyqgEeTJeWJsICeRWBC5vV/YPz6yqscCyGzifUqjru/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kdgixFPT95k/wOoRL1DSbWwDBJo/DKe/FcZtqxkRME/zdzML6woKCNTbuzfDXaBIhuqjiRtGQ1w+/VtSkiYHx+UlssKoUJklgPrYQ7CJKasdZxNUOGwULDRfGPj8GaoSmcQqSGe9MCF9ZO3eBOp79NAjlgecTzZM8ltvOzaf9A2PfEofKupOXdURY2LoMSIbqRgZWs6d/A+aFw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR12MB7763.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7416014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BezPmE0DVdcA6RN9syxfKmq8JhgjvzsNGeUW1L4yjpcQdRg6TNS8w7k6i/Bax8dQ9gl329INkobcBshPIhz5hpeK4VSbZWaHBcvblR22QZcsF5/Hdy8+FW5H9p9YCxaYqgu0GWs7ybR7OYZoWSmQqCQfjFXJjJK0apPqUVBGkpIzLeImVXOEmu3IU21TJ4fWN5uWuEazYt+vfo7xukryxfYZgjCvY6C/Xra3A2nFAuDJsPzmIs+x/sRowmGw9wJh0K8xvqNZG+LkGh/s7kTJ9N9epQ3cdt8FPGtdsmkY9jTbu8xdOYUEq1V9nkEAdCVkQohEZawQ4uBlMbEDkaCOPkvkL4Gy0p95zybWW0Bj/KJW7fy4Cty5yoFQG2JxhMtEgj808sheozyk92yS/fdFEOyUrfiBHNnTbiKWq1nvkF9alYXH3J0nzv316mFt5/n0yLZCV1iFa5wpHbOKNdqC1GfyRhjeBfhewDOc8xwMRVBbxK3/fHVyRBlEPXeLXX62GZt0Iy6+NtF4/xmS0BW0rzuVYEDUSNuCgwWcbu2RYCzq9suJd0Yk5JzFnxori0sWPMjfnXuCh57MNZ4nHiOvaBdOFlKvJ3FnKzL7BtAauT0FYm4aR+TGUUKM14ORM2U+ZFOSgH3V7hTZMovW/V3kg0kZfK7/tj4rB7HBl8ByNQeoIMDkEXqI7QkQ9i35p1EYTsRqorYZpIKjFdq8cp5HGNEEftyRh/RFK1427w48Da5fQSIziGLSl6X53M+aAyYSFWeqDADLRGrgf97ZxbksNgss3BdsHZaH5IMSc0eZ8Ji3g/hZKXJXVs8IVPFtTB4hNV0tuxG8cJAXgb2yV+EhLXUTvhCmZL2UyGcdqxESZeTYJ4n1OVKlYv/8GmGOS3P32PQSLUJjc92139E0T52gNHWI66qz1TQ7jvtQCucZRjcTr3E+I3xqINlIb6bJNN8pP6Z9qTRUAAtfXN9brmhnwQTMn4TRlUJ4R21olEu47Y8MpD/FU2jhDwzf6GUkzDuLgER0C2dOmawRrcGy38sYzBr8Q5vCba6bjcwsLpbL0te3CtvkqzE0GeatJLsiRLX8kLBITmEiomRDYQ+YjiwrS+XCdhXkjdUpVxhnxnaGn6I9CMtWSRgqy2A0hHsogEQmElO7nFLC24vDeZkqQUiArZqwj0yt02Yn9wzJMSVCo+3uAeD/gzukAdIIFkLf7bNn7mb6mu0C1+fH/iEUd1nSh/z1I0rMLJUpm6NbyGNjc8LDyb16jwVHh1EXXcW/EQ8txogh+USdPkVYl4wUP7ao+cOFNrPO+iY7j4kmy4rvbNKetxZ1bsDymjwrwnrR0ceuarIBQB1yr4ZOU8KbrmULtH7bx0a7jwgpM52CBVcVf0sDlGU19xx47bdc9ZEy0cVrQbh/KhEIK0/0zZnMGZc+gJwYmwEB/tIdESZvieIZGQOQjN0grzQ+A+DyGrV8gaLCi0opyXrabaw/2XRoEqyo+fXYHq50eX+eHfxPo+Ur2+ok8f8CJLO5rsbFQSET13HkGmwBuQCLRAxEmN8h7NMbFv7ZZomwKMh86P66ukiITUOxl9vd51EoiDtEPQ0KxOxs X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc8bf4d5-4f39-4d2e-6877-08dcc2b9214d X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB7763.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2024 14:45:56.7954 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xHzv8ENAFjAnb9Tlifoo8H6i4Edtm0RmZTIFQUnskMBjS+xYkiAEeZHYcp2/2+gZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7121 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240822_074608_123429_829B253D X-CRM114-Status: UNSURE ( 7.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Fix maps created without READ or WRITE
|
expand
|
On Thu, Aug 22, 2024 at 11:45:53AM -0300, Jason Gunthorpe wrote: > I noticed some bugs here while working on iommupt. Fix them up. > > Joerg, can you pick this both for your -rc branch? Dones, applied to fixes branch, thanks.