Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pXUTg-0006uE-P9 for mharc-qemu-riscv@gnu.org; Wed, 01 Mar 2023 16:59:12 -0500 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 1pXUTf-0006u5-SS for qemu-riscv@nongnu.org; Wed, 01 Mar 2023 16:59:11 -0500 Received: from mail-oa1-x2e.google.com ([2001:4860:4864:20::2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXUTd-000708-L9 for qemu-riscv@nongnu.org; Wed, 01 Mar 2023 16:59:11 -0500 Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-17235c8dab9so16038717fac.7 for ; Wed, 01 Mar 2023 13:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1677707948; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0yXhPwzd9xeLv+Bcgr8U+SQho4Zwj+7nLFiFpaG5yOg=; b=pZCZzbsJ5DoPu8fdbUWoLQSrBqQV4KUdNZXRZUl27muCDZHfv4r+EoIUy6KPwA9T3a iuW7B850tiZ8vPK6a+uPM+l6MKsemItiPrNYIbzoVKjS/1rkM+D2+mZWZY+CWk6q1ALB eUQtFWGPdC+SANApNjswgfd828qKVw0B6WTl7Tl8+zv+BAXzI6uM15Og1CmbxaNtbiHK +EE9LOnabjmqhfqpzDDs4bb98EoCA1xzgPwRXl4/Xwx/3Y3aC61C5L65qeEgP2tWxRjH KA25lOFkvaFkxZ5/YL5BIoH+0/dZ5Qsx+/7ei/Efnk5HU4y8+4IF5lCCSikUXTLDPAKU cJlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677707948; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0yXhPwzd9xeLv+Bcgr8U+SQho4Zwj+7nLFiFpaG5yOg=; b=yeQ6MzdYWk+p9NBbfUsVzf2UJ5v3YMif6YbyuhOrhwvODWsebwchrwPPrOupFMCWIl dCy7KUAUHH+ywgwx1QLmmYD7RbbzDTiNZ1OGYzheOjFD7tTi9x6YlmglYaNy6I+1QOAZ h/MmnKPScAmWC8cKGt+LIBfkxKoAFRd+lwmyJMoLXRvyW5Qe5vHF2NY0tg7oZnqJFtM7 5cukAfRd8aCdAjn48rML0qmRbMYzzHfiIHrDQkVKbE6MxrlFkFFXuJCTqwFy8mlYqwNg w5Lz6qa9boPM5R9J3VxjbTk6Shf6J6IoDB4BIx8/RmDTncvDrOLgP1TITuT41u8q6U7D lUow== X-Gm-Message-State: AO0yUKV2IkCprI0pv/7Q6EswFAZdWPvjWJWdmoYlnY3F0latvfj3cydj AIlhb8neYlz5885DQeVf28Cfkw== X-Google-Smtp-Source: AK7set+ECNjMahnKIhE3hmQyqSEzIIKqHGa+tLTBAIi0+amkPBUQZ57Mut3jl6aVCLu5OjphbUgTvw== X-Received: by 2002:a05:6870:4591:b0:175:7910:a32f with SMTP id y17-20020a056870459100b001757910a32fmr2792481oao.26.1677707948192; Wed, 01 Mar 2023 13:59:08 -0800 (PST) Received: from grind.. ([177.189.55.88]) by smtp.gmail.com with ESMTPSA id zf40-20020a0568716aa800b001722c5625e2sm4850307oab.7.2023.03.01.13.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 13:59:07 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liweiwei@iscas.ac.cn, zhiwei_liu@linux.alibaba.com, palmer@rivosinc.com, Daniel Henrique Barboza Subject: [PATCH 0/1] hw/riscv/virt.c: add cbom-block-size fdt property Date: Wed, 1 Mar 2023 18:59:01 -0300 Message-Id: <20230301215902.375217-1-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:4860:4864:20::2e; envelope-from=dbarboza@ventanamicro.com; helo=mail-oa1-x2e.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2023 21:59:12 -0000 Hi, I'm sending this almost last minute patch as part of the work done in: [PATCH v8 0/4] riscv: Add support for Zicbo[m,z,p] instructions It turns out that the Linux kernel expects a 'cbom-block-size' FDT prop to be able to determine the cbom-block-size. Without this patch the kernel will misbehave with the Zicbom extension in the virt machine. Note that a similar patch would be need for other RISC-V machines that wants to support Linux with Zicbom. Anup Patel (1): hw/riscv/virt.c: add cbom-block-size fdt property hw/riscv/virt.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.39.2