Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751072AbbGGK6E (ORCPT ); Tue, 7 Jul 2015 06:58:04 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:58688 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752443AbbGGK5z (ORCPT ); Tue, 7 Jul 2015 06:57:55 -0400 X-AuditID: cbfec7f5-f794b6d000001495-1b-559bb0b07ba9 From: Pavel Fedin To: "'Andre Przywara'" , "'Paolo Bonzini'" , "'Christoffer Dall'" Cc: "'Eric Auger'" , eric.auger@st.com, linux-arm-kernel@lists.infradead.org, "'Marc Zyngier'" , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1435592237-17924-1-git-send-email-eric.auger@linaro.org> <1435592237-17924-2-git-send-email-eric.auger@linaro.org> <011f01d0b498$6a17aeb0$3e470c10$@samsung.com> <5596503E.6040902@arm.com> <00fd01d0b7b6$f6cf3550$e46d9ff0$@samsung.com> <559A3C9C.6050302@arm.com> <20150706093026.GA11590@cbox> <559A52E6.5050402@arm.com> <20150706103755.GC11590@cbox> <559A6164.1000401@redhat.com> <559A6527.1040107@arm.com> <559A6BBC.2040901@redhat.com> <024301d0b7f0$2b13b410$813b1c30$@samsung.com> <559AA0D6.7070703@arm.com> <014c01d0b884$deff46d0$9cfdd470$@samsung.com> <559BA3BD.60404@arm.com> In-reply-to: <559BA3BD.60404@arm.com> Subject: RE: [PATCH 1/7] KVM: api: add kvm_irq_routing_extended_msi Date: Tue, 07 Jul 2015 13:57:51 +0300 Message-id: <023301d0b8a3$c5a30680$50e91380$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQIj+X5s5FdAGWwAOFAf7dE3NOV/zwG0/EgbAfNFYEkCdP68yAI2kmrgAcGjK5UBdOO3AQInn0A7AhPZAhABkKKCDwD4t3eDAoJbRakDRTGpLgJpJ5ikAgLqSf0CJxq9S5w0A3CQ Content-language: ru X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsVy+t/xK7obN8wONXh8mNFixbyfjBYvXv9j tJi/5QyrxdXNZ5ks5kwttPh46ji7xabH11gtLu+aw2bx984/Nov92/6xOnB5rJm3htHjzrU9 bB7nN61h9ti8pN7j/b6rbB5Pf+xl9vi8SS6APYrLJiU1J7MstUjfLoErY9+33UwF19krZh/t Zmlg7GLrYuTkkBAwkfhxto0dwhaTuHBvPVCci0NIYCmjxPOdexghnO+MEg+2XmQCqWITUJc4 /fUDC0hCRKCLUaJp20smEIdZ4C6jRNeXPVD991kkli3+wwLSwimgKvHy4CZGEFtYwFli1f8D zCA2C1B82/rbYGN5BSwldrUchbIFJX5MvgfWyyygJbF+53EmCFteYvOat8wQxypI7Dj7mhHi jBmMEn8uvmaGKBKRmPbvHvMERqFZSGbNQjJrFpJZs5C0LGBkWcUomlqaXFCclJ5rpFecmFtc mpeul5yfu4kREmVfdzAuPWZ1iFGAg1GJh/eGxOxQIdbEsuLK3EOMEhzMSiK8uqVAId6UxMqq 1KL8+KLSnNTiQ4zSHCxK4rwzd70PERJITyxJzU5NLUgtgskycXBKNTBufXm+luGH/Ot//ntq Htw81xJ9snvr1g3bY3oj7FZdD3Rv2tiy/Ef6nMWJ6Yv/nDP7Os+eOa34b8NDe7/+61Ne+SSw FV5sS5m0pf5z8s7utBDJuJkdqW62QZ48GcYz9y5nrJgsZnOG/8jG4AXXd3QtPqHHvI/Bfdun mVEvjLcJnFoy4Zm2LuN6JZbijERDLeai4kQAztKB8q4CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 31 > I just don't want to end up with something like: > (GICV3 && ARM64) || (GICV3 && ARM && KERNEL>4.4) || (SuperIRQC && i986) > or > (ARM || ARM64) && HAS_IRQ_ROUTING > > Instead: If the kernel needs it, it tells you. Full stop. Agree. > To be honest it's me to blame here to not having introduced the > capability earlier. At the moment ARM has a different code path for > KVM_SIGNAL_MSI, which does not bail out if the flag field is set. With > Eric's patches this changes and we use the irqchip.c generic code, which > returns -EINVAL atm. So I plan to introduce this capability already with > the ITS emulation series, so we can just pick it up in the IRQ routing > series. Then may be you follow https://lkml.org/lkml/2015/7/7/115 and replace flag with something like KVM_SIGNAL_EXT_MSI ioctl ? After all you were one of people who voted against using flags. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/