Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5422687rwj; Wed, 21 Dec 2022 02:24:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXvvSX8/zzacpjzQK51LO402zGn0EUSOhXKw5Cnc8/zZzSMiQdGwn7XcNy+u6yUJyC3SZ74B X-Received: by 2002:a17:906:684b:b0:832:54a:627e with SMTP id a11-20020a170906684b00b00832054a627emr961189ejs.25.1671618262714; Wed, 21 Dec 2022 02:24:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671618262; cv=none; d=google.com; s=arc-20160816; b=hOh3aSsA4N+Qr+kMA5nZ55VlHm8Y+ExmrYS7wWo9Tos5TwJuMH9Ji27ERUthXLl+m3 zRA9YJZRhVdz1rglnA0Opq/QRgMGrYKY28l4UjxbtqxzEFzmrKK3Tfv8GX+f3m1pqcp7 HaQmuWdIrWLqYeV5iHWC7aUPC+Asvg2/1NqXZT5l2UpcuAIEGGnPH+rzfG+csmgOtDhJ cDesnYcmdEUhxpf2nnO+vNl8R2GubPIAcMONeqzE05hs+ArvsCOCa8skYXXh1zZOzbl/ 6qp9oycvbEXEjErwzbOhwNSEmTYXSCmwMCH/xFbstB97xc8R8EfD2mb3iGN3EBjP1Rrl SeCA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nTgcQrziW5VujETu8NLZFtI7hg34vFn/f7FoknZcMU4=; b=T/sg/N7CRYNDuHIv+/vbS9T7sTOfmyFOyRGw/QoL6BXn6cZNG23YdN5y+Zu4BUhHLz Iqisve1dnQceENyDAjwnDToWJmWHGkqENFvKBW2Cm71cOiySdXgmMviJY9Y5KVBeZWDd 1qQWcgO00ClMuXI426ypdMXYJodUnbmzdhi60YMnNgih+3lZsJFfCsdEJnuR5HZ2QTs0 mgknYbIAzef1/KBj2669TsD7kDoufICXPVybeh3avxFUKn1YksMN5P04RDX608e9bHcr EW1sTSJ70tz9VJvtq5/XaLjItz5+mGBSZcF8MZ9h8bWOHudRbwGWjNxvx/6Rz899a71S rJiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UGfbo32F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ml17-20020a170906cc1100b0078db6f56d51si11143754ejb.808.2022.12.21.02.24.06; Wed, 21 Dec 2022 02:24:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UGfbo32F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234532AbiLUJzf (ORCPT + 69 others); Wed, 21 Dec 2022 04:55:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234697AbiLUJzC (ORCPT ); Wed, 21 Dec 2022 04:55:02 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7562A23EBC for ; Wed, 21 Dec 2022 01:50:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671616214; 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: in-reply-to:in-reply-to:references:references; bh=nTgcQrziW5VujETu8NLZFtI7hg34vFn/f7FoknZcMU4=; b=UGfbo32F488cpwO0LpzrjQL+BpW32Guq2yh+upGwfSJlMIxYRCDXw6BuPUZuMoVRpH0PEV +eR2jPc3lP1YkAc4icwhFcS4oAGEQQRoBr2qD0ILH9RvQpSRGx9c8gxnnSBW+HvuUdRwJq KbknctV91qMxJKQX9Z4Ylee/j0132kk= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-653-Ri5f2HGHNriPVdFkwf21GA-1; Wed, 21 Dec 2022 04:50:07 -0500 X-MC-Unique: Ri5f2HGHNriPVdFkwf21GA-1 Received: by mail-qv1-f71.google.com with SMTP id i18-20020ad44112000000b00523149d387eso713273qvp.16 for ; Wed, 21 Dec 2022 01:50:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nTgcQrziW5VujETu8NLZFtI7hg34vFn/f7FoknZcMU4=; b=g5sox/mHnki4qvVs4UaKomF7mlr99UZGIrOepRnE0hUcy9i0jD73RXLFvZnx5KZn6I Nb5tzsdt64GWjcbeJ6J2EF2rMIAoVmaFAizNzjgbGzuOijTjR9vuHxCvWIGZGVZL4rHI ahEH328+NbwIln3xIgRICrkYBScCkIartYciBcUFl4uxOACyJNrhollnVyTIi1J/AClJ QUSyakw+WOYjKbcsBxWXKqNbLZyL/bfkgs7vERZsomXCiO/VwsXAmJDBmZ/5v4LWkmId SSU2q7CfgGbsvyt9HjULQjAULfgD8pOm7u9x5Pxabvim51L+gV7wsk26US8z99+/oxVS djdg== X-Gm-Message-State: AFqh2kpfQpci6IHxszT6fDyHPurBlOks+n5I3Ju7GOdlBoTpz2oTppu/ L1tjyhq1wp98dg1fxgKFrRZWFq9gnV03JpSIY/toFHmNtm7TkoD9kcyBAbu16mVVConF+YLbJRM hVqYYpu1HCkZP3D0do/pkwV93 X-Received: by 2002:a05:6214:2d10:b0:513:520c:9180 with SMTP id mz16-20020a0562142d1000b00513520c9180mr1493840qvb.38.1671616206931; Wed, 21 Dec 2022 01:50:06 -0800 (PST) X-Received: by 2002:a05:6214:2d10:b0:513:520c:9180 with SMTP id mz16-20020a0562142d1000b00513520c9180mr1493823qvb.38.1671616206640; Wed, 21 Dec 2022 01:50:06 -0800 (PST) Received: from sgarzare-redhat (host-87-11-6-51.retail.telecomitalia.it. [87.11.6.51]) by smtp.gmail.com with ESMTPSA id br12-20020a05620a460c00b006faf76e7c9asm10558965qkb.115.2022.12.21.01.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Dec 2022 01:50:06 -0800 (PST) Date: Wed, 21 Dec 2022 10:50:00 +0100 From: Stefano Garzarella To: Eugenio Perez Martin Cc: virtualization@lists.linux-foundation.org, Jason Wang , Andrey Zhadchenko , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, "Michael S. Tsirkin" , stefanha@redhat.com, netdev@vger.kernel.org Subject: Re: [RFC PATCH 6/6] vdpa_sim: add support for user VA Message-ID: <20221221095000.m7bx26dohemrjql2@sgarzare-redhat> References: <20221214163025.103075-1-sgarzare@redhat.com> <20221214163025.103075-7-sgarzare@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 21, 2022 at 08:17:41AM +0100, Eugenio Perez Martin wrote: >On Wed, Dec 14, 2022 at 5:31 PM Stefano Garzarella wrote: >> >> The new "use_va" module parameter (default: false) is used in > >Why not true by default? I'd say it makes more sense for the simulator >to use va mode and only use pa for testing it. Yep, you are right. I'll change it in the version. I initially left it at false because we usually use the simulator to test the paths that would be used for the real hardware. Thanks, Stefano