Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2473989rdb; Mon, 5 Feb 2024 07:40:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+pPEgxLhtCJ+wvmukH0UB4rgJUZgI3Bxyvr7JY8+PtJo9k65bjF6FG055iOVRQtdv1H95 X-Received: by 2002:a05:6a21:3282:b0:19c:9b38:f398 with SMTP id yt2-20020a056a21328200b0019c9b38f398mr16029501pzb.22.1707147604059; Mon, 05 Feb 2024 07:40:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707147604; cv=pass; d=google.com; s=arc-20160816; b=QVEzaByn0pspfi+IF0G1PMEmQrHRYkGg3ybrAWaAlqGeYPajjeYhKGsk3QND9fegd2 +SBvzazfg+StWZIcDTAsqPRPaaQc/jnRgfozQA6zePr98veudTNX7q/I+Ze7NogMu0Wr lxnS1EsGcONaIXAbSZ8VoFjkBlzFvTpOCSvNPTd+hzCY/olVQzfX+Vr8xxSxkaMm8Ort jlhorPOvOvcPAO90OG2TPW61dueJVA/rcep+SNtmsCTXESjerFqYJN8yiAw9Iy670CYV 3N7eJpRqJ+Q+gfcX9XrL2U+Zjk6kRyvv5fV9RdLwZl67oaIqYcSw64/+ilIovhBJ8gqb zurg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=zrG+IagOBiubW1VKctzKgCdqhdJSXLuSfErZQ+Naovc=; fh=5pJpUiZvbg6GV7Q1YeHVy0pH/6a7OTKkmpmr4b37wA4=; b=cnVJ67MKY/9iyjSgk6SjRV6QJoEE9tOB1gvZ8uS7L3XRyVmk+1y5O5hECd4FObTq/s uKkohchpbjffyoUgZh5tq64CGnBG+jf5UQ+l+TJcdhLRsuPiPkAaQDA8K4X3fA/HxpvW +5+rp081eyEIcZhHxCKEDcgNEVNK9mvT6k+EqqG4IeqgcKRVtln8grEkpVe19ScIQDya 9WwLXFZXy0c6rokmkz+zlZMQDxQMhsXIsYuDe+wFHqMm5pf71sEYLQrJArkW/nHqL/BZ gqQG3mYcbsBYn9v1hHIkvMlKxAHcNhtxB+J+CEWy+dio3r4mzXo+sA37dUsbgKrxTOFB 7BGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-52915-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com X-Forwarded-Encrypted: i=1; AJvYcCVi64OFUic0gzP9Q+ScPuPNUPqDQfHq3FhJXsXFPZXJG8jtEqum/lxZ4CPKrNoJbuSghgugGrmRlUkU81yFQjocN8W7SpozUueGyTs5Qw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j8-20020a63b608000000b005d475e3306csi55280pgf.244.2024.02.05.07.40.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 07:40:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52915-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-52915-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A641E28965D for ; Mon, 5 Feb 2024 15:33:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF9B432C93; Mon, 5 Feb 2024 15:32:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A664F3A1CC for ; Mon, 5 Feb 2024 15:32:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707147168; cv=none; b=uFqlXWXyQR8CeFj0tO/bzlSw4vyAtMeMGZWGylIBdiarBuzgqNxTj7zl/BZdf6baH/vBUVCKCOLIH5ytnn0sRYt/aws8GntIwC9Q0Yz+EqkX2sweHXtWwHSCxYebAB85tR5F0+gYdL87oBKNSb0MBk2hXJjOeirKVY9bN+WeIvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707147168; c=relaxed/simple; bh=KmaKj/FrqhODuXe1TaDfgqvAe8TWKw+amUWGmKbLRCU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ButnB937uNJqO88QJlmLS+ITrpGqFT3pdMb/36T73MUYGUIAmlXhImOF3zBEaZ3ORR593sewAzx5cQ4cgxlH6Yq/6W1Sv9sMOk+5KE9fPfmZaPRakq5hg5DvPv4U/08oIarFbOWWrh6gRaK4jcSdfl2vnZxLZxcdfEJY1fdP1sQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CF7771FB; Mon, 5 Feb 2024 07:33:28 -0800 (PST) Received: from e121345-lin.cambridge.arm.com (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 05AD03F5A1; Mon, 5 Feb 2024 07:32:44 -0800 (PST) From: Robin Murphy To: joro@8bytes.org Cc: will@kernel.org, pasha.tatashin@soleen.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org, rientjes@google.com, yosryahmed@google.com, john.g.garry@oracle.com Subject: [PATCH v3 0/3] iommu/iova: use named kmem_cache for iova magazines Date: Mon, 5 Feb 2024 15:32:38 +0000 Message-Id: X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi all, I decided that Pasha's patch[1] was a good excuse to tackle a bit more cleanup of the existing IOVA code, so it can fit in more neatly. Thus to save time and effort I've taken the liberty of putting together this mini-series as the version I'd like to merge. Cheers, Robin. [1] https://lore.kernel.org/linux-iommu/20240202192820.536408-1-pasha.tatashin@soleen.com/ Pasha Tatashin (1): iommu/iova: use named kmem_cache for iova magazines Robin Murphy (2): iommu/iova: Tidy up iova_cache_get() failure iommu/iova: Reorganise some code drivers/iommu/iova.c | 143 +++++++++++++++++++++++-------------------- 1 file changed, 76 insertions(+), 67 deletions(-) -- 2.39.2.101.g768bb238c484.dirty