Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3930957pxu; Tue, 20 Oct 2020 04:27:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1UeBveWLeSqPcm06Tr+o4vuurt6725u0W6Mr9s1Jf9IiJdtD6JtDKL183QCTp/hkY3qgP X-Received: by 2002:a17:906:53d6:: with SMTP id p22mr2573338ejo.517.1603193270929; Tue, 20 Oct 2020 04:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603193270; cv=none; d=google.com; s=arc-20160816; b=UCgStyFmt5CrCSoHH9xM5aF0wkoyQDFrzXx+SNH1dGANcbqL/5h3SYB2OZVQ4i0eVW lsvXvMwsNXhRtgQr7ZYGH0GoT8pRDibeLMDk2M4awOCKn/fVoZPQOPFTdvg9Yme1QKpq zlemg175RJp4uxkrk5DtlGFUxV0FR6tWuIobA06Khx8fBf7/FfbqYDDTuAs1PLhWsUe+ 1FnxywSRmYhW83Q7BOq9hzYfM/Jhtdgs8huo5JGzsKXeB6Nb7JTg43K8IhlWi2l5RJnI OXrQ9cPe/1KVIp6A1eyljQ2Q7cvCtT4JwQr/42g6juVOErqSrcHxH7oP+j4eJqwPVMBi uBMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=0NVDAJwiCNsVNKZWhlOY3xhwUPk6NysTziyLS+bYwFA=; b=pi2lPDX8VVDKwG4yDMoCRZm31HtAFLPY6ufpD0Ni2jliTPpFnVuN7XoQ9dlAJ2gqKl HLJXV2zvKzKcZwV9BZFTk3RO2u0HQZq/Ojx/6pqeuElbI204cK/9V88AKtJlJcWM2DZz GTTLPdPjSm1c4uhUQm9Mft12Dm02ZNTbj+MIO/qTbZ4HS/Qt7uaVSxsYgOOB7d6QQXYU 78ObyAS8qWVSjxwhyoaFHC7gBJMjVT5A/W9gcDg7hfi6ko1KqtELP6yBwCSqV/Xe5pBM K1OMraCs3rfbhwiCdOjJh7CMbubw2KA0I78PhnxljVoqvjkHMiqc6bIARNhzI+aN0z5T AtNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jkXrMeQB; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si950739edn.187.2020.10.20.04.27.28; Tue, 20 Oct 2020 04:27:50 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=jkXrMeQB; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730419AbgJTKMW (ORCPT + 99 others); Tue, 20 Oct 2020 06:12:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728448AbgJTKMW (ORCPT ); Tue, 20 Oct 2020 06:12:22 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8C69C061755; Tue, 20 Oct 2020 03:12:21 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id h6so1420521lfj.3; Tue, 20 Oct 2020 03:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0NVDAJwiCNsVNKZWhlOY3xhwUPk6NysTziyLS+bYwFA=; b=jkXrMeQBqT/RqdDiE/ziEbQ5Vs7eQ61+qAhI3VUOkmHvyGC/j6q66S3suiTy7Ednr0 2i+mzVSBxZLV8A/YRtAbUcRCAT8+tjy2NUxWPwVGYWSF40eEUoYrt/CxjPCx4Z75k7CE jb0+kOr29dZO4JjlS9PscvaW5UEr/iKfMC9Ij8AruYaifqDw10hVcdkrcmBXDEuqCkW9 NzHkLM2Py0Y6sX52YaFEtoqcT3Z3OpRI8DqhfHrdQc2VbXBSuHoZfIxd83ZqZX0lAEkQ 1DNHIgrnWAOqftqW3rvLM4TiyPbpSvEhH2VVQW0chvMs+ktnLxmtb1mZLNxgEl3wE7A1 2w2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0NVDAJwiCNsVNKZWhlOY3xhwUPk6NysTziyLS+bYwFA=; b=gGbI2zBrxQxFW0Et5BWPC9LszjdBZUrCHKMeWiSObYkIHIrppw8YY0F/F5uDdmGmmJ lboxFlVg6II7FdoXHk3Brcmav88q1vT2V0fLJIUjLg0eJDCAanFfubjofuiUIVDpYWWU 0XSmJYzFvQPAvsGAqvYnL/cICFoEEN+A4nfiFb2ih+lxL3FSGNs/zGcwNtiTClF51+AB 2BsafWlT8nD1I5jvWfTYwXlo2fXC8mWiVyNeZf28a8NNWyNsKGLtO3Yc05p7oebYj1AP pmRFXRBWajsobmyNonfRSaLKoODn0C83too3hwRLBZgLrF3dJP0Sd+i7UCJAZeVtWRyC npng== X-Gm-Message-State: AOAM532fR2IxGmKokl+TfL5utMZqcT5OiD14QZcyR+W9tkAvbZr906FF 0h+tm13YpVP2mLZ0KA45WozwRAI8RhlrDlYuEus= X-Received: by 2002:a19:7e8d:: with SMTP id z135mr747618lfc.158.1603188740418; Tue, 20 Oct 2020 03:12:20 -0700 (PDT) MIME-Version: 1.0 References: <20201019090657.131-1-zhenzhong.duan@gmail.com> <20201019090657.131-2-zhenzhong.duan@gmail.com> <7eec99d5-e36b-ee5b-5b6c-1486e453a083@redhat.com> In-Reply-To: <7eec99d5-e36b-ee5b-5b6c-1486e453a083@redhat.com> From: Zhenzhong Duan Date: Tue, 20 Oct 2020 18:12:08 +0800 Message-ID: Subject: Re: [PATCH 2/2] KVM: not link irqfd with a fake IRQ bypass producer To: Jason Wang Cc: linux-kernel , virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, netdev@vger.kernel.org, pbonzini@redhat.com, sean.j.christopherson@intel.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, Joerg Roedel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , mst@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 20, 2020 at 2:32 PM Jason Wang wrote: > > > On 2020/10/19 =E4=B8=8B=E5=8D=885:06, Zhenzhong Duan wrote: > > In case failure to setup Post interrupt for an IRQ, it make no sense > > to assign irqfd->producer to the producer. > > > > This change makes code more robust. > > > It's better to describe what issue we will get without this patch. I didn't see an issue without this patch. Regards Zhenzhong