From nobody Mon Feb 9 11:33:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1621100280; cv=none; d=zohomail.com; s=zohoarc; b=DuVNzIS0bj3kLRe4EK+MrCDBoPEophD6J1//YcILdUvhXp4+bW8HUYlkDLOznOEI8f2CufFQ7Ptvxt01W+7Z9+4190CPoqXQ6LGfdy0C4n+e/09p9jCHGMUiTWRSfGgSJx1frx2TI5V4VZthS7fhYGx72B4r10yrDw+iRaN5GI0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621100280; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=RV1lQVu+Z0RzwUnAORV2pR221f9eeMJn1YWrVW88UbY=; b=l1+n8XDviyOodWhD2E+0JqP1HDUvSu0yUlxDtASboStF9XdwLt/K0ejzRgtcLxZ6Qwtmxq3/iVVMbvmmNtWrci5WnXP13h4Jm9AGZYDzTcgfca041pCusawsevD0V2Hyp6zBmABEwwkyLSNwKf9qJ55fLwY6vq7FCHyCOaPgcNg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 162110028095999.56894523575829; Sat, 15 May 2021 10:38:00 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-390-Wwn8HVMFOfew0gTvVfnBrQ-1; Sat, 15 May 2021 13:37:58 -0400 Received: by mail-wm1-f69.google.com with SMTP id o18-20020a1ca5120000b02901333a56d46eso1652650wme.8 for ; Sat, 15 May 2021 10:37:58 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id c206sm3495060wmf.12.2021.05.15.10.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 10:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621100280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RV1lQVu+Z0RzwUnAORV2pR221f9eeMJn1YWrVW88UbY=; b=BoOXzhht5sk/LyL60CmbHxij6vC5wMIBR4TfUw0ygEZq8MdRCAkdbBAjwZ+vGDy1+967XU wYX+koUZGp1qBUsbPGOWX6dKFzO4pfUYTAPGXnU/DHGgGZSwrHTxdZl+K+UasLcPgUEzsm D5OQK+IqsKP2rwAWwjkyeJxGRZO8ANM= X-MC-Unique: Wwn8HVMFOfew0gTvVfnBrQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RV1lQVu+Z0RzwUnAORV2pR221f9eeMJn1YWrVW88UbY=; b=UWkSYRdiMFr4U4ifPsz0Vh+3A11GuxH/MWRf+/OW5DNJkf5IQh584ixw+sLseb+KwM yREswOzeprYvR3fg0hCkcJ8EFH6SkRU2niPcr1/hj5SAmnCLhRsvx3gUKp7f6MI8OZSE fdDBkQoJ9L1of9gA61VuWUI5MRxrzzfE2wSkgEFDX71hIw51u/AGp8n1wVdjt1bumJ9n t+/K8e/sZoP0nfbkJOm12U9Tqh/BCKKmezMACNl454wzrxUuAeX4gAzIaceOz/2Nr/l2 iSjFYBQTqwqJi2maAjR0RlkTH8cfa8ajo8KUlAQOwmaGq8KYDRLl+v2627Dy4LjP1igU 8qxw== X-Gm-Message-State: AOAM531twi6pfgL1jDEHn6v/Ru2qq2H1Kvm9CjbfsvtaAIbmjFsTLQLl LMU7HXT/3yg4ErEft1tisFHwyHsCHBNlG2X68YmAoBj7AEICdgsjpx5o5h1RzGsq2XITz12A65T 50rR1LHE1cVV8XQ== X-Received: by 2002:a5d:4cce:: with SMTP id c14mr67329376wrt.29.1621100277258; Sat, 15 May 2021 10:37:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ5d81gqNTqrDXPeRo6Xnm+gpF+7UbrE+plkceXU1QyAbiT09oDT/OoiwpyrXTKJOCVC29lg== X-Received: by 2002:a5d:4cce:: with SMTP id c14mr67329371wrt.29.1621100277148; Sat, 15 May 2021 10:37:57 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Bin Meng , Paolo Bonzini , qemu-riscv@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, BALATON Zoltan , David Gibson , Alistair Francis , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Bin Meng , Greg Kurz Subject: [PATCH v2 08/12] hw/ppc/Kconfig: Add missing dependency E500 -> DS1338 RTC Date: Sat, 15 May 2021 19:37:12 +0200 Message-Id: <20210515173716.358295-9-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210515173716.358295-1-philmd@redhat.com> References: <20210515173716.358295-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Commit 7abb479c7ab ("PPC: E500: Add FSL I2C controller and integrate RTC with it") added a global dependency on the DS1338 model, instead of a machine one (via Kconfig). This gives trouble when building standalone machines not exposing I2C bus: The following clauses were found for DS1338 CONFIG_DS1338=3Dy config DS1338 depends on I2C Fix by selecting the DS1338 symbol in the single machine requiring it, the E500. Fixes: 7abb479c7ab ("PPC: E500: Add FSL I2C controller and integrate RTC wi= th it") Acked-by: Paolo Bonzini Acked-by: David Gibson Reviewed-by: Bin Meng Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- default-configs/devices/ppc-softmmu.mak | 1 - hw/ppc/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/default-configs/devices/ppc-softmmu.mak b/default-configs/devi= ces/ppc-softmmu.mak index c2d41198cde..5a7f99d1e45 100644 --- a/default-configs/devices/ppc-softmmu.mak +++ b/default-configs/devices/ppc-softmmu.mak @@ -1,7 +1,6 @@ # Default configuration for ppc-softmmu =20 # For embedded PPCs: -CONFIG_DS1338=3Dy CONFIG_E500=3Dy CONFIG_PPC405=3Dy CONFIG_PPC440=3Dy diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index 66e0b15d9ef..2e4c56eb770 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -128,6 +128,7 @@ config E500 select SERIAL select MPC_I2C select FDT_PPC + select DS1338 =20 config VIRTEX bool --=20 2.26.3