Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1468812pxj; Sat, 29 May 2021 15:00:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWZrV3cjpTF3mldNwzJ7bKEm/OOOkoHT3Ib2tYc4XW99WoIFHMzM7hWIpIUsPdW7az3zsl X-Received: by 2002:a05:6402:3587:: with SMTP id y7mr16995767edc.360.1622325622489; Sat, 29 May 2021 15:00:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622325622; cv=none; d=google.com; s=arc-20160816; b=YBHIeJ6YZ7UoiGkIxtGgs3/h7T6Q8pWpQtncqBw/ZI4WUMq3Nefyifrmj3VP/rHuGK 2S7FKKqu/nYbPoEYr9BbV/r44u832ftoRuLyITuH/osSAr+7BKBPeELZWLdE4sXuubzK 6YJ2IUhA2LykPr4nRoW2sIHAxrjLlnjyOLOrldic/AXySzLWeGflYMyJDYGwWtIQBgiR qAE4klOn2atEOUPQk0jU68FYSYCa1WtSXETufdPFSBLZlXdfYm4148imi/FFTI4QqfSM 2LnG3kQSWefihe+uO3z2yvpNhKn3mGXOdZjdRNP9752qmY7dcKNYXJEEUuCQWvB/lQ7d Wzzw== 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; bh=rkbfnMFIBjJ28sV3lmcDjwO88P3Jvg5MRuBy7DpTbY4=; b=dTTqNx38wp+aP0HmN/G/y3cdFmJ68OKPeQFHktAho/CwhfblNVv8ZVRa6wKlHvYTsE /NzET6P9VKKOJvQJpvhcGdtIsAoGtMe0WZwyLK8IgQNZdu9vtvunIEQlVB4xO9Prnu4W DiQC9yCqCXVrrWzSfWFkPSUHkeG60p71M7gKOj92b0wkq/mbPsWStm7PQyGnIGQhPo7z sQJNPPWra0PWYP+UAKNy31UsH+gPeR7CiatdaXo4iZ2wIEsskklIjaTd3W5Ht1617+wV BnIfvyw4Gx9m452Seq0DE0mYDMjxQMZ4SLJOHiwz+HVUuPPtqhOU7rsYK+WLL8hzMFi9 s/Xg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bg8si9215744ejb.508.2021.05.29.14.59.37; Sat, 29 May 2021 15:00:22 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229550AbhE2V53 (ORCPT + 99 others); Sat, 29 May 2021 17:57:29 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:38556 "EHLO mail-wm1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbhE2V53 (ORCPT ); Sat, 29 May 2021 17:57:29 -0400 Received: by mail-wm1-f53.google.com with SMTP id u4-20020a05600c00c4b02901774b80945cso6502267wmm.3; Sat, 29 May 2021 14:55:50 -0700 (PDT) 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:in-reply-to; bh=rkbfnMFIBjJ28sV3lmcDjwO88P3Jvg5MRuBy7DpTbY4=; b=ubpK27qmeUEcEYikODq08aeKKys+1feGJefPL2xYTxmjFRGGCU6bStVy5wOd9nepNx 7IpbaLoR86TP+ege/WwOIWmAIC0gK6ycKIoYdc36xm4FtHzY7P6+kd8TtHpmABh9Gq3Y rPRyG0EiOKy7SUwU8G+t0ra9yYZ/lPVooIbnVG1ffNl02jNiUJGZM/sSUAo3ZmBD9ZcJ VDNH1rL2AF+fmepy9F6DrQ66WeZ+t2OeowtH/DFSemAbbsM5iKT2bkBy9Ay1rEp1X+Zy RKRVilO9J7N2N+k9T1AZHOx1Z0/mxu7s6ZrRiUbDRhJev2gqB5shojTaUf1HBg1XrGUu Mafw== X-Gm-Message-State: AOAM533aUSY6fRtxHyHRTNWSIGyd1z5KW6R6pGzIdIobANMXplobLv8F FSWfSflAuEHm3cmIEtuXkwY= X-Received: by 2002:a05:600c:4f8b:: with SMTP id n11mr14453897wmq.11.1622325350394; Sat, 29 May 2021 14:55:50 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id b135sm9518073wmb.5.2021.05.29.14.55.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 14:55:49 -0700 (PDT) Date: Sat, 29 May 2021 21:55:48 +0000 From: Wei Liu To: Nuno Das Neves Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, mikelley@microsoft.com, viremana@linux.microsoft.com, sunilmut@microsoft.com, wei.liu@kernel.org, vkuznets@redhat.com, ligrassi@microsoft.com, kys@microsoft.com Subject: Re: [PATCH 12/19] drivers/hv: run vp ioctl and isr Message-ID: <20210529215548.okh67gtegsa4fd7r@liuwe-devbox-debian-v2> References: <1622241819-21155-1-git-send-email-nunodasneves@linux.microsoft.com> <1622241819-21155-13-git-send-email-nunodasneves@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1622241819-21155-13-git-send-email-nunodasneves@linux.microsoft.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 28, 2021 at 03:43:32PM -0700, Nuno Das Neves wrote: [...] > int mshv_synic_init(unsigned int cpu) > { > union hv_synic_simp simp; > @@ -30,7 +126,7 @@ int mshv_synic_init(unsigned int cpu) > *msg_page = memremap(simp.base_simp_gpa << HV_HYP_PAGE_SHIFT, > HV_HYP_PAGE_SIZE, > MEMREMAP_WB); > - if (!msg_page) { > + if (!(*msg_page)) { This hunk belongs to the previous patch in which you introduced this function, not this one. Wei.