From owner-freebsd-ppc@freebsd.org Fri Apr 12 21:20:35 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 4131A15868A5 for ; Fri, 12 Apr 2019 21:20:35 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob13.registeredsite.com (atl4mhob13.registeredsite.com [209.17.115.51]) by mx1.freebsd.org (Postfix) with ESMTP id 574FA8DEF0 for ; Fri, 12 Apr 2019 21:20:34 +0000 (UTC) (envelope-from dclarke@blastwave.org) 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 x3CLKVZb009707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 12 Apr 2019 17:20:31 -0400 Received: (qmail 36815 invoked by uid 0); 12 Apr 2019 21:20:31 -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 21:20:31 -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: Mark Millard Cc: freebsd-ppc@freebsd.org References: <988F644F-D5E7-4FB4-AAB3-A72E9DA88CE6@yahoo.com> <465DBF40-EEF5-4D4A-95F6-DF17EB5B130B@yahoo.com> From: Dennis Clarke Message-ID: <5aecd21e-e53c-f14c-0bdc-8732fa88fed6@blastwave.org> Date: Fri, 12 Apr 2019 17:20:30 -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: <465DBF40-EEF5-4D4A-95F6-DF17EB5B130B@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 574FA8DEF0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.62)[-0.620,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.11)[0.113,0]; NEURAL_HAM_LONG(-0.51)[-0.506,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[blastwave.org]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx1.netsolmail.net]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[51.115.17.209.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; RCVD_NO_TLS_LAST(0.10)[]; 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.14), 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 21:20:35 -0000 On 4/12/19 4:51 PM, Mark Millard wrote: > On 2019-Apr-12, at 13:13, Dennis Clarke wrote: > >> On 4/12/19 3:19 PM, Mark Millard via freebsd-ppc wrote: . . . >> >> 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. > > Okay I'll paste them in as attachments. But be warned: Fair warning received loud and clear :-) > > The 2 files do not deal with threads being stuck sleeping > (and, so, the fans going) or other such. The stuck-sleeping > problem happens for both multi-socket G5's and multi-socket > G4's. (I do not have access to single-socket multi-core > powerpc64 or powerpc machines to test.) I have multiple G5 type boxen and will try them out. At least try to. > > So do not expect too much from these patches: They address > some necessary issues but are not sufficient for everything. > Of course. No problem. > These patches for the openfirmware->fdt translation are > closer to being reasonable for FreeBSD official use > than my highly context-specific stuck-sleeping patches for > usefdt mode. > Well to be frank we know this is for mac g5 hardware and thus having them working at all in any fashion is better than the current situation. Apple made a ton of them and they are dirt cheap and available as opposed to the IBM Power situation which is expensive and just in datacenters. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional