Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp605350ybl; Fri, 10 Jan 2020 03:55:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzOswxBpn4hDF4VMRtODaBt8L7G36mJ+L8PB4Vlpsirew7+Fq74W22BVx1AIFfmsEukTOLJ X-Received: by 2002:a9d:6b06:: with SMTP id g6mr2273231otp.93.1578657326892; Fri, 10 Jan 2020 03:55:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578657326; cv=none; d=google.com; s=arc-20160816; b=fv9hY+E68fI/VUyGUFGbMvtI2RLQf8fVA4yfBA6ItvNgdxNi3NowNgeQbbqfM6P0pQ skw+WSL95Eh29rY0ZyF9V/h2mSzPFfBdzm1d5/Pb+w7cIWdDT835q3BUvnDuxi0YpgW9 k2Sf2MzX9pjaByv/P0XYvTdRt/vhDYqyygfDBljWUqkLTWn1Fl+ZHIWr4GITC2LVceyQ ljvfNXHfphbklvys6/nZ1mMjUlQWtRLKdFU3N2WYlviPO/6qG/jlDw1FEigp4JtWYAp2 vzOogcU+3HOYYD1EERBT8itWWvSJxDdrHGw4N+zjVDvTcQONQgNTYxzz04s1gV8udh9Z 0Brg== 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=YYFdu1A8ULdM+j1/0AaVr2in7QmEAkgOOpwVMKm9cag=; b=rfMTnltTlY41FmvPle/kh5t6D4+0NJ4lcFiLBLdnArpJWnzu+/HL3NaAtsSOyrFFMz QZNtaVCIhsxLZCL1RzhwP+BlHTs4U3WIBtnFUO2L9Nyfyv21tGLEZXbLWRCCd0L1bOXI PW53B0ve6rM0LkYRpZE7eS9LcJMXw3ZH4Zpljbd2uYgIdlvGfHzqOggtqqMTpS+T8ZYF EGgf0W2werE4qtVZywbNW/IaK1zd+Y+fcv0/FqqLZ7I099JLnUcQQEwlTy3deoIQSaY4 4Wy5YMFmAmXBTkNxYTvUNMnY087JNLRdkU4E+39Y9YrponiD+bIdCxFjBRlr7mKXS7/0 SL9Q== 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 p16si1022465oto.287.2020.01.10.03.55.15; Fri, 10 Jan 2020 03:55:26 -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 S1727957AbgAJLyT (ORCPT + 99 others); Fri, 10 Jan 2020 06:54:19 -0500 Received: from foss.arm.com ([217.140.110.172]:43054 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727717AbgAJLyT (ORCPT ); Fri, 10 Jan 2020 06:54:19 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EF7481063; Fri, 10 Jan 2020 03:54:18 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 360BF3F534; Fri, 10 Jan 2020 03:54:17 -0800 (PST) Date: Fri, 10 Jan 2020 11:54:15 +0000 From: Sudeep Holla To: Jolly Shah Cc: ard.biesheuvel@linaro.org, mingo@kernel.org, gregkh@linuxfoundation.org, matt@codeblueprint.co.uk, hkallweit1@gmail.com, keescook@chromium.org, dmitry.torokhov@gmail.com, michal.simek@xilinx.com, rajanv@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sudeep Holla , Tejas Patel Subject: Re: [PATCH 0/2] arch: arm64: xilinx: Make zynqmp_firmware driver optional Message-ID: <20200110115415.GC39451@bogus> References: <1578596764-29351-1-git-send-email-jolly.shah@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1578596764-29351-1-git-send-email-jolly.shah@xilinx.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 09, 2020 at 11:06:02AM -0800, Jolly Shah wrote: > From: Tejas Patel > > Zynqmp firmware driver requires firmware to be present in system. > Zynqmp firmware driver will crash if firmware is not present in system. > For example single arch QEMU, may not have firmware, with such setup > Linux booting fails. > > So make zynqmp_firmware driver as optional to disable it if user don't > have firmware in system. > Why can't it be detected runtime ? How do you handle single binary if you make this compile time option ? -- Regards, Sudeep