Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9074043ybl; Fri, 17 Jan 2020 06:00:55 -0800 (PST) X-Google-Smtp-Source: APXvYqyZHkl9FCwp2Dp8qtlTGzhE8wLhmpZGIBpMK4DUPszQjhXoYkEpDM11bk2fe3Els+BXRf+k X-Received: by 2002:a9d:478:: with SMTP id 111mr5988973otc.359.1579269655260; Fri, 17 Jan 2020 06:00:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579269655; cv=none; d=google.com; s=arc-20160816; b=U6jrmc5dBf6ixdkQT4Shu+2jIYN/0xLm5yZFVeRXu4cs0il9bCDX7k8Ht8KJfS0NtU s4t9xCM7wBZM2rN+N6+YuVIr2RSFH1VPDS8tOummmmWJGsMgWe4UrrF0FBeVOxJuXHaO 7lnxOn7Bkne3cm+ez6/KcvuBOW6I9Tn98NczJZMKSi40ixomkM4pIKig2eB8dUYtUnqs fcS6F32yKtE0gcNywBpP6yJPqZu/o42BEiUlDFDB7cd39cEJtyLt2NmAQFIERSeRcEyp a34WolwsfG0FL+NMNIjax29vix2WGKs8YvxibcNeGm1AmNRb27pH0cYWRDjLWiEPI5kS Ejeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from; bh=RPDeT6X5DscRQBSPwvyn6M08cbSicc3NhRuab0n8+dA=; b=z6MujUeJ7jt/XLjC93sqg5JjiBN8p2dsgAVo7rt7kDwi8Z894FGFyzsEP0OcHxy1TG q2fgBoHqcCoAIj112FxODBDbWR844MtZVjLnxhtKwY/FFtWYeBhblGJUcOKOc6vjpNKb TzEEVW6wnq8XZ7C6WfpbWi9sbr1W9DViaj/JopoK0C3/v+BbgdmWHIcSK7opTo68slAC wp1UUleEMb/ZIOXMZZF0nyEP3IdcLJC9WyvcvUHs0M/BDIi8JFTSRgk/FWennr6xnUPE uOOtM/Ugu9xZton9j6iU32LARgCqFSwM2msW8aIPVATQalt55mZRkQ3OSBulgCL3xiBx PVTw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si14302437oth.15.2020.01.17.06.00.41; Fri, 17 Jan 2020 06:00:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728767AbgAQN63 (ORCPT + 99 others); Fri, 17 Jan 2020 08:58:29 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:56278 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726587AbgAQN62 (ORCPT ); Fri, 17 Jan 2020 08:58:28 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1isS8c-0001HZ-Q4; Fri, 17 Jan 2020 14:58:14 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 3D509100C19; Fri, 17 Jan 2020 14:58:14 +0100 (CET) From: Thomas Gleixner To: Zha Bin , linux-kernel@vger.kernel.org Cc: mst@redhat.com, jasowang@redhat.com, slp@redhat.com, virtio-dev@lists.oasis-open.org, gerry@linux.alibaba.com, zhabin@linux.alibaba.com, jing2.liu@intel.com, chao.p.peng@intel.com Subject: Re: [PATCH v1 1/2] x86/msi: Enhance x86 to support platform_msi In-Reply-To: Date: Fri, 17 Jan 2020 14:58:14 +0100 Message-ID: <874kwu2nih.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Zha Bin writes: > From: Liu Jiang > > The x86 platform currently only supports specific MSI/MSI-x for PCI > devices. To enable MSI to the platform devices such as virtio-mmio > device, this patch enhances x86 with platform MSI by leveraging the > already built-in platform-msi driver (drivers/base/platform-msi.c) > and makes it as a configurable option. Why are you trying to make this an architecture feature instead of having a generic implementation which can work on all architectures which support virtio-mmio? > Signed-off-by: Liu Jiang > Signed-off-by: Zha Bin > Signed-off-by: Chao Peng > Signed-off-by: Jing Liu This Signed-off-by chain is invalid. Thanks, tglx