Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932545AbdCFTxy (ORCPT ); Mon, 6 Mar 2017 14:53:54 -0500 Received: from mail-sn1nam01on0073.outbound.protection.outlook.com ([104.47.32.73]:25241 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753621AbdCFTxp (ORCPT ); Mon, 6 Mar 2017 14:53:45 -0500 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=amd.com; To: , CC: , , From: "Shah, Nehal-bakulchandra" Subject: Kernel without RTC Message-ID: <221f9318-749f-03b8-aac8-85e9f9bec318@amd.com> Date: Tue, 7 Mar 2017 00:48:18 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [202.62.82.154] X-ClientProxiedBy: DB6PR0802CA0004.eurprd08.prod.outlook.com (10.172.224.14) To MWHPR12MB1359.namprd12.prod.outlook.com (10.169.205.148) X-MS-Office365-Filtering-Correlation-Id: 813c5fc0-ee42-4b81-cfd7-08d464c59602 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(48565401081);SRVR:MWHPR12MB1359; X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1359;3:bSqx9c2//QFHOv/TEafGFcsUJIyrsC+B4FM6qQsBrNZWKSOJiin92X0DSdufaU8ylIAZmdTAplq2h/F9Vmfpq1IRz54hcS69+LxC1wznvY2AvgL4GdbMtX6YvY8CvaWLNguPwS2q2oAbmC9F8au3ZMHAzG5HLo7qBo+tuUS/FqLqzn2unS9+6XmmP7HBcLBoovUvhY0gsS8LfQbHoY4a4dV7RIKtS89jr11trkwOJ7K34L8VKkTC/58u2vTLjmb5rPWFD36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EW54aEUhrA3oUN4hxB7gZANNwUJpQp/hf7rvZ3GJe+ACLP0uQMlFnUF1kpt4VEFejhQ92vFgvmmpv6v/HePykoMNO5JjsB+zEtSlmOPXA33fzn0s/PKg+FL9N5QG5Lr+yZhFYEMsvP1iHvAfS4EaYPau+N8JLkRRRx2FtNRr2lFuCE+H1N3pPrWeaEiWZtcbDOWrTuZ5zq0mkC8q3OdfpvR X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123555025)(20161123562025)(20161123558025)(20161123560025)(6072148);SRVR:MWHPR12MB1359;BCL:0;PCL:0;RULEID:;SRVR:MWHPR12MB1359; X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1359;4:4FK1vBWbsphTRTxBZ+jDMiNjW1NHyXV4W7RfthfNxsw3rL4W2XwETq17Du6KFA8shbmSQVEVFAA5V9cR1Y/QXNnJyXFQogEbWrTksKRMh5Rlqgrn/6NrqlnMdcU3G8YdlflIPsIzWI/Qjiu7kvNiC4y/m92wWDBvX9sTP9tmmmfpvMmd8S+NVDlSIve9VnKFGj+mPzdC8e3Ln9rFrKt5IqEJ1vwKEcaG7W1mgz2vE4MWqiOnyUYJTWz2i2oR8PqD4YPsnBSKiQxY7q3uIL9cJoWufvvxY8xo0xb9Q88jJHPaHZuu5UfIj0TN6brmOj+mdL4y9NZtLdC77iJyQltLRrey+cR7XW910QXegBmI5PWZ8+dntHgHwJ4pScVWp62O2RDFkkOwhxt993TwREX/O2XwZ/hqZWC5ZMXt5LwceMFWE/D98zKHcbS9JochCSLL0qg4KFgcW2MGFdxdPTTBha187zRHVmAidcwGS/VdWAKqbIgN1XJ6yrPpgWBq+9nDesoH8tphsIgtV1Jbymw+4npx4CD3dTF0BTUqHHIBgpmz+F81quLudpqBqdwi4TrD9qqj6E9isyZ7W6L+TP3T9LKDayrVNbBDv7zmF8QG/wPjsWYNAzt+3Lsv26Lk1FiQ X-Forefront-PRVS: 0238AEEDB0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(39410400002)(39450400003)(39850400002)(39840400002)(39860400002)(209900001)(25786008)(7736002)(83506001)(47776003)(6666003)(92566002)(23676002)(93376004)(6116002)(33646002)(50466002)(6486002)(77096006)(4001350100001)(53936002)(230700001)(38730400002)(66066001)(53376002)(65806001)(305945005)(65956001)(36756003)(3480700004)(50986999)(2906002)(966004)(42186005)(117156001)(5660300001)(7116003)(54356999)(64126003)(31696002)(8676002)(6306002)(86362001)(3846002)(4326008)(54906002)(189998001)(81166006)(5003080100003)(2101003)(5003090100004)(15302535012)(6606295002);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR12MB1359;H:[192.168.1.8];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxMzU5OzIzOjhzV3g1M290WUpaRzM0RHpIcitJTjUxWU44?= =?utf-8?B?MTg5bjVSVE03eVpCS3Vmd3JaVXZzN1BsUTcvZ3NDQkI0NVR4QWJzYmNTVThp?= =?utf-8?B?MWYrcUFPSnExSVhBTzIwQzlSL3djOEU4aFVCREZDdzk1VlVQU3VaSUVtMVlt?= =?utf-8?B?bThtYTFQSU1iaXh6Wkk5SllRVHlBNFcyRnZXdjJWWjAvTW5OZmRPZlBsbk5r?= =?utf-8?B?OWpDT0R0aVVXOGtzb3VtUzdES1Bqemx0QzhGQnNBTDErK0hYeGN1azZOWGdW?= =?utf-8?B?anZjemlMaFo3Nnk0dnk5Ni83blF4bHM3aDFxU3dML2Q1MjE5alF1WkN2S0hv?= =?utf-8?B?OGlrTVBPYnEzVmFyQzBpUHY5ZkZ2OVNmS1JBRTBLNmpyejV6czlSZ090VXln?= =?utf-8?B?UTkwUXZNbUN1cEEvL1RDQWZRTkpoaUx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lKhrOss5yQ2QYNLLEny5Kjxpe+VFI9/5Ru+EyyNer4CrT428RbG4/ijDZrcpIUxWj7khMZdhBw9yRp1K17kG/IW1qjighlEZ2jdxHslP9GAx9yvM/+4YYonZ6l6HXV8=;5:12ufI6w1qLiZbkym4g5z4jI6IxN/+v2opSPmp8TmPviWsrhwtHE+07Usa3qak6T7Gwx39k8vxljdZwqvd4o/wh1g/EGrQDoBUyCW75RYa1W+qIjkTknBzNh2tcP1U+CjvoAM6Gz2jk5bwgp84gp3Cg==;24:M1GJXhFRXqGWHMf+hmMCYVh0l0cnHaRKTMIq5iXBdHCLmvMRquBQgKTyqF3VflAAZtZ/4apASX/QGI/qySCNCvdiUbGySfyv6eq538n59VA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1359;7:8ydGa4rXzl7hlpQF3Z+w2eoezaD0SP+tF2hqoWhbCV7/mbgH9ATq5kjUppSkwf2wU8upqiMw9MTUChAKLJQFKrquGr0SrwijLDBKfYn61YxutYwCKntaCz/ud9f5D0Ss8QnQkypXwUix7W/LU3iVkFo0CsIJKPlypc5SZAtmSu6UygpiULtfySAtz/gAl22PUImK3JNrwQpUM4i4sWRviad8GF0luwrytO+X0LvYbfWdMrAbzF2zJrWhbEhpgtlNZRZzgbmr+Urdje1aeaR3oKd4orh8RU8LK1RQTLyQQgUhZL+jLqLm6Bt5S8a0gwI+8oDYUiRQ3AqdUFn/z27sIw==;20:UOGH5kBd0DBNtGmStLWbagOsL8jl7M6c9MXPZozNuhSJZTULS2PZSOalANamzz7R20/KX9Be2S2OjkdYyPPvtozb1Xei323jmoyatqNWyAb0a9xgTTlUO+6x2HVEDXwkf4G+fBW0PDDK/vl1QEDNZTp1niwj1AlF61f0hM8tMrgX/dd8lwFpLoN0FptHy/cOHj+7WsF/egtFwa+ygQOpsBYPuUgrKgo14x40LjiqcGytBvUz9fycd9Tl3WFHtSej X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2017 19:18:33.0544 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1359 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 433 Lines: 13 Hi, Currently we are having hardware which does not have RTC. It is single processor system. However it does have TSC timer. Now, how to use scheduler with only TSC as current kernel scheduler leverage the RTC for scheduling? I had seen one old patch http://marc.info/?l=linux-kernel&m=112013203625990&w=2 But i guess this patch was later on not taken, It will be great if you can some pointers to move forward? Thanks Nehal