Message ID | 168079806973.14175.17999267023207421381.stgit@skinsburskii.localdomain |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp522409vqo; Fri, 7 Apr 2023 13:58:42 -0700 (PDT) X-Google-Smtp-Source: AKy350ZYlByNPmpfAeDtMLcueiuj3NxTkMVslFHOY5WDeAkkee+msSIjfioLtWSA1m0rtVUo1W+r X-Received: by 2002:a05:6402:1a57:b0:4fb:4fc2:e600 with SMTP id bf23-20020a0564021a5700b004fb4fc2e600mr2355835edb.42.1680901122113; Fri, 07 Apr 2023 13:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680901122; cv=none; d=google.com; s=arc-20160816; b=vs20dfeobTCj6zjsCYPiti5zjAGR6OvV/6x3+gEw00fN6p2NfqXVKVWgyqIN7+9HUN 5RHGM7nf09vKipQ/l8kBM4eIu6hzmOdXzjg8yCOsg9AvX7bcHHjV/uwTJ+wSrSARvoN0 TEi7bUNyCMOnBkpoMBRUItlTiqkm/5T58OpUtrGQmlVSXvaX06uKGulLvFu9W0Eej8nc yW0FJlla8dB7WFWP4RebEo6WiNO5NSly8EZhrLNekg4Zz9s8TDAt/lz0FHbHqReTC6zx Cv/hu9iYwxVfC7CvV0QlBt/YAvPEp3ppyb6ExuRcSxXg3Bh6/x8KQ3lsh1zNv5wkZUJT UvAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:from:subject:dkim-signature :dkim-filter; bh=YRUkOLHXWLdwt0GZfM9eUMnSSmOnnB/oKT8xHXr5G0k=; b=euKmdsxAw7P6IqOq30h8uEOOx+GaP+DSWbSL0Pg2jW0Yr8HdDLHd/AUvJbVMuyTgBt +K9ZPt44vaLXquPSN32ZBUdZsGmvkcKbOVbmNZUhGADFK1Eh/GeiePsqe2bbVnjP/uOC 68Ebt15Z/w6rTlIGhAjcoxCV3pEd79bNC+auwqYnAEBKJrBQNToEekucqzKB6d10Pc3k oHOQVecwDlfScekyCn9fp3ff/NKewtDY3THZPFcSd/4Rk/rG003pWZ5TtlFU7kR2peC3 gvvgO2hu565lEx4JR+gEodsefFuRgBzqpVk5GvWjZqvXCwuLpwQ6MYRI02WaOBZq7g13 2LUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="mgve/Nmy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020aa7d44f000000b00501dd7cb827si3962663edr.285.2023.04.07.13.57.49; Fri, 07 Apr 2023 13:58:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="mgve/Nmy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229948AbjDGU4n (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Fri, 7 Apr 2023 16:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjDGU4h (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 7 Apr 2023 16:56:37 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 252CD7ABA; Fri, 7 Apr 2023 13:56:37 -0700 (PDT) Received: from skinsburskii.localdomain (unknown [131.107.1.229]) by linux.microsoft.com (Postfix) with ESMTPSA id 6BFFF213B62E; Fri, 7 Apr 2023 13:56:36 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6BFFF213B62E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1680900996; bh=YRUkOLHXWLdwt0GZfM9eUMnSSmOnnB/oKT8xHXr5G0k=; h=Subject:From:Cc:Date:From; b=mgve/NmyqWzUSZ8UBg62cuLIg3K1Aa/PgmTrOGnekjdCNmyKbRlWX/DBI0YLDjly+ jv0bS6wbgdXbAhqSEif3+9cswO7RtbQY3uIUiS82WfY2UBGHjdNhxjfRASY2fzjdrP FYGSzfF9OXrqJA7REyAWK6Z0jfefQ6cTuEYrBO1I= Subject: [PATCH 0/2] Fix MSI interrupts for nested Hyper-V root partition From: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com> Cc: x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>, "K. Y. Srinivasan" <kys@microsoft.com>, linux-hyperv@vger.kernel.org, =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= <kw@linux.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Ingo Molnar <mingo@redhat.com>, Dexuan Cui <decui@microsoft.com>, Wei Liu <wei.liu@kernel.org>, Borislav Petkov <bp@alien8.de>, Rob Herring <robh@kernel.org>, linux-kernel@vger.kernel.org, Dave Hansen <dave.hansen@linux.intel.com>, Bjorn Helgaas <bhelgaas@google.com>, Thomas Gleixner <tglx@linutronix.de>, linux-pci@vger.kernel.org, Haiyang Zhang <haiyangz@microsoft.com>, Stanislav Kinsburskii <stanislav.kinsburskii@gmail.com> Date: Thu, 06 Apr 2023 09:31:44 -0700 Message-ID: <168079806973.14175.17999267023207421381.stgit@skinsburskii.localdomain> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-16.2 required=5.0 tests=DATE_IN_PAST_24_48, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH, MISSING_HEADERS,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762552575229532147?= X-GMAIL-MSGID: =?utf-8?q?1762552575229532147?= |
Series |
Fix MSI interrupts for nested Hyper-V root partition
|
|
Message
Stanislav Kinsburskii
April 6, 2023, 4:31 p.m. UTC
Hyper-V root partition needs to map MSI interrupts differently in case of nested setup and this series addresses the case. The following series implements... --- Stanislav Kinsburskii (2): x86/hyperv: Expose an helper to map PCI interrupts PCI: hv: Deal with nested MSHV setup arch/x86/hyperv/irqdomain.c | 40 +++++++++++++++++++++++++---------- arch/x86/include/asm/mshyperv.h | 2 ++ drivers/pci/controller/pci-hyperv.c | 11 +++++++++- 3 files changed, 40 insertions(+), 13 deletions(-)