Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3774622pxj; Tue, 1 Jun 2021 12:51:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB57aeAhrxFCGgbOVXoWm1GgSDtWauqOJ3vQm6jMfldIIna879ok2WJqvpSmAa85ZI5BCJ X-Received: by 2002:a05:6402:524b:: with SMTP id t11mr1133438edd.327.1622577067484; Tue, 01 Jun 2021 12:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622577067; cv=none; d=google.com; s=arc-20160816; b=gRJ9J11Mj9sZTVSFJTlwSMT6r1+cXFWJE/UBh0fhstFgdb87DAFpcOVzrxn9WOYx3/ 6Ee69sSnpJtHlnOvMl6DtvY1ArViRBov44IohW/MH7sUCunlnlh51t8aVYOv6BZhB6TN Wgyy4MB1eXr1Y6J7xDGFXKWmE4nXBqoaM7ydKsxgNx3PzEnef84NdG2j0GBILukGXuwH /7uRrIeYoUHw6cgFRBrJWM6B1Zmp9DHcbMu+KSTIWJ7wpj8lr6CIb0dwHnKX2+VzTnLw 2BKtYWpqZkZcC6Zki2ZzHc1yqKvt8x15x7CzEVQ6pJsnqcopCBbl4DY5v0p7baAmgzc/ GGtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=xXzSz4LZw1/ZO+01nLWKVaD5NSJhnMXplG+1InI/WbI=; b=N4//dl8oREIsaXBUWajeicsT1h7cG9x935X3oFnHMa5cwwUTDaWuU3wPQrN1ELvdg3 3lX+DV1wCdLDIAqJqiwlONp0jUmgC7JkKMvTlwmuO305FBE8psxin93yuwkw+AKTRdFh HdzZEot0i2CG4olvQ7fjJPnBOvs+sYNyGrz7t6eD4l0G9otFiMSqJ3QC/A6fug7d7LOb hO7b2v1xsnfl8AH2ulnMhKe9wVeO1I/c6XAXN88gETpjUM9dRUBmKJCWt3wuFg4DCW5M 6orFj+zn5YE4n/HNJIx/gc8ZLmWxBbZ4Cq9YHeSxmog/6yAFBl4chRN4HF5ouGY5JwY4 FgEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="P2uhv/LD"; 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=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mp6si14897822ejc.146.2021.06.01.12.50.43; Tue, 01 Jun 2021 12:51:07 -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=@linux.microsoft.com header.s=default header.b="P2uhv/LD"; 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=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234734AbhFATv1 (ORCPT + 99 others); Tue, 1 Jun 2021 15:51:27 -0400 Received: from linux.microsoft.com ([13.77.154.182]:56462 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233853AbhFATv0 (ORCPT ); Tue, 1 Jun 2021 15:51:26 -0400 Received: from [10.0.0.178] (c-67-168-106-253.hsd1.wa.comcast.net [67.168.106.253]) by linux.microsoft.com (Postfix) with ESMTPSA id 9EB9A20B7178; Tue, 1 Jun 2021 12:49:44 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9EB9A20B7178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1622576984; bh=xXzSz4LZw1/ZO+01nLWKVaD5NSJhnMXplG+1InI/WbI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=P2uhv/LDXDMRpNcqU4fhFltuwsqIwWI3vZPiHlrprAHTZz0gWvclkmrBLlZ3qxMXg BZuyGG/U2J8xUHnhDXk81CoM2e+3eoonuPfu0kqzW4JVbY9TUdtpWEXh/sNhCFDIpk lZoomm+Z/zVX7uB60TgS/Gd5q9tQz7xRBLItZzpw= Subject: Re: [PATCH 12/19] drivers/hv: run vp ioctl and isr To: Wei Liu 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, vkuznets@redhat.com, ligrassi@microsoft.com, kys@microsoft.com References: <1622241819-21155-1-git-send-email-nunodasneves@linux.microsoft.com> <1622241819-21155-13-git-send-email-nunodasneves@linux.microsoft.com> <20210529215548.okh67gtegsa4fd7r@liuwe-devbox-debian-v2> From: Nuno Das Neves Message-ID: <35ef9495-df4e-ef3e-e730-c3708bbfe6bd@linux.microsoft.com> Date: Tue, 1 Jun 2021 12:49:46 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210529215548.okh67gtegsa4fd7r@liuwe-devbox-debian-v2> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/29/2021 2:55 PM, Wei Liu wrote: > 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. > Hmm I think I messed up a rebase. Thanks for catching it!