Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp132066pxb; Wed, 24 Feb 2021 21:00:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjqPmS8iLuQmoIs7nPtU1cuOmOfWTftmTRqqy8ze9KMUzFjC2jP9sLZuGcNvenGM9u3Qef X-Received: by 2002:a05:6402:1853:: with SMTP id v19mr1179839edy.10.1614229227261; Wed, 24 Feb 2021 21:00:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614229227; cv=none; d=google.com; s=arc-20160816; b=gjiwGcNN+HRhY53kXkLlZyxrEnL9rq753UNYSUXJiJD1rBOOiYwoK2MSVJ3XeSOafD sPelHpAWVlBUi5UcZvCG04NPQyTm0u2mhYXPGbXUeRMpuI/5e6OXoSAiXjZlTqlUZiAs gzdxD2sWEPe2FTPGmrnoA3G+XkRQNq+eVHPpVejUGyytwKUje2D8675YZsZydt9AWm5b nBrKOsNx5Tx/vI1xADYvCt4MRrH+zl7kvLnjHKepdFjhh197yV/jIPXxpPVQfgQ67VFt UJ0PBydOVqr/DJ1yIk646rW07YtrorWlQpVwq2ro6syo6EPYKoASzzVqALmCKfyBrYRn ePVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=dwzypz4yN4KIbBZ1PQDA5ltUw1L+UrVSiGB3e1DbosI=; b=nl7GHlOoBsuWO71U2tc1o1dQoVndrhorK1Ge1469Rg9YRoTffVcbk5UgBVXaaQ/yCB 38azYH69Z2UM3YLXMRIaUSC82oskqPCVoLEHurCAo+D5EZWnsT0CN9p81fINgaFp9p3Q jWe5DTpkw6ZJxQJF9mrgQnF5pb6RyQOvQya/kN7O3pCcrDvLQMzTwpWrz1IXuFpYuiJ7 W/jx/lds5xNY59g/4cpgAKmwiAjy8cPJWy0h1CFeHbpFD57mVX2YM2OicEvehd7kkmqV gaSBGwYv1aM1LCo5WuzLWyi8tpimiDmwEonwXleOuoWqHJM4E248JHKfPYsjwRShpsuP nm0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MbLCz8HF; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o26si2591407edw.74.2021.02.24.20.59.55; Wed, 24 Feb 2021 21:00:27 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=MbLCz8HF; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236370AbhBYAsK (ORCPT + 99 others); Wed, 24 Feb 2021 19:48:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:44086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236366AbhBYAsF (ORCPT ); Wed, 24 Feb 2021 19:48:05 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B22DA6146B; Thu, 25 Feb 2021 00:47:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614214044; bh=v9Cemz6+5QAlytl+WWIeYFPOPcg34dVPzVpn7Ai5Kbw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MbLCz8HFy4albGGaAxeg4DicoNj4dZI5iynJgXU/NsF8WsILKvj+eqHB9Vphr5thB a+v8u35WFikt58r/new7tuteQEpeXz0BPZda2yKfwfAXywmHnlGc8GdcXjW/DHn4f8 9S/m2GeerM10HksfNa/H89VAgmt8HzUYiUrjVK13ZRxb+QA6lCQKqbeZPTjwdBDVlb MaVHRzW29g0Q/aD6awdU3cHJniScZwcYcR1Opfy/gYImRqa4Wp+qM3NWbSaCDYrdmA h4+gY6mCiZcqGJrFctn8iIDBaQStqYzHlDaLRoNhnUfadNgwTrmxX83v4Tafma2exe 6ZCL5ZFfEF05A== Date: Wed, 24 Feb 2021 16:47:20 -0800 From: Jakub Kicinski To: Coiby Xu Cc: netdev@vger.kernel.org, kexec@lists.infradead.org, intel-wired-lan@lists.osuosl.org, Jesse Brandeburg , Tony Nguyen , "David S. Miller" , open list Subject: Re: [RFC PATCH 4/4] i40e: don't open i40iw client for kdump Message-ID: <20210224164720.2228c580@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210225002101.hvbpq7f6zbvylqy4@Rk> References: <20210222070701.16416-1-coxu@redhat.com> <20210222070701.16416-5-coxu@redhat.com> <20210223122207.08835e0b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210224114141.ziywca4dvn5fs6js@Rk> <20210224084841.50620776@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210225002101.hvbpq7f6zbvylqy4@Rk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Feb 2021 08:21:01 +0800 Coiby Xu wrote: > On Wed, Feb 24, 2021 at 08:48:41AM -0800, Jakub Kicinski wrote: > >On Wed, 24 Feb 2021 19:41:41 +0800 Coiby Xu wrote: > >> I'm not sure if I understand you correctly. Do you mean we shouldn't > >> disable i40iw for kdump? > > > >Forgive my ignorance - are the kdump kernels separate builds? > > AFAIK we don't build a kernel exclusively for kdump. > > >If they are it'd be better to leave the choice of enabling RDMA > >to the user - through appropriate Kconfig options. > > i40iw is usually built as a loadable module. So if we want to leave the > choce of enabling RDMA to the user, we could exclude this driver when > building the initramfs for kdump, for example, dracut provides the > omit_drivers option for this purpose. > > On the other hand, the users expect "crashkernel=auto" to work out of > the box. So i40iw defeats this purpose. > > I'll discuss with my Red Hat team and the Intel team about whether RDMA > is needed for kdump. Thanks for bringing up this issue! Great, talking to experts here at FB it seems that building a cut-down kernel for kdump is easier than chasing all the drivers to react to is_kdump_kernel(). But if you guys need it and Intel is fine with the change I won't complain.