Received: by 10.223.185.116 with SMTP id b49csp6007354wrg; Wed, 7 Mar 2018 23:43:49 -0800 (PST) X-Google-Smtp-Source: AG47ELvIOtSHpbuOewUS6wdcYsj6QM9p965ORodkUuE9dH54Ct9p4IZmvb+G/auSsTGryviLDb4K X-Received: by 10.98.141.65 with SMTP id z62mr25549151pfd.129.1520495029094; Wed, 07 Mar 2018 23:43:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520495029; cv=none; d=google.com; s=arc-20160816; b=zGMRuqwx48qeYxCo1OPqhF4H6cqZ4mUG0dixF9YTgqiCKXF9b4/XIs+CXDWizyT9ti TXyTVzfQP4S5xahh5sE4wnAlvxgnecx6zBlDsQzq9Z7sCdlNLC7AA53ICWFHgkL8clsk hooXEbeYnVEcVWnr0RVoPvXLKwgCGg6dVQCzQtNqx4sCd22muPT1aGAH363b+cyHDsZ8 li85iKXZeNv0gJE0mHnK1Du+sUEvKyfzfGfYoJl+zK/6uzsfETPjldaWGqyRCw0SaxGl gt3gr5mEiILFUDLtUfXaCJeGhlaA73yVZaETmYGHjhGvnz1n6uC3ZGRQDin3XxaSBoOZ iS2A== 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:arc-authentication-results; bh=+eexzRi8WT2CeXooY5RbKqNV6HFwBNDvg6v4tdkhauw=; b=A1YePXmkAsWfiHgQnuOvFapjYu/WEk5V+IkQumpvSw2BmVRE1hNGsUB6risxtGJn6T AgVsM9FqMF8ePLmefnxf8nM+U5UCEEjzh4vHarp+3JXJ/Jb0F1BBS065jbKPPlPaeBJR NJEpnHk+1Vlt5ge2t6RyVc9MtWpbzUMBR1PG5L88uKvqokNqqCrovbhW1/Hrw4KB/Akb /qJ+8OdVICKrtb3OrDcPsbMw4mtJJTeYwxS5lBjY2FbFjQqPTltL3pmRc9SgoZh9kS2D AB0tsXrrB0n2Kg5kW6VVbuDJ6w9Nz9bcaaXlsNwnBJohYqCeghJqvRscK5SkbMhC0gC5 ZLaA== 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 h10si15422594pfa.191.2018.03.07.23.43.34; Wed, 07 Mar 2018 23:43:49 -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 S935045AbeCHHmW (ORCPT + 99 others); Thu, 8 Mar 2018 02:42:22 -0500 Received: from verein.lst.de ([213.95.11.211]:33799 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696AbeCHHmV (ORCPT ); Thu, 8 Mar 2018 02:42:21 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 65EFE7F12C; Thu, 8 Mar 2018 08:42:20 +0100 (CET) Date: Thu, 8 Mar 2018 08:42:20 +0100 From: Christoph Hellwig To: Keith Busch Cc: Ming Lei , Christoph Hellwig , Jianchao Wang , axboe@fb.com, sagi@grimberg.me, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org Subject: Re: [PATCH V2] nvme-pci: assign separate irq vectors for adminq and ioq0 Message-ID: <20180308074220.GC15748@lst.de> References: <1519832921-13915-1-git-send-email-jianchao.w.wang@oracle.com> <20180228164726.GB16536@lst.de> <20180301150329.GB6795@ming.t460p> <20180301161042.GA14799@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180301161042.GA14799@localhost.localdomain> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 01, 2018 at 09:10:42AM -0700, Keith Busch wrote: > On Thu, Mar 01, 2018 at 11:03:30PM +0800, Ming Lei wrote: > > If all CPUs for the 1st IRQ vector of admin queue are offline, then I > > guess NVMe can't work any more. > > Yikes, with respect to admin commands, it appears you're right if your > system allows offlining CPU0. > > > So looks it is a good idea to make admin queue's IRQ vector assigned as > > non-managed IRQs. > > It'd still be considered managed even if it's a 'pre_vector', though > it would get the default mask with all possible CPUs. Which basically does the right thing. So I suspect we'll need to go with a patch like this, just with a way better changelog.