From nobody Mon Feb 9 18:18:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1626795758; cv=none; d=zohomail.com; s=zohoarc; b=AQLB4K+054nHcaw6SjQA5kKXhX8+CMNUFEcSWl0JEj552DQhnqaMowhCBMNniO83Gx2pBbz5UDD8T9gz90ib57rjiC9U/7DDfn2b+PJ6mN4TbbxgEzRLGaBw5FMXJkCGRP7AXZRFt2OrYIO5OAZOc1EheZpeQbwxpvpNcSy7Rpg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626795758; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=GzDQgdGV/hfvQP6GwfosBu6lb8Nm+mns6f7nRKorcs0=; b=Isvo5zbH+oP8vgoD7i+Aw2LRR7DRquezTjKUBYsJJ/8T07gnvHFngLZM3bEMgPMW3w5ldP59iyijW9EknmqrZzg5kQC7VUWMCsQdlahCAP+jDPiw4N0pOPwdbHw2Lm2tAcdhRlZkqXq9FLfETt2vxJbdNVqKcdKgTxAPlbUuLgk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1626795758718452.5862960875876; Tue, 20 Jul 2021 08:42:38 -0700 (PDT) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-aJ6kLjOmM5aQZGWEr3hV5g-1; Tue, 20 Jul 2021 11:42:36 -0400 Received: by mail-wr1-f69.google.com with SMTP id a4-20020adffb840000b02901304c660e75so10359096wrr.19 for ; Tue, 20 Jul 2021 08:42:36 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (122.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.122]) by smtp.gmail.com with ESMTPSA id 139sm3026875wma.32.2021.07.20.08.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 08:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626795757; 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=GzDQgdGV/hfvQP6GwfosBu6lb8Nm+mns6f7nRKorcs0=; b=DoM5j1H1BBkxVKnVzguF9VK68DkbTqsoSoW2t54hjzSqQBXBg+eScZYWYUvIVi+5Lx6Re/ DP9Q7T8MfyPXfOMWTa3rcapZQPNTmD/n6aiOR+QakV9EwgrOY9vZIbtcTZV55FgvWN98yq hsIr93rpf00ftU6qrBho8JlswgPIKZ8= X-MC-Unique: aJ6kLjOmM5aQZGWEr3hV5g-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=GzDQgdGV/hfvQP6GwfosBu6lb8Nm+mns6f7nRKorcs0=; b=VJ/7dBtPaXC511LtwWD/IFNMPmL6cC9eXoJKylXR2BAOqkO4kdE9r8xgavfjKQ9g9d gsgXAr7x8i1Z/R3NiAkYKazu3HZFrAIAw8/Mr1cuxHqu2VviuavSZIf3/BRAVdbySj1S pfDl5/Ko2maEM6YkYOGHTH9iTpNGmhWR+h0/vAypl+eWsruDXSbA8JQOxwEO9jwwYozw d+YZsFjRq6TfohZ6w6tEqKsyoy7EvrzJYMIFFNyGw58clV5XUXXZeS/PUVD8+3cu1tlb qsfdS0Q7orvQ85lYphojff5qUO+j8/1YHokv5MKP60Fog3iLqhOFqSlxO8OXzRd4F6gA TGKw== X-Gm-Message-State: AOAM533NGLvE5cBnUe7knG2BBl6l/sN9LCLIVx1xDQhGBM0wIJLK7uXj 8J24ujMh6tSnQLeluvRoxJwkd9ZaudJTqx+mDpRLzyS0vZx7ttr5eVo0OZXNintabisaKfM0o42 ZXx8ACAN65kcS3g== X-Received: by 2002:a1c:1c7:: with SMTP id 190mr31917260wmb.170.1626795755296; Tue, 20 Jul 2021 08:42:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBzaB3BJia38L3FVAqToQixpO9qEad8p3gYH6AAanfD9ToVvQPnzaWz5TGy/ucGnZtEgkE0g== X-Received: by 2002:a1c:1c7:: with SMTP id 190mr31917251wmb.170.1626795755119; Tue, 20 Jul 2021 08:42:35 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , David Gibson , Bin Meng Subject: [PULL 12/17] hw/ppc/Kconfig: Add missing dependency E500 -> DS1338 RTC Date: Tue, 20 Jul 2021 17:41:36 +0200 Message-Id: <20210720154141.3919817-13-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210720154141.3919817-1-philmd@redhat.com> References: <20210720154141.3919817-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) X-ZM-MESSAGEID: 1626795760023100001 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 Message-Id: <20210513163858.3928976-9-philmd@redhat.com> --- configs/devices/ppc-softmmu/default.mak | 1 - hw/ppc/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/devices/ppc-softmmu/default.mak b/configs/devices/ppc-= softmmu/default.mak index 4535993d8d5..658a454426e 100644 --- a/configs/devices/ppc-softmmu/default.mak +++ b/configs/devices/ppc-softmmu/default.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 322a7eb031e..85b9c93f02e 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -130,6 +130,7 @@ config E500 select SERIAL select MPC_I2C select FDT_PPC + select DS1338 =20 config VIRTEX bool --=20 2.31.1