From patchwork Wed Aug 24 15:51:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Philippe Brucker X-Patchwork-Id: 599733 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp3234473mae; Wed, 24 Aug 2022 08:53:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR7NcO5W+N1cP4XsZ7fyYW7hlzWKVwz0Be19/BJlRZ45bkksFzsufbqcGclkGupce2HrB8Fx X-Received: by 2002:a05:622a:487:b0:344:9600:2ce3 with SMTP id p7-20020a05622a048700b0034496002ce3mr22836985qtx.87.1661356389762; Wed, 24 Aug 2022 08:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661356389; cv=none; d=google.com; s=arc-20160816; b=0iYsiKH7jAxG7ICzc8o9vpmfUsI4mlCEbiMiUd5AMzGXWemXXGHohFqzCe3IBUkOeR QZj3cdwH2nquOCqNmJNVNSagXHe3UQePNoR7ymp0myJ9bYgGXNjn4pkAv3zOOUdeBB/2 +oYVDY9qhpLVybNN80aFUy8RVN1tQmfkfewtuuU9CWudlihwsfTgS8jksg+0hPQlBysh Q69XiQo4Td2M5RKRA2EAVvThSTDEWde+vYHeRAVPiuRfDVM2tykh0FBTZmpCtzI5SLZl D+32LcwViEisZXpt20ncZueUyyBF3+UOI5fKHywGW1AAyJyGEypsiGaMJ1/5LMeUJlNn T6Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=NpegIO2Jl3sr8Km87JjPhZQlLX1Qk+YO5jDOzfLx2hw=; b=Qpp9OdqRbUMRDo202Mh4+Z5Psl0q4iZvULzZ2b2uKPhwOpSyWMSWAGnASGeZzOMGff ahpVaFH0D9FK+HEnp+plz/NsYQyOeCmBdS/jHvc41nZgd1NP6Pvv8Ec+7m7trxUZ7DTO 7CjekUGfT1bv6QqGb6PZRKaU/vCdBjaEr5QoZAONGmmIFUEGZ1J7Dqqt/l8NIpkd+5x0 w0pQ4xJepRyAxXsjOmXzmhUCmlAukGZIg0KX+OfqqXT/MfnNi6le6321wgaKPrPOmAOa ZzK1BDuuSwK+AEBTK7kWA16+P+T9YEmE0ea1Qe9I3uflQiCu4SZUjDjnbyOIiVZqZ11F 5AYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ImZHoHjz; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h21-20020a05620a401500b006bb6412f926si9831673qko.577.2022.08.24.08.53.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Aug 2022 08:53:09 -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=ImZHoHjz; 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 Received: from localhost ([::1]:52220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQsgm-0002BG-As for patch@linaro.org; Wed, 24 Aug 2022 11:53:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQsf6-00027q-5o for qemu-devel@nongnu.org; Wed, 24 Aug 2022 11:51:24 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:39902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQsf3-0002EP-Hp for qemu-devel@nongnu.org; Wed, 24 Aug 2022 11:51:23 -0400 Received: by mail-wm1-x333.google.com with SMTP id r83-20020a1c4456000000b003a5cb389944so1162034wma.4 for ; Wed, 24 Aug 2022 08:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=NpegIO2Jl3sr8Km87JjPhZQlLX1Qk+YO5jDOzfLx2hw=; b=ImZHoHjzOyzVyLeHhuEIRhHqG1E9uBUE1rKCUuNIadRsTuK6qQc2WlXEh6coAxlzEz mQVTJAjRW3ntRgRiHb0GZrP/mmGibcJ+vlNQ1WZyDPiy1dYovX2wyu+7FvDqy4JjXQ6I sLke2qEVNvl155+E2OWdZSQSvIryndGl7LZZ859jNR+eWcBhy0v1qlexTM+JoZ5FUlNh fXLHzYxSbYOgYFQjE/6Knyt3dyGwnbNcl2J8TqXNi86hqA2jeiEXN7YMLsnjhVwSDgRS qUWWKBkpTzQjyWAoYGEMTqxAgsOonngFMEkQ6tz4hrMLlpIlp6Z6+PYUtj8S4n4qUeTZ fS0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=NpegIO2Jl3sr8Km87JjPhZQlLX1Qk+YO5jDOzfLx2hw=; b=XnPTwwRT0nP5crCn4+auGlEvl/of7hdbBE4G454+FZoCNs6QHHhGFzBdd4Bs7WYn/W w9kWN1vmnaoCoVOkGXAlFKjAA+y9mfB8HiAUJNdtQqFskZofC14QZsfFhJ64qbA6D/at uR0o7LBUOj0wqV8kKitBm5qPNONB8QOvzcEHY8rcMG8gMyv6gebtPNLH6KCuPHyGyLO2 ofe5XnfaK0P6YpHv5ZfdBSgfCV3NLyPsqh1YQTAeOMrYOcoaUN0YVyxx/SFdhdDW3HTq Q4+W+BrY4IoSYZvKy0WE3XJZuEiq6XB2lhJ/Npsa+TdUacPgFoxOGXSsGJHjR/bka5p2 AGsA== X-Gm-Message-State: ACgBeo1LmGGrwhvmri9RCn9XAaUrjpY04vN2i/cx+5tWl8VkhC5sV7lx LW6Fed0aJSFbiwl+qeNlMBtajg== X-Received: by 2002:a05:600c:4f90:b0:3a6:2bda:dc19 with SMTP id n16-20020a05600c4f9000b003a62bdadc19mr5524308wmq.17.1661356278159; Wed, 24 Aug 2022 08:51:18 -0700 (PDT) Received: from localhost.localdomain (cpc92880-cmbg19-2-0-cust679.5-4.cable.virginm.net. [82.27.106.168]) by smtp.gmail.com with ESMTPSA id q11-20020a5d61cb000000b00223b8168b15sm17236411wrv.66.2022.08.24.08.51.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Aug 2022 08:51:17 -0700 (PDT) From: Jean-Philippe Brucker To: peter.maydell@linaro.org Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, robh+dt@kernel.org, eauger@redhat.com, Jean-Philippe Brucker Subject: [PATCH 00/10] hw/arm/virt: Fix dt-schema warnings Date: Wed, 24 Aug 2022 16:51:04 +0100 Message-Id: <20220824155113.286730-1-jean-philippe@linaro.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=jean-philippe@linaro.org; helo=mail-wm1-x333.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, T_SCC_BODY_TEXT_LINE=-0.01 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" dt-validate throws a few warnings when checking the aarch64 virt DTB. Ensure that the virt DTB conforms to devicetree schema. Some schema changes were needed, and should be in next Linux version [1] I'm testing by running various virt machine configurations with -M dumpdtb=qemu.dtb, then running dt-validate [1] and dtc: dt-validate -s linux/Documentation/devicetree/bindings/ qemu.dtb dtc -O dts qemu.dtb -o qemu.dts [1] https://lore.kernel.org/linux-devicetree/20220822152224.507497-1-jean-philippe@linaro.org/ [2] https://github.com/devicetree-org/dt-schema Jean-Philippe Brucker (10): hw/arm/virt: Fix devicetree warning about the root node hw/arm/boot: Fix devicetree warning about the PSCI node hw/arm/virt: Fix devicetree warnings about the GIC node hw/arm/virt: Use "msi-map" devicetree property for PCI hw/arm/virt: Fix devicetree warning about the timer node hw/arm/virt: Fix devicetree warning about the gpio-key node hw/arm/virt: Fix devicetree warnings about node names hw/arm/virt: Fix devicetree warnings about the GPIO node hw/arm/virt: Fix devicetree warnings about the SMMU node hw/arm/virt: Fix devicetree warnings about the virtio-iommu node hw/arm/boot.c | 2 +- hw/arm/virt.c | 53 ++++++++++++++++++++++++++++----------------------- 2 files changed, 30 insertions(+), 25 deletions(-)