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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E3AEC433FE for ; Thu, 30 Sep 2021 08:52:06 +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 1F9F761507 for ; Thu, 30 Sep 2021 08:52:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1F9F761507 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=meTWwvvX391RsuvJseusVjx/EnZBhxCmqKhWU/VjxrQ=; b=2DYClA6LhSisUa Sr/iZHoijwC831wv4zKq2Hblf93MfUoaxHmbAn1p/60YicOWqWTnAbPT8d8x2C2i3+XJTYd4RLcoY ZIro+BgNP5w+otzotiCB8EgXv5UWGN+gYKvaXNxYOxfK9q/hTy9PnCZc/N4yxF4F5I1AFnFfti/fW 4SP4W3kzI8OOKVYuVtucIG1LFTxYpysxbHUURgjiSaqZ1/ZaIEoQ8ADy6GdsmCuZMC+7PRG4UuYSz 58nv3NATg3sJSqbAkgno/YUbFdvl8kXagMTN1V3tffQntdkr26/MVMbzUklRILrJd9v48fiytD7gx /bru1Snq5Hku0gFKVv3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVrl8-00DTGq-T1; Thu, 30 Sep 2021 08:49:43 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVrl4-00DTFx-Or for linux-arm-kernel@lists.infradead.org; Thu, 30 Sep 2021 08:49:40 +0000 Received: by mail-wm1-x336.google.com with SMTP id r83-20020a1c4456000000b0030cfc00ca5fso7735431wma.2 for ; Thu, 30 Sep 2021 01:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=W9cgTk6h0wqbwfayatXQtxHz8mob4jZCCoq7sCyhp1s=; b=eDUuL0ja//PuyQ4fz3l1hxyHwsDpNJ5f3l6+0Y2z6OfrW7O1uddJSWX4e7FGcFAMa1 9LYUj8wO2yxSk/JUNdXvJq7aO5QrczADrIhrCk9uRBbQ4qb4YCaYdI/OVVhhAhSc5G8s f38pfWZD4da7JbtDolq6vbv3GKZ8vfXXVer4xPD4lYLWQ17RIz8v2SSckshCMfFywrWM UiwZcc3qwiw681dRJuv/gMZBn7y8RLyJtR85zXh0uCuxlNfSC+P54nKcc5Y5Owgqqw+o iI8GiFwU1oejKRoluZVITVWv/sZQoKnvBqERIZpoi/u+vWuFOaaQQIMW5dUWY+SfYO6U lExA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=W9cgTk6h0wqbwfayatXQtxHz8mob4jZCCoq7sCyhp1s=; b=G5DvZfKt+dn/EpZNC7cLneqGLGM5kHTKCdnX+IXrZ4uFGb8iY5leQa/fvtqiNTDueI CUGvQ2lxZzVIHlz8qE+C9dMJUB4WuK98mgU5Ha4avglMYcrGQI8tbR+fZx2OItibNuwv JX+/v/DdBOURr3FnXtSR4TJGvqNPm33dKpAvpQvuCDq0BE6Z0mymgC7vrOeDesdyWnkM E6kD69zpyLChqWev3+/H/P76C+6uYbqy08Krp9Bcd70RokGxoDWFTFKTOanR3fL1/47C V8Z2WULi+1N0fqrRqiu4Bf1X9kU6b0o3kEs6yuJGu26KK6ILQ+Z0sZ5mmDSPNvAb94MP ow2Q== X-Gm-Message-State: AOAM531kCh7iISZSMHZSuk3V+7+t82jypY9Jn4LNZsS7tP8M1F1/QWjf gYhJ3lpgY8RywfsGIz6+uf6bnQ== X-Google-Smtp-Source: ABdhPJx7UmI5t0e1WRrw+EyEdQREOHgR4PKY+8e7EznFDej38q+RoHIFqgsrXw9rDiLo5EFXAV7sIg== X-Received: by 2002:a7b:c948:: with SMTP id i8mr14365780wml.193.1632991777323; Thu, 30 Sep 2021 01:49:37 -0700 (PDT) Received: from myrica (cpc92880-cmbg19-2-0-cust679.5-4.cable.virginm.net. [82.27.106.168]) by smtp.gmail.com with ESMTPSA id n66sm2295448wmn.2.2021.09.30.01.49.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 01:49:36 -0700 (PDT) Date: Thu, 30 Sep 2021 09:49:16 +0100 From: Jean-Philippe Brucker To: Vivek Kumar Gautam Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, virtualization@lists.linux-foundation.org, joro@8bytes.org, will.deacon@arm.com, mst@redhat.com, robin.murphy@arm.com, eric.auger@redhat.com, kevin.tian@intel.com, jacob.jun.pan@linux.intel.com, yi.l.liu@intel.com, Lorenzo.Pieralisi@arm.com, shameerali.kolothum.thodi@huawei.com, Alex Williamson Subject: Re: [PATCH RFC v1 01/11] uapi/virtio-iommu: Add page request grp-id and flags information Message-ID: References: <20210423095147.27922-1-vivek.gautam@arm.com> <20210423095147.27922-2-vivek.gautam@arm.com> <3b490967-58b5-7c4a-2275-250e26d24aeb@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3b490967-58b5-7c4a-2275-250e26d24aeb@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210930_014938_858884_678BEE68 X-CRM114-Status: GOOD ( 13.24 ) 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 Thu, Sep 30, 2021 at 10:26:35AM +0530, Vivek Kumar Gautam wrote: > > I'm not sure why we made it 32-bit in Linux UAPI, it's a little wasteful. > > PCIe PRGI is 9-bits and SMMU STAG is 16-bits. Since the scope of the grpid > > is the endpoint, 16-bit means 64k in-flight faults per endpoint, which > > seems more than enough. > > Right, I will update this to 16-bits field. It won't be okay to update the > iommu uAPI now, right? Since there is no UAPI transport for the fault request/response at the moment, it should be possible to update it. Thanks, Jean _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel