From patchwork Wed Oct 3 15:07:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 978382 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JIutbVJr"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42QKHQ6dRcz9vd1 for ; Thu, 4 Oct 2018 01:11:46 +1000 (AEST) Received: from localhost ([::1]:49230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7ioS-0007CT-DN for incoming@patchwork.ozlabs.org; Wed, 03 Oct 2018 11:11:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7iln-00046W-41 for qemu-devel@nongnu.org; Wed, 03 Oct 2018 11:09:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7ilk-000400-1U for qemu-devel@nongnu.org; Wed, 03 Oct 2018 11:08:59 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:41309) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7ilj-0003zq-RE; Wed, 03 Oct 2018 11:08:55 -0400 Received: by mail-pf1-x442.google.com with SMTP id m77-v6so1824450pfi.8; Wed, 03 Oct 2018 08:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XNRrhUSKw6Our9SaiQsbulGGdRPGI+Mkwoe40VigXv0=; b=JIutbVJruEuO8tZweWmNwRVDgthLF8wT+j/mwVexkmnQTnsevhQTADjtpuvG2Rq3pE uZjwaB1iFU7VsoRAUjcxSvW3LTKiRgUqb7YaGQU+sfnEJdBkvDb9UxmmP6QbKVqc0D6D N7NQOhOczAmVI03qnGaojr3TZWwasSCQcuIzBJn49jQCoLB2IWf2VXo7ItEEqMdPdIHS id80EqCfue3uz0HoT/UZ5+sK9ieW8zFyIylBzuOh+CxyMzlFjSCmwNJsrwEsqwMAeVPE Iqkt5tb9ei+LvopQuNZueXikk6dq+gTdZ2xy9/pRwOgLdUjCY1cwlvN+FKq7a0ce/PTX 9P/Q== 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; bh=XNRrhUSKw6Our9SaiQsbulGGdRPGI+Mkwoe40VigXv0=; b=TZmnu8cMWQ9zUEERqwHMs5+zrU1o/3cCOdrd137fjYqnUr+a98iiiaM/RW68cu0Pb6 Q0PGjCGhgHYv3Jfh4NQMjJvR5p/RQuS/2tLz0pmbYvMToCx53dO8FmWcDZ/C2lA0zJF4 JLry4EF8x4ujz/yuSIHZos0tPP7lRM+My/HHemZDXqYLO29SEz7Tom1/97RfTAyPF1f5 6zx3aAcb9syA4PGfeugh1S1e3+KJ7R50JNnoVBNRgwPGNNsz1VjdDbpxO0YeLu7ELaWY Gv/VN0szduOJL9xdq620utgd4WQKK0aU820MAJpngKAHf8jUWCxawf189biSjb1vto95 T2IQ== X-Gm-Message-State: ABuFfojIEM2U9Co+h/CrDJVqK0R2jJR7vKT44oXapnq4y3ZVPIQLytb6 QFWX4u8n0XSOy/BQMgpGAuoic8eadPo= X-Google-Smtp-Source: ACcGV63bL54hgixKn+wifiGYNw63Niw5bfDdXMvMk/Bs9M6mnZ8jdvslXg9C6rDEVu+eOsBXnuDf2g== X-Received: by 2002:a62:3541:: with SMTP id c62-v6mr2055150pfa.45.1538579334373; Wed, 03 Oct 2018 08:08:54 -0700 (PDT) Received: from localhost ([149.199.62.254]) by smtp.gmail.com with ESMTPSA id k71-v6sm2779490pge.44.2018.10.03.08.08.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Oct 2018 08:08:52 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Wed, 3 Oct 2018 22:07:35 +0700 Message-Id: <1538579266-8389-2-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538579266-8389-1-git-send-email-edgar.iglesias@gmail.com> References: <1538579266-8389-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::442 Subject: [Qemu-devel] [PATCH v1 01/12] net: cadence_gem: Disable TSU feature bit X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: "Edgar E. Iglesias" Disable the Timestamping Unit feature bit since QEMU does not yet support it. This allows guest SW to correctly probe for its existance. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis --- hw/net/cadence_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index 0fa4b0d..e560b7a 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -1228,7 +1228,7 @@ static void gem_reset(DeviceState *d) s->regs[GEM_MODID] = s->revision; s->regs[GEM_DESCONF] = 0x02500111; s->regs[GEM_DESCONF2] = 0x2ab13fff; - s->regs[GEM_DESCONF5] = 0x002f2145; + s->regs[GEM_DESCONF5] = 0x002f2045; s->regs[GEM_DESCONF6] = 0x00000200; /* Set MAC address */