From owner-freebsd-ppc@freebsd.org Fri Oct 30 15:02:48 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E66B0454229 for ; Fri, 30 Oct 2020 15:02:48 +0000 (UTC) (envelope-from volkovdablo@hotmail.com) Received: from EUR06-DB8-obe.outbound.protection.outlook.com (mail-db8eur06olkn20823.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0f::823]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CN5CC4tw0z45Cl; Fri, 30 Oct 2020 15:02:47 +0000 (UTC) (envelope-from volkovdablo@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kmKWmsbqDuX8aMqbhiy1F30vkELyTNwY1NocHnkAulH8IOFRlWVAStEfdON5WD4lUgeje/j0BJxjO4VxOaQs+fPV+AuvNsNtXIyF4nX64R7zkicsrUIGuBZ4jMrg0yOE1/u7RMN5pm/ztz/lVq6lea7eqrCv91jxdeyB84l5+NP7keaO2F7hyAZZktFN3NEbxKV2dIUiwS967ThRtURLRXlvcOvDY5ewIuYU1doFD3FsRSIiR/fgZoIZym2pYRVixRe8A/bSeR2+rz5tdijHvpfcYJdu4ol/FHSNX5fmUergRVYmkFZIUz42pJv3GIPqjyS0SH6f5eXKOoGr8NOPRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=krQ9l76qposT6dyDCj24Y1fbTENvOGr1huQt4R3CJCU=; b=nLuTvwPIofXtsjTxsu1AfXm6oreOu8cjU50F7HOlLYOX9sKQKRPe5zV29FqSTyKPJof7/S5zklM85JJptXAJh61ig91o83Wfk+QgADv5Vh95enKSHUGxyQdDUOZotgqurVuafpJA9NBGQzid+IYsIsIrhB3Cd0I91ymTY3pC/alijQTKx/hQlMSBqOteDneAwAOOsfcOM6Wsf675dSzJBECizZFzV9b8QfKKFwD5htrsU5QWZpEHy81Zkrr+pB3DE0Xbu7oATrcWdaQj0w+83LkpW5bGh0MCPNfKSBxp9YWCt7R68gE1UqqFVhGcUFUczH4fpRXZwDq9NRYBFNuqiw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=krQ9l76qposT6dyDCj24Y1fbTENvOGr1huQt4R3CJCU=; b=Tw5VOlK8iRJCsfiIWVq9wcA7ega5Wtx02hgx+59r7qLEMRJ32cyG+XjSNw62arehYx/A/+a9ST0/GHS1Key16FTaAnQc0RLxRBLFyNa3ND/8nMf5vtGXaK/WWFpkUfdQ5WGlZj0WO+IPgrpT6OULQOGj9ozgnHkxFhaxngBCoPlYSjZS967H9XoZC5nqvkjijdKzCr/9AeFPXhfnDlp6AdNpZ2bGdGKhQ575Af+wUzil3+Xc1OtjJ2NSHzrbpJHk+E4wtDsHz+O6y7VRskoqBat/HBuSn7IN11JGB1uqssAKAM4Q8laS2wH+JrExtSyE1vNvZczJORmSeUOoLEW11g== Received: from DB8EUR06FT026.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::4f) by DB8EUR06HT237.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::499) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15; Fri, 30 Oct 2020 15:02:42 +0000 Received: from DB8PR04MB6860.eurprd04.prod.outlook.com (2a01:111:e400:fc35::4b) by DB8EUR06FT026.mail.protection.outlook.com (2a01:111:e400:fc35::289) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Fri, 30 Oct 2020 15:02:42 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:DDC8334D525CE1200E750FB9116C23767052A56C9C7A67B7C3503E691CCF48A1; UpperCasedChecksum:392168F94CD82F86A66305F2E94C1A7235886FB623AF7C3EE1E78C95F7BD33A2; SizeAsReceived:11005; Count:48 Received: from DB8PR04MB6860.eurprd04.prod.outlook.com ([fe80::6588:d0ca:2a59:9822]) by DB8PR04MB6860.eurprd04.prod.outlook.com ([fe80::6588:d0ca:2a59:9822%9]) with mapi id 15.20.3499.029; Fri, 30 Oct 2020 15:02:42 +0000 Subject: Re: Question about xserve G5 To: Brandon Bergren , FreeBSD PowerPC ML References: <88d23ee0-765d-1b82-4318-2c8359018b1a@freebsd.org> <0f4a1ee8-a37f-ea3d-6807-bb2431235a82@gmail.com> From: Javi Hotmail Autocrypt: addr=volkovdablo@hotmail.com; keydata= mQENBF6Yg10BCAC03sof//KadqOy0/xRlSzOjAVWXj8TGzmtTu0ec2RPMZQwdXeX+Bv7BiB+ cK9+Pnio/AMS6ueHc/ZJptRSX/K7csNUgh/+m0jwclcI6W/Sa/UmHLxYpiuLAG1nogk60JmC RoMKhei9EHBuxoTtRB/4l3u2RL+wipuIwx6rAgQEjgtItkao8JtJKi43C3i1z8OeEqbe78P9 +ssCMdfnR0AopPApoQBfJirJSPdCdyZL0mOQx5tL1AcHDJXeqFu/sKh9M2Tr5mECzUz3a1r5 F0AQROdntQ2REohXSSdfswJWDM1tLse3tW/Lw5AV6XTzR9vxobrHy89xKwj2hGU/MLYjABEB AAG0JkphdmkgSG90bWFpbCA8dm9sa292ZGFibG9AaG90bWFpbC5jb20+iQFUBBMBCAA+FiEE 2CMVjWEbFs4g+dD5GCgQIAgKsPUFAl6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ZGE2zOAuwSrlW2Hk9z2KtbKQjo+WMo+Su/WGVDH2n SloqcUw1ocx+pYnDGPZYq+8fWvX7nQeHttIhPZDzJwmRkKbr3JokqTOSBL/mje8mtOFN6gIk rnP5xQ== Message-ID: Date: Fri, 30 Oct 2020 15:02:38 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-TMN: [mcbQhu69XVcLJYsImFeEXbn8ulVWYVEL] X-ClientProxiedBy: LO2P265CA0435.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::15) To DB8PR04MB6860.eurprd04.prod.outlook.com (2603:10a6:10:112::22) X-Microsoft-Original-Message-ID: <19a9ca51-d2cd-cdb1-2a36-e1598894c526@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.100] (88.104.31.11) by LO2P265CA0435.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Fri, 30 Oct 2020 15:02:42 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 19f78658-9c88-4105-be86-08d87ce4d9da X-MS-TrafficTypeDiagnostic: DB8EUR06HT237: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ygif2EpwTWCnuig32LP+ipq6DFoK9jqNmlzAmEnbcCPl8RbTHMMUsBQNe6hqPe2JRSCgjmmvnc8FNbFrxZWAkwJo9c5QNdiAaaeAiRP90iKnqupvPY8AOCQ+z0UX/LNIKHq9VCyRRzu6728/nBB6SLC2C+59L20zzgpvlM+svC8W8PAQhrCN4pIr0WK9Tk7GNNNxYeZFvE8xC+HrP09ZaQ== X-MS-Exchange-AntiSpam-MessageData: xQ3p45C9Y7L8NNWrcfdid2hKBEzxijFnXhtvcynz3F0UkAhPrX7bihYTMChUNm0Zoadh31mPwF0Rjw9GZRAFxuxQ45Gk6JtxRsu+QvUhIlQPGjoJF+Ylz30BN0f454KdZy2ZG6a7kcmfXHvSUMCDZA== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19f78658-9c88-4105-be86-08d87ce4d9da X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2020 15:02:42.5281 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT026.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR06HT237 X-Rspamd-Queue-Id: 4CN5CC4tw0z45Cl X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=Tw5VOlK8; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of volkovdablo@hotmail.com designates 2a01:111:f400:fe0f::823 as permitted sender) smtp.mailfrom=volkovdablo@hotmail.com X-Spamd-Result: default: False [-2.03 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; NEURAL_HAM_LONG(-1.02)[-1.021]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; RECEIVED_SPAMHAUS_PBL(0.00)[88.104.31.11:received]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.52)[-0.525]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; MAILMAN_DEST(0.00)[freebsd-ppc]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2020 15:02:49 -0000 Is there any documentation that I could read about this? Also why is not possible from the kernel to run functions from the DT?. I just started looking at the code now; It seems to me that depends on some sort of openfirmware functionality. Why is this? Regards, Javi. On 30/10/2020 14:54, Brandon Bergren wrote: > Part of the problem is that our cpufreq stuff is pretty patchy because we don't have the ability to run platform functions from the device tree, so the frequency scaling is dependent on a per-cpu-model implementation being present in the code (instead of being able to execute the system-provided sequences that Mac99-compatible machines provide) > > What exact model is your CPU reported as? > > On Fri, Oct 30, 2020, at 9:31 AM, Javi Hotmail wrote: >> I also have a PowerMac G5 (Dual Core 2.3 Ghz) and it really works like a >> charm. But the heatsink in literally four times the size of the Xserve. >> And to be honest I don't know what they were thinking when Apple was >> designing the airflow of the case, because is less than optimal in many >> ways. >> >> I know that is an overheating issue because the FreeBSD kernel start >> spitting a message saying (CPU Diode is 134C, and maximum temperature >> allowed is 90C). >> >> After that the blowers got to maximum speed for few second. Sometime it >> can actually regulate the temperature and it won't shut down. But if it >> continues to print the same message for 5 seconds the kernel will >> initiate shutdown automatically. >> >> I really want to get cpufreq + powerd working because if this happens >> you can also underclock the cpu to balance out the heat issue. But it >> really seems to me that the implementation for G5 in cpufreq is a mess. >> So I guess that I'll need to jump into that. >> >> I've never used the kernel debugger (DDB) on a powerpc (my idea is to >> use it via serial port). If anybody has any tips in this regard I'm all >> ears. >> >> Javi. >>