Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp966630imu; Wed, 23 Jan 2019 08:39:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN4GlyEUPIKX+ODRjoev3k4ByCHPqI7xmrTzB7JxbPTtqu4ORzct9fQ6SOT+RKHDEzv3qgoi X-Received: by 2002:a63:d104:: with SMTP id k4mr2491869pgg.227.1548261553473; Wed, 23 Jan 2019 08:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548261553; cv=none; d=google.com; s=arc-20160816; b=0t8U584AePCzaRQwPIMaiJyTCrsPY14PjvjXjqjQZXYVnrctktsGK1nce3lFQMuw+a 0RICNjj9dBO/SFxdU+5ByuAHR4AoJfJrp3+u7pSAZhDP5D/47TGftLrfGKrLoQC1aFC9 XPoHTlz8V3xznF+JcGBNbsKYqCEbhxvdMD3dVq99iuVS26VKjXmvCdj2aqgFlfRXXJx5 BjfrwMyct8k6SLH4BQZwTv12K/8/88AlphXYyLEs9qOqMkcMTzEtKHAsJbnStv0n4W2z aPeSA8APGqXBv2LvKgY9BPlSrZgNJXIHz9sR8mjVJhW4B3FqZnwzqfAxrWRzuerAiQUG Cg7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8djZPdW59HNKBP3/Vc9+2G4dxsdfgN+6V1nhjhHgaFQ=; b=XTfGuMyOt/hJPorcRm4JuIq5LhLPihRmfzi6spzcIPeg+RGr8jtkBLlTSnMMtSXQ1e p27EsMQwbgBhfNXSu/svJrYsUs1Q9ft8Zen99iMMH3Db2OrBx9kSXLM/JE49Wi+MZbyn I8VLEh7zJuiYMTMcaH0gh6V3wGgPUx0ItnSL1ysNMFDMvJE/NyjjkKyVpiPgJM/1eLub D2GKCVWln8cTI757Pt4FUZ411VyKTB7cIfUPij1RPW5fQ1VanB1+WPvQJiV6N+rzMslI Qf+1CcyTauW6wr25qUflzz6h0li0e8zT5YDgDObdXAIu5UXA2SXPn/xzD5yVpoSlBmBd JrfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="er/9zmxQ"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u24si6959287pgj.489.2019.01.23.08.38.57; Wed, 23 Jan 2019 08:39:13 -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; dkim=pass header.i=@kernel.org header.s=default header.b="er/9zmxQ"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726274AbfAWQhp (ORCPT + 99 others); Wed, 23 Jan 2019 11:37:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:37568 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbfAWQhp (ORCPT ); Wed, 23 Jan 2019 11:37:45 -0500 Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 658AA21855 for ; Wed, 23 Jan 2019 16:37:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548261464; bh=1VnJwqkZ2I2UYMQmR1pHs69siJ9v86CnX0e8IyvDt7U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=er/9zmxQTMYWi3Vl6+q4EXXnH5n+dT2bxkkSlxlw2SssWwpRdXJbkCeOXeU3rYQPb l5dTmKMv59VkxHWfZ+/uzEcx4fohOMdu2b6gzbxNzeRSnpG2CKr/phk+EbHkaM4GsO a/XvxjCBrXjPGxpZ1ZWFCUYqOUl81MlqzDHL7w50= Received: by mail-yb1-f176.google.com with SMTP id n78so1101121yba.12 for ; Wed, 23 Jan 2019 08:37:44 -0800 (PST) X-Gm-Message-State: AJcUukejxrlSomtH0hOTtHVzszyJQxIDtmqI6+8SvG3pmXoWGBY2G06C fMUIVPINF9JTChairRIn0Jism7gwqRasdV/N8cE= X-Received: by 2002:a25:d7d1:: with SMTP id o200mr1431627ybg.222.1548261463597; Wed, 23 Jan 2019 08:37:43 -0800 (PST) MIME-Version: 1.0 References: <1548258476-16821-1-git-send-email-richard.gong@linux.intel.com> <20190123160019.GB4764@kroah.com> In-Reply-To: <20190123160019.GB4764@kroah.com> From: Alan Tull Date: Wed, 23 Jan 2019 10:37:07 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency To: Greg KH Cc: Richard Gong , Dinh Nguyen , linux-kernel , todd.riffel@intel.com, Richard Gong Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote: Hi Greg, > > On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.gong@linux.intel.com wrote: > > From: Richard Gong > > > > Add a Kconfig dependency to ensure Intel Stratix10 service layer driver > > can be built only on the platform that supports it. > > > > Signed-off-by: Richard Gong > > --- > > drivers/firmware/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig > > index f754578..cac16c4 100644 > > --- a/drivers/firmware/Kconfig > > +++ b/drivers/firmware/Kconfig > > @@ -218,7 +218,7 @@ config FW_CFG_SYSFS_CMDLINE > > > > config INTEL_STRATIX10_SERVICE > > tristate "Intel Stratix10 Service Layer" > > - depends on HAVE_ARM_SMCCC > > + depends on ARCH_STRATIX10 && HAVE_ARM_SMCCC > > That's lame, what about building for testing? Do you mean this instead? depends on (ARCH_STRATIX10 && HAVE_ARM_SMCCC) || COMPILE_TEST > > And is this needed now, for 5.0-final, or can it wait for 5.1? This change will reduce kernel size for most arm64. It can go into whichever kernel. We can resubmit allowing for COMPILE_TEST. > What > changed to require this? Nothing, we just didn't catch this. We're used to having our own defconfig. Not used to having a single defconfig that is shared. Thanks for the review comments, Alan > > tahnks, > > greg k-h