Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp209513ybl; Tue, 27 Aug 2019 18:46:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgkf2i16F4jGaue3GW9k33AbBfWhSmK6PY+5TvTRl0eyMQFfSsz1BHvCz8T3JrIAYC1Jl+ X-Received: by 2002:a17:90a:bf01:: with SMTP id c1mr1774562pjs.30.1566956804783; Tue, 27 Aug 2019 18:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566956804; cv=none; d=google.com; s=arc-20160816; b=CBZlYci+/g6AdDF9J+C/l7IzjoiBWiNUCSVN5qJt5pABHrUF/80fbku6p5rZy6ZiA6 ZUVOYQJwQcIBYcOKJBVFZR49znHalGWaqUZPNzp2JsWKLzKGYzUApOtJZg8PNJq4IFhT Z7eXUdDPR6Y+t4YygxUXcOL3NxR+JV3vEsyP2h/A460uoJFiiIBsuWgCC9BJe6D/UDHq rr6a93tPa/zKOze4SeyGPQUS5Bh/8NLt+NuNUgHZoFTjxQNhW4MLoWqGzicWANYgLhwD T5UsaFmZyYUo8jP/IlntJFCg9sSvJ3unf3AnNiRgPN8dTKJqVZJvU7pODqIcLoeRJoq4 FM1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=S9WGE2nlXBKbllFrGS5fNCiNXRaiMd4vIuDoU9Lr23A=; b=Rwo//TeBe76VRKsva5fAJcw62PwYB8kTgLuXNLhXtW+wkf1Yacp89yfqsSHrlffHTF Zzq9/TZP/DWA5tsrsMxjgSukufQzrOFBEtq1OBrRtU8yyaVzpfFNvZxVT4Jg2AtOo/PM TF2zIbgSUh9DNCAQvVrG9LsqUFOd8hQDfDKvgPaMSk+smT9NX6tWCqnd6A1QUdjCtU2u 6A0yS73UcOpRMO8Ixg8L0tvs+PDpDFdOJsbKR23fd8kScYSokBWtC6YtWgKKNx0PLXH1 XpBLY9lvYPAbhknpVW5FVZCVEFOBjTm6EIxggmKxHlNI9jEGX85uL6v4kf1h1JvVvaRZ Myvw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z61si290708plb.402.2019.08.27.18.46.29; Tue, 27 Aug 2019 18:46:44 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbfH1Bpk (ORCPT + 99 others); Tue, 27 Aug 2019 21:45:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbfH1Bpk (ORCPT ); Tue, 27 Aug 2019 21:45:40 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1D13C281D1; Wed, 28 Aug 2019 01:45:40 +0000 (UTC) Received: from ming.t460p (ovpn-8-23.pek2.redhat.com [10.72.8.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 26924600D1; Wed, 28 Aug 2019 01:45:29 +0000 (UTC) Date: Wed, 28 Aug 2019 09:45:25 +0800 From: Ming Lei To: Bart Van Assche Cc: Thomas Gleixner , Jens Axboe , Hannes Reinecke , Sagi Grimberg , linux-scsi@vger.kernel.org, Peter Zijlstra , Long Li , John Garry , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, Keith Busch , Ingo Molnar , Christoph Hellwig Subject: Re: [PATCH 3/4] nvme: pci: pass IRQF_RESCURE_THREAD to request_threaded_irq Message-ID: <20190828014524.GA8090@ming.t460p> References: <20190827085344.30799-1-ming.lei@redhat.com> <20190827085344.30799-4-ming.lei@redhat.com> <7cdb9dbb-46e5-b66a-ddf1-c7ecceb28d7a@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7cdb9dbb-46e5-b66a-ddf1-c7ecceb28d7a@acm.org> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Wed, 28 Aug 2019 01:45:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 27, 2019 at 08:10:42AM -0700, Bart Van Assche wrote: > On 8/27/19 1:53 AM, Ming Lei wrote: > > If one vector is spread on several CPUs, usually the interrupt is only > > handled on one of these CPUs. > > Is that perhaps a limitation of x86 interrupt handling hardware? See also > the description of physical and logical destination mode of the local APIC > in the Intel documentation. > > Does that limitation also apply to other platforms than x86? Please see the following excellent explanation from Thomas. https://lkml.org/lkml/2018/4/4/734 Especially the following words: So at some point we ripped out the multi target support on X86 and moved everything to single target delivery mode. Other architectures never supported multi target delivery either due to hardware restrictions or for similar reasons why X86 dropped it. There might be a few architectures which support it, but I have no overview at the moment. thanks, Ming