Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3339842pxb; Mon, 16 Nov 2020 11:51:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJye/4p801eYJHntrUvy+mnYjKf9EaFL53dKiHvCVGv3TIfwDy5zS7bQ9NMFMAEa09rIQXo0 X-Received: by 2002:a17:906:5793:: with SMTP id k19mr16636787ejq.410.1605556286902; Mon, 16 Nov 2020 11:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605556286; cv=none; d=google.com; s=arc-20160816; b=lj93Bxrh/pbaaW7q+N43H3MlUkE5iaaIvOJsYlUBswd9RDgy/L54bt2gWvRF6hve3l 40OZnWhe7Cy+7RXfs+kGq9LhUnXdD4eGnpzkf2HrCZTlAUaPpaCmALACCcPsJY7J4Cfp NDfWyKNG3u+PC2aIaaZmMinGIVHi8KlUEO+jABPYm+p4rN03B9MmMMuB3je03JWinSm5 nwxJ2CQU/qOJnvl8n1nW5Ikybc9VtvqIoFfm65dD/RvjZcrJmxrocsXCFjCd7nntl7IY uVx213CHJpOxFBIPQkByxO9EzMEBkw5wK8BcLoMTioPPpBlR60nu2+zoTEFlOH3ybh4x f+xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LbuGc0/uWmZkkv1PjDNiiAipM9HKIfrFobewTRjKHTE=; b=wo4NlAufwV130tg+CycwX2t6ceSRkkypBts+UZXrUrrXX4s8sS4g6wIm0mdGNRKzvR yZHUePC/3aOVJLGmPNuNMHKT7gPYT3MDV+DbYWI5vMwMpl8/hcSU1xTCDcoBZyORaIxS lADwFKhgTUCThu8/qjKFasJ6Nlin7MCWlna+m9LWv5ErIHt+7S+E5mKWsdaCYcj0pAOy +NKq9mAw4ZAY0kcENCytiBJquPwxfzocUVxIo69mDvrC57Bf6toaRwTDTS/5p7KS5IWE w+MED+hzF0u98D7wrlGBqLzM1NlVdKZFkhoxN1nCvKucXTaAbbirf0JI6dkqhe3SW3YK HLZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hVlkDmmv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org ([23.128.96.18]) by mx.google.com with ESMTP id dt15si11667738ejb.248.2020.11.16.11.51.00; Mon, 16 Nov 2020 11:51:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hVlkDmmv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728903AbgKPKWs (ORCPT + 99 others); Mon, 16 Nov 2020 05:22:48 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:25601 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbgKPKWr (ORCPT ); Mon, 16 Nov 2020 05:22:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605522165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LbuGc0/uWmZkkv1PjDNiiAipM9HKIfrFobewTRjKHTE=; b=hVlkDmmvWJpZHrbsJM0QbIinysxGc5EVy2P8brl+gJrm6wdfbIRbsvLgtg9Ra+GsWxxgBQ MyHgr1SfX9cmsloNjWToGBpNneF9skAEqv9qcnboDlKMO4m1dOY4Bl0x7aCVvfaeZX1+AT IZqJzu6ATqCKHts3QVDoAxnvQgYjiy8= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-195-ZJYZjfIuNTahJEgdYrNYBg-1; Mon, 16 Nov 2020 05:22:43 -0500 X-MC-Unique: ZJYZjfIuNTahJEgdYrNYBg-1 Received: by mail-wm1-f72.google.com with SMTP id o19so10184765wme.2 for ; Mon, 16 Nov 2020 02:22:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=LbuGc0/uWmZkkv1PjDNiiAipM9HKIfrFobewTRjKHTE=; b=n0bR2nKAeS1rlW8kD1ZIbZI4bCyCb6J9zHn9IDur6q1QfMGmQP3gocGicyE5Dr04Pm QE9lguwqFO1KZUe4tZkLXsLKV2O1FBkjnPJc/iLekmezC9rzvxKQVocXXGJ9JWSlB9Jq wu4WLsdMqFYGPVRP5psHfkzCJMJmnNMvzbD6IJ4ymQl8AmPHlrX9nCUw/uPC3HX4GsDV lKfYjpNY/k5QL18wNmEa9ZWbFA4uM+tVLKfSh/6JtJ8en6v6nxKmAb8dPy8/glO8FSWY tB0CaI0Wx18/WRyYMzIeilXrDbhUUpDdkLS/h89TcFKpY1s+hEVesy4apDCeQEGxQFt0 KR6A== X-Gm-Message-State: AOAM530yRRYwWSWmxR1Z6BYaEA2XEnssAo9jX8tEnDrcUdcPxsCpvoza H5h7oHeekuv2qaUYq1jBB2v21Q/uECvVCHBHSF2YZuAJDqSHWFIHIsHh4RMfaHajOlCdLJ7a0iH 2n3izob4cIh8rEu6t8YfzA5c4 X-Received: by 2002:adf:9b95:: with SMTP id d21mr18023450wrc.335.1605522162408; Mon, 16 Nov 2020 02:22:42 -0800 (PST) X-Received: by 2002:adf:9b95:: with SMTP id d21mr18023430wrc.335.1605522162245; Mon, 16 Nov 2020 02:22:42 -0800 (PST) Received: from steredhat (host-79-17-248-175.retail.telecomitalia.it. [79.17.248.175]) by smtp.gmail.com with ESMTPSA id j71sm20107227wmj.10.2020.11.16.02.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 02:22:41 -0800 (PST) Date: Mon, 16 Nov 2020 11:22:39 +0100 From: Stefano Garzarella To: Jason Wang Cc: virtualization@lists.linux-foundation.org, Stefan Hajnoczi , Laurent Vivier , linux-kernel@vger.kernel.org, Eli Cohen , "Michael S. Tsirkin" , Max Gurtovoy Subject: Re: [PATCH RFC 05/12] vdpa_sim: remove the limit of IOTLB entries Message-ID: <20201116102239.bdqxbqfsdpbydkw2@steredhat> References: <20201113134712.69744-1-sgarzare@redhat.com> <20201113134712.69744-6-sgarzare@redhat.com> <67e0358e-0ae8-75e9-156f-4156f58387d9@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <67e0358e-0ae8-75e9-156f-4156f58387d9@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 16, 2020 at 12:12:21PM +0800, Jason Wang wrote: > >On 2020/11/13 下午9:47, Stefano Garzarella wrote: >>The simulated devices can support multiple queues, so this limit >>should be defined according to the number of queues supported by >>the device. >> >>Since we are in a simulator, let's simply remove that limit. >> >>Suggested-by: Jason Wang >>Signed-off-by: Stefano Garzarella > > >Acked-by: Jason Wang > >It would be good to introduce a macro instead of using the magic 0 here. Done. Thanks, Stefano