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