From owner-freebsd-current@freebsd.org Thu Jun 14 21:16:38 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B91EC1007E3D for ; Thu, 14 Jun 2018 21:16:38 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4113782F7D for ; Thu, 14 Jun 2018 21:16:38 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 02F791007E31; Thu, 14 Jun 2018 21:16:38 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D525E1007E2F for ; Thu, 14 Jun 2018 21:16:37 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7044682F7A for ; Thu, 14 Jun 2018 21:16:37 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yw0-x22e.google.com with SMTP id 81-v6so2653116ywb.6 for ; Thu, 14 Jun 2018 14:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Aw+KeO5cod+nIzxF7l/RFobdzRbQ5kEy23yswVTM1Fk=; b=cR4iIKYwd4/VkwfTCQfAIWX9rizbK8L9LW55vkP6aEZ7gKMzWGQz5xm4Rtug4dv7ZT cRIdIpNHUPJ50LLws129NKCj/eTF/RDuPpZOUVKbPmpXhhJ+JuzwOIf7Qk1S2B0K4dxx Ptw6EWW8jB8niyGNSFljl7OCbu77GtX8OvmlkJ48S8n/sBtMofF0heK1EIfAvDc42uNS X8alwUFe56KM3oz85KObEjUlSpsYZzyZMdXZjYncyF+NHKqMWwKvGOkYgA+/OK1Kz/Ff 51XFKeNr72bJ81EvjG0dc4STXAORry8ykO+5Jp4NUpJqwcHJymzZ8HqAUiy/Vee0XTTF 2LKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Aw+KeO5cod+nIzxF7l/RFobdzRbQ5kEy23yswVTM1Fk=; b=jNlhGBJO7Mf4JnWr96VlxC0ScF0QAhLuJczSqJTWutF8sFpfTcB5dS+hJkobJje5qf U0182JkAbsoVI4MrDiUMLL1PeK4Gw0GRw0h4INPtkMyMPlxFzQElQKYAUrFRQJMvg8dD iadW/rZthKFS1PJUg+xDvlmTvfPEtS9galvBE3egAu2vYMMADGZi3vhRShsShVH+50if mRgoerxzU/rQWdX4dpGDw1Ltkae1zbOsI4m1Vpv25o0+mlDXaWc+HqveDR8z62bIhN9y wb7sJfdobo6vhnxJuMte0NVjHYl5Jot/vOkb9VuBg10uf6sbCtf4xXnBTr73OZQXO7Kb lE5w== X-Gm-Message-State: APt69E3V/KTNDMqxfV5ONSTAn25QoSjnfJjl1MlKkyO9SvVIF1m0oECz LsSgP1btJApJqiBzJTvEfUsILX0T7w7eqzPltZNzCQ== X-Google-Smtp-Source: ADUXVKJkZs1G1+ylp3kAGBNGtdnM9x1xrIN9pz5GeFrBuWtGwgntrneOpYlgwvmOWNCkHJwrDgUhU5LXRJsCOXBNRB8= X-Received: by 2002:a81:b86:: with SMTP id 128-v6mr2364628ywl.214.1529010997000; Thu, 14 Jun 2018 14:16:37 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:db86:0:0:0:0:0 with HTTP; Thu, 14 Jun 2018 14:16:36 -0700 (PDT) In-Reply-To: <06e0d0d5-6a6b-e4e0-9b15-eb93ccc89b0b@sentex.net> References: <20180613103535.GP2493@kib.kiev.ua> <231dda70-6383-9d5c-d6c3-98e1c784f505@vangyzen.net> <402ba93e-4930-4237-dd53-d20a24b317e3@sentex.net> <20180614150354.GB2493@kib.kiev.ua> <06e0d0d5-6a6b-e4e0-9b15-eb93ccc89b0b@sentex.net> From: Oliver Pinter Date: Thu, 14 Jun 2018 23:16:36 +0200 Message-ID: Subject: Re: Ryzen public erratas (and Epyc ?) To: Mike Tancsa Cc: Konstantin Belousov , Eric van Gyzen , "current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 21:16:39 -0000 On Thursday, June 14, 2018, Mike Tancsa wrote: > On 6/14/2018 11:03 AM, Konstantin Belousov wrote: > > I am not sure about only microcode update. Depending on the BIOS > > vendor and current BIOS, you may need all three: BIOS update, microcode > > update using cpucontrol/devcpu-data, and running the script I posted. > > In the best case, some of this is just redundand. > > OK, before and after shows the same microcode rev > > CPU: AMD EPYC 7281 16-Core Processor (2100.06-MHz > K8-class CPU) > Origin="AuthenticAMD" Id=0x800f12 Family=0x17 Model=0x1 Stepping=2 > > Features=0x178bfbff APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > > Features2=0x7ed8320b SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2e500800 > AMD > Features2=0x35c233ff Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX> > Structured Extended > Features=0x209c01a9 ADX,SMAP,CLFLUSHOPT,SHA> > XSAVE Features=0xf > AMD Extended Feature Extensions ID EBX=0x1007 > SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 > TSC: P-state invariant, performance statistics > > # x86info -a | grep -i micro > Microcode patch level: 0x8001227 > # > > I then ran the fix script. I will let the box grind away over the > weekend to see if it survives. Previously, a couple of hours would lock > it up. I am running it now. One thing I did notice is a bunch of these > showing up > > Jun 14 17:11:18 r11epyc kernel: fpudna: fpcurthread == curthread This is a side effect of enabled eager FPU switch, it's orthogonal and already fixed - the printf has been removed - in current. > > > ---Mike > > -- > ------------------- > Mike Tancsa, tel +1 519 651 3400 x203 > Sentex Communications, mike@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >