Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1130788pxa; Fri, 28 Aug 2020 04:45:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVExu2qHsIo5FkyHf6xhEnxndqOF/1H7XWQUHvCR/i3yuukDMjcs6UYDlH22N8GasmtX+B X-Received: by 2002:a17:906:80ce:: with SMTP id a14mr1387135ejx.470.1598615106751; Fri, 28 Aug 2020 04:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598615106; cv=none; d=google.com; s=arc-20160816; b=xv4YHm81FHU0qyqoASGlhzedJeg0zi5lqMJAjRosDkoi2Qhuf79BCKszivL8itN4WS iq5xR7OXXCvK24K3w16yMbXwifV/FJGHiq/0cc9xUmmkAT/g1XQvBMSirsEsHykjANMe lvSQ6pl8f9GtiAeDWCRM6ww8CDdlUM7Eceyv/IavtF3BmzD2Xh4KkjD1/t531wJtcJuZ QMgtxKz0vL+U8R9qG0SBtglU6PVeX7bwi6lXsp8ExPfzd5AdupUYvVTTN0jYVyf9gxEf pTNstx+m6HzXbxiacB+1Wae88n5vJd16OqXGpwZoynYR+/zRpOfl9VE3wsla+zZDK3nU E0MQ== 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; bh=kb7p59PhqanZSgaj8Yd9nllwM5cCKnjt+aljqISmRws=; b=xQG6MqpbdWtG1XRi8qp81CaqA5rP5Jt8emgEBCOvEFzpZAa7Q9GymIkdPyqaf6Maex MncVYE8J/eWKVViM6tkKDLvqSyxXyWgQzhzHit0zcl+H140wdb575eEcEWk0q/bfeM1f PxKUlk1IhEDtlMcwT71MIuBLPrmP4V3n9iKxnsgn0MeuiKHbtNPAegTdnCBNzY370yTF Xtl5+vbEMY+RuCRjS1s+ZH3CnT8m1W5FWhrnobC3M6u35x8WP1KPXimAQRkne3VkfNA9 2es53oC0+bHFKgNfHocLcSjFFZ/Drl1n+kY3jLbjOLA4d5dqWo+WAp1ArlJVS8i6RYZW 7rSw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si390819edq.487.2020.08.28.04.44.43; Fri, 28 Aug 2020 04:45:06 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729227AbgH1Lm1 (ORCPT + 99 others); Fri, 28 Aug 2020 07:42:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729155AbgH1Llp (ORCPT ); Fri, 28 Aug 2020 07:41:45 -0400 X-Greylist: delayed 74641 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 28 Aug 2020 04:41:43 PDT Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D298C061264; Fri, 28 Aug 2020 04:41:43 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id B73AF2E1; Fri, 28 Aug 2020 13:41:37 +0200 (CEST) Date: Fri, 28 Aug 2020 13:41:31 +0200 From: Joerg Roedel To: Thomas Gleixner Cc: LKML , x86@kernel.org, iommu@lists.linux-foundation.org, linux-hyperv@vger.kernel.org, Haiyang Zhang , Jon Derrick , Lu Baolu , Wei Liu , "K. Y. Srinivasan" , Stephen Hemminger , Steve Wahl , Dimitri Sivanich , Russ Anderson , linux-pci@vger.kernel.org, Bjorn Helgaas , Lorenzo Pieralisi , Konrad Rzeszutek Wilk , xen-devel@lists.xenproject.org, Juergen Gross , Boris Ostrovsky , Stefano Stabellini , Marc Zyngier , Greg Kroah-Hartman , "Rafael J. Wysocki" , Megha Dey , Jason Gunthorpe , Dave Jiang , Alex Williamson , Jacob Pan , Baolu Lu , Kevin Tian , Dan Williams Subject: Re: [patch V2 00/46] x86, PCI, XEN, genirq ...: Prepare for device MSI Message-ID: <20200828114131.GA13881@8bytes.org> References: <20200826111628.794979401@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200826111628.794979401@linutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 26, 2020 at 01:16:28PM +0200, Thomas Gleixner wrote: > This is the second version of providing a base to support device MSI (non > PCI based) and on top of that support for IMS (Interrupt Message Storm) > based devices in a halfways architecture independent way. > > The first version can be found here: > > https://lore.kernel.org/r/20200821002424.119492231@linutronix.de > > It's still a mixed bag of bug fixes, cleanups and general improvements > which are worthwhile independent of device MSI. > > There are quite a bunch of issues to solve: > > - X86 does not use the device::msi_domain pointer for historical reasons > and due to XEN, which makes it impossible to create an architecture > agnostic device MSI infrastructure. > > - X86 has it's own msi_alloc_info data type which is pointlessly > different from the generic version and does not allow to share code. > > - The logic of composing MSI messages in an hierarchy is busted at the > core level and of course some (x86) drivers depend on that. > > - A few minor shortcomings as usual > > This series addresses that in several steps: For all IOMMU changes: Acked-by: Joerg Roedel