From owner-freebsd-ppc@freebsd.org Fri Apr 12 20:15:07 2019 Return-Path: Delivered-To: freebsd-ppc@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 E67CF1585232 for ; Fri, 12 Apr 2019 20:15:06 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhfb01.myregisteredsite.com (atl4mhfb01.myregisteredsite.com [209.17.115.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7808B8AEBD for ; Fri, 12 Apr 2019 20:15:02 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob13.registeredsite.com (atl4mhob13.registeredsite.com [209.17.115.51]) by atl4mhfb01.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id x3CKDuEi001163 for ; Fri, 12 Apr 2019 16:13:56 -0400 Received: from mailpod.hostingplatform.com (atl4qobmail02pod2.registeredsite.com [10.30.77.36]) by atl4mhob13.registeredsite.com (8.14.4/8.14.4) with ESMTP id x3CKDnBi007900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 12 Apr 2019 16:13:49 -0400 Received: (qmail 3414 invoked by uid 0); 12 Apr 2019 20:13:49 -0000 X-TCPREMOTEIP: 99.253.177.25 X-Authenticated-UID: dclarke@blastwave.org Received: from unknown (HELO ?172.16.35.3?) (dclarke@blastwave.org@99.253.177.25) by 0 with ESMTPA; 12 Apr 2019 20:13:49 -0000 Subject: Re: Patches to allow usefdt mode that works on a 2 socket PowerMac3, 6 example too --and makes more work on 2-socket/1-core-each PowerMac11, 2 To: freebsd-ppc@freebsd.org References: <988F644F-D5E7-4FB4-AAB3-A72E9DA88CE6@yahoo.com> From: Dennis Clarke Message-ID: Date: Fri, 12 Apr 2019 16:13:48 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Thunderbird/66.0 MIME-Version: 1.0 In-Reply-To: <988F644F-D5E7-4FB4-AAB3-A72E9DA88CE6@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 7808B8AEBD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.25)[-0.251,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.31)[-0.309,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.49)[0.494,0]; MX_GOOD(-0.01)[mx1.netsolmail.net]; RCVD_IN_DNSWL_NONE(0.00)[55.115.17.209.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; DMARC_NA(0.00)[blastwave.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19871, ipnet:209.17.112.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.10)[ip: (0.15), ipnet: 209.17.112.0/21(0.24), asn: 19871(0.19), country: US(-0.06)] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2019 20:15:07 -0000 On 4/12/19 3:19 PM, Mark Millard via freebsd-ppc wrote: > With the following 2 patches for converting > openfirmware to fdt content. . . > > PowerMac11,2 example for usefdt mode: > A) bge0 and bge1 are back in their historical places. > B) powerd on the PowerMac11,2 works again. > C) sysctl -a | grep cpufreq lists items for all the cpus > D) probably more. > > PowerMac3,6 example for usefdt mode: > E) gem0 is present again and even works. > F) Both CPUs are used again. > F) probably more. > (powerpd and cpufreq's are not operable/present even in > non-usefdt mode.) > > This message does not deal with other investigatory > patches for other issues than converting openfirmware > to fdt. But my test environment has all my investigatory > patches in order to avoid other things getting in the > way of my investigations. > > The code comments are fairly explicit about > what and why for the changes. > > I treat the patches as investigatory, not ready > in form for being official FreeBSD material. There > are likely questions of if the change go in the > right long-term direction --or even if old PowerMacs > will continue to be viewed as worth supporting > (because they compete with time spent on modern > support). > > I'll note that I've never had the 2-socket/1-core-each > PowerMac7,2 get any visible behavior after the Kernel > entry point message with any variation of usefdt mode. > Failing so early, I've not figured out any way to > investigate it hanging up. It does boot in non-usefdt > mode with my other investigatory patches in place. > > The openfirmware to fdt conversion patches are (white > space details might not have been preserved in the > message): > . . . . . > > === > Mark Millard Would you be so kind as to paste all this into : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233863 Really I would like to run some tests and follow up in the bug reports. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional