From nobody Mon Feb 9 17:59:07 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548412197512159.6886413868334; Fri, 25 Jan 2019 02:29:57 -0800 (PST) Received: from localhost ([127.0.0.1]:41551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmyk2-00085O-9n for importer@patchew.org; Fri, 25 Jan 2019 05:29:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmyP7-0007z5-Lh for qemu-devel@nongnu.org; Fri, 25 Jan 2019 05:08:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmyP6-0002H7-82 for qemu-devel@nongnu.org; Fri, 25 Jan 2019 05:08:05 -0500 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:40514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmyP5-0002Fn-KA for qemu-devel@nongnu.org; Fri, 25 Jan 2019 05:08:03 -0500 Received: by mail-wm1-x343.google.com with SMTP id f188so5998263wmf.5 for ; Fri, 25 Jan 2019 02:08:03 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id p4sm88048455wrs.74.2019.01.25.02.08.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 02:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=x35U2dz1dlYsYPFvjpvpw/LHj4wRHwILF4921Bb7MnQ=; b=Y9+6SWNgPrXHb/z4qDDoCg0NqZKEl4e1HpSDR06oOh57IquhI4QjrCb7qqB8BJRS/5 JVLcYl5PIcdp3Pm57FBb7aG5bBVxzBEo9SKrjGWhPm39ntz51NE+eTYfNVzVvkIWYGVv Sy0/qhpwgnJmOxd7gwQd5teVn21sMZF5nQnLQi7eS6WwvP+Ng0WVNgKv7nzQpQn0PDub vkV/hDX0fizm/Wa9f0MQj43prxgureOo2Cs33hXCS+WY2tfq85DlbbONgL3lh69Uasw/ +cuom7D2ed3AcIXJPTeO8ceICMpy5qTgbMCMeyS6VftMOdwCi5ceudJfRt79oy5pvwzb spSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=x35U2dz1dlYsYPFvjpvpw/LHj4wRHwILF4921Bb7MnQ=; b=TNurR6nPF3kQqew4YYlEc2a+1axe7lkokz8eS23hdXCQ3TIPIGgFM/WOVMtDfGk5OZ hiZih1rLuMYcy5HF1+uATTkvKRNKLN150z3fcfXHaV3cvyndQotb/bczNQX2/rP2pi6j uMEjpqAC3vnIoZJ1PyzdGPopA/Jr153QCLXJdgR1J2OU/eeSPCxfaoE266oxtjSsCluj k/IBvQWcSV3/nEGiG3Ps5SoNO2bLdOlNV3EK+mWSBx1GM03aqR/emOVSfwGMmjZzUsSQ 6RCMvtm3nHQGTDGnSPEJW8Quow+5W5pCG7xTd9Xr+XFMo5RBTEqG4f9Jr2TLuUAVzKhU dE5A== X-Gm-Message-State: AJcUukdPlgDgAky+YoaW3MLJQsimikdT1or/iH8ojWfOj54g3v/S3suj uM3SNv89M8+NziyIcGqOMVXMaT2A X-Google-Smtp-Source: ALg8bN4CCOD6vttaqoWIdBbJDq5HhxfU8w4wbvPMhbGVwH7sGq0D7Qo/sGsB8kdaXMNdrRBBs+0ZTg== X-Received: by 2002:a1c:5984:: with SMTP id n126mr6020808wmb.62.1548410882443; Fri, 25 Jan 2019 02:08:02 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 25 Jan 2019 11:07:08 +0100 Message-Id: <1548410831-19553-50-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1548410831-19553-1-git-send-email-pbonzini@redhat.com> References: <1548410831-19553-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 Subject: [Qemu-devel] [PATCH 49/52] tpm: express dependencies with Kconfig X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yang.zhong@intel.com, thuth@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This automatically removes the SCSI subsystem from the binary altogether if no controllers are selected. Signed-off-by: Paolo Bonzini Signed-off-by: Yang Zhong Message-Id: <20190123065618.3520-34-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini --- hw/tpm/Kconfig | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/hw/tpm/Kconfig b/hw/tpm/Kconfig index 8a63597..88890a2 100644 --- a/hw/tpm/Kconfig +++ b/hw/tpm/Kconfig @@ -1,18 +1,27 @@ config TPM bool =20 +config TPMDEV + bool + config TPM_TIS bool default y if PC depends on TPM + select TPMDEV =20 config TPM_CRB bool - default y - depends on TPM && PC + default y if PC + depends on TPM + select TPMDEV =20 config TPM_PASSTHROUGH bool + default y + depends on TPMDEV =20 config TPM_EMULATOR bool + default y + depends on TPMDEV --=20 1.8.3.1