From patchwork Mon May 26 11:23:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 892618 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e53:0:b0:3a3:61c9:c5d4 with SMTP id j19csp1148671wrz; Mon, 26 May 2025 04:24:47 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVyrPDU45UBCj1FIF2pJBV/K12yrQPFjVV36R+GYRD8CGDbCTi6W4xXi+6K+rSg+uNNPuuRVA==@linaro.org X-Google-Smtp-Source: AGHT+IHOkB/goyz0r5+B84OlWxyNLCLIkiuZpDygDQHMw/v6D8q+FF2F91NCBTZvqCnf+qksJAlr X-Received: by 2002:a05:6602:4192:b0:867:973:f2cb with SMTP id ca18e2360f4ac-86cbb70d17bmr849856139f.7.1748258687563; Mon, 26 May 2025 04:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1748258687; cv=none; d=google.com; s=arc-20240605; b=j7Q2B/tPfy4PcG77kO6EBmmjhloc+wRd40OClqBKDasfibP1xy4QCqWJoxVwKqlj+A GhKqxzR3MR34SgMSm6qAY6zOqIIe9x+SNXaGKqhMkY2VEJdGA/smwuKmXPc9/OThk0Q+ kRRYsBeB+Zem8MN8azVE6P6xRCTt9VOyy6S24NnRvKAglbaPbSNjqr7wqW5fpEIpX9xN ihxkX3ZCVParF6/K2hdYD9cW+6gT2OXCwOMEh6Luo/b5kREU+rf3+pQaHdB1a9IAsDL3 WLlRzV8Fuuan9L7WvTRk0U2Scbn00Ee4RU448xhESAnSGdB2uKxOoSfCyt6tVlqiyJFA vxpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wDNGc9uXORNTBpjrU5AzqhH7cBKsBdI7XLELUbLErSA=; fh=qfHpdDdaM4WI+lgLvXBC+e4AosthDmrnhJWYYS0AQIA=; b=MvdEyJcQ5OoHyfSkuK0B6RPMN5KsbH+0ty2jnxkRYFO980/xvufydTbQWXm85alQ4y 4F/zYwBl+nwC+UF8boi8xr82/udgAtdezEIGQjsQtcn8TE17kp4AoNOVwzRP92Ko0Ems bGj069GJegwylOE+xw0I1Aqpz8ZTzoZBGMnzmz0Sdf8fu2Fyi/WUf2uNunvmLcmBfbtx WKobVKLZL/9belDuiAtUuMFDiq0+L0LzpoZIi9yzS22axZNqu05/7EsAg3NDIq62LTSl ENwWo6Zode6ACA0003z87kKcNzAhAyEzsbiiWIR/qtmJUh6ovK4ivmpp/jcA8as0Ttgf kpXw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VUQ6ftxz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ca18e2360f4ac-86a2550b3ecsi1714767739f.67.2025.05.26.04.24.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 May 2025 04:24:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VUQ6ftxz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uJVw4-0006Gj-Do; Mon, 26 May 2025 07:24:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uJVw2-0006GC-1x for qemu-devel@nongnu.org; Mon, 26 May 2025 07:24:03 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uJVvz-0001ps-Vv for qemu-devel@nongnu.org; Mon, 26 May 2025 07:24:01 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-442d146a1aaso25718265e9.1 for ; Mon, 26 May 2025 04:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1748258638; x=1748863438; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wDNGc9uXORNTBpjrU5AzqhH7cBKsBdI7XLELUbLErSA=; b=VUQ6ftxzjWsRRtFnYn6R8uk2isreSdsVr+PrEVvwkfsqnD+jHDftf8xtUiwMVlUasX PGePyl05YMalQOc53uYYC3HpcBbDyFcYg1c1KqC0fCzfNT+CktfhIIOIMH5hAmHsLVYt +AK1Z5Qg8Gt1L/G+g/mqMloUaeV1KN7ieb/JKSam5uYasJ8AfZ+ivFGO8LxnjhuMbBra YaTWbagRu2U9dIeZlku9kCgRtjVn1KZJY5br+X6wmRfqzJXlFdVpUrgcGK0YYYbzjKzU B/AD8REEPhf9R90tLK9cZYyYWeo75RLeQTh/Ian7rmxsfDri7mDfW3ZpLLcNEmWwytOz VyHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748258638; x=1748863438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wDNGc9uXORNTBpjrU5AzqhH7cBKsBdI7XLELUbLErSA=; b=j0KXLXFmQ1fzdzVEtSAvK6p00Y8YMeq775wEquhROPxmiXcCQoaEnzTdCIOdb8HEjh hInWzgL1aLrygSXIRNq7qJ5dcZ/iCRtujFBikCKDhLQPuCiUi71wWwSuosVNZgwqG4IZ UnygZBZ0hQbq+pxAEFs1Jc0H1ssii2WbBRvqh3LV5vyZL1o8aj4lQrgIUA181pmkgfwS RCsg3CenDm0yvRQxpsR0t5lSLqmkH80L6SDpP6SdeygOLzGwMehmhmRyCmQVhlRPU69v 2LHQWHmbmK8uoqmR391Le9DhJFJ6FjTSTv0yNAUtVqJWWEfp4n20cnlXX4E/X5uEZhB2 Wq7A== X-Gm-Message-State: AOJu0Yz2k0VUImvsPr6k1z9o5X7ZEuL+vMmrpsA2RrqHCQ1q4F2IxVSe gI1E850jy+nkKSW7TiWz87lMoeDJ2+l/FjNzUdUOjnoIY20ewqu5NFnSgcEtC7NVelyF8KitoeE uuQ9DePwYDA== X-Gm-Gg: ASbGncszS8sSFZ/efTRw8yNTUZ5JHIhu5Zg5BYcbNENI1yzWBFObvPwTA8AEc/xsImn NlYBz29VzmXZL2Ysb02UgVPi6Q1fc5LM4NVc6nVB4f+zda9hdq9InFv4DahE/DU7HCEsZZimI6R jabvGc+eMerQUMbzqIWO/DnkiF9y2cDDJzkhtc64qtRCapr22prGmAEhXZtUBzCTSHCG99p1EE/ U9sA4GtTehs/mYP3C+gpqbkhdR8PFED6EhJ/zHA8yDuSBUzThIQVPCGV6uQG/4lPvhZ8XLkIsZH EZqcvh0Tl7K8FUc3+WG0JheczHy7SWDWxJoEK0YviZNcGKFTmeh64dBqkxsWqpv9lD83M6uq89a wJxoGQjsM3dp/kheBksGUpU+4OAVzTdE= X-Received: by 2002:a05:600c:314b:b0:43d:45a:8fc1 with SMTP id 5b1f17b1804b1-44c93da7c4dmr77361285e9.4.1748258637735; Mon, 26 May 2025 04:23:57 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4de9c9853sm550080f8f.27.2025.05.26.04.23.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 May 2025 04:23:57 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?utf-8?b?RnLDqWTDqXJpYyBCYXJyYXQ=?= , "Michael S. Tsirkin" , Nicholas Piggin , Igor Mammedov , Daniel Henrique Barboza , qemu-ppc@nongnu.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= , Ani Sinha , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/3] hw/ppc: PowerNV machines expose a I2C bus Date: Mon, 26 May 2025 13:23:45 +0200 Message-ID: <20250526112346.48744-3-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250526112346.48744-1-philmd@linaro.org> References: <20250526112346.48744-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since commit 263b81ee15a, PowerNV machines instanciate a I2C controller, so expose a I2C bus. Express that in Kconfig, otherwise we get a configure error when trying to use '--without-default-devices': The following clauses were found for PCA9552 config PCA9552 depends on I2C select PCA9552 if POWERNV Fixes: 263b81ee15a ("ppc/pnv: Add an I2C controller model") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Cédric Le Goater --- hw/ppc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index ced6bbc7404..0d017df83ee 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -29,6 +29,7 @@ config POWERNV depends on PPC64 && FDT imply PCI_DEVICES imply TEST_DEVICES + select I2C select ISA_IPMI_BT select IPMI_LOCAL select ISA_BUS