Received: by 2002:a19:e20e:0:0:0:0:0 with SMTP id z14csp947226lfg; Thu, 13 May 2021 16:59:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7j8MsKyecIVU6qBVmJG1fSzjlaYzbfxT7Ws/CUodN3qrdu1EmekWM3LX37+VnSK8BWM92 X-Received: by 2002:a02:1989:: with SMTP id b131mr40676240jab.54.1620950364742; Thu, 13 May 2021 16:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620950364; cv=none; d=google.com; s=arc-20160816; b=x+vzQgl6cUmD1OKq6SgSxEoi+MkLqwsbkot7GgNJvi0M9jtXEbnIA/FTQVExleNN78 YBtresg3tffT5Cr62eBEsCE4FqhQZXmg8gGK3cJ2yEF7YsWMKad6TuKLi9S9Uzm2qkih ETs/OhivUBuE9n/AuaWeVP/TGBfvQi6AgygVrsUKpzTZnEuy9RagajB3B0+Ydvau3vpG oTNSLIiv3/JtNrPYWT5knyhRXBEUhI4dcpbrKyg9I39QV/SXXIpm6NqefSY7+RefNVKD fa3OgPel11EmNITRfmpYBAO3c7MsGNBYU9LSxttLVg1xV9lAe84dDfRvavdoVNK+EL4R gkyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:in-reply-to:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=ErkvmJKeVGb2ReZglyNqmnKlpLIgNAq3uOpdBblj2iw=; b=xoEvfCI1EWboLg9v/hXrY0rlNcHaYW45F/7DVk4PlK/coY5K+4LhXoFilHol0pTPIw eGU/Fh7JdVxoyAzIcQspwNsErJO4YpEDElwbscBGKe1YvJ/JPQAerjpH67gq3ZfZRqh8 AyuLB/LvTUqPJVLwfF7DUcgyM9gxvsyp0UN9cpvnUZOG/fSZ2/nlGZ7waPVvgTw5jgBf zlbn7CZeNc/iTkRpHDDkhFuAJxKFT8GMHsk/8R8rvVnJMlO+ggGoXKkDBozS4aGYDjfp S4NMjHNWWvCxxtczQxD6nYsTvIQv2fEGPsrEJB/BQbRoKWi80zav4CuZeUlLh5auHsFi 77ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b=JLBtQpls; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k8si5983194jav.68.2021.05.13.16.59.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 May 2021 16:59:24 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b=JLBtQpls; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:37696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhLEi-0004UF-4B for alex.bennee@linaro.org; Thu, 13 May 2021 19:59:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhLEC-0003rR-TV; Thu, 13 May 2021 19:58:52 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:35503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhLEA-0007o6-FS; Thu, 13 May 2021 19:58:52 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4Fh7sd1pxKz9sWX; Fri, 14 May 2021 09:58:45 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1620950325; bh=yQja/ddUjLI4ci6lyKRYYHMpcNP7O8WJfro5oEUO+j0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JLBtQplsQjkGqb8kDy+SO/IcBVw3i0PGnAKj/wRtthg1eSbywmL725cy0I4vGROAK Qvs98DRVk2ZIEsFk4ktF80nt85y1NwSML2Gqr8swL5OPgXXJTHC7tK4zCg7SX3rcll 1LwnLp1Zgao1OtMfrAcqPFIGrCNbF7yQNSi3Hdi0= Date: Fri, 14 May 2021 09:33:18 +1000 From: David Gibson To: Paolo Bonzini Subject: Re: [RFC PATCH 1/5] hw/mem/nvdimm: Use Kconfig 'imply' instead of 'depends on' Message-ID: References: <20210511155354.3069141-1-philmd@redhat.com> <20210511155354.3069141-2-philmd@redhat.com> <21e0a306-ccfb-a627-1496-14f831fe80a7@redhat.com> <161fa4ca-5407-790c-8e2f-e0665c89fd6f@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rq5Bgz6Q6RS8hq6k" Content-Disposition: inline In-Reply-To: <161fa4ca-5407-790c-8e2f-e0665c89fd6f@redhat.com> Received-SPF: pass client-ip=2401:3900:2:1::2; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Thomas Huth , Eduardo Habkost , "Michael S. Tsirkin" , Alexey Kardashevskiy , Richard Henderson , qemu-devel@nongnu.org, Greg Kurz , "open list:ARM TCG CPUs" , qemu-ppc@nongnu.org, John Paul Adrian Glaubitz , Igor Mammedov , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: LQu+hZDVsVKF --rq5Bgz6Q6RS8hq6k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 13, 2021 at 05:20:06PM +0200, Paolo Bonzini wrote: > On 12/05/21 09:02, David Gibson wrote: > > > But with "imply" you could end up with a PSERIES that does not have N= VDIMM > > > when also using --without-default-devices, couldn't you? Why don't yo= u use > > > "select" instead of "imply" ? > > Oh.. clearly I misunderstand the semantics of "imply". If we don't > > need NVDIMM for PSERIES, why does there need to be any Kconfig > > connection between them at all? >=20 > Because you still want it in the binary by default (i.e. unless > --without-default-devices). >=20 > Basically, >=20 > config PSERIES > imply NVDIMM >=20 > is the same as >=20 > config NVDIMM > default y if PSERIES Ah, ok, I get it now. "imply" is a terrible word for this, but ok. > Both of them are a way to say "PSERIES can work with NVDIMM so you want to > include it unless you want some fine tuning". In Linux "imply" is very > rarely used, while in QEMU it's quite common because it keeps the many > per-board defaults close together. >=20 > Paolo >=20 --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --rq5Bgz6Q6RS8hq6k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAmCdtzsACgkQbDjKyiDZ s5KfMBAAm2GQO0a2VI49UQ3Qm/v9DXPZTyVMlytrE20Ob4aUMmIgzw92q6ibt5ho bnH3ss07eRgAhD8wHClGrt8yWoS4iZZNeosLYEQT1Bnayxj1F9A3QrGop74ak1GO rWhXbk9tNXQpcoHKtgkVFmi8wbDAZZWehqOIU9LeWW+avhnVEY98+lJTJSgdlzn6 yktWEFROeHEAb2U4hA3EmjYuXdx8ZrmJnL37/iDOm28+szez/hitrF0q++Pww791 sj5WwTckpFkd/qdKl0bzubSWa5UoAyXx+8Ay1ScKLzbIhzhY7F5ZxHXvk73qy/2h Z8S4yTR9WfH9r9/vknX8qz1gBu8dRwYSuu+zhF4Ak52r6MilFrAoyeCvPpeNWoK9 o4tuZWlXmYV3XHiwOrnWabOLejmF7prLKfZDR0amvk7cwpfau8+T6KjTwA7NLOnH +OUjtl3t/OMYs98VuVNf9TTGX1CDu2NkRNLNphoWoCQEqAGlFD4fykBkPSRoDTtM GsMfqJ+18C6Wsp7NeAEdRFHDTQMCg/mBKppxygwVTE6FXDDcBDzWC2iMw5xn/SAb sct16VA1hJ5fqNlSzqoqENQJWXcb8hsVdBts1L72QcYWiP/qtzN+97CwkfB3OEie 46cD5yV4pkRHkV/SnPu5WzRn2hbxx/aBvywb4OXL9uPNYLEzonc= =UAKR -----END PGP SIGNATURE----- --rq5Bgz6Q6RS8hq6k--