Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1268693pxb; Thu, 16 Sep 2021 03:53:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhlVIxD4ljzq8e8QLS0ZSEe0kDXvD6eIRGtxZVIO9eRjdxvwuflabx3OLD+aBiPY7h+Oqq X-Received: by 2002:a92:da0c:: with SMTP id z12mr3410761ilm.120.1631789614461; Thu, 16 Sep 2021 03:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631789614; cv=none; d=google.com; s=arc-20160816; b=yMFb2roaEAOtmxSmd5DGHsD1CbqeFMKYmQEByGI7X+xIKBz8uHVvG8FtEPqspIycK1 S8rRqSodS/7gpHh3SLTeJwcweDcczRshVyCcVLVLILD12G6P0H6MGIeTiscio7jz2bfP U+klNddduWJB8vXVA/5Le6YjsFMKpEIcC8cKbt04DpWLrDiRcI2pWOoEW50M9JxX77a9 4lMjw6n7+j1hOqif4GmWwUOV1UfUpEG4mboIPNb/+JAjGq7fwSb6K451y/t0u2OHNzyd 14+Z8wmtUdQJSFssBnxRfzEK/BK2CHNkVP3IfexW5bqroxPZAPKMCyvm8OmSjujVSpck 8sUw== 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; bh=VNKbu9+xQ5ZpUtGvMTcqpK8Ho+xMSyVZ8+L+t3qGVwI=; b=g4O5vwrovzL6aQjEssnJ+rrnPRPy0lUeATqFVKrz+FiTCMW5hJ7sCD+23UNLhy363R eJI13flZMIO2UjhBsgRwBEijihqTtgTZOcpZwnGrd5FVnqurC6KcnABY/S64d7ZMV5B3 1M471Il0xx6pzADy7LeCbXVG9RWa4+W/3RaVYP9D8r1D2+5ohLdD9dSieHZYd2VGCazl lRcPfCVBvrFxLt7PThIkwJeBrxw12f3hy+YZz0Dcfr2WIisvdnN79kb3kWgL1HPg9D8B PhVHyFydYPKQPtQbgRneNF8/Qz6Mg8SPSah+sVXw1LzaKSLcrWYG57xcisFVTWOTFBgK 2yCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XSZj6K6W; 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 j4si2413963jaa.83.2021.09.16.03.53.23; Thu, 16 Sep 2021 03:53:34 -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=20210112 header.b=XSZj6K6W; 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 S237048AbhIPKxs (ORCPT + 99 others); Thu, 16 Sep 2021 06:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235487AbhIPKxr (ORCPT ); Thu, 16 Sep 2021 06:53:47 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7187DC061574; Thu, 16 Sep 2021 03:52:27 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id m26so5556456pff.3; Thu, 16 Sep 2021 03:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=VNKbu9+xQ5ZpUtGvMTcqpK8Ho+xMSyVZ8+L+t3qGVwI=; b=XSZj6K6WXxfevgNkMQWTVWN/pRsGZ48Hpf1aapa7yFejBTCFdA6HUCPwkA38CUvHOb 12EGRvxxebdCNuoE+ObAyvTNwWyxDdbNnDJYQNBCpkkMDkdT2sOdFGpKg9oYBfCBDwL0 XflKHpxQXjZ521DE/0ZBRDz1uCKiQSaIrItzbkcc7HCVprwqAzWPmTfhfdTuxhcGIkae 17ws4naiLQWag9g0raMGIBW/7G/5E7reQPZwNkqgzzUPtdDb0IjYRvViaMPYRdxPUde6 Bl5njgBd1GAcMu72JAentZ78PNGD3qywdjPZPtQPg3O6M2RygtB2NwLk/e/0AhwfWnul yMPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VNKbu9+xQ5ZpUtGvMTcqpK8Ho+xMSyVZ8+L+t3qGVwI=; b=L3EYCg0A4Z1ArY4xwg8/HPwxIxgjfaR3QGsYVQaksyx+FOo1Q4bf/BqQZzu/w9AIHT yiiGgsvny1PxeFpMRBSqJv/H+oiT5aLeBdDLeb+BRj7Z1JlPZxjy5LgHKYJwE1lHxAyU cFkuKXXjrWwLtMVUQas0snNCKz0pYAC/9QtghBvCs0QNj+vM0fb7G85I9QLX6TcEieLH hTGyE/3ZOqKQfuKq0sppMI3VDI/2MFrJSySxPPvglEqlXUlcrQTJXIAlT8Ab+RKsoR3v lbLFo0z5V35m2PMJCUPtY2hAzwy2OefR954lMmEUxlLup+MV59mZUpZMNlu+u2BkVG/U n5DA== X-Gm-Message-State: AOAM531ugxjHSZgg7RpjliV6siJ0Gvlu39H/XEwrOTmCNRf+jXxysCPm pCBP/6iMa4JSb169H5GIRVZWctTCMFdb/Q== X-Received: by 2002:a63:4614:: with SMTP id t20mr4441488pga.372.1631789546934; Thu, 16 Sep 2021 03:52:26 -0700 (PDT) Received: from ?IPv6:2404:f801:0:5:8000::50b? ([2404:f801:9000:18:efec::50b]) by smtp.gmail.com with ESMTPSA id 21sm2624212pfh.103.2021.09.16.03.52.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Sep 2021 03:52:26 -0700 (PDT) Subject: Re: [PATCH V5 07/12] Drivers: hv: vmbus: Add SNP support for VMbus channel initiate message To: Michael Kelley , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "wei.liu@kernel.org" , Dexuan Cui , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "x86@kernel.org" , "hpa@zytor.com" , "dave.hansen@linux.intel.com" , "luto@kernel.org" , "peterz@infradead.org" , "konrad.wilk@oracle.com" , "boris.ostrovsky@oracle.com" , "jgross@suse.com" , "sstabellini@kernel.org" , "joro@8bytes.org" , "will@kernel.org" , "davem@davemloft.net" , "kuba@kernel.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "hch@lst.de" , "m.szyprowski@samsung.com" , "robin.murphy@arm.com" , "brijesh.singh@amd.com" , Tianyu Lan , "thomas.lendacky@amd.com" , "pgonda@google.com" , "akpm@linux-foundation.org" , "kirill.shutemov@linux.intel.com" , "rppt@kernel.org" , "sfr@canb.auug.org.au" , "aneesh.kumar@linux.ibm.com" , "saravanand@fb.com" , "krish.sadhukhan@oracle.com" , "xen-devel@lists.xenproject.org" , "tj@kernel.org" , "rientjes@google.com" Cc: "iommu@lists.linux-foundation.org" , "linux-arch@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "netdev@vger.kernel.org" , vkuznets , "parri.andrea@gmail.com" , "dave.hansen@intel.com" References: <20210914133916.1440931-1-ltykernel@gmail.com> <20210914133916.1440931-8-ltykernel@gmail.com> From: Tianyu Lan Message-ID: <15d177f8-5e20-8630-2b2c-8a00a5309a61@gmail.com> Date: Thu, 16 Sep 2021 18:52:12 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/15/2021 11:41 PM, Michael Kelley wrote: >> diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h >> index 42f3d9d123a1..560cba916d1d 100644 >> --- a/drivers/hv/hyperv_vmbus.h >> +++ b/drivers/hv/hyperv_vmbus.h >> @@ -240,6 +240,8 @@ struct vmbus_connection { >> * is child->parent notification >> */ >> struct hv_monitor_page *monitor_pages[2]; >> + void *monitor_pages_original[2]; >> + unsigned long monitor_pages_pa[2]; > The type of this field really should be phys_addr_t. In addition to > just making semantic sense, then it will match the return type from > virt_to_phys() and the input arg to memremap() since resource_size_t > is typedef'ed as phys_addr_t. > OK. Will update in the next version. Thanks.