Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1026491ybp; Fri, 4 Oct 2019 08:30:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyofQAJLDZzXV5DcpPAMTrZz9MsTeBTgEQ3LtK13I5sJyQ92w9UH3uB6UuXSU9PgczYupyS X-Received: by 2002:a17:906:1e16:: with SMTP id g22mr13041505ejj.14.1570203048623; Fri, 04 Oct 2019 08:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570203048; cv=none; d=google.com; s=arc-20160816; b=kfxnvwTaro09cjGIxs2vUnLev3yelOBztYxg7607sxx6VTg+jxBK9s/GPZtV3uMVFK 2i/u3302AnVHKsoBStHCmDFKdEukT81S3tTnLCzCAxG0En+Wp+QdFxcOCh29Is3ZZ3CA BhSBwTQZxhaRuI60rtVniuhGdPXiE0kiljcYJcix4KhHU3pdaGvm+fZW1JGcDIAJzax1 G5bil1y81w/Qk6Velt0ZzQACGhWlPMTwz4WRPt9dAUgcRsuNDPZ0WPeXsuRcfZ5lSvAB op1gMkx081z7Dvu/U1hUmf9q1EQ7PS688Su/aG0v27J7hxyXIMiCw6Ufc3VObcfy4uM/ wpvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kTrH9gq9bbYGO1DtKlnjFKEMn/+dtAvdg5gvJqqHIao=; b=G5K+O1180bMswCavl7IxwEpQz2Ev1dpcD0fdLNaCrMC76crAFNIoOD1/MXuOkpB5Pj 2kVcJDY3CjYkujpSqhX1RWlkQCobGQr+5p28MykQPiST3jRDwUGWC1aJHuhq74TYIh8U yUNLA/oSkCaYUedlXCX74wKmjlz6mT04sRGya+nHMMEGiv0UGTDrnZIJzxxxsrJ6y0Kw FgyoOI2K5k8YW6tA3W/Xrx/eMM3F+gBILPnOId7gNbwBa1zTMOiAicO/3+5JLE4p9QjJ 9KTobkTwU5jOMKj5x1Q2Bld5q0Ovvu5+glc/mU7ZegDMA7JeaET7yCAZTof0H2L997m7 Dw+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MHsckrCN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id b8si3125088eju.351.2019.10.04.08.30.24; Fri, 04 Oct 2019 08:30:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MHsckrCN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2389797AbfJDP3g (ORCPT + 99 others); Fri, 4 Oct 2019 11:29:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:59338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389086AbfJDP3f (ORCPT ); Fri, 4 Oct 2019 11:29:35 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B024820873; Fri, 4 Oct 2019 15:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570202975; bh=+rHNNYut7o8YfUTtQQNfhljadinAJHDEp+EqN59+kGo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MHsckrCN9PJhU9rhwNJbWaQJXBaduSb6iiknS6yefSHeCLPGIIewQveXTgJOsPyz7 nj78/PUkFKvFLQHNvrQVmzJeA9lcE6T33vf8VBBAD0/2HF6GLtpCizKNAjRuUgERo8 WHxJRRTx1zCxxhgD0qyx02AyNebnjEqy70gktQq4= Date: Fri, 4 Oct 2019 11:29:33 -0400 From: Sasha Levin To: Michael Kelley Cc: Himadri Pandya , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "tglx@linutronix.de" , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "himadri18.07" Subject: Re: [PATCH 0/2] Drivers: hv: Specify buffer size using Hyper-V page size Message-ID: <20191004152933.GI17454@sasha-vm> References: <20190725050315.6935-1-himadri18.07@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 04, 2019 at 11:40:21PM +0000, Michael Kelley wrote: >From: Himadri Pandya Sent: Wednesday, July 24, 2019 10:03 PM >> >> recv_buffer and VMbus ring buffers are sized based on guest page size >> which Hyper-V assumes to be 4KB. It might not be the case for some >> architectures. Hence instead use the Hyper-V page size. >> >> Himadri Pandya (2): >> Drivers: hv: Specify receive buffer size using Hyper-V page size >> Drivers: hv: util: Specify ring buffer size using Hyper-V page size >> >> drivers/hv/hv_fcopy.c | 3 ++- >> drivers/hv/hv_kvp.c | 3 ++- >> drivers/hv/hv_snapshot.c | 3 ++- >> drivers/hv/hv_util.c | 13 +++++++------ >> 4 files changed, 13 insertions(+), 9 deletions(-) >> >> -- >> 2.17.1 > >Thomas -- can you pick up this patch set in the x86/hyperv branch >of your tip tree along with the other patches to fix wrong page size >assumptions? I've queued these two for hyperv-next, thanks! -- Thanks, Sasha