From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 4C292C46467 for ; Thu, 19 Jan 2023 11:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:Cc: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UJD9oA1UAUUxZkSsHavP242FOWVxnaQEEPAPVPh6s1E=; b=EPWOLmjuOWkDvF x5/k7ixRl2vmWFBvg3cWQxx9ghVQeQwpmwt+O6y5uT6I+iJKkI/uzszPhnHXegErJReZokPXXZeiT dLKTqRMOI/O5Q5Kl8+hRZ+ALInAuZgid5zD3ALgwDjw+jkByuiKhwdDzVPr3RyffdDNiUj2bp2n6m 6sZuP9xxNLNGkr07Z3BG4ZhiE3mam01OYSsSJoPgNMWoIaV4zJB0W1hnDZwyaKko+4Wi9cjhO7mw9 YWw7tDsVlCmCkTcXCr8V53a27CTTceajTtZDC9YNst3KfHyMVh+8dA8HtgMCUhWPq4ssYZFSlI4hH oTFSOLqesW6w22IB3IdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pITOh-004dm2-7h; Thu, 19 Jan 2023 11:47:59 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pITOd-004dke-9o; Thu, 19 Jan 2023 11:47:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674128875; x=1705664875; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=DuOBg1V/kEEpNk+BV4bYqVrWJSOOFRR3sdWDamFrvt0=; b=F4wyTMFx5wuW2t3jdCnAWHtqhXaClbBJ9FADIrmsAJ/RFANVjSpXJ3C4 in7lP3/KlCyU+oFr4masD4A1ki0OeDJNbE4hsfO5zZHloNQVDaPp35gKq Z5ch68xkwvaemSEAV7FW2rmscLotYVF2iBcoxahg2d9ibqkno3o26Igwd HCc9FHtwxufmd7Nt557TBWN2MBdhwHduFENGJ48g+tMGaH2OZPIviyNWx 4dNBeGZbCXYECZ2+BrQDbZKTyeraT2GzEJGcQfoUjC2gkAH69mA1K4qsy i9Px1Bl11ntTvkX5Gz0qUx1r4QnbZPr5mtx9DNkaRp7kjgSAQ0Bl9ndd0 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="308821085" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="308821085" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:51 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="988957189" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="988957189" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.252.185.248]) ([10.252.185.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:45 -0800 Message-ID: <08c874f6-0c59-0b74-a2c8-7ad61356af6f@linux.intel.com> Date: Thu, 19 Jan 2023 19:47:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cc: baolu.lu@linux.intel.com, Alex Williamson , ath10k@lists.infradead.org, ath11k@lists.infradead.org, Christian Borntraeger , dri-devel@lists.freedesktop.org, iommu@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, linux-rdma@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-s390@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, nouveau@lists.freedesktop.org, Niklas Schnelle , virtualization@lists.linux-foundation.org Subject: Re: [PATCH v2 06/10] iommu/intel: Add a gfp parameter to alloc_pgtable_page() Content-Language: en-US To: Jason Gunthorpe , Joerg Roedel , Kevin Tian , Matthew Rosato , Robin Murphy References: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> From: Baolu Lu In-Reply-To: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_034755_445039_CAF01C05 X-CRM114-Status: UNSURE ( 5.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ath10k" Errors-To: ath10k-bounces+ath10k=archiver.kernel.org@lists.infradead.org On 2023/1/19 2:00, Jason Gunthorpe wrote: > This is eventually called by iommufd through intel_iommu_map_pages() and > it should not be forced to atomic. Push the GFP_ATOMIC to all callers. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Lu Baolu Best regards, baolu _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 0B2DBC00A5A for ; Thu, 19 Jan 2023 11:48:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:Cc: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=re5vfgV/Hh1sSuJKgP7ZdbQ43mKTHMjtPAU2A7mjTHY=; b=VidYgkeNGF6U4h rOrc7II27T7evqZAyL6aUXJiTJVuDH0tjvcTG1+Ui/Z+HFxB/1EQMJWwyui6EsvW1YHKzJMUT7kQ4 Rnjr/6ACbVVqOg4uKqRnRHjSCkhJZ9ZBbJYK8P3rIpCClB2dZZi+m6ZLfPIvr4/DuyWS5xNSvS9us 2WfWz0CxFnuoZMNXnoN28R/8DNyt9kP7mtNA6ILSTPGnkf/gQ2fCtnOcWH7fibcR1jkNmvL05yvXz XOQt3h6iVmcIywm8rjsMVgQ9XoJ2nrLLtecqf2JW5UuImw+lz+HTvKvZHKbzV6IEG3TkMynIfgBoG X6yawwFvi2PceyZ/8Ysw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pITOv-004dpP-0G; Thu, 19 Jan 2023 11:48:13 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pITOd-004dke-9o; Thu, 19 Jan 2023 11:47:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674128875; x=1705664875; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=DuOBg1V/kEEpNk+BV4bYqVrWJSOOFRR3sdWDamFrvt0=; b=F4wyTMFx5wuW2t3jdCnAWHtqhXaClbBJ9FADIrmsAJ/RFANVjSpXJ3C4 in7lP3/KlCyU+oFr4masD4A1ki0OeDJNbE4hsfO5zZHloNQVDaPp35gKq Z5ch68xkwvaemSEAV7FW2rmscLotYVF2iBcoxahg2d9ibqkno3o26Igwd HCc9FHtwxufmd7Nt557TBWN2MBdhwHduFENGJ48g+tMGaH2OZPIviyNWx 4dNBeGZbCXYECZ2+BrQDbZKTyeraT2GzEJGcQfoUjC2gkAH69mA1K4qsy i9Px1Bl11ntTvkX5Gz0qUx1r4QnbZPr5mtx9DNkaRp7kjgSAQ0Bl9ndd0 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="308821085" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="308821085" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:51 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="988957189" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="988957189" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.252.185.248]) ([10.252.185.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:45 -0800 Message-ID: <08c874f6-0c59-0b74-a2c8-7ad61356af6f@linux.intel.com> Date: Thu, 19 Jan 2023 19:47:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cc: baolu.lu@linux.intel.com, Alex Williamson , ath10k@lists.infradead.org, ath11k@lists.infradead.org, Christian Borntraeger , dri-devel@lists.freedesktop.org, iommu@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, linux-rdma@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-s390@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, nouveau@lists.freedesktop.org, Niklas Schnelle , virtualization@lists.linux-foundation.org Subject: Re: [PATCH v2 06/10] iommu/intel: Add a gfp parameter to alloc_pgtable_page() Content-Language: en-US To: Jason Gunthorpe , Joerg Roedel , Kevin Tian , Matthew Rosato , Robin Murphy References: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> From: Baolu Lu In-Reply-To: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_034755_445039_CAF01C05 X-CRM114-Status: UNSURE ( 5.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ath11k" Errors-To: ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org On 2023/1/19 2:00, Jason Gunthorpe wrote: > This is eventually called by iommufd through intel_iommu_map_pages() and > it should not be forced to atomic. Push the GFP_ATOMIC to all callers. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Lu Baolu Best regards, baolu -- ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09F30C38159 for ; Fri, 20 Jan 2023 04:54:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231197AbjATEyK (ORCPT ); Thu, 19 Jan 2023 23:54:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230481AbjATExr (ORCPT ); Thu, 19 Jan 2023 23:53:47 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BA3BCE8A2; Thu, 19 Jan 2023 20:45:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674189914; x=1705725914; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=DuOBg1V/kEEpNk+BV4bYqVrWJSOOFRR3sdWDamFrvt0=; b=DpH5Gz6m8iV2ch09fwLFA5GAnqlxbeNoa7S3bI/YFsVgN87LhKKoHb0Q cSCYdT3KmY8GtvjtNyqfoyZjFlZdvPRAzezNcOKx6+isXeCmUB45fV3DF 026+DbQtNrLVHraaQW0P2BkA1avJfJCRa80U8itPz7XQ3IEFFPIYbClxs 28pG13X7QphCrYMsq60VrkQyCLoGnlbwbBVjTPl45e3wWdRgqLxggzixe SAA5swOR1eMGWiVdWM7YFfhsxGvQQy2A0iZNyMvQ//2lqzy3XrGkXktPN QJ1loYld9EDGI/1Qb4zzbto8KYzzKZkmUqKFZsbc6A6sRmm5zTKHoGxD2 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="308821076" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="308821076" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:51 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="988957189" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="988957189" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.252.185.248]) ([10.252.185.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:45 -0800 Message-ID: <08c874f6-0c59-0b74-a2c8-7ad61356af6f@linux.intel.com> Date: Thu, 19 Jan 2023 19:47:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cc: baolu.lu@linux.intel.com, Alex Williamson , ath10k@lists.infradead.org, ath11k@lists.infradead.org, Christian Borntraeger , dri-devel@lists.freedesktop.org, iommu@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, linux-rdma@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-s390@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, nouveau@lists.freedesktop.org, Niklas Schnelle , virtualization@lists.linux-foundation.org Subject: Re: [PATCH v2 06/10] iommu/intel: Add a gfp parameter to alloc_pgtable_page() Content-Language: en-US To: Jason Gunthorpe , Joerg Roedel , Kevin Tian , Matthew Rosato , Robin Murphy References: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> From: Baolu Lu In-Reply-To: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 2023/1/19 2:00, Jason Gunthorpe wrote: > This is eventually called by iommufd through intel_iommu_map_pages() and > it should not be forced to atomic. Push the GFP_ATOMIC to all callers. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Lu Baolu Best regards, baolu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 DF697C7EE26 for ; Thu, 4 May 2023 12:33:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2788010E459; Thu, 4 May 2023 12:33:04 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 480E910E914; Thu, 19 Jan 2023 11:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674128872; x=1705664872; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=DuOBg1V/kEEpNk+BV4bYqVrWJSOOFRR3sdWDamFrvt0=; b=GUc1sDL2PLjN2+V+ZitG8REELvXg2ry77rnL1wALEEp9g7zCLSwtkvhP 2GEG53DjwoA7MfgR/pV33eujZZCrD8Lc95Rb9kpwdpV4DLV69thjCb8+Y 2g/8F/8h9/X2fOGgOFvyOLZKw9aUQxSGE3TF2N2obI0bexlZivji6/uUz Pgm4qrguFrApgul0eZ1z0PWYaTGsC1sFuzQB25cknUn6XFl/+zjOKriR/ k0A//aYL/4Bv5kuSZhHP9C13jk3sDtFkq7MwY8iU5N/kXWUm11HQJLEKl hWs6L0dsW+vW51TNVYm8UG0RWo4pPV/qzgL/+9UQabnZU6sLtHbIWxQdK w==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="308821077" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="308821077" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:51 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="988957189" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="988957189" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.252.185.248]) ([10.252.185.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:45 -0800 Message-ID: <08c874f6-0c59-0b74-a2c8-7ad61356af6f@linux.intel.com> Date: Thu, 19 Jan 2023 19:47:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: Jason Gunthorpe , Joerg Roedel , Kevin Tian , Matthew Rosato , Robin Murphy References: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> From: Baolu Lu In-Reply-To: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 04 May 2023 12:31:34 +0000 Subject: Re: [Nouveau] [PATCH v2 06/10] iommu/intel: Add a gfp parameter to alloc_pgtable_page() X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-s390@vger.kernel.org, linux-media@vger.kernel.org, kvm@vger.kernel.org, nouveau@lists.freedesktop.org, linux-rdma@vger.kernel.org, linux-arm-msm@vger.kernel.org, Niklas Schnelle , linux-remoteproc@vger.kernel.org, iommu@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, Alex Williamson , netdev@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-tegra@vger.kernel.org, Christian Borntraeger , virtualization@lists.linux-foundation.org, ath11k@lists.infradead.org, linux-arm-kernel@lists.infradead.org, baolu.lu@linux.intel.com Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On 2023/1/19 2:00, Jason Gunthorpe wrote: > This is eventually called by iommufd through intel_iommu_map_pages() and > it should not be forced to atomic. Push the GFP_ATOMIC to all callers. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Lu Baolu Best regards, baolu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 960D5C00A5A for ; Thu, 19 Jan 2023 11:49: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:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:Cc: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FJcOk0xCLDz0t5HPO8KJkopHKtfvS6WDsMSwCjKCNkc=; b=ce995FLZV+SF6l XiqXcj7gIMRvKlyRgScpbEEb/K8P3JyIIkk8rzhxILz9sD2X6mPFbs1Ul0KISv8XNuUjv8tiSdB3K 7b7oKIBDB7htmoD4Y18gIusMBxWhds7yVlOoDoThOPOkcf1goG61slb95YxzQupPWbNIWsnqKL15s sc0iSw6kFD51zvNSqnmDZ/WFYdhncZKafVQX3w24i+LQhgl911hD7t3JAJA1xz7mKU+Vo/CI7lkLF yhxFBjcGjOMzwfX4WdI8lEaVqCObhDwDPYBNQuV5NJcpSs/vulOBLtpGEaMBCk+6GVwnNjyeFkACJ u+tMU0LNHk4rBAc0lE5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pITOm-004dmp-NM; Thu, 19 Jan 2023 11:48:04 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pITOd-004dke-9o; Thu, 19 Jan 2023 11:47:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674128875; x=1705664875; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=DuOBg1V/kEEpNk+BV4bYqVrWJSOOFRR3sdWDamFrvt0=; b=F4wyTMFx5wuW2t3jdCnAWHtqhXaClbBJ9FADIrmsAJ/RFANVjSpXJ3C4 in7lP3/KlCyU+oFr4masD4A1ki0OeDJNbE4hsfO5zZHloNQVDaPp35gKq Z5ch68xkwvaemSEAV7FW2rmscLotYVF2iBcoxahg2d9ibqkno3o26Igwd HCc9FHtwxufmd7Nt557TBWN2MBdhwHduFENGJ48g+tMGaH2OZPIviyNWx 4dNBeGZbCXYECZ2+BrQDbZKTyeraT2GzEJGcQfoUjC2gkAH69mA1K4qsy i9Px1Bl11ntTvkX5Gz0qUx1r4QnbZPr5mtx9DNkaRp7kjgSAQ0Bl9ndd0 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="308821085" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="308821085" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:51 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="988957189" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="988957189" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.252.185.248]) ([10.252.185.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:45 -0800 Message-ID: <08c874f6-0c59-0b74-a2c8-7ad61356af6f@linux.intel.com> Date: Thu, 19 Jan 2023 19:47:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cc: baolu.lu@linux.intel.com, Alex Williamson , ath10k@lists.infradead.org, ath11k@lists.infradead.org, Christian Borntraeger , dri-devel@lists.freedesktop.org, iommu@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, linux-rdma@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-s390@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, nouveau@lists.freedesktop.org, Niklas Schnelle , virtualization@lists.linux-foundation.org Subject: Re: [PATCH v2 06/10] iommu/intel: Add a gfp parameter to alloc_pgtable_page() Content-Language: en-US To: Jason Gunthorpe , Joerg Roedel , Kevin Tian , Matthew Rosato , Robin Murphy References: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> From: Baolu Lu In-Reply-To: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_034755_445039_CAF01C05 X-CRM114-Status: UNSURE ( 5.67 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2023/1/19 2:00, Jason Gunthorpe wrote: > This is eventually called by iommufd through intel_iommu_map_pages() and > it should not be forced to atomic. Push the GFP_ATOMIC to all callers. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Lu Baolu Best regards, baolu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 DCCA9C00A5A for ; Thu, 19 Jan 2023 11:47:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EB37E10E914; Thu, 19 Jan 2023 11:47:53 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 480E910E914; Thu, 19 Jan 2023 11:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674128872; x=1705664872; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=DuOBg1V/kEEpNk+BV4bYqVrWJSOOFRR3sdWDamFrvt0=; b=GUc1sDL2PLjN2+V+ZitG8REELvXg2ry77rnL1wALEEp9g7zCLSwtkvhP 2GEG53DjwoA7MfgR/pV33eujZZCrD8Lc95Rb9kpwdpV4DLV69thjCb8+Y 2g/8F/8h9/X2fOGgOFvyOLZKw9aUQxSGE3TF2N2obI0bexlZivji6/uUz Pgm4qrguFrApgul0eZ1z0PWYaTGsC1sFuzQB25cknUn6XFl/+zjOKriR/ k0A//aYL/4Bv5kuSZhHP9C13jk3sDtFkq7MwY8iU5N/kXWUm11HQJLEKl hWs6L0dsW+vW51TNVYm8UG0RWo4pPV/qzgL/+9UQabnZU6sLtHbIWxQdK w==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="308821077" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="308821077" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:51 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="988957189" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="988957189" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.252.185.248]) ([10.252.185.248]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 03:47:45 -0800 Message-ID: <08c874f6-0c59-0b74-a2c8-7ad61356af6f@linux.intel.com> Date: Thu, 19 Jan 2023 19:47:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 06/10] iommu/intel: Add a gfp parameter to alloc_pgtable_page() Content-Language: en-US To: Jason Gunthorpe , Joerg Roedel , Kevin Tian , Matthew Rosato , Robin Murphy References: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> From: Baolu Lu In-Reply-To: <6-v2-ce66f632bd0d+484-iommu_map_gfp_jgg@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-s390@vger.kernel.org, linux-media@vger.kernel.org, kvm@vger.kernel.org, nouveau@lists.freedesktop.org, linux-rdma@vger.kernel.org, linux-arm-msm@vger.kernel.org, Niklas Schnelle , linux-remoteproc@vger.kernel.org, iommu@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, Alex Williamson , netdev@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-tegra@vger.kernel.org, Christian Borntraeger , virtualization@lists.linux-foundation.org, ath11k@lists.infradead.org, linux-arm-kernel@lists.infradead.org, baolu.lu@linux.intel.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2023/1/19 2:00, Jason Gunthorpe wrote: > This is eventually called by iommufd through intel_iommu_map_pages() and > it should not be forced to atomic. Push the GFP_ATOMIC to all callers. > > Signed-off-by: Jason Gunthorpe Reviewed-by: Lu Baolu Best regards, baolu