Received: by 2002:a05:7208:c250:b0:86:f851:443 with SMTP id w16csp952916rbd; Thu, 13 Jun 2024 02:18:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWNxOTDwl0k/BtSYY8FdT4CHg7vrZYd1rA75c29tymS0NYpuhTIkbSlOYJ04442YHMt0KSSOCfAvv9+5a9ElMfb1jPbphBmGiIJiSZyQ== X-Google-Smtp-Source: AGHT+IH7oCJtHL1LgI34oPwyTQxs/dth8NfqXmMaKVJTOsHScUK440tTQgkcxlmMlq/2LaOjpO1H X-Received: by 2002:a05:6512:3c87:b0:52c:8075:4f3 with SMTP id 2adb3069b0e04-52c9a3e3cebmr3740498e87.36.1718270331928; Thu, 13 Jun 2024 02:18:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718270331; cv=pass; d=google.com; s=arc-20160816; b=YY9ibchI8oHxM+roYuwfErY1AzxlV6Ndp/e5LNUpluDvT0uIbMpJWy3X+3yzkoPzAw jlnImjvVlkl/KU4Nfbl2L2V8DuiVN3HhPlvNH+9ZDnXOaB8iSoEXS0JG97iveDbxmAqD FD7ZntK+1gOnRMkC952qerg9Llo19Ssq2uwwUOgeTJ/W1LsH58NpdIYEzAw7NBmmxvfA LTrU7VJ7fdfdVXj8YzAHOvh1JP8/eE4vop6izo2dzxPRrxlEWr+cs8Gl//Jt/g/fvewW NRJDUys5V+/CM6q0gi2pvb9fMikl+FYTMvokHe2y91+dD5S/RMMNFb1GIH6jpLlE/Y36 pXPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TkaT1R81+9hBKaiEgm1UBfAMX6606/yrVrMUPsBawXg=; fh=Mu1LBxmE0DGKBdXlk/XN8yGONVG/zWlyd7ZlpP1QpnA=; b=NJY+7r/6+ZlIoOCX0iduqUD+dwCu7b3rbPkLZ6BP7IC4XgN6ymW83mcEwgOHFucYSf 1TyTKCWoGJw8BidRpJJHi5tQ7nqV2jnOwIceSW/q/qF1MNXYg58cQMJPKq/N3lr1Mwe8 iBdAI0xV3AbQlNsGD4GG1YVYSFXWO6Bwaey3aEvGC2rgkAK4z7IfNyVCbZN5beUT6c/z TbtL45rDkxdJdxiMvBgEYcO/DS+OCO0nXcnCNRZV+HhaxrhP0jpkKX5XtFugNQdsX32r wcnClezyGuXyvBiaQqQmqRxm1f8hhzabWFiPnojpgkj6/O5LQlaH3y+z/wRhgcnO+7BW TyWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=1UjYE41b; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-212932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212932-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56e8223fsi49242066b.1019.2024.06.13.02.18.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 02:18:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=1UjYE41b; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-212932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212932-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1624A1F22F2D for ; Thu, 13 Jun 2024 09:18:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1479D13EFE1; Thu, 13 Jun 2024 09:17:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b="1UjYE41b" Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F3DF13E8A7 for ; Thu, 13 Jun 2024 09:17:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.250.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718270277; cv=none; b=SoIuH4+R7+TC5MokfSMeJgBTSn503GLy6C9uttu+BghDNXYWbPTmJb4eHHY+GGG16vewWZwM0YwglQNSBvsr6gK80p5khZLUOGPM69JzRxA9/77JhBZAs/AvSxengfzpJaehDyMhThB7v23yiHLowP+k6sNn7cwuACc6B9Rfj14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718270277; c=relaxed/simple; bh=p8kzm0Lqep3ToXmg6GA1wy29eukb+Rh7R3EbC4CVU2E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QYNgI8ijP7L9ImKBchNZce7092yJmhmGJnURBJCT+qAUQaKmIGO9MPoHczWKzNuOm2kc9PmPN5hHyFBm+J3nTEYs/Co2dYDu/rmBtKGLjd3M5E52WAGN980kggpc8m2bzxpiDyi+EJVyBuGyxQtR72AnQ0NpdCEcjfwxF8dHYzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b=1UjYE41b; arc=none smtp.client-ip=85.214.250.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org Received: from 8bytes.org (pd9fe9dd8.dip0.t-ipconnect.de [217.254.157.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 3785C1C0BD3; Thu, 13 Jun 2024 11:17:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1718270274; bh=p8kzm0Lqep3ToXmg6GA1wy29eukb+Rh7R3EbC4CVU2E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1UjYE41bD/NcmQRCnVJomsWRUGxXqWEniAp3C1av6UHGGCxeJsJVvz1UMpy0ADzl8 axK/udNQmJ58gtGSPUv1XAQsYmAa0RZz6RaMgFzRLTBlJLe2Vst50arTuW0kytKUSH Ja3rxO/lrdPykBZWWalmTfZbkusXFJwbElW8QBm8TrIgtSfkkWJJk3Vpwf4APSdqdK WAA8FZMPB2MvewJjNqlU7F3dUj/EpmnnIf++VS2kDiXAWqW8u12B2EfxSHujVhwiA0 YzBsMPXgPRfBLgXSMVQsCCZFZAesOGkjcHIgpkCzfNwOew0uJiIHHfRn+UL9V42C61 VIna/FzOT+Uew== Date: Thu, 13 Jun 2024 11:17:53 +0200 From: Joerg Roedel To: Robin Murphy Cc: will@kernel.org, hch@infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/dma: Prune redundant pgprot arguments Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jun 04, 2024 at 01:39:09PM +0100, Robin Murphy wrote: > Somewhere amongst previous refactorings, the pgprot value in > __iommu_dma_alloc_noncontiguous() became entirely unused, and the one > used in iommu_dma_alloc_remap() can be computed locally rather than by > its one remaining caller. Clean 'em up. > > Signed-off-by: Robin Murphy > --- > drivers/iommu/dma-iommu.c | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-) Applied, thanks Robin.