From owner-freebsd-ppc@freebsd.org Sun Apr 21 02:28:11 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 17B8D157DA66 for ; Sun, 21 Apr 2019 02:28:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9717E860B8 for ; Sun, 21 Apr 2019 02:28:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: SvO30FkVM1ncoTC4ls4wzUeUQIVkKl7VPElpSbo_opOnulJ.2Q.vrQ1xor_TEZq fle8HPv1sT_ItsKwny2zwxvi45E1DR_Wju78HsjcDJTNFvlEFaWr7BpAT_J2iqtxnQ0wOOWYVgvi Bu2BFB.1tQp1rTlM2LtZw4SnGBEhVYEdC9Oi64xNysSCbz1gQnreeo06dck0cz7eiCBtgJMBU7y7 ojeX_gECbfMuChp_yAtxuZWqCoJNSFgL1UfLsMyN41Wb25ApvYw2iD1.CCtSnxrvawrO9.ARKQmG YZplw9L_vbu6tTHjmG0VxbdMHDsmd892rned_i50alh5CkM9vxZam8HWZYuBTj4b3gq3bMW8eUtx 001p9dIpT6jmTn9KhqrLYFanG65bnhZ9aSNBBuHpHwFN52tJztekn.DnPg_SrAU1hDkN6dVqCpKT 6bPzrMdOgAxLhvSu49Gj7aM3n3YrE57peam3cNqsTM_4m1xZkO0UDaDbrEadbUuJhqrm91gRftBJ Yi.ubYuPQZbIDL6xNQ57m5r4AlP8edNRyHdu0DXRcheEwQmJw8as_Enzi2.Vidyg22bKQiZXUu_0 X4fnMBaXfRX52xSZGAnOOg80Q2pm0.FqxcNXpQW_0uWa2Je8KEEf6WDb._JqEwPDzEBF0DByfplu B74ZhJBrUInDZtkcAZ8LbASOw2j5z9WqtB23441umLo_HMi5lKRyowxFZbfqQpISie2RaeXfh9vv JW3vWR5gTYRnXi45eWIuADLwGsmJTotQmbtnGSIxcMqC9dOftjZIhNc.6nXA1uaA1TU8LnQRqqOQ 2.iVn8tSNwgBAXUrjp6iNMKSd8Ic_CCT4P_WsARHB.Ex3x4pjRRQ6heAkmglV5NHFUNw4r6udEcc rPDWfBdMiVhlgV2jBi39g4YjkgvEJdyQMxkZobXVdfJ_CGY5TURvnu8Skv9K4PL27E2FpWWIRmQl uw8SFdcZU1XbIz3Zxq9XmhkfOmf62CY4JtOfsa7yntTUpf.qDN8Gw0JmXWurKtAV.0.9yqas.4lK tqLwOvMsCWgoB5u2dxH0qa0lpZwkAcqUZZOE13oqAZBDLlCUCMUfcWLe48xmJqdeRP8yZVqVVszL yU9G1RZSyf563Vj9dBGtwCHxVRG0zbFfk4N8ZEdAAfXoJXfv3gYD4ypPs Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sun, 21 Apr 2019 02:28:01 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp427.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID af6bc23e06562ef76d02bfc93ba07bb2; Sun, 21 Apr 2019 02:27:57 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) 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 From: Mark Millard In-Reply-To: <433A1839-8232-4785-91AD-1EF5EAF31294@yahoo.com> Date: Sat, 20 Apr 2019 19:27:56 -0700 Cc: freebsd-ppc@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <11433EF4-5A8B-48FF-BA41-F11AF4873647@yahoo.com> References: <988F644F-D5E7-4FB4-AAB3-A72E9DA88CE6@yahoo.com> <465DBF40-EEF5-4D4A-95F6-DF17EB5B130B@yahoo.com> <5aecd21e-e53c-f14c-0bdc-8732fa88fed6@blastwave.org> <55E83F50-197D-43C7-B4D6-E69A5AEC2630@yahoo.com> <1B999D64-036F-4553-B024-93D0150FD60D@yahoo.com> <433A1839-8232-4785-91AD-1EF5EAF31294@yahoo.com> To: Dennis Clarke X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 9717E860B8 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.78 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.94)[0.939,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.93)[ip: (8.06), ipnet: 98.137.64.0/21(0.92), asn: 36647(0.73), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.64)[0.636,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.79)[0.786,0]; RCVD_IN_DNSWL_NONE(0.00)[84.64.137.98.list.dnswl.org : 127.0.5.0] 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: Sun, 21 Apr 2019 02:28:11 -0000 To my knowledge, the investigatory patches to head -r345758 that are now in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233863 are sufficient for both non-usefdt mode and usefdt mode for booting and using the old PowerMac's that I can test, both G5 and G4. I'm hoping that other Apple ppc's that used to work before various changes again work for non-usefdt mode. Ones with even longer term problems probably still have such. One requirement for usefdt mode is: kern.vty=vt Using sc hangs after the "Kernel entry at" message before even clearing the screen. (This is so early I may never figure out a way to isolate the problem for sc: no serial console context.) So, unlike before, I now expect that testing on whatever variety of Apple G5 types that you have access to would be very useful to you and make evidence about the patches beyond what I can do with what I have access to. (It also cross checks if I've forgotten to post something.) This applies to both non-usefdt mode and usefdt mode. Similarly for any variety of Apple G4's, if you have access to some. The only powerpc64 and 32-bit-powerpc systems that I have access to are old PowerMacs. So I can not check the status of any other types of ppc systems with my patches involved. One thing I'm not sure of for usefdt mode is what the consequences of small memory machines might be. /usr/src/stand/powerpc/ofw/ofwfdt.c has: int fdt_platform_load_dtb(void) { void *buffer; size_t buflen = 409600; buffer = malloc(buflen); fdt_create_empty_tree(buffer, buflen); add_node_to_fdt(buffer, OF_peer(0), fdt_path_offset(buffer, "/")); ofwfdt_fixups(buffer); fdt_pack(buffer); fdt_load_dtb_addr(buffer); free(buffer); return (0); } On a 1 GiByte machine, with some other overhead use of RAM, that 409600 could be around half the available memory --or more. Even though fdt_load_dtb_addr will make a smaller copy, and then the bigger one will be freed, the copy's address range is constrained by the existing big allocation at the time. On a sufficiently small memory machine the 409600 would just not be possible. (That might even be true for a 1 GiByte machine.) Note the lack of any check on the malloc(409600)'s success vs. failure status. (By contrast, fdt_load_dtb_addr does check for a NULL return, even though fdt_platform_load_dtb ignores the fdt_load_dtb_addr return value.) So if any of your testing contexts are "small" memory ones, it may be for those that only non-usefdt mode is the only effective option. Some patches only matter for usefdt mode, because they are about the conversion to fdt in the loader or use of the phandle nodes that the conversion adds to record openfirmware's original node-ids (xrefs vs. node refs). (Presumes no typing of commands like "fdt header" or such in the loader before the non-usefdt boot. Otherwise the fdt command itself does do a conversion at the time and so the conversion code would be involved.) So, for just testing non-usefdt mode, fewer of the patches are needed. No longer should any of my usefdt mode pure-hacks be required. (I now use my hacks to see if they report ever having anything special to do vs. not. This is more complete of a check than just watching overall normal-use behavior for usefdt mode.) I've not posted the current versions of my pure-hacks anywhere and I'd avoid any old postings about old versions. I hope to back out the hacks in my context as well. (Note: I have access to one old PowerMac G4 that no version of FreeBSD that I've ever tried over the years could complete the boot. OS X had no problem with it, nor did the Linux that I tried. Until/unless I isolate the low level spot were FreeBSD fails on it, I ignore this old PowerMac in my wording for my testing.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Sun Apr 21 02:33:12 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 1446C157DD07 for ; Sun, 21 Apr 2019 02:33:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A008B863BE for ; Sun, 21 Apr 2019 02:33:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5E0CB157DD06; Sun, 21 Apr 2019 02:33:11 +0000 (UTC) Delivered-To: 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 4A178157DD03 for ; Sun, 21 Apr 2019 02:33:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB5CB863BC for ; Sun, 21 Apr 2019 02:33:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0E592CDF2 for ; Sun, 21 Apr 2019 02:33:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3L2X9HU090149 for ; Sun, 21 Apr 2019 02:33:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3L2X9UE090147 for ppc@FreeBSD.org; Sun, 21 Apr 2019 02:33:09 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Sun, 21 Apr 2019 02:33:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 21 Apr 2019 02:33:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #21 from Mark Millard --- (In reply to Mark Millard from comment #8) I went back through and my notes in comment #8 are wrong about what the slb mismatches are from. I apparently confused some prior context with the relevant one. The patch is still relevant and appropriate for the actual cases of needing a slb entry. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Sun Apr 21 02:36:56 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 21B82157DDDF for ; Sun, 21 Apr 2019 02:36:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9698F86542 for ; Sun, 21 Apr 2019 02:36:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5828C157DDDD; Sun, 21 Apr 2019 02:36:55 +0000 (UTC) Delivered-To: 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 362ED157DDDC for ; Sun, 21 Apr 2019 02:36:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C57618653E for ; Sun, 21 Apr 2019 02:36:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1B091CDF5 for ; Sun, 21 Apr 2019 02:36:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3L2arGC031387 for ; Sun, 21 Apr 2019 02:36:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3L2arqa031383 for ppc@FreeBSD.org; Sun, 21 Apr 2019 02:36:53 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Sun, 21 Apr 2019 02:36:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 21 Apr 2019 02:36:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #22 from Mark Millard --- One thing I'm not sure of for usefdt-mode is what the consequences of small memory machines might be. /usr/src/stand/powerpc/ofw/ofwfdt.c has: int fdt_platform_load_dtb(void) { void *buffer; size_t buflen =3D 409600; buffer =3D malloc(buflen); fdt_create_empty_tree(buffer, buflen); add_node_to_fdt(buffer, OF_peer(0), fdt_path_offset(buffer, "/")); ofwfdt_fixups(buffer); fdt_pack(buffer); fdt_load_dtb_addr(buffer); free(buffer); return (0); } On a 1 GiByte machine, with some other overhead use of RAM, that 409600 could be around half the available memory --or more. Even though fdt_load_dtb_addr will make a smaller copy, and then the bigger one will be freed, the copy's address range is constrained by the existing big allocation at the time. On a sufficiently small memory machine the 409600 would just not be possible. (That might even be true for a 1 GiByte machine.) Note the lack of any check on the malloc(409600)'s success vs. failure status. (By contrast, fdt_load_dtb_addr does check for a NULL return, even though fdt_platform_load_dtb ignores the fdt_load_dtb_addr return value.) Nothing that I've done so far attempts to deal with such issues. The behavior for insufficient problems is probably a mess and it may not be obvious that any odd behavior is tied to insufficient RAM for the existing implementation. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Sun Apr 21 05:04:46 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 A3E7A1582471 for ; Sun, 21 Apr 2019 05:04:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A53F8BA6C for ; Sun, 21 Apr 2019 05:04:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id AD6E719604; Sun, 21 Apr 2019 05:04:45 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 7D61E19603 for ; Sun, 21 Apr 2019 05:04:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57D058BA55 for ; Sun, 21 Apr 2019 05:04:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 947E4E3CF for ; Sun, 21 Apr 2019 05:04:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3L54chM008583 for ; Sun, 21 Apr 2019 05:04:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3L54cWW008582 for powerpc@FreeBSD.org; Sun, 21 Apr 2019 05:04:38 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: powerpc@FreeBSD.org Subject: [Bug 237208] java/openjdk11: port to powerpc64 Date: Sun, 21 Apr 2019 05:04:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 4A53F8BA6C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Sun, 21 Apr 2019 05:04:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 373 | |70 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Sun Apr 21 05:04:46 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 9EECD1582470 for ; Sun, 21 Apr 2019 05:04:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 422748BA6B for ; Sun, 21 Apr 2019 05:04:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id C580D19600; Sun, 21 Apr 2019 05:04:42 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 0113F195FF for ; Sun, 21 Apr 2019 05:04:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DAED8BA50 for ; Sun, 21 Apr 2019 05:04:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 71CD4E3CB for ; Sun, 21 Apr 2019 05:04:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3L54a2q008550 for ; Sun, 21 Apr 2019 05:04:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3L54aga008549 for powerpc@FreeBSD.org; Sun, 21 Apr 2019 05:04:36 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Sun, 21 Apr 2019 05:04:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc see_also bug_status keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 422748BA6B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Sun, 21 Apr 2019 05:04:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|java/openjdk12: port to |java/openjdk12: Add |powerpc64 |powerpc64 support See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 372 | |08 Status|New |Open Keywords| |feature, needs-qa --- Comment #1 from Kubilay Kocak --- @Curtis If bug 237208 needs to land before this can, please add it to the 'Depends on' field --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Sun Apr 21 05:08: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 9FD1F158262F for ; Sun, 21 Apr 2019 05:08:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-20.consmr.mail.gq1.yahoo.com (sonic302-20.consmr.mail.gq1.yahoo.com [98.137.68.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D9C28BBBA for ; Sun, 21 Apr 2019 05:08:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: l8S9YhkVM1mPFUdUgrfc0CxGPWCcsABTURO_wJcNwGFX824jWounLd6UW2IQrNt RT9PegmsK3EYrACDa4Zlu6_h4btYgD3RAC2G90XfZ67bEqNx5WpokA6yaiwc0atdWvpfKmJ62IaH MUpHnZ5iJ1ABzZUnXRGcgPsrNcur7.ctXFJlnu9tpWdfgMKC3JXHtiTrs89wZczOUqL1HxbLEy92 88YHieTbYTGcQElx0FLfVayJlbK0oS9wYWZfZRbQbrhIhrW7KBfYnukDXL1uCgbdyVfuvdIu.Lou kvO3UcKB0VJ8PxC7oUE5mPRQgl659I1ltWlheERcidaLXtvtqAFgEdh0e9ciQLhXozyNK7u1xtLF WsXprOI7lEB2nCIWGj3IILmwg8flSZFF5CEfiPZgpbWoHceZh0wzTlZu3AO.gg6TT.hvXlMwNE_r lPJtoNfU5NT.2LDnEOu5Fa7Wcn6qdSx9GsRTN6rWfpPdpmDY9Q19II8z3QENwOThgRBf_9bNkfFu EkAOuh8N4fHWraLzoFKL0S_1pctbqkTebcm9sq7iLpbiB3bX9YWjtsbMzd33AC0Mjo2rYRriyftI OgBG3bakBmBBdBjZP6bOT09ON71MjHiAo6gHObNxqbn.Kkk.M0SYcNBgq2PF20qjBJ2Hl3Pku7t3 4OT2Hhup7d2QBqVdKZ3lybY_Zs3gYJ6nPZU0pw.UC2bxNC3fXy0bIzDoRkiSejTpCHdhXf7dlXAP UTH91jAekxn4vfrmCnScGwNBx82rC3nUtzmnMr5x3aUpVd6ybl8EzWhp.R0O8UC0brCtpvY92Yqz 9uB_rQRiynkJhU_y3JBwi0O4glSA.sqmuC72LhR0UGwyyYefkh4zILrVhnHEKsPyQ5ztfnRyogkY WPugMP08RCQtYoVP0NwlXF9XRg9W20_O50OUOGbWzrsMCipd4Ewgph2KXNUoyFUIW0KPs_DZpfPH YmqE8ss4bUnWzVy1CaRJvL5b_HHF_fw1hXlkWZ_gbVwU7p3kvTmW.JUuimnARHYeB.UX17rqqkLY PM2vFAVmZuPdNJ9cHnFNngqIMGsnfUImgvMnwVptzRB3eBfbmjTnbcC55bujlcQRfE1PiESyCBGk d9Ed4FG_XvIBXeYD1jsmb414L38c- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Sun, 21 Apr 2019 05:07:59 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp409.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d1b27d599f889d9946884148b1f22cf6; Sun, 21 Apr 2019 05:07:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: Under usefdt=1 type of context for G5 "4 core" (system total): unload then boot /boot/kernel/kernel fails very early with: panic: Translation map has incorrect cell count (260/256) From: Mark Millard In-Reply-To: Date: Sat, 20 Apr 2019 22:07:54 -0700 Cc: FreeBSD PowerPC ML , Justin Hibbits , Nathan Whitehorn Content-Transfer-Encoding: quoted-printable Message-Id: <56F7B1A9-3095-486B-9BE4-7602484984DF@yahoo.com> References: <9A6549AE-46FB-41B9-8F15-9E1AE3E16E2C@yahoo.com> To: "Mark L. Mil." X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 6D9C28BBBA X-Spamd-Bar: - X-Spamd-Result: default: False [-1.07 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.870,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.68)[0.678,0]; NEURAL_HAM_LONG(-0.91)[-0.906,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.54)[ip: (1.10), ipnet: 98.137.64.0/21(0.92), asn: 36647(0.73), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[146.68.137.98.list.dnswl.org : 127.0.5.0] 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: Sun, 21 Apr 2019 05:08:07 -0000 [Why there were 256*4 bytes instead of 260*4 bytes is now known: the conversion to fdt truncated the translations property to 1024 bytes, no longer a multiple of 5.] On 2019-Jan-29, at 16:30, Mark Millard wrote: > On 2019-Jan-28, at 23:42, Mark Millard wrote: >=20 >> [The loader here has been modified to always do the usefdt=3D1 code. >> The modern VM_MAX_KERNEL_ADDRESS is in the kernel.] >>=20 >> In trying to boot for other experiments I tried at the loader prompt: >>=20 >> unload >> load /boot/kernel/kernel >> boot >>=20 >> and: >>=20 >> unload >> boot -v /boot/kernel/kernel >>=20 >> Such combinations produced (typed from a picture of the screen, >> the missing text was really missing): >>=20 >> GDB: no debug ports present >> KDB: debugger backends: ddb >> KDB: current backend: ddb >> panic: Translation map has incorrect cell count (260/256) >=20 > Note that 260 is a multiple of 5 and 4 but 256 is not a multiple > of 5. Being a multiple of 5 is important for "acells=3D=3D2" = contexts. >=20 > Going through some of the code, first noting some context: >=20 > struct ofw_map { > cell_t om_va; > cell_t om_len; > uint64_t om_pa; > cell_t om_mode; > }; >=20 > This has 4 fields but one appears to be bigger than cell_t > if I understand right. This gets into if: >=20 > OF_getencprop(OF_finddevice("/"), "#address-cells", &acells, > sizeof(acells)); >=20 > indicates 2 cells for om_pa (via acells=3D=3D2) or just 1 cell. So > when acells=3D=3D2 there are 5 cells per, otherwise there are 4. >=20 > Now to the routine in question: >=20 > static void > moea64_add_ofw_mappings(mmu_t mmup, phandle_t mmu, size_t sz) > { > struct ofw_map translations[sz/(4*sizeof(cell_t))]; /*>=3D 4 = cells per */ >=20 > For acells=3D=3D2 the above potentially over allocates translations = some. > Later it turns out that if it does that may prevent out of bounds > writing into translations . >=20 >=20 > pcell_t acells, trans_cells[sz/sizeof(cell_t)]; >=20 > It turns out that sz/sizeof(cell_t) at this point ended up as a > multiple of 4 but not of 5, despite acells=3D=3D2 being the case. > Later this leads to out of bounds accesses for trans_cells . >=20 > struct pvo_entry *pvo; > register_t msr; > vm_offset_t off; > vm_paddr_t pa_base; > int i, j; >=20 > bzero(translations, sz); > OF_getencprop(OF_finddevice("/"), "#address-cells", &acells, > sizeof(acells)); >=20 > This ended up with acells=3D=3D2 --so 5 cells per translation entry. >=20 > if (OF_getencprop(mmu, "translations", trans_cells, sz) =3D=3D = -1) > panic("moea64_bootstrap: can't get ofw translations"); >=20 > For acells=3D=3D2: sz/sizeof(cell_t) not being a multiple of 5 means > either some unused trans_cell entries or access outside the > trans_cells array in the loop below, depending on the loop test > used. >=20 > CTR0(KTR_PMAP, "moea64_add_ofw_mappings: translations"); > sz /=3D sizeof(cell_t); >=20 > sz here ended up as 256, not a multiple of 5. >=20 > for (i =3D 0, j =3D 0; i < sz; j++) { >=20 > The i < sz test is testing the first of the 4 or 5 being > below sz instead of testing the last of the 4 or 5. This > leads to out of bounds accesses into trans_cells below for > the 256 with acells=3D=3D2 case. It also means that the last > translations[j] ends up with some garbage content. >=20 > translations[j].om_va =3D trans_cells[i++]; > translations[j].om_len =3D trans_cells[i++]; > translations[j].om_pa =3D trans_cells[i++]; > if (acells =3D=3D 2) { > translations[j].om_pa <<=3D 32; > translations[j].om_pa |=3D trans_cells[i++]; > } > translations[j].om_mode =3D trans_cells[i++]; > } >=20 > The loop test for the above loop just looks wrong to me for avoid > bad accesses. >=20 > KASSERT(i =3D=3D sz, ("Translations map has incorrect cell = count (%d/%zd)", > i, sz)); >=20 > Having sz [ the original sz/sizeof(cell_t) ] not be a multiple of 5 > for acells=3D=3D2 would fail this test even if the loop stopped = without > going out of bounds on trans_cells (so i=3D=3D255 instead of i=3D=3D260)= . >=20 > For the original sz figure having sz/sizeof(cell_t) =3D=3D 256, the = original > sz figure was not a multiple of 5 [presuming sizeof(cell_t) is not a > multiple of 5]. >=20 > My guess is that the original sz value was wrong after the unload and > boot (reloading) and the loop structure should avoid going out of = bounds > on trans_cells anyway. >=20 >> cpuid =3D 0 >> time =3D 1 >> KDB: stack backtrace: >> 0xc000000000f9e kdb_backtrace+0x60 >> 0xc000000000f9e vpanic+0x258 >> 0xc000000000f9e panic+0x3c >> 0xc000000000f9e moea64_late_bootstrap+0x2c0 >> 0xc000000000f9e moea64_bootstrap_native+0x20c >> 0xc000000000f9e pmap_bootstrap_0xc8 >> 0xc000000000f9e powerpc_init+0x440 >> 0xc000000000f9efc0: at=20 >>=20 >> (And that is all.) >=20 >=20 >=20 > The below tried to fix the loop to avoid out of bounds > trans_cells accesses and to allow my context to not panic > for the "multiple of 4 but not of 5" issue for the unload > then reload/boot sequence. The bias was for the code > changes to be easy to follow, given the earlier commentary. >=20 > # svnlite diff /usr/src/sys/powerpc/aim/mmu_oea64.c | more = Index: = /usr/src/sys/powerpc/aim/mmu_oea64.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /usr/src/sys/powerpc/aim/mmu_oea64.c (revision 341836) > +++ /usr/src/sys/powerpc/aim/mmu_oea64.c (working copy) > @@ -502,7 +502,7 @@ > register_t msr; > vm_offset_t off; > vm_paddr_t pa_base; > - int i, j; > + int i, istep, j; >=20 > bzero(translations, sz); > OF_getencprop(OF_finddevice("/"), "#address-cells", &acells, > @@ -512,7 +512,8 @@ >=20 > CTR0(KTR_PMAP, "moea64_add_ofw_mappings: translations"); > sz /=3D sizeof(cell_t); > - for (i =3D 0, j =3D 0; i < sz; j++) { > + istep =3D (acells =3D=3D 2) ? 5 : 4; > + for (i =3D 0, j =3D 0; i+istep-1 < sz; j++) { > translations[j].om_va =3D trans_cells[i++]; > translations[j].om_len =3D trans_cells[i++]; > translations[j].om_pa =3D trans_cells[i++]; > @@ -522,7 +523,7 @@ > } > translations[j].om_mode =3D trans_cells[i++]; > } > - KASSERT(i =3D=3D sz, ("Translations map has incorrect cell = count (%d/%zd)", > + KASSERT(i+sz%istep =3D=3D sz, ("Translations map has incorrect = cell count (%d/%zd)", > i, sz)); >=20 > sz =3D j; >=20 > I do not claim the KASSERT should officially change but I expect that = the > loop should. The original rejection by a debug build was tied to the conversion to fdt truncating the translation property: if (proplen > 1024) { proplen =3D 1024; } in add_node_to_fdt in stand/powerpc/ofw/ofwfdt.c . This changed a 1040=3D=3D208*5 total to a 1024=3D=3D256*4 total. (1024 is not a multiple of 5.) So the problem goes away when the truncation logic is removed. Still, the truncation did expose some coding problems in the translation map extraction, such as out of bounds access for such a truncated case. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Sun Apr 21 05:16:52 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 574EC1582921 for ; Sun, 21 Apr 2019 05:16:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E5FE68BF42 for ; Sun, 21 Apr 2019 05:16:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A6C7C1582920; Sun, 21 Apr 2019 05:16:51 +0000 (UTC) Delivered-To: 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 9475C158291F for ; Sun, 21 Apr 2019 05:16:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF7338BF3F for ; Sun, 21 Apr 2019 05:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 39324E538 for ; Sun, 21 Apr 2019 05:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3L5GoZx033216 for ; Sun, 21 Apr 2019 05:16:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3L5Go4d033215 for ppc@FreeBSD.org; Sun, 21 Apr 2019 05:16:50 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Sun, 21 Apr 2019 05:16:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 21 Apr 2019 05:16:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #23 from Mark Millard --- (In reply to Mark Millard from comment #20) The original rejection by a debug build that lead to the discovery of out of bounds access was tied to the original conversion to fdt code truncating the translation property via: if (proplen > 1024) { proplen =3D 1024; } in add_node_to_fdt in stand/powerpc/ofw/ofwfdt.c . This changed a 1040=3D=3D208*5 total to a 1024=3D=3D256*4 total. (1024 is not a multiple of 5.) So the problem goes away when the truncation logic is removed, which is part of what my patches do. Still, the truncation did expose some coding problems in the translation map extraction, such as out of bounds access for such a truncated case. But it would take some forced bad property size to see the problem again if mmu_oea64.c is not patched. The change to the KASSERT in my patch may well be inappropriate, given the above context that is now known. Having an incomplete set of translations does not seem like an appropriate thing: so the truncation to 1024 needs to be avoided. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Sun Apr 21 12:34:16 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 1C9A2158C1FC for ; Sun, 21 Apr 2019 12:34:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8665707D4 for ; Sun, 21 Apr 2019 12:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id AA6901C1C2; Sun, 21 Apr 2019 12:34:15 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id A59CA1C1C1 for ; Sun, 21 Apr 2019 12:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FB84707D3 for ; Sun, 21 Apr 2019 12:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B872C1246E for ; Sun, 21 Apr 2019 12:34:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3LCYEwo057769 for ; Sun, 21 Apr 2019 12:34:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3LCYE1t057763 for powerpc@FreeBSD.org; Sun, 21 Apr 2019 12:34:14 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Sun, 21 Apr 2019 12:34:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hamiltcl@verizon.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: B8665707D4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Sun, 21 Apr 2019 12:34:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #2 from Curtis Hamilton --- (In reply to Kubilay Kocak from comment #1) Doesn't need bug 237208 to land, but uses the provided bootstrap. http://mikael.urankar.free.fr/FreeBSD/powerpc64/bootstrap-openjdk11-powerpc= 64-11.0.2.9.2.tar.xz --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon Apr 22 03:27:17 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 376AE158D593 for ; Mon, 22 Apr 2019 03:27:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C51446ECFB for ; Mon, 22 Apr 2019 03:27:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 826FD158D592; Mon, 22 Apr 2019 03:27:16 +0000 (UTC) Delivered-To: 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 7116B158D591 for ; Mon, 22 Apr 2019 03:27:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F3586ECF8 for ; Mon, 22 Apr 2019 03:27:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 507B01A4FE for ; Mon, 22 Apr 2019 03:27:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3M3RF2U091656 for ; Mon, 22 Apr 2019 03:27:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3M3RFko091655 for ppc@FreeBSD.org; Mon, 22 Apr 2019 03:27:15 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Mon, 22 Apr 2019 03:27:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 22 Apr 2019 03:27:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #24 from Mark Millard --- I did some experimenting on a 1 GiByte iMac G3 with the SSD that I've been using for the 32-bit powerpc FreeBSD testing with these patches. For non-usefdt mode, it seemed to boot and operate okay for the little bit I did with the iMac G3. But for usefdt mode, towards the end of booting or not all that long after logging in, it crashed. The details were not stable for where or the type of panic. What was sort of consistent was moea_* involvement, despite just-what varying: moea_pvo_find_va (via moea_is_prefaultable) moea_pvo_to_pte moea_pvo_enter Unfortunately, I happened to have a non-debug kernel context at the time. If I try again, it will be with a debug kernel. The swap/page space was rather large for the RAM. I could try with no swap enabled. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Mon Apr 22 06:06:40 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 DCE291590328 for ; Mon, 22 Apr 2019 06:06:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 76FFA732D5 for ; Mon, 22 Apr 2019 06:06:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 341E91590327; Mon, 22 Apr 2019 06:06:39 +0000 (UTC) Delivered-To: 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 EA82B1590326 for ; Mon, 22 Apr 2019 06:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A15F732D2 for ; Mon, 22 Apr 2019 06:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AE8D81BC0E for ; Mon, 22 Apr 2019 06:06:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3M66bae009672 for ; Mon, 22 Apr 2019 06:06:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3M66boS009659 for ppc@FreeBSD.org; Mon, 22 Apr 2019 06:06:37 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Mon, 22 Apr 2019 06:06:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 22 Apr 2019 06:06:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #25 from Mark Millard --- (In reply to Mark Millard from comment #24) As for the usefdt mode G3 exploration: The debug kernel did not report anything special. Disabling swap made no general change to the behaviors. An interesting comparison is: Under the debug kernel I got a machine check, reported to be at the end of: bl 00503bf0 <__mtx_lock_flags> rlwinm r26,r21,2,0,29 lwz r9,-32748(r30) lwz r9,0(r9) lwzx r29,r26,r9 cmpwi cr7,r29,0 beq- cr7,008e9c8c lwz r0,52(r29) cmpw cr7,r0,r28 (But machine-checks are imprecise.) Under a non-debug kernel I got a Data Storage Interrupt, reported to be at the end of: bl 0054da44 <__mtx_lock_sleep> rlwinm r26,r21,2,0,29 lwz r9,-32744(r30) lwz r9,0(r9) lwzx r29,r26,r9 cmpwi cr7,r29,0 beq- cr7,0098ef74 lwz r0,52(r29) Both of these are tied to: mtx_lock(&moea_table_mutex); LIST_FOREACH(pvo, &moea_pvo_table[ptegidx], pvo_olink) { if (pvo->pvo_pmap =3D=3D pm && PVO_VADDR(pvo) =3D=3D va) { with the "lwz r0,52(r29)" appearing to be the access for pvo->pvo_pmap from what I can tell. In turn it suggests that, on the G3, values for pvo result that are inappropriate. (Not that I have a clue why.) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Mon Apr 22 07:36:26 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 1623515919C3 for ; Mon, 22 Apr 2019 07:36:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A32B975F36 for ; Mon, 22 Apr 2019 07:36:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 674CD15919C2; Mon, 22 Apr 2019 07:36:25 +0000 (UTC) Delivered-To: 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 54FE815919C1 for ; Mon, 22 Apr 2019 07:36:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5FB975F34 for ; Mon, 22 Apr 2019 07:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 395411C8D2 for ; Mon, 22 Apr 2019 07:36:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3M7aOVs057745 for ; Mon, 22 Apr 2019 07:36:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3M7aOMt057744 for ppc@FreeBSD.org; Mon, 22 Apr 2019 07:36:24 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Mon, 22 Apr 2019 07:36:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 22 Apr 2019 07:36:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #26 from Mark Millard --- (In reply to Mark Millard from comment #25) Hmm. DSI at moea_pvo_find_va+0xec (non-debug kernel example): bl 0054da44 <__mtx_lock_sleep> rlwinm r11,r26,2,0,29 lwz r9,-32744(r30) lwz r9,0(r9) lwzx r29,r11,r9 cmpwi cr7,r29,0 beq- cr7,0098a71c lwz r0,52(r29) which looks like: mtx_lock(&moea_table_mutex); LIST_FOREACH(pvo, &moea_pvo_table[ptegidx], pvo_olink) { if (pvo->pvo_pmap =3D=3D pm && PVO_VADDR(pvo) =3D=3D va) { It appears that the problem is seen at a common type of code structure that is not factored out. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Mon Apr 22 09:55:24 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 ABE301595077 for ; Mon, 22 Apr 2019 09:55:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4308D83396 for ; Mon, 22 Apr 2019 09:55:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 003641595076; Mon, 22 Apr 2019 09:55:24 +0000 (UTC) Delivered-To: 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 E2CC21595075 for ; Mon, 22 Apr 2019 09:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73C5D83394 for ; Mon, 22 Apr 2019 09:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B40BB1DD05 for ; Mon, 22 Apr 2019 09:55:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3M9tMhE054912 for ; Mon, 22 Apr 2019 09:55:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3M9tMhm054911 for ppc@FreeBSD.org; Mon, 22 Apr 2019 09:55:22 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Mon, 22 Apr 2019 09:55:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 22 Apr 2019 09:55:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203652|0 |1 is obsolete| | --- Comment #27 from Mark Millard --- Created attachment 203889 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203889&action= =3Dedit Investigatory stand/powerpc/ofw/ofwfdt.c and sys/contrib/libfdt/fdt_rw.c patches stand/powerpc/ofw/ofwfdt.c is updated because: A) ofwfdt_fixups had the odd mix for context handling: G3's/G4's (4,1 and 3,6 PowerMac examples) eliminated /memory@0/available but. . . G5's (7,2 and 11,2 examples) did not eliminate /memory0,0/available Now it does both. B) fdt_platform_load_dtb did no checking of return status values or reporting of its own of such failures. Note: sys/contrib/libfdt/fdt_rw.c is unchanged. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Mon Apr 22 15:48:32 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 570E9159D75E for ; Mon, 22 Apr 2019 15:48:32 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it1-x12b.google.com (mail-it1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 677B26A3A5 for ; Mon, 22 Apr 2019 15:48:31 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it1-x12b.google.com with SMTP id y134so18425531itc.5 for ; Mon, 22 Apr 2019 08:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0kh1RFPgIIaW7XezCA8AWvBc5o4ZexTLO8UDmfSrrYQ=; b=XI03ZiCA5xCHoRXUJR/etfoY2cW4uKm9ZOydCmMQgWQQHOsQdK2ciWSD8VwaYaBNqQ VZZ68Alb5noBDSpmi7gSN6SeNI38b7uZVV24OksEaqaDH5t83AxQKTXme6xRegRB4mXL 4uhzU6Jus2BvHvIf9DHDCE8iSaknCjUC31J3CrH9Oc4zoJ0b0CJPvr7ulYo5PWQMxjNu 2/kmdCEdjrBeZswACePQ0BFULfmam/P/XoguHqvB6aQcJ/RPzUjHW45FEfUXfIJ6udPl GyXbylrE42kOgZlK8F7D2Kyyxau1eod8FlWw5VCKwq+Wfg1y/g2rFQc6eKEUQe2X4x+g WKuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0kh1RFPgIIaW7XezCA8AWvBc5o4ZexTLO8UDmfSrrYQ=; b=oU1OczFQs1ghbkAIfH48HNg59El7zCz/jniN4EW9BhETFB8CbKP9avmPckROlVP+2L 43RzktzMC4z+LbGHZzjQd1T/OCsspYndDR3aUaDOOl4HpkfEkzQqNiThtszXwH4IOBM8 PY5rwB8OwvQb+3EsVKbN04NyzRMurvoVJj4ry5WI4h43lyK2ucFElYxWKza83XZxe8dk EIEVQFZoqoHApPF2AGZODatdQBtP6qLnUP7degT1GuI0X2JDo2D0EE6iRMw+m8n18kqb t78fh7E67g6dAtlLAYNEHRtp5cF6i+nANmr5LrSlIbnhaAST2o+X+gGewdORZMp4iZ3i pR+A== X-Gm-Message-State: APjAAAUE3fGqtreGg4jF5Kb2/6zYgo6REJPzg/phVKDB/Vw5nKYOx1S3 6mSgCwH5o3CmJkAp+YWV4/UsfZVx X-Google-Smtp-Source: APXvYqxIST/1KomojTXuzviokG02ASMrtJRgx6nbgNZ8b5Bh3PKIFwC5NBpRnG6kHpEmQjkLNR2X6g== X-Received: by 2002:a02:bb06:: with SMTP id y6mr13879677jan.98.1555948110446; Mon, 22 Apr 2019 08:48:30 -0700 (PDT) Received: from titan.knownspace (173-25-245-129.client.mchsi.com. [173.25.245.129]) by smtp.gmail.com with ESMTPSA id x68sm6262673ita.40.2019.04.22.08.48.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Apr 2019 08:48:30 -0700 (PDT) Date: Mon, 22 Apr 2019 10:48:26 -0500 From: Justin Hibbits To: Mark Millard Cc: FreeBSD PowerPC ML Subject: Re: spinlock_enter, head -r346144 (and before) and use of nop_prio_mhigh vs. PowerISA document suggestions for lock code Message-ID: <20190422104826.1bcdbaa6@titan.knownspace> In-Reply-To: <300DEA60-E9C3-4BB7-A7EF-980EE58257DB@yahoo.com> References: <300DEA60-E9C3-4BB7-A7EF-980EE58257DB@yahoo.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 677B26A3A5 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=XI03ZiCA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::12b as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-6.64 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.64)[ip: (-7.75), ipnet: 2607:f8b0::/32(-3.12), asn: 15169(-2.26), 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: Mon, 22 Apr 2019 15:48:32 -0000 On Fri, 19 Apr 2019 17:22:24 -0700 Mark Millard wrote: > [Looks like nop_prio_mhigh has some vintage-specific > behavior, based on if there is a PSPB (Problem State > Priority Boost Register) and how it is configured.] As mentioned in the references, these nops are hints only. They're completely ignored on older hardware, so the existence of a PSPBR is inconsequential. > > On 2019-Apr-19, at 15:56, Mark Millard wrote: > > > I found the following text in each of the 2.03, 2.04, 2.05, > > 2.06B V2, 2.07, and 3.0B PowerISA documents, in a "Programming > > Note" in the "Program Priority Registers" section: > > > > ". . . if a program is waiting on a lock (...), it could set low > > priority with the result that more processor resources would be > > diverted to the program that holds the lock. This diversion of > > resources may enable the lock-holding program to complete the > > operation under the lock more quickly, and then relinquish the lock > > to the waiting program." > > > > The wording suggests working via normal/medium and lower > > priorities instead of via normal/medium and higher priorities. > > (May be more than just the relative priority matters in the > > behavior changes that result each way? Unfortunately the > > wording is not very explicit.) But it's not waiting on a lock here, it's holding the lock. The idea is to hold the lock at high priority so it gets more cycles to complete its work, then drops back to normal priority as soon as possible. There is work remaining to drop to very low priority during the spinwait phase of mutexes, which will be done soon. > > > > All of the documents list "or rx,rx,rx" for: > > Rx being 31 or 1 or 6 or 2 or 5 or 3 or 7 > > (listed lowest to highest relative priority), > > 2 being normal/medium. Some table(s) might not > > list 3 or 7 in a document but at least one does > > in each. > > Actually, going back to 2.03, for example, only lists 31 > in one place as well. Only 1, 6, and 2 are in all > such tables. > > > In the following powerpc64 and 32-bit powerpc > > FreeBSD seem to be going in the opposite direction > > relative to normal/medium vs. the suggestion > > of "low priority": These nops are only relevant on hardware that only properly supports 64-bit kernels. > > > > void > > spinlock_enter(void) > > { > > struct thread *td; > > register_t msr; > > > > td = curthread; > > if (td->td_md.md_spinlock_count == 0) { > > nop_prio_mhigh(); > > msr = intr_disable(); > > td->td_md.md_spinlock_count = 1; > > td->td_md.md_saved_msr = msr; > > } else > > td->td_md.md_spinlock_count++; > > critical_enter(); > > } > > > > void > > spinlock_exit(void) > > { > > struct thread *td; > > register_t msr; > > > > td = curthread; > > critical_exit(); > > msr = td->td_md.md_saved_msr; > > td->td_md.md_spinlock_count--; > > if (td->td_md.md_spinlock_count == 0) { > > intr_restore(msr); > > nop_prio_medium(); > > } > > } > > > > and previously: > > > > void > > spinlock_enter(void) > > { > > struct thread *td; > > register_t msr; > > > > td = curthread; > > if (td->td_md.md_spinlock_count == 0) { > > __asm __volatile("or 2,2,2"); /* Set high thread > > priority */ msr = intr_disable(); > > td->td_md.md_spinlock_count = 1; > > td->td_md.md_saved_msr = msr; > > } else > > td->td_md.md_spinlock_count++; > > critical_enter(); > > } > > > > void > > spinlock_exit(void) > > { > > struct thread *td; > > register_t msr; > > > > td = curthread; > > critical_exit(); > > msr = td->td_md.md_saved_msr; > > td->td_md.md_spinlock_count--; > > if (td->td_md.md_spinlock_count == 0) { > > intr_restore(msr); > > __asm __volatile("or 6,6,6"); /* Set normal thread > > priority */ } > > } > > > > (2,2,2 was higher then 6,6,6 but 2,2,2 is > > normal/medium and 6,6,6 is "medium low" the > > way the PowerISA documentation reads.) > > > > 2.06B V2 and 2.07 also list special meanings for: > > 27 and 29 and 30. (cpu_spinwait in FreeBSD uses 27.) > > But 3.0B does not list them any more. > > > > 2.07 and 3.0B lists a special meaning for: 26. > > No prior version that I looked at does. > > > > PSPB (Problem State Priority Boost Register)is not > mentioned until 2.07 of the PowerISA (for those I've > been looking at). > > PSPB can count down and force Medium High back > to Medium, for example. A hardware form of > timed-temporary priority boost when used that way. > > It appears that medium and lower priorities do > not have such a means of control. Nor do > higher priorities, just Medium High. Medium-high is the highest non-privileged can go, no higher. You can see that we make no reference to the priority boost register because it doesn't matter. If it exists, userspace might get a slight boost for a few milliseconds, but if it doesn't, or is configured to not permit it, then the mhigh nop is a complete nop. The nop_prio_*() inlines are intended for kernel only, but aren't held to it because it's not strictly necessary. - Justin From owner-freebsd-ppc@freebsd.org Mon Apr 22 18:54:24 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 A1A9515A1A60 for ; Mon, 22 Apr 2019 18:54:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-20.consmr.mail.gq1.yahoo.com (sonic305-20.consmr.mail.gq1.yahoo.com [98.137.64.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34478718E8 for ; Mon, 22 Apr 2019 18:54:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 6lljwykVM1lkqzGU0MJ9ZhuPoTC7cx3M1F6dTNTIyssG_tHlj4b9tnqJlV1mbn9 WH795q2Ky1gq9H3EP9QNNkScY6aL_H7rHVd_qunhreYgGvcPvYdhH.hYRONTa5vQIGQ4cy46QpP4 9uNN37JJVJIW3NcXMu_vdlLHXNIm5pS71TsvQwkbsWD0HwPWgyfDIIt3Iff2OWwUNbyNz.IIGt_o FNOTle.l7QE75Q2hUYsTTBBlWN7QQq2t4LFS0Kfn9dj0omMDe90uy0.YBAgwn2PZEfapIy1bYi4b t8LroZ_77q2eWuxO4TJ.xf4Wg3GvBidl4gBAxc8pqeJi67ZEx_B4gPZX5tlJrZS0vP3s5IYUHDCh Gc5kU_kt.gqwaGu15VFhpWWOOgLeyi7G.j7SAdlDar4jxwb2D5gdkdeBL_Bbko66I.G.ZBcgj4yb IIZ_a9LbLKvsVmDmq0_L0nUz47lqkE4Z0n1ewU4WBbhluZh_odce85Vzr3U2yDnjhQ8hOAKBmTo_ W4yUdG8Z1mg6hOvc1yklK0D7tkEQsingnaUzIzNnWtX5HhL_XSx5bGE13umGBZaE.vjlo4Fg80YR ruhqnLweHPbyTQc0nKhm17s8FcpGng5n8rkhmnzDuCs8ze87HyVlaF2OfaO90DIvOUG0ShmhO2VQ 5f8.aL6E66yxn4OxmuvULndTs7pmUAjF2t0iGS7L1j3yiLRaVklNAziAMs5j9Ed3W0TNup3ZwiWF wX6ItTqSlhsfULW3Y1PsVs0db5oEdFE6qIixMvQYbaMQ9CoJKBqvmWNRCVKfNfZbucrt4NQrTYo. MP5b3INuf7a3tnfvxx5q3XqCJxKCVkGYJQPOTIQJWKvB6wWH_f8R4SDMKF3MukVn6crBwAhCOIAK tXUhRvv7sEAxRIcC2XLm6jY1L._fO3tmZu.8wGPS628tJGZdESNpGVBUpeqXlK4rSKloK6eGJ6Ib F7YrPk3Y996TAXEcdzmEukKTGbt4F56MWjxgiRwr0c88xr9e7n6UMILV4mqHqlV_yyN8iJy1OjP7 90X81j.IomK_5Pp0Ae.Nh7DDgWId9EjOfR_VNYfdsRutVLWtmXfLnxfx8v6R06C._wzp6bCd0iZA etx70u6T6WV.CgnaPeEGIACOZeA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Mon, 22 Apr 2019 18:54:15 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp421.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 73e338acea97cda8c4336858e5362fcf; Mon, 22 Apr 2019 18:54:14 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: spinlock_enter, head -r346144 (and before) and use of nop_prio_mhigh vs. PowerISA document suggestions for lock code From: Mark Millard In-Reply-To: <20190422104826.1bcdbaa6@titan.knownspace> Date: Mon, 22 Apr 2019 11:54:13 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: 7bit Message-Id: <5FB6BD60-2AEB-443C-9129-1ECFA33178B0@yahoo.com> References: <300DEA60-E9C3-4BB7-A7EF-980EE58257DB@yahoo.com> <20190422104826.1bcdbaa6@titan.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 34478718E8 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.846,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.56)[0.558,0]; NEURAL_HAM_LONG(-0.14)[-0.143,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.94)[ip: (3.12), ipnet: 98.137.64.0/21(0.91), asn: 36647(0.73), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[83.64.137.98.list.dnswl.org : 127.0.5.0] 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: Mon, 22 Apr 2019 18:54:24 -0000 [Thanks for the notes.] On 2019-Apr-22, at 08:48, Justin Hibbits wrote: > On Fri, 19 Apr 2019 17:22:24 -0700 > Mark Millard wrote: > >> [Looks like nop_prio_mhigh has some vintage-specific >> behavior, based on if there is a PSPB (Problem State >> Priority Boost Register) and how it is configured.] > > As mentioned in the references, these nops are hints only. They're > completely ignored on older hardware, so the existence of a PSPBR is > inconsequential. I was more thinking that if one potentially wanted PSPB use with medium high, then trying to mix in medium high use that was not after the PSPB related behavior might not go well. So reserving medium high to potential PSPB uses might then be appropriate if such were expected. That might be enough to cause their wording that only suggested "low" on the waiting side. >> >> On 2019-Apr-19, at 15:56, Mark Millard wrote: >> >>> I found the following text in each of the 2.03, 2.04, 2.05, >>> 2.06B V2, 2.07, and 3.0B PowerISA documents, in a "Programming >>> Note" in the "Program Priority Registers" section: >>> >>> ". . . if a program is waiting on a lock (...), it could set low >>> priority with the result that more processor resources would be >>> diverted to the program that holds the lock. This diversion of >>> resources may enable the lock-holding program to complete the >>> operation under the lock more quickly, and then relinquish the lock >>> to the waiting program." >>> >>> The wording suggests working via normal/medium and lower >>> priorities instead of via normal/medium and higher priorities. >>> (May be more than just the relative priority matters in the >>> behavior changes that result each way? Unfortunately the >>> wording is not very explicit.) > > But it's not waiting on a lock here, it's holding the lock. The idea > is to hold the lock at high priority so it gets more cycles to complete > its work, then drops back to normal priority as soon as possible. > There is work remaining to drop to very low priority during the > spinwait phase of mutexes, which will be done soon. Ahh, eventually going both higher and lower than normal/medium. Good to know. >>> >>> All of the documents list "or rx,rx,rx" for: >>> Rx being 31 or 1 or 6 or 2 or 5 or 3 or 7 >>> (listed lowest to highest relative priority), >>> 2 being normal/medium. Some table(s) might not >>> list 3 or 7 in a document but at least one does >>> in each. >> >> Actually, going back to 2.03, for example, only lists 31 >> in one place as well. Only 1, 6, and 2 are in all >> such tables. >> >>> In the following powerpc64 and 32-bit powerpc >>> FreeBSD seem to be going in the opposite direction >>> relative to normal/medium vs. the suggestion >>> of "low priority": > > These nops are only relevant on hardware that only properly supports > 64-bit kernels. Yep: 32-bit fits with the "ignored on older hardware" that you mentioned earlier. >>> >>> void >>> spinlock_enter(void) >>> { >>> struct thread *td; >>> register_t msr; >>> >>> td = curthread; >>> if (td->td_md.md_spinlock_count == 0) { >>> nop_prio_mhigh(); >>> msr = intr_disable(); >>> td->td_md.md_spinlock_count = 1; >>> td->td_md.md_saved_msr = msr; >>> } else >>> td->td_md.md_spinlock_count++; >>> critical_enter(); >>> } >>> >>> void >>> spinlock_exit(void) >>> { >>> struct thread *td; >>> register_t msr; >>> >>> td = curthread; >>> critical_exit(); >>> msr = td->td_md.md_saved_msr; >>> td->td_md.md_spinlock_count--; >>> if (td->td_md.md_spinlock_count == 0) { >>> intr_restore(msr); >>> nop_prio_medium(); >>> } >>> } >>> >>> and previously: >>> >>> void >>> spinlock_enter(void) >>> { >>> struct thread *td; >>> register_t msr; >>> >>> td = curthread; >>> if (td->td_md.md_spinlock_count == 0) { >>> __asm __volatile("or 2,2,2"); /* Set high thread >>> priority */ msr = intr_disable(); >>> td->td_md.md_spinlock_count = 1; >>> td->td_md.md_saved_msr = msr; >>> } else >>> td->td_md.md_spinlock_count++; >>> critical_enter(); >>> } >>> >>> void >>> spinlock_exit(void) >>> { >>> struct thread *td; >>> register_t msr; >>> >>> td = curthread; >>> critical_exit(); >>> msr = td->td_md.md_saved_msr; >>> td->td_md.md_spinlock_count--; >>> if (td->td_md.md_spinlock_count == 0) { >>> intr_restore(msr); >>> __asm __volatile("or 6,6,6"); /* Set normal thread >>> priority */ } >>> } >>> >>> (2,2,2 was higher then 6,6,6 but 2,2,2 is >>> normal/medium and 6,6,6 is "medium low" the >>> way the PowerISA documentation reads.) >>> >>> 2.06B V2 and 2.07 also list special meanings for: >>> 27 and 29 and 30. (cpu_spinwait in FreeBSD uses 27.) >>> But 3.0B does not list them any more. >>> >>> 2.07 and 3.0B lists a special meaning for: 26. >>> No prior version that I looked at does. >>> >> >> PSPB (Problem State Priority Boost Register)is not >> mentioned until 2.07 of the PowerISA (for those I've >> been looking at). >> >> PSPB can count down and force Medium High back >> to Medium, for example. A hardware form of >> timed-temporary priority boost when used that way. >> >> It appears that medium and lower priorities do >> not have such a means of control. Nor do >> higher priorities, just Medium High. > > Medium-high is the highest non-privileged can go, no higher. You can > see that we make no reference to the priority boost register because it > doesn't matter. If it exists, userspace might get a slight boost for a > few milliseconds, but if it doesn't, or is configured to not permit it, > then the mhigh nop is a complete nop. The nop_prio_*() inlines are > intended for kernel only, but aren't held to it because it's not > strictly necessary. > Thanks again for the explanations. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Mon Apr 22 22:27:47 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 E710115855EC for ; Mon, 22 Apr 2019 22:27:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B9CC83169 for ; Mon, 22 Apr 2019 22:27:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: DtLCw_8VM1mMMTMlazZwA73BqLGXESbtoN.y4rY6fo5z6wlnhvuDOV4AFFjve2A MLl_j.XnfrUAvWdrNXyjARKMnhMEYEjILfHQrXHo8NA_2t_M9RKsAvzjJrD5Uez9WFmcnu6YE92G J9cj2F.rUN0Ylmgvli5Z3cGbP7aTCJLZvgqe14XMS.rnEF.0ywIbGhPtC5DUaGSC45SVCoJ0hzhi PCWI5GnFYq.vizyOVO6_NZ.a6g4DZseXyAB8g.WNGv5dt6WlYs06Y1Hf0ZfDqJ.iASK2ERjvA8wR 2oYw70VwBso9QP1Q_wlZVaGw6a1U5JPW95bzYcAN96JiY5kQuGepdZH3ev1fQSFVNQUG1PIZ2eI3 kuHeLQqEXnBPTJfluj2ULK6KYjwA19wrVorWnXwJcsh3hmdQPcIYlERWCVIfVfRzWc_Qzya11E_Z ADmqvg9620044lhfmpu5dXBVO70Na9qgn.QqQxtXBIm233Mwl0LCKWnxWqdds2fdOarqEP.PsNPp 4ZRmjFZX_GhyAQekEBUQrBm8oSLRivWpkHo7ts8hiZEc88zSBv40zkEnJNWa_vuqk6hJeT_hulru V3sxZv1at1Wiig7ZqZLroBzruq0ow2_omWF2c2IPQvg8vn8CFDfzqQueOPfgDYZWgGSNTmyKAK0G SxsLynutXdtEkuPTaLAF7DCj6TYaBqcYX5sXW9mhqCHst5DT4xuWCqgxquhXGZp231vN5v3ij637 4MhbZ1VxgR5p4mEU_aMEIP9iWQCevmAfDapG3hl7d0Ew_lySxgbNeyCOwhYalYAwQ26QsFQY7ZpL bdVuIU8O47knztt_v2JUY1tCRcpzJ9GsVvpGh3WEFBpCfCKZfnfIeTDnm5b3565opZEVs9mNrpiY LsRANCT6d.a3Hg3F5B7aKooa4dPqJdWxpioYHT6LOim52XKAlQMoMZWSvkLVl466ZfdC0XoSxHtv PdBvQR0A2NTq6FIAtNfawjJG8tLSU328a8S3p1dWPBbOu9anFsYribGyHOknJ.HC_sOLqYJQ5_XR 24roQ0XRi8ymBWN1KE.79aU__Tz7bxA9tqD_Arj6utA0owB41Hvzup28vxRbOc4tafJE244UvqTE .AHb31JTelISJRn7omMnR2Qm. Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 22 Apr 2019 22:27:38 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp420.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a2a19d10be8b4a4eabe2a2da0065c90d; Mon, 22 Apr 2019 22:27:38 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: MPC750 (iMac G3) and disabling interrupts: sync after mtsr required according to the manual (at least isync in places?) Message-Id: <52A9F96F-3615-44C9-BA2B-355EDAA4A1AF@yahoo.com> Date: Mon, 22 Apr 2019 15:27:37 -0700 To: FreeBSD PowerPC ML , Justin Hibbits X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 8B9CC83169 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.28)[-0.277,0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.20)[ip: (-0.56), ipnet: 98.137.64.0/21(0.91), asn: 36647(0.73), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[148.69.137.98.list.dnswl.org : 127.0.5.0] 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: Mon, 22 Apr 2019 22:27:47 -0000 The below was prompted by observed iMac G3 behavior with modern FreeBSD, so MPC750 behavior. First I list the most worrisome code that I noticed, before the more general background of which the below is an example. For the 32-bit aim code: CNAME(trapexit): /* Disable interrupts: */ mfmsr %r3 andi. %r3,%r3,~PSL_EE@l mtmsr %r3 /* Test AST pending: */ lwz %r5,FRAME_SRR1+8(%r1) mtcr %r5 bf 17,1f /* branch if PSL_PR is false */ GET_CPUINFO(%r3) /* get per-CPU pointer */ Note: the 64-bit code has an isync before the "Test AST pending" code. (No sync.) The below gets into why that 32-bit code (and possibly more) is a worry: lack of sync (or at least isync) after using mtmsr to disable interrupts. https://www.nxp.com/docs/en/reference-manual/MPC750UM.pdf reports that a sync after the mtmsr is required for disabling interrupts fully before whatever follows. (The example also disables ME, FE0, and FE1, intended to be used before explicitly loading the cache in contexts where all 4 forms of exceptions are a worry.) It also has wording that mtmsr "does not ensure subsequent instructions execute in the newly established environment". A similar example is made relative to sync after setting MSR[IR] and/or MSR[DR]. It mentions isync instead of sync relative to MSR[PR] via mtmsr. I'll ignore MSR[PR] below. (The MPC750 seems to have just one sync instruction with one official encoding, no lwsync or other such variants with alternate field values in the encoding.) As for the code generally . . . powerpc64 and 32-bit powerpc FreeBSD currently have: static __inline register_t intr_disable(void) { register_t msr; msr = mfmsr(); mtmsr(msr & ~PSL_EE); return (msr); } where: static __inline void mtmsr(register_t value) { __asm __volatile ("mtmsr %0; isync" :: "r"(value)); } (So there is an implicit isync in mtmsr(...) use.) There are lots of places using PSL_EE to disable interrupts without calling intr_disable --but they still use mtmsr(...) [other than assembler contexts]. For things that are involved on the MPC750, I'm mostly worried about examples that have neither sync nor isync, secondarily about not having sync. (I note some other points as well.) Relative to PDL_EE: powerpc_init has a disable with no sync. cpu_est_clockrate seem to use a DELAY(1000) for the MPC750 (and some others). But other settings are also involved. cpu_dep_bootstrap has no sync. (Not that cpu_dep_bootstrap is likely to be used with MPC750s, certainly not with iMac G3s.) aim's trapexit for 32-bit has no sync or isync for its disable but 64-bit has just isync. 32-bit has just isync for the enable. FRAME_LEAVE uses only isync (32-bit and 64-bit). breakpoint (32-bit and 64-bit) uses only isync. (Assembler contexts.) write_scom uses isync. read_scom uses isync. pcr_set uses isync. (So double isync's(?), one from mtmsr(...) use?) flush_disable_caches uses a following powerpc_sync(); isync() sequence. (Again a double isync(?): isync; sync; isync; sequence?) Relative to PSL_IR and PSL_DR: aim_early_init has an example of no use of sync when ofwentry==0. aim_cpu_init has an example of no use of sync. moea_bootstrap has 2 examples of no use of sync. FRAME_SETUP uses just isync. FRAME_LEAVE uses just isync (but also has a PSL_ME involved). Both 32-bit and 64-bit for those. cpu_wakeup_handler (64-bit) uses just isync. (Assembler contexts.) flush_disable_caches has sync and isync after a PDL_DR use. (Again a double isync(?): isync; sync; isync; sequence?) [PSL_DR is mixed with PSL_EE. as I remember.] === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Mon Apr 22 22:36:01 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 C99F7158583B for ; Mon, 22 Apr 2019 22:36:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 561798353A for ; Mon, 22 Apr 2019 22:36:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 2E1CC1938E; Mon, 22 Apr 2019 22:36:01 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 29DB91938D for ; Mon, 22 Apr 2019 22:36:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E99CA83537 for ; Mon, 22 Apr 2019 22:36:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 31D8A4D97 for ; Mon, 22 Apr 2019 22:36:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3MMa0H1065700 for ; Mon, 22 Apr 2019 22:36:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3MMa0u9065698 for powerpc@FreeBSD.org; Mon, 22 Apr 2019 22:36:00 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Mon, 22 Apr 2019 22:35:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: glewis@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 561798353A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 22 Apr 2019 22:36:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 Greg Lewis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glewis@FreeBSD.org --- Comment #3 from Greg Lewis --- I'd prefer that instead of committing this directly to the FreeBSD port tha= t we instead work this out on Github in the upstream repo. I'm very open to a pull request there and have one from Mikael for openjdk1= 1.=20 If you'd like to contribute to that or open a separate one for openjdk12 I'= d be happy to merge it in and cut a release. See https://github.com/battleblow/openjdk-jdk11u/pull/13 for the openjdk11 = pull request. I've asked for a few changes before merging it. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon Apr 22 23:17:05 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 23E321586327 for ; Mon, 22 Apr 2019 23:17:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD47584404 for ; Mon, 22 Apr 2019 23:17:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 8ED0A1972B; Mon, 22 Apr 2019 23:17:04 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 8AD1E1972A for ; Mon, 22 Apr 2019 23:17:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50A2F843FF for ; Mon, 22 Apr 2019 23:17:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 74F37533E for ; Mon, 22 Apr 2019 23:17:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3MNH3BJ047365 for ; Mon, 22 Apr 2019 23:17:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3MNH3uK047364 for powerpc@FreeBSD.org; Mon, 22 Apr 2019 23:17:03 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Mon, 22 Apr 2019 23:17:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gustavo.romero@protonmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: BD47584404 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 22 Apr 2019 23:17:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 Gustavo Romero changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gustavo.romero@protonmail.c | |om --- Comment #4 from Gustavo Romero --- Hi folks, Shouldn't we contribute to the OpenJDK upstream project? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon Apr 22 23:18:20 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 76A5415863C1 for ; Mon, 22 Apr 2019 23:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E71D84499 for ; Mon, 22 Apr 2019 23:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id E4C0B1977C; Mon, 22 Apr 2019 23:18:19 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id E079A1977B for ; Mon, 22 Apr 2019 23:18:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A124284494 for ; Mon, 22 Apr 2019 23:18:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0382C5345 for ; Mon, 22 Apr 2019 23:18:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3MNIIZ9048548 for ; Mon, 22 Apr 2019 23:18:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3MNIIZb048547 for powerpc@FreeBSD.org; Mon, 22 Apr 2019 23:18:18 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Mon, 22 Apr 2019 23:18:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gustavo.romero@protonmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 1E71D84499 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 22 Apr 2019 23:18:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #5 from Gustavo Romero --- (In reply to Gustavo Romero from comment #4) Contribute Curti's patchset to OpenJDK tip then request a downport to 11 LT= S I mean. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Apr 23 04:57:38 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 93133158E5C5 for ; Tue, 23 Apr 2019 04:57:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 615308F267 for ; Tue, 23 Apr 2019 04:57:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 0XIPNWYVM1kF_RcGj5luuZqbv6wlLghhr3axKB2tOiTHlG7lYutNKUBKNNk2k7Y wBD7fUb.OPGZuj6g.LCH8cMwFNmAygjsx4rTiiJTOI4hRJeVaFbdRbIH00p0eVNMlY6jOPLvae3F HpIsJ6jwe1BCUt_QVrvRLkz1ZgiGnqqoEmy.FIrq0MU0FTiCU9jm2cqRzXf2CJRMyDDMBDFuWsa7 ck50cwAaiFClyiEoAzp8VR6ilatmhR6NfxHlbZc6cSVTWswesC0E5CYEUrLEui8ogKDgvbesVVcN aD6a.EFJQNCrhfKsgq5UxAKjNWz14bLav7dVH6Ulxn8j8lSXckCgrm6fH31CMp1jHX68qQtOWkeO aU6XFVWJuDherEy66MX1DTb7FEsgN5O_k4eJ8H0UF796zC8c2nWyn0Zkol_9L9aagv4ILj9ZzKgm G9sCnMWY_SyNmwcDdVuMnTRttwzAOAvY4nepEUs_V5w2StNRn4Tb2X9NLKqq3dLnjqFzLnmSn7RP h4lUgxxWL8KkZLujahYrpbC0oMxTJnOKvTGKNHbdIAGeQY_6FgBt5aRfN872ySSQK3fCv_Q0AoOa 4Bm4FnUSZHehsYpgb6GVl0VXouFrRnY6m7c7WCdwbeXngi_1C0z3fHwgpz41mtrY7QK9AtxzlsWu yJFVMYsH7KnOxDDAYOKypMVPorNK64bQZl_VOlH3mdkVawk96M7Lb2Voa4xj7_qCVf.ceUXdAGFC HRQbp.uqJgvxd.HDbmch2TnH6zj0WRck2E.4CNfzJv4x6QaUAeRabPO4wfjSjP.zgIP06od3lPfc 5TOcrh85JcjppixaDPf._gdh493h4p8Q0s9h1LxTHjHJHt1THTNEyPGFK2xxT1jLk6o4sCUcJlpr .kH4sXJI6Yj_hQXzt3A3GRqgpIxp0s8nrw2qiau3UPV6qHVvh.fbzt6wz2ZAXsdxXhdrnB5TGRmx o0WcUNy6_emdld1Zh15kVZkr.gyMBtkDEQDhH7SavCLieVNluoGcRHQugCVCKnloQbZd5o2sBBDc MFRqVaOUP9rm_pkK484BHDQwpE3uI8CZpkRb0kLPsbI7zsARsb1G2zeZwwggDgZNFw1ikBmTlqjR U.vB9oeANWmL_q2gLMli6_PPa_g-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Tue, 23 Apr 2019 04:57:30 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp429.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3b17d49df55c7e76aa8d4f1b0efd7ec9; Tue, 23 Apr 2019 04:57:27 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: MPC750 (iMac G3) and disabling interrupts: sync after mtsr required according to the manual (at least isync in places?) Date: Mon, 22 Apr 2019 21:57:26 -0700 References: <52A9F96F-3615-44C9-BA2B-355EDAA4A1AF@yahoo.com> To: FreeBSD PowerPC ML , Justin Hibbits In-Reply-To: <52A9F96F-3615-44C9-BA2B-355EDAA4A1AF@yahoo.com> Message-Id: <6CB8FC2D-1D6D-4797-9D9B-F905A831AF3B@yahoo.com> X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 615308F267 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.31)[ipnet: 98.137.64.0/21(0.91), asn: 36647(0.73), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_SPAM_SHORT(0.57)[0.571,0]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[206.69.137.98.list.dnswl.org : 127.0.5.0] 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: Tue, 23 Apr 2019 04:57:38 -0000 On 2019-Apr-22, at 15:27, Mark Millard wrote: > The below was prompted by observed iMac G3 behavior > with modern FreeBSD, so MPC750 behavior. > > First I list the most worrisome code that I noticed, > before the more general background of which the > below is an example. > > For the 32-bit aim code: > > CNAME(trapexit): > > /* Disable interrupts: */ > mfmsr %r3 > andi. %r3,%r3,~PSL_EE@l > mtmsr %r3 > /* Test AST pending: */ > lwz %r5,FRAME_SRR1+8(%r1) > mtcr %r5 > bf 17,1f /* branch if PSL_PR is false */ > > GET_CPUINFO(%r3) /* get per-CPU pointer */ > > Note: the 64-bit code has an isync before the > "Test AST pending" code. (No sync.) So far the following seems to have changed the MPC750 based iMac G3 from getting a mix of Machine Checks vs. Data Storage Interrupts for the same places in the code, to getting just Data Storage Interrupts for those places: Index: /usr/src/sys/powerpc/aim/trap_subr32.S =================================================================== --- /usr/src/sys/powerpc/aim/trap_subr32.S (revision 345758) +++ /usr/src/sys/powerpc/aim/trap_subr32.S (working copy) @@ -68,7 +68,7 @@ lwzu sr,PM_SR(pmap); \ RESTORE_SRS(pmap,sr) \ /* Restore SR 12 */ \ - lwz sr,12*4(pmap); mtsr 12,sr + lwz sr,12*4(pmap); mtsr 12,sr; isync /* * Kernel SRs are loaded directly from kernel_pmap_ @@ -799,6 +799,7 @@ mfmsr %r3 andi. %r3,%r3,~PSL_EE@l mtmsr %r3 + isync /* Test AST pending: */ lwz %r5,FRAME_SRR1+8(%r1) mtcr %r5 The MPC750 requires isync after mtsr (or mtsrin) and the one for "12,sr" is off by itself instead of being in the middle of the main sequence of mtsr's (which have a following isync). [While the above may be necessary, it is far from sufficient for making the MPC750 operate with active, competing processes/threads. (boot -s operates longer if one keeps things simple.) But I did not intend for the list-submittal to be for getting the MPC750 context working well overall.] > The below gets into why that 32-bit code (and > possibly more) is a worry: lack of sync (or at > least isync) after using mtmsr to disable > interrupts. > > > https://www.nxp.com/docs/en/reference-manual/MPC750UM.pdf > reports that a sync after the mtmsr is required for disabling > interrupts fully before whatever follows. (The example also > disables ME, FE0, and FE1, intended to be used before explicitly > loading the cache in contexts where all 4 forms of exceptions > are a worry.) > > It also has wording that mtmsr "does not ensure subsequent > instructions execute in the newly established environment". > > A similar example is made relative to sync after setting MSR[IR] > and/or MSR[DR]. It mentions isync instead of sync relative to > MSR[PR] via mtmsr. I'll ignore MSR[PR] below. > > (The MPC750 seems to have just one sync instruction with > one official encoding, no lwsync or other such variants > with alternate field values in the encoding.) > > > As for the code generally . . . > > powerpc64 and 32-bit powerpc FreeBSD currently have: > > static __inline register_t > intr_disable(void) > { > register_t msr; > > msr = mfmsr(); > mtmsr(msr & ~PSL_EE); > return (msr); > } > > where: > > static __inline void > mtmsr(register_t value) > { > > __asm __volatile ("mtmsr %0; isync" :: "r"(value)); > } > > (So there is an implicit isync in mtmsr(...) use.) > > There are lots of places using PSL_EE to disable interrupts > without calling intr_disable --but they still use mtmsr(...) > [other than assembler contexts]. > > For things that are involved on the MPC750, I'm mostly > worried about examples that have neither sync nor isync, > secondarily about not having sync. (I note some > other points as well.) > > > Relative to PDL_EE: > > powerpc_init has a disable with no sync. > cpu_est_clockrate seem to use a DELAY(1000) for > the MPC750 (and some others). But other settings > are also involved. cpu_dep_bootstrap has no sync. > (Not that cpu_dep_bootstrap is likely to be used > with MPC750s, certainly not with iMac G3s.) > > aim's trapexit for 32-bit has no sync or isync > for its disable but 64-bit has just isync. 32-bit > has just isync for the enable. FRAME_LEAVE uses > only isync (32-bit and 64-bit). breakpoint (32-bit > and 64-bit) uses only isync. (Assembler contexts.) > > write_scom uses isync. read_scom uses isync. pcr_set > uses isync. (So double isync's(?), one from mtmsr(...) > use?) > > flush_disable_caches uses a following powerpc_sync(); > isync() sequence. (Again a double isync(?): isync; > sync; isync; sequence?) > > > Relative to PSL_IR and PSL_DR: > > aim_early_init has an example of no use of sync > when ofwentry==0. aim_cpu_init has an example of no use > of sync. moea_bootstrap has 2 examples of no use of > sync. > > FRAME_SETUP uses just isync. FRAME_LEAVE uses just isync > (but also has a PSL_ME involved). Both 32-bit and 64-bit > for those. cpu_wakeup_handler (64-bit) uses just isync. > (Assembler contexts.) > > flush_disable_caches has sync and isync after a PDL_DR > use. (Again a double isync(?): isync; sync; isync; > sequence?) [PSL_DR is mixed with PSL_EE. as I remember.] > === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Tue Apr 23 16:38:42 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 72537159EFE1 for ; Tue, 23 Apr 2019 16:38:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0A70B80DD3 for ; Tue, 23 Apr 2019 16:38:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C37B1159EFDF; Tue, 23 Apr 2019 16:38:41 +0000 (UTC) Delivered-To: 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 A1630159EFDE for ; Tue, 23 Apr 2019 16:38:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40C5C80DCF for ; Tue, 23 Apr 2019 16:38:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8928DEA29 for ; Tue, 23 Apr 2019 16:38:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3NGceCC001889 for ; Tue, 23 Apr 2019 16:38:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3NGceHJ001888 for ppc@FreeBSD.org; Tue, 23 Apr 2019 16:38:40 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Tue, 23 Apr 2019 16:38:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 23 Apr 2019 16:38:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #28 from Mark Millard --- (In reply to Mark Millard from comment #26) More iMag G3 (MPC750) notes . . . In the non-debug kernel __mtx_lock_flags was inlined and that code normally leads to __mtx_lock_sleep not being called in the failures. My machine check and data store interrupt notes were not meant to imply debug always gets one or that non-debug always gets the other. The following seems to have eliminated the machine check type of error, turning them all into data storage interrupts so far: Index: /usr/src/sys/powerpc/aim/trap_subr32.S =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/aim/trap_subr32.S (revision 345758) +++ /usr/src/sys/powerpc/aim/trap_subr32.S (working copy) @@ -68,7 +68,7 @@ lwzu sr,PM_SR(pmap); \ RESTORE_SRS(pmap,sr) \ /* Restore SR 12 */ \ - lwz sr,12*4(pmap); mtsr 12,sr + lwz sr,12*4(pmap); mtsr 12,sr; isync /* * Kernel SRs are loaded directly from kernel_pmap_ @@ -799,6 +799,7 @@ mfmsr %r3 andi. %r3,%r3,~PSL_EE@l mtmsr %r3 + isync /* Test AST pending: */ lwz %r5,FRAME_SRR1+8(%r1) mtcr %r5 But the general failures remain. The above (or something like it) may be necessary but is not sufficient. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Tue Apr 23 23:12:41 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 528BF15857EB for ; Tue, 23 Apr 2019 23:12:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-14.consmr.mail.bf2.yahoo.com (sonic315-14.consmr.mail.bf2.yahoo.com [74.6.134.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7069D8F7B8 for ; Tue, 23 Apr 2019 23:12:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: BlO..gkVM1ly_b3SsUHVRdVtEgL9g4ws6wtguLbo45473Gihmwhv3R5qrAULqDB SkVYHQ4DP1MND4AEz33I1c_ptQOnU3mGsFx4Gu3jpBMrmbnYFzzduHJShLbhHmAy0aQok0CxdUi7 Ybu1ZaE1WwDEhdygFxfyao1dSlXveTdcJ5QT_ItbUZ_1KXg7hWYJEAVEO0kSZH_JfXXXQkQ713ie OC3iZzozGNWqIqXRJOyuEyr50QTInZSp4pXHtdKxvXPQH55z.9BwsvgUsdVJDa2_wN9nPohaLSKU jEnyCxpYxlb7sXbZL3Ip_AzakSIGIRykl..5joe8hVPD6hlDT1xFUmODS4AN7C5oGr8QzskerCVi Ue2XCD54pASgKTr3AeBb0QG7rklO6UuWhtFcoPUzirJ2w3NWkpTufN3Brn_YPiboKr8_8cdqx1f5 Kztvvr.Gvo7dz5w4xUrD5N6rPjCXYWBQRErOm6r4xfhgDqY.hwSj5wS4WCAs3jQIcakM0j5b6bxe DNjPP8sNo8WZrUQPEGpjXUAuOhIL6THG1C2LqVT.AmUZlm_2uUzbs..3ZfoADTQGYzNfXv2WDtvK MVhKRpK3Ol7IIMM8xq62dR0mfcJ_QkFVKHJ6V.M0RWti0Hk4DI68BM4WNCNWLr_WudSXf1AhPgeQ A9Ra8feB6BpLXOmJ23.mD_vtNcW3BEFBBZtiMZs8OjEy.rXReIrChh5nc9uFu5GPbBgo7VYoPpf7 _J.hEm4xCfPUlApvm.QQxJOa4Gj2W8UGBdhoOXHP65gFrERN9SSIxPow44js.hK5izIAbpPlXwJG yetQlsYflEare4R_YYhYMiwikzhhCzH3kfuZfwxhuER9cRpJgsKgMFzw5XHgwY_bUKnQb5jkYi7L uHo3DxpJ8kUBsUUW9Sp0eLZ0ddxs8NmDKA4EPuvoc3Z609j6icj.XsxBSsH.M76Qd15lzjS4jc1n IcrncBr8xFe1dsD5Yl1lyRCPc2YqARjVoh9UViW3JksdUXzFG7CJCy4GXkkJorNOoVFBihGhjFiu 99DnaMh9yj61jt7Y6EgTGn2XyJHqDPzuNRi16cr89HcLeIKp2YNp4j5rcdscfAQdg4p1rvXUgZYZ alFN5CUIl2FjS620jmS2y79niJnM- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Tue, 23 Apr 2019 23:12:38 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp429.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 6ae4dd3fe6d19abb1d20a40f5c767174; Tue, 23 Apr 2019 23:02:34 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: 32-bit powerpc and powerpc64 context, struct mtx NAME declarations vs. the reservation area for the likes of lwarx: should mtx_padalign be used instead? Message-Id: <675FD8EE-384D-4D31-9B27-036ECEE717B0@yahoo.com> Date: Tue, 23 Apr 2019 16:02:32 -0700 To: FreeBSD PowerPC ML , Justin Hibbits X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 7069D8F7B8 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.46 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_SPAM_SHORT(0.32)[0.321,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.37)[ip: (4.05), ipnet: 74.6.128.0/21(1.58), asn: 26101(1.26), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.29)[0.291,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.990,0]; RCVD_IN_DNSWL_NONE(0.00)[124.134.6.74.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[124.134.6.74.rep.mailspike.net : 127.0.0.17] 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: Tue, 23 Apr 2019 23:12:41 -0000 [This is just something I noted while trying to figure out what might be leading to Data Storage Interrupt problems for an iMac G3 (MPC750). Not that it is known to contribute to anything that I've been looking at.] Instructions like lwarx reserve a cache-line range of RAM, for example: A) MPC750: 32-bytes (Address&0x20 aligned) B) 970MP: 128-bytes (Address&0x80 aligned) For instances of: struct mtx { struct lock_object lock_object; /* Common lock properties. */ volatile uintptr_t mtx_lock; /* Owner and flags. */ }; such as: . . . struct mtx moea_table_mutex; struct mtx moea_vsid_mutex; static struct mtx tlbie_mtx; . . . the instances need not have distinct reservation areas for mtx_lock use. (Some lock_object material will also likely be in the reservation area.) The ". . ."s might also overlap into the reservation area(s). (I've ignored that the declaration order need not be the in-memory order. But the general point stands.) The: . . . struct mtx moea64_slb_mutex; . . . and . . . . . . struct mtx pcicfg_mtx; . . . are similar. There could well be more. I did not try to find them all. There does appear to be: struct mtx_padalign { struct lock_object lock_object; /* Common lock properties. */ volatile uintptr_t mtx_lock; /* Owner and flags. */ } __aligned(CACHE_LINE_SIZE); to help with avoiding such overlaps, but still leaving (part of) lock_object as likely in the reservation area with the mtx_lock field. (CACHE_LINE_SIZE seems to be 128 for 32-bit powerpc and powerpc64, if I remember right.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Tue Apr 23 23:48:42 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 B4837158615F for ; Tue, 23 Apr 2019 23:48:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-3.consmr.mail.bf2.yahoo.com (sonic306-3.consmr.mail.bf2.yahoo.com [74.6.132.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BFF216855C for ; Tue, 23 Apr 2019 23:48:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 31cGGUwVM1lofbTfYX7gylE7JoWqlgkINz8z.DLyzaluZKzc9lEBZkGpTq_Qo2Z qsS7xX6FGsquDzTm77sHWQGaDlDs4vCSIJPy29X4V.o3w6_vmwpbyk4_Z1nk__SmTunGCtbg2b2i BqzXi7pIl0pW9x1tX72YWGUNCDUp8UnNBFPrVC0uwtmjM1SAvrpXCqC_0tqzXThnCDT2XwmnidTq ymLsQrg8RMjl.dtrADyR9oQoKnsDQsdnknFONFEeVrMUmXkpvqEV.oJKom_9BveQETjUcifTDyO8 IpJwblN_yI0280BSpaiAWbHY8iimbEDtshnLIEK1riN8i5GxM_EIGXyt4hWRksqhgowYxpB8ePGw 1cLWFIM9lOvyO287X3jHucPZXHd0rdPVaEUIowUANa.hG5CYr.lsYadd5faNP3KA3TJHGvQk3Sjt 0UdDv37zZkzV2GQAMzWaqLq5tYV58fyN5i_VkrCRu_s60vHTv3wQfDgmy7JLYKd0.Xu5zkTOFijo .R0ITFCtJfwxBKytzn44AtfmohKCyRn7CsPrFahbM0cURWlHSuC7TOhBCpwi5hffySMIJNTiP4Jo 214dA1oIU0IKwfldpf5iRt3EcBg70YbpY_jisF5QWKOXTXxFuHEU5kPH6RgU2QLWhpQXcoq8L8pc QycwwQmmtMjZKCqcHfTdVMdgMcDtr89YSzlaXzRywAqmpvu_iIDTt2ibi3tERJGlnG8JPmycUH07 8FnoyIqdVCVSlixAe1UXwmRnAfTORJZmQrySs1Nm3HyysWEeMwFlkmONyVvaAncejne0lRQYsIa. 4oSibKWK_B4R_rSplT0FACXdYWghTJobd9KJW7QwWXPVGy18jujRl2.x4Tw_0dWSF_hBsfNcGJiA RkREqUdxH1NO5KICAzOhdYVcammjgyfYTEqRVGMExP6YQYVJDHXN36m0.YK6hUIaLUcLLC.YrkHK 563adbXXmMafDJ8oN_t6Jx9UQo5.WKaMD5Ztf0ynXKsSyPqHSGWUZg9hVcKqyOqjkt70j4TjWeP. AkPXS420J3PI8DTKGt8jFzgeX0a5M9F1e_0pVOVaHVEJGkwi15_AnMiaBpb6Ldi2tUSGvhkFBIH0 NjXe5u7I_wnmlvqtAO8DsFjPmJA85 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Tue, 23 Apr 2019 23:48:35 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp402.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 21ee1944dbc2268a2da14617e55c05cc; Tue, 23 Apr 2019 23:48:34 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: powerpc: should the tlbie routine have a isync after the last ptesync? (also MPC750 notes) Message-Id: Date: Tue, 23 Apr 2019 16:48:32 -0700 To: FreeBSD PowerPC ML , Justin Hibbits X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: BFF216855C X-Spamd-Bar: + X-Spamd-Result: default: False [1.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(1.41)[ip: (4.29), ipnet: 74.6.128.0/21(1.58), asn: 26101(1.26), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.58)[-0.577,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_SPAM_SHORT(0.14)[0.138,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.63)[0.635,0]; RCVD_IN_DNSWL_NONE(0.00)[42.132.6.74.list.dnswl.org : 127.0.5.0] 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: Tue, 23 Apr 2019 23:48:42 -0000 From: PPC_Vers201_Book3_public.pdf and its "Page Table Update Synchronization Requirements" section. . . QUOTE As noted in the description of the Synchronize instruction in Book II, = address translation associated with instructions which occur in program = order subsequent to the Synchronize (and this includes the ptesync = variant) may actually be performed prior to the completion of the = Synchronize. To ensure that these instructions and data which may have = been speculatively fetched are discarded, a context synchronizing = operation is required. END QUOTE That leave me wondering if there should be a isync just before the mtx_unlock_spin statement in: static void tlbie(vm_offset_t va) { =20 mtx_lock_spin(&tlbie_mtx); __asm __volatile("ptesync"); __asm __volatile("tlbie %0" :: "r"(va)); __asm __volatile("eieio; tlbsync; ptesync"); mtx_unlock_spin(&tlbie_mtx); } MPC750 specific notes in-part associated with tlbie routine and the likes of ptesync : For the MPC750 in the iMac G3 I've found no evidence that ptesync (sync with L=3D2 in more modern terms) is defined. It might no-op for all I can tell. Or be just like sync (with L=3D0) on the MPC750. lwsync (sync with L=3D1) has the same sort of status: undefined as far as I can tell. I've been looking in MPC750UM.pdf . It has some description of the likes of isync and such. It it indicates sync is just the reserved pattern that effectively says L=3D0 in more modern terms. So Im unclear if the ptesync and lwsync types of instructions should be sync instructions for any potential MPC750 support. I'm unsure if FreeBSD is still intending that it is coded such that MPC750 (and, so, iMac G3's) should still operate okay. (There may be more than ptesync and lwsync use at issue.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Wed Apr 24 00:11: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 B9E0B1586E99 for ; Wed, 24 Apr 2019 00:11:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B2A36A62F for ; Wed, 24 Apr 2019 00:11:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 05DCEE3A1; Wed, 24 Apr 2019 00:11:06 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id EB4D9E3A0 for ; Wed, 24 Apr 2019 00:11:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E1F06A629 for ; Wed, 24 Apr 2019 00:11:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DC30212BA1 for ; Wed, 24 Apr 2019 00:11:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3O0B4Q7053715 for ; Wed, 24 Apr 2019 00:11:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3O0B4Pf053705 for powerpc@FreeBSD.org; Wed, 24 Apr 2019 00:11:04 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: powerpc@FreeBSD.org Subject: [Bug 237208] java/openjdk11: port to powerpc64 Date: Wed, 24 Apr 2019 00:11:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gustavo.romero@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 2B2A36A62F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Wed, 24 Apr 2019 00:11:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208 --- Comment #12 from Gustavo Romero --- (In reply to Piotr Kubaj from comment #11) Hi Piotr, I'm able to build fine the openjdk version found in the FreeBSD ports as you pointed out, on a P9 VM with the patcheset provided by Mikael. It also runs fine and I get no SIGILL. However I also noticed that DSCR is disabled on t= hat P9 VM machine, hence the example I provided you that executes 'mfdscr' does= not work and dies with SIGILL. The JVM, as I said, will detect DSCR at runtime,= so DSCR enable or disabled in the system should not be a problem to the JVM. Either way I'm still wondering how you got DSCR enable on your Talos. Could I have access to the machine you got the JVM SIGILL? Are you able to reproduce the SIGILL consistently, every time you ran java = or java -Xcomp -help, for instance? Thank you. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Apr 24 00:35:23 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 96DE61587683 for ; Wed, 24 Apr 2019 00:35:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C47C6B54F for ; Wed, 24 Apr 2019 00:35:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 30288E8AD; Wed, 24 Apr 2019 00:35:23 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 2B578E8AC for ; Wed, 24 Apr 2019 00:35:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0A766B54B for ; Wed, 24 Apr 2019 00:35:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E6E6F12FBE for ; Wed, 24 Apr 2019 00:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3O0ZLwF021943 for ; Wed, 24 Apr 2019 00:35:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3O0ZLs5021942 for powerpc@FreeBSD.org; Wed, 24 Apr 2019 00:35:21 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: powerpc@FreeBSD.org Subject: [Bug 237208] java/openjdk11: port to powerpc64 Date: Wed, 24 Apr 2019 00:35:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@bdragon.rtk0.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 3C47C6B54F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Wed, 24 Apr 2019 00:35:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208 Brandon Bergren changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd@bdragon.rtk0.net --- Comment #13 from Brandon Bergren --- Found it. The FSCR is slightly divergent between the BSP and the APs on the Talos II. ``` root@fledgling-bmc:~# pdbg -a getspr 153 Couldn't open debugfs Couldn't open debugfs p0:c23:t3:spr153: 0x0000000000000184 p0:c23:t2:spr153: 0x0000000000000184 p0:c23:t1:spr153: 0x0000000000000184 p0:c23:t0:spr153: 0x0000000000000184 p0:c22:t3:spr153: 0x0000000000000184 p0:c22:t2:spr153: 0x0000000000000184 p0:c22:t1:spr153: 0x0000000000000184 p0:c22:t0:spr153: 0x0000000000000184 p0:c19:t3:spr153: 0x0000000000000184 p0:c19:t2:spr153: 0x0000000000000184 p0:c19:t1:spr153: 0x0000000000000184 p0:c19:t0:spr153: 0x0000000000000184 p0:c18:t3:spr153: 0x0000000000000184 p0:c18:t2:spr153: 0x0000000000000184 p0:c18:t1:spr153: 0x0000000000000184 p0:c18:t0:spr153: 0x0000000000000184 p0:c17:t3:spr153: 0x0000000000000184 p0:c17:t2:spr153: 0x0000000000000184 p0:c17:t1:spr153: 0x0000000000000184 p0:c17:t0:spr153: 0x0000000000000184 p0:c16:t3:spr153: 0x0000000000000184 p0:c16:t2:spr153: 0x0000000000000184 p0:c16:t1:spr153: 0x0000000000000184 p0:c16:t0:spr153: 0x0000000000000184 p0:c13:t3:spr153: 0x0000000000000184 p0:c13:t2:spr153: 0x0000000000000184 p0:c13:t1:spr153: 0x0000000000000184 p0:c13:t0:spr153: 0x0000000000000184 p0:c12:t3:spr153: 0x0000000000000184 p0:c12:t2:spr153: 0x0000000000000184 p0:c12:t1:spr153: 0x0000000000000184 p0:c12:t0:spr153: 0x0000000000000184 p0:c11:t3:spr153: 0x0000000000000184 p0:c11:t2:spr153: 0x0000000000000184 p0:c11:t1:spr153: 0x0000000000000184 p0:c11:t0:spr153: 0x0000000000000184 p0:c10:t3:spr153: 0x0000000000000184 p0:c10:t2:spr153: 0x0000000000000184 p0:c10:t1:spr153: 0x0000000000000184 p0:c10:t0:spr153: 0x0000000000000184 p0:c9:t3:spr153: 0x0000000000000184 p0:c9:t2:spr153: 0x0000000000000184 p0:c9:t1:spr153: 0x0000000000000184 p0:c9:t0:spr153: 0x0000000000000184 p0:c8:t3:spr153: 0x0000000000000184 p0:c8:t2:spr153: 0x0000000000000184 p0:c8:t1:spr153: 0x0000000000000184 p0:c8:t0:spr153: 0x0000000000000184 p0:c7:t3:spr153: 0x0000000000000184 p0:c7:t2:spr153: 0x0000000000000184 p0:c7:t1:spr153: 0x0000000000000184 p0:c7:t0:spr153: 0x0000000000000184 p0:c5:t3:spr153: 0x0000000000000184 p0:c5:t2:spr153: 0x0000000000000184 p0:c5:t1:spr153: 0x0000000000000184 p0:c5:t0:spr153: 0x0000000000000184 p0:c4:t3:spr153: 0x0000000000000184 p0:c4:t2:spr153: 0x0000000000000184 p0:c4:t1:spr153: 0x0000000000000184 p0:c4:t0:spr153: 0x0000000000000184 p0:c2:t3:spr153: 0x0000000000000184 p0:c2:t2:spr153: 0x0000000000000184 p0:c2:t1:spr153: 0x0000000000000184 p0:c2:t0:spr153: 0x0000000000000184 p0:c1:t3:spr153: 0x0000000000000184 p0:c1:t2:spr153: 0x0000000000000184 p0:c1:t1:spr153: 0x0000000000000184 p0:c1:t0:spr153: 0x0000000000000184 p0:c0:t3:spr153: 0x0000000000000184 p0:c0:t2:spr153: 0x0000000000000184 p0:c0:t1:spr153: 0x0000000000000184 p0:c0:t0:spr153: 0x0000000000000180 ``` So, if a process is created on anything but cpu0 it will detect the DSCR as being available. If it later migrates to cpu0, it will cause a facility unavailable trap if it tries to mess with the DSCR, and the kernel handles = this by SIGILL. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Apr 24 00:50:04 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 13F521587C31 for ; Wed, 24 Apr 2019 00:50:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B150E6BA5D for ; Wed, 24 Apr 2019 00:50:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id A4B33E9A5; Wed, 24 Apr 2019 00:50:03 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id A1B98E9A4 for ; Wed, 24 Apr 2019 00:50:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66FA56BA5A for ; Wed, 24 Apr 2019 00:50:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6B18413147 for ; Wed, 24 Apr 2019 00:50:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3O0o26x045265 for ; Wed, 24 Apr 2019 00:50:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3O0o2Ci045264 for powerpc@FreeBSD.org; Wed, 24 Apr 2019 00:50:02 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: powerpc@FreeBSD.org Subject: [Bug 237208] java/openjdk11: port to powerpc64 Date: Wed, 24 Apr 2019 00:50:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@bdragon.rtk0.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: B150E6BA5D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Wed, 24 Apr 2019 00:50:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208 --- Comment #14 from Brandon Bergren --- root@fledgling:~ # cpuset -l 0 ./foo Illegal instruction (core dumped) root@fledgling:~ # cpuset -l 1 ./foo root@fledgling:~ #=20 and if I patch the FSCR from the bmc... like so: root@fledgling-bmc:~# pdbg -a stop=20 root@fledgling-bmc:~# pdbg -p0 -c0 -t0 putspr 153 0x0000000000000= 184 root@fledgling-bmc:~# pdbg -a start=20=20=20=20=20 tada: root@fledgling:~ # cpuset -l 0 ./foo root@fledgling:~ # --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Apr 24 03:46:44 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 4C5ED158AE0E for ; Wed, 24 Apr 2019 03:46:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-10.consmr.mail.ne1.yahoo.com (sonic308-10.consmr.mail.ne1.yahoo.com [66.163.187.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1483B70B7A for ; Wed, 24 Apr 2019 03:46:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Kf6ldcgVM1kunM9hq9PWFLed5oVUn4cMbF_k1sKxw7mbO1AtAvfpZjuibWQW0kf JEMYv7DYFFNjBe9cWIFHm_PFz0Znewekaht2ZrH9ogew4aSnUpVpbkY1VCbnz6VztAEE__DL_FyS J6k1KavoBglS0Pqnx5ronSb2CqtyH719SZwhE3SnHndZm42.47USRTHcQbfDbDXahsCdU9gdKQAs 01rhkmFDAnYBuXl9XR6HAP5Pz_t_K5XKlVZhgzJERWWiG0dsSzkBhJPhC0UO2e41_PFGRg87yYad _ebyV_dbSp51_alenn7676PiRn.2iScOTJsueI7lCrWws6tUlV4ZP32VdiZtbwjmcmI_GnEaN7Wp dB9unegLixtbcxLDW.CF33dmJNcs9ahCVVQETUOaJRUGXfQK1tTL_0aXsD5AcpmB42YHfqjkCg44 hr9ZNICnR6XMzgI1pE0xiaJAEjjSqM6RO0Rf1pUs1eAfuWaLqp0q9HwnIPq610lKseyzFomiMV6Z SUxInh5Gp1KKW.rm110QY7TV775ZwpUYXMwDSFLrl6B8iOv88OkGKUWpXrFzUHKQEEiiCP3nn4CM qJGGkTaVhdck7t5wsB76n1aeWcZ1ssZ9VO6lD5zUWxFNftUdHMLVfV8mxM16ZqDq9Ze7Rvd6W0Je pnN2ulbibEbpG0uSRdkKpzKq9ZBb1D6vi0n3nlF4I7judvzRFE7ZjKb7wvZS4U2OKL1jzB.FizcV 9uMq_0oM1enP1nKW8moTq6yhiXLVJFJAJ35RFqfDKTsxs0cyYjkRLkqEjB77ZLjWCtPSkfum_WqF H0KMfuswrZwxiYGH9p3GRgfRCHoQUobb5sSHGZIp1YwKDShldxzOkAoOpctY4iXIm23hxgPSo5X6 RvrXMrXMlBc0A3oaw4Ozy.X4bXRGfO4hkO1Mkwoo4G_RtTYDyzWnU4l2LY08R_9LXiO.rw11R0RV 5_RHpEc1_by0ebgbOx8.T.QcU2FDbKRxb6hXjwgXR78aGzSXhn5hWxYGI1PnGDH.yTDAHiUvRfH9 E9Eg5g3hjCrsnR4PttVK8XPSERjGq9_9GPA04ZXitVZr.S3CDahQ5bhH.DfHcQlWOnDMdq9b8e70 kcWsFHUcoPhVfHN7AXJCJ8FzA Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 24 Apr 2019 03:46:36 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp424.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 543a8d7dd96f891550904e6312341418; Wed, 24 Apr 2019 03:46:30 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: 32-bit powerpc: tlbie context-synchronizing needs (according to MPCFPE32B.pdf) vs. FreeBSD's 32-bit powerpc kernel code Message-Id: <085B0EC6-4479-48DA-A20C-14D914AB35A4@yahoo.com> Date: Tue, 23 Apr 2019 20:46:29 -0700 To: FreeBSD PowerPC ML , Justin Hibbits X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 1483B70B7A X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.22)[-0.220,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.63)[0.625,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.47)[ip: (4.89), ipnet: 66.163.184.0/21(1.41), asn: 36646(1.13), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.81)[0.811,0]; RCVD_IN_DNSWL_NONE(0.00)[33.187.163.66.list.dnswl.org : 127.0.5.0] 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: Wed, 24 Apr 2019 03:46:44 -0000 In looking into the iMac G3 (MPC750) failures I ran into the following in the 32-bit powerpc FreeBSD code. It may be that MPC750's are just not intended to be supported any more. Later in this note I quote MPCFPE32B.pdf about the criteria for tlbie use in the 32-bit context. Looking at the tlbie() code I saw (for a non-debug 32-bit-powerpc kernel build): bl 0054d4e4 <_mtx_lock_spin_cookie> ptesync tlbie r28 eieio tlbsync ptesync ptesync is not even defined or mentioned in MPCFPE32B.pdf=20 or MPC750UM.pdf . (I did not find any examples of lwsync in the 32-bit kernel. It would also have an undefined status on an MPC750.) All other ptesync usage was in routines with names that start with moea64_ . But tlbie(. . .) is used from the likes of moea_clear_bit, moea_cpu_bootstrap, moea_page_set_memattr, moea_pvo_remove, moea_remove_write, moea_protect, moea_pte_insert, moea_pte_spill, and moea_mapdev_attr. SO the ptesync usage in 32-bit code is fairly extensive. ptesync seems to have an instruction encoding that is reserved according to MPCFPE32B.pdf and MPC750UM.pdf . eieio documented but not listed as context-synchronizing. But it orders the tlbie vs. tlbsync: that is documented. sync is not listed as context-synchronizing either. (This matters later.) _mtx_lock_spin_cookie returning does a bunch of memory reads (at least from the stack) after any isync it might execute. When prior code skips _mtx_lock_spin_cookie, there is an isync involved. The MPCFPE32B.pdf Data Access Synchronization table indicates that for tlbie: Required Prior: Context-synchronizing Required After: Context-synchronizing or sync It also has a note (not covering all the multiprocessor system issues, as noted in the note after this one): QUOTE For data accesses, the context synchronizing instruction before the = tlbie, or tlbia instruction ensures that all memory accesses, due to preceding instructions, have completed to a = point at which they have reported all interrupts that may be caused. The context synchronizing instruction after the = tlbie, or tlbia ensures that subsequent memory accesses will not use the TLB entries being invalidated. It does not = ensure that all memory accesses previously translated by the TLB entries being invalidated have completed with = respect to memory or, for tlbie or tlbia, that R and C bit updates associated with those memory accesses have completed; = if these completions must be ensured, the tlbie, or tlbia must be followed by a sync instruction rather than by a = context synchronizing instruction. END QUOTE So it looks to me like if the MPC750 (and, so, iMac G3) is to be supported, there should (also?) be an isync before the tlbie. As for after the tlbie, the code is supposed to work for multiprocessors so sync would appear to be required by the note (to be sure tlbsync completed). But, for the self-same (or only) processor, it would appear that the "does not ensure that all memory accesses . . ." material means that an isync is possibly also necessary. It is not clear what the ptesync instruction encoding leads to on the MPC750. Is it treated as MPC750 sync? As a no-op? As something else? The MPCFPE32B.pdf and MPC750UM.pdf indicate that sync is appropriate (with the L=3D0 encoding specifically, in more modern terms). Of course, allowing 32-bit FreeBSD to run on powerpc64 hardware may well not be able to use just the 32-bit's MPCFPE32B.pdf and MPC750UM.pdf criteria related to tlbie. This may well be more important than iMac G3's or other MPC750 like contexts. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Wed Apr 24 09:20:55 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 428FF1592836 for ; Wed, 24 Apr 2019 09:20:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-15.consmr.mail.bf2.yahoo.com (sonic315-15.consmr.mail.bf2.yahoo.com [74.6.134.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6211783C92 for ; Wed, 24 Apr 2019 09:20:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: UZ4obh8VM1knIH0T9UmZTNxhIh9XwU7atEUglygZBp8EBrcXIebouLSePGaO6Br WFK65YKwhvz5traDG6gBcoLYPAavsllOlkB580D2kCw.WqpYqgjleDitlsgxyNQoXHQkEWE199r7 zjR.7Xx1wWc901PNGMDYlrnIH_PfRmrbAazKQc4JeTY5U08pRQFADYtRk3VTtYAOX0RsXZY5ErT0 AOGAUDqFaFj.iNMrj1PbQUDd.M7N6Kl.3bQ_XnLwckeJKojcjDBDqw1OAUuATBXcBFjG_Y3msVzB CEGDM71GaqWo.c70G9988pGgCNYcErWAroOMh7CujlkgWxRAgDQh4lUEeVB5dV850.eu.J8BJvB0 2OmNEbh6ECi5J3rqbXf9W3lHAudcJnQlqKnDf3CJJpOhelvagRNSub3kclSSzZ7KgonHSLuIQiXP hDd6j3oxu_jaCJkNikghqcjn7fwKXNgsGS6QpXlzMjU2IPL42eXQhBGoc8Wc.sH0aByK9cQ_mkOz PjAcQAW.x3jDBdLX0EBQUspIbt8IJ83rGxjE0lyi9UVCpThYlxaQUQKoO9dgI4IDIxFs7brUxq_a AiFD9bWR3MRQTjrqAVgoHomuk4vC8CYgnC9VKC1l0dCn7MI5pcqLGR5cTEB_qX4aBPSr6cEm_a7_ JMJMkEJJTz65aWB3HRElcqEASg8Nfk0Z4syckLNbjhShc8iGv5tsf.pnNbWUrNRqpravN1DWW2b_ nZvZPXWbs2XaQT3gTATHNFHDGzSFnURtTlAV9P1gndq83EV2P9vg.lzTVh_Ig0cMXz2Ov4jZ041i .Jz4REzWuqd9tQQFdlhqGqXZn5FeeK0pNnkrZYdRW3gVpa4El251ySTDes5u6HmqP.ECKK81mQ8t A8iHm4Hzi3Ukc8Zd5qe.cq9.9iLA_SGuQR8JvqkgriDRPDIuW2h_9i5PAf0dhBa9YvEd4wQd9czC BzUTIhhdDRqQq6zorZto7t3so74RoooOQvvbZubahciw4u.CKeOVl2902E7723g8wOZsc9kJM.LS dVsojqTdgorqJx4BtB7QxkCsLC2V.NbdpzzIET7KuRdIMndBVjrEVeE8q4lXIPg7Z7fbpR2H1qEx wjMhz37YKKz9YPc1l_Zc6ZyF_M8f_ Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Wed, 24 Apr 2019 09:20:53 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp427.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0a9e506e90ae411b27f8563bef774fc5; Wed, 24 Apr 2019 09:20:52 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: 32-bit powerpc: tlbie context-synchronizing needs (according to MPCFPE32B.pdf) vs. FreeBSD's 32-bit powerpc kernel code Date: Wed, 24 Apr 2019 02:20:50 -0700 References: <085B0EC6-4479-48DA-A20C-14D914AB35A4@yahoo.com> To: FreeBSD PowerPC ML , Justin Hibbits In-Reply-To: <085B0EC6-4479-48DA-A20C-14D914AB35A4@yahoo.com> Message-Id: <003DFE8E-00FA-412F-8F36-B39529C8E983@yahoo.com> X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 6211783C92 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.27 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.47)[-0.474,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.946,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.56)[ip: (5.04), ipnet: 74.6.128.0/21(1.58), asn: 26101(1.26), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.75)[0.748,0]; RCVD_IN_DNSWL_NONE(0.00)[125.134.6.74.list.dnswl.org : 127.0.5.0] 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: Wed, 24 Apr 2019 09:20:55 -0000 On 2019-Apr-23, at 20:46, Mark Millard wrote: > In looking into the iMac G3 (MPC750) failures I ran into > the following in the 32-bit powerpc FreeBSD code. It > may be that MPC750's are just not intended to be > supported any more. Later in this note I quote MPCFPE32B.pdf > about the criteria for tlbie use in the 32-bit context. >=20 > Looking at the tlbie() code I saw (for a non-debug > 32-bit-powerpc kernel build): >=20 > bl 0054d4e4 <_mtx_lock_spin_cookie> > ptesync > tlbie r28 > eieio > tlbsync > ptesync >=20 > ptesync is not even defined or mentioned in MPCFPE32B.pdf=20 > or MPC750UM.pdf . (I did not find any examples of lwsync > in the 32-bit kernel. It would also have an undefined > status on an MPC750.) >=20 > All other ptesync usage was in routines with names > that start with moea64_ . But tlbie(. . .) is used from > the likes of moea_clear_bit, moea_cpu_bootstrap, > moea_page_set_memattr, moea_pvo_remove, moea_remove_write, > moea_protect, moea_pte_insert, moea_pte_spill, and > moea_mapdev_attr. SO the ptesync usage in 32-bit code > is fairly extensive. >=20 > ptesync seems to have an instruction encoding that is > reserved according to MPCFPE32B.pdf and MPC750UM.pdf . > eieio documented but not listed as context-synchronizing. > But it orders the tlbie vs. tlbsync: that is documented. > sync is not listed as context-synchronizing either. (This > matters later.) >=20 > _mtx_lock_spin_cookie returning does a bunch of memory > reads (at least from the stack) after any isync it might > execute. When prior code skips _mtx_lock_spin_cookie, > there is an isync involved. >=20 > The MPCFPE32B.pdf Data Access Synchronization table > indicates that for tlbie: >=20 > Required Prior: Context-synchronizing > Required After: Context-synchronizing or sync >=20 > It also has a note (not covering all the multiprocessor > system issues, as noted in the note after this one): >=20 > QUOTE > For data accesses, the context synchronizing instruction before the = tlbie, or tlbia instruction ensures that all > memory accesses, due to preceding instructions, have completed to a = point at which they have reported all interrupts > that may be caused. The context synchronizing instruction after the = tlbie, or tlbia ensures that subsequent memory > accesses will not use the TLB entries being invalidated. It does not = ensure that all memory accesses previously > translated by the TLB entries being invalidated have completed with = respect to memory or, for tlbie or tlbia, that R > and C bit updates associated with those memory accesses have = completed; if these completions must be ensured, the > tlbie, or tlbia must be followed by a sync instruction rather than by = a context synchronizing instruction. > END QUOTE >=20 >=20 > So it looks to me like if the MPC750 (and, so, iMac G3) > is to be supported, there should (also?) be an isync > before the tlbie. >=20 > As for after the tlbie, the code is supposed to work > for multiprocessors so sync would appear to be required > by the note (to be sure tlbsync completed). But, > for the self-same (or only) processor, it would appear > that the "does not ensure that all memory accesses . . ." > material means that an isync is possibly also necessary. I found material indicating that even the uniprocessor system designs need the sync instructions: QUOTE The sync instructions shown are required even for single processor = systems (to ensure that all previous changes to the page tables and all preceding tlbie instructions have = completed). END QUOTE This was for examples of how to add a Page Table Entry and how to delete one. I assume that the above is because of the "if these completions must be ensured" issue. This makes it seem that the "rather than by a context synchronizing instruction" in the bigger quote overrides the earlier part about "context synchronizing instruction after the tlbie". That still leaves having a isync before the tlbie, as well as the sync vs ptesync issue. > It is not clear what the ptesync instruction encoding > leads to on the MPC750. Is it treated as MPC750 sync? > As a no-op? As something else? The MPCFPE32B.pdf and > MPC750UM.pdf indicate that sync is appropriate (with > the L=3D0 encoding specifically, in more modern terms). >=20 >=20 > Of course, allowing 32-bit FreeBSD to run on powerpc64 > hardware may well not be able to use just the 32-bit's > MPCFPE32B.pdf and MPC750UM.pdf criteria related to tlbie. > This may well be more important than iMac G3's or other > MPC750 like contexts. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Wed Apr 24 19:51:08 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 174E915A1B38 for ; Wed, 24 Apr 2019 19:51:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6A22E76AAB for ; Wed, 24 Apr 2019 19:51:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A71915A1B29; Wed, 24 Apr 2019 19:51:07 +0000 (UTC) Delivered-To: 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 1927F15A1B25 for ; Wed, 24 Apr 2019 19:51:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC63176AA5 for ; Wed, 24 Apr 2019 19:51:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EB6501D627 for ; Wed, 24 Apr 2019 19:51:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3OJp5Gt082894 for ; Wed, 24 Apr 2019 19:51:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3OJp5Id082893 for ppc@FreeBSD.org; Wed, 24 Apr 2019 19:51: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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Wed, 24 Apr 2019 19:51:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 24 Apr 2019 19:51:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #29 from Mark Millard --- Created attachment 203980 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203980&action= =3Dedit Investigatory /sys/powerpc/aim/trap_subr32.S patch This has avoided getting some Machine Checks instead of Data Storage Interrupts in the MPC750 iMac G4 PowerMac4,1. Of itself it does not make the iMac G3 example usable. The PowerPC docuemntation indicates the MPC750 need for an isync after an mtsr. I also found a reference for needing one after mtmsr for the PSL_EE case. These are special to the MPC750's instead of architectural for 32-bit. There is other code around with mtsr and mtmsr with PDL_EE involved that used isync's. It looks like these were just missed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Wed Apr 24 20:07:58 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 275A41580012 for ; Wed, 24 Apr 2019 20:07:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AE03077503 for ; Wed, 24 Apr 2019 20:07:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6BDBB1580011; Wed, 24 Apr 2019 20:07:57 +0000 (UTC) Delivered-To: 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 2FAF91580010 for ; Wed, 24 Apr 2019 20:07:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B773177501 for ; Wed, 24 Apr 2019 20:07:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 974391D7D5 for ; Wed, 24 Apr 2019 20:07:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3OK7qZv021868 for ; Wed, 24 Apr 2019 20:07:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3OK7q2v021867 for ppc@FreeBSD.org; Wed, 24 Apr 2019 20:07:52 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Wed, 24 Apr 2019 20:07:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 24 Apr 2019 20:07:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203889|0 |1 is obsolete| | --- Comment #30 from Mark Millard --- Created attachment 203981 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203981&action= =3Dedit Investigatory stand/powerpc/ofw/ofwfdt.c and sys/contrib/libfdt/fdt_rw.c patches The MPC750 iMac G4 PowerMac4,1 needs to have its /memory0/available information used and respected or the "extra" address range usage will end up trashed. openfirmware may well report to exclude some address ranges having nothing to do with openfirmware's internal memory use. With this change the MPC750 iMac G3 PowerMac4,1 example boots and runs in *BOTH* non-usefdt mode and usefdt mode. It also means that every PowerMac that I have access to that non-usefdt mode historically worked on now also works for *BOTH* non-usefdt mode and usefdt mode: G3, G4, and G5. Textually the patches would need adjustments to be acceptable for FreeBSD check-in. Also it is possible that some things might have other directions things could instead be taken. But they give solid evidence about what needs to be addressed. Note: There are list messages with notes about other things I ran into while trying to find what would make things work again for both non-usefdt mode and usefdt mode. >From what I observe, none are important for this bugzilla (beyond what the various attached patches deal with). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Wed Apr 24 20:12:51 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 C39761580215 for ; Wed, 24 Apr 2019 20:12:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-21.consmr.mail.ne1.yahoo.com (sonic315-21.consmr.mail.ne1.yahoo.com [66.163.190.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98B7077812 for ; Wed, 24 Apr 2019 20:12:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: QVGYURcVM1kfojg1S0CPPZRme6GeZe49mrtRPWtiwjQw1x1ck1pApdpunQ6mKhc qW54a4Bj57Zhw41GfY9x9kg8bZ6cEuBfZ5I9oJ3cxAhy_nmp75VE7r2SjXI6QosSMMJhLFsl0.rF jFJSIEMKgR80I1TLuwXux.YsSK8lLusYux0sTTx9YX77.E7DZsJDLniLJEUHlwjPVExizGT2TFGO R7z917g8eZY4u_hxNAmH02nSPOwgBayR1BKo3Vc1ZGSlFsuF6Ux6P_DW24GvtlROzpuKQ5KOabbx EagCV_u6kBBBymurBLXuwULqYvSFRFF.JidMbuXP8lF8R3frpb0rj8_wX4K0d8OfEkNGbyojG2TH xMrLR2_9D_XZVgbCWmLN5Np2f3FjOhiN8aqS9X0qGCmbwSTfuzuHlY.ML8bm7qTc2b9HyQIPCl1L 0ZiBl_5ThARBcCPeOb8Etwiak6kp0HXf1i.O8J9UgmsDfds2lDqiMPG2HitJxtOK0YHnVqgo0Fgd ez6.J.QH2T7NAtFPutAgFEtimJSfviks_PCvgeUN7lBmOMxgmR0NtySgkmkDhFmBN_fwm76T4vGR l67IMhuozgmJskKJ3iwlbO2wuxEvFdeFMt6fh3_s0WgNzUQYKv8RPVNrjcSbWkWt0FSXStercD1Y EmN54PQaIR6WUxHUYvdTclRkZVQ0k9fjVpphbtAe7OWP5jdNoX5bTqDZtppACRMJ8wSDwvpFu5Q. Mcw8i2HT42Mcbhpp6aqlNThNYP9STSwYttpr.oPcsXKnj30Bjj_6fTdKR25bKbR1De0eiE4Yat5p 9vdOlDm51pxt3MSomU9gv_WT.eRKUWqUSndpSJNlaVRrvKbqLyDXiXJ6FImHPFKFZJxFuE7gA0k0 kD8zG9qS0jcJRZz402ddSmu_J2qZvkTqcDwx2FVuatx6iUinSqkSQVFwWj2xmJ4stV5YjJyII.qB ACyf7QTQgX5aQK2HqxKDf_6PLIl6A0uOxPzk.JCU11WV.tcILuQBsrSWxgoKZL7sEMAU.FtjTIqO DEvQIyko6nDCo.BTGnmyIQb0A0PZE2RR7sJVwmCtpfQoggOh95tJYnhkHMy6cksK2GNHi4.Qbgej JyHo9YQaKfQIDFkX9dOKJ.x7Z_6YywaF9EQnmx6qXDT6SUOiyRA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 24 Apr 2019 20:12:48 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp404.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 355b7aee4ea8c98769e5b78a731f44e9; Wed, 24 Apr 2019 20:12:45 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) 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 From: Mark Millard In-Reply-To: <11433EF4-5A8B-48FF-BA41-F11AF4873647@yahoo.com> Date: Wed, 24 Apr 2019 13:12:43 -0700 Cc: freebsd-ppc@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <73E2F588-848D-4844-9D86-B1164B465300@yahoo.com> References: <988F644F-D5E7-4FB4-AAB3-A72E9DA88CE6@yahoo.com> <465DBF40-EEF5-4D4A-95F6-DF17EB5B130B@yahoo.com> <5aecd21e-e53c-f14c-0bdc-8732fa88fed6@blastwave.org> <55E83F50-197D-43C7-B4D6-E69A5AEC2630@yahoo.com> <1B999D64-036F-4553-B024-93D0150FD60D@yahoo.com> <433A1839-8232-4785-91AD-1EF5EAF31294@yahoo.com> <11433EF4-5A8B-48FF-BA41-F11AF4873647@yahoo.com> To: Dennis Clarke X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 98B7077812 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.15 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.89)[0.887,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.73)[ip: (6.16), ipnet: 66.163.184.0/21(1.42), asn: 36646(1.13), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.15)[0.153,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.89)[0.887,0]; RCVD_IN_DNSWL_NONE(0.00)[147.190.163.66.list.dnswl.org : 127.0.5.0] 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: Wed, 24 Apr 2019 20:12:51 -0000 [The patches are updated to span the iMac G3 example.] On 2019-Apr-20, at 19:27, Mark Millard wrote: > To my knowledge, the investigatory patches to head > -r345758 that are now in: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233863 > > are sufficient for both non-usefdt mode and usefdt mode > for booting and using the old PowerMac's that I can test, > both G5 and G4. I'm hoping that other Apple ppc's that used > to work before various changes again work for non-usefdt > mode. Ones with even longer term problems probably still > have such. > > One requirement for usefdt mode is: kern.vty=vt > Using sc hangs after the "Kernel entry at" message > before even clearing the screen. (This is so early > I may never figure out a way to isolate the problem > for sc: no serial console context.) > > So, unlike before, I now expect that testing on whatever > variety of Apple G5 types that you have access to would > be very useful to you and make evidence about the patches > beyond what I can do with what I have access to. (It > also cross checks if I've forgotten to post something.) > This applies to both non-usefdt mode and usefdt mode. > > Similarly for any variety of Apple G4's, if you have > access to some. > > The only powerpc64 and 32-bit-powerpc systems that I > have access to are old PowerMacs. So I can not check > the status of any other types of ppc systems with my > patches involved. > > One thing I'm not sure of for usefdt mode is what > the consequences of small memory machines might be. > /usr/src/stand/powerpc/ofw/ofwfdt.c has: > > int > fdt_platform_load_dtb(void) > { > void *buffer; > size_t buflen = 409600; > > buffer = malloc(buflen); > fdt_create_empty_tree(buffer, buflen); > add_node_to_fdt(buffer, OF_peer(0), fdt_path_offset(buffer, "/")); > ofwfdt_fixups(buffer); > fdt_pack(buffer); > > fdt_load_dtb_addr(buffer); > free(buffer); > > return (0); > } > > On a 1 GiByte machine, with some other overhead > use of RAM, that 409600 could be around half the > available memory --or more. Even though > fdt_load_dtb_addr will make a smaller copy, and > then the bigger one will be freed, the copy's > address range is constrained by the existing big > allocation at the time. > > On a sufficiently small memory machine the 409600 > would just not be possible. (That might even be > true for a 1 GiByte machine.) Note the lack of > any check on the malloc(409600)'s success vs. > failure status. (By contrast, fdt_load_dtb_addr > does check for a NULL return, even though > fdt_platform_load_dtb ignores the fdt_load_dtb_addr > return value.) > > So if any of your testing contexts are "small" memory > ones, it may be for those that only non-usefdt mode > is the only effective option. > > > Some patches only matter for usefdt mode, because they are > about the conversion to fdt in the loader or use of > the phandle nodes that the conversion adds to record > openfirmware's original node-ids (xrefs vs. node refs). > (Presumes no typing of commands like "fdt header" or such > in the loader before the non-usefdt boot. Otherwise the > fdt command itself does do a conversion at the time and so > the conversion code would be involved.) > > So, for just testing non-usefdt mode, fewer of the patches > are needed. > > No longer should any of my usefdt mode pure-hacks be > required. (I now use my hacks to see if they report > ever having anything special to do vs. not. This is > more complete of a check than just watching overall > normal-use behavior for usefdt mode.) I've not posted > the current versions of my pure-hacks anywhere and I'd > avoid any old postings about old versions. I hope to > back out the hacks in my context as well. > > > > (Note: I have access to one old PowerMac G4 that no version > of FreeBSD that I've ever tried over the years could complete > the boot. OS X had no problem with it, nor did the Linux that > I tried. Until/unless I isolate the low level spot were > FreeBSD fails on it, I ignore this old PowerMac in my wording > for my testing.) I have updated the patches and now the MPC750 iMac G3 PowerPC4,1 example also boots and operates for *BOTH* non-usefdt mode and usefdt mode. That is the last of the old PowerMac's that I can test with. It is still based on -r345758 and some of it would not apply cleanly to sufficiently more recent vintages of head. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Wed Apr 24 20:15:46 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 3A862158026D for ; Wed, 24 Apr 2019 20:15:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C85ED7786B for ; Wed, 24 Apr 2019 20:15:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 85B07158026C; Wed, 24 Apr 2019 20:15:45 +0000 (UTC) Delivered-To: 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 71811158026B for ; Wed, 24 Apr 2019 20:15:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0723677869 for ; Wed, 24 Apr 2019 20:15:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 571461D939 for ; Wed, 24 Apr 2019 20:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3OKFi3r038308 for ; Wed, 24 Apr 2019 20:15:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3OKFin0038307 for ppc@FreeBSD.org; Wed, 24 Apr 2019 20:15:44 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Wed, 24 Apr 2019 20:15:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 24 Apr 2019 20:15:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #31 from Mark Millard --- (In reply to Mark Millard from comment #30) The patches are still based on -r345758 and some of them likely would not apply cleanly/appropriately to sufficiently more recent vintages of head. An example is the code still using the old ori 31,31,31 and ori 6,6,6 : there is now a call interface and the 6,6,6 as the default was changed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Wed Apr 24 21:13:37 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 2EDE7158191A for ; Wed, 24 Apr 2019 21:13:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BACA281948 for ; Wed, 24 Apr 2019 21:13:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7EF23158190E; Wed, 24 Apr 2019 21:13:36 +0000 (UTC) Delivered-To: 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 6C9BD158190D for ; Wed, 24 Apr 2019 21:13:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 073C881946 for ; Wed, 24 Apr 2019 21:13:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 459D61E1BF for ; Wed, 24 Apr 2019 21:13:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3OLDZBG040240 for ; Wed, 24 Apr 2019 21:13:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3OLDZbd040227 for ppc@FreeBSD.org; Wed, 24 Apr 2019 21:13:35 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Wed, 24 Apr 2019 21:13:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 24 Apr 2019 21:13:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203981|0 |1 is obsolete| | --- Comment #32 from Mark Millard --- Created attachment 203983 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203983&action= =3Dedit Investigatory stand/powerpc/ofw/ofwfdt.c and sys/contrib/libfdt/fdt_rw.c patches I noticed some whitespace oddities in the ofwfdt.c update's indentation and so adjusted them. No other type of change intended. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Wed Apr 24 22:17:06 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 5AA041582C13 for ; Wed, 24 Apr 2019 22:17:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-14.consmr.mail.bf2.yahoo.com (sonic314-14.consmr.mail.bf2.yahoo.com [74.6.132.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4CBC83524 for ; Wed, 24 Apr 2019 22:17:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: ppWSO9AVM1lLYT1r_vYC6tMTpoQDwg_tOzsRV3rShSWlkpAEiZEpSUkQMzty3UB YEBaYkAaHwvqGoEI5U.0.eaphnWBfmQZFac93jGDgw2qbRCrwM0Otkye0c.dx_eMcP82t_lZ9Kmc bJlT_0lJ8Cmq7iXgR1GMQHVLC88_4LGpBz1axfJEUJ_TE1DiNqoEqUjuHfDz2pG4_q.aEw7gR0Ii jdqxfMoSzIjP4uScyl.RtOB6hCkivDcR5RhMF6K8cDnESv7lkthpHJ5b6pSt5eAS7BJqQcZG9NOP hSnpNHC89mdOrXwCZQFxby9HNyU55QNVDml_rLjI_Ck5QhK7t6NDvqugZzouqWXD.OzRuolNwkd8 kh9jGPUSfZDw_Yw45cqxI1CC39utDgWSqk5_N38p1Xr6gQKcT3IrK.BHuR5RItk4BpsO1KqzqF41 s9SQBby9_km0j.JFt3raWhPLaJfzFlDuN2ENglvPpyYRJjWxvAUIBZDAZr0DuWfhElu3TMHpyk_Z nuDUxI_MIS.GtDGYqLylGXjV4AzjA5AJK034LNfjhrQIZtxWglEINvwV.HUn_lFejAuSp3snXiIS Rp4KEJ.nw2R8juwNCnkNSDGP6Iz0HFG5bejhZMTyRyzIzf7BQm4o5B09imUDtYo7oM_Th2R3Ffiu VJuUHoy96c8rZeZuw821sga3PNhWuNO5oMH4CmyZ47BtQoJxtxoTEH4rBURT3taq6s0cc3_k2L2q GgRWuzrDJ7YD2hM5_6QywrQ_8O8G4PdYvqQKIBKrauZCjRyzatp3Z4bfjRmxONkF8uME9N40SnAw YAqKuj7I1_A4ksnkM7KZcZfG6iYcuHhoS2AS0b2BUiDDX5r9ufJttWxDmccNn1p5MW7D2kB4w.3D 6cPFJxCKahXWlrRaLua0cQxOGtD2BRhz1cD8rQFONbfjGIl4aOMO0WsMHYzgPoqn7iA_8S.zn647 pLyHXSMn8twxJ1RnCcMvXy0pLqe5TmCVeX51RrUaa7yg2pt4TpnqNaxlrpFxOk_Jrw2EjZmS6LaJ l_C.skM7x9Bp_iV8CIuuOgwnajx9pd2cOAmpVZqYhqNHkciMmQlL32SSADlBp6Qm6Sp5loyec7Xy jeN6Ar.hIxZtQglxXeK0GTkqDQXNrgQk0qEweBxsZQiReAbxKIGxoR8PNB3fUTSQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Wed, 24 Apr 2019 22:17:04 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp421.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c5e1851ffb516b004631a5636a9ee9b8; Wed, 24 Apr 2019 22:16:59 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: PowerMacs with modern VM_MAX_KERNEL_ADDRESS for non-usefdt mode and usefdt mode (head -r345758 variant) Message-Id: <87F32871-FAED-4F53-81E6-4B94B82C303F@yahoo.com> Date: Wed, 24 Apr 2019 15:16:57 -0700 Cc: FreeBSD PowerPC ML To: Justin Hibbits , Nathan Whitehorn X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: E4CBC83524 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.085,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.92)[0.922,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.47)[ip: (4.57), ipnet: 74.6.128.0/21(1.58), asn: 26101(1.26), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.80)[0.796,0]; RCVD_IN_DNSWL_NONE(0.00)[124.132.6.74.list.dnswl.org : 127.0.5.0] 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: Wed, 24 Apr 2019 22:17:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233863 now has patches for head -r345758 which have all the G3, G4, and G5 PowerMacs that I have access to (that FreeBSD has ever been able to boot) operating for both: A) the historical non-usefdt mode (openfirmware used live) B) usefdt mode using the modern VM_MAX_KERNEL_ADDRESS values. I do not claim to have coded to FreeBSD source code standards. The patches, as they are, are more for the information they, and the various patch-attachment notes, contain about what was a sufficient set of changes. For parts of it, at least one other direction of change would be an alternative. I viewed generating the patches as investigatory for the goal of "get PowerMacs going again for non-usefdt mode --and usefdt mode", not as definitive of the best form of change for getting them going. As far as I know no one else has tested if the patches work in their PowerMac context --or for any non-PowerMac context for that matter. (Both are important but I'm limited to old PowerMac's for powerpc64 and 32-bit powerpc.) I'm not sure what PowerMac's I'll have access to fairly soon, possibly only one. Nor am I sure how much time I'll have. Hopefully the patches and their notes are of some help if FreeBSD is to continue to officially support PowerMacs. Note: In my personal environment I've set things up to use: OK set nousefdt OK boot and default to usefdt mode, instead of using: OK set usefdt OK boot and defaulting to openfirmware-used-live. This change is not in the patches that I submitted. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Apr 25 01:07: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 C35BD1586ED5 for ; Thu, 25 Apr 2019 01:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 50C7389351 for ; Thu, 25 Apr 2019 01:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 10F9A1586ED4; Thu, 25 Apr 2019 01:07:07 +0000 (UTC) Delivered-To: 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 F2CAF1586ED2 for ; Thu, 25 Apr 2019 01:07:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 869C08934E for ; Thu, 25 Apr 2019 01:07:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9355D2FF for ; Thu, 25 Apr 2019 01:07:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3P175pU061445 for ; Thu, 25 Apr 2019 01:07:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3P175gF061444 for ppc@FreeBSD.org; Thu, 25 Apr 2019 01:07: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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Thu, 25 Apr 2019 01:07:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 25 Apr 2019 01:07:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #33 from Mark Millard --- (In reply to Mark Millard from comment #28) Justin Hibbits checked in the the sys/powerpc/aim/trap_subr32.S patch as head -r346619 . --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Thu Apr 25 01:17:58 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 858741587954 for ; Thu, 25 Apr 2019 01:17:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 15E8389B22 for ; Thu, 25 Apr 2019 01:17:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CA8B11587951; Thu, 25 Apr 2019 01:17:57 +0000 (UTC) Delivered-To: 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 B83F51587950 for ; Thu, 25 Apr 2019 01:17:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 550A389B1F for ; Thu, 25 Apr 2019 01:17:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 937D246C for ; Thu, 25 Apr 2019 01:17:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3P1HulA080679 for ; Thu, 25 Apr 2019 01:17:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3P1HuhQ080678 for ppc@FreeBSD.org; Thu, 25 Apr 2019 01:17:56 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Thu, 25 Apr 2019 01:17:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 25 Apr 2019 01:17:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #34 from Mark Millard --- (In reply to Mark Millard from comment #18) Note: I've been testing without my hack for the sleep-gets-stuck problem for some days, mostly in usefdt mode. I've finally had pmac_thermal end up stuck-sleeping during a from-scratch buildworld buildkernel on the 2-socket/1-core-each G5 PowerMac11,2 running in usefdt mode. So the improvement in mp_machdep.c for better matching the Time Base Registers across CPUs/cores/threads still is not enough to guarantee lack of some sleeps getting stuck. (Without the hack I've no recording of about how far out of order the problem times where.) (I may end up running with my hack generally.) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Thu Apr 25 01:19:15 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 D3C4C1587AA3 for ; Thu, 25 Apr 2019 01:19:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 65C3189BC3 for ; Thu, 25 Apr 2019 01:19:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2660F1587A9D; Thu, 25 Apr 2019 01:19:15 +0000 (UTC) Delivered-To: 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 1420B1587A9C for ; Thu, 25 Apr 2019 01:19:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A3F8989BC1 for ; Thu, 25 Apr 2019 01:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E02EF470 for ; Thu, 25 Apr 2019 01:19:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3P1JDPI081970 for ; Thu, 25 Apr 2019 01:19:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3P1JDL7081969 for ppc@FreeBSD.org; Thu, 25 Apr 2019 01:19:13 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Thu, 25 Apr 2019 01:19:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.description Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 25 Apr 2019 01:19:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203814|Investigatory |Investigatory description|sys/powerpc/powerpc/mp_mach |sys/powerpc/powerpc/mp_mach |dep.c patch to avoid |dep.c patch to help limit |stuck-sleeping problem |stuck-sleeping problem --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Thu Apr 25 01:33:12 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 E08C515882D6 for ; Thu, 25 Apr 2019 01:33:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 64E388A498 for ; Thu, 25 Apr 2019 01:33:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2582215882D4; Thu, 25 Apr 2019 01:33:12 +0000 (UTC) Delivered-To: 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 1420D15882D3 for ; Thu, 25 Apr 2019 01:33:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A885A8A497 for ; Thu, 25 Apr 2019 01:33:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 002D5750 for ; Thu, 25 Apr 2019 01:33:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3P1XAsV017669 for ; Thu, 25 Apr 2019 01:33:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3P1XAEm017668 for ppc@FreeBSD.org; Thu, 25 Apr 2019 01:33:10 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: ppc@FreeBSD.org Subject: [Bug 233863] r345425 on PowerMac G5 may require kern.smp.disabled=1 and must set usefdt=1 which causes net interface reorder Date: Thu, 25 Apr 2019 01:33:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 25 Apr 2019 01:33:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 --- Comment #35 from Mark Millard --- (In reply to Mark Millard from comment #34) Dumb typo in comment #34: it should have said there were 2 cores per socket on the machine were I saw the stuck-sleeping problem for pmac_thermal . . . 2-socket/2-core-each G5 PowerMac11,2 running in usefdt mode --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 01:41:28 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 A968915843F0 for ; Fri, 26 Apr 2019 01:41:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BBF174CD9 for ; Fri, 26 Apr 2019 01:41:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 4057F1E81F; Fri, 26 Apr 2019 01:41:28 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 3DBF51E81E for ; Fri, 26 Apr 2019 01:41:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1A8374CD7 for ; Fri, 26 Apr 2019 01:41:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 26C67DA8B for ; Fri, 26 Apr 2019 01:41:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3Q1fRCk054459 for ; Fri, 26 Apr 2019 01:41:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3Q1fRZg054441 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 01:41:27 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 01:41:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hamiltcl@verizon.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 4BBF174CD9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 01:41:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #6 from Curtis Hamilton --- I'll submit a pull request.=20=20 However, the GitHub repo seems to be missing "src/jdk.hotspot.agent/bsd/native/libsaproc" directory and files. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 02:08:51 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 ABBBB1584AD8 for ; Fri, 26 Apr 2019 02:08:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 509DC757F3 for ; Fri, 26 Apr 2019 02:08:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 439811EC87; Fri, 26 Apr 2019 02:08:51 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 3F3A01EC86 for ; Fri, 26 Apr 2019 02:08:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA554757F1 for ; Fri, 26 Apr 2019 02:08:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 14EC4DEAF for ; Fri, 26 Apr 2019 02:08:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3Q28nKQ007044 for ; Fri, 26 Apr 2019 02:08:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3Q28n2A007043 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 02:08:49 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 02:08:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: glewis@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 509DC757F3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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, 26 Apr 2019 02:08:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #7 from Greg Lewis --- Thanks. Please check the bsd-port branch. That has all the changes for *B= SD.=20 The master branch just tracks the upstream master. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 02:09:25 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 1E3A41584B36 for ; Fri, 26 Apr 2019 02:09:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BAF957584D for ; Fri, 26 Apr 2019 02:09:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id AEEF21ECB6; Fri, 26 Apr 2019 02:09:24 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id AB1511ECB5 for ; Fri, 26 Apr 2019 02:09:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73DDB7584B for ; Fri, 26 Apr 2019 02:09:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B3A85DEB7 for ; Fri, 26 Apr 2019 02:09:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3Q29Nbl007629 for ; Fri, 26 Apr 2019 02:09:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3Q29NDe007628 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 02:09:23 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 02:09:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: glewis@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: BAF957584D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 02:09:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #8 from Greg Lewis --- Which is to say that you'll find that directory if you switch to the bsd-po= rt branch. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 03:19:10 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 09BD71586868 for ; Fri, 26 Apr 2019 03:19:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1E4780058 for ; Fri, 26 Apr 2019 03:19:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 95730111; Fri, 26 Apr 2019 03:19:09 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 91DC2110 for ; Fri, 26 Apr 2019 03:19:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B81480055 for ; Fri, 26 Apr 2019 03:19:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9D9F9E8F4 for ; Fri, 26 Apr 2019 03:19:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3Q3J8rT048987 for ; Fri, 26 Apr 2019 03:19:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3Q3J8XI048978 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 03:19:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 237208] java/openjdk11: port to powerpc64 Date: Fri, 26 Apr 2019 03:19:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: A1E4780058 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 03:19:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208 --- Comment #15 from commit-hook@freebsd.org --- A commit references this bug: Author: jhibbits Date: Fri Apr 26 03:18:50 UTC 2019 New revision: 346730 URL: https://svnweb.freebsd.org/changeset/base/346730 Log: powerpc64: Clear FSCR SPR, so that it's in a known state This now turns any access to the DSCR SPR into a SIGILL. Later commits w= ill make DCSR work correctly on POWER8 and POWER9. PR: 237208 Changes: head/sys/powerpc/aim/mp_cpudep.c head/sys/powerpc/powerpc/cpu.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 06:44:19 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 2DC08158AEC9 for ; Fri, 26 Apr 2019 06:44:19 +0000 (UTC) (envelope-from aik@ozlabs.ru) Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (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 9730485C2F for ; Fri, 26 Apr 2019 06:44:17 +0000 (UTC) (envelope-from aik@ozlabs.ru) Received: by mail-pl1-x644.google.com with SMTP id b3so1056136plr.7 for ; Thu, 25 Apr 2019 23:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ozlabs-ru.20150623.gappssmtp.com; s=20150623; h=subject:from:to:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WjSaUZ58C9ZzGn0ADcJdWzZxdQylvWQZQCiqeM48kSM=; b=uJBnNtzY5/qpoqWrIIHVVEEid2pvYz4osfQlReYxJX16O9yAp0W5zejsAsr+NrGBqH Mja9wNHUbeRJA4sqL97n6FNYRvw6Lza76EHBpLD56q/OTJTpCzjIQLM8zNkfXP4SXvgV WnfMnQvClPFoLK7t39Eu8ilnv29vQw6QOnHzFMsJHp2MaVI9nVlT5TcY7ChRITOqxoMg 4apY8Idq3tcF6zoeL91Ld9ZufA3kjxMaVI77HNiz/NYpNNdoGA0Nf/b2uGf87HoIV/J4 dclMxjpjUflGElB3BP5Prdv9A5Q5ohBR6l/8XRQYIPZMkZ338J/CAjlH+8jmEqpcis32 RNOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=WjSaUZ58C9ZzGn0ADcJdWzZxdQylvWQZQCiqeM48kSM=; b=JmYpoJ49fld+jxtzBgzvr8aBR0msRyc6tS22YMtDcWGm1v5nHkCae8duYWAs+Ts1g/ V9whv+Xc7Do1j3bhyQ30yuJ+z13On8ZOC/gEARF09klbZD7skV0mWHrt+k472m7rCxH0 587FbzYT0HEgCMv6yRAl4k/uU9V7JMqF/x2+wBrWlsmSmw/JQTHtPkNd1PaAUXNro5H0 gIiLT02U1BXYY2MKJMTsJN2I4foia3iXRz9V2SgGswrKqlx39/0uo+9qoJCz5kbOvl8N r4Yjjh8lAgnIejXoctq0lFZx0+uj2iBNDjsBPPeMjkIGZkf7z8dQaJubaFeuFnRuW/92 zgpQ== X-Gm-Message-State: APjAAAWZOhglT7iix5xzOXWeVdVJzatPZ40IRmP4YuRpcaXUYtXA5Gi9 cMmhIT2Y5O6wTrbuCztpqRQOJAFu5GX4Yw== X-Google-Smtp-Source: APXvYqw+5LtycEbnL8x1p9y6gV1Dx2V0R5aPtF4R83xQGiCN+OSwJV7s5DBhaoYuzJLkmsjzfnm2MQ== X-Received: by 2002:a17:902:f204:: with SMTP id gn4mr26946504plb.318.1556261055477; Thu, 25 Apr 2019 23:44:15 -0700 (PDT) Received: from [10.61.2.175] ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id n65sm42169944pga.92.2019.04.25.23.44.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 23:44:14 -0700 (PDT) Subject: Re: Fail to boot FreeBSD12 or 13 on POWER9 under PowerKVM From: Alexey Kardashevskiy To: freebsd-ppc@freebsd.org References: Openpgp: preference=signencrypt Autocrypt: addr=aik@ozlabs.ru; keydata= mQINBE+rT0sBEADFEI2UtPRsLLvnRf+tI9nA8T91+jDK3NLkqV+2DKHkTGPP5qzDZpRSH6mD EePO1JqpVuIow/wGud9xaPA5uvuVgRS1q7RU8otD+7VLDFzPRiRE4Jfr2CW89Ox6BF+q5ZPV /pS4v4G9eOrw1v09lEKHB9WtiBVhhxKK1LnUjPEH3ifkOkgW7jFfoYgTdtB3XaXVgYnNPDFo PTBYsJy+wr89XfyHr2Ev7BB3Xaf7qICXdBF8MEVY8t/UFsesg4wFWOuzCfqxFmKEaPDZlTuR tfLAeVpslNfWCi5ybPlowLx6KJqOsI9R2a9o4qRXWGP7IwiMRAC3iiPyk9cknt8ee6EUIxI6 t847eFaVKI/6WcxhszI0R6Cj+N4y+1rHfkGWYWupCiHwj9DjILW9iEAncVgQmkNPpUsZECLT WQzMuVSxjuXW4nJ6f4OFHqL2dU//qR+BM/eJ0TT3OnfLcPqfucGxubhT7n/CXUxEy+mvWwnm s9p4uqVpTfEuzQ0/bE6t7dZdPBua7eYox1AQnk8JQDwC3Rn9kZq2O7u5KuJP5MfludMmQevm pHYEMF4vZuIpWcOrrSctJfIIEyhDoDmR34bCXAZfNJ4p4H6TPqPh671uMQV82CfTxTrMhGFq 8WYU2AH86FrVQfWoH09z1WqhlOm/KZhAV5FndwVjQJs1MRXD8QARAQABtCRBbGV4ZXkgS2Fy ZGFzaGV2c2tpeSA8YWlrQG96bGFicy5ydT6JAjgEEwECACIFAk+rT0sCGwMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJEIYTPdgrwSC5fAIP/0wf/oSYaCq9PhO0UP9zLSEz66SSZUf7 AM9O1rau1lJpT8RoNa0hXFXIVbqPPKPZgorQV8SVmYRLr0oSmPnTiZC82x2dJGOR8x4E01gK TanY53J/Z6+CpYykqcIpOlGsytUTBA+AFOpdaFxnJ9a8p2wA586fhCZHVpV7W6EtUPH1SFTQ q5xvBmr3KkWGjz1FSLH4FeB70zP6uyuf/B2KPmdlPkyuoafl2UrU8LBADi/efc53PZUAREih sm3ch4AxaL4QIWOmlE93S+9nHZSRo9jgGXB1LzAiMRII3/2Leg7O4hBHZ9Nki8/fbDo5///+ kD4L7UNbSUM/ACWHhd4m1zkzTbyRzvL8NAVQ3rckLOmju7Eu9whiPueGMi5sihy9VQKHmEOx OMEhxLRQbzj4ypRLS9a+oxk1BMMu9cd/TccNy0uwx2UUjDQw/cXw2rRWTRCxoKmUsQ+eNWEd iYLW6TCfl9CfHlT6A7Zmeqx2DCeFafqEd69DqR9A8W5rx6LQcl0iOlkNqJxxbbW3ddDsLU/Y r4cY20++WwOhSNghhtrroP+gouTOIrNE/tvG16jHs8nrYBZuc02nfX1/gd8eguNfVX/ZTHiR gHBWe40xBKwBEK2UeqSpeVTohYWGBkcd64naGtK9qHdo1zY1P55lHEc5Uhlk743PgAnOi27Q ns5zuQINBE+rT0sBEACnV6GBSm+25ACT+XAE0t6HHAwDy+UKfPNaQBNTTt31GIk5aXb2Kl/p AgwZhQFEjZwDbl9D/f2GtmUHWKcCmWsYd5M/6Ljnbp0Ti5/xi6FyfqnO+G/wD2VhGcKBId1X Em/B5y1kZVbzcGVjgD3HiRTqE63UPld45bgK2XVbi2+x8lFvzuFq56E3ZsJZ+WrXpArQXib2 hzNFwQleq/KLBDOqTT7H+NpjPFR09Qzfa7wIU6pMNF2uFg5ihb+KatxgRDHg70+BzQfa6PPA o1xioKXW1eHeRGMmULM0Eweuvpc7/STD3K7EJ5bBq8svoXKuRxoWRkAp9Ll65KTUXgfS+c0x gkzJAn8aTG0z/oEJCKPJ08CtYQ5j7AgWJBIqG+PpYrEkhjzSn+DZ5Yl8r+JnZ2cJlYsUHAB9 jwBnWmLCR3gfop65q84zLXRQKWkASRhBp4JK3IS2Zz7Nd/Sqsowwh8x+3/IUxVEIMaVoUaxk Wt8kx40h3VrnLTFRQwQChm/TBtXqVFIuv7/Mhvvcq11xnzKjm2FCnTvCh6T2wJw3de6kYjCO 7wsaQ2y3i1Gkad45S0hzag/AuhQJbieowKecuI7WSeV8AOFVHmgfhKti8t4Ff758Z0tw5Fpc BFDngh6Lty9yR/fKrbkkp6ux1gJ2QncwK1v5kFks82Cgj+DSXK6GUQARAQABiQIfBBgBAgAJ BQJPq09LAhsMAAoJEIYTPdgrwSC5NYEP/2DmcEa7K9A+BT2+G5GXaaiFa098DeDrnjmRvumJ BhA1UdZRdfqICBADmKHlJjj2xYo387sZpS6ABbhrFxM6s37g/pGPvFUFn49C47SqkoGcbeDz Ha7JHyYUC+Tz1dpB8EQDh5xHMXj7t59mRDgsZ2uVBKtXj2ZkbizSHlyoeCfs1gZKQgQE8Ffc F8eWKoqAQtn3j4nE3RXbxzTJJfExjFB53vy2wV48fUBdyoXKwE85fiPglQ8bU++0XdOr9oyy j1llZlB9t3tKVv401JAdX8EN0++ETiOovQdzE1m+6ioDCtKEx84ObZJM0yGSEGEanrWjiwsa nzeK0pJQM9EwoEYi8TBGhHC9ksaAAQipSH7F2OHSYIlYtd91QoiemgclZcSgrxKSJhyFhmLr QEiEILTKn/pqJfhHU/7R7UtlDAmFMUp7ByywB4JLcyD10lTmrEJ0iyRRTVfDrfVP82aMBXgF tKQaCxcmLCaEtrSrYGzd1sSPwJne9ssfq0SE/LM1J7VdCjm6OWV33SwKrfd6rOtvOzgadrG6 3bgUVBw+bsXhWDd8tvuCXmdY4bnUblxF2B6GOwSY43v6suugBttIyW5Bl2tXSTwP+zQisOJo +dpVG2pRr39h+buHB3NY83NEPXm1kUOhduJUA17XUY6QQCAaN4sdwPqHq938S3EmtVhsuQIN BFq54uIBEACtPWrRdrvqfwQF+KMieDAMGdWKGSYSfoEGGJ+iNR8v255IyCMkty+yaHafvzpl PFtBQ/D7Fjv+PoHdFq1BnNTk8u2ngfbre9wd9MvTDsyP/TmpF0wyyTXhhtYvE267Av4X/BQT lT9IXKyAf1fP4BGYdTNgQZmAjrRsVUW0j6gFDrN0rq2J9emkGIPvt9rQt6xGzrd6aXonbg5V j6Uac1F42ESOZkIh5cN6cgnGdqAQb8CgLK92Yc8eiCVCH3cGowtzQ2m6U32qf30cBWmzfSH0 HeYmTP9+5L8qSTA9s3z0228vlaY0cFGcXjdodBeVbhqQYseMF9FXiEyRs28uHAJEyvVZwI49 CnAgVV/n1eZa5qOBpBL+ZSURm8Ii0vgfvGSijPGbvc32UAeAmBWISm7QOmc6sWa1tobCiVmY SNzj5MCNk8z4cddoKIc7Wt197+X/X5JPUF5nQRvg3SEHvfjkS4uEst9GwQBpsbQYH9MYWq2P PdxZ+xQE6v7cNB/pGGyXqKjYCm6v70JOzJFmheuUq0Ljnfhfs15DmZaLCGSMC0Amr+rtefpA y9FO5KaARgdhVjP2svc1F9KmTUGinSfuFm3quadGcQbJw+lJNYIfM7PMS9fftq6vCUBoGu3L j4xlgA/uQl/LPneu9mcvit8JqcWGS3fO+YeagUOon1TRqQARAQABiQRsBBgBCAAgFiEEZSrP ibrORRTHQ99dhhM92CvBILkFAlq54uICGwICQAkQhhM92CvBILnBdCAEGQEIAB0WIQQIhvWx rCU+BGX+nH3N7sq0YorTbQUCWrni4gAKCRDN7sq0YorTbVVSD/9V1xkVFyUCZfWlRuryBRZm S4GVaNtiV2nfUfcThQBfF0sSW/aFkLP6y+35wlOGJE65Riw1C2Ca9WQYk0xKvcZrmuYkK3DZ 0M9/Ikkj5/2v0vxz5Z5w/9+IaCrnk7pTnHZuZqOh23NeVZGBls/IDIvvLEjpD5UYicH0wxv+ X6cl1RoP2Kiyvenf0cS73O22qSEw0Qb9SId8wh0+ClWet2E7hkjWFkQfgJ3hujR/JtwDT/8h 3oCZFR0KuMPHRDsCepaqb/k7VSGTLBjVDOmr6/C9FHSjq0WrVB9LGOkdnr/xcISDZcMIpbRm EkIQ91LkT/HYIImL33ynPB0SmA+1TyMgOMZ4bakFCEn1vxB8Ir8qx5O0lHMOiWMJAp/PAZB2 r4XSSHNlXUaWUg1w3SG2CQKMFX7vzA31ZeEiWO8tj/c2ZjQmYjTLlfDK04WpOy1vTeP45LG2 wwtMA1pKvQ9UdbYbovz92oyZXHq81+k5Fj/YA1y2PI4MdHO4QobzgREoPGDkn6QlbJUBf4To pEbIGgW5LRPLuFlOPWHmIS/sdXDrllPc29aX2P7zdD/ivHABslHmt7vN3QY+hG0xgsCO1JG5 pLORF2N5XpM95zxkZqvYfC5tS/qhKyMcn1kC0fcRySVVeR3tUkU8/caCqxOqeMe2B6yTiU1P aNDq25qYFLeYxg67D/4w/P6BvNxNxk8hx6oQ10TOlnmeWp1q0cuutccblU3ryRFLDJSngTEu ZgnOt5dUFuOZxmMkqXGPHP1iOb+YDznHmC0FYZFG2KAc9pO0WuO7uT70lL6larTQrEneTDxQ CMQLP3qAJ/2aBH6SzHIQ7sfbsxy/63jAiHiT3cOaxAKsWkoV2HQpnmPOJ9u02TPjYmdpeIfa X2tXyeBixa3i/6dWJ4nIp3vGQicQkut1YBwR7dJq67/FCV3Mlj94jI0myHT5PIrCS2S8LtWX ikTJSxWUKmh7OP5mrqhwNe0ezgGiWxxvyNwThOHc5JvpzJLd32VDFilbxgu4Hhnf6LcgZJ2c Zd44XWqUu7FzVOYaSgIvTP0hNrBYm/E6M7yrLbs3JY74fGzPWGRbBUHTZXQEqQnZglXaVB5V ZhSFtHopZnBSCUSNDbB+QGy4B/E++Bb02IBTGl/JxmOwG+kZUnymsPvTtnNIeTLHxN/H/ae0 c7E5M+/NpslPCmYnDjs5qg0/3ihh6XuOGggZQOqrYPC3PnsNs3NxirwOkVPQgO6mXxpuifvJ DG9EMkK8IBXnLulqVk54kf7fE0jT/d8RTtJIA92GzsgdK2rpT1MBKKVffjRFGwN7nQVOzi4T XrB5p+6ML7Bd84xOEGsj/vdaXmz1esuH7BOZAGEZfLRCHJ0GVCSssg== Message-ID: <73694578-8e90-47d0-c4a3-d4e616854f30@ozlabs.ru> Date: Fri, 26 Apr 2019 16:44:11 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 9730485C2F X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ozlabs-ru.20150623.gappssmtp.com header.s=20150623 header.b=uJBnNtzY; spf=pass (mx1.freebsd.org: domain of aik@ozlabs.ru designates 2607:f8b0:4864:20::644 as permitted sender) smtp.mailfrom=aik@ozlabs.ru X-Spamd-Result: default: False [-4.29 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[ozlabs-ru.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[ozlabs.ru]; DKIM_TRACE(0.00)[ozlabs-ru.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx3.googlemail.com,alt2.aspmx.l.google.com,aspmx2.googlemail.com]; RCVD_IN_DNSWL_NONE(0.00)[4.4.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; IP_SCORE(-0.81)[ip: (1.41), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.25), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[] 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, 26 Apr 2019 06:44:19 -0000 Ping, anyone? Thanks! On 05/04/2019 15:07, Alexey Kardashevskiy wrote: > Hi! > > I am trying a freebsd guest on a POWER9 (pvr=004e1201) host with > linux+kvm (5.1.0-rc2) and qemu (upstream, 4.0) and something goes wrong > - it crashes as (the full output is below): > > ===== > run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config > random: unblocking device. > panic: run_interrupt_driven_config_hooks: waited too long > cpuid = 0 > time = 361 > KDB: stack backtrace: > 0xe000000000008660: at .kdb_backtrace+0x5c > 0xe000000000008790: at .vpanic+0x1b4 > 0xe000000000008850: at .panic+0x38 > 0xe0000000000088e0: at .boot_run_interrupt_driven_config_hooks+0x194 > 0xe0000000000089e0: at .mi_startup+0x1f8 > 0xe000000000008a80: at btext+0xc4 > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 > db> > ===== > > > The systems were installed from: > FreeBSD-12.0-RELEASE-powerpc-powerpc64-dvd1.iso > FreeBSD-13.0-CURRENT-powerpc-powerpc64-20190307-r344854-disc1.iso > > Everything by default (vt100 terminal, etc), IBM vio-scsi disk and > cdrom, 8GB RAM, 16MB backing huge pages, the host is running in the hash > (HPT) mode. > > However the exact same disk images + qemu/slof binary + qemu command > line + linux kernel do boot on POWER8E (pvr=004b0201) and POWER8NVL > (pvr=004c0100) to the login prompt. > > > I told QEMU to enforce XICS interrupt controller mode, POWER8 > compatibility (although it does not make sense as FreeBSD does not do > "client-architecture-support" RTAS call), what else can I try? > > > While at it, FreeBSD is aware of 004b0201 and 004e1201 but it fails to > recognize 004c0100 (the FreeBSD guest still boots just fine): > > cpu0: Unknown PowerPC CPU revision 0x0100, 3259.00 MHz > cpu0: Features c4000000 > > but in fact architecturally it behaves exactly as IBMPOWER8 (004bxxxx or > 004d0000). > > > > build/qemu-aikrhel74alt-ppc64/ppc64-softmmu/qemu-system-ppc64 \ > -nodefaults \ > -chardev stdio,id=STDIO0,signal=off,mux=on \ > -device spapr-vty,id=svty0,reg=0x71000110,chardev=STDIO0 \ > -mon id=MON0,chardev=STDIO0,mode=readline -nographic -vga none \ > img/freebsd12-64G.qcow2 -enable-kvm \ > -smp 1 -mem-prealloc -mem-path qemu_hp_16M_node0 -m 8G \ > -machine \ > pseries,cap-hpt-max-page-size=16M,cap-cfpc=broken,max-cpu-compat=power8,ic-mode=xics > \ > -snapshot -bios ./slof.bin \ > -L /home/aik/t/qemu-ppc64-bios/ \ > -trace events=qemu_trace_events -d guest_errors \ > -chardev socket,id=SOCKET0,server,nowait,path=qemu.mon.8324 \ > -mon chardev=SOCKET0,mode=control > > > SLOF ********************************************************************** > QEMU Starting > Build Date = Apr 5 2019 13:01:51 > FW Version = git-a5b428e1c1eae703 > Press "s" to enter Open Firmware. > > Populating /vdevice methods > Populating /vdevice/nvram@71000000 > Populating /vdevice/v-scsi@71000001 > SCSI: Looking for devices > 8000000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" > Populating /vdevice/vty@71000110 > Populating /pci@800000020000000 > No NVRAM common partition, re-initializing... > Scanning USB > Using default console: /vdevice/vty@71000110 > > Welcome to Open Firmware > > Copyright (c) 2004, 2017 IBM Corporation All rights reserved. > This program and the accompanying materials are made available > under the terms of the BSD License available at > http://www.opensource.org/licenses/bsd-license.php > > > Trying to load: from: /vdevice/v-scsi@71000001/disk@8000000000000000 ... > Successfully loaded > >>> FreeBSD/powerpc Open Firmware boot block > Boot path: /vdevice/v-scsi@71000001/disk@8000000000000000 > Boot loader: /boot/loader > Boot volume: /vdevice/v-scsi@71000001/disk@8000000000000000:2 > Consoles: Open Firmware console > > FreeBSD/powerpc64 Open Firmware loader, Revision 0.1 > Memory: 8388608KB > Booted from: /vdevice/v-scsi@71000001/disk@8000000000000000 > > Loading /boot/defaults/loader.conf > /boot/kernel/kernel data=0x136c550+0x4aa1f0 syms=[0x8+0x165c78+0x8+0x1643cb] > /boot/entropy size=0x1000 > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Kernel entry at 0x1025d0 ... > ---<>--- > Copyright (c) 1992-2018 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.0-RELEASE r341666 GENERIC powerpc > gcc version 4.2.1 20070831 patched [FreeBSD] > VT: init without driver. > cpu0: IBM POWER9 revision 2.1, 2250.00 MHz > cpu0: Features > dc007182 > cpu0: Features2 > eee00000 > real memory = 8544436224 (8148 MB) > avail memory = 8258940928 (7876 MB) > random: unblocking device. > random: entropy device external interface > kbd0 at kbdmux0 > random: registering fast source PowerISA DARN random number generator > random: fast provider: "PowerISA DARN random number generator" > ofwbus0: on nexus0 > xicp0: on ofwbus0 > xicp0: Handling CPUs 0-7 > vdevice0: on ofwbus0 > uart0: irq 16781585 on vdevice0 > vscsi0: irq 16781570 on vdevice0 > vscsi0: Queue depth 22 commands > pcib0: on ofwbus0 > pci0: on pcib0 > cpulist0: on ofwbus0 > cpu0: on cpulist0 > rtas0: on ofwbus0 > rtas0: registered as a time-of-day clock, resolution 0.002000s > Timecounter "timebase" frequency 512000000 Hz quality 0 > Event timer "decrementer" frequency 512000000 Hz quality 1000 > Timecounters tick every 1.000 msec > usb_needs_explore_all: no devclass > run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config > run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config > run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config > run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config > run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config > random: unblocking device. > panic: run_interrupt_driven_config_hooks: waited too long > cpuid = 0 > time = 361 > KDB: stack backtrace: > 0xe000000000008660: at .kdb_backtrace+0x5c > 0xe000000000008790: at .vpanic+0x1b4 > 0xe000000000008850: at .panic+0x38 > 0xe0000000000088e0: at .boot_run_interrupt_driven_config_hooks+0x194 > 0xe0000000000089e0: at .mi_startup+0x1f8 > 0xe000000000008a80: at btext+0xc4 > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 > db> > > > -- Alexey From owner-freebsd-ppc@freebsd.org Fri Apr 26 13:00:10 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 008CD15939DC for ; Fri, 26 Apr 2019 13:00:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE7DD6B971 for ; Fri, 26 Apr 2019 13:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 6EC166985; Fri, 26 Apr 2019 13:00:09 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 57CC46983 for ; Fri, 26 Apr 2019 13:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BAF56B96B for ; Fri, 26 Apr 2019 13:00:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CB46713C66 for ; Fri, 26 Apr 2019 13:00:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3QD07rI043417 for ; Fri, 26 Apr 2019 13:00:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3QD07Tw043416 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 13:00:07 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 13:00:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hamiltcl@verizon.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: BE7DD6B971 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 13:00:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #9 from Curtis Hamilton --- Greg, maybe I'm looking in the wrong place (http://hg.openjdk.java.net/bsd-port), but I don't see jdk11 nor jdk12.=20= =20 Nor do I see the bsd files in http://hg.openjdk.java.net/jdk-updates Perhaps you can point me to the correct repo. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 13:01:51 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 CD56C1593B62 for ; Fri, 26 Apr 2019 13:01:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 745D96BE60 for ; Fri, 26 Apr 2019 13:01:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 2DE606BFD; Fri, 26 Apr 2019 13:01:51 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 215E06BFC for ; Fri, 26 Apr 2019 13:01:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAC646BE49 for ; Fri, 26 Apr 2019 13:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1F7E113DC1 for ; Fri, 26 Apr 2019 13:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3QD1mFd049243 for ; Fri, 26 Apr 2019 13:01:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3QD1mND049242 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 13:01:48 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 13:01:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mikael.urankar@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 745D96BE60 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 13:01:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 mikael.urankar@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael.urankar@gmail.com --- Comment #10 from mikael.urankar@gmail.com --- it's here https://github.com/battleblow/openjdk-jdk12u git clone -b bsd-port https://github.com/battleblow/openjdk-jdk12u.git --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 14:00:28 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 2A904159500B for ; Fri, 26 Apr 2019 14:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C22856DE98 for ; Fri, 26 Apr 2019 14:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id ACD427A3C; Fri, 26 Apr 2019 14:00:27 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 9C2267A3B for ; Fri, 26 Apr 2019 14:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DAC86DE96 for ; Fri, 26 Apr 2019 14:00:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 38D97144F4 for ; Fri, 26 Apr 2019 14:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3QE0Qgq069174 for ; Fri, 26 Apr 2019 14:00:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3QE0QIq069173 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 14:00:26 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 14:00:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hamiltcl@verizon.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: C22856DE98 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 14:00:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #11 from Curtis Hamilton --- Pull request submitted. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 14:48:26 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 E0BB115960F6 for ; Fri, 26 Apr 2019 14:48:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 878416FBAA for ; Fri, 26 Apr 2019 14:48:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 782A1878A; Fri, 26 Apr 2019 14:48:25 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 740338789 for ; Fri, 26 Apr 2019 14:48:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 375B66FBA8 for ; Fri, 26 Apr 2019 14:48:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8036914C0E for ; Fri, 26 Apr 2019 14:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3QEmOwT066852 for ; Fri, 26 Apr 2019 14:48:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3QEmOQ8066851 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 14:48:24 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 14:48:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gustavo.romero@protonmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 878416FBAA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 14:48:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #12 from Gustavo Romero --- Hi, Curtis, I believe Greg e Mikael are talking only about OpenJDK code in Free= BSD port github (downstream) whilst I'm talking about the OpenJDK Mercurial rep= o in openjdk.java.net in fact (upstream) and trying to understand if you are planning to contribute the patcheset to that upstream OpenJDK repo (bsd por= t in Hg openjdk.java.net). It looks like that the OpenJDK PPC64 BSD port effort/discussions upstream g= ot stuck as per bsd port ML [0] (looks only a bunch of advertisement for last non-related pushes to jdk8u) and from what I remember from the last discuss= ions more than a year ago on ppc-aix-port ML [1]. Hence I'm wondering what's your current understanding about it/plans, Curtis :) Thank you. [0] https://mail.openjdk.java.net/pipermail/bsd-port-dev/ [1] https://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/2016-December/0028= 47.html --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 16:17:05 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 A74001597B84 for ; Fri, 26 Apr 2019 16:17:05 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it1-x141.google.com (mail-it1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (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 38EEE72CCD for ; Fri, 26 Apr 2019 16:17:04 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it1-x141.google.com with SMTP id w15so6669462itc.0 for ; Fri, 26 Apr 2019 09:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2Xw2dFwllZB6sfC+MYQQ90FGNgPhBjM06Sf4aBWvQ6c=; b=Vi6nXsAEwCN3JQZLuKJlVRBKOARqDt4/H5E8jLSybOkvD7UGDv6fPz/igwiKTncXeq YG1TEc1MFA3hfnZWEv3nxDWveGYW8jVUcX+1eL7ilCQoumwTjDWPUk4wUKF74zWRGLQz 5Iiu5K1NrpX8Hs6KU5QVIexljO7YJLsctfGGpgPSdoBjJE3524OeoCjbux7JOdldFhWV qxDjOUB7mdoFciogrFilWHiYmYs6NDiBibj43h1bJiBACsz3C3lOp+TS/da0mxJM20/Q +zazkEMLR9ReqlxRLXvR6tytCk0WpEuRBI/3Ask1mvNufrdeeZInzfHqDOTbICN1rgvp at5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2Xw2dFwllZB6sfC+MYQQ90FGNgPhBjM06Sf4aBWvQ6c=; b=Gzj+bmbaTUIkOPGyDthKhsLqXTR6TbjA+1D8js2yU4Jsz8UPnjwA4kHYt5A0gzeO8I wXEK/pax/172GMzIiXV4A0fDW371P+7kvhJ5kcl7igrqUNkwvdCTD4zaRDrEepVoKzX4 YOXWvRsEaOaDgLFMxbEnt5n/w34b00Gxm2TfoCfXNa1Hm+BreWvXTuQFDN1p0iAI6GMq dQSydFke026qV3tOEdaBdUd8R630BcP0Yqb/rjTz0++EsoVq1gdP+6d5Snghx7/rslma 8cnyB4jdbrlOF1lNRwujFD4oef4n+QHHRMqnXws+jjMYC5Bbc3cZIvbyVvDbAKKdE+N+ 029A== X-Gm-Message-State: APjAAAVyH7QOo5tVJUc6O5fBZw1Ymln11EK43aU6iXcAo9Uk10Zg4SJs SS3PuiHRLAdu7G2c3KYSXtJE2gj5 X-Google-Smtp-Source: APXvYqw7mPFslX00lXHWXULCn1rsU+g4naENojpdOZKVra42FWWY0/A2T4JI2FEeKwOtxRb/Mqd+tQ== X-Received: by 2002:a24:cf41:: with SMTP id y62mr9174010itf.106.1556295423384; Fri, 26 Apr 2019 09:17:03 -0700 (PDT) Received: from titan.knownspace (173-25-245-129.client.mchsi.com. [173.25.245.129]) by smtp.gmail.com with ESMTPSA id 130sm4553680itl.14.2019.04.26.09.17.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2019 09:17:02 -0700 (PDT) Date: Fri, 26 Apr 2019 11:16:59 -0500 From: Justin Hibbits To: Alexey Kardashevskiy Cc: freebsd-ppc@freebsd.org Subject: Re: Fail to boot FreeBSD12 or 13 on POWER9 under PowerKVM Message-ID: <20190426111659.61c4a447@titan.knownspace> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 38EEE72CCD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Vi6nXsAE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::141 as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-4.72 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.92)[-0.925,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.79)[ip: (1.54), ipnet: 2607:f8b0::/32(-3.16), asn: 15169(-2.26), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] 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, 26 Apr 2019 16:17:06 -0000 Hi Alexey, On Fri, 5 Apr 2019 15:07:58 +1100 Alexey Kardashevskiy wrote: > Hi! > > I am trying a freebsd guest on a POWER9 (pvr=004e1201) host with > linux+kvm (5.1.0-rc2) and qemu (upstream, 4.0) and something goes > wrong > - it crashes as (the full output is below): > > ===== > run_interrupt_driven_hooks: still waiting after 300 seconds for > xpt_config random: unblocking device. > panic: run_interrupt_driven_config_hooks: waited too long > cpuid = 0 > time = 361 > KDB: stack backtrace: > 0xe000000000008660: at .kdb_backtrace+0x5c > 0xe000000000008790: at .vpanic+0x1b4 > 0xe000000000008850: at .panic+0x38 > 0xe0000000000088e0: at .boot_run_interrupt_driven_config_hooks+0x194 > 0xe0000000000089e0: at .mi_startup+0x1f8 > 0xe000000000008a80: at btext+0xc4 > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 > db> > ===== > > > The systems were installed from: > FreeBSD-12.0-RELEASE-powerpc-powerpc64-dvd1.iso > FreeBSD-13.0-CURRENT-powerpc-powerpc64-20190307-r344854-disc1.iso > > Everything by default (vt100 terminal, etc), IBM vio-scsi disk and > cdrom, 8GB RAM, 16MB backing huge pages, the host is running in the > hash (HPT) mode. > > However the exact same disk images + qemu/slof binary + qemu command > line + linux kernel do boot on POWER8E (pvr=004b0201) and POWER8NVL > (pvr=004c0100) to the login prompt. > > > I told QEMU to enforce XICS interrupt controller mode, POWER8 > compatibility (although it does not make sense as FreeBSD does not do > "client-architecture-support" RTAS call), what else can I try? That seems pretty bizarre. Is the peripheral list on the working and non-working the same? > > > While at it, FreeBSD is aware of 004b0201 and 004e1201 but it fails to > recognize 004c0100 (the FreeBSD guest still boots just fine): > > cpu0: Unknown PowerPC CPU revision 0x0100, 3259.00 MHz > cpu0: Features c4000000 > > but in fact architecturally it behaves exactly as IBMPOWER8 (004bxxxx > or 004d0000). This just needs another entry in the CPU table. I can add that tonight. It's not entirely cosmetic, because we do make certain decisions and set capabilities based on the CPU found. > > > > build/qemu-aikrhel74alt-ppc64/ppc64-softmmu/qemu-system-ppc64 \ > -nodefaults \ > -chardev stdio,id=STDIO0,signal=off,mux=on \ > -device spapr-vty,id=svty0,reg=0x71000110,chardev=STDIO0 \ > -mon id=MON0,chardev=STDIO0,mode=readline -nographic -vga none \ > img/freebsd12-64G.qcow2 -enable-kvm \ > -smp 1 -mem-prealloc -mem-path qemu_hp_16M_node0 -m 8G \ > -machine \ > pseries,cap-hpt-max-page-size=16M,cap-cfpc=broken,max-cpu-compat=power8,ic-mode=xics > \ > -snapshot -bios ./slof.bin \ > -L /home/aik/t/qemu-ppc64-bios/ \ > -trace events=qemu_trace_events -d guest_errors \ > -chardev socket,id=SOCKET0,server,nowait,path=qemu.mon.8324 \ > -mon chardev=SOCKET0,mode=control > > > SLOF > ********************************************************************** > QEMU Starting Build Date = Apr 5 2019 13:01:51 > FW Version = git-a5b428e1c1eae703 > Press "s" to enter Open Firmware. > > Populating /vdevice methods > Populating /vdevice/nvram@71000000 > Populating /vdevice/v-scsi@71000001 > SCSI: Looking for devices > 8000000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" > Populating /vdevice/vty@71000110 > Populating /pci@800000020000000 > No NVRAM common partition, re-initializing... > Scanning USB > Using default console: /vdevice/vty@71000110 > > Welcome to Open Firmware > > Copyright (c) 2004, 2017 IBM Corporation All rights reserved. > This program and the accompanying materials are made available > under the terms of the BSD License available at > http://www.opensource.org/licenses/bsd-license.php > > > Trying to load: > from: /vdevice/v-scsi@71000001/disk@8000000000000000 ... Successfully > loaded > > >> FreeBSD/powerpc Open Firmware boot block > Boot path: /vdevice/v-scsi@71000001/disk@8000000000000000 > Boot loader: /boot/loader > Boot volume: /vdevice/v-scsi@71000001/disk@8000000000000000:2 > Consoles: Open Firmware console > > FreeBSD/powerpc64 Open Firmware loader, Revision 0.1 > Memory: 8388608KB > Booted from: /vdevice/v-scsi@71000001/disk@8000000000000000 > > Loading /boot/defaults/loader.conf > /boot/kernel/kernel data=0x136c550+0x4aa1f0 > syms=[0x8+0x165c78+0x8+0x1643cb] /boot/entropy size=0x1000 > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Kernel entry at 0x1025d0 ... > ---<>--- > Copyright (c) 1992-2018 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.0-RELEASE r341666 GENERIC powerpc > gcc version 4.2.1 20070831 patched [FreeBSD] > VT: init without driver. > cpu0: IBM POWER9 revision 2.1, 2250.00 MHz > cpu0: Features > dc007182 > cpu0: Features2 > eee00000 > real memory = 8544436224 (8148 MB) > avail memory = 8258940928 (7876 MB) > random: unblocking device. > random: entropy device external interface > kbd0 at kbdmux0 > random: registering fast source PowerISA DARN random number generator > random: fast provider: "PowerISA DARN random number generator" > ofwbus0: on nexus0 > xicp0: on ofwbus0 > xicp0: Handling CPUs 0-7 > vdevice0: on ofwbus0 > uart0: irq 16781585 on vdevice0 > vscsi0: irq 16781570 on vdevice0 > vscsi0: Queue depth 22 commands > pcib0: on ofwbus0 > pci0: on pcib0 > cpulist0: on ofwbus0 > cpu0: on cpulist0 > rtas0: on ofwbus0 > rtas0: registered as a time-of-day clock, resolution 0.002000s > Timecounter "timebase" frequency 512000000 Hz quality 0 > Event timer "decrementer" frequency 512000000 Hz quality 1000 > Timecounters tick every 1.000 msec > usb_needs_explore_all: no devclass > run_interrupt_driven_hooks: still waiting after 60 seconds for > xpt_config run_interrupt_driven_hooks: still waiting after 120 > seconds for xpt_config run_interrupt_driven_hooks: still waiting > after 180 seconds for xpt_config run_interrupt_driven_hooks: still > waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: > still waiting after 300 seconds for xpt_config random: unblocking > device. panic: run_interrupt_driven_config_hooks: waited too long > cpuid = 0 > time = 361 > KDB: stack backtrace: > 0xe000000000008660: at .kdb_backtrace+0x5c > 0xe000000000008790: at .vpanic+0x1b4 > 0xe000000000008850: at .panic+0x38 > 0xe0000000000088e0: at .boot_run_interrupt_driven_config_hooks+0x194 > 0xe0000000000089e0: at .mi_startup+0x1f8 > 0xe000000000008a80: at btext+0xc4 > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 > db> > > > It's possible FreeBSD is making a decision based on certain assumptions of the CPU type in the VM, but I'm not sure at all. I hope someone else might know more about the pseries FreeBSD code than I do. - Justin From owner-freebsd-ppc@freebsd.org Fri Apr 26 16:32:16 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 3271215981AE for ; Fri, 26 Apr 2019 16:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB7097374D for ; Fri, 26 Apr 2019 16:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id BD358A34E; Fri, 26 Apr 2019 16:32:15 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id B93A3A34D for ; Fri, 26 Apr 2019 16:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 67B5A7374C for ; Fri, 26 Apr 2019 16:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A8C1415B8E for ; Fri, 26 Apr 2019 16:32:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3QGWEk2005089 for ; Fri, 26 Apr 2019 16:32:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3QGWEvQ005088 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 16:32:14 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 16:32:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hamiltcl@verizon.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: CB7097374D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 16:32:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #13 from Curtis Hamilton --- (In reply to Gustavo Romero from comment #12) Understood! My initial efforts back in 2016 were to provide the patches directly to openjdk.java.net. I may have even exchanged emails with you abo= ut including my patched in the ppc-aix-port back then. However, it was recomme= nded that I provide my patches to the downstream bsd-port. So I worked with Greg= to get the initial jdk8 patches committed.=20 Greg and the maintainers of the bsd-port should decide whether to upstream = the bsd-port (patches) to openjdk.java.net. These patches alone are incomplete. Hope this helps. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 21:12:22 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 7A4C2159E85B for ; Fri, 26 Apr 2019 21:12:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-21.consmr.mail.ne1.yahoo.com (sonic315-21.consmr.mail.ne1.yahoo.com [66.163.190.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D4468747E for ; Fri, 26 Apr 2019 21:12:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: uH_IoLwVM1k1VV2PuMo_VDcxbHbrgWtfkV3ue_TKSV6SzhNrkeNd3g_wyMbgMTd A.oWY.WjSWGAH6G_7uFygfMzcm6HSMq4JDh_cgrLjRcO1Gs5X5OBFrSqytCBeN1FFAPsiDIqmF5N 6GGjnMmCJ3uRweofUyQwtKuWYIod5mQ1ev8UUXy4w0OhUfqB8QO62JcarMThuc2EiX3wGtwRLn0k gP7hT4jrRjZpnJqUc8t5tj2Rodi6LtxrGtq6QN2KAUSZ..WJK7_.G3qQXgzC3cpsqwqDhiMHBXQe kbOg0OkDB1qk6K6HRzQEbI1sae4VBGjz8yRTefRj_ndOjDqWrOPFMYEFnmHI9cPx4GCkRG17qwSE pZduFfngy10D7m9OVUIFtk61ypMNCgayMToZc0XvE.P6CeWPqi93nyuIzcx.A54UlKU.UXdvfyRU vVVTHaG7I4s_jInX8UCVe5oIHoUk_WtNuFJilTz3DR9SpUnjsf5JsI8FueJASCJQP.4NRLepvjlW A2gBAiAwJt3dTFy9aTYiH2qW9Af2YszC4A_O8OFdsEAXPsQf7247piSn3N362wgKofW4lwN6rw54 sHBE.IwwESoF_2YDDOVNwJvP.YDdcGvQlcqINhANQqIQpUXtYZFgYWmHYa9J9gEWWeCZiYiik3qK P2qsLVyHSKIqQCs6sa8UsNEYljkUzHkdQhBsWF6nFU3EaoPp2pt3z9ZcxiLyb41WYkHzn5XWUsQj YwwZe964EAG7D8ZAG.g3qvRT5vw5aNQ_JYe1EuMGU2.q1dJdEZY4csKDoOxpGvtTu0iQKsqa3tfd itm5BY9.kS46398V.KXam13bzA4lkKMh.LUdavZN_5GHvou8GsP5wAAU8R22Ssv2Lqp9DASPiaV5 a_U8tpsMpvAs.1_Oj64hWoPHo7L1UwEUb1rc_wk7x7IWVOIGo8IL1Chf3mrgenDb5B0DpwGRcWSn Bmm8hpi0t5.q4v95dO3B1USBK.blAwTTSmtTKD9aMSU.u2gAPQNKUX_Cn6Ozcx9E.87roKU8Og0x 6pgWajQrpAehtFPSA0_MYbEnIJq1I2qHp0S952GQ2xbfnU1qy_bgFFl2LC.nNZ3Caw7mkYzOh0Ln S9i9Nr5_4jzdM_be1E_t.ZjZregkThILHlpIZVys2Ak0v0i9cTaZtd_kN3i28h.ck.Dfl6q4lkdC nw8RJoz5GfOk_jVVt56T9YAA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Fri, 26 Apr 2019 21:12:12 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp418.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 56affdd74396140af3616294caaa6ba3 for ; Fri, 26 Apr 2019 21:12:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: I have submitted bugzilla 237590 for old powerpc64 FreeBSD on G5 PowerMac's crashing for "ofwdump -ap" and the like: timeout trying to sleep the CPUs Message-Id: <0224E7FC-52CC-4148-B795-453894BBAC65@yahoo.com> Date: Fri, 26 Apr 2019 14:12:08 -0700 To: FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 2D4468747E X-Spamd-Bar: ++++ X-Spamd-Result: default: False [4.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.929,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; NEURAL_SPAM_MEDIUM(0.98)[0.979,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(1.71)[ip: (6.08), ipnet: 66.163.184.0/21(1.41), asn: 36646(1.13), country: US(-0.06)]; NEURAL_SPAM_LONG(0.95)[0.947,0]; RCVD_IN_DNSWL_NONE(0.00)[147.190.163.66.list.dnswl.org : 127.0.5.0] 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, 26 Apr 2019 21:12:22 -0000 The biggest issue here may be the inability to sufficiently sleep CPUs on powerpc64 in general, with ofwdump on old PowerMac G5's just being a good way to test that. But my test context is limited to old PowerMacs. This was originally observed on head -r345758. "bisecting" based on: https://artifact.ci.freebsd.org/snapshot/head/r* I found that for the likes of "ofwdump -ap > /dev/null" : -r330572: does not crash the system (or program). -r330614: crashes the system: timeout trying to sleep cpus. There are no other https://artifact.ci.freebsd.org/snapshot/head/r* between -r330572 and -r330614 with powerpc64 present. So I stopped at this range. Turns out that between those two versions is: Revision 330610 . . . Modified Wed Mar 7 17:08:07 2018 UTC . . . by nwhitehorn . . . Move the powerpc64 direct map base address from zero to high memory. This accomplishes a few things: - Makes NULL an invalid address in the kernel, which is useful for catching bugs. . . . (It may be that -r330610 exposed another problem that was accidentally avoided before that.) Side note: For some reason when I submitted the bugzilla entry the following folks were automatically sent Email: piotr.pietruszewski at intel.com, krzysztof.galazka at intel.com (despite the powerpc context). === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Apr 26 21:19:41 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 6D469159E8F8 for ; Fri, 26 Apr 2019 21:19:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1595D8765C for ; Fri, 26 Apr 2019 21:19:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 048C0101E8; Fri, 26 Apr 2019 21:19:41 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id F4101101E7 for ; Fri, 26 Apr 2019 21:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE77087658 for ; Fri, 26 Apr 2019 21:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C44CB18390 for ; Fri, 26 Apr 2019 21:19:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3QLJdO7021205 for ; Fri, 26 Apr 2019 21:19:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3QLJd0a021201 for powerpc@FreeBSD.org; Fri, 26 Apr 2019 21:19:39 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: powerpc@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Fri, 26 Apr 2019 21:19:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gustavo.romero@protonmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 1595D8765C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 26 Apr 2019 21:19:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 --- Comment #14 from Gustavo Romero --- (In reply to Curtis Hamilton from comment #13) Got it, Curtis. It does help me to understand the current situation. Thank = you! --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Apr 26 22:05:43 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 96D96159FF12 for ; Fri, 26 Apr 2019 22:05:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.ne1.yahoo.com (sonic309-21.consmr.mail.ne1.yahoo.com [66.163.184.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9AB89855 for ; Fri, 26 Apr 2019 22:05:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: pGY09S8VM1nc5kv9RyVFxf1s2bfgTU6jIhy1VDIXMsHfwBdjGWMwMAM932fnuLD 4Hy2HI.7ncm3cmlmTcJy9MOoOpih15vY1AMOgHsfEq8bfQJZ128W3MFmOwi63sXUJjv0uOTnNLI8 cdGCirf0H4h1q5VwZr6WoDZXNb6ko0k6UbELUTyGC30ittB3v50Mjz8Ty1NE1GSp812YI.ReF1il 8BrP5A.94.RDxDdcLjBuzGL2GQ5LKJYbQGr8y3vfGPJE7S_XDvrO6gAglvgvU9G9dY9BpfxUOcQG Gs_gzxEdWYYlIn_SWqpfiG4Hlc_xrvhmn.RJW154Ss0EwEOTm27WXbsCkgHF_oLhsHK8mOkzXg86 NU3QI9Qpu_.wQO95L8c83.evSR85xQtjWQ0bNvzrfZBJ.U.LgfQdWAEY2t92IPC5NwFX0JdsWTbf .wR6Xnj4KTObond.A6IMbbTY7oMVdYamnRh6lziXf6qcAkOtpoqkQD9htzWXleGiLSkYwLZwV3tG yH61R2C3aaYQ416gHtWG9RkKqKXFINRnHe8ARetEULlnZj7MZzWeLfG8npgZ.6cCStfdFSPOi8jl vprEpSXQ7xA98LQfUQrODDZE7YH_NgvKgENnpCrhz93UDw.Xoxq9wUT.rUujwapebDik8iETKaMV Wd0RDDAAUPHfM85j4IRhiPW.tiLFIqmrbe_c1LKVjmMAvqHtTRGn4lF4OEhNKGwP.Sg3FzQPyKcz 5NHr8PP5FvMa.oo9Y2a3W8dTwpmkkqkrdJEGaJBVY4Wkl5Wkh_LlqZpRtAWXHeSleD6zaND_b0tl 2_rcow6agpcq.9ntyLeSF00KuzfH9qMY9Ynpwhh8ezGlKMgkj_kkc1ZbQcAlNzd08kjO4rjj_kmA zV4FQAoprH0Aj3dWb_wmVe9MhCHrw6xfjX.NgRF1i602QWFUw5suhtggIr_kiEeNTpZZ7UeZicqZ e7ctmQxvF.ZjMQiAnLXiG41TgTOGBVZ06NbcEUXsp.mueTeetPPYXJaRxIwVAxyDMS.rslY0M6I3 dR9Ig8YNJffJ8.LDasBohJ1XUEevWn90_yxUVDaxCbuyj1PNcwn8gedGc9x8fO73aYJ_sKtwAPK7 2jzdc9HM0aHRT1bgFgcXW1nZVluP9KinJtwH2E1W_.lmV3B7ECfVxEzNfJPAmJNh_xCrH23fX.B2 zmH90emCaAJO4uvaVQPQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Fri, 26 Apr 2019 22:05:36 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp427.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 6f908ef702523ee55ffcd487039aa7ff for ; Fri, 26 Apr 2019 22:05:35 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: I have submitted bugzilla 237590 for old powerpc64 FreeBSD on G5 PowerMac's crashing for "ofwdump -ap" and the like: timeout trying to sleep the CPUs Date: Fri, 26 Apr 2019 15:05:34 -0700 References: <0224E7FC-52CC-4148-B795-453894BBAC65@yahoo.com> To: FreeBSD PowerPC ML In-Reply-To: <0224E7FC-52CC-4148-B795-453894BBAC65@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 9F9AB89855 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.930,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; NEURAL_SPAM_MEDIUM(0.96)[0.958,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(1.49)[ip: (4.97), ipnet: 66.163.184.0/21(1.41), asn: 36646(1.13), country: US(-0.06)]; NEURAL_SPAM_LONG(0.85)[0.848,0]; RCVD_IN_DNSWL_NONE(0.00)[147.184.163.66.list.dnswl.org : 127.0.5.0] 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, 26 Apr 2019 22:05:43 -0000 [I added a comment noting another possibility about the failure sequence and why a timeout for cpu sleep might be what is reported.] On 2019-Apr-26, at 14:12, Mark Millard wrote: > The biggest issue here may be the inability to sufficiently sleep > CPUs on powerpc64 in general, with ofwdump on old PowerMac G5's > just being a good way to test that. > > But my test context is limited to old PowerMacs. > > This was originally observed on head -r345758. > > "bisecting" based on: > > https://artifact.ci.freebsd.org/snapshot/head/r* > > I found that for the likes of "ofwdump -ap > /dev/null" : > > -r330572: does not crash the system (or program). > -r330614: crashes the system: timeout trying to sleep cpus. > > There are no other https://artifact.ci.freebsd.org/snapshot/head/r* > between -r330572 and -r330614 with powerpc64 present. So I stopped > at this range. > > Turns out that between those two versions is: > > Revision 330610 . . . > Modified Wed Mar 7 17:08:07 2018 UTC . . . by nwhitehorn > . . . > Move the powerpc64 direct map base address from zero to high memory. This > accomplishes a few things: > - Makes NULL an invalid address in the kernel, which is useful for catching > bugs. > . . . > > (It may be that -r330610 exposed another problem that was > accidentally avoided before that.) > . . . I suppose that a possibility is that: A) It may be ddb related code that can not sleep some CPU(s) (because some already are sleeping?). B) It may be openfirmware tried to use an address that is invalid in the kernel on or after -r330610 . (A) may prevent seeing a notice that would point to (B) as a possibility, thus hiding the true cause. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Sat Apr 27 17:59:59 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 B1D14159866A for ; Sat, 27 Apr 2019 17:59:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 49A138D891 for ; Sat, 27 Apr 2019 17:59:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 06E9D1598669; Sat, 27 Apr 2019 17:59:59 +0000 (UTC) Delivered-To: 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 E7AFA1598668 for ; Sat, 27 Apr 2019 17:59:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BB7F8D88F for ; Sat, 27 Apr 2019 17:59:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CDC7534E2 for ; Sat, 27 Apr 2019 17:59:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3RHxvDS095019 for ; Sat, 27 Apr 2019 17:59:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3RHxvKt095018 for ppc@FreeBSD.org; Sat, 27 Apr 2019 17:59:57 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: ppc@FreeBSD.org Subject: [Bug 235060] [boot] FreeBSD 12.0 Release DVD and CD will not boot on PowerMac G5 Quad Date: Sat, 27 Apr 2019 17:59:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: consuli074@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sat, 27 Apr 2019 17:59:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235060 consuli074@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |consuli074@gmail.com --- Comment #9 from consuli074@gmail.com --- The no boot bug of FreeBSD DVD image is most like caused by an "activated I= ntel Management Engine bit pattern" included in the bootloader of the image. I d= id a lot of tests, including trying to boot the DVD image from a clone hard disk= . I have figured out a similar "Intel Management Engine bit pattern" in the boot loader of the Parrot Security Linux DVD image. Compare https://forums.freebsd.org/threads/freebsd-12-0-for-ppc-does-not-support-my= -dvd-rom-cant-install.70288/ . Cheers --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Sat Apr 27 19:20:31 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 13670159A634 for ; Sat, 27 Apr 2019 19:20:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB9F6B489 for ; Sat, 27 Apr 2019 19:20:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4A472159A633; Sat, 27 Apr 2019 19:20:30 +0000 (UTC) Delivered-To: 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 38BBE159A632 for ; Sat, 27 Apr 2019 19:20:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCEAB6B487 for ; Sat, 27 Apr 2019 19:20:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 01880430B for ; Sat, 27 Apr 2019 19:20:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3RJKSpB081785 for ; Sat, 27 Apr 2019 19:20:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3RJKSkT081784 for ppc@FreeBSD.org; Sat, 27 Apr 2019 19:20:28 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: ppc@FreeBSD.org Subject: [Bug 235060] [boot] FreeBSD 12.0 Release DVD and CD will not boot on PowerMac G5 Quad Date: Sat, 27 Apr 2019 19:20:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sat, 27 Apr 2019 19:20:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235060 --- Comment #10 from Mark Millard --- (In reply to consuli074 from comment #9) PowerMacs are PowerPC-based systems, not Intel-processor-based systems. Apple did not switch to Intel until after the PowerMac systems. There is no "Intel Management Engine" on PowerMacs. --=20 You are receiving this mail because: You are the assignee for the bug.=