From nobody Tue Jun 15 19:53:05 2021 X-Original-To: freebsd-arm@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 4C82B11E0E76 for ; Tue, 15 Jun 2021 19:53:05 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G4Jrx1fnWz3CxF for ; Tue, 15 Jun 2021 19:53:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2155B67A2 for ; Tue, 15 Jun 2021 19:53:05 +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 15FJr5to095702 for ; Tue, 15 Jun 2021 19:53:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15FJr5k9095701 for freebsd-arm@FreeBSD.org; Tue, 15 Jun 2021 19:53:05 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: freebsd-arm@FreeBSD.org Subject: [Bug 256628] Allwinner aw_thermal error Date: Tue, 15 Jun 2021 19:53:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@justmail.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@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 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: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256628 Bug ID: 256628 Summary: Allwinner aw_thermal error Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: freebsd@justmail.de aw_thermal seems not to attach properly on my NanoPI NEO2: root@bsd-neopi:~ # dmesg | grep therm=20 aw_thermal0: mem 0x1c25000-0x1c250ff = irq 4 on simplebus0 aw_thermal0: Cannot read THS efuse device_attach: aw_thermal0 attach returned 6 interface aw_thermal.1 already present in the KLD 'kernel'! root@bsd-neopi:~ # sysctl -n dev.aw_thermal.0.cpu sysctl: unknown oid 'dev.aw_thermal.0.cpu' root@bsd-neopi:~ # uname -UKa FreeBSD bsd-neopi 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n247356-715df83abc0: Mon Jun 14 21:20:51 CEST 2021=20=20=20=20 root@freebsd-current-vm:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-NODEBUG= =20 arm64 1400023 1400023 I do only have another productive node running an old 13-CURRENT where the driver attaches: root@nanopi-bsd:~ # cat /var/log/messages | grep therm Feb 15 11:36:30 nanopi-bsd kernel: aw_thermal0: mem 0x1c25000-0x1c250ff irq 4 on simplebus0 root@nanopi-bsd:~ # uname -aUK FreeBSD nanopi-bsd 13.0-CURRENT FreeBSD 13.0-CURRENT efa57a39e85(master) GENERIC-NODEBUG arm64 1300021 1300021 root@nanopi-bsd:~ # sysctl dev.aw_thermal.0 dev.aw_thermal.0.gpu: 42C dev.aw_thermal.0.cpu: 38C dev.aw_thermal.0.%parent: simplebus0 dev.aw_thermal.0.%pnpinfo: name=3Dthermal_sensor@1c25000 compat=3Dallwinner,sun50i-h5-ths dev.aw_thermal.0.%location:=20 dev.aw_thermal.0.%driver: aw_thermal dev.aw_thermal.0.%desc: Allwinner Thermal Sensor Controller --=20 You are receiving this mail because: You are the assignee for the bug.=