From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752812AbbJFQAU (ORCPT ); Tue, 6 Oct 2015 12:00:20 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:36883 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752163AbbJFQAS (ORCPT ); Tue, 6 Oct 2015 12:00:18 -0400 Date: Tue, 6 Oct 2015 19:00:14 +0300 From: Gleb Natapov To: "Michael S. Tsirkin" Cc: Avi Kivity , Vlad Zolotarov , linux-kernel@vger.kernel.org, hjk@hansjkoch.de, corbet@lwn.net, gregkh@linuxfoundation.org, bruce.richardson@intel.com, gleb@cloudius-systems.com, stephen@networkplumber.org, alexander.duyck@gmail.com Subject: Re: [PATCH v3 0/3] uio: add MSI/MSI-X support to uio_pci_generic driver Message-ID: <20151006160014.GC25124@scylladb.com> References: <1443991398-23761-1-git-send-email-vladz@cloudius-systems.com> <20151005221651-mutt-send-email-mst@redhat.com> <56138867.4000006@cloudius-systems.com> <20151006171940-mutt-send-email-mst@redhat.com> <5613E4BE.6060802@cloudius-systems.com> <20151006181358-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151006181358-mutt-send-email-mst@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 06, 2015 at 06:15:54PM +0300, Michael S. Tsirkin wrote: > > While it is possible that userspace malfunctions and accidentally programs > > MSI incorrectly, the risk is dwarfed by the ability of userspace to program > > DMA incorrectly. > > That seems to imply that for the upstream kernel this is not a valid usecase at all. > Are you implying that uio_pci_generic should be removed from upstream kernel because Avi did not describe anything that cannot be done with upstream kernel right now. -- Gleb.