Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp399683pxv; Wed, 14 Jul 2021 06:38:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsayQH02OQU1WM0+e+QRkahM6G22bIwPZ/lEkyq0/LLv36ZsceE5INaxFlrxH7qxvnL45p X-Received: by 2002:a92:cac5:: with SMTP id m5mr6684245ilq.112.1626269895468; Wed, 14 Jul 2021 06:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626269895; cv=none; d=google.com; s=arc-20160816; b=MVUSuK921rDS9fxcAvahRG7rgKzW5zF6NXZsAJB/6nz4GLXKm1bnqyxJTbR76nPNDO 6iL3nAwRhDOGBNXExb7oKkok9lSkneWYllqENPJZpY3keQ7Qjrc6AusQS5hjCqUHPO8v PUwbXURaWElBFWDF8MKV7c4qL1fFb5SUDr58A85tviyH1SaoKdaL8jr/j+mU3P8s9Ua+ 9lIm+Uuua4uSLYAbTQfsORCvtwZoN5/WosMqTdpjleXLQ52W1qKWGSLpyozI3L3Bh72y xy9qz5z0cRR3T4v6GF+bwqtDignI4x9Eh8D72Y9fhg+udw4CpY9qQSX/KiDFcs4d1Otb edTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=r8rf2O/45yj1RALgOIqdf32BOBJWpRrDU+lYRG2lttI=; b=V3doWcJ1neBfANAtWxWbVILyuGhrOOvXeY2HpDluObBQOofT5O2uJqCjj61t2s5rqh vaNP9Qpcz1U4eVcrEO/ALGWXX2ZNZHoXMg9CYSqVX3lNbH6gzrxqnCpPCm/r71uOiDZ0 0Xhqd4X76oH3AY+bTuylqpYVPHKZ6brOQvRA+6hqfVRpW43dXiPKd5gNssChTiMv/jjk f0Z79ree9H+JzQM5Rcb1hmWBtefgKV2E/27vXPaZzdiEVya/OaDHAjFZvKHExuAvbyHg QYnSdFTMzL+g5A9u7W7sJXbHPGe/8uMO85vCVYNb+Dxxzp2jn8H45/dv9teR8SBheboq BocQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bQtMtAvI; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si2889730ilu.12.2021.07.14.06.38.02; Wed, 14 Jul 2021 06:38:15 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bQtMtAvI; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232007AbhGNNjE (ORCPT + 99 others); Wed, 14 Jul 2021 09:39:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232963AbhGNNjE (ORCPT ); Wed, 14 Jul 2021 09:39:04 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04CEC06175F; Wed, 14 Jul 2021 06:36:12 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id my10so1522261pjb.1; Wed, 14 Jul 2021 06:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=r8rf2O/45yj1RALgOIqdf32BOBJWpRrDU+lYRG2lttI=; b=bQtMtAvI0Z/YmPs8EPQvMyVhFWYyZxlB6CHVdgcJTtc/pJDlDiLz1YUW9CB89dwEYQ /F5m3r0Ar6JLPAsVICIGlR9/71zhZiTZwJAOwFFQ/bFcBR7fr9oZgT/LHpLRCqXge3bO 667+dbc4R0Jo6P9olYMnhsQjZrWjd5GFaeIKmcf73we32G3AeT54WQX/SvFXsfkcZMWB XdXLGmc9p5ECEQrxNyUJ4M+S6VJekUJH8d8x38K8dwkSpA5DuKqzidrXBQSI8zeICmiT q5G85Kn00NfZ5tj9bOo8nsIJHtRvGyYwyliBu36HhIZNZQF38EuFTp5I9LRt1eluQ7wY OnrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=r8rf2O/45yj1RALgOIqdf32BOBJWpRrDU+lYRG2lttI=; b=RzbZgqTjg6X8kgtd/uNwgwkXw9/LpSxLMpUgOC0cJCrXVdZcCjKOM2D8Iv9x2qWpw/ 6Z215YYWbLjw+MwLuhmWrcKJIuipKvzCMpdByDusRn3hE0Rdiq8WkoByHnQ4g6nv1uzm uU9zUEQ431CLHD5BIuhR+VNPR3msTvTUbk5tW6W+R63IOxCY5TIApINNm+al5mJZFFle 7tOZxAds2QhFdsPOV379tcHepksMLO76GxPFeLrX0aiqb54SyXSFBWbesZhdcAiRi1FH I+TC/+PLbhXMuARs+M6edfPK2yb4wJhHSAZwCGRKPAg7l1qioGFJnmzaKPARUblmPXmP LkWQ== X-Gm-Message-State: AOAM530LG/GBATqP6jlnKHEIeN0eq4/RzenE/dWAl4lJPPD+KRgnN3lB mVspP8v42CBlsl64t7F+3z5B0xzgeKuPjNujcEU= X-Received: by 2002:a17:90a:af90:: with SMTP id w16mr3874618pjq.129.1626269772407; Wed, 14 Jul 2021 06:36:12 -0700 (PDT) MIME-Version: 1.0 References: <20210713104026.58560-1-andriy.shevchenko@linux.intel.com> <20210713104026.58560-3-andriy.shevchenko@linux.intel.com> <9af24b96-8119-7ccf-f0d0-d725af80aa0b@kernel.org> <784629f9-677e-ee53-aceb-89397ce0951a@oth-regensburg.de> In-Reply-To: <784629f9-677e-ee53-aceb-89397ce0951a@oth-regensburg.de> From: Andy Shevchenko Date: Wed, 14 Jul 2021 16:35:33 +0300 Message-ID: Subject: Re: [EXT] Re: [PATCH v1 3/4] serial: 8250_pci: Always try MSI/MSI-X To: Ralf Ramsauer Cc: Jiri Slaby , Andy Shevchenko , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 3:56 PM Ralf Ramsauer wrote: > On 14/07/2021 08:54, Jiri Slaby wrote: > > On 13. 07. 21, 12:40, Andy Shevchenko wrote: > > Hmm, have you checked the commit which introduced the whitelist? > > > > Nevertheless, this needs to handled with care: while many 8250 devi= ces > > actually claim to support MSI(-X) interrupts it should not be > > enabled be > > default. I had at least one device in my hands with broken MSI > > implementation. > > > > So better introduce a whitelist with devices that are known to supp= ort > > MSI(-X) interrupts. I tested all devices mentioned in the patch. > > > > > > You should have at least CCed the author for an input. > > Yep, back then I was testing three different 8250 pci cards. All of them > claimed to support MSI, while one really worked with MSI, the one that I > whitelisted. So I thought it would be better to use legacy IRQs as long > as no one tested a specific card to work with MSI. Can you shed a light eventually what those cards are? > Don't do that=E2=80=A6 And don't convert it to a blacklist. A blacklist w= ill > break users until they report that something doesn't work. White list is not okay either. MSI in general is a right thing to do. preventing users from MSI is asking for the performance degradation and IRQ resource conflicts (in case the IRQ line is shared). Besides that, shouldn't it be rather the specific field in private (to 8250_pci) structure than constantly growing list? --=20 With Best Regards, Andy Shevchenko