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 X-Spam-Level: X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23032C47082 for ; Tue, 8 Jun 2021 11:42:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E27461358 for ; Tue, 8 Jun 2021 11:42:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232183AbhFHLou (ORCPT ); Tue, 8 Jun 2021 07:44:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:39752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbhFHLot (ORCPT ); Tue, 8 Jun 2021 07:44:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 791EB61364; Tue, 8 Jun 2021 11:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623152577; bh=bY8DNkX7vzFlmdAwO/oaPooA1JibNQ9/EzESl4Fuy0s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vN/iDmxohvpkrpHSTgh8MhUcmx63RQRG/Nxlp6sMwZBn6On1oPgFBq1R5Tn4JApNp PjLM7/EJuwy85uF12XCr98DVywFSG+eSY0o4eJwSi8TMe+sYIwkgF5PhvLPlJiFk+d emy1LEfat7Lfu/dnAnqJ9TyC0znwHU00uyQJddcmG3wQ2LGDTehXRkVYTyWDZSk6C+ 4wiKMVUGS5Bagsd4W61/DnGWjKLb+FNZr9fJpRMifqDfbuudS5WguzPDnWilL0fsRw 2sZgEBrCJwxjgNqDyb4+wFHFURNizHxkbwGeg3ZvEJ78MkVsOqgtPblA1DQuH+ca/2 uLfh+6lSKKMNA== From: Will Deacon To: linux-kernel , iommu , Robin Murphy , Zhen Lei , linux-arm-kernel , Joerg Roedel Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon Subject: Re: [PATCH 1/1] iommu/arm-smmu-v3: Decrease the queue size of evtq and priq Date: Tue, 8 Jun 2021 12:42:37 +0100 Message-Id: <162314747848.3711241.13281936770478633279.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210531123553.9602-1-thunder.leizhen@huawei.com> References: <20210531123553.9602-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 May 2021 20:35:53 +0800, Zhen Lei wrote: > Commit d25f6ead162e ("iommu/arm-smmu-v3: Increase maximum size of queues") > expands the cmdq queue size to improve the success rate of concurrent > command queue space allocation by multiple cores. However, this extension > does not apply to evtq and priq, because for both of them, the SMMU driver > is the consumer. Instead, memory resources are wasted. Therefore, the > queue size of evtq and priq is restored to the original setting, one page. Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/arm-smmu-v3: Decrease the queue size of evtq and priq https://git.kernel.org/will/c/f115f3c0d5d8 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev 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 X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07D77C4743D for ; Tue, 8 Jun 2021 11:43:04 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BC1B961358 for ; Tue, 8 Jun 2021 11:43:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC1B961358 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 96746606EA; Tue, 8 Jun 2021 11:43:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PLZq6HbbAK5s; Tue, 8 Jun 2021 11:43:00 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTP id ACF666079D; Tue, 8 Jun 2021 11:42:59 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 84F00C000B; Tue, 8 Jun 2021 11:42:59 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5845BC0001 for ; Tue, 8 Jun 2021 11:42:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3D5534044D for ; Tue, 8 Jun 2021 11:42:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZKt80Vr9aX9h for ; Tue, 8 Jun 2021 11:42:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp4.osuosl.org (Postfix) with ESMTPS id 6487A40424 for ; Tue, 8 Jun 2021 11:42:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 791EB61364; Tue, 8 Jun 2021 11:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623152577; bh=bY8DNkX7vzFlmdAwO/oaPooA1JibNQ9/EzESl4Fuy0s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vN/iDmxohvpkrpHSTgh8MhUcmx63RQRG/Nxlp6sMwZBn6On1oPgFBq1R5Tn4JApNp PjLM7/EJuwy85uF12XCr98DVywFSG+eSY0o4eJwSi8TMe+sYIwkgF5PhvLPlJiFk+d emy1LEfat7Lfu/dnAnqJ9TyC0znwHU00uyQJddcmG3wQ2LGDTehXRkVYTyWDZSk6C+ 4wiKMVUGS5Bagsd4W61/DnGWjKLb+FNZr9fJpRMifqDfbuudS5WguzPDnWilL0fsRw 2sZgEBrCJwxjgNqDyb4+wFHFURNizHxkbwGeg3ZvEJ78MkVsOqgtPblA1DQuH+ca/2 uLfh+6lSKKMNA== From: Will Deacon To: linux-kernel , iommu , Robin Murphy , Zhen Lei , linux-arm-kernel , Joerg Roedel Subject: Re: [PATCH 1/1] iommu/arm-smmu-v3: Decrease the queue size of evtq and priq Date: Tue, 8 Jun 2021 12:42:37 +0100 Message-Id: <162314747848.3711241.13281936770478633279.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210531123553.9602-1-thunder.leizhen@huawei.com> References: <20210531123553.9602-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Mon, 31 May 2021 20:35:53 +0800, Zhen Lei wrote: > Commit d25f6ead162e ("iommu/arm-smmu-v3: Increase maximum size of queues") > expands the cmdq queue size to improve the success rate of concurrent > command queue space allocation by multiple cores. However, this extension > does not apply to evtq and priq, because for both of them, the SMMU driver > is the consumer. Instead, memory resources are wasted. Therefore, the > queue size of evtq and priq is restored to the original setting, one page. Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/arm-smmu-v3: Decrease the queue size of evtq and priq https://git.kernel.org/will/c/f115f3c0d5d8 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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 X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24B00C47082 for ; Tue, 8 Jun 2021 12:11:17 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E43C56124C for ; Tue, 8 Jun 2021 12:11:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E43C56124C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=IX+N9Mn5/cUkZcmEYlonpk6GAQelVTzeDJZM6Qio6vo=; b=g8H+ekjipjhpm/ WEXUCufRbODfWtxzuHaCfjWaolN9TdcbpDznuNWa5fRKDh5kGidlIyjWpWryr6dHGSX7IsuqvvQmH /a+ZE3+gXq/cr5t/2yu0oN1ybA+huhT0P2cdbc21Yq3KXCu7eBINKoA56Ax1LxrbEp46a9+AoltW4 IUULggSjSGBXxCX0vfUMx4uf6l0sTDgPtZ3vzfH/uQJdybG619IbgFRJQF6y/TOlwFY6/3FPYcIXg kHZuoVBh9rpUOEtB6Os1tT68q46ywc673y6GesL4NxSCZXe5FOsN5RZcaaid+6BareIticlGbH4mP /1rsHsRk5jlep/Edqobw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqaXe-008DuK-BR; Tue, 08 Jun 2021 12:09:11 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqa8H-0085tx-Dn for linux-arm-kernel@lists.infradead.org; Tue, 08 Jun 2021 11:43:01 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 791EB61364; Tue, 8 Jun 2021 11:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623152577; bh=bY8DNkX7vzFlmdAwO/oaPooA1JibNQ9/EzESl4Fuy0s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vN/iDmxohvpkrpHSTgh8MhUcmx63RQRG/Nxlp6sMwZBn6On1oPgFBq1R5Tn4JApNp PjLM7/EJuwy85uF12XCr98DVywFSG+eSY0o4eJwSi8TMe+sYIwkgF5PhvLPlJiFk+d emy1LEfat7Lfu/dnAnqJ9TyC0znwHU00uyQJddcmG3wQ2LGDTehXRkVYTyWDZSk6C+ 4wiKMVUGS5Bagsd4W61/DnGWjKLb+FNZr9fJpRMifqDfbuudS5WguzPDnWilL0fsRw 2sZgEBrCJwxjgNqDyb4+wFHFURNizHxkbwGeg3ZvEJ78MkVsOqgtPblA1DQuH+ca/2 uLfh+6lSKKMNA== From: Will Deacon To: linux-kernel , iommu , Robin Murphy , Zhen Lei , linux-arm-kernel , Joerg Roedel Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon Subject: Re: [PATCH 1/1] iommu/arm-smmu-v3: Decrease the queue size of evtq and priq Date: Tue, 8 Jun 2021 12:42:37 +0100 Message-Id: <162314747848.3711241.13281936770478633279.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210531123553.9602-1-thunder.leizhen@huawei.com> References: <20210531123553.9602-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210608_044257_520654_0CEA737A X-CRM114-Status: UNSURE ( 8.65 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 31 May 2021 20:35:53 +0800, Zhen Lei wrote: > Commit d25f6ead162e ("iommu/arm-smmu-v3: Increase maximum size of queues") > expands the cmdq queue size to improve the success rate of concurrent > command queue space allocation by multiple cores. However, this extension > does not apply to evtq and priq, because for both of them, the SMMU driver > is the consumer. Instead, memory resources are wasted. Therefore, the > queue size of evtq and priq is restored to the original setting, one page. Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/arm-smmu-v3: Decrease the queue size of evtq and priq https://git.kernel.org/will/c/f115f3c0d5d8 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel