From nobody Sun Feb 8 21:41:59 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1566918414; cv=none; d=zoho.com; s=zohoarc; b=MCBu6Rz7AWKDzJhRzFPv03RGz2rm5U8uUq3RSkclZmhU1xAppZ9E6LqfxZuIoLTXZGDe34MLgleFuNIDNWmmWCW4N8i8LnHJOus1OztQdXjxxZLeoIEq4ygFZrpaMvB1SDtQQy2xqpA33dZ+ahQ5AYlIrZt7QnNDZvVhJzWlbVg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566918414; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=4WJCx+KkFqxUiJ7i2t7dWrFeqJqfy5xQ4bHLONc/qpY=; b=jct7KWc5pA1WsObWdMJ9xy1cp+Jj1UDoUh5+SuEBwp6jquNRIQA0ZP9C5qQnYXsKf/PN5i85A+F3H4g9oiy39Hxd7UflGvIHY73Zysz0UpbIa103+jDVElka0x3InsPYuzxFS01GlWGV3xf3FTH7SYGyoOC4u+de9ms6C7fVPkU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15669184145081006.3847634452763; Tue, 27 Aug 2019 08:06:54 -0700 (PDT) Received: from localhost ([::1]:52408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2d3c-0001Yt-Ou for importer@patchew.org; Tue, 27 Aug 2019 11:06:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46734) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2cw7-0003K1-NT for qemu-devel@nongnu.org; Tue, 27 Aug 2019 10:59:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2cw1-0003Zn-1m for qemu-devel@nongnu.org; Tue, 27 Aug 2019 10:59:03 -0400 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:45917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2cvz-0003Ti-2e; Tue, 27 Aug 2019 10:58:59 -0400 Received: by mail-pl1-x641.google.com with SMTP id y8so11933300plr.12; Tue, 27 Aug 2019 07:58:56 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id j15sm14839344pfr.146.2019.08.27.07.58.55 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 27 Aug 2019 07:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=4WJCx+KkFqxUiJ7i2t7dWrFeqJqfy5xQ4bHLONc/qpY=; b=jcoWEO1A6OxaVmdhWNZzSz982QUsm06A6E1Ua7B/JSvRwfany1dfsLYJ2BWIEfYUez pDawc8Xvi8b1QmI3EXxEgHYTJqMjJI5RlWH3QLRGBIkb+wgjUshOHy/Gqz0QT/+TgUco G8VI4EWoSfIvEIKeO1VKY8c5DTJDVWTynIg561qkaxazSjAYsW/NBkt3tR+sDvTshGjJ K9T6VNkKjAPcv/EQUd1rCF7fhVgHy7nQSJ6KFaJgbzYwGqc/uvQATWC+1Pxm5Fz9TkL8 aK09DEPnO+YMZzFmauzQ6aAXnMyewhduVmy6BXP0IrHFGQyrsYeeDJR4NF0NdJVWiFsN k5hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4WJCx+KkFqxUiJ7i2t7dWrFeqJqfy5xQ4bHLONc/qpY=; b=IV2IjAlFQopMp1dxjq3lKTHKXby+iS9HRTusgRqn4dFRU3GEkv/I7FZiWZv6QwU3F2 kLVtiJqGNCeptOkdZsbwXQbMEEGcIAalwGudav7mKcRrC7rEZevTpPp701XtBl+EOWHi brFkcycQlLrQSfcibTRRi6TZFzBB8fF8ouCYODWF5+FzcJ3KOxsW4gP6MsZoUdFOgZ+5 STrCQ/1qhNLVqgl+4DrfWdqb0SALruAxAt84GKwZjHDBdEWgDoJz3/juvJBvp8vti/ey SbkDSYa0Bo/6h3abLyX7mAoPe1xjrnzIAh9qeecSU35iY25sOc2Q5qM/Gu6cS8HJHfbu lZzQ== X-Gm-Message-State: APjAAAUx2e6pVn6l1nPSDajmMLY8rvY9AEtK+PK6QxxmnD2o2N5tjz34 p294B9Pv96GdCVQ1L9YOBYs= X-Google-Smtp-Source: APXvYqxqFxxBhnZKLBbo6FYA53O8YE0G27r5P+0+UXNc7jm8/DQ3ksmlKewHKCVgj4G1XvJwZcSWNg== X-Received: by 2002:a17:902:2bc5:: with SMTP id l63mr25026985plb.239.1566917936021; Tue, 27 Aug 2019 07:58:56 -0700 (PDT) From: Bin Meng To: Alistair Francis , Palmer Dabbelt , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Date: Tue, 27 Aug 2019 07:58:19 -0700 Message-Id: <1566917919-25381-11-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1566917919-25381-1-git-send-email-bmeng.cn@gmail.com> References: <1566917919-25381-1-git-send-email-bmeng.cn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::641 Subject: [Qemu-devel] [PATCH v6 10/30] riscv: sifive_e: prci: Fix a typo of hfxosccfg register programming X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) For hfxosccfg register programming, SIFIVE_E_PRCI_HFXOSCCFG_RDY and SIFIVE_E_PRCI_HFXOSCCFG_EN should be used. Signed-off-by: Bin Meng Acked-by: Alistair Francis Reviewed-by: Chih-Min Chao Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None hw/riscv/sifive_e_prci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/riscv/sifive_e_prci.c b/hw/riscv/sifive_e_prci.c index c514032..71de089 100644 --- a/hw/riscv/sifive_e_prci.c +++ b/hw/riscv/sifive_e_prci.c @@ -90,7 +90,7 @@ static void sifive_e_prci_init(Object *obj) sysbus_init_mmio(SYS_BUS_DEVICE(obj), &s->mmio); =20 s->hfrosccfg =3D (SIFIVE_E_PRCI_HFROSCCFG_RDY | SIFIVE_E_PRCI_HFROSCCF= G_EN); - s->hfxosccfg =3D (SIFIVE_E_PRCI_HFROSCCFG_RDY | SIFIVE_E_PRCI_HFROSCCF= G_EN); + s->hfxosccfg =3D (SIFIVE_E_PRCI_HFXOSCCFG_RDY | SIFIVE_E_PRCI_HFXOSCCF= G_EN); s->pllcfg =3D (SIFIVE_E_PRCI_PLLCFG_REFSEL | SIFIVE_E_PRCI_PLLCFG_BYPA= SS | SIFIVE_E_PRCI_PLLCFG_LOCK); s->plloutdiv =3D SIFIVE_E_PRCI_PLLOUTDIV_DIV1; --=20 2.7.4