Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1353222ybv; Thu, 20 Feb 2020 18:34:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxKpe6GUQoz+GrK1K/4deq1x+Z2C7MY5RkH5mNhxtdckunNqWEdqk0lquZcICfgW8ed3usd X-Received: by 2002:a05:6830:1f0c:: with SMTP id u12mr25755548otg.253.1582252455288; Thu, 20 Feb 2020 18:34:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582252455; cv=none; d=google.com; s=arc-20160816; b=YPhJjkPbUmOJhbA9/4uWrdErvmKXB9dMXQhRE+tiNW1oSVQ/Q2k6DTFLqFL0K3CVnw X2cCdG3WkhXg/gIqVvHkqdsg2suZlHlI4F++c8ByfAOC4pbEU5xnlgYBAEakvP/Gx0Op q8WjAVtZgkkgymASLAupJhzypYZ9BtQeXHTOD5LK3Ur5dg1UXkcs9i5d7j4/nLD48tu+ xxwjiYYvWpY0/jZq5ISwa8YFkweiTB9VYC25Q2i/iLK1k267ryvuW6BMrbUJxVV81qKJ AleT6P6AF5UXqW81ulhLEeZeTOGdLCgPcu+7XQP/KsGWahoQHjaB9A/kle6MDGWR2usa 0Gsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CJP5LjskY0xuyHpqzi/Sp0OFSxwmRBAuuNSOyFdMDrw=; b=NPjKrdYUw7lE+KDQOsQcPGekUsvq6vis7IPnu62rDZiiRdpkpIdXtO3i8Z8nFAP4g3 FeWWFFP/lcNZVdq0qGQ7CDyff6wk25G1p8BlUV2g5BUop8PgcNS0ujqmXwwmh79e9Cba i99KI5P5OiAZpbYhtV+qwsvuCvBFZoMjnVPaAhYDMFWSQYy0Or5jh3Hs3uiWQEztneeG DwH0mS8zwCdSQt37vC5GEhvRqeZawnzJWuWdSG4+jdM7wuVebiJXxYAjG+7koyeGCM5v Gt1SURhWnvQRFLr1iFWDf86Wxrh1RGIUTL97Xh9mhSHaioGV+k85rPaAeeXPl7Wa9HKD z88g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vLzlGE8R; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si727999otn.189.2020.02.20.18.34.00; Thu, 20 Feb 2020 18:34:15 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=vLzlGE8R; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729433AbgBUCdv (ORCPT + 99 others); Thu, 20 Feb 2020 21:33:51 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:38474 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729268AbgBUCdu (ORCPT ); Thu, 20 Feb 2020 21:33:50 -0500 Received: by mail-qt1-f195.google.com with SMTP id i23so283195qtr.5; Thu, 20 Feb 2020 18:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=CJP5LjskY0xuyHpqzi/Sp0OFSxwmRBAuuNSOyFdMDrw=; b=vLzlGE8Rc4j0z0misWUTgTTV4OEkdRDWO+AGyOAJoSj3Aekh80TjcLWegGnsawrj9I WnBwGlSjWApxCrR0HhHd+fbPigpt3KUTJkL0slgPyy2kxwzGMpr/NXUa1/EmCEO4mmFe Z0DWzqpmfGZrVLdRB61ZzDTMXwUQMVTHJIANmqMln0U99pk6Q37pEuDXdT32cMzPt00s k33BiEfASBiEXNYwx/u99yksKE5OBc5amDD74M6yNAFr4SPm9VAIqCKB308h09WLq9G7 GEXYcDSTY8CwZd11se0J8SNV0CEDZbOFQ6TUkAMp1ri7lqVpObNTaw/CX9KrQ34aG1Ol tFsA== 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=CJP5LjskY0xuyHpqzi/Sp0OFSxwmRBAuuNSOyFdMDrw=; b=nNrLox/tN54UM6KhbYeJiBQBCfFNCFMponIQbOCf/xi/vU0tCW03lwdeTd4Zg+/H6P Tg/U9pLK0M8guamqrDhvdWOf2RNuusFeNQ4IkjkgYjESTbeGuJY74YSND8idlaZPrFxh 3+52ehM2lVhYTzrcapvhpCNRISLG5FHAyF25+uRaGRC+6Ro219LY7F7H6x0850dHicIG OV/IZH82D4nhN0wzom3D1AO9Mb91GI3HQ83WrlnSbqottVj9ffHbOZGZH75rDbOJHe2D OKDDELAn1UeeoeGvX8AQaFHLr69NMrr24uXnbz1DdgdLH8V8ZpuAk3G/Ff4ONM+v5cc7 H7yw== X-Gm-Message-State: APjAAAUT664yx/bFARZ4mTrGmSQlHYTA2+eXUiLKGIqmsFQI6xGyLEdK +Pfp9oPafGBhgpiBTxCOPhY= X-Received: by 2002:aed:2a87:: with SMTP id t7mr29337838qtd.384.1582252429515; Thu, 20 Feb 2020 18:33:49 -0800 (PST) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com. [66.111.4.228]) by smtp.gmail.com with ESMTPSA id d185sm856433qkf.46.2020.02.20.18.33.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Feb 2020 18:33:48 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 5BE4021D25; Thu, 20 Feb 2020 21:33:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 20 Feb 2020 21:33:48 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeefgdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenog fuohhrthgvugftvggtihhpvdculdegtddmnecujfgurhepfffhvffukfhfgggtuggjseht tdertddttddvnecuhfhrohhmpeeuohhquhhnucfhvghnghcuoegsohhquhhnrdhfvghngh esghhmrghilhdrtghomheqnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphep hedvrdduheehrdduuddurdejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegsohhquhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhi thihqdeiledvgeehtdeigedqudejjeekheehhedvqdgsohhquhhnrdhfvghngheppehgmh grihhlrdgtohhmsehfihigmhgvrdhnrghmvg X-ME-Proxy: Received: from localhost (unknown [52.155.111.71]) by mail.messagingengine.com (Postfix) with ESMTPA id 58B213060F09; Thu, 20 Feb 2020 21:33:46 -0500 (EST) Date: Fri, 21 Feb 2020 10:33:44 +0800 From: Boqun Feng To: linux-pci@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Michael Kelley , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Sasha Levin , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, Lorenzo Pieralisi , Andrew Murray , Bjorn Helgaas Subject: Re: [PATCH v3 0/3] PCI: hv: Generify pci-hyperv.c Message-ID: <20200221023344.GJ69864@debian-boqun.qqnc3lrjykvubdpftowmye0fmh.lx.internal.cloudapp.net> References: <20200210033953.99692-1-boqun.feng@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200210033953.99692-1-boqun.feng@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ping ;-) Any suggestion or plan on this patchset? Thanks and Regards, Boqun On Mon, Feb 10, 2020 at 11:39:50AM +0800, Boqun Feng wrote: > Hi, > > This is the first part for virtual PCI support of Hyper-V guest on > ARM64. The whole patchset doesn't have any functional change, but only > refactors the pci-hyperv.c code to make it more arch-independent. > > Previous version: > v1: https://lore.kernel.org/lkml/20200121015713.69691-1-boqun.feng@gmail.com/ > v2: https://lore.kernel.org/linux-arm-kernel/20200203050313.69247-1-boqun.feng@gmail.com/ > > Changes since v2: > > * Rebased on 5.6-rc1 > > * Reword commit logs as per Andrew's suggestion. > > * It makes more sense to have a generic interface to set the whole > msi_entry rather than only the "address" field. So change > hv_set_msi_address_from_desc() to hv_set_msi_entry_from_desc(). > Additionally, make it an inline function as per the suggestion > of Andrew and Thomas. > > * Add the missing comment saying the partition_id of > hv_retarget_device_interrupt must be self. > > * Add the explanation for why "__packed" is needed for TLFS > structures. > > I've done compile and boot test of this patchset, also done some tests > with a pass-through NVMe device. > > Suggestions and comments are welcome! > > Regards, > Boqun > > Boqun Feng (3): > PCI: hv: Move hypercall related definitions into tlfs header > PCI: hv: Move retarget related structures into tlfs header > PCI: hv: Introduce hv_msi_entry > > arch/x86/include/asm/hyperv-tlfs.h | 41 +++++++++++++++++++++++++++ > arch/x86/include/asm/mshyperv.h | 8 ++++++ > drivers/pci/controller/pci-hyperv.c | 43 ++--------------------------- > 3 files changed, 52 insertions(+), 40 deletions(-) > > -- > 2.24.1 >