From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g87Yr-0005r8-39 for qemu-devel@nongnu.org; Thu, 04 Oct 2018 13:37:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g87Yq-0005iS-EE for qemu-devel@nongnu.org; Thu, 04 Oct 2018 13:37:17 -0400 MIME-Version: 1.0 References: <1538579266-8389-1-git-send-email-edgar.iglesias@gmail.com> <1538579266-8389-2-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1538579266-8389-2-git-send-email-edgar.iglesias@gmail.com> From: Alistair Francis Date: Thu, 4 Oct 2018 10:36:47 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v1 01/12] net: cadence_gem: Disable TSU feature bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Edgar Iglesias Cc: "qemu-devel@nongnu.org Developers" , qemu-arm , figlesia@xilinx.com, Peter Maydell , Stefano Stabellini , Edgar Iglesias , Sai Pavan Boddu , Francisco Iglesias , Alistair Francis , Richard Henderson , KONRAD Frederic On Wed, Oct 3, 2018 at 8:11 AM Edgar E. Iglesias wrote: > > 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 Alistair > --- > 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 */ > -- > 2.7.4 > >