From nobody Fri Jul 19 15:40:06 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WQYlV6ssrz5Rr7B for ; Fri, 19 Jul 2024 15:40:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WQYlV3yXlz4sGq for ; Fri, 19 Jul 2024 15:40:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721403606; a=rsa-sha256; cv=none; b=ttxGdcMddDRa8AjA9vPwiNMNZnQmZLnAI2Z6kmis7DJxXsHDwr3Y52UTdBNdqkQq6kW5pL nZVqNQWjUoQBT5bvKbUSMSPfNhcpvsdqEdbvbj85/kTjGjJ6I3lfV0NxTwz3rGImxlgZSw Wd/6AmB0GAH78D87hc5m4x+gTe3LO3EaPkg+lQlzy5HyhGPqtBc1b2DXcBrIhdeUO38Ux/ DZZcE+4bZCLE2vADYtm1fBXAMYghY5WkS9svRJk1B/7DFiMeTIk6klQF+fdk+wgsCbF/Oe 8AF84ekw2mEXnJ0hy48PLQrgyNFH9KFKlUgiPV7ZYJiyed5L0srtl20Z0OJFjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721403606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6bBm4c6tMT4diNjJ3EdjZXv+K5dVO5QWsLtQTa9fOPw=; b=XB2ffFfjt5k4mZUGPLbR+dXw2prsJo9VdPc96fIswEmDnaA4pSXy4HZaR/m2/yz+WSJFnn Nfb/HCPS8LgeDPbWOf0VQP/Y+6HQYTLtUrE+NhqszKQ9dYsFSIToGb21QFGiocC6pe8eU3 aaHoreQj8V8CDoDlht5C4Ug6NVxPr1kQnJsOx9JS+WAyjwBWFp4ibhmP8BK0sDuM+/4pYU 4Dr4xVXvRZv5uOm6rhQPqvFv/EqhQDumI09nXWxChQ3JR8u6j9qwFsa5NwCSih08pRNnWr x6AMgRVNlvuuRygnHUpdceYkkSnDccSV0bcAIIL6jFMX7H3dVjaZbNm4K5ld3A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WQYlV3ZVYzdZH for ; Fri, 19 Jul 2024 15:40:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46JFe64Y003325 for ; Fri, 19 Jul 2024 15:40:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46JFe6j7003324 for bugs@FreeBSD.org; Fri, 19 Jul 2024 15:40:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280370] amdtemp: Add support for AMD Ryzen 7 PRO 6850U Date: Fri, 19 Jul 2024 15:40:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@lanter-it.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280370 Bug ID: 280370 Summary: amdtemp: Add support for AMD Ryzen 7 PRO 6850U Product: Base System Version: 15.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsd@lanter-it.ch Created attachment 252171 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252171&action= =3Dedit Test patch for family 19h model 44h The current amdtemp module does not recognize my mainboard. The module is loaded, but no values returned by sysctl: sysctl -a | grep temperature hw.acpi.thermal.tz0.temperature: 47.1C I have therefore tried to adapt 'sys/dev/amdsmn/amdsmn.c' and 'sys/dev/amdtemp/amdtemp.c'.=20 Now the mainboard is recognized and some temperature values are displayed f= or the individual cpu's (threads). But these values do not seem correct to me, i.e. the same values are always displayed for all cores.=20 However, this temperature correlates quite well with 'hw.acpi.thermal.tz0.temperature', but compared to the output of sensors (Debian 12.6 live) and HWInfo64 (Windows PE), the values appear to me to be approx. 5=C2=B0C too high.=20 I am also confused by the fact that HWInfo64 displays different temperatures for each core, not for CPUs/threads. Therefore two questions: 1. is the address used correct? 2. instead of 'AMDTEMP_ZEN4_10H_CCD_TMP_BASE' should I use 'AMDTEMP_17H_CUR_TMP'? HW probe of my Lenovo T14 Gen 3 AMD: https://bsd-hardware.info/?probe=3D0a2c02f944 Thank you in advance --=20 You are receiving this mail because: You are the assignee for the bug.=