From owner-freebsd-current@freebsd.org Sun Feb 16 19:59:29 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2307B2404F0 for ; Sun, 16 Feb 2020 19:59:29 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LHy74BSsz4G2S for ; Sun, 16 Feb 2020 19:59:27 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-ot1-f53.google.com with SMTP id i6so14085303otr.7 for ; Sun, 16 Feb 2020 11:59:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=G7stUDSTog9Fk/b2Dw8Wk7Ux++nltCXjk4tfjxrRXOM=; b=iBMEKgQNVi7/MAHwwi/3K6ygoCq6BVOMKtXGJwkYLHe/EnrqNZBngSu6Gh3DSDACCO QvDVwOCqAPLp+7xYPhjyeXXDZsYxRt+PjfyDU3E2Q0MgxOurDMW2EwrpDV9i2+vU8ncV LaEJwKAZFQ8Zje0Mxwd1QqqK8qDiqdMlgAcG3dJjzjS+6zqdZUPMZQ7AD9MRoN9t4UzO tJVSEC8+Vd+rQXcY/N084BrHH9JQFw0rH1s63FmzUMKsY681Gx+A4Oz0RFgPeRYnwZbW NjosUNUe8krC4FO39tPhUKjlBvgFJMuSZy5T/GjOeoeciQJ1wdl/BsureV2vVpOLphmA AT/w== X-Gm-Message-State: APjAAAVC+y/8aMBPIC57NR8v1NhkKcVSkCCmO45ygycETNAk86kVouJ2 GIcNjY0LLYsIv1ZaZTaui43nPnZz X-Google-Smtp-Source: APXvYqydP9HCMvItQpSULSz6T0ElcKuKAyFQxRhidTzRzgsbTaIfD7SAPalMoMUtQeJ8tvgBigeGQg== X-Received: by 2002:a05:6830:18ce:: with SMTP id v14mr9570853ote.36.1581883165796; Sun, 16 Feb 2020 11:59:25 -0800 (PST) Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com. [209.85.167.177]) by smtp.gmail.com with ESMTPSA id v23sm4527190otj.61.2020.02.16.11.59.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Feb 2020 11:59:25 -0800 (PST) Received: by mail-oi1-f177.google.com with SMTP id b18so14780309oie.2 for ; Sun, 16 Feb 2020 11:59:25 -0800 (PST) X-Received: by 2002:aca:cf12:: with SMTP id f18mr8145838oig.81.1581883164980; Sun, 16 Feb 2020 11:59:24 -0800 (PST) MIME-Version: 1.0 References: <2e023769-a71a-b83b-0050-6fef5f3c499d@sentex.net> <20200213072212.GB79914@server.rulingia.com> In-Reply-To: <20200213072212.GB79914@server.rulingia.com> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Sun, 16 Feb 2020 11:59:14 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Which AMD CPUs are supported -- temperature To: Peter Jeremy Cc: bsd-lists@bsdforge.com, freebsd-current , mike tancsa X-Rspamd-Queue-Id: 48LHy74BSsz4G2S X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 209.85.210.53 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-3.14 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RWL_MAILSPIKE_GOOD(0.00)[53.210.85.209.rep.mailspike.net : 127.0.0.18]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[53.210.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.14)[ip: (-0.96), ipnet: 209.85.128.0/17(-3.00), asn: 15169(-1.68), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 16 Feb 2020 19:59:29 -0000 The step size of 1/8 degree C/K is documented in the public BKDG (prior to 17h) and PPR (17h+) documents available on AMD=E2=80=99s website, at least = for relatively recent models. I don=E2=80=99t know about very old models (reall= y anything older than 17h, although I=E2=80=99ve looked at the 15h docs some)= . Best, Conrad On Wed, Feb 12, 2020 at 23:22 Peter Jeremy wrote: > On 2020-Feb-12 15:23:51 -0500, mike tancsa wrote: > >Not sure about the older Athlon CPUs, but the 2 generations of Ryzen's I > >have seem correct as well as an APU > > > >CPU: AMD GX-412TC SOC (998.17-MHz K8-clas= s > CPU) > > OTOH, I'm not confident about temperatures on my APU. The publicly > available data just says that the SoC reports "a temperature on its own > scale" relative to a Tctl_max which "is specified in the power and therma= l > data sheet" (that I have been unable to locate). Everyone seems to assum= e > that the step size is 0.125K but I haven't found that publicly documented > anywhere. The AMD Product Brief states that the maximum temperature is > 90=C2=B0C but using that as Tctl_max gives me temperature readings that d= on't > look right. > > >And on a fanless APU > > > ># sysctl -a dev.cpu.0.temperature > >dev.cpu.0.temperature: 62.6C > > > ># sysctl -a dev.amdtemp.0.core0.sensor0 > >dev.amdtemp.0.core0.sensor0: 63.1C > > At what ambient temperature? I see a similar value from my (idle) APU3 > but don't believe the (implied) ~35K junction-to-ambient difference. > > -- > Peter Jeremy >